swagger.yaml 392 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210
  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.QueryImageConfigsRsp:
  22. properties:
  23. areauserid:
  24. description: 所属机构ID
  25. type: integer
  26. configid:
  27. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  28. type: integer
  29. createdate:
  30. description: 创建时间
  31. type: string
  32. creatorid:
  33. description: 创建人
  34. type: integer
  35. imagepath:
  36. description: 图片
  37. type: string
  38. imagetype:
  39. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  40. type: integer
  41. isshow:
  42. description: 是否展示 - 0:不展示 1:展示
  43. type: integer
  44. marketid:
  45. description: 市场ID
  46. type: integer
  47. modifierid:
  48. description: 操作人
  49. type: integer
  50. sort:
  51. description: 排序
  52. type: integer
  53. title:
  54. description: 标题
  55. type: string
  56. trademode:
  57. description: 交易模式
  58. type: integer
  59. updatedate:
  60. description: 修改时间
  61. type: string
  62. url:
  63. description: 链接(地址或商品ID)
  64. type: string
  65. urltype:
  66. description: 链接类型 - 1:直接地址 2:商品ID
  67. type: integer
  68. required:
  69. - configid
  70. type: object
  71. common.QueryNoticeRsp:
  72. properties:
  73. auditoruserid:
  74. description: 审核人
  75. type: integer
  76. auditremark:
  77. description: 审核备注
  78. type: string
  79. audittime:
  80. description: 审核日期
  81. type: string
  82. autoid:
  83. description: 自增ID
  84. type: integer
  85. content:
  86. description: 内容
  87. type: string
  88. createtime:
  89. description: 创建时间
  90. type: string
  91. creatorid:
  92. description: 建仓人
  93. type: integer
  94. endtime:
  95. description: 结束时间
  96. type: string
  97. istop:
  98. description: 是否置顶 - 0:不置顶 1:置顶
  99. type: integer
  100. msgiconurl:
  101. description: 消息图标Url
  102. type: string
  103. msgtype:
  104. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  105. type: integer
  106. publisher:
  107. description: 消息发布者
  108. type: string
  109. readed:
  110. description: 是否已读
  111. type: boolean
  112. scheduletime:
  113. description: 计划发送时间
  114. type: string
  115. sendtype:
  116. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  117. type: integer
  118. sentstatus:
  119. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  120. type: integer
  121. title:
  122. description: 标题
  123. type: string
  124. userid:
  125. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  126. type: integer
  127. required:
  128. - autoid
  129. type: object
  130. common.QueryProvincesAndCitiesRsp:
  131. properties:
  132. cities:
  133. description: 市
  134. items:
  135. $ref: '#/definitions/models.Division'
  136. type: array
  137. province:
  138. $ref: '#/definitions/models.Division'
  139. description: 省
  140. type: object
  141. type: object
  142. common.QueryTableDefineRsp:
  143. properties:
  144. columns:
  145. description: 列头信息数组
  146. items:
  147. $ref: '#/definitions/models.Tablecolumnconfig'
  148. type: array
  149. remark:
  150. description: Remark
  151. type: string
  152. tabelmenu:
  153. description: 列表菜单
  154. type: string
  155. tablekey:
  156. description: 列表Key
  157. type: string
  158. tablename:
  159. description: 列表名称
  160. type: string
  161. tabletype:
  162. description: 列表类型 - 1:管理端 2:终端
  163. type: integer
  164. required:
  165. - tablekey
  166. type: object
  167. common.QueryTraderMenuRsp:
  168. properties:
  169. OperationMenu:
  170. description: 功能菜单
  171. items:
  172. $ref: '#/definitions/models.OperationPrimaryMenu'
  173. type: array
  174. QuoteMenu:
  175. description: 报价牌分类菜单
  176. items:
  177. $ref: '#/definitions/models.QuotePrimaryMenu'
  178. type: array
  179. type: object
  180. cptrade.Cptradepositioncancel:
  181. properties:
  182. accountid:
  183. description: 申请人账户ID
  184. type: integer
  185. applystatus:
  186. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  187. type: integer
  188. applytime:
  189. description: 申请时间
  190. type: string
  191. cancelid:
  192. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  193. type: integer
  194. cancelqty:
  195. description: 注销数量
  196. type: integer
  197. createtime:
  198. description: 创建时间
  199. type: string
  200. creatorid:
  201. description: 创建人ID
  202. type: integer
  203. creatorname:
  204. description: 创建人
  205. type: string
  206. goodscode:
  207. description: 订单商品代码
  208. type: string
  209. goodsid:
  210. description: 商品ID
  211. type: integer
  212. goodsname:
  213. description: 订单商品名称
  214. type: string
  215. goodunit:
  216. description: 报价单位
  217. type: string
  218. handlestatus:
  219. description: 处理状态
  220. type: integer
  221. marketid:
  222. description: 市场ID
  223. type: integer
  224. marketname:
  225. description: 市场名称
  226. type: string
  227. tradedate:
  228. description: 交易日(yyyyMMdd)
  229. type: string
  230. userid:
  231. description: 申请人ID
  232. type: integer
  233. required:
  234. - cancelid
  235. type: object
  236. cptrade.Cptradepresaleapply:
  237. properties:
  238. accountid:
  239. description: 申请人账户ID
  240. type: integer
  241. applyid:
  242. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  243. type: integer
  244. applyremark:
  245. description: 申请备注
  246. type: string
  247. applystatus:
  248. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  249. type: integer
  250. applytime:
  251. description: 申请时间
  252. type: string
  253. attachmenturl:
  254. description: 附件地址
  255. type: string
  256. endtime:
  257. description: 预售结束时间
  258. type: string
  259. goodscode:
  260. description: 商品代码
  261. type: string
  262. goodsid:
  263. description: 商品ID
  264. type: integer
  265. goodsname:
  266. description: 商品名称
  267. type: string
  268. goodunit:
  269. description: 报价单位
  270. type: string
  271. handlestatus:
  272. description: 处理状态
  273. type: integer
  274. marketid:
  275. description: 预售市场ID
  276. type: integer
  277. marketname:
  278. description: 预售市场名称
  279. type: string
  280. presaleqty:
  281. description: 预售数量
  282. type: integer
  283. relatedgoodscode:
  284. description: 关联交易合约代码
  285. type: string
  286. relatedgoodsid:
  287. description: 关联交易合约ID
  288. type: integer
  289. relatedgoodsname:
  290. description: 关联交易合约名称
  291. type: string
  292. starttime:
  293. description: 预售开始时间
  294. type: string
  295. tradedate:
  296. description: 交易日(yyyyMMdd)
  297. type: string
  298. trademode:
  299. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  300. type: integer
  301. userid:
  302. description: 申请人ID
  303. type: integer
  304. required:
  305. - applyid
  306. type: object
  307. cptrade.Cptradeusergoodsdata:
  308. properties:
  309. EnabledQty:
  310. description: 可用量
  311. type: integer
  312. GoodsCode:
  313. description: 订单商品代码
  314. type: string
  315. GoodsName:
  316. description: 订单商品名称
  317. type: string
  318. WRStandardCode:
  319. description: 仓单标准代码
  320. type: string
  321. WRStandardName:
  322. description: 仓单标准名称
  323. type: string
  324. accountid:
  325. description: 账户ID
  326. type: integer
  327. cancelqty:
  328. description: 注销量
  329. type: integer
  330. curpresaleqty:
  331. description: 当前预售量
  332. type: integer
  333. deliveryqty:
  334. description: 交割量
  335. type: integer
  336. freezeamount:
  337. description: 冻结金额
  338. type: number
  339. goodsid:
  340. description: 商品ID
  341. type: integer
  342. goodunit:
  343. description: 报价单位
  344. type: string
  345. hasspotfreeze:
  346. description: 是否有现货冻结 - 0:否 1:有
  347. type: integer
  348. inqty:
  349. description: 转入量(总数量)
  350. type: integer
  351. marketid:
  352. description: 市场ID
  353. type: integer
  354. presaledamount:
  355. description: 已预售总金额
  356. type: integer
  357. presaledqty:
  358. description: 已预售量
  359. type: integer
  360. userid:
  361. description: 用户ID
  362. type: integer
  363. wrstandardid:
  364. description: 仓单标准ID
  365. type: integer
  366. required:
  367. - accountid
  368. - goodsid
  369. type: object
  370. cptrade.QueryCPTradeMyBidRsp:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. goodsid:
  376. description: 商品ID
  377. type: integer
  378. goodunit:
  379. description: 报价单位
  380. type: string
  381. marketid:
  382. description: 市场ID
  383. type: integer
  384. orderid:
  385. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  386. type: integer
  387. orderprice:
  388. description: 委托价格
  389. type: number
  390. orderqty:
  391. description: 委托数量
  392. type: integer
  393. ordertime:
  394. description: 委托时间
  395. type: string
  396. ordertotalprice:
  397. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  398. type: number
  399. ordertotalweight:
  400. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  401. type: integer
  402. totaltotalprice:
  403. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  404. type: number
  405. tradeprice:
  406. description: 成交价格
  407. type: number
  408. tradeqty:
  409. description: 成交数量
  410. type: integer
  411. required:
  412. - accountid
  413. - goodsid
  414. - marketid
  415. - orderid
  416. - orderqty
  417. - ordertime
  418. - tradeprice
  419. - tradeqty
  420. type: object
  421. cptrade.QueryCPTradeOrderDetailRsq:
  422. properties:
  423. accountid:
  424. description: 账户ID[报价币种]
  425. type: integer
  426. buildtype:
  427. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  428. type: integer
  429. buyorsell:
  430. description: 买卖 - 0:买 1:卖
  431. type: integer
  432. cancelorderid:
  433. description: 撤单单号(撤单时填写)
  434. type: integer
  435. cancelqty:
  436. description: 撤单数量
  437. type: integer
  438. clientordertime:
  439. description: 客户端委托时间
  440. type: string
  441. clientticket:
  442. description: 客户端流水号
  443. type: string
  444. clienttype:
  445. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  446. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  447. type: integer
  448. closeexchagechargevalue:
  449. description: 平仓交易所手续费设置值
  450. type: number
  451. closefeealgorithm:
  452. description: 平仓手续费收取方式 1:比率 2:固定
  453. type: integer
  454. closefreezecharge:
  455. description: 平仓冻结手续费(先建后平操作,需要记录)
  456. type: number
  457. closememberchargevalue:
  458. description: 平仓会员手续费设置值
  459. type: number
  460. closeqty:
  461. description: 平仓数量(先建后平操作 需要记录)
  462. type: integer
  463. closetradeqty:
  464. description: 平仓成交数量(先建后平操作,需要记录)
  465. type: integer
  466. closeunfreezecharge:
  467. description: 平仓解冻手续费(先建后平操作,需要记录)
  468. type: number
  469. delistingtype:
  470. description: 摘牌类型 - 1:价格最优 2:点选成交
  471. type: integer
  472. freezecharge:
  473. description: 冻结手续费
  474. type: number
  475. freezemargin:
  476. description: 冻结保证金(冻结交易金额)
  477. type: number
  478. gcaccountid:
  479. description: 账户ID[合约币种]
  480. type: integer
  481. goodsid:
  482. description: 商品ID
  483. type: integer
  484. isconfirmexercise:
  485. description: 是否确认行权- 0:否 1:是
  486. type: integer
  487. ispreexercise:
  488. description: 是否预申报- 0:否 1:是
  489. type: integer
  490. listingselecttype:
  491. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  492. type: integer
  493. marginalgorithm:
  494. description: 保证金收取方式 1:比率 2:固定
  495. type: integer
  496. marginvalue:
  497. description: 即市保证金设置值
  498. type: number
  499. marketid:
  500. description: 市场ID
  501. type: integer
  502. marketmaxsub:
  503. description: 市价最大偏移范围
  504. type: number
  505. memberuserid:
  506. description: 所属会员UserID
  507. type: integer
  508. openexchagechargevalue:
  509. description: 建仓交易所手续费设置值
  510. type: number
  511. openfeealgorithm:
  512. description: 建仓手续费收取方式 1:比率 2:固定
  513. type: integer
  514. openfreezecharge:
  515. description: 开仓冻结手续费(先建后平操作,需要记录)
  516. type: number
  517. openmemberchargevalue:
  518. description: 建仓会员手续费设置值
  519. type: number
  520. openqty:
  521. description: 开仓数量(先建后平操作,需要记录)
  522. type: integer
  523. opentradeqty:
  524. description: 开仓成交数量(先建后平操作,需要记录)
  525. type: integer
  526. openunfreezecharge:
  527. description: 开仓解冻手续费(先建后平操作,需要记录)
  528. type: number
  529. operatetype:
  530. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  531. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  532. 15:管理端协议转让
  533. type: integer
  534. operatorid:
  535. description: 登录账号(LoginID)
  536. type: integer
  537. optiontype:
  538. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  539. type: integer
  540. orderprice:
  541. description: 委托价格
  542. type: number
  543. orderqty:
  544. description: 委托数量
  545. type: integer
  546. ordersrc:
  547. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  548. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  549. type: integer
  550. orderstatus:
  551. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  552. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  553. 16:成交失败违约(荷兰式竞拍专用)
  554. type: integer
  555. ordertime:
  556. description: 委托时间
  557. type: string
  558. preexerciseprice:
  559. description: 预申报价格
  560. type: number
  561. premium:
  562. description: 权利金
  563. type: number
  564. preorderid:
  565. description: 关联预埋单号(止盈止损单时填写)
  566. type: integer
  567. pricemode:
  568. description: '取价方式 - 1:市价 2: 限价'
  569. type: integer
  570. quoteid:
  571. description: 报价单ID
  572. type: integer
  573. relatedid:
  574. description: 关联单号(交割单)
  575. type: integer
  576. retcode:
  577. description: 错误代码
  578. type: integer
  579. sessionid:
  580. description: 会话ID
  581. type: integer
  582. strorderid:
  583. description: 委托单号
  584. type: string
  585. tradedate:
  586. description: 交易日(yyyyMMdd)
  587. type: string
  588. tradeproperty:
  589. description: 交易属性
  590. type: integer
  591. tradeqty:
  592. description: 成交数量
  593. type: integer
  594. unfreezecharge:
  595. description: 解冻手续费
  596. type: number
  597. unfreezemargin:
  598. description: 解冻保证金
  599. type: number
  600. updatetime:
  601. description: 更新时间
  602. type: string
  603. uuid:
  604. description: 发起端唯一id
  605. type: string
  606. validtime:
  607. description: 有效期限
  608. type: string
  609. validtype:
  610. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  611. type: integer
  612. volumetype:
  613. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  614. type: integer
  615. required:
  616. - accountid
  617. - buildtype
  618. - buyorsell
  619. - goodsid
  620. - marketid
  621. - memberuserid
  622. - operatetype
  623. - orderqty
  624. - ordertime
  625. - pricemode
  626. - strorderid
  627. - tradedate
  628. - validtype
  629. type: object
  630. cptrade.QueryMyCPTradeGoodsRsp:
  631. properties:
  632. accountid:
  633. description: 卖方账户ID
  634. type: integer
  635. agreeunit:
  636. description: 合约单位
  637. type: number
  638. applyid:
  639. description: 关联申请ID
  640. type: integer
  641. attachmenturl:
  642. description: 附件地址
  643. type: string
  644. createtime:
  645. description: 创建时间
  646. type: string
  647. currencyid:
  648. description: 报价货币ID
  649. type: integer
  650. decimalplace:
  651. description: 报价小数位
  652. type: integer
  653. endtime:
  654. description: 预售结束时间
  655. type: string
  656. floorprice:
  657. description: 底价[大宗式竞拍]
  658. type: number
  659. goodscode:
  660. description: 商品代码(预售)
  661. type: string
  662. goodsdetail:
  663. description: 详情[大宗]
  664. type: string
  665. goodsid:
  666. description: 商品ID(自增ID SEQ_GOODS)
  667. type: integer
  668. goodsname:
  669. description: 商品名称(预售)
  670. type: string
  671. goodunit:
  672. description: 报价单位
  673. type: string
  674. goodunitid:
  675. description: 报价单位ID
  676. type: integer
  677. marketid:
  678. description: 所属市场ID
  679. type: integer
  680. marketname:
  681. description: 预售市场名称
  682. type: string
  683. presaledamount:
  684. description: 已预售总金额(预售结束时更新)
  685. type: number
  686. presaledqty:
  687. description: 已预售量(预售结束时更新)
  688. type: integer
  689. presalemode:
  690. description: 预售模式 - 1:一口价 2:大宗式竞拍
  691. type: integer
  692. presaleqty:
  693. description: 预售数量
  694. type: integer
  695. refprice:
  696. description: 参考价格[一口价]
  697. type: number
  698. relatedgoodscode:
  699. description: 商品代码(订单)
  700. type: string
  701. relatedgoodsid:
  702. description: 关联交易合约ID
  703. type: integer
  704. relatedgoodsname:
  705. description: 商品名称(订单)
  706. type: string
  707. relatedmarketid:
  708. description: 关联交易合约市场ID
  709. type: integer
  710. sellstatus:
  711. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  712. type: integer
  713. startprice:
  714. description: 起拍价[大宗式竞拍]
  715. type: number
  716. starttime:
  717. description: 预售开始时间
  718. type: string
  719. tradedate:
  720. description: 交易日(yyyyMMdd)
  721. type: string
  722. tradeprice:
  723. description: 成交价[大宗]
  724. type: number
  725. userid:
  726. description: 卖方用户ID
  727. type: integer
  728. required:
  729. - goodscode
  730. - goodsid
  731. - goodsname
  732. - marketid
  733. - relatedgoodscode
  734. - relatedgoodsname
  735. type: object
  736. cptrade.QueryPresaleGoodsExRsp:
  737. properties:
  738. attachmenturl:
  739. description: 附件地址
  740. type: string
  741. createtime:
  742. description: 创建时间
  743. type: string
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodsdetail:
  751. description: 详情[大宗]
  752. type: string
  753. goodsid:
  754. description: 商品ID(预售)
  755. type: integer
  756. goodunit:
  757. description: 报价单位
  758. type: string
  759. marketid:
  760. description: 预售市场ID - 根据预售模式选择市场
  761. type: integer
  762. presaledamount:
  763. description: 已预售总金额(预售结束时更新)
  764. type: number
  765. presaledqty:
  766. description: 已预售量(预售结束时更新)
  767. type: integer
  768. presalemode:
  769. description: 预售模式 - 1:一口价 2:大宗式竞拍
  770. type: integer
  771. presaleqty:
  772. description: 预售数量
  773. type: integer
  774. refprice:
  775. description: 参考价格[一口价]
  776. type: number
  777. relatedgoodsid:
  778. description: 关联交易合约ID
  779. type: integer
  780. relatedmarketid:
  781. description: 关联交易合约市场ID
  782. type: integer
  783. sellstatus:
  784. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  785. type: integer
  786. startprice:
  787. description: 起拍价[大宗式竞拍]
  788. type: number
  789. starttime:
  790. description: 预售开始时间
  791. type: string
  792. tradedate:
  793. description: 交易日(yyyyMMdd)
  794. type: string
  795. tradeprice:
  796. description: 成交价[大宗]
  797. type: number
  798. required:
  799. - goodsid
  800. type: object
  801. delivery.QueryDeliveryRelationRsp:
  802. properties:
  803. begindate:
  804. description: 起始日期(yyyyMMdd)
  805. type: string
  806. buytemplateid:
  807. description: 买履约计划模板ID
  808. type: integer
  809. deliverygoodscode:
  810. description: 品种代码
  811. type: string
  812. deliverygoodsid:
  813. description: 交割商品
  814. type: integer
  815. deliverygoodsname:
  816. description: 品种名称
  817. type: string
  818. deliverymode:
  819. description: 交割方式 - 1:点选式 2:申报式
  820. type: integer
  821. deliverypricerule:
  822. description: 交割价规则- 1:行情价 2:建仓价
  823. type: integer
  824. deliverytype:
  825. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  826. type: integer
  827. enddate:
  828. description: 结束日期(yyyyMMdd)
  829. type: string
  830. goodscode:
  831. description: 商品代码
  832. type: string
  833. goodsid:
  834. description: 交易合约ID
  835. type: integer
  836. goodsname:
  837. description: 商品名称
  838. type: string
  839. marketid:
  840. description: 市场ID
  841. type: integer
  842. mindeliveryqty:
  843. description: 最小交割系数(K)
  844. type: integer
  845. p2deliveryprice:
  846. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  847. type: number
  848. p2deliveryratio:
  849. description: P2合约系数(p)
  850. type: integer
  851. p2goodsid:
  852. description: P2合约ID
  853. type: integer
  854. p2pricemode:
  855. description: P2合约价格方式 - 1:商品价 2:固定值
  856. type: integer
  857. pdeliveryprice:
  858. description: P合约价格(商品价时填写0,固定值时填写固定值)
  859. type: number
  860. pdeliveryratio:
  861. description: P合约系数(n)
  862. type: integer
  863. pgoodsid:
  864. description: P合约ID
  865. type: integer
  866. ppricemode:
  867. description: P合约价格方式 - 1:商品价 2:固定值
  868. type: integer
  869. rratio:
  870. description: 兑换系数(R)
  871. type: integer
  872. rratio1:
  873. description: 兑换系数(交易合约)(R1)
  874. type: integer
  875. rratio2:
  876. description: 兑换系数(仓单标准)(R2)
  877. type: integer
  878. selltemplateid:
  879. description: 卖履约计划模板ID
  880. type: integer
  881. wrstandardid:
  882. description: 仓单标准ID
  883. type: integer
  884. xdeliveryratio:
  885. description: 交易合约系数(m)
  886. type: integer
  887. required:
  888. - begindate
  889. - enddate
  890. - goodsid
  891. - mindeliveryqty
  892. - xdeliveryratio
  893. type: object
  894. ermcp.ExposureDetailRsp:
  895. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  896. ermcp.ExposureHedgePosDetailRsp:
  897. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  898. ermcp.ExposureHedgePositionRsp:
  899. $ref: '#/definitions/models.ErmcpHedgePosition'
  900. ermcp.ExposureSpotDetailRsp:
  901. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  902. ermcp.ExposureSpotRsp:
  903. $ref: '#/definitions/models.AreaSpotModel'
  904. ermcp.HisExposureRsp:
  905. $ref: '#/definitions/models.ErmcpHisExposureS'
  906. ermcp.PendingAuditCntRsp:
  907. $ref: '#/definitions/models.ErmcpPendingAudit'
  908. ermcp.QryAreaStockApplyRsp:
  909. $ref: '#/definitions/models.ErmcpAreaStockApply'
  910. ermcp.QryAvalidGPRsp:
  911. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  912. ermcp.QryBusinessDjRsp:
  913. properties:
  914. amount:
  915. description: 点价金额=(点价价格+升贴水)*点价数量
  916. type: number
  917. applyid:
  918. description: 申请人
  919. type: string
  920. applyname:
  921. description: 申请人名称
  922. type: string
  923. applystatus:
  924. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  925. type: integer
  926. applytime:
  927. description: 申请时间
  928. type: string
  929. attachurl:
  930. description: 附件
  931. type: string
  932. auditid:
  933. description: 审核人ID
  934. type: string
  935. auditname:
  936. description: 审核人名称
  937. type: string
  938. audittime:
  939. description: 审核时间
  940. type: string
  941. buyusername:
  942. description: 采购方名称
  943. type: string
  944. contractno:
  945. description: 合同编号
  946. type: string
  947. contractstatus:
  948. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  949. type: integer
  950. contracttype:
  951. description: 现货合同类型 - 1:采购 -1:销售
  952. type: integer
  953. enumdicname:
  954. description: 单位名称
  955. type: string
  956. goodscode:
  957. description: 点价合约
  958. type: string
  959. goodsname:
  960. description: 商品名称
  961. type: string
  962. operateapplyid:
  963. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  964. type: string
  965. operateapplytype:
  966. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  967. type: integer
  968. pricedPrice:
  969. description: 点价价格(非必填)
  970. type: number
  971. pricedQty:
  972. description: 点价数量(非必填)
  973. type: number
  974. pricemove:
  975. description: 升贴水
  976. type: number
  977. pricetype:
  978. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  979. type: integer
  980. relatedid:
  981. description: 现货合同ID
  982. type: string
  983. sellusername:
  984. description: 销售方名字
  985. type: string
  986. userid:
  987. description: 用户ID
  988. type: integer
  989. wrstandardcode:
  990. description: 现货商品代码
  991. type: string
  992. wrstandardid:
  993. description: 现货商品id
  994. type: integer
  995. wrstandardname:
  996. description: 现货商品名称
  997. type: string
  998. type: object
  999. ermcp.QryBussinessFpRsp:
  1000. properties:
  1001. applyid:
  1002. description: 申请人
  1003. type: string
  1004. applyname:
  1005. description: 申请人名称
  1006. type: string
  1007. applystatus:
  1008. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1009. type: integer
  1010. applytime:
  1011. description: 申请时间
  1012. type: string
  1013. attachurl:
  1014. description: 附件
  1015. type: string
  1016. auditid:
  1017. description: 审核人ID
  1018. type: string
  1019. auditname:
  1020. description: 审核人名称
  1021. type: string
  1022. audittime:
  1023. description: 审核时间
  1024. type: string
  1025. buyusername:
  1026. description: 采购方名称
  1027. type: string
  1028. contractno:
  1029. description: 合同编号
  1030. type: string
  1031. contractstatus:
  1032. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1033. type: integer
  1034. contracttype:
  1035. description: 现货合同类型 - 1:采购 -1:销售
  1036. type: integer
  1037. enumdicname:
  1038. description: 单位名称
  1039. type: string
  1040. goodscode:
  1041. description: 点价合约
  1042. type: string
  1043. goodsname:
  1044. description: 商品名称
  1045. type: string
  1046. invoiceAmount:
  1047. description: 已开收票金额(销售为开票,采购为收票)
  1048. type: number
  1049. operateapplyid:
  1050. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1051. type: string
  1052. operateapplytype:
  1053. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1054. type: integer
  1055. pricemove:
  1056. description: 升贴水
  1057. type: number
  1058. pricetype:
  1059. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1060. type: integer
  1061. relatedid:
  1062. description: 现货合同ID
  1063. type: string
  1064. sellusername:
  1065. description: 销售方名字
  1066. type: string
  1067. userid:
  1068. description: 用户ID
  1069. type: integer
  1070. wrstandardcode:
  1071. description: 现货商品代码
  1072. type: string
  1073. wrstandardid:
  1074. description: 现货商品id
  1075. type: integer
  1076. wrstandardname:
  1077. description: 现货商品名称
  1078. type: string
  1079. type: object
  1080. ermcp.QryBussinessJsExRsp:
  1081. properties:
  1082. applyid:
  1083. description: 申请人
  1084. type: string
  1085. applyname:
  1086. description: 申请人名称
  1087. type: string
  1088. applystatus:
  1089. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1090. type: integer
  1091. applytime:
  1092. description: 申请时间
  1093. type: string
  1094. attachurl:
  1095. description: 附件
  1096. type: string
  1097. auditid:
  1098. description: 审核人ID
  1099. type: string
  1100. auditname:
  1101. description: 审核人名称
  1102. type: string
  1103. audittime:
  1104. description: 审核时间
  1105. type: string
  1106. buyusername:
  1107. description: 采购方名称
  1108. type: string
  1109. contractno:
  1110. description: 合同编号
  1111. type: string
  1112. contractstatus:
  1113. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1114. type: integer
  1115. contracttype:
  1116. description: 现货合同类型 - 1:采购 -1:销售
  1117. type: integer
  1118. enumdicname:
  1119. description: 单位名称
  1120. type: string
  1121. goodscode:
  1122. description: 点价合约
  1123. type: string
  1124. goodsname:
  1125. description: 商品名称
  1126. type: string
  1127. operateapplyid:
  1128. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1129. type: string
  1130. operateapplytype:
  1131. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1132. type: integer
  1133. pricemove:
  1134. description: 升贴水
  1135. type: number
  1136. pricetype:
  1137. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1138. type: integer
  1139. reckontype:
  1140. description: 结算类型
  1141. type: string
  1142. reckonvalue:
  1143. description: 值
  1144. type: number
  1145. relatedid:
  1146. description: 现货合同ID
  1147. type: string
  1148. sellusername:
  1149. description: 销售方名字
  1150. type: string
  1151. userid:
  1152. description: 用户ID
  1153. type: integer
  1154. wrstandardcode:
  1155. description: 现货商品代码
  1156. type: string
  1157. wrstandardid:
  1158. description: 现货商品id
  1159. type: integer
  1160. wrstandardname:
  1161. description: 现货商品名称
  1162. type: string
  1163. type: object
  1164. ermcp.QryBussinessJsRsp:
  1165. properties:
  1166. addmargin:
  1167. description: 追加保证金(非必填)
  1168. type: number
  1169. applyid:
  1170. description: 申请人
  1171. type: string
  1172. applyname:
  1173. description: 申请人名称
  1174. type: string
  1175. applystatus:
  1176. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1177. type: integer
  1178. applytime:
  1179. description: 申请时间
  1180. type: string
  1181. attachurl:
  1182. description: 附件
  1183. type: string
  1184. auditid:
  1185. description: 审核人ID
  1186. type: string
  1187. auditname:
  1188. description: 审核人名称
  1189. type: string
  1190. audittime:
  1191. description: 审核时间
  1192. type: string
  1193. buyusername:
  1194. description: 采购方名称
  1195. type: string
  1196. contractno:
  1197. description: 合同编号
  1198. type: string
  1199. contractstatus:
  1200. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1201. type: integer
  1202. contracttype:
  1203. description: 现货合同类型 - 1:采购 -1:销售
  1204. type: integer
  1205. decmargin:
  1206. description: 减少保证金(非必填)
  1207. type: number
  1208. enumdicname:
  1209. description: 单位名称
  1210. type: string
  1211. goodscode:
  1212. description: 点价合约
  1213. type: string
  1214. goodsname:
  1215. description: 商品名称
  1216. type: string
  1217. operateapplyid:
  1218. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1219. type: string
  1220. operateapplytype:
  1221. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1222. type: integer
  1223. pricemove:
  1224. description: 升贴水
  1225. type: number
  1226. pricetype:
  1227. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1228. type: integer
  1229. reckonadjustamount:
  1230. description: 结算调整金额(非必填)
  1231. type: number
  1232. reckonosamount:
  1233. description: 结算溢短金额(非必填)
  1234. type: number
  1235. reckonotheramount:
  1236. description: 结算其他费用(非必填)
  1237. type: number
  1238. reckonrealqty:
  1239. description: 结算实际数量(非必填)
  1240. type: number
  1241. relatedid:
  1242. description: 现货合同ID
  1243. type: string
  1244. sellusername:
  1245. description: 销售方名字
  1246. type: string
  1247. userid:
  1248. description: 用户ID
  1249. type: integer
  1250. wrstandardcode:
  1251. description: 现货商品代码
  1252. type: string
  1253. wrstandardid:
  1254. description: 现货商品id
  1255. type: integer
  1256. wrstandardname:
  1257. description: 现货商品名称
  1258. type: string
  1259. type: object
  1260. ermcp.QryBussinessKxRsp:
  1261. properties:
  1262. applyid:
  1263. description: 申请人
  1264. type: string
  1265. applyname:
  1266. description: 申请人名称
  1267. type: string
  1268. applystatus:
  1269. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1270. type: integer
  1271. applytime:
  1272. description: 申请时间
  1273. type: string
  1274. attachurl:
  1275. description: 附件
  1276. type: string
  1277. auditid:
  1278. description: 审核人ID
  1279. type: string
  1280. auditname:
  1281. description: 审核人名称
  1282. type: string
  1283. audittime:
  1284. description: 审核时间
  1285. type: string
  1286. buyusername:
  1287. description: 采购方名称
  1288. type: string
  1289. contractno:
  1290. description: 合同编号
  1291. type: string
  1292. contractstatus:
  1293. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1294. type: integer
  1295. contracttype:
  1296. description: 现货合同类型 - 1:采购 -1:销售
  1297. type: integer
  1298. deductamount:
  1299. description: 退款(非必填)
  1300. type: number
  1301. enumdicname:
  1302. description: 单位名称
  1303. type: string
  1304. goodscode:
  1305. description: 点价合约
  1306. type: string
  1307. goodsname:
  1308. description: 商品名称
  1309. type: string
  1310. kxtype:
  1311. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1312. type: integer
  1313. operateapplyid:
  1314. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1315. type: string
  1316. operateapplytype:
  1317. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1318. type: integer
  1319. payamount:
  1320. description: 收付款(非必填)
  1321. type: number
  1322. pricemove:
  1323. description: 升贴水
  1324. type: number
  1325. pricetype:
  1326. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1327. type: integer
  1328. relatedid:
  1329. description: 现货合同ID
  1330. type: string
  1331. sellusername:
  1332. description: 销售方名字
  1333. type: string
  1334. userid:
  1335. description: 用户ID
  1336. type: integer
  1337. wrstandardcode:
  1338. description: 现货商品代码
  1339. type: string
  1340. wrstandardid:
  1341. description: 现货商品id
  1342. type: integer
  1343. wrstandardname:
  1344. description: 现货商品名称
  1345. type: string
  1346. type: object
  1347. ermcp.QryErmcpRsp:
  1348. $ref: '#/definitions/models.ErmcpModel'
  1349. ermcp.QryGGCovertCfgRsp:
  1350. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1351. ermcp.QryHedgePlanRsp:
  1352. $ref: '#/definitions/models.ErmcpHedgePlan'
  1353. ermcp.QryMGChangeLogRsp:
  1354. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1355. ermcp.QryMiddleGoodsDetailRsp:
  1356. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1357. ermcp.QryMiddleGoodsRsp:
  1358. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1359. ermcp.QryOPLogRsp:
  1360. $ref: '#/definitions/models.ErmcpOPLogModel'
  1361. ermcp.QryReportDaySpotDetailRsp:
  1362. $ref: '#/definitions/models.ErmcpReportOPLog'
  1363. ermcp.QryReportExposureDayRsp:
  1364. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1365. ermcp.QryReportFinanceDayRsp:
  1366. $ref: '#/definitions/models.ErmcpReportDayFR'
  1367. ermcp.QryReportFinanceKxRsp:
  1368. $ref: '#/definitions/models.ErmcpReportOPLog'
  1369. ermcp.QryReportFinanceMonRsp:
  1370. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1371. ermcp.QryReportSpotDayRsp:
  1372. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1373. ermcp.QryReportSpotMonRsp:
  1374. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1375. ermcp.QryReportSpotMonthDetailRsp:
  1376. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1377. ermcp.QrySpotContractRsp:
  1378. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1379. ermcp.QryUserInfoRsp:
  1380. $ref: '#/definitions/models.ErmcpUserModel'
  1381. ermcp.QryWarehouseRsp:
  1382. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1383. ermcp.QryWrStandardDetailRsp:
  1384. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1385. ermcp.QryWrStandardRsp:
  1386. $ref: '#/definitions/models.ErmcpWrstandard'
  1387. ermcp.QueryAreaStockApplySumRsp:
  1388. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1389. ermcp.QueryErmcpTradePositionRsp:
  1390. properties:
  1391. agreeunit:
  1392. description: 合约单位
  1393. type: number
  1394. buyorsell:
  1395. description: 方向 - 0:买 1:卖
  1396. type: integer
  1397. curpositionqty:
  1398. description: 持仓(总仓数量, 期末头寸)
  1399. type: integer
  1400. curtdposition:
  1401. description: 今仓数量(期末今日头寸)
  1402. type: integer
  1403. curtdpositionenabled:
  1404. description: 今仓可用
  1405. type: integer
  1406. decimalplace:
  1407. description: 报价小数位
  1408. type: integer
  1409. enableqty:
  1410. description: 可用(总仓可用)
  1411. type: integer
  1412. exexchangename:
  1413. description: 外部交易所名称
  1414. type: string
  1415. goodscode:
  1416. description: 商品代码(内部)
  1417. type: string
  1418. goodsid:
  1419. description: 商品ID(自增ID SEQ_GOODS)
  1420. type: integer
  1421. goodsname:
  1422. description: 商品名称
  1423. type: string
  1424. last:
  1425. description: 现价
  1426. type: number
  1427. marketid:
  1428. description: 所属市场ID
  1429. type: integer
  1430. openaverageprice:
  1431. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1432. type: number
  1433. opencost:
  1434. description: 开仓成本
  1435. type: number
  1436. openpl:
  1437. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1438. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1439. type: number
  1440. outgoodscode:
  1441. description: 商品代码(外部)
  1442. type: string
  1443. positionaverageprice:
  1444. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1445. type: number
  1446. positioncost:
  1447. description: 持仓成本
  1448. type: number
  1449. positionpl:
  1450. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1451. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1452. type: number
  1453. positionplrate:
  1454. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1455. type: number
  1456. usedmargin:
  1457. description: 占用保证金
  1458. type: number
  1459. type: object
  1460. ermcp.RealtimeExposurePositionRsp:
  1461. $ref: '#/definitions/models.ErmcpExposurePostion'
  1462. ermcp.RealtimeExposureRsp:
  1463. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1464. erms2.QueryArbitrageStrategyRsp:
  1465. properties:
  1466. applybasis:
  1467. description: 申请基差
  1468. type: number
  1469. asapplyid:
  1470. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1471. type: string
  1472. asname:
  1473. description: 策略名称
  1474. type: string
  1475. asno:
  1476. description: 策略编号
  1477. type: string
  1478. basischangepl:
  1479. description: 基差变动损益[结算更新]
  1480. type: number
  1481. biztype:
  1482. description: 业务类型 - 1:正向套利 -1:反向套利
  1483. type: integer
  1484. closetradedate:
  1485. description: 完结交易日(yyyyMMdd)
  1486. type: string
  1487. curbasis:
  1488. description: 当前基差[结算更新]
  1489. type: number
  1490. deliverygoodsid:
  1491. description: 现货品种ID
  1492. type: integer
  1493. futureavgprice:
  1494. description: 期货建仓均价
  1495. type: number
  1496. futurecloseamount:
  1497. description: 期货平仓金额
  1498. type: number
  1499. futurecloseqty:
  1500. description: 期货平仓数量
  1501. type: number
  1502. futureopenamount:
  1503. description: 期货开仓金额
  1504. type: number
  1505. futureopenqty:
  1506. description: 期货开仓数量
  1507. type: number
  1508. futurepl:
  1509. description: 期货总盈亏[结算更新]
  1510. type: number
  1511. futureqty:
  1512. description: 期货持仓数量
  1513. type: number
  1514. futurequote:
  1515. description: 期货额度
  1516. type: number
  1517. goodsgroupid:
  1518. description: 期货品种ID
  1519. type: integer
  1520. marketid:
  1521. description: 市场ID
  1522. type: integer
  1523. netexposure:
  1524. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1525. type: number
  1526. netexposurepl:
  1527. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1528. type: number
  1529. netexposurerate:
  1530. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1531. type: number
  1532. openbasis:
  1533. description: 建仓基差
  1534. type: number
  1535. pricedspotqty:
  1536. description: 已定价现货数量
  1537. type: number
  1538. pricedspotqtynotax:
  1539. description: 已定价现货不含税数量
  1540. type: number
  1541. remark:
  1542. description: 备注
  1543. type: string
  1544. spotavgprice:
  1545. description: 现货均价
  1546. type: number
  1547. spotbuyamount:
  1548. description: 现货采购金额
  1549. type: number
  1550. spotbuyqty:
  1551. description: 现货采购数量
  1552. type: number
  1553. spotpl:
  1554. description: 现货总盈亏[结算更新]
  1555. type: number
  1556. spotquota:
  1557. description: 现货额度
  1558. type: number
  1559. spotsellamount:
  1560. description: 现货销售金额
  1561. type: number
  1562. spotsellqty:
  1563. description: 现货销售数量
  1564. type: number
  1565. spotusedquota:
  1566. description: 现货占用资金
  1567. type: number
  1568. strategystatus:
  1569. description: 策略状态 - 0:未结束 1:已结束
  1570. type: integer
  1571. totalpl:
  1572. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1573. type: number
  1574. tradedate:
  1575. description: 交易日(yyyyMMdd)
  1576. type: string
  1577. updatetime:
  1578. description: 更新时间
  1579. type: string
  1580. usedquota:
  1581. description: 已占用资金
  1582. type: number
  1583. userid:
  1584. description: 所属机构
  1585. type: integer
  1586. required:
  1587. - asapplyid
  1588. type: object
  1589. erms2.QueryInnerTradeDetailRsp:
  1590. properties:
  1591. accountid:
  1592. description: 账号ID
  1593. type: integer
  1594. agreeunit:
  1595. description: 合约单位
  1596. type: number
  1597. asapplyid:
  1598. description: 策略申请ID
  1599. type: integer
  1600. asname:
  1601. description: 策略名称
  1602. type: string
  1603. asno:
  1604. description: 策略编号
  1605. type: string
  1606. buyorsell:
  1607. description: 方向 - 0:买 1:卖
  1608. type: integer
  1609. channelbuildtype:
  1610. description: 委托单据类型 0:无 1:建仓 2:平仓
  1611. type: integer
  1612. closetype:
  1613. description: 平仓方式 - 0:无 1:平今 2:平昨
  1614. type: integer
  1615. decimalplace:
  1616. description: 报价小数位
  1617. type: integer
  1618. detailtype:
  1619. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1620. type: integer
  1621. exexchangecode:
  1622. description: 外部交易所代码
  1623. type: string
  1624. exexchangename:
  1625. description: 外部交易所名称
  1626. type: string
  1627. goodscode:
  1628. description: 商品代码(合约)
  1629. type: string
  1630. goodsgroupid:
  1631. description: 商品组ID(品种ID)
  1632. type: integer
  1633. goodsgroupname:
  1634. description: 商品组名称(品种)
  1635. type: string
  1636. goodsid:
  1637. description: 商品ID
  1638. type: integer
  1639. goodsname:
  1640. description: 商品名称(合约)
  1641. type: string
  1642. goodunit:
  1643. description: 报价单位
  1644. type: string
  1645. marketid:
  1646. description: 市场ID
  1647. type: integer
  1648. orderid:
  1649. description: 委托单号
  1650. type: string
  1651. outgoodscode:
  1652. description: 商品代码(外部)
  1653. type: string
  1654. relatedouttradeid:
  1655. description: 关联外部成交单ID
  1656. type: string
  1657. remark:
  1658. description: 备注
  1659. type: string
  1660. spotcontractid:
  1661. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1662. type: integer
  1663. spotcontractno:
  1664. description: 现货合同编号
  1665. type: string
  1666. tradeid:
  1667. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1668. type: string
  1669. tradeprice:
  1670. description: 成交价格
  1671. type: number
  1672. tradeqty:
  1673. description: 成交数量
  1674. type: integer
  1675. tradetime:
  1676. description: 成交时间
  1677. type: string
  1678. updatetime:
  1679. description: 更新时间
  1680. type: string
  1681. required:
  1682. - asapplyid
  1683. - buyorsell
  1684. - goodscode
  1685. - goodsgroupid
  1686. - goodsgroupname
  1687. - goodsname
  1688. - tradeid
  1689. type: object
  1690. erms2.QuerySpotContractRsp:
  1691. properties:
  1692. accountid:
  1693. description: 资金账户ID
  1694. type: integer
  1695. areauserid:
  1696. description: 所属机构
  1697. type: integer
  1698. closedate:
  1699. description: 终止日期
  1700. type: string
  1701. closeremark:
  1702. description: 结束备注
  1703. type: string
  1704. closetradedate:
  1705. description: 完结交易日(yyyyMMdd)
  1706. type: string
  1707. closetype:
  1708. description: 终止类型 - 1:违约 2:提前终止
  1709. type: integer
  1710. contractamount:
  1711. description: 合同金额
  1712. type: number
  1713. contractattachment:
  1714. description: 合同附件
  1715. type: string
  1716. contractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. contractqty:
  1720. description: 合同数量(数值) (用于计算)
  1721. type: number
  1722. contractqtychar:
  1723. description: 合同数量\已订价数量 (用于显示)
  1724. type: string
  1725. contractstatus:
  1726. description: 合同状态 - 0:未结束 1:已结束
  1727. type: integer
  1728. contracttype:
  1729. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1730. type: integer
  1731. customeraccountid:
  1732. description: 客户资金账户ID
  1733. type: integer
  1734. customeruserid:
  1735. description: 客户ID
  1736. type: integer
  1737. deliverygoodsdesc:
  1738. description: 品种说明
  1739. type: string
  1740. deliverygoodsid:
  1741. description: 现货品种ID
  1742. type: integer
  1743. handlestatus:
  1744. description: 处理状态
  1745. type: integer
  1746. invoiceatt:
  1747. description: 发票附件
  1748. type: string
  1749. invoicedatetime:
  1750. description: 开收票更新时间
  1751. type: string
  1752. invoiceopentime:
  1753. description: 开票时间
  1754. type: string
  1755. invoiceremark:
  1756. description: 发票备注
  1757. type: string
  1758. invoicestatus:
  1759. description: 开收票状态 - 0:未开票 1:已开票
  1760. type: integer
  1761. lastdate:
  1762. description: 交货时间
  1763. type: string
  1764. marketid:
  1765. description: 市场ID
  1766. type: integer
  1767. paydatetime:
  1768. description: 收付款更新时间
  1769. type: string
  1770. payremark:
  1771. description: 收付款备注
  1772. type: string
  1773. paystatus:
  1774. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1775. type: integer
  1776. positionqty:
  1777. description: 头寸数量 - 合同数量去小数部分
  1778. type: integer
  1779. producttype:
  1780. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1781. type: integer
  1782. relatedqty:
  1783. description: 已关联数量
  1784. type: number
  1785. relatedstatus:
  1786. description: 关联完结状态 - 0:未结束 1:已结束
  1787. type: integer
  1788. remark:
  1789. description: 备注
  1790. type: string
  1791. signdate:
  1792. description: 签订日期
  1793. type: string
  1794. spotcontractid:
  1795. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1796. type: string
  1797. spotdatetime:
  1798. description: 收发货更新时间
  1799. type: string
  1800. spotprice:
  1801. description: 价格
  1802. type: number
  1803. spotremark:
  1804. description: 收发货备注
  1805. type: string
  1806. spotstatus:
  1807. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1808. type: integer
  1809. tradedate:
  1810. description: 交易日(yyyyMMdd)
  1811. type: string
  1812. userid:
  1813. description: 业务员用户ID
  1814. type: integer
  1815. warehouseid:
  1816. description: 仓库ID
  1817. type: integer
  1818. wrfactortypeid:
  1819. description: 仓单要素类型ID
  1820. type: integer
  1821. wrstandardid:
  1822. description: 仓单标准ID(SEQ_WRSTANDARD)
  1823. type: integer
  1824. required:
  1825. - spotcontractid
  1826. type: object
  1827. erms3.AddErms2ASApplyReq:
  1828. properties:
  1829. applybasis:
  1830. description: 申请基差
  1831. type: number
  1832. applystatus:
  1833. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1834. type: integer
  1835. asapplyid:
  1836. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1837. type: integer
  1838. asname:
  1839. description: 策略名称
  1840. type: string
  1841. asno:
  1842. description: 策略编号
  1843. type: string
  1844. auditid:
  1845. description: 审核人
  1846. type: integer
  1847. auditremark:
  1848. description: 审核备注
  1849. type: string
  1850. audittime:
  1851. description: 审核时间
  1852. type: string
  1853. biztype:
  1854. description: 业务类型 - 1:正向套利 2:反向套利
  1855. type: integer
  1856. createtime:
  1857. description: 创建时间
  1858. type: string
  1859. creatorid:
  1860. description: 创建人
  1861. type: integer
  1862. deliverygoodsid:
  1863. description: 现货品种ID
  1864. type: integer
  1865. futurequote:
  1866. description: 期货额度
  1867. type: number
  1868. goodsgroupid:
  1869. description: 期货品种ID
  1870. type: integer
  1871. marketid:
  1872. description: 市场ID
  1873. type: integer
  1874. remark:
  1875. description: 备注
  1876. type: string
  1877. spotquota:
  1878. description: 现货额度
  1879. type: number
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 所属机构
  1885. type: integer
  1886. required:
  1887. - asapplyid
  1888. type: object
  1889. erms3.AddErms2SpotTradeApplyReq:
  1890. properties:
  1891. applyjsondetail:
  1892. description: 申请明细(JSON)
  1893. type: string
  1894. applystatus:
  1895. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1896. type: integer
  1897. areauserid:
  1898. description: 所属机构
  1899. type: integer
  1900. auditid:
  1901. description: 审核人
  1902. type: integer
  1903. auditremark:
  1904. description: 审核备注
  1905. type: string
  1906. audittime:
  1907. description: 审核时间
  1908. type: string
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futureaccountid:
  1919. description: 期货资金账户
  1920. type: integer
  1921. goodsgroupid:
  1922. description: 期货品种
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotaccountid:
  1931. description: 现货资金账户
  1932. type: integer
  1933. spottradeid:
  1934. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1935. type: integer
  1936. spottradename:
  1937. description: 业务名称
  1938. type: string
  1939. spottradeno:
  1940. description: 业务编号
  1941. type: string
  1942. tradedate:
  1943. description: 交易日(yyyyMMdd)
  1944. type: string
  1945. wrstandardid:
  1946. description: 仓单标准ID
  1947. type: integer
  1948. required:
  1949. - spottradeid
  1950. type: object
  1951. erms3.AddSpotContractApplyReq:
  1952. properties:
  1953. accountid:
  1954. description: 资金账户ID
  1955. type: integer
  1956. areauserid:
  1957. description: 所属机构
  1958. type: integer
  1959. contractattachment:
  1960. description: 合同附件
  1961. type: string
  1962. contractno:
  1963. description: 现货合同编号
  1964. type: string
  1965. contracttype:
  1966. description: 现货合同类型 - 1:采购 -1:销售
  1967. type: integer
  1968. creatorid:
  1969. description: 申请人
  1970. type: integer
  1971. customeraccountid:
  1972. description: 客户资金账户ID
  1973. type: integer
  1974. customeruserid:
  1975. description: 客户ID
  1976. type: integer
  1977. details:
  1978. description: 明细
  1979. items:
  1980. $ref: '#/definitions/erms3.SoptContractDetail'
  1981. type: array
  1982. orimargin:
  1983. description: 初始保证金
  1984. type: number
  1985. remark:
  1986. description: 备注
  1987. type: string
  1988. signdate:
  1989. description: 签订日期
  1990. type: string
  1991. required:
  1992. - accountid
  1993. - areauserid
  1994. - contractno
  1995. - contracttype
  1996. - customeraccountid
  1997. - customeruserid
  1998. - details
  1999. - orimargin
  2000. - signdate
  2001. type: object
  2002. erms3.AddSpotContractApplyRsp:
  2003. properties:
  2004. contractno:
  2005. description: 现货合同编号
  2006. type: string
  2007. spotcontractid:
  2008. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2009. type: integer
  2010. required:
  2011. - contractno
  2012. type: object
  2013. erms3.AddUserInfoApplyReq:
  2014. properties:
  2015. accountid:
  2016. description: 交易系统帐号Id (加密存储)
  2017. type: integer
  2018. areacode:
  2019. description: 机构代码
  2020. type: string
  2021. areaid:
  2022. description: 机构Id
  2023. type: integer
  2024. attachment1:
  2025. description: 附件1
  2026. type: string
  2027. attachment2:
  2028. description: 附件2
  2029. type: string
  2030. attachment3:
  2031. description: 附件3
  2032. type: string
  2033. attachment4:
  2034. description: 附件4
  2035. type: string
  2036. attachment5:
  2037. description: 附件5
  2038. type: string
  2039. auditedby:
  2040. description: 审核人
  2041. type: string
  2042. auditime:
  2043. description: 审核时间
  2044. type: string
  2045. bankaccount:
  2046. description: 银行帐号 (加密存储)
  2047. type: string
  2048. bankaccountname:
  2049. description: 收款人名称
  2050. type: string
  2051. bankcardbackphotourl:
  2052. description: 银行卡背面照地址
  2053. type: string
  2054. bankcardfrontphotourl:
  2055. description: 银行卡正面照地址
  2056. type: string
  2057. bankid:
  2058. description: 银行编码
  2059. type: string
  2060. bankname:
  2061. description: 银行名称
  2062. type: string
  2063. bankpictureurl:
  2064. description: 银行卡正面地址
  2065. type: string
  2066. biznature:
  2067. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2068. type: integer
  2069. bizscope:
  2070. description: 企业经营范围(企业)
  2071. type: string
  2072. biztype:
  2073. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2074. type: integer
  2075. brokerid:
  2076. description: 经纪人ID(加密存储)
  2077. type: string
  2078. cardaddress:
  2079. description: 证件地址 (加密存储)
  2080. type: string
  2081. cardbackphotourl:
  2082. description: 背面证件照地址
  2083. type: string
  2084. cardfrontphotourl:
  2085. description: 正面证件照地址
  2086. type: string
  2087. cardnum:
  2088. description: 证件号码 (加密存储)
  2089. type: string
  2090. cardtype:
  2091. description: 证件类型
  2092. type: integer
  2093. cityid:
  2094. description: 市
  2095. type: integer
  2096. company:
  2097. description: 公司(个人)
  2098. type: string
  2099. contactcardbackphotourl:
  2100. description: 联系人证件背面图片地址
  2101. type: string
  2102. contactcardfrontphotourl:
  2103. description: 联系人证件正面图片地址
  2104. type: string
  2105. contactname:
  2106. description: 联系人
  2107. type: string
  2108. countryid:
  2109. description: 国家
  2110. type: integer
  2111. createtime:
  2112. description: 开户申请时间
  2113. type: string
  2114. cusbankid:
  2115. description: 签约类型
  2116. type: string
  2117. cusbankname:
  2118. description: 签约类型名称
  2119. type: string
  2120. customername:
  2121. description: 客户名称(企业名称)
  2122. type: string
  2123. districtid:
  2124. description: 地区
  2125. type: integer
  2126. email:
  2127. description: Email地址(加密存储)
  2128. type: string
  2129. halfbodyphotourl:
  2130. description: 半身照地址
  2131. type: string
  2132. headurl:
  2133. description: 头像地址
  2134. type: string
  2135. ipaddress:
  2136. description: IP地址
  2137. type: string
  2138. isvalidate:
  2139. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2140. type: string
  2141. legalcardbackphotourl:
  2142. description: 法人身份证背面照地址
  2143. type: string
  2144. legalcardfrontphotourl:
  2145. description: 法人身份证正面照地址
  2146. type: string
  2147. legalpersonname:
  2148. description: 法人姓名(企业)
  2149. type: string
  2150. logincode:
  2151. description: 登录帐号 (加密存储)
  2152. type: string
  2153. memberareaid:
  2154. description: 所属会员ID
  2155. type: integer
  2156. mobile2:
  2157. description: 手机号码[明文-尚志]
  2158. type: string
  2159. mobilephone:
  2160. description: 手机号码 (加密存储)
  2161. type: string
  2162. modifiedby:
  2163. description: 修改人帐号
  2164. type: integer
  2165. modifiedtime:
  2166. description: 修改时间
  2167. type: string
  2168. nickname:
  2169. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2170. type: string
  2171. openmode:
  2172. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2173. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2174. type: integer
  2175. otherurl:
  2176. description: 其它图片地址[使用分号分隔]
  2177. type: string
  2178. postalcode:
  2179. description: 邮政编码
  2180. type: string
  2181. provinceid:
  2182. description: 省
  2183. type: integer
  2184. proxystatementurl:
  2185. description: 授权委托书
  2186. type: string
  2187. qq:
  2188. description: QQ(加密存储
  2189. type: string
  2190. referral:
  2191. description: 推荐人编码
  2192. type: string
  2193. remark:
  2194. description: 备注
  2195. type: string
  2196. removebeforestatus:
  2197. description: REMOVEBEFORESTATUS
  2198. type: integer
  2199. sex:
  2200. description: 性别 - 0:女 1:男
  2201. type: integer
  2202. signedstatus:
  2203. description: 账户一号签签约状态
  2204. type: integer
  2205. signpdfurl:
  2206. description: 签约pdf文件
  2207. type: string
  2208. subbranch:
  2209. description: 开户支行
  2210. type: string
  2211. telphone:
  2212. description: 联系电话(加密存储)
  2213. type: string
  2214. userid:
  2215. description: 用户ID(自增ID)
  2216. type: integer
  2217. userinfotype:
  2218. description: 用户信息类型 - 1:个人 2:企业
  2219. type: integer
  2220. username:
  2221. description: 用户姓名
  2222. type: string
  2223. userstate:
  2224. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2225. type: integer
  2226. usertype:
  2227. description: 用户类型 - 1:投资者 2:机构
  2228. type: integer
  2229. videourl:
  2230. description: 视频地址
  2231. type: string
  2232. wechat:
  2233. description: 微信号 (加密存储)
  2234. type: string
  2235. required:
  2236. - userid
  2237. type: object
  2238. erms3.CustomerInfo:
  2239. properties:
  2240. accountids:
  2241. description: 资金账户ID列表
  2242. items:
  2243. type: integer
  2244. type: array
  2245. customername:
  2246. description: 名称(企业名称)
  2247. type: string
  2248. mobile:
  2249. description: 手机号码
  2250. type: string
  2251. userid:
  2252. description: 用户ID
  2253. type: integer
  2254. required:
  2255. - userid
  2256. type: object
  2257. erms3.ModifyUserInfoApplyReq:
  2258. properties:
  2259. accountid:
  2260. description: 交易系统帐号Id (加密存储)
  2261. type: integer
  2262. areacode:
  2263. description: 机构代码
  2264. type: string
  2265. areaid:
  2266. description: 机构Id
  2267. type: integer
  2268. attachment1:
  2269. description: 附件1
  2270. type: string
  2271. attachment2:
  2272. description: 附件2
  2273. type: string
  2274. attachment3:
  2275. description: 附件3
  2276. type: string
  2277. attachment4:
  2278. description: 附件4
  2279. type: string
  2280. attachment5:
  2281. description: 附件5
  2282. type: string
  2283. auditedby:
  2284. description: 审核人
  2285. type: string
  2286. auditime:
  2287. description: 审核时间
  2288. type: string
  2289. bankaccount:
  2290. description: 银行帐号 (加密存储)
  2291. type: string
  2292. bankaccountname:
  2293. description: 收款人名称
  2294. type: string
  2295. bankcardbackphotourl:
  2296. description: 银行卡背面照地址
  2297. type: string
  2298. bankcardfrontphotourl:
  2299. description: 银行卡正面照地址
  2300. type: string
  2301. bankid:
  2302. description: 银行编码
  2303. type: string
  2304. bankname:
  2305. description: 银行名称
  2306. type: string
  2307. bankpictureurl:
  2308. description: 银行卡正面地址
  2309. type: string
  2310. biznature:
  2311. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2312. type: integer
  2313. bizscope:
  2314. description: 企业经营范围(企业)
  2315. type: string
  2316. biztype:
  2317. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2318. type: integer
  2319. brokerid:
  2320. description: 经纪人ID(加密存储)
  2321. type: string
  2322. cardaddress:
  2323. description: 证件地址 (加密存储)
  2324. type: string
  2325. cardbackphotourl:
  2326. description: 背面证件照地址
  2327. type: string
  2328. cardfrontphotourl:
  2329. description: 正面证件照地址
  2330. type: string
  2331. cardnum:
  2332. description: 证件号码 (加密存储)
  2333. type: string
  2334. cardtype:
  2335. description: 证件类型
  2336. type: integer
  2337. cityid:
  2338. description: 市
  2339. type: integer
  2340. company:
  2341. description: 公司(个人)
  2342. type: string
  2343. contactcardbackphotourl:
  2344. description: 联系人证件背面图片地址
  2345. type: string
  2346. contactcardfrontphotourl:
  2347. description: 联系人证件正面图片地址
  2348. type: string
  2349. contactname:
  2350. description: 联系人
  2351. type: string
  2352. countryid:
  2353. description: 国家
  2354. type: integer
  2355. createtime:
  2356. description: 开户申请时间
  2357. type: string
  2358. cusbankid:
  2359. description: 签约类型
  2360. type: string
  2361. cusbankname:
  2362. description: 签约类型名称
  2363. type: string
  2364. customername:
  2365. description: 客户名称(企业名称)
  2366. type: string
  2367. districtid:
  2368. description: 地区
  2369. type: integer
  2370. email:
  2371. description: Email地址(加密存储)
  2372. type: string
  2373. halfbodyphotourl:
  2374. description: 半身照地址
  2375. type: string
  2376. headurl:
  2377. description: 头像地址
  2378. type: string
  2379. ipaddress:
  2380. description: IP地址
  2381. type: string
  2382. isvalidate:
  2383. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2384. type: string
  2385. legalcardbackphotourl:
  2386. description: 法人身份证背面照地址
  2387. type: string
  2388. legalcardfrontphotourl:
  2389. description: 法人身份证正面照地址
  2390. type: string
  2391. legalpersonname:
  2392. description: 法人姓名(企业)
  2393. type: string
  2394. logincode:
  2395. description: 登录帐号 (加密存储)
  2396. type: string
  2397. memberareaid:
  2398. description: 所属会员ID
  2399. type: integer
  2400. mobile2:
  2401. description: 手机号码[明文-尚志]
  2402. type: string
  2403. mobilephone:
  2404. description: 手机号码 (加密存储)
  2405. type: string
  2406. modifiedby:
  2407. description: 修改人帐号
  2408. type: integer
  2409. modifiedtime:
  2410. description: 修改时间
  2411. type: string
  2412. nickname:
  2413. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2414. type: string
  2415. openmode:
  2416. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2417. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2418. type: integer
  2419. otherurl:
  2420. description: 其它图片地址[使用分号分隔]
  2421. type: string
  2422. postalcode:
  2423. description: 邮政编码
  2424. type: string
  2425. provinceid:
  2426. description: 省
  2427. type: integer
  2428. proxystatementurl:
  2429. description: 授权委托书
  2430. type: string
  2431. qq:
  2432. description: QQ(加密存储
  2433. type: string
  2434. referral:
  2435. description: 推荐人编码
  2436. type: string
  2437. remark:
  2438. description: 备注
  2439. type: string
  2440. removebeforestatus:
  2441. description: REMOVEBEFORESTATUS
  2442. type: integer
  2443. sex:
  2444. description: 性别 - 0:女 1:男
  2445. type: integer
  2446. signedstatus:
  2447. description: 账户一号签签约状态
  2448. type: integer
  2449. signpdfurl:
  2450. description: 签约pdf文件
  2451. type: string
  2452. subbranch:
  2453. description: 开户支行
  2454. type: string
  2455. telphone:
  2456. description: 联系电话(加密存储)
  2457. type: string
  2458. userid:
  2459. description: 用户ID(自增ID)
  2460. type: integer
  2461. userinfotype:
  2462. description: 用户信息类型 - 1:个人 2:企业
  2463. type: integer
  2464. username:
  2465. description: 用户姓名
  2466. type: string
  2467. userstate:
  2468. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2469. type: integer
  2470. usertype:
  2471. description: 用户类型 - 1:投资者 2:机构
  2472. type: integer
  2473. videourl:
  2474. description: 视频地址
  2475. type: string
  2476. wechat:
  2477. description: 微信号 (加密存储)
  2478. type: string
  2479. required:
  2480. - userid
  2481. type: object
  2482. erms3.QryAuditContractRsp:
  2483. properties:
  2484. accountid:
  2485. description: 交易员ID
  2486. type: string
  2487. applystatus:
  2488. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2489. type: integer
  2490. curdeliveryqty:
  2491. description: 未交收量
  2492. type: integer
  2493. customername:
  2494. description: 采购方ID
  2495. type: string
  2496. deliverygoodsid:
  2497. description: 品种ID
  2498. type: string
  2499. deliveryqty:
  2500. description: 交收量
  2501. type: integer
  2502. enumdicname:
  2503. description: 单位名称
  2504. type: string
  2505. matchaccountid:
  2506. description: 业务员ID
  2507. type: string
  2508. matchcustomername:
  2509. description: 销售方ID
  2510. type: string
  2511. pricedqty:
  2512. description: 定价量
  2513. type: number
  2514. signdate:
  2515. description: 签订日期
  2516. type: string
  2517. spotcontractid:
  2518. description: 合同ID
  2519. type: string
  2520. totaldqty:
  2521. description: 合同量
  2522. type: number
  2523. unpricedqty:
  2524. description: 未定价量
  2525. type: number
  2526. wrstandardname:
  2527. description: 商品名称
  2528. type: string
  2529. required:
  2530. - matchcustomername
  2531. - spotcontractid
  2532. type: object
  2533. erms3.QryPendingBizRsp:
  2534. $ref: '#/definitions/models.PendingAuditBizModel'
  2535. erms3.QueryBusinessInfoRsp:
  2536. properties:
  2537. businessid:
  2538. description: 业务ID.
  2539. type: integer
  2540. buyamount:
  2541. description: 采购额.
  2542. type: number
  2543. buyqty:
  2544. description: 采购量.
  2545. type: string
  2546. futurepl:
  2547. description: 期货盈亏.
  2548. type: number
  2549. futureqty:
  2550. description: 期货敞口.
  2551. type: string
  2552. goodsid:
  2553. description: 商品名称/商品代码.
  2554. type: string
  2555. hedgingqty:
  2556. description: 套保量.
  2557. type: string
  2558. sellamount:
  2559. description: 销售额.
  2560. type: number
  2561. sellqty:
  2562. description: 销售量.
  2563. type: string
  2564. spotmarketvalue:
  2565. description: 现货市值.
  2566. type: number
  2567. spotpl:
  2568. description: 浮动权益.
  2569. type: number
  2570. spotqty:
  2571. description: 现货量.
  2572. type: string
  2573. statu:
  2574. description: 状态,0-未结束 1-已结束.
  2575. type: integer
  2576. totalpl:
  2577. description: 总盈亏.
  2578. type: number
  2579. totalqty:
  2580. description: 总敞口.
  2581. type: string
  2582. type:
  2583. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2584. type: integer
  2585. type: object
  2586. erms3.QuerySpotContractAppleFormRsp:
  2587. properties:
  2588. goodses:
  2589. description: 合约列表
  2590. items:
  2591. $ref: '#/definitions/models.GoodsIDAndName'
  2592. type: array
  2593. oppositeusers:
  2594. description: 对方账号列表
  2595. items:
  2596. $ref: '#/definitions/erms3.CustomerInfo'
  2597. type: array
  2598. ouruser:
  2599. $ref: '#/definitions/erms3.CustomerInfo'
  2600. description: 我方账号
  2601. type: object
  2602. warehouseinfos:
  2603. description: 仓库信息列表
  2604. items:
  2605. $ref: '#/definitions/models.Warehouseinfo'
  2606. type: array
  2607. wrstandards:
  2608. description: 仓单标准列表
  2609. items:
  2610. $ref: '#/definitions/models.WRStandardInfo'
  2611. type: array
  2612. type: object
  2613. erms3.QuerySpotContractInfoRsp:
  2614. properties:
  2615. accountid:
  2616. description: 表示交易员ID.
  2617. type: integer
  2618. curdeliveryqty:
  2619. description: 表示未交收量.
  2620. type: number
  2621. customername:
  2622. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2623. type: string
  2624. deliverygoodsid:
  2625. description: 表示品种ID.
  2626. type: string
  2627. deliveryqty:
  2628. description: 表示交收量.
  2629. type: number
  2630. matchaccountid:
  2631. description: 表示业务员ID.
  2632. type: integer
  2633. matchcustomername:
  2634. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2635. type: string
  2636. priceqty:
  2637. description: 表示定价量.
  2638. type: number
  2639. relatedbizid:
  2640. description: 表示业务ID.
  2641. type: string
  2642. signdate:
  2643. description: 表示签订日期.
  2644. type: string
  2645. spotcontractid:
  2646. description: 合同ID
  2647. type: string
  2648. status:
  2649. description: 表示状态,0-履约中 1-已完成.
  2650. type: integer
  2651. totalqty:
  2652. description: 表示合同量.
  2653. type: number
  2654. unpricedqty:
  2655. description: 表示未定价量.
  2656. type: number
  2657. wrstandardname:
  2658. description: 表示商品ID.
  2659. type: string
  2660. type: object
  2661. erms3.QueryUserInfoAppliesRsp:
  2662. properties:
  2663. biznature:
  2664. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2665. type: integer
  2666. contactname:
  2667. description: 联系人
  2668. type: string
  2669. createtime:
  2670. description: 开户申请时间
  2671. type: string
  2672. userid:
  2673. description: 用户ID(自增ID)
  2674. type: integer
  2675. userinfotype:
  2676. description: 用户信息类型 - 1:个人 2:企业
  2677. type: integer
  2678. username:
  2679. description: 用户姓名
  2680. type: string
  2681. userstate:
  2682. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2683. type: integer
  2684. required:
  2685. - userid
  2686. type: object
  2687. erms3.QueryUserInfosRsp:
  2688. properties:
  2689. biznature:
  2690. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2691. type: integer
  2692. contactname:
  2693. description: 联系人
  2694. type: string
  2695. customername:
  2696. description: 客户名称(企业名称)
  2697. type: string
  2698. userid:
  2699. description: 用户ID
  2700. type: integer
  2701. userinfotype:
  2702. description: 用户信息类型 - 1:个人 2:企业
  2703. type: integer
  2704. userstatus:
  2705. description: 用户状态 - 1:正常 2:注销
  2706. type: integer
  2707. required:
  2708. - userid
  2709. type: object
  2710. erms3.SoptContractDetail:
  2711. properties:
  2712. deliverygoodsdesc:
  2713. description: 现货品种说明
  2714. type: string
  2715. deliverygoodsid:
  2716. description: 现货品种ID
  2717. type: integer
  2718. deliverygoodsname:
  2719. description: 现货品种名称
  2720. type: string
  2721. pointdesc:
  2722. description: 点价描述
  2723. type: string
  2724. producttype:
  2725. description: 产品类型 1:标准仓单 2:等标 3:非标
  2726. type: integer
  2727. producttypename:
  2728. description: 产品类型名称
  2729. type: string
  2730. spotPointOrderVoList:
  2731. description: 点价列表
  2732. items:
  2733. $ref: '#/definitions/erms3.SpotPointOrder'
  2734. type: array
  2735. spotPriceOrderList:
  2736. description: 定价列表
  2737. items:
  2738. $ref: '#/definitions/erms3.SpotPriceOrder'
  2739. type: array
  2740. unitname:
  2741. description: 单位名称
  2742. type: string
  2743. warehouseid:
  2744. description: 仓库ID
  2745. type: integer
  2746. warehousename:
  2747. description: 仓库名称
  2748. type: string
  2749. wrstandardid:
  2750. description: 交易标的ID
  2751. type: integer
  2752. wrstandardname:
  2753. description: 交易标的名称
  2754. type: string
  2755. required:
  2756. - deliverygoodsid
  2757. - producttype
  2758. - unitname
  2759. - warehouseid
  2760. - wrstandardid
  2761. - wrstandardname
  2762. type: object
  2763. erms3.SpotPointOrder:
  2764. properties:
  2765. basic:
  2766. description: 基差
  2767. type: number
  2768. deliveryenddate:
  2769. description: 交收结束日期
  2770. type: string
  2771. deliverystartdate:
  2772. description: 交收开始日期
  2773. type: string
  2774. enddate:
  2775. description: 点价结束日期
  2776. type: string
  2777. goodsid:
  2778. description: 商品ID
  2779. type: integer
  2780. goodsname:
  2781. description: 商品名称
  2782. type: string
  2783. qty:
  2784. description: 数量
  2785. type: number
  2786. startdate:
  2787. description: 点价开始日期
  2788. type: string
  2789. required:
  2790. - basic
  2791. - goodsid
  2792. - qty
  2793. type: object
  2794. erms3.SpotPriceOrder:
  2795. properties:
  2796. amount:
  2797. description: 金额
  2798. type: number
  2799. deliveryenddate:
  2800. description: 交收结束日期
  2801. type: string
  2802. deliverystartdate:
  2803. description: 交收开始日期
  2804. type: string
  2805. price:
  2806. description: 价格
  2807. type: number
  2808. qty:
  2809. description: 数量
  2810. type: number
  2811. required:
  2812. - amount
  2813. - price
  2814. - qty
  2815. type: object
  2816. hsby.GetHsbyMyCountRsp:
  2817. properties:
  2818. myCouponCount:
  2819. description: 我的优惠卷数量
  2820. type: integer
  2821. myOrderDetailListingCount:
  2822. description: 我的订单求购中数量
  2823. type: integer
  2824. myOrderDetailPreCount:
  2825. description: 我的订单抢购中数量
  2826. type: integer
  2827. myPackageUnReceiveCount:
  2828. description: 我的包裹待收货数量
  2829. type: integer
  2830. myPackageUnSendCount:
  2831. description: 我的包裹待发货数量
  2832. type: integer
  2833. myPayOrderCount:
  2834. description: 我的订单待付款数量
  2835. type: integer
  2836. type: object
  2837. hsby.QueryProvincesAndCitiesRsp:
  2838. properties:
  2839. cities:
  2840. description: 市
  2841. items:
  2842. $ref: '#/definitions/models.Division'
  2843. type: array
  2844. province:
  2845. $ref: '#/definitions/models.Division'
  2846. description: 省
  2847. type: object
  2848. type: object
  2849. models.AreaSpotModel:
  2850. properties:
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. decreaseqty:
  2855. description: 减少数量=-(销售已定价数量+采购计划数量)
  2856. type: number
  2857. increaseqty:
  2858. description: 增加数量=销售计划数量+采购已定价数量
  2859. type: number
  2860. oritoalspotqty:
  2861. description: 昨日数量
  2862. type: number
  2863. totalspotqty:
  2864. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2865. type: number
  2866. updatetime:
  2867. description: 更新时间
  2868. type: string
  2869. wrstandardcode:
  2870. description: 现货品种代码
  2871. type: string
  2872. wrstandardid:
  2873. description: 现货商品ID
  2874. type: integer
  2875. wrstandardname:
  2876. description: 现货品种
  2877. type: string
  2878. type: object
  2879. models.Clientfixedadconfig:
  2880. properties:
  2881. adsort:
  2882. description: 排序
  2883. type: integer
  2884. adtype:
  2885. description: 广告位类型 - 1:新品抢购(HSBY)
  2886. type: integer
  2887. areauserid:
  2888. description: 所属机构ID
  2889. type: integer
  2890. createdate:
  2891. description: 创建时间
  2892. type: string
  2893. creatorid:
  2894. description: 创建人
  2895. type: integer
  2896. imagepath:
  2897. description: 图片
  2898. type: string
  2899. isshow:
  2900. description: 是否展示 - 0:不展示 1:展示
  2901. type: integer
  2902. modifierid:
  2903. description: 操作人
  2904. type: integer
  2905. recsize:
  2906. description: 推荐尺寸
  2907. type: string
  2908. title:
  2909. description: 标题
  2910. type: string
  2911. updatedate:
  2912. description: 更新时间
  2913. type: string
  2914. urlcontent:
  2915. description: 链接(地址或商品ID)
  2916. type: string
  2917. urltype:
  2918. description: 链接类型 - 1:直接地址 2:商品ID
  2919. type: integer
  2920. required:
  2921. - adsort
  2922. - adtype
  2923. type: object
  2924. models.Division:
  2925. properties:
  2926. autoid:
  2927. description: 自增ID
  2928. type: integer
  2929. divisioncode:
  2930. description: 行政代码
  2931. type: string
  2932. divisionlevel:
  2933. description: 行政级别
  2934. type: string
  2935. divisionname:
  2936. description: 行政名称
  2937. type: string
  2938. modifierid:
  2939. description: 修改人
  2940. type: integer
  2941. modifytime:
  2942. description: 修改时间
  2943. type: string
  2944. parentcode:
  2945. description: 上级行政代码
  2946. type: string
  2947. pathname:
  2948. description: 路径名称
  2949. type: string
  2950. postcode:
  2951. description: 邮政编码
  2952. type: string
  2953. separablename:
  2954. description: 可拆分的全称
  2955. type: string
  2956. shortcode:
  2957. description: 地区简码
  2958. type: string
  2959. required:
  2960. - autoid
  2961. - divisioncode
  2962. type: object
  2963. models.Enumdicitem:
  2964. properties:
  2965. autoid:
  2966. description: 自增ID
  2967. type: integer
  2968. bankmappedvalue:
  2969. description: 银行服务对应值
  2970. type: string
  2971. enumdiccode:
  2972. description: 所属枚举代码
  2973. type: string
  2974. enumdicid:
  2975. description: 所属枚举ID
  2976. type: integer
  2977. enumdicname:
  2978. description: 枚举项名称
  2979. type: string
  2980. enumitemname:
  2981. description: 枚举项值
  2982. type: integer
  2983. enumitemstatus:
  2984. description: 枚举项状态 - 1.启用 2.不启用
  2985. type: integer
  2986. enumitemvalue:
  2987. description: 通用值 - [币种通用简写]
  2988. type: string
  2989. param1:
  2990. description: 参数1[币种:币种小数位]
  2991. type: string
  2992. param2:
  2993. description: 参数1[币种:币种显示单位]
  2994. type: string
  2995. remark:
  2996. description: 备注
  2997. type: string
  2998. required:
  2999. - autoid
  3000. - enumdiccode
  3001. - enumdicid
  3002. - enumitemname
  3003. type: object
  3004. models.ErmcpAreaSpotDetailModel:
  3005. properties:
  3006. contracttype:
  3007. description: 合同类型 1-采购 -1-销售
  3008. type: integer
  3009. createtime:
  3010. description: 创建时间
  3011. type: string
  3012. enumdicname:
  3013. description: 现货商品单位名称
  3014. type: string
  3015. logtype:
  3016. description: 记录类型 1-套保 2-现货合同
  3017. type: integer
  3018. qty:
  3019. description: 数量
  3020. type: number
  3021. recordname:
  3022. description: 类型名称
  3023. type: string
  3024. relatedid:
  3025. description: 套保计划ID/现货合同ID
  3026. type: string
  3027. relatedno:
  3028. description: 编号
  3029. type: string
  3030. strtime:
  3031. description: 时间
  3032. type: string
  3033. wrstandardcode:
  3034. description: 现货商品代码
  3035. type: string
  3036. wrstandardname:
  3037. description: 现货商品名称
  3038. type: string
  3039. type: object
  3040. models.ErmcpAreaStock:
  3041. properties:
  3042. brandname:
  3043. description: 品牌名称
  3044. type: string
  3045. curstock:
  3046. description: 期末库存量(今日量)
  3047. type: number
  3048. deliverygoodsid:
  3049. description: 现货品种ID
  3050. type: integer
  3051. enumdicname:
  3052. description: 单位名称
  3053. type: string
  3054. modelname:
  3055. description: 型号名称
  3056. type: string
  3057. oristock:
  3058. description: 期初库存量(昨日量)
  3059. type: number
  3060. spotgoodsbrandid:
  3061. description: 现货品牌ID
  3062. type: integer
  3063. spotgoodsmodelid:
  3064. description: 现货型号ID
  3065. type: integer
  3066. todaybuyinqty:
  3067. description: 今日采购入库量
  3068. type: number
  3069. todayproduceinqty:
  3070. description: 今日生产入库量
  3071. type: number
  3072. todayproduceoutqty:
  3073. description: 今日生产出库量
  3074. type: number
  3075. todayselloutqty:
  3076. description: 今日销售出库量
  3077. type: number
  3078. unitid:
  3079. description: 单位id
  3080. type: integer
  3081. updatetime:
  3082. description: 更新时间
  3083. type: string
  3084. userid:
  3085. description: 机构ID
  3086. type: integer
  3087. username:
  3088. description: 机构名称
  3089. type: string
  3090. warehousecode:
  3091. description: 仓库代码
  3092. type: string
  3093. warehouseinfoid:
  3094. description: 仓库ID
  3095. type: string
  3096. warehousename:
  3097. description: 仓库名称
  3098. type: string
  3099. warehousetype:
  3100. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3101. type: integer
  3102. wrstandardcode:
  3103. description: 现货商品代码
  3104. type: string
  3105. wrstandardid:
  3106. description: 现货商品ID
  3107. type: string
  3108. wrstandardname:
  3109. description: 现货商品名称
  3110. type: string
  3111. type: object
  3112. models.ErmcpAreaStockApply:
  3113. properties:
  3114. applyid:
  3115. description: 申请人
  3116. type: integer
  3117. applyname:
  3118. description: 申请人名称
  3119. type: string
  3120. applyremark:
  3121. description: 申请备注
  3122. type: string
  3123. applysrc:
  3124. description: 申请来源 - 1:管理端 2:终端
  3125. type: integer
  3126. applystatus:
  3127. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3128. type: integer
  3129. applytime:
  3130. description: 申请时间
  3131. type: string
  3132. auditid:
  3133. description: 审核人
  3134. type: integer
  3135. auditname:
  3136. description: 审核人名称
  3137. type: string
  3138. auditremark:
  3139. description: 审核备注
  3140. type: string
  3141. auditsrc:
  3142. description: 审核来源 - 1:管理端 2:终端
  3143. type: integer
  3144. audittime:
  3145. description: 审核时间
  3146. type: string
  3147. audittradedate:
  3148. description: 审核交易日(yyyyMMdd)
  3149. type: string
  3150. brandname:
  3151. description: 品牌名称
  3152. type: string
  3153. buyuserid:
  3154. description: 采购方userid
  3155. type: integer
  3156. buyusername:
  3157. description: 采购方名称
  3158. type: string
  3159. contractno:
  3160. description: 合同编号
  3161. type: string
  3162. contractqty:
  3163. description: 合同量
  3164. type: number
  3165. contracttype:
  3166. description: 现货合同类型 - 1:采购 -1:销售
  3167. type: integer
  3168. deliverygoodsid:
  3169. description: 现货品种ID
  3170. type: integer
  3171. enumdicname:
  3172. description: 现货商品单位名称
  3173. type: string
  3174. inoutapplyid:
  3175. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3176. type: string
  3177. inouttype:
  3178. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3179. type: integer
  3180. modelname:
  3181. description: 型号名称
  3182. type: string
  3183. pricetype:
  3184. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3185. type: integer
  3186. qty:
  3187. description: 数量
  3188. type: number
  3189. selluserid:
  3190. description: 销售方userid
  3191. type: integer
  3192. sellusername:
  3193. description: 销售方名称
  3194. type: string
  3195. spotcontractid:
  3196. description: 关联现货合同ID
  3197. type: string
  3198. spotgoodsbrandid:
  3199. description: 现货品牌ID
  3200. type: integer
  3201. spotgoodsmodelid:
  3202. description: 现货型号ID
  3203. type: integer
  3204. unitid:
  3205. description: 单位id
  3206. type: integer
  3207. userid:
  3208. description: 机构ID
  3209. type: integer
  3210. warehousecode:
  3211. description: 仓库代码
  3212. type: string
  3213. warehouseinfoid:
  3214. description: 现货仓库ID
  3215. type: string
  3216. warehousename:
  3217. description: 仓库名称
  3218. type: string
  3219. warehousetype:
  3220. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3221. type: integer
  3222. wrstandardcode:
  3223. description: 现货商品代码
  3224. type: string
  3225. wrstandardid:
  3226. description: 现货商品ID
  3227. type: string
  3228. wrstandardname:
  3229. description: 现货商品名称
  3230. type: string
  3231. type: object
  3232. models.ErmcpAreaStockApplySum:
  3233. properties:
  3234. brandname:
  3235. description: 品牌名称
  3236. type: string
  3237. inouttype:
  3238. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3239. type: integer
  3240. modelname:
  3241. description: 型号名称
  3242. type: string
  3243. spotcontractid:
  3244. description: 关联现货合同ID
  3245. type: string
  3246. spotgoodsbrandid:
  3247. description: 品牌id
  3248. type: integer
  3249. spotgoodsmodelid:
  3250. description: 型号id
  3251. type: integer
  3252. totalqty:
  3253. description: 总数量
  3254. type: number
  3255. type: object
  3256. models.ErmcpAreaStockReport:
  3257. properties:
  3258. brandname:
  3259. description: 品牌名称
  3260. type: string
  3261. curstock:
  3262. description: 期末库存量
  3263. type: number
  3264. deliverygoodsid:
  3265. description: 现货品种ID
  3266. type: integer
  3267. enumdicname:
  3268. description: 单位名称
  3269. type: string
  3270. modelname:
  3271. description: 型号名称
  3272. type: string
  3273. oristock:
  3274. description: 期初库存量
  3275. type: number
  3276. spotgoodsbrandid:
  3277. description: 现货品牌ID
  3278. type: integer
  3279. spotgoodsmodelid:
  3280. description: 现货型号ID
  3281. type: integer
  3282. todaybuyinqty:
  3283. description: 今日采购入库量
  3284. type: number
  3285. todayproduceinqty:
  3286. description: 今日生产入库量
  3287. type: number
  3288. todayproduceoutqty:
  3289. description: 今日生产出库量
  3290. type: number
  3291. todayselloutqty:
  3292. description: 今日销售出库量
  3293. type: number
  3294. unitid:
  3295. description: 单位id
  3296. type: integer
  3297. updatetime:
  3298. description: 更新时间
  3299. type: string
  3300. userid:
  3301. description: 机构ID
  3302. type: integer
  3303. username:
  3304. description: 机构名称
  3305. type: string
  3306. warehousecode:
  3307. description: 仓库代码
  3308. type: string
  3309. warehouseinfoid:
  3310. description: 仓库ID
  3311. type: string
  3312. warehousename:
  3313. description: 仓库名称
  3314. type: string
  3315. warehousetype:
  3316. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3317. type: integer
  3318. wrstandardcode:
  3319. description: 现货商品代码
  3320. type: string
  3321. wrstandardid:
  3322. description: 现货商品ID
  3323. type: string
  3324. wrstandardname:
  3325. description: 现货商品名称
  3326. type: string
  3327. type: object
  3328. models.ErmcpAvalidGoodsGroupModel:
  3329. properties:
  3330. goodsgroupid:
  3331. description: 期货品种id
  3332. type: integer
  3333. goodsgroupname:
  3334. description: 期货品种名称
  3335. type: string
  3336. goodunitid:
  3337. description: 品种单位id
  3338. type: integer
  3339. goodunitname:
  3340. description: 品种单位名称
  3341. type: string
  3342. outergroupcode:
  3343. description: 期货品种代码
  3344. type: string
  3345. type: object
  3346. models.ErmcpExposureDetailModel:
  3347. properties:
  3348. areauserid:
  3349. description: 机构ID
  3350. type: integer
  3351. changeQty:
  3352. description: 套保变动量
  3353. type: number
  3354. contracttype:
  3355. description: 现货合同类型 - 1:采购 -1:销售
  3356. type: integer
  3357. convertfactor:
  3358. description: 标仓系数
  3359. type: number
  3360. convertratio:
  3361. description: 套保系数
  3362. type: number
  3363. createtime:
  3364. description: 时间
  3365. type: string
  3366. enumdicname:
  3367. description: 现货商品单位名称
  3368. type: string
  3369. logtype:
  3370. description: 类型 - 1:套保计划 2:现货合同
  3371. type: integer
  3372. middlegoodsId:
  3373. description: 套保商品id
  3374. type: integer
  3375. middlegoodscode:
  3376. description: 套保商品代码
  3377. type: string
  3378. middlegoodsname:
  3379. description: 套保商品名称
  3380. type: string
  3381. qty:
  3382. description: 数量
  3383. type: number
  3384. relateNo:
  3385. description: 现货合同/套保计划编号
  3386. type: string
  3387. wrstandardcode:
  3388. description: 现货商品代码
  3389. type: string
  3390. wrstandardid:
  3391. description: 现货商品ID
  3392. type: integer
  3393. wrstandardname:
  3394. description: 现货商品名称
  3395. type: string
  3396. type: object
  3397. models.ErmcpExposurePostion:
  3398. properties:
  3399. agreeunit:
  3400. description: 合约单位
  3401. type: string
  3402. areauserid:
  3403. description: 所属机构id
  3404. type: integer
  3405. convertratio:
  3406. description: 期货品种系数(折算系数)
  3407. type: number
  3408. curqty:
  3409. description: 当前持仓
  3410. type: integer
  3411. diffhedgeqty:
  3412. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3413. type: number
  3414. diffqty:
  3415. description: 持仓变动量=当前持仓-昨日持仓
  3416. type: integer
  3417. goodscode:
  3418. description: 商品代码
  3419. type: string
  3420. goodsid:
  3421. description: 商品id
  3422. type: integer
  3423. goodsname:
  3424. description: 商品名称
  3425. type: string
  3426. middlegoodsid:
  3427. description: 套保商品id
  3428. type: integer
  3429. ydqty:
  3430. description: 昨日持仓
  3431. type: integer
  3432. type: object
  3433. models.ErmcpGGConvertCfg:
  3434. properties:
  3435. convertratio:
  3436. description: 折算系数
  3437. type: number
  3438. destgoodsgroupid:
  3439. description: 目标品种ID
  3440. type: integer
  3441. dstcode:
  3442. description: 目录品种代码
  3443. type: string
  3444. dstexchangecode:
  3445. description: 目标期货交易所
  3446. type: string
  3447. dstname:
  3448. description: 目标品种名称
  3449. type: string
  3450. dstunitid:
  3451. description: 目标品种单位ID
  3452. type: integer
  3453. dstunitidname:
  3454. description: 目标品种单位名称
  3455. type: string
  3456. modifytime:
  3457. description: 修改时间
  3458. type: string
  3459. srccode:
  3460. description: 源品种代码
  3461. type: string
  3462. srcexchangecode:
  3463. description: 源期货交易所
  3464. type: string
  3465. srcgoodsgroupid:
  3466. description: 源品种ID
  3467. type: integer
  3468. srcname:
  3469. description: 源品种名称
  3470. type: string
  3471. srcunitid:
  3472. description: 源品种单位ID
  3473. type: integer
  3474. srcunitidname:
  3475. description: 源品种单位名称
  3476. type: string
  3477. type: object
  3478. models.ErmcpGoodsBrand:
  3479. properties:
  3480. areauserid:
  3481. description: 所属机构
  3482. type: integer
  3483. brandid:
  3484. description: BrandID(SEQ_SPOTGOODSBRAND)
  3485. type: integer
  3486. brandname:
  3487. description: 品牌名称
  3488. type: string
  3489. createtime:
  3490. description: 创建时间
  3491. type: string
  3492. creatorid:
  3493. description: 创建人
  3494. type: integer
  3495. creatorsrc:
  3496. description: 创建人来源 - 1:管理端 2:终端
  3497. type: integer
  3498. deliverygoodsid:
  3499. description: 现货品种ID
  3500. type: integer
  3501. isvalid:
  3502. description: 是否有效 - 0:无效 1:有效
  3503. type: integer
  3504. updatetime:
  3505. description: 更新时间
  3506. type: string
  3507. updatorid:
  3508. description: 更新人
  3509. type: integer
  3510. updatorsrc:
  3511. description: 更新人来源 - 1:管理端 2:终端
  3512. type: integer
  3513. wrstandardid:
  3514. description: 现货商品ID
  3515. type: integer
  3516. type: object
  3517. models.ErmcpGoodsModel:
  3518. properties:
  3519. areauserid:
  3520. description: 所属机构
  3521. type: integer
  3522. convertfactor:
  3523. description: 标仓系数
  3524. type: number
  3525. createtime:
  3526. description: 创建时间
  3527. type: string
  3528. creatorid:
  3529. description: 创建人
  3530. type: integer
  3531. creatorsrc:
  3532. description: 创建人来源 - 1:管理端 2:终端
  3533. type: integer
  3534. deliverygoodsid:
  3535. description: 现货品种ID
  3536. type: integer
  3537. isvalid:
  3538. description: 是否有效 - 0:无效 1:有效
  3539. type: integer
  3540. modelid:
  3541. description: ModelID(SEQ_SPOTGOODSMODEL)
  3542. type: integer
  3543. modelname:
  3544. description: 型号名称
  3545. type: string
  3546. updatetime:
  3547. description: 更新时间
  3548. type: string
  3549. updatorid:
  3550. description: 更新人
  3551. type: integer
  3552. updatorsrc:
  3553. description: 更新人来源 - 1:管理端 2:终端
  3554. type: integer
  3555. wrstandardid:
  3556. description: 现货商品ID
  3557. type: integer
  3558. type: object
  3559. models.ErmcpHedgePlan:
  3560. properties:
  3561. areauserid:
  3562. description: 用户ID
  3563. type: integer
  3564. audittime:
  3565. description: 审核时间
  3566. type: string
  3567. contracttype:
  3568. description: 计划类型 - 1:采购 -1:销售
  3569. type: integer
  3570. convertfactor:
  3571. description: 标仓系数
  3572. type: number
  3573. createtime:
  3574. description: 创建时间
  3575. type: string
  3576. deliverygoodsid:
  3577. description: 现货品种ID
  3578. type: integer
  3579. deliverygoodsname:
  3580. description: 现货品种名称
  3581. type: string
  3582. enumdicname:
  3583. description: 单位名称
  3584. type: string
  3585. hedgeplanid:
  3586. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3587. type: string
  3588. hedgeplanno:
  3589. description: 套保计划编号(名称)
  3590. type: string
  3591. hedgeplanstatus:
  3592. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3593. type: integer
  3594. planqty:
  3595. description: 计划数量
  3596. type: number
  3597. plantime:
  3598. description: 计划时间
  3599. type: string
  3600. producttype:
  3601. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3602. type: integer
  3603. remark:
  3604. description: 备注
  3605. type: string
  3606. spotgoodsdesc:
  3607. description: 商品型号
  3608. type: string
  3609. unitid:
  3610. description: 单位id
  3611. type: integer
  3612. updatetime:
  3613. description: 更新时间
  3614. type: string
  3615. wrstandardid:
  3616. description: 现货商品ID
  3617. type: integer
  3618. wrstandardname:
  3619. description: 现货商品名称
  3620. type: string
  3621. type: object
  3622. models.ErmcpHedgePosition:
  3623. properties:
  3624. accountid:
  3625. description: 资金账号[外部母账户]
  3626. type: integer
  3627. curbuyposition:
  3628. description: 期末买头寸
  3629. type: integer
  3630. cursellposition:
  3631. description: 期末卖头寸
  3632. type: integer
  3633. curtdbuyposition:
  3634. description: 期末今日买头寸
  3635. type: integer
  3636. curtdsellposition:
  3637. description: 期末今日卖头寸
  3638. type: integer
  3639. curydbuyposition:
  3640. description: 期末上日买头寸
  3641. type: integer
  3642. curydsellposition:
  3643. description: 期末上日卖头寸
  3644. type: integer
  3645. decreaseqty:
  3646. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  3647. type: integer
  3648. fretdbuyposition:
  3649. description: 冻结今日买头寸
  3650. type: integer
  3651. fretdsellposition:
  3652. description: 冻结今日卖头寸
  3653. type: integer
  3654. freydbuyposition:
  3655. description: 冻结上日买头寸
  3656. type: integer
  3657. freydsellposition:
  3658. description: 冻结上日卖头寸
  3659. type: integer
  3660. goodscode:
  3661. description: 商品代码
  3662. type: string
  3663. goodsid:
  3664. description: 商品id
  3665. type: integer
  3666. goodsname:
  3667. description: 商品名称
  3668. type: string
  3669. hedgeaccountcode:
  3670. description: 对冲账号
  3671. type: string
  3672. hedgegoodsid:
  3673. description: 对冲合约ID
  3674. type: integer
  3675. increaseqty:
  3676. description: 增加数量 = 期末买头寸 - 期初买头寸
  3677. type: integer
  3678. marketid:
  3679. description: 市场ID
  3680. type: integer
  3681. relateduserid:
  3682. description: 关联用户id
  3683. type: integer
  3684. totalcurqty:
  3685. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  3686. type: integer
  3687. totalydqty:
  3688. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  3689. type: integer
  3690. tradedate:
  3691. description: 交易日(yyyyMMdd)
  3692. type: string
  3693. ydbuyposition:
  3694. description: 期初买头寸
  3695. type: integer
  3696. ydsellposition:
  3697. description: 期初卖头寸
  3698. type: integer
  3699. type: object
  3700. models.ErmcpHedgePositionDetail:
  3701. properties:
  3702. buyorsell:
  3703. description: 买卖方向 0-买 1-卖
  3704. type: integer
  3705. channelbuildtype:
  3706. description: 开平方向 1-建仓 2-平仓
  3707. type: integer
  3708. goodscode:
  3709. description: 商品代码
  3710. type: string
  3711. goodsname:
  3712. description: 商品名称
  3713. type: string
  3714. hedgegoodsid:
  3715. description: 商品id
  3716. type: integer
  3717. tradeqty:
  3718. description: 数量(成交数量)
  3719. type: integer
  3720. tradetime:
  3721. description: 时间(成交时间)
  3722. type: string
  3723. type: object
  3724. models.ErmcpHisExposure:
  3725. properties:
  3726. needhedgeexposoure:
  3727. description: 应套保敞口
  3728. type: number
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. totalexposure:
  3733. description: 总敞口
  3734. type: number
  3735. type: object
  3736. models.ErmcpHisExposureS:
  3737. properties:
  3738. data:
  3739. description: 历史敞口
  3740. items:
  3741. $ref: '#/definitions/models.ErmcpHisExposure'
  3742. type: array
  3743. enumdicname:
  3744. description: 单位名称
  3745. type: string
  3746. middlegoodscode:
  3747. description: 套保品种代码
  3748. type: string
  3749. middlegoodsid:
  3750. description: 套保品种ID
  3751. type: integer
  3752. middlegoodsname:
  3753. description: 套保品种名称
  3754. type: string
  3755. type: object
  3756. models.ErmcpMiddleGoodsChangeLog:
  3757. properties:
  3758. aftervalue:
  3759. description: 变更后
  3760. type: number
  3761. applyid:
  3762. description: 操作人
  3763. type: integer
  3764. applyname:
  3765. description: 操作人名称
  3766. type: string
  3767. applysrc:
  3768. description: 操作来源 - 1:管理端 2:终端
  3769. type: integer
  3770. beforevalue:
  3771. description: 变更前
  3772. type: number
  3773. changelogtype:
  3774. description: 变更流水类型 - 1:套保比率变更
  3775. type: integer
  3776. handlestatus:
  3777. description: 处理状态
  3778. type: integer
  3779. logdatetime:
  3780. description: 流水日期
  3781. type: string
  3782. logid:
  3783. description: 流水ID
  3784. type: integer
  3785. logremark:
  3786. description: 流水备注
  3787. type: string
  3788. middlegoodsid:
  3789. description: 套保品种ID
  3790. type: integer
  3791. tradedate:
  3792. description: 交易日(yyyyMMdd)
  3793. type: string
  3794. updatetime:
  3795. description: 更新时间
  3796. type: string
  3797. type: object
  3798. models.ErmcpMiddleGoodsDetail:
  3799. properties:
  3800. cvList:
  3801. description: 期货品种折算列表
  3802. items:
  3803. $ref: '#/definitions/models.GoodsGroupConvert'
  3804. type: array
  3805. mg:
  3806. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3807. description: 套保品种基本信息
  3808. type: object
  3809. type: object
  3810. models.ErmcpMiddleGoodsModel:
  3811. properties:
  3812. areauserid:
  3813. description: 机构用户ID
  3814. type: integer
  3815. createtime:
  3816. description: 修改时间
  3817. type: string
  3818. enumdicname:
  3819. description: 单位名称
  3820. type: string
  3821. evaluateratio:
  3822. description: 估价系数
  3823. type: number
  3824. goodsgroupid:
  3825. description: 关联期货品种ID
  3826. type: integer
  3827. isvalid:
  3828. description: 状态 0-无效(停用) 1-有效(正常)
  3829. type: integer
  3830. middlegoodscode:
  3831. description: 套保品种代码
  3832. type: string
  3833. middlegoodsid:
  3834. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3835. type: integer
  3836. middlegoodsname:
  3837. description: 套保品种名称
  3838. type: string
  3839. modifytime:
  3840. description: 修改时间
  3841. type: string
  3842. needhedgeratio:
  3843. description: 套保比率
  3844. type: number
  3845. qtydecimalplace:
  3846. description: 数量小数位
  3847. type: integer
  3848. relatedgoodsid:
  3849. description: 关联交易商品ID
  3850. type: integer
  3851. relatedgoodstype:
  3852. description: 关联商品类型 - 1:期货合约 2:现货品种
  3853. type: integer
  3854. remark:
  3855. description: 备注
  3856. type: string
  3857. type: object
  3858. models.ErmcpModel:
  3859. properties:
  3860. accountname:
  3861. description: 账户名称
  3862. type: string
  3863. attachment:
  3864. description: 附件
  3865. type: string
  3866. audittime:
  3867. description: 审核时间
  3868. type: string
  3869. brandname:
  3870. description: 品牌名称
  3871. type: string
  3872. contracctstatus:
  3873. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3874. type: integer
  3875. contractmargin:
  3876. description: 合同保证金
  3877. type: number
  3878. contractno:
  3879. description: 合同编号
  3880. type: string
  3881. contracttype:
  3882. description: 合同类型 1-采购, -1-销售
  3883. type: integer
  3884. convertfactor:
  3885. description: 标仓系数
  3886. type: number
  3887. createtime:
  3888. description: 创建时间
  3889. type: string
  3890. daikaiamount:
  3891. description: 待开票额
  3892. type: number
  3893. deliveryenddate:
  3894. description: 交割结束日
  3895. type: string
  3896. deliverygoodscode:
  3897. description: 现货品种代码
  3898. type: string
  3899. deliverygoodsid:
  3900. description: 现货商品ID
  3901. type: integer
  3902. deliverygoodsname:
  3903. description: 现货品种名称
  3904. type: string
  3905. deliverystartdate:
  3906. description: 交割开始日
  3907. type: string
  3908. enddate:
  3909. description: 点价结束日
  3910. type: string
  3911. enumdicname:
  3912. description: 单位名称
  3913. type: string
  3914. goodscode:
  3915. description: 点价商品代码
  3916. type: string
  3917. goodsid:
  3918. description: 点价商品ID
  3919. type: integer
  3920. goodsname:
  3921. description: 点价商品名称
  3922. type: string
  3923. invoiceamount:
  3924. description: 已开票额
  3925. type: number
  3926. loanamount:
  3927. description: 贷款总额=已定价额+调整金额
  3928. type: number
  3929. margin:
  3930. description: 保证金
  3931. type: number
  3932. modelname:
  3933. description: 型号名称
  3934. type: string
  3935. payamount:
  3936. description: 已收付额(收款或付款)
  3937. type: number
  3938. price:
  3939. description: 价格
  3940. type: number
  3941. pricedamount:
  3942. description: 已定价额
  3943. type: number
  3944. pricedavg:
  3945. description: 已点均价
  3946. type: number
  3947. pricedqty:
  3948. description: 已定价量
  3949. type: number
  3950. pricemove:
  3951. description: 升贴水
  3952. type: number
  3953. pricetype:
  3954. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3955. type: integer
  3956. producttype:
  3957. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3958. type: integer
  3959. qty:
  3960. description: 合同量
  3961. type: number
  3962. reckonadjustamount:
  3963. description: 调整金额
  3964. type: number
  3965. reckonedamount:
  3966. description: 已收付额(已确定额)
  3967. type: number
  3968. reckonotheramount:
  3969. description: 其它费用
  3970. type: number
  3971. reckonrealqty:
  3972. description: 已确定量
  3973. type: number
  3974. remark:
  3975. description: 备注
  3976. type: string
  3977. spotcontractid:
  3978. description: 合同ID
  3979. type: string
  3980. spotgoodsbrandid:
  3981. description: 现货品牌ID
  3982. type: integer
  3983. spotgoodsdesc:
  3984. description: 商品型号(商品规格)
  3985. type: string
  3986. spotgoodsmodelid:
  3987. description: 现货型号ID
  3988. type: integer
  3989. startdate:
  3990. description: 点价开始日
  3991. type: string
  3992. totalamount:
  3993. description: 合计总额
  3994. type: number
  3995. unpayamount:
  3996. description: 待支收额(支付或收款)
  3997. type: number
  3998. unpricedqty:
  3999. description: 未定价量
  4000. type: number
  4001. unsureqty:
  4002. description: 未确定量
  4003. type: number
  4004. userid:
  4005. description: 用户ID
  4006. type: integer
  4007. wrstandardcode:
  4008. description: 现货商品代码
  4009. type: string
  4010. wrstandardid:
  4011. description: 现货商品ID
  4012. type: integer
  4013. wrstandardname:
  4014. description: 现货商品名称
  4015. type: string
  4016. type: object
  4017. models.ErmcpOPLogModel:
  4018. properties:
  4019. aftervalue:
  4020. description: 变更后
  4021. type: number
  4022. applyid:
  4023. description: 操作人ID
  4024. type: string
  4025. applyname:
  4026. description: 操作人名称
  4027. type: string
  4028. beforevalue:
  4029. description: 变更前
  4030. type: number
  4031. biztype:
  4032. description: 业务类型 - 1:套保计划 2:现货合同
  4033. type: integer
  4034. contracttype:
  4035. description: 现货合同类型 - 1:采购 -1:销售
  4036. type: integer
  4037. logvalue:
  4038. description: 数值
  4039. type: number
  4040. operatelogtype:
  4041. description: 操作流水类型
  4042. type: integer
  4043. operatelogtypedesc:
  4044. description: 操作流水类型名称
  4045. type: string
  4046. relatedid:
  4047. description: 现货合同ID\套保计划
  4048. type: string
  4049. updatetime:
  4050. description: 更新时间
  4051. type: string
  4052. type: object
  4053. models.ErmcpPendingAudit:
  4054. properties:
  4055. areastockqty:
  4056. description: '待审核数量: 库存申请'
  4057. type: integer
  4058. businessdjqty:
  4059. description: '待审核数量: 点价'
  4060. type: integer
  4061. businessfpqty:
  4062. description: '待审核数量: 发票'
  4063. type: integer
  4064. businessjsqty:
  4065. description: '待审核数量: 结算'
  4066. type: integer
  4067. businesskxqty:
  4068. description: '待审核数量: 款项'
  4069. type: integer
  4070. hedgeplanqty:
  4071. description: '待审核数量: 套保计划'
  4072. type: integer
  4073. spotcontractqty:
  4074. description: '待审核数量: 现货合同'
  4075. type: integer
  4076. userqty:
  4077. description: '待审核数量: 用户'
  4078. type: integer
  4079. type: object
  4080. models.ErmcpRealExposureModel:
  4081. properties:
  4082. AreaUserID:
  4083. description: 所属机构
  4084. type: integer
  4085. BuyFutureQty:
  4086. description: 买入期货数量
  4087. type: number
  4088. BuyPlanQty:
  4089. description: 采购计划数量
  4090. type: number
  4091. BuyPricedQty:
  4092. description: 采购合同已定价数量
  4093. type: number
  4094. MiddleGoodsCode:
  4095. description: 套保品种代码
  4096. type: string
  4097. MiddleGoodsHedgeRatio:
  4098. description: 应套保比例
  4099. type: number
  4100. MiddleGoodsID:
  4101. description: 套保品种
  4102. type: integer
  4103. MiddleGoodsName:
  4104. description: 套保品种名称
  4105. type: string
  4106. NeedHedgeExposoure:
  4107. description: 应套保敞口
  4108. type: number
  4109. NeedHedgeRatio:
  4110. description: 应套保敞口比例
  4111. type: number
  4112. OriBuyFutureQty:
  4113. description: 期初买入期货数量
  4114. type: number
  4115. OriBuyPlanQty:
  4116. description: 期初采购计划数量
  4117. type: number
  4118. OriBuyPricedQty:
  4119. description: 期初采购合同已定价数量
  4120. type: number
  4121. OriSellFutureQty:
  4122. description: 期初卖出期货数量
  4123. type: number
  4124. OriSellPlanQty:
  4125. description: 期初销售计划数量
  4126. type: number
  4127. OriSellPricedQty:
  4128. description: 期初销售合同已定价数量
  4129. type: number
  4130. SellFutureQty:
  4131. description: 卖出期货数量
  4132. type: number
  4133. SellPlanQty:
  4134. description: 销售计划数量
  4135. type: number
  4136. SellPricedQty:
  4137. description: 销售合同已定价数量
  4138. type: number
  4139. TotalExposure:
  4140. description: 总敞口
  4141. type: number
  4142. TotalFutureQty:
  4143. description: 期货数量
  4144. type: number
  4145. TotalHedgeRatio:
  4146. description: 敞口比例
  4147. type: number
  4148. TotalNeedHedgeQty:
  4149. description: 期货应套保量
  4150. type: number
  4151. TotalSpotQty:
  4152. description: 现货数量
  4153. type: number
  4154. diffFutuQty:
  4155. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4156. type: number
  4157. diffSpotQty:
  4158. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4159. type: number
  4160. enumdicname:
  4161. description: 单位名称
  4162. type: string
  4163. oriTotalFutuQty:
  4164. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4165. type: number
  4166. oriTotalSpotQty:
  4167. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4168. type: number
  4169. type: object
  4170. models.ErmcpReportDayExposure:
  4171. properties:
  4172. areauserid:
  4173. description: 所属机构
  4174. type: integer
  4175. buyfutureqty:
  4176. description: 买入期货数量
  4177. type: number
  4178. buyplanqty:
  4179. description: 采购计划数量
  4180. type: number
  4181. buypricedqty:
  4182. description: 采购合同已定价数量
  4183. type: number
  4184. diffFutuQty:
  4185. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4186. type: number
  4187. diffSpotQty:
  4188. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4189. type: number
  4190. enumdicname:
  4191. description: 单位名称
  4192. type: string
  4193. middlegoodscode:
  4194. description: 套保品种代码
  4195. type: string
  4196. middlegoodshedgeratio:
  4197. description: 应套保比例
  4198. type: number
  4199. middlegoodsid:
  4200. description: 套保品种ID
  4201. type: integer
  4202. middlegoodsname:
  4203. description: 套保品种名称
  4204. type: string
  4205. needhedgeexposoure:
  4206. description: 应套保敞口
  4207. type: number
  4208. needhedgeratio:
  4209. description: 应套保敞口比例
  4210. type: number
  4211. oriTotalFutuQty:
  4212. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4213. type: number
  4214. oriTotalSpotQty:
  4215. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4216. type: number
  4217. oribuyfutureqty:
  4218. description: 期初买入期货数量
  4219. type: number
  4220. oribuyplanqty:
  4221. description: 期初采购计划数量
  4222. type: number
  4223. oribuypricedqty:
  4224. description: 期初采购合同已定价数量
  4225. type: number
  4226. orisellfutureqty:
  4227. description: 期初卖出期货数量
  4228. type: number
  4229. orisellplanqty:
  4230. description: 期初销售计划数量
  4231. type: number
  4232. orisellpricedqty:
  4233. description: 期初销售合同已定价数量
  4234. type: number
  4235. reckondate:
  4236. description: 日照时期(yyyyMMdd)
  4237. type: string
  4238. sellfutureqty:
  4239. description: 卖出期货数量
  4240. type: number
  4241. sellplanqty:
  4242. description: 销售计划数量
  4243. type: number
  4244. sellpricedqty:
  4245. description: 销售合同已定价数量
  4246. type: number
  4247. totalexposure:
  4248. description: 总敞口
  4249. type: number
  4250. totalfutureqty:
  4251. description: 期货数量
  4252. type: number
  4253. totalhedgeratio:
  4254. description: 敞口比例
  4255. type: number
  4256. totalneedhedgeqty:
  4257. description: 期货应套保量
  4258. type: number
  4259. totalspotqty:
  4260. description: 现货数量
  4261. type: number
  4262. type: object
  4263. models.ErmcpReportDayFR:
  4264. properties:
  4265. areauserid:
  4266. description: 所属机构
  4267. type: integer
  4268. collectinvoiceamount:
  4269. description: 今日开票金额
  4270. type: number
  4271. collectinvoicecount:
  4272. description: 今日开票笔数
  4273. type: integer
  4274. collectmoneyamount:
  4275. description: 今日收款金额
  4276. type: number
  4277. collectmoneycount:
  4278. description: 今日收款笔数
  4279. type: integer
  4280. payinvoiceamount:
  4281. description: 今日收票金额
  4282. type: number
  4283. payinvoicecount:
  4284. description: 今日收票笔数
  4285. type: integer
  4286. paymoneyamount:
  4287. description: 今日付款金额
  4288. type: number
  4289. paymoneycount:
  4290. description: 今日付款笔数
  4291. type: integer
  4292. reckondate:
  4293. description: 日照时期(yyyyMMdd)
  4294. type: string
  4295. updatetime:
  4296. description: 更新时间
  4297. type: string
  4298. type: object
  4299. models.ErmcpReportDaySpot:
  4300. properties:
  4301. areauserid:
  4302. description: 所属机构T
  4303. type: integer
  4304. buyinqty:
  4305. description: 采购入库量
  4306. type: number
  4307. enumdicname:
  4308. description: 现货商品单位名称
  4309. type: string
  4310. reckondate:
  4311. description: 日照时期(yyyyMMdd)
  4312. type: string
  4313. selloutqty:
  4314. description: 销售出库量
  4315. type: number
  4316. todaybuyreckonqty:
  4317. description: 采购确定量
  4318. type: number
  4319. todaysellreckonqty:
  4320. description: 销售确定量
  4321. type: number
  4322. totalbuypricedqty:
  4323. description: 采购定价量 = 期末 - 期初
  4324. type: number
  4325. totalsellpricedqty:
  4326. description: 销售定价量 = 期末 - 期初
  4327. type: number
  4328. wrstandardcode:
  4329. description: 现货商品代码
  4330. type: string
  4331. wrstandardid:
  4332. description: 现货商品ID
  4333. type: integer
  4334. wrstandardname:
  4335. description: 现货商品名称
  4336. type: string
  4337. type: object
  4338. models.ErmcpReportMonSpot:
  4339. properties:
  4340. areauserid:
  4341. description: 所属机构T
  4342. type: integer
  4343. buyinqty:
  4344. description: 采购入库量
  4345. type: number
  4346. cycletime:
  4347. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4348. type: string
  4349. cycletype:
  4350. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4351. type: integer
  4352. enumdicname:
  4353. description: 现货商品单位名称
  4354. type: string
  4355. selloutqty:
  4356. description: 销售出库量
  4357. type: number
  4358. todaybuyreckonqty:
  4359. description: 采购确定量
  4360. type: number
  4361. todaysellreckonqty:
  4362. description: 销售确定量
  4363. type: number
  4364. totalbuypricedqty:
  4365. description: 采购定价量 = 期末 - 期初
  4366. type: number
  4367. totalsellpricedqty:
  4368. description: 销售定价量 = 期末 - 期初
  4369. type: number
  4370. wrstandardcode:
  4371. description: 现货商品代码
  4372. type: string
  4373. wrstandardid:
  4374. description: 现货商品ID
  4375. type: integer
  4376. wrstandardname:
  4377. description: 现货商品名称
  4378. type: string
  4379. type: object
  4380. models.ErmcpReportMonthFR:
  4381. properties:
  4382. areauserid:
  4383. description: 所属机构【原值】
  4384. type: integer
  4385. collectinvoiceamount:
  4386. description: 今日开票金额【汇总】
  4387. type: number
  4388. collectinvoicecount:
  4389. description: 今日开票笔数【汇总】
  4390. type: integer
  4391. collectmoneyamount:
  4392. description: 今日收款金额【汇总】
  4393. type: number
  4394. collectmoneycount:
  4395. description: 今日收款笔数 【汇总】
  4396. type: integer
  4397. cycletime:
  4398. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4399. type: string
  4400. cycletype:
  4401. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4402. type: integer
  4403. dayFr:
  4404. description: 日报表明细
  4405. items:
  4406. $ref: '#/definitions/models.ErmcpReportDayFR'
  4407. type: array
  4408. payinvoiceamount:
  4409. description: 今日收票金额【汇总】
  4410. type: number
  4411. payinvoicecount:
  4412. description: 今日收票笔数【汇总】
  4413. type: integer
  4414. paymoneyamount:
  4415. description: 今日付款金额【汇总】
  4416. type: number
  4417. paymoneycount:
  4418. description: 今日付款笔数【汇总】
  4419. type: integer
  4420. updatetime:
  4421. description: 更新时间
  4422. type: string
  4423. type: object
  4424. models.ErmcpReportOPLog:
  4425. properties:
  4426. applyid:
  4427. description: 操作人
  4428. type: integer
  4429. applyname:
  4430. description: 操作人名称
  4431. type: string
  4432. biztype:
  4433. description: 业务类型 - 1:套保计划 2:现货合同
  4434. type: integer
  4435. brandname:
  4436. description: 品牌名称
  4437. type: string
  4438. contracttype:
  4439. description: 现货合同类型 - 1:采购 -1:销售
  4440. type: integer
  4441. enumdicName:
  4442. description: 单位名称
  4443. type: string
  4444. logdatetime:
  4445. description: 流水日期(时间)
  4446. type: string
  4447. logid:
  4448. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4449. type: string
  4450. logtypename:
  4451. description: 合同类型(名称)
  4452. type: string
  4453. logvalue:
  4454. description: 数值
  4455. type: string
  4456. modelname:
  4457. description: 型号名称
  4458. type: string
  4459. operatelogtype:
  4460. description: 操作流水类型 -
  4461. type: integer
  4462. optypename:
  4463. description: 流水类型名称
  4464. type: string
  4465. relatedid:
  4466. description: 现货合同ID\套保计划
  4467. type: string
  4468. relatedno:
  4469. description: 合同编号
  4470. type: string
  4471. tradedate:
  4472. description: 交易日(yyyyMMdd)
  4473. type: string
  4474. userid:
  4475. description: 机构ID
  4476. type: integer
  4477. wrstandardcode:
  4478. description: 现货商品代码
  4479. type: string
  4480. wrstandardid:
  4481. description: 现货商品ID
  4482. type: integer
  4483. wrstandardname:
  4484. description: 现货商品名称
  4485. type: string
  4486. type: object
  4487. models.ErmcpSpotContractModel:
  4488. properties:
  4489. amount:
  4490. description: 金额 [1:一口价、3:暂定价]
  4491. type: number
  4492. attachment:
  4493. description: 附件
  4494. type: string
  4495. auditremark:
  4496. description: 审核意见
  4497. type: string
  4498. audittime:
  4499. description: 审核时间
  4500. type: string
  4501. brandname:
  4502. description: 品牌名称
  4503. type: string
  4504. buyuserid:
  4505. description: 采购方ID
  4506. type: integer
  4507. buyusername:
  4508. description: 采购方名称
  4509. type: string
  4510. contracctstatus:
  4511. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4512. type: integer
  4513. contractmargin:
  4514. description: 合同保证金
  4515. type: number
  4516. contractno:
  4517. description: 现货合同编号
  4518. type: string
  4519. contracttype:
  4520. description: 现货合同类型 - 1:采购 -1:销售
  4521. type: integer
  4522. convertfactor:
  4523. description: 标仓系数
  4524. type: number
  4525. createtime:
  4526. description: 创建时间
  4527. type: string
  4528. deliveryenddate:
  4529. description: 交收期(结束)
  4530. type: string
  4531. deliverygoodscode:
  4532. description: 现货品种代码
  4533. type: string
  4534. deliverygoodsid:
  4535. description: 现货品种ID
  4536. type: integer
  4537. deliverygoodsname:
  4538. description: 现货品种名称
  4539. type: string
  4540. deliverystartdate:
  4541. description: 交收期(开始)
  4542. type: string
  4543. enddate:
  4544. description: 点价结束日期 [2:点价 3:暂定价]
  4545. type: string
  4546. enumdicname:
  4547. description: 单位名称
  4548. type: string
  4549. goodscode:
  4550. description: 点价合约代码
  4551. type: string
  4552. goodsid:
  4553. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4554. type: integer
  4555. goodsname:
  4556. description: 点价商品名称
  4557. type: string
  4558. margin:
  4559. description: 当前保证金
  4560. type: number
  4561. modelname:
  4562. description: 型号名称
  4563. type: string
  4564. price:
  4565. description: 价格\暂定价 [1:一口价、3:暂定价]
  4566. type: number
  4567. pricemove:
  4568. description: 升贴水 [2:点价 3:暂定价]
  4569. type: number
  4570. pricetype:
  4571. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4572. type: integer
  4573. producttype:
  4574. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4575. type: integer
  4576. qty:
  4577. description: 数量
  4578. type: number
  4579. remark:
  4580. description: 备注
  4581. type: string
  4582. selluserid:
  4583. description: 销售方ID
  4584. type: integer
  4585. sellusername:
  4586. description: 销售方名称
  4587. type: string
  4588. spotcontractid:
  4589. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4590. type: string
  4591. spotgoodsbrandid:
  4592. description: 现货品牌ID
  4593. type: integer
  4594. spotgoodsdesc:
  4595. description: 商品型号
  4596. type: string
  4597. spotgoodsmodelid:
  4598. description: 现货型号ID
  4599. type: integer
  4600. startdate:
  4601. description: 点价开始日期 [2:点价 3:暂定价]
  4602. type: string
  4603. updatetime:
  4604. description: 更新时间
  4605. type: string
  4606. userid:
  4607. description: 机构ID
  4608. type: integer
  4609. wrstandardcode:
  4610. description: 现货商品代码
  4611. type: string
  4612. wrstandardid:
  4613. description: 现货商品ID
  4614. type: integer
  4615. wrstandardname:
  4616. description: 现货商品名称
  4617. type: string
  4618. type: object
  4619. models.ErmcpUserModel:
  4620. properties:
  4621. address:
  4622. description: 通讯地址
  4623. type: string
  4624. attachment1:
  4625. description: 附件1
  4626. type: string
  4627. audittime:
  4628. description: 审核时间
  4629. type: string
  4630. cardfrontphotourl:
  4631. description: 证件正面图片地址
  4632. type: string
  4633. cardnum:
  4634. description: 证件号码
  4635. type: string
  4636. cardtype:
  4637. description: 证件类型
  4638. type: integer
  4639. cardtypename:
  4640. description: 证件类型名称
  4641. type: string
  4642. cityid:
  4643. description: 市
  4644. type: integer
  4645. countryid:
  4646. description: 国家
  4647. type: integer
  4648. createtime:
  4649. description: 创建时间
  4650. type: string
  4651. customername:
  4652. description: 企业名称
  4653. type: string
  4654. districtid:
  4655. description: 区域
  4656. type: integer
  4657. memberuserid:
  4658. description: 所属机构ID
  4659. type: integer
  4660. mobile:
  4661. description: 手机号码
  4662. type: string
  4663. modifytime:
  4664. description: 修改时间
  4665. type: string
  4666. provinceid:
  4667. description: 省
  4668. type: integer
  4669. remark:
  4670. description: 备注
  4671. type: string
  4672. status:
  4673. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4674. type: integer
  4675. statusdesc:
  4676. description: 账户状态中文描述
  4677. type: string
  4678. telphone:
  4679. description: 联系电话
  4680. type: string
  4681. userid:
  4682. description: 用户ID
  4683. type: integer
  4684. userinfotype:
  4685. description: 客户类型
  4686. type: string
  4687. type: object
  4688. models.ErmcpWareHouseInfo:
  4689. properties:
  4690. address:
  4691. description: 详细地址
  4692. type: string
  4693. areauserid:
  4694. description: 所属机构
  4695. type: integer
  4696. autoid:
  4697. description: 自增ID(仓库ID)
  4698. type: integer
  4699. cityid:
  4700. description: 市
  4701. type: integer
  4702. contactname:
  4703. description: 联系人
  4704. type: string
  4705. contactnum:
  4706. description: 联系电话
  4707. type: string
  4708. countryid:
  4709. description: 国家
  4710. type: integer
  4711. createtime:
  4712. description: 创建时间
  4713. type: string
  4714. districtid:
  4715. description: 区
  4716. type: integer
  4717. hasvideo:
  4718. description: 是否有视频 - 0:无 1:有
  4719. type: integer
  4720. provinceid:
  4721. description: 省
  4722. type: integer
  4723. remark:
  4724. description: 审核备注
  4725. type: string
  4726. videourl:
  4727. description: 视频地址
  4728. type: string
  4729. warehousecode:
  4730. description: 仓库代码
  4731. type: string
  4732. warehousename:
  4733. description: 仓库名称
  4734. type: string
  4735. warehousestatus:
  4736. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4737. type: integer
  4738. warehousetype:
  4739. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4740. type: integer
  4741. type: object
  4742. models.ErmcpWrstandDetail:
  4743. properties:
  4744. gbList:
  4745. description: 品牌列表
  4746. items:
  4747. $ref: '#/definitions/models.GoodsBrand'
  4748. type: array
  4749. goodsList:
  4750. description: 关联交易商品列表
  4751. items:
  4752. $ref: '#/definitions/models.RelatedGoodsEx'
  4753. type: array
  4754. gtList:
  4755. description: 型号列表
  4756. items:
  4757. $ref: '#/definitions/models.GoodsTypeModel'
  4758. type: array
  4759. wrd:
  4760. $ref: '#/definitions/models.ErmcpWrstandard'
  4761. description: 基本信息
  4762. type: object
  4763. wrsList:
  4764. description: 套保信息列表
  4765. items:
  4766. $ref: '#/definitions/models.WRSConverTDetail'
  4767. type: array
  4768. type: object
  4769. models.ErmcpWrstandard:
  4770. properties:
  4771. areauserid:
  4772. description: 所属机构
  4773. type: integer
  4774. createtime:
  4775. description: 创建时间
  4776. type: string
  4777. creatorid:
  4778. description: 创建人
  4779. type: integer
  4780. deliverygoodsid:
  4781. description: 品种ID
  4782. type: integer
  4783. enumdicname:
  4784. description: 单位名称
  4785. type: string
  4786. isvalid:
  4787. description: 是否有效 0-无效(停用) 1-有效(正常)
  4788. type: integer
  4789. minivalue:
  4790. description: 最小变动值
  4791. type: integer
  4792. minivaluedp:
  4793. description: 最小变动值小数位
  4794. type: integer
  4795. realminivalue:
  4796. description: 实际最小变动值
  4797. type: integer
  4798. realminivaluedp:
  4799. description: 实际最小变动值小数位
  4800. type: integer
  4801. remark:
  4802. description: 备注
  4803. type: string
  4804. unitid:
  4805. description: 单位ID
  4806. type: integer
  4807. updatetime:
  4808. description: 更新时间
  4809. type: string
  4810. wrstandardcode:
  4811. description: 现货商品代码
  4812. type: string
  4813. wrstandardid:
  4814. description: 现货商品ID(SEQ_WRSTANDARD)
  4815. type: integer
  4816. wrstandardname:
  4817. description: 现货商品名称
  4818. type: string
  4819. type: object
  4820. models.Externalexchange:
  4821. properties:
  4822. autoid:
  4823. description: AutoID - SEQ_EXTERNALEXCHANGE
  4824. type: integer
  4825. exchangefullname:
  4826. description: 外部交易所全称
  4827. type: string
  4828. exexchangecode:
  4829. description: 外部交易所代码
  4830. type: string
  4831. exexchangename:
  4832. description: 外部交易所名称(简称)
  4833. type: string
  4834. ismarketprice:
  4835. description: 是否支持市价 - 0:不支持 1:支持
  4836. type: integer
  4837. quotegear:
  4838. description: 行情档位(1-10)
  4839. type: integer
  4840. showbrokerflag:
  4841. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  4842. type: integer
  4843. updatetime:
  4844. description: 更新时间
  4845. type: string
  4846. required:
  4847. - autoid
  4848. type: object
  4849. models.Funcmenulist:
  4850. properties:
  4851. iconame:
  4852. description: 菜单图标
  4853. type: string
  4854. menutype:
  4855. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  4856. type: integer
  4857. parentcode:
  4858. description: 上级资源代码
  4859. type: string
  4860. remark:
  4861. description: 备注
  4862. type: string
  4863. resourcecode:
  4864. description: 资源代码
  4865. type: string
  4866. resourcelevel:
  4867. description: 级别 1-一级 2-二级 3-三级 4-四级
  4868. type: integer
  4869. resourcename:
  4870. description: 资源名
  4871. type: string
  4872. sort:
  4873. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  4874. type: integer
  4875. url:
  4876. description: URL
  4877. type: string
  4878. required:
  4879. - resourcecode
  4880. type: object
  4881. models.Goods:
  4882. properties:
  4883. agreeunit:
  4884. description: 合约单位
  4885. type: number
  4886. auditaccountid:
  4887. description: 审核操作员账号
  4888. type: integer
  4889. audittime:
  4890. description: 审核时间
  4891. type: string
  4892. cancelaccountid:
  4893. description: 注销操作员账号
  4894. type: integer
  4895. canceltime:
  4896. description: 注销时间
  4897. type: string
  4898. closepricemode:
  4899. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4900. type: integer
  4901. closepriceparam:
  4902. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4903. type: number
  4904. createtime:
  4905. description: 创建时间
  4906. type: string
  4907. creatorid:
  4908. description: 创建人
  4909. type: integer
  4910. currencyid:
  4911. description: 报价货币ID
  4912. type: integer
  4913. cutmode:
  4914. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4915. type: integer
  4916. decimalplace:
  4917. description: 报价小数位
  4918. type: integer
  4919. delistingdate:
  4920. description: 商品退市时间(状态:退市) -- 已作废
  4921. type: string
  4922. delistingmode:
  4923. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4924. type: integer
  4925. deliveryflag:
  4926. description: 交割标志 - 0:不可交割 1:可交割
  4927. type: integer
  4928. forceclosemode:
  4929. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4930. type: integer
  4931. forceclosevalue:
  4932. description: 定期强平参数 [收益权]
  4933. type: integer
  4934. goodscode:
  4935. description: 商品代码(内部)
  4936. type: string
  4937. goodscurrencyid:
  4938. description: 合约货币ID
  4939. type: integer
  4940. goodsgroupid:
  4941. description: 所属商品组ID
  4942. type: integer
  4943. goodsid:
  4944. description: 商品ID(自增ID SEQ_GOODS)
  4945. type: integer
  4946. goodsname:
  4947. description: 商品名称
  4948. type: string
  4949. goodsquotetype:
  4950. description: '合约报价类型: 1-直接报价 2-间接报价'
  4951. type: integer
  4952. goodsstatus:
  4953. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4954. type: integer
  4955. goodstradetype:
  4956. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4957. type: integer
  4958. goodunitid:
  4959. description: 报价单位ID
  4960. type: integer
  4961. hasquoter:
  4962. description: 是否有报价商 - 0:无报价商 1:有报价商
  4963. type: integer
  4964. hqprotecttime:
  4965. description: 行情保护时间(秒)
  4966. type: integer
  4967. innerdealmode:
  4968. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4969. type: integer
  4970. isbuylimited:
  4971. description: 是否限制建仓量 - 0:不限制 1:限制
  4972. type: integer
  4973. lasttradedate:
  4974. description: 最后交易日期(状态:待退市)
  4975. type: string
  4976. listingdate:
  4977. description: 交易开始日期
  4978. type: string
  4979. marketid:
  4980. description: 所属市场ID
  4981. type: integer
  4982. modifierid:
  4983. description: 修改人
  4984. type: integer
  4985. modifystatus:
  4986. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4987. type: integer
  4988. modifytime:
  4989. description: 修改时间
  4990. type: string
  4991. outerdealmode:
  4992. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4993. type: integer
  4994. outgoodscode:
  4995. description: 商品代码(外部)
  4996. type: string
  4997. qtydecimalplace:
  4998. description: 成交量小数位
  4999. type: integer
  5000. quotegear:
  5001. description: 行情档位(1-10)
  5002. type: integer
  5003. quoteminunit:
  5004. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5005. type: integer
  5006. quoteshowtype:
  5007. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5008. type: integer
  5009. quoteshowtypeinterval:
  5010. description: 行情报价间隔时间(秒)(成交价时为0)
  5011. type: integer
  5012. remark:
  5013. description: 备注
  5014. type: string
  5015. required:
  5016. - goodscode
  5017. - goodsid
  5018. - goodsname
  5019. - marketid
  5020. type: object
  5021. models.GoodsBrand:
  5022. properties:
  5023. brandid:
  5024. description: 品牌ID
  5025. type: integer
  5026. brandname:
  5027. description: 品牌名称
  5028. type: string
  5029. isvalid:
  5030. description: 是否有效 - 0:无效 1:有效
  5031. type: integer
  5032. type: object
  5033. models.GoodsGroupConvert:
  5034. properties:
  5035. convertratio:
  5036. description: 折算系数
  5037. type: number
  5038. dstgoodsgroupid:
  5039. description: 目标期货品种ID
  5040. type: integer
  5041. goodsgroupname:
  5042. description: 期货品种名称
  5043. type: string
  5044. outergroupcode:
  5045. description: 期货品种代码
  5046. type: string
  5047. srcgoodsgroupid:
  5048. description: 源期货品种ID
  5049. type: integer
  5050. type: object
  5051. models.GoodsIDAndName:
  5052. properties:
  5053. goodscode:
  5054. description: 商品代码(内部)
  5055. type: string
  5056. goodsid:
  5057. description: 商品ID(自增ID SEQ_GOODS)
  5058. type: integer
  5059. goodsname:
  5060. description: 商品名称
  5061. type: string
  5062. marketid:
  5063. description: 所属市场ID
  5064. type: integer
  5065. required:
  5066. - goodscode
  5067. - goodsid
  5068. - goodsname
  5069. - marketid
  5070. type: object
  5071. models.GoodsTypeModel:
  5072. properties:
  5073. convertfactor:
  5074. description: 标仓系数
  5075. type: number
  5076. modelid:
  5077. description: 型号ID
  5078. type: integer
  5079. modelname:
  5080. description: 型号名称
  5081. type: string
  5082. updatetime:
  5083. description: 更新时间
  5084. type: string
  5085. type: object
  5086. models.Goodsgroup:
  5087. properties:
  5088. agreeunit:
  5089. description: 合约单位
  5090. type: number
  5091. canshort:
  5092. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5093. type: integer
  5094. closepricemode:
  5095. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5096. type: integer
  5097. closepriceparam:
  5098. description: 强平最新价浮动比例 - 方式为2时使用
  5099. type: number
  5100. createtime:
  5101. description: 创建时间
  5102. type: string
  5103. creatorid:
  5104. description: 创建人
  5105. type: integer
  5106. currencyid:
  5107. description: 报价货币ID
  5108. type: integer
  5109. decimalplace:
  5110. description: 报价小数位
  5111. type: integer
  5112. exercisetype:
  5113. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5114. type: integer
  5115. exexchangeid:
  5116. description: 外部交易所ID[通道交易]
  5117. type: integer
  5118. goodsgroupid:
  5119. description: 商品组ID(自增ID)
  5120. type: integer
  5121. goodsgroupname:
  5122. description: 商品组名称
  5123. type: string
  5124. goodsgroupstatus:
  5125. description: 商品组状态 - 1:正常 2:注销
  5126. type: integer
  5127. goodunitid:
  5128. description: 报价单位ID
  5129. type: integer
  5130. innerdealmode:
  5131. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5132. type: integer
  5133. isbuylimited:
  5134. description: 是否限制建仓量 - 0:不限制 1:限制
  5135. type: integer
  5136. marketid:
  5137. description: 所属市场ID
  5138. type: integer
  5139. modifierid:
  5140. description: 修改人
  5141. type: integer
  5142. modifytime:
  5143. description: 修改时间
  5144. type: string
  5145. outerdealmode:
  5146. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5147. type: integer
  5148. outergroupcode:
  5149. description: 外部商品组代码[通道交易]
  5150. type: string
  5151. premiumdecimalplace:
  5152. description: 权利金小数位[场外期权]
  5153. type: integer
  5154. premiumspreadalgorithm:
  5155. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5156. type: integer
  5157. premiumspreadvalue:
  5158. description: 权利金点差值[场外期权]
  5159. type: number
  5160. qtydecimalplace:
  5161. description: 成交量小数位
  5162. type: integer
  5163. quotegear:
  5164. description: 行情档位(1-10)
  5165. type: integer
  5166. quoteminunit:
  5167. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5168. type: integer
  5169. quoterid:
  5170. description: 报价商ID[场外期权]
  5171. type: integer
  5172. quotesourcegroupid:
  5173. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5174. type: integer
  5175. syncgoodsqty:
  5176. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5177. type: integer
  5178. required:
  5179. - goodsgroupid
  5180. - goodsgroupname
  5181. - goodsgroupstatus
  5182. - marketid
  5183. type: object
  5184. models.Goodssortbypreposition:
  5185. properties:
  5186. goodscode:
  5187. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  5188. type: string
  5189. goodsgroupcode:
  5190. description: 品种代码
  5191. type: string
  5192. prepositionqty:
  5193. description: 昨持仓量
  5194. type: integer
  5195. sortindex:
  5196. description: 排序
  5197. type: integer
  5198. tradedate:
  5199. description: 交易日
  5200. type: string
  5201. updatetime:
  5202. description: 更新时间
  5203. type: string
  5204. required:
  5205. - goodscode
  5206. - tradedate
  5207. type: object
  5208. models.HsbyBuyMyPayOrder:
  5209. properties:
  5210. agreeunit:
  5211. description: 合约单位
  5212. type: number
  5213. buyaccountid:
  5214. description: 买方账号ID[报价币种]
  5215. type: integer
  5216. buyorderid:
  5217. description: 买方委托单号
  5218. type: string
  5219. createtime:
  5220. description: 创建时间
  5221. type: string
  5222. currencysign:
  5223. description: 货币符号
  5224. type: string
  5225. decimalplace:
  5226. description: 报价小数位
  5227. type: integer
  5228. goodscode:
  5229. description: 商品代码(内部)
  5230. type: string
  5231. goodsid:
  5232. description: 商品ID
  5233. type: integer
  5234. goodsname:
  5235. description: 商品名称
  5236. type: string
  5237. marketid:
  5238. description: 市场ID
  5239. type: integer
  5240. offamount:
  5241. description: 优惠金额
  5242. type: number
  5243. originalamount:
  5244. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  5245. type: number
  5246. payamount:
  5247. description: 支付金额 = TradeAmount + TradeCharge
  5248. type: number
  5249. payflag:
  5250. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5251. type: integer
  5252. paylimitedtime:
  5253. description: 支付期限
  5254. type: string
  5255. paytime:
  5256. description: 付款时间
  5257. type: string
  5258. picurls1:
  5259. description: 预售商品介绍图片[多张用逗号分隔]
  5260. type: string
  5261. picurls2:
  5262. description: 挂牌商品介绍图片[多张用逗号分隔]
  5263. type: string
  5264. sellaccountid:
  5265. description: 卖方账号ID[报价币种]
  5266. type: integer
  5267. sellorderid:
  5268. description: 卖方委托单号
  5269. type: string
  5270. tradeamount:
  5271. description: 成交金额
  5272. type: number
  5273. tradecharge:
  5274. description: 成交手续费(买方)
  5275. type: number
  5276. tradedate:
  5277. description: 交易日(yyyyMMdd)
  5278. type: string
  5279. tradeid:
  5280. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5281. type: string
  5282. trademode:
  5283. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5284. 21:竞拍-大宗式 22:受托竞价
  5285. type: integer
  5286. tradeprice:
  5287. description: 成交价格
  5288. type: number
  5289. tradeqty:
  5290. description: 成交数量
  5291. type: integer
  5292. vendorname1:
  5293. description: 预售商品供应商名称
  5294. type: string
  5295. vendorname2:
  5296. description: 挂牌商品供应商名称
  5297. type: string
  5298. required:
  5299. - goodscode
  5300. - goodsname
  5301. - tradeid
  5302. - trademode
  5303. type: object
  5304. models.HsbyBuyMyTradeDetail:
  5305. properties:
  5306. accountid:
  5307. description: 账户ID[报价币种]
  5308. type: integer
  5309. agreeunit:
  5310. description: 合约单位
  5311. type: number
  5312. amount:
  5313. description: 金额 = 价格 * 数量 * 合约单位
  5314. type: number
  5315. buyorsell:
  5316. description: 买卖 - 0:买 1:卖
  5317. type: integer
  5318. currencysign:
  5319. description: 货币符号
  5320. type: string
  5321. decimalplace:
  5322. description: 报价小数位
  5323. type: integer
  5324. goodscode:
  5325. description: 商品代码(内部)
  5326. type: string
  5327. goodsid:
  5328. description: 商品ID
  5329. type: integer
  5330. goodsname:
  5331. description: 商品名称
  5332. type: string
  5333. marketid:
  5334. description: 市场ID
  5335. type: integer
  5336. orderamount:
  5337. description: 委托金额
  5338. type: number
  5339. orderid:
  5340. description: 单号(成交单号)
  5341. type: string
  5342. picurls1:
  5343. description: 预售商品介绍图片[多张用逗号分隔]
  5344. type: string
  5345. picurls2:
  5346. description: 挂牌商品介绍图片[多张用逗号分隔]
  5347. type: string
  5348. price:
  5349. description: 价格
  5350. type: number
  5351. qty:
  5352. description: 数量
  5353. type: integer
  5354. time:
  5355. description: 时间
  5356. type: string
  5357. trademode:
  5358. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5359. 21:竞拍-大宗式 22:受托竞价
  5360. type: integer
  5361. vendorname1:
  5362. description: 预售商品供应商名称
  5363. type: string
  5364. vendorname2:
  5365. description: 挂牌商品供应商名称
  5366. type: string
  5367. required:
  5368. - accountid
  5369. - buyorsell
  5370. - goodscode
  5371. - goodsid
  5372. - goodsname
  5373. - marketid
  5374. - orderid
  5375. - qty
  5376. - time
  5377. - trademode
  5378. type: object
  5379. models.HsbyGoodsOrderDetail:
  5380. properties:
  5381. buyorsell:
  5382. description: 买卖 - 0:买 1:卖
  5383. type: integer
  5384. currencysign:
  5385. description: 货币符号
  5386. type: string
  5387. customername:
  5388. description: 客户名称(企业名称),已脱敏
  5389. type: string
  5390. enableqty:
  5391. description: 可用数量
  5392. type: integer
  5393. goodunit:
  5394. description: 报价单位
  5395. type: string
  5396. orderid:
  5397. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5398. type: string
  5399. orderprice:
  5400. description: 委托价格
  5401. type: number
  5402. ordertime:
  5403. description: 委托时间
  5404. type: string
  5405. required:
  5406. - buyorsell
  5407. - orderid
  5408. - ordertime
  5409. type: object
  5410. models.HsbyListingGoodsDetail:
  5411. properties:
  5412. agreeunit:
  5413. description: 合约单位
  5414. type: number
  5415. buymaxqty:
  5416. description: 购买上限 [71] - 0为不限
  5417. type: integer
  5418. currency:
  5419. description: 货币
  5420. type: string
  5421. currencysign:
  5422. description: 货币符号
  5423. type: string
  5424. decimalplace:
  5425. description: 报价小数位
  5426. type: integer
  5427. desccityid:
  5428. description: 目的地(市)ID
  5429. type: integer
  5430. descprovinceid:
  5431. description: 目的地(省)ID
  5432. type: integer
  5433. goodscode:
  5434. description: 商品代码(内部)
  5435. type: string
  5436. goodsdesc:
  5437. description: 商品详情
  5438. type: string
  5439. goodsid:
  5440. description: 商品ID(自增ID SEQ_GOODS)
  5441. type: integer
  5442. goodsname:
  5443. description: 商品名称
  5444. type: string
  5445. goodsprice:
  5446. description: 商品价格
  5447. type: number
  5448. hotindex:
  5449. description: 景点热度
  5450. type: integer
  5451. last:
  5452. description: 现价
  5453. type: number
  5454. limitdown:
  5455. description: 跌停价
  5456. type: number
  5457. limitup:
  5458. description: 涨停价
  5459. type: number
  5460. lotsize:
  5461. description: 手数最小变动单位
  5462. type: integer
  5463. marketid:
  5464. description: 所属市场ID
  5465. type: integer
  5466. picurls:
  5467. description: 介绍图片[多张用逗号分隔]
  5468. type: string
  5469. quoteminunit:
  5470. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5471. type: integer
  5472. stepvalue:
  5473. description: 价格最小变动单位
  5474. type: number
  5475. trademode:
  5476. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5477. 21:竞拍-大宗式 22:受托竞价
  5478. type: integer
  5479. vendorattr:
  5480. description: 供应商附件(多张,逗号分隔)
  5481. type: string
  5482. vendorname:
  5483. description: 供应商名称
  5484. type: string
  5485. vendorphone:
  5486. description: 供应商客服电话
  5487. type: string
  5488. videourls:
  5489. description: 介绍视频[多张用逗号分隔]
  5490. type: string
  5491. required:
  5492. - goodscode
  5493. - goodsid
  5494. - goodsname
  5495. - marketid
  5496. - trademode
  5497. type: object
  5498. models.HsbyMarketGoods:
  5499. properties:
  5500. accountid:
  5501. description: 账户ID[报价币种]
  5502. type: integer
  5503. agreeunit:
  5504. description: 合约单位
  5505. type: number
  5506. buyorsell:
  5507. description: 买卖 - 0:买 1:卖
  5508. type: integer
  5509. categoryid:
  5510. description: 类别ID(WRCATEGORY)
  5511. type: integer
  5512. currency:
  5513. description: 货币
  5514. type: string
  5515. currencysign:
  5516. description: 货币符号
  5517. type: string
  5518. customername:
  5519. description: 卖家名称
  5520. type: string
  5521. decimalplace:
  5522. description: 报价小数位
  5523. type: integer
  5524. goodscode:
  5525. description: 商品代码(内部)
  5526. type: string
  5527. goodsid:
  5528. description: 商品ID
  5529. type: integer
  5530. goodsname:
  5531. description: 商品名称
  5532. type: string
  5533. goodsprice:
  5534. description: 商品价格
  5535. type: number
  5536. hascoupon:
  5537. description: 是否可用优惠卷
  5538. type: boolean
  5539. hotindex:
  5540. description: 景点热度
  5541. type: integer
  5542. marketid:
  5543. description: 市场ID
  5544. type: integer
  5545. orderid:
  5546. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5547. type: string
  5548. orderprice:
  5549. description: 委托价格
  5550. type: number
  5551. orderstatus:
  5552. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5553. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5554. 16:成交失败违约(荷兰式竞拍专用)
  5555. type: integer
  5556. picurls:
  5557. description: 介绍图片[多张用逗号分隔]
  5558. type: string
  5559. quoteminunit:
  5560. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5561. type: integer
  5562. sellUserID:
  5563. description: 卖方UserID
  5564. type: integer
  5565. trademode:
  5566. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5567. 21:竞拍-大宗式 22:受托竞价
  5568. type: integer
  5569. videourls:
  5570. description: 介绍视频[多张用逗号分隔]
  5571. type: string
  5572. required:
  5573. - accountid
  5574. - buyorsell
  5575. - goodscode
  5576. - goodsid
  5577. - goodsname
  5578. - marketid
  5579. - orderid
  5580. - trademode
  5581. type: object
  5582. models.HsbyMarketGoodsDetail:
  5583. properties:
  5584. accountid:
  5585. description: 账户ID[报价币种]
  5586. type: integer
  5587. agreeunit:
  5588. description: 合约单位
  5589. type: number
  5590. buymaxqty:
  5591. description: 购买上限 [71] - 0为不限
  5592. type: integer
  5593. buyorsell:
  5594. description: 买卖 - 0:买 1:卖
  5595. type: integer
  5596. cancelqty:
  5597. description: 撤单数量
  5598. type: integer
  5599. categoryid:
  5600. description: 类别ID(WRCATEGORY)
  5601. type: integer
  5602. currency:
  5603. description: 货币
  5604. type: string
  5605. currencysign:
  5606. description: 货币符号
  5607. type: string
  5608. customername:
  5609. description: 卖家名称
  5610. type: string
  5611. decimalplace:
  5612. description: 报价小数位
  5613. type: integer
  5614. goodscode:
  5615. description: 商品代码(内部)
  5616. type: string
  5617. goodsdesc:
  5618. description: 商品详情
  5619. type: string
  5620. goodsid:
  5621. description: 商品ID
  5622. type: integer
  5623. goodsname:
  5624. description: 商品名称
  5625. type: string
  5626. goodsprice:
  5627. description: 商品价格
  5628. type: number
  5629. hotindex:
  5630. description: 景点热度
  5631. type: integer
  5632. lotsize:
  5633. description: 手数最小变动单位
  5634. type: integer
  5635. marketid:
  5636. description: 市场ID
  5637. type: integer
  5638. orderid:
  5639. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5640. type: string
  5641. orderprice:
  5642. description: 委托价格
  5643. type: number
  5644. orderqty:
  5645. description: 委托数量
  5646. type: integer
  5647. orderstatus:
  5648. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5649. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5650. 16:成交失败违约(荷兰式竞拍专用)
  5651. type: integer
  5652. picurls:
  5653. description: 介绍图片[多张用逗号分隔]
  5654. type: string
  5655. quoteminunit:
  5656. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5657. type: integer
  5658. sellUserID:
  5659. description: 卖方UserID
  5660. type: integer
  5661. trademode:
  5662. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5663. 21:竞拍-大宗式 22:受托竞价
  5664. type: integer
  5665. tradeqty:
  5666. description: 成交数量
  5667. type: integer
  5668. vendorattr:
  5669. description: 供应商附件(多张,逗号分隔)
  5670. type: string
  5671. vendorname:
  5672. description: 供应商名称
  5673. type: string
  5674. vendorphone:
  5675. description: 供应商客服电话
  5676. type: string
  5677. videourls:
  5678. description: 介绍视频[多张用逗号分隔]
  5679. type: string
  5680. required:
  5681. - accountid
  5682. - buyorsell
  5683. - goodscode
  5684. - goodsid
  5685. - goodsname
  5686. - marketid
  5687. - orderid
  5688. - orderqty
  5689. - trademode
  5690. type: object
  5691. models.HsbyMarketInfo:
  5692. properties:
  5693. marketid:
  5694. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5695. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5696. type: integer
  5697. marketname:
  5698. description: 市场名称
  5699. type: string
  5700. marketstatus:
  5701. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5702. type: integer
  5703. trademode:
  5704. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5705. 21:竞拍-大宗式 22:受托竞价
  5706. type: integer
  5707. required:
  5708. - marketid
  5709. - marketstatus
  5710. - trademode
  5711. type: object
  5712. models.HsbyMyGoods:
  5713. properties:
  5714. accountid:
  5715. description: 账号Id
  5716. type: integer
  5717. agreeunit:
  5718. description: 合约单位
  5719. type: number
  5720. buyaverageprice:
  5721. description: 持仓均价
  5722. type: number
  5723. buycurholderamount:
  5724. description: 买当前持仓总金额[商品币种]
  5725. type: number
  5726. buycurpositionqty:
  5727. description: 买当前持仓总数量
  5728. type: integer
  5729. buymaxqty:
  5730. description: 购买上限 [71] - 0为不限
  5731. type: integer
  5732. currencysign:
  5733. description: 货币符号
  5734. type: string
  5735. decimalplace:
  5736. description: 报价小数位
  5737. type: integer
  5738. enableqty:
  5739. description: 可用数量
  5740. type: integer
  5741. goodscode:
  5742. description: 商品代码(内部)
  5743. type: string
  5744. goodsid:
  5745. description: 商品Id
  5746. type: integer
  5747. goodsname:
  5748. description: 商品名称
  5749. type: string
  5750. goodsprice:
  5751. description: 商品价格
  5752. type: number
  5753. goodsstatus:
  5754. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5755. type: integer
  5756. last:
  5757. description: 现价(仅使用于挂牌点选)
  5758. type: number
  5759. limitdown:
  5760. description: 跌停价(仅使用于挂牌点选)
  5761. type: number
  5762. limitup:
  5763. description: 涨停价(仅使用于挂牌点选)
  5764. type: number
  5765. lotsize:
  5766. description: 手数最小变动单位
  5767. type: integer
  5768. marketid:
  5769. description: 所属市场ID
  5770. type: integer
  5771. picurls:
  5772. description: 介绍图片[多张用逗号分隔]
  5773. type: string
  5774. quoteminunit:
  5775. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5776. type: integer
  5777. stepvalue:
  5778. description: 价格最小变动单位
  5779. type: number
  5780. trademode:
  5781. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5782. 21:竞拍-大宗式 22:受托竞价
  5783. type: integer
  5784. required:
  5785. - accountid
  5786. - goodscode
  5787. - goodsid
  5788. - goodsname
  5789. - marketid
  5790. - trademode
  5791. type: object
  5792. models.HsbyMyPackage:
  5793. properties:
  5794. accountid:
  5795. description: 账户ID
  5796. type: integer
  5797. address:
  5798. description: 提货人详细地址
  5799. type: string
  5800. agreeunit:
  5801. description: 合约单位
  5802. type: number
  5803. amount:
  5804. description: 提货金额
  5805. type: number
  5806. auditer:
  5807. description: 审核人
  5808. type: integer
  5809. audittime:
  5810. description: 审核时间
  5811. type: string
  5812. averageprice:
  5813. description: 均价
  5814. type: number
  5815. cardnum:
  5816. description: 提货人证件号码
  5817. type: string
  5818. cardtypeid:
  5819. description: 提货人证件类型
  5820. type: integer
  5821. checkremark:
  5822. description: 审核备注
  5823. type: string
  5824. currencysign:
  5825. description: 货币符号
  5826. type: string
  5827. decimalplace:
  5828. description: 报价小数位
  5829. type: integer
  5830. goodscode:
  5831. description: 商品代码(内部)
  5832. type: string
  5833. goodsid:
  5834. description: 商品ID
  5835. type: integer
  5836. goodsname:
  5837. description: 商品名称
  5838. type: string
  5839. handlestatus:
  5840. description: 处理状态
  5841. type: integer
  5842. marketid:
  5843. description: 市场ID
  5844. type: integer
  5845. phonenum:
  5846. description: 提货人联系方式
  5847. type: string
  5848. picurls:
  5849. description: 介绍图片[多张用逗号分隔]
  5850. type: string
  5851. qty:
  5852. description: 提货数量
  5853. type: number
  5854. recivername:
  5855. description: 提货人姓名
  5856. type: string
  5857. reqtime:
  5858. description: 更新时间
  5859. type: string
  5860. takemode:
  5861. description: 提货方式 - 2:自提 3:配送
  5862. type: integer
  5863. takeorderid:
  5864. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5865. type: string
  5866. takeorderstatus:
  5867. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5868. type: integer
  5869. takeremark:
  5870. description: 提货备注
  5871. type: string
  5872. tradedate:
  5873. description: 交易日(yyyyMMdd)
  5874. type: string
  5875. trademode:
  5876. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5877. 21:竞拍-大宗式 22:受托竞价
  5878. type: integer
  5879. userid:
  5880. description: 用户ID
  5881. type: integer
  5882. vendorname:
  5883. description: 供应商名称
  5884. type: string
  5885. required:
  5886. - goodscode
  5887. - goodsname
  5888. - takeorderid
  5889. - trademode
  5890. type: object
  5891. models.HsbyPreGoods:
  5892. properties:
  5893. agreeunit:
  5894. description: 合约单位
  5895. type: number
  5896. currency:
  5897. description: 货币
  5898. type: string
  5899. currencysign:
  5900. description: 货币符号
  5901. type: string
  5902. decimalplace:
  5903. description: 报价小数位
  5904. type: integer
  5905. desccityid:
  5906. description: 目的地(市)
  5907. type: integer
  5908. descprovinceid:
  5909. description: 目的地(省)
  5910. type: integer
  5911. enableqty:
  5912. description: 剩余数量
  5913. type: integer
  5914. goodscode:
  5915. description: 商品代码(内部)
  5916. type: string
  5917. goodsid:
  5918. description: 商品ID(自增ID SEQ_GOODS)
  5919. type: integer
  5920. goodsname:
  5921. description: 商品名称
  5922. type: string
  5923. goodsstatus:
  5924. description: 商品状态- 2:未上市 3:上市
  5925. type: integer
  5926. lasttradedate:
  5927. description: 最后交易日期(状态:待退市)
  5928. type: string
  5929. listingdate:
  5930. description: 交易开始日期
  5931. type: string
  5932. marketid:
  5933. description: 所属市场ID
  5934. type: integer
  5935. picurls:
  5936. description: 介绍图片[多张用逗号分隔]
  5937. type: string
  5938. presaledqty:
  5939. description: 已预售量(预售结束时更新)
  5940. type: integer
  5941. presaleqty:
  5942. description: 预售数量
  5943. type: integer
  5944. quoteminunit:
  5945. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5946. type: integer
  5947. refprice:
  5948. description: 参考价格[一口价]
  5949. type: number
  5950. relatedgoodsid:
  5951. description: 关联交易合约ID
  5952. type: integer
  5953. trademode:
  5954. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5955. 21:竞拍-大宗式 22:受托竞价
  5956. type: integer
  5957. videourls:
  5958. description: 介绍视频[多张用逗号分隔]
  5959. type: string
  5960. required:
  5961. - goodscode
  5962. - goodsid
  5963. - goodsname
  5964. - marketid
  5965. - trademode
  5966. type: object
  5967. models.HsbyPreGoodsDetail:
  5968. properties:
  5969. agreeunit:
  5970. description: 合约单位
  5971. type: number
  5972. buymaxqty:
  5973. description: 购买上限 [71] - 0为不限
  5974. type: integer
  5975. currency:
  5976. description: 货币
  5977. type: string
  5978. currencysign:
  5979. description: 货币符号
  5980. type: string
  5981. customername:
  5982. description: 发行单位
  5983. type: string
  5984. decimalplace:
  5985. description: 报价小数位
  5986. type: integer
  5987. desccityid:
  5988. description: 目的地(市)ID
  5989. type: integer
  5990. descprovinceid:
  5991. description: 目的地(省)ID
  5992. type: integer
  5993. enableqty:
  5994. description: 剩余数量
  5995. type: integer
  5996. goodscode:
  5997. description: 商品代码(内部)
  5998. type: string
  5999. goodsdesc:
  6000. description: 商品详情
  6001. type: string
  6002. goodsid:
  6003. description: 商品ID(自增ID SEQ_GOODS)
  6004. type: integer
  6005. goodsname:
  6006. description: 商品名称
  6007. type: string
  6008. goodsstatus:
  6009. description: 商品状态- 2:未上市 3:上市
  6010. type: integer
  6011. goodunit:
  6012. description: 报价单位
  6013. type: string
  6014. lasttradedate:
  6015. description: 最后交易日期(状态:待退市)
  6016. type: string
  6017. listingdate:
  6018. description: 交易开始日期
  6019. type: string
  6020. lotsize:
  6021. description: 手数最小变动单位
  6022. type: integer
  6023. marketid:
  6024. description: 所属市场ID
  6025. type: integer
  6026. picurls:
  6027. description: 介绍图片[多张用逗号分隔]
  6028. type: string
  6029. presaledqty:
  6030. description: 已预售量(预售结束时更新)
  6031. type: integer
  6032. presaleqty:
  6033. description: 预售数量
  6034. type: integer
  6035. quoteminunit:
  6036. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6037. type: integer
  6038. refprice:
  6039. description: 参考价格[一口价]
  6040. type: number
  6041. relatedgoodsid:
  6042. description: 关联交易合约ID
  6043. type: integer
  6044. stepvalue:
  6045. description: 价格最小变动单位
  6046. type: number
  6047. trademode:
  6048. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6049. 21:竞拍-大宗式 22:受托竞价
  6050. type: integer
  6051. vendorattr:
  6052. description: 供应商附件(多张,逗号分隔)
  6053. type: string
  6054. vendorname:
  6055. description: 供应商名称
  6056. type: string
  6057. vendorphone:
  6058. description: 供应商客服电话
  6059. type: string
  6060. videourls:
  6061. description: 介绍视频[多张用逗号分隔]
  6062. type: string
  6063. required:
  6064. - goodscode
  6065. - goodsid
  6066. - goodsname
  6067. - marketid
  6068. - trademode
  6069. type: object
  6070. models.HsbySellCollectionOrder:
  6071. properties:
  6072. agreeunit:
  6073. description: 合约单位
  6074. type: number
  6075. buyaccountid:
  6076. description: 买方账号ID[报价币种]
  6077. type: integer
  6078. buyorderid:
  6079. description: 买方委托单号
  6080. type: string
  6081. createtime:
  6082. description: 创建时间
  6083. type: string
  6084. currencysign:
  6085. description: 货币符号
  6086. type: string
  6087. decimalplace:
  6088. description: 报价小数位
  6089. type: integer
  6090. goodscode:
  6091. description: 商品代码(内部)
  6092. type: string
  6093. goodsid:
  6094. description: 商品ID
  6095. type: integer
  6096. goodsname:
  6097. description: 商品名称
  6098. type: string
  6099. marketid:
  6100. description: 市场ID
  6101. type: integer
  6102. offamount:
  6103. description: 优惠金额
  6104. type: number
  6105. payamount:
  6106. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6107. type: number
  6108. payflag:
  6109. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6110. type: integer
  6111. paylimitedtime:
  6112. description: 支付期限
  6113. type: string
  6114. paytime:
  6115. description: 付款时间
  6116. type: string
  6117. picurls:
  6118. description: 商品介绍图片[多张用逗号分隔]
  6119. type: string
  6120. sellaccountid:
  6121. description: 卖方账号ID[报价币种]
  6122. type: integer
  6123. sellorderid:
  6124. description: 卖方委托单号
  6125. type: string
  6126. tradeamount:
  6127. description: 成交金额
  6128. type: number
  6129. tradecharge:
  6130. description: 成交手续费(买方)
  6131. type: number
  6132. tradedate:
  6133. description: 交易日(yyyyMMdd)
  6134. type: string
  6135. tradeid:
  6136. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6137. type: string
  6138. trademode:
  6139. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6140. 21:竞拍-大宗式 22:受托竞价
  6141. type: integer
  6142. tradeprice:
  6143. description: 成交价格
  6144. type: number
  6145. tradeqty:
  6146. description: 成交数量
  6147. type: integer
  6148. required:
  6149. - goodscode
  6150. - goodsname
  6151. - tradeid
  6152. - trademode
  6153. type: object
  6154. models.HsbySellMyDetail:
  6155. properties:
  6156. accountid:
  6157. description: 账户ID[报价币种]
  6158. type: integer
  6159. agreeunit:
  6160. description: 合约单位
  6161. type: number
  6162. buyorsell:
  6163. description: 买卖 - 0:买 1:卖
  6164. type: integer
  6165. currencysign:
  6166. description: 货币符号
  6167. type: string
  6168. decimalplace:
  6169. description: 报价小数位
  6170. type: integer
  6171. goodscode:
  6172. description: 商品代码(内部)
  6173. type: string
  6174. goodsid:
  6175. description: 商品ID
  6176. type: integer
  6177. goodsname:
  6178. description: 商品名称
  6179. type: string
  6180. marketid:
  6181. description: 市场ID
  6182. type: integer
  6183. orderid:
  6184. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  6185. type: string
  6186. ordertype:
  6187. description: 单据类型:0 - 发布中, 1 - 已完成
  6188. type: integer
  6189. picurls:
  6190. description: 介绍图片[多张用逗号分隔]
  6191. type: string
  6192. price:
  6193. description: 价格
  6194. type: number
  6195. qty:
  6196. description: 数量
  6197. type: integer
  6198. time:
  6199. description: 时间
  6200. type: string
  6201. trademode:
  6202. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6203. 21:竞拍-大宗式 22:受托竞价
  6204. type: integer
  6205. vendorname:
  6206. description: 供应商名称
  6207. type: string
  6208. required:
  6209. - accountid
  6210. - buyorsell
  6211. - goodscode
  6212. - goodsid
  6213. - goodsname
  6214. - marketid
  6215. - orderid
  6216. - time
  6217. - trademode
  6218. type: object
  6219. models.HsbyTopGoods:
  6220. properties:
  6221. agreeunit:
  6222. description: 合约单位
  6223. type: number
  6224. currency:
  6225. description: 货币
  6226. type: string
  6227. currencysign:
  6228. description: 货币符号
  6229. type: string
  6230. decimalplace:
  6231. description: 报价小数位
  6232. type: integer
  6233. desccityid:
  6234. description: 目的地(市)
  6235. type: integer
  6236. descprovinceid:
  6237. description: 目的地(省)
  6238. type: integer
  6239. goodscode:
  6240. description: 商品代码(内部)
  6241. type: string
  6242. goodsid:
  6243. description: 商品ID(自增ID SEQ_GOODS)
  6244. type: integer
  6245. goodsname:
  6246. description: 商品名称
  6247. type: string
  6248. hotindex:
  6249. description: 景点热度
  6250. type: integer
  6251. last:
  6252. description: 现价
  6253. type: number
  6254. marketid:
  6255. description: 所属市场ID
  6256. type: integer
  6257. picurls:
  6258. description: 介绍图片[多张用逗号分隔]
  6259. type: string
  6260. quoteminunit:
  6261. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6262. type: integer
  6263. trademode:
  6264. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6265. 21:竞拍-大宗式 22:受托竞价
  6266. type: integer
  6267. videourls:
  6268. description: 介绍视频[多张用逗号分隔]
  6269. type: string
  6270. required:
  6271. - goodscode
  6272. - goodsid
  6273. - goodsname
  6274. - marketid
  6275. - trademode
  6276. type: object
  6277. models.HybsMyBuyOrderDetail:
  6278. properties:
  6279. accountid:
  6280. description: 账户ID[报价币种]
  6281. type: integer
  6282. agreeunit:
  6283. description: 合约单位
  6284. type: number
  6285. buyorsell:
  6286. description: 买卖 - 0:买 1:卖
  6287. type: integer
  6288. cancelqty:
  6289. description: 撤单数量
  6290. type: integer
  6291. currencysign:
  6292. description: 货币符号
  6293. type: string
  6294. decimalplace:
  6295. description: 报价小数位
  6296. type: integer
  6297. goodscode:
  6298. description: 商品代码(内部)
  6299. type: string
  6300. goodsid:
  6301. description: 商品ID
  6302. type: integer
  6303. goodsname:
  6304. description: 商品名称
  6305. type: string
  6306. listingselecttype:
  6307. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6308. type: integer
  6309. marketid:
  6310. description: 市场ID
  6311. type: integer
  6312. mybuystatus:
  6313. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  6314. type: integer
  6315. orderamount:
  6316. description: 委托金额
  6317. type: number
  6318. orderid:
  6319. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6320. type: string
  6321. orderprice:
  6322. description: 委托价格
  6323. type: number
  6324. orderqty:
  6325. description: 委托数量
  6326. type: integer
  6327. orderstatus:
  6328. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6329. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6330. 16:成交失败违约(荷兰式竞拍专用)
  6331. type: integer
  6332. ordertime:
  6333. description: 委托时间
  6334. type: string
  6335. picurls1:
  6336. description: 预售商品介绍图片[多张用逗号分隔]
  6337. type: string
  6338. picurls2:
  6339. description: 挂牌商品介绍图片[多张用逗号分隔]
  6340. type: string
  6341. trademode:
  6342. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6343. 21:竞拍-大宗式 22:受托竞价
  6344. type: integer
  6345. tradeqty:
  6346. description: 成交数量
  6347. type: integer
  6348. vendorname1:
  6349. description: 预售商品供应商名称
  6350. type: string
  6351. vendorname2:
  6352. description: 挂牌商品供应商名称
  6353. type: string
  6354. required:
  6355. - accountid
  6356. - buyorsell
  6357. - goodscode
  6358. - goodsid
  6359. - goodsname
  6360. - marketid
  6361. - orderid
  6362. - orderqty
  6363. - ordertime
  6364. - trademode
  6365. type: object
  6366. models.Loginaccount:
  6367. properties:
  6368. canoutin:
  6369. description: 是否可出入金 - 0:不可 1:可
  6370. type: integer
  6371. clientroleid:
  6372. description: 终端角色ID
  6373. type: integer
  6374. haslogined:
  6375. description: 是否已登录 - 0:未登录 1:已登录
  6376. type: integer
  6377. hasupdatedpwd:
  6378. description: 是否已更改密码 - 0:未修改 1:已修改
  6379. type: integer
  6380. lastloginip:
  6381. description: 最新登录地址
  6382. type: string
  6383. lastloginmode:
  6384. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  6385. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6386. type: integer
  6387. lastloginremark:
  6388. description: 最新登录描述
  6389. type: string
  6390. lastlogintime:
  6391. description: 最新登录时间
  6392. type: string
  6393. logincode:
  6394. description: 登录代码
  6395. type: string
  6396. loginfailnum:
  6397. description: 连续登录失败次数(登录成功时清零)
  6398. type: integer
  6399. loginid:
  6400. description: 登陆账号
  6401. type: integer
  6402. loginport:
  6403. description: 最新登录端口
  6404. type: integer
  6405. loginstatus:
  6406. description: 登录账号状态 1:正常 2:冻结 3:无效
  6407. type: integer
  6408. loginusertype:
  6409. description: 登录账号类型 - 1:投资者 2:机构交易员
  6410. type: integer
  6411. modifierid:
  6412. description: 修改人
  6413. type: integer
  6414. modifytime:
  6415. description: 修改时间
  6416. type: string
  6417. pwdwrongcount:
  6418. description: 密码错误次数
  6419. type: integer
  6420. taaccountrighttype:
  6421. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  6422. type: integer
  6423. unfreezetime:
  6424. description: 账户解冻时间
  6425. type: string
  6426. userid:
  6427. description: 用户ID
  6428. type: integer
  6429. required:
  6430. - loginid
  6431. type: object
  6432. models.Market:
  6433. properties:
  6434. auctionwrtype:
  6435. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  6436. type: integer
  6437. canacceptquote:
  6438. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  6439. type: integer
  6440. cangoodsexercise:
  6441. description: '[期权]是否可现货行权- 0:否 1:是'
  6442. type: integer
  6443. cangoodsexercisetype:
  6444. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  6445. type: integer
  6446. canmanualquotestrike:
  6447. description: 是否可手动报行权价- 0:否 1:是 [期权]
  6448. type: integer
  6449. canmutistage:
  6450. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  6451. type: integer
  6452. canpreexercise:
  6453. description: '[期权]是否可预申报- 0:否 1:是'
  6454. type: integer
  6455. clearinterval:
  6456. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6457. type: integer
  6458. contracttmp:
  6459. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6460. type: string
  6461. exchareaid:
  6462. description: 所属交易所,可以没有
  6463. type: integer
  6464. goodstype:
  6465. description: 商品类型 - 1:交易商品 2:仓单商品
  6466. type: integer
  6467. hasrebate:
  6468. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6469. type: integer
  6470. hastradecredit:
  6471. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6472. type: integer
  6473. haswr:
  6474. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6475. type: integer
  6476. isdeductmargin:
  6477. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6478. type: integer
  6479. isrecordsource:
  6480. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6481. type: integer
  6482. isreleasemargin:
  6483. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6484. type: integer
  6485. marginformula:
  6486. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6487. type: integer
  6488. marginformula2:
  6489. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6490. type: integer
  6491. marketid:
  6492. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6493. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6494. type: integer
  6495. marketname:
  6496. description: 市场名称
  6497. type: string
  6498. marketserviceid:
  6499. description: 市场服务ID
  6500. type: integer
  6501. marketstatus:
  6502. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6503. type: integer
  6504. markettype:
  6505. description: 市场类型- 1:非交易服务 2:交易服务
  6506. type: integer
  6507. matchermode:
  6508. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6509. type: integer
  6510. openmethod:
  6511. description: 开盘模式 - 0 自动 1手动
  6512. type: integer
  6513. otcuserid:
  6514. description: 场外期权做市商[场外期权]
  6515. type: integer
  6516. outersynctime:
  6517. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6518. type: string
  6519. pendingflag:
  6520. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6521. type: integer
  6522. pendingtime:
  6523. description: 待开市时间[通道交易-对冲](HH:mm)
  6524. type: string
  6525. performancetempid:
  6526. description: 履约计划模板ID - 作废
  6527. type: integer
  6528. premiumquotemode:
  6529. description: 权利金报价方式 - 1:自动 2:手动
  6530. type: integer
  6531. rebateratio:
  6532. description: 返利比率[竞价式]
  6533. type: number
  6534. reckonorder:
  6535. description: 结算顺序
  6536. type: integer
  6537. reckonpricealgorithm:
  6538. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6539. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6540. type: integer
  6541. reckonpriceparam:
  6542. description: 结算价参数
  6543. type: integer
  6544. reckontime:
  6545. description: 结算时间[通道交易-对冲](HH:mm)
  6546. type: string
  6547. roleprioritytype:
  6548. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6549. type: integer
  6550. selllistingauditflag:
  6551. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6552. type: integer
  6553. trademarkettype:
  6554. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6555. type: integer
  6556. trademode:
  6557. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6558. 21:竞拍-大宗式 22:受托竞价
  6559. type: integer
  6560. tradeproperty:
  6561. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6562. 8:场外期权
  6563. type: integer
  6564. tradetype:
  6565. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6566. type: integer
  6567. required:
  6568. - marketid
  6569. - marketstatus
  6570. - openmethod
  6571. - reckonpricealgorithm
  6572. - trademode
  6573. - tradeproperty
  6574. type: object
  6575. models.Marketrun:
  6576. properties:
  6577. afternexttradedate:
  6578. description: 下下交易日
  6579. type: string
  6580. clearquoteflag:
  6581. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  6582. type: integer
  6583. lastreckondate:
  6584. description: 最新交易日(结算成功)
  6585. type: string
  6586. machinedate:
  6587. description: 机器时间
  6588. type: string
  6589. manualflag:
  6590. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  6591. type: integer
  6592. marketid:
  6593. description: 市场ID
  6594. type: integer
  6595. nexttradedate:
  6596. description: 下一交易日
  6597. type: string
  6598. pretradedate:
  6599. description: 上一交易日
  6600. type: string
  6601. reckonflag:
  6602. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  6603. type: integer
  6604. runstatus:
  6605. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  6606. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  6607. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  6608. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  6609. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  6610. 62.今日免清算
  6611. type: integer
  6612. sectionid:
  6613. description: 时间段号[多时段时用]
  6614. type: integer
  6615. tradedate:
  6616. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  6617. type: string
  6618. tradedate2:
  6619. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  6620. type: string
  6621. updatetime:
  6622. description: 更新时间
  6623. type: string
  6624. required:
  6625. - marketid
  6626. - nexttradedate
  6627. - reckonflag
  6628. - runstatus
  6629. - tradedate
  6630. - tradedate2
  6631. type: object
  6632. models.Messageboard:
  6633. properties:
  6634. contactnum:
  6635. description: 联系电话
  6636. type: string
  6637. createtime:
  6638. description: 创建时间
  6639. type: string
  6640. message:
  6641. description: 留言信息
  6642. type: string
  6643. messageboardid:
  6644. description: 留言簿ID(SEQ_MessageBoard)
  6645. type: integer
  6646. userid:
  6647. description: 用户ID
  6648. type: integer
  6649. required:
  6650. - messageboardid
  6651. type: object
  6652. models.MyCoupon:
  6653. properties:
  6654. accountid:
  6655. description: 资金账户ID
  6656. type: integer
  6657. areauserid:
  6658. description: 所属机构
  6659. type: integer
  6660. conditionvalue:
  6661. description: 条件阈值(可为0)
  6662. type: number
  6663. couponcategroy:
  6664. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  6665. type: integer
  6666. couponname:
  6667. description: 优惠券名称
  6668. type: string
  6669. coupontypeid:
  6670. description: 优惠券类型ID
  6671. type: string
  6672. couponvalue:
  6673. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6674. type: number
  6675. curfreezeqty:
  6676. description: 期末冻结数量
  6677. type: integer
  6678. curqty:
  6679. description: 期末数量
  6680. type: integer
  6681. isgeneral:
  6682. description: 是否通用券 - 0:否 1:是
  6683. type: integer
  6684. isunusable:
  6685. description: 是否不可用
  6686. type: boolean
  6687. limitedflag:
  6688. description: 是否指定商品 - 0:不限 1:限制
  6689. type: integer
  6690. limitedgoodsids:
  6691. description: 指定商品IDs[逗号分隔,前后加逗号]
  6692. type: string
  6693. orifreezeqty:
  6694. description: 期初冻结数量
  6695. type: integer
  6696. oriqty:
  6697. description: 期初数量
  6698. type: integer
  6699. reasontype:
  6700. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  6701. type: integer
  6702. todaydecrease:
  6703. description: 今日减少
  6704. type: integer
  6705. todayincrease:
  6706. description: 今日增加
  6707. type: integer
  6708. userid:
  6709. description: 用户ID
  6710. type: integer
  6711. userscope:
  6712. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6713. type: string
  6714. required:
  6715. - accountid
  6716. - coupontypeid
  6717. type: object
  6718. models.MyCouponHold:
  6719. properties:
  6720. accountid:
  6721. description: 资金账户ID
  6722. type: integer
  6723. conditionvalue:
  6724. description: 条件阈值(可为0)
  6725. type: number
  6726. couponcategroy:
  6727. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6728. type: integer
  6729. couponholdid:
  6730. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6731. type: string
  6732. couponname:
  6733. description: 优惠券名称
  6734. type: string
  6735. coupontypeid:
  6736. description: 优惠券类型ID - SEQ_COUPONTYPE
  6737. type: string
  6738. couponvalue:
  6739. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6740. type: number
  6741. createtime:
  6742. description: 创建时间
  6743. type: string
  6744. enddate:
  6745. description: 结束日期
  6746. type: string
  6747. giveapplyid:
  6748. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6749. type: integer
  6750. holdstatus:
  6751. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6752. type: integer
  6753. isgeneral:
  6754. description: 是否通用券 - 0:否 1:是
  6755. type: integer
  6756. limitedflag:
  6757. description: 是否指定商品 - 0:不限 1:限制
  6758. type: integer
  6759. limitedgoodsids:
  6760. description: 指定商品IDs[逗号分隔]
  6761. type: string
  6762. qty:
  6763. description: 数量(按1平铺)
  6764. type: integer
  6765. startdate:
  6766. description: 开始日期
  6767. type: string
  6768. userid:
  6769. description: 用户ID
  6770. type: integer
  6771. userscope:
  6772. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6773. type: string
  6774. required:
  6775. - couponholdid
  6776. type: object
  6777. models.MyUsedCoupon:
  6778. properties:
  6779. accountid:
  6780. description: 资金账户ID(买方)
  6781. type: integer
  6782. conditionvalue:
  6783. description: 条件阈值(可为0)
  6784. type: number
  6785. couponcategroy:
  6786. description: 种类 - 1:现金券 2:折扣券
  6787. type: integer
  6788. couponname:
  6789. description: 优惠券名称
  6790. type: string
  6791. coupontypeid:
  6792. description: 优惠券类型ID(买方)
  6793. type: string
  6794. couponvalue:
  6795. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6796. type: number
  6797. createtime:
  6798. description: 创建时间
  6799. type: string
  6800. goodsid:
  6801. description: 商品ID
  6802. type: integer
  6803. handlestatus:
  6804. description: 处理状态
  6805. type: integer
  6806. marketid:
  6807. description: 市场ID
  6808. type: integer
  6809. offamount:
  6810. description: 优惠金额
  6811. type: number
  6812. orderid:
  6813. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6814. type: string
  6815. sellaccountid:
  6816. description: 资金账户ID(卖方)
  6817. type: integer
  6818. tradeamount:
  6819. description: 成交金额
  6820. type: number
  6821. tradeid:
  6822. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6823. type: string
  6824. usedqty:
  6825. description: 使用数量
  6826. type: integer
  6827. required:
  6828. - coupontypeid
  6829. - orderid
  6830. type: object
  6831. models.OperationPrimaryMenu:
  6832. properties:
  6833. Children:
  6834. description: 二级功能菜单
  6835. items:
  6836. $ref: '#/definitions/models.OperationSecondaryMenu'
  6837. type: array
  6838. Key:
  6839. description: 菜单KEY
  6840. type: string
  6841. Label:
  6842. description: 菜单标题
  6843. type: string
  6844. type: object
  6845. models.OperationSecondaryMenu:
  6846. properties:
  6847. Key:
  6848. description: 菜单KEY
  6849. type: string
  6850. Label:
  6851. description: 菜单标题
  6852. type: string
  6853. TabList:
  6854. description: 三级功能菜单
  6855. items:
  6856. $ref: '#/definitions/models.OperationTabMenu'
  6857. type: array
  6858. type: object
  6859. models.OperationTabMenu:
  6860. properties:
  6861. Key:
  6862. description: 菜单KEY
  6863. type: string
  6864. Label:
  6865. description: 菜单标题
  6866. type: string
  6867. type: object
  6868. models.PendingAuditBizModel:
  6869. properties:
  6870. accountid:
  6871. description: 现货账户
  6872. type: string
  6873. areaname:
  6874. description: 所属部门
  6875. type: string
  6876. bizid:
  6877. description: 业务ID
  6878. type: string
  6879. bizname:
  6880. description: 业务名称
  6881. type: string
  6882. status:
  6883. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  6884. type: integer
  6885. type:
  6886. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  6887. type: integer
  6888. type: object
  6889. models.QueryErrorInfosRsp:
  6890. properties:
  6891. description:
  6892. description: 异常描述
  6893. type: string
  6894. errorcode:
  6895. description: 异常代码
  6896. type: string
  6897. errorid:
  6898. description: 异常ID
  6899. type: integer
  6900. modulecode:
  6901. description: 所属模块
  6902. type: string
  6903. operatecode:
  6904. description: 所属操作
  6905. type: string
  6906. rownumber:
  6907. description: 行号
  6908. type: string
  6909. required:
  6910. - errorid
  6911. type: object
  6912. models.QueryHedgeOrderDetailRsp:
  6913. properties:
  6914. accountid:
  6915. description: 账户ID
  6916. type: integer
  6917. buyorsell:
  6918. description: 买卖 - 0:买 1:卖
  6919. type: integer
  6920. cancellogincode:
  6921. description: 撤单人
  6922. type: string
  6923. channelbuildtype:
  6924. description: 开平标志 - 0:无 1:建仓 2:平仓
  6925. type: integer
  6926. channelinnerorderstatus:
  6927. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6928. 9:全部成交
  6929. type: integer
  6930. channeloperatetype:
  6931. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6932. type: integer
  6933. closetype:
  6934. description: 平仓方式 - 0:无 1:平今 2:平昨
  6935. type: integer
  6936. curexchangerate:
  6937. description: 当前汇率
  6938. type: number
  6939. exchangefullname:
  6940. description: 外部交易所全称
  6941. type: string
  6942. goodscode:
  6943. description: 商品代码(内部)
  6944. type: string
  6945. goodsid:
  6946. description: 商品ID
  6947. type: integer
  6948. goodsname:
  6949. description: 商品名称
  6950. type: string
  6951. marketid:
  6952. description: 市场ID
  6953. type: integer
  6954. openfreezemargin:
  6955. description: 冻结保证金(冻结交易金额)
  6956. type: number
  6957. orderid:
  6958. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6959. type: string
  6960. orderlogincode:
  6961. description: 委托人
  6962. type: string
  6963. orderprice:
  6964. description: 委托价格(账户)
  6965. type: number
  6966. orderqty:
  6967. description: 委托数量
  6968. type: integer
  6969. ordertime:
  6970. description: 委托时间
  6971. type: string
  6972. pricemode:
  6973. description: '取价方式 - 1:市价 2: 限价'
  6974. type: integer
  6975. tradedate:
  6976. description: 交易日(yyyyMMdd)
  6977. type: string
  6978. tradeqty:
  6979. description: 成交数量
  6980. type: integer
  6981. type: object
  6982. models.QueryHedgeTradeDetailRsp:
  6983. properties:
  6984. accountid:
  6985. description: 账号ID
  6986. type: integer
  6987. buyorsell:
  6988. description: 方向 - 0:买 1:卖
  6989. type: integer
  6990. channelbuildtype:
  6991. description: 委托单据类型 0:无 1:建仓 2:平仓
  6992. type: integer
  6993. closecharge:
  6994. description: 平仓手续费(账户)
  6995. type: number
  6996. closecharge2:
  6997. description: 平仓手续费(商品)
  6998. type: number
  6999. closetype:
  7000. description: 平仓方式 - 0:无 1:平今 2:平昨
  7001. type: integer
  7002. curexchangerate:
  7003. description: 当前汇率
  7004. type: number
  7005. exchangefullname:
  7006. description: 外部交易所全称
  7007. type: string
  7008. goodscode:
  7009. description: 商品代码(内部)
  7010. type: string
  7011. goodsid:
  7012. description: 商品ID
  7013. type: integer
  7014. goodsname:
  7015. description: 商品名称
  7016. type: string
  7017. marketid:
  7018. description: 市场ID
  7019. type: integer
  7020. opencharge:
  7021. description: 建仓手续费(账户)
  7022. type: number
  7023. opencharge2:
  7024. description: 建仓手续费(商品)
  7025. type: number
  7026. orderid:
  7027. description: 委托单号
  7028. type: string
  7029. orderlogincode:
  7030. description: 委托人
  7031. type: string
  7032. tradeamount:
  7033. description: 成交金额(账户)
  7034. type: number
  7035. tradedate:
  7036. description: 交易日(yyyyMMdd)
  7037. type: string
  7038. tradeid:
  7039. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7040. type: string
  7041. tradeprice:
  7042. description: 成交价格
  7043. type: number
  7044. tradeqty:
  7045. description: 成交数量
  7046. type: integer
  7047. tradetime:
  7048. description: 成交时间
  7049. type: string
  7050. tradetype:
  7051. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7052. type: integer
  7053. type: object
  7054. models.QuotePrimaryMenu:
  7055. properties:
  7056. Index:
  7057. description: 序号
  7058. type: integer
  7059. Key:
  7060. description: 键名
  7061. type: string
  7062. Name:
  7063. description: 菜单名称
  7064. type: string
  7065. SubMenus:
  7066. description: 子菜单
  7067. items:
  7068. $ref: '#/definitions/models.QuoteSecondaryMenu'
  7069. type: array
  7070. SubTitleType:
  7071. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  7072. type: integer
  7073. TradeModes:
  7074. description: 包含市场交易类型
  7075. type: string
  7076. type: object
  7077. models.QuoteSecondaryMenu:
  7078. properties:
  7079. ExExchangeCode:
  7080. description: 外部交易所代码
  7081. type: string
  7082. ExExchangeID:
  7083. description: 外部交易所ID
  7084. type: integer
  7085. GoodsGroupIDs:
  7086. description: 商品组ID列表
  7087. items:
  7088. type: integer
  7089. type: array
  7090. Index:
  7091. description: 序号
  7092. type: integer
  7093. MarketID:
  7094. description: 市场ID
  7095. type: integer
  7096. MenuTitle:
  7097. description: 菜单标题(市场名称或外部交易所名称)
  7098. type: string
  7099. TradeMode:
  7100. description: 交易模式
  7101. type: integer
  7102. type: object
  7103. models.RelatedGoodsEx:
  7104. properties:
  7105. goodscode:
  7106. description: 商品代码
  7107. type: string
  7108. goodsid:
  7109. description: 商品id
  7110. type: integer
  7111. goodsname:
  7112. description: 商品名称
  7113. type: string
  7114. type: object
  7115. models.SearchGoods:
  7116. properties:
  7117. goodscode:
  7118. description: 商品代码(内部)
  7119. type: string
  7120. goodsid:
  7121. description: 商品ID(自增ID SEQ_GOODS)
  7122. type: integer
  7123. goodsname:
  7124. description: 商品名称
  7125. type: string
  7126. marketid:
  7127. description: 所属市场ID
  7128. type: integer
  7129. marketname:
  7130. description: 市场名称
  7131. type: string
  7132. trademode:
  7133. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7134. 21:竞拍-大宗式 22:受托竞价
  7135. type: integer
  7136. required:
  7137. - goodscode
  7138. - goodsid
  7139. - goodsname
  7140. - marketid
  7141. - trademode
  7142. type: object
  7143. models.Systemparam:
  7144. properties:
  7145. loginid:
  7146. description: 更新用户账号,登录账号
  7147. type: string
  7148. modifyflag:
  7149. description: 修改标志0 不允许修改 1 允许修改
  7150. type: integer
  7151. paramcode:
  7152. description: 参数代码
  7153. type: string
  7154. paramname:
  7155. description: 参数名
  7156. type: string
  7157. paramtype:
  7158. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  7159. type: integer
  7160. paramvalue:
  7161. description: 参数值
  7162. type: string
  7163. paramvalue2:
  7164. description: 参数值(CLOB)
  7165. type: string
  7166. regexpress:
  7167. description: 正则表达式
  7168. type: string
  7169. remark:
  7170. description: 备注
  7171. type: string
  7172. serverip:
  7173. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  7174. type: string
  7175. showflag:
  7176. description: 是否显示0 不显示 1 显示
  7177. type: integer
  7178. updatetime:
  7179. description: 更新时间
  7180. type: string
  7181. userid:
  7182. description: 更新用户ID
  7183. type: integer
  7184. required:
  7185. - paramcode
  7186. type: object
  7187. models.Szdz3convertconfig:
  7188. properties:
  7189. canin:
  7190. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  7191. type: integer
  7192. canout:
  7193. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  7194. type: integer
  7195. converttype:
  7196. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  7197. 6:交易转花生米(不设置)
  7198. type: integer
  7199. createtime:
  7200. description: 创建时间
  7201. type: string
  7202. creatorid:
  7203. description: 创建人
  7204. type: integer
  7205. daymaxvalue:
  7206. description: 当日最大转入限制
  7207. type: number
  7208. freezedays:
  7209. description: 冻结天数 [5:花生米转交易]
  7210. type: integer
  7211. innergoodsid:
  7212. description: 内部商品ID[交易]
  7213. type: integer
  7214. inratio:
  7215. description: 目标值
  7216. type: integer
  7217. modifierid:
  7218. description: 修改人
  7219. type: integer
  7220. modifytime:
  7221. description: 修改时间
  7222. type: string
  7223. outergoodscode:
  7224. description: 外部商品代码[JD\PD]
  7225. type: string
  7226. outratio:
  7227. description: 源值
  7228. type: integer
  7229. pddecimalplace:
  7230. description: PD小数位
  7231. type: integer
  7232. timemaxvalue:
  7233. description: 单次最大转入限制
  7234. type: number
  7235. timeminvalue:
  7236. description: 单次最小转入限制
  7237. type: number
  7238. required:
  7239. - converttype
  7240. - innergoodsid
  7241. - outergoodscode
  7242. type: object
  7243. models.Szdz3searchwhitelist:
  7244. properties:
  7245. createtime:
  7246. description: 创建时间
  7247. type: string
  7248. creatorid:
  7249. description: 创建人
  7250. type: integer
  7251. modifierid:
  7252. description: 修改人
  7253. type: integer
  7254. modifytime:
  7255. description: 修改时间
  7256. type: string
  7257. userid:
  7258. description: 用户ID
  7259. type: integer
  7260. required:
  7261. - userid
  7262. type: object
  7263. models.Taaccount:
  7264. properties:
  7265. accountflag:
  7266. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  7267. type: integer
  7268. accountid:
  7269. description: 资金账户ID
  7270. type: integer
  7271. accountname:
  7272. description: 账户名称
  7273. type: string
  7274. balance:
  7275. description: 期初余额
  7276. type: number
  7277. capitalbalance:
  7278. description: 本金余额[外部子账户实际出入金余额]
  7279. type: number
  7280. changeflag:
  7281. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  7282. type: integer
  7283. changetime:
  7284. description: 账户状态变更时间
  7285. type: string
  7286. closepl:
  7287. description: 今日平仓盈亏
  7288. type: number
  7289. creditdecrease:
  7290. description: 今日授信减少
  7291. type: number
  7292. creditincrease:
  7293. description: 今日授信增加
  7294. type: number
  7295. currencyid:
  7296. description: 货币ID
  7297. type: integer
  7298. currentbalance:
  7299. description: 期末余额
  7300. type: number
  7301. freezecharge:
  7302. description: 手续费冻结
  7303. type: number
  7304. freezemargin:
  7305. description: 冻结保证金
  7306. type: number
  7307. fromaccountid:
  7308. description: 所属上级账户
  7309. type: integer
  7310. inamount:
  7311. description: 今日入金金额(包括三方入金)
  7312. type: number
  7313. ismain:
  7314. description: 是否母账号 0:不是母账户 1:是母账户
  7315. type: integer
  7316. ismarketaccount:
  7317. description: 是否机构接单账号 0:不是 1:是
  7318. type: integer
  7319. isreckonaccount:
  7320. description: 是否机构分润账号 0:不是 1:是
  7321. type: integer
  7322. mortgagecredit:
  7323. description: 授信金额
  7324. type: number
  7325. orifreezecharge:
  7326. description: 期初手续费冻结
  7327. type: number
  7328. orifreezemargin:
  7329. description: 期初冻结保证金
  7330. type: number
  7331. orimortgagecredit:
  7332. description: 期初授信金额
  7333. type: number
  7334. oriothercredit:
  7335. description: 期初其它授信金额
  7336. type: number
  7337. oriotherfreezemargin:
  7338. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7339. type: number
  7340. orioutamountfreeze:
  7341. description: 期初出金冻结
  7342. type: number
  7343. oriusedmargin:
  7344. description: 期初占用保证金
  7345. type: number
  7346. othercredit:
  7347. description: 其它授信金额
  7348. type: number
  7349. othercreditdecrease:
  7350. description: 今日其它授信减少
  7351. type: number
  7352. othercreditincrease:
  7353. description: 今日其它授信增加
  7354. type: number
  7355. otherfreezemargin:
  7356. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7357. type: number
  7358. otherincome:
  7359. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  7360. type: number
  7361. otherpay:
  7362. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  7363. type: number
  7364. outamount:
  7365. description: 今日出金金额(包括三方出金)
  7366. type: number
  7367. outamountfreeze:
  7368. description: 出金冻结
  7369. type: number
  7370. outthreshold:
  7371. description: 出金阈值
  7372. type: number
  7373. parentaccountid:
  7374. description: 所属根账号
  7375. type: integer
  7376. paycharge:
  7377. description: 今日手续费支出
  7378. type: number
  7379. relatedaccountstatus:
  7380. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  7381. type: integer
  7382. relateduserid:
  7383. description: 关联用户
  7384. type: integer
  7385. serivcegroup:
  7386. description: 服务分组
  7387. type: integer
  7388. signstatus:
  7389. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7390. type: integer
  7391. sublevelpath:
  7392. description: 账号层级路径(逗号分隔,首尾加逗号)
  7393. type: string
  7394. taaccounttype:
  7395. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7396. type: integer
  7397. thirdinamount:
  7398. description: 今日三方入金
  7399. type: number
  7400. thirdoutamount:
  7401. description: 今日三方出金
  7402. type: number
  7403. tradestatus:
  7404. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7405. type: integer
  7406. tradestatuschangetime:
  7407. description: 激活时间
  7408. type: string
  7409. transferamount:
  7410. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7411. type: number
  7412. usedmargin:
  7413. description: 占用保证金
  7414. type: number
  7415. userid:
  7416. description: 用户ID
  7417. type: integer
  7418. required:
  7419. - accountid
  7420. - userid
  7421. type: object
  7422. models.Tablecolumnconfig:
  7423. properties:
  7424. aligntype:
  7425. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  7426. type: integer
  7427. autoid:
  7428. description: AutoID
  7429. type: integer
  7430. columnfield:
  7431. description: 列字段
  7432. type: string
  7433. columntitle:
  7434. description: 列Title
  7435. type: string
  7436. columnwidth:
  7437. description: 列宽
  7438. type: string
  7439. formatterstring:
  7440. description: 格式化字符
  7441. type: string
  7442. formattertype:
  7443. description: 格式化类型
  7444. type: string
  7445. groupname:
  7446. description: 表头分组名称
  7447. type: string
  7448. isshow:
  7449. description: 是否显示 - 0:不显示 1:显示
  7450. type: integer
  7451. needsummary:
  7452. description: 是否需要汇总 - 0:不需要 1:需要
  7453. type: integer
  7454. orderindex:
  7455. description: 顺序
  7456. type: integer
  7457. remark:
  7458. description: 备注
  7459. type: string
  7460. summarytype:
  7461. description: 汇总类型 - 1:加总 2:最后一个
  7462. type: integer
  7463. tablekey:
  7464. description: 列表Key
  7465. type: string
  7466. required:
  7467. - autoid
  7468. type: object
  7469. models.Useraccount:
  7470. properties:
  7471. accountname:
  7472. description: 账户名称(机构名称)
  7473. type: string
  7474. accountstatus:
  7475. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7476. type: integer
  7477. auditremark:
  7478. description: 审核备注
  7479. type: string
  7480. audittime:
  7481. description: 审核时间
  7482. type: string
  7483. audituserid:
  7484. description: 审核人
  7485. type: integer
  7486. broker:
  7487. description: 所属经纪人ID
  7488. type: integer
  7489. canceltime:
  7490. description: 销户时间
  7491. type: string
  7492. canceluserid:
  7493. description: 销户人
  7494. type: integer
  7495. createtime:
  7496. description: 创建时间
  7497. type: string
  7498. creatorid:
  7499. description: 创建人
  7500. type: integer
  7501. hasauth:
  7502. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7503. type: integer
  7504. isanonymous:
  7505. description: 是否匿名下单 - 0:否 1:是
  7506. type: integer
  7507. maxinvestornum:
  7508. description: 最大用户数(经纪会员下投资者个数)
  7509. type: integer
  7510. memberuserid:
  7511. description: 所属会员ID
  7512. type: integer
  7513. modifierid:
  7514. description: 修改人
  7515. type: integer
  7516. modifyremark:
  7517. description: 变更备注
  7518. type: string
  7519. modifystatus:
  7520. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7521. type: integer
  7522. modifytime:
  7523. description: 修改时间
  7524. type: string
  7525. parentuserid:
  7526. description: 所属机构ID
  7527. type: integer
  7528. reckonaccountid:
  7529. description: 默认结算资金账号ID(机构分润使用) 作废
  7530. type: integer
  7531. refercount:
  7532. description: 推荐总人数
  7533. type: integer
  7534. refereeuserid:
  7535. description: 推荐人ID
  7536. type: integer
  7537. refernum:
  7538. description: 推荐码
  7539. type: string
  7540. subarealevelpath:
  7541. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7542. type: string
  7543. userid:
  7544. description: 用户ID
  7545. type: integer
  7546. usertype:
  7547. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7548. type: integer
  7549. required:
  7550. - userid
  7551. type: object
  7552. models.Userfavoritegoods:
  7553. properties:
  7554. goodsid:
  7555. description: 商品ID
  7556. type: integer
  7557. required:
  7558. - goodsid
  7559. type: object
  7560. models.Userinfo:
  7561. properties:
  7562. address:
  7563. description: 地址
  7564. type: string
  7565. attachment1:
  7566. description: 附件1
  7567. type: string
  7568. attachment2:
  7569. description: 附件2
  7570. type: string
  7571. bankaccount:
  7572. description: 银行帐号 (加密存储)
  7573. type: string
  7574. bankaccountname:
  7575. description: 收款人名称
  7576. type: string
  7577. bankcardfrontphotourl:
  7578. description: 银行卡正面照地址
  7579. type: string
  7580. bankid:
  7581. description: 银行编码
  7582. type: string
  7583. bankname:
  7584. description: 银行名称
  7585. type: string
  7586. biznature:
  7587. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  7588. type: integer
  7589. bizscope:
  7590. description: 企业经营范围(企业)
  7591. type: string
  7592. cardbackphotourl:
  7593. description: 证件背面图片地址
  7594. type: string
  7595. cardfrontphotourl:
  7596. description: 证件正面图片地址
  7597. type: string
  7598. cardnum:
  7599. description: 证件号码(加密存储)
  7600. type: string
  7601. cardtypeid:
  7602. description: 证件类型ID
  7603. type: integer
  7604. cityid:
  7605. description: 市
  7606. type: integer
  7607. company:
  7608. description: 公司(个人)
  7609. type: string
  7610. contactname:
  7611. description: 联系人
  7612. type: string
  7613. countryid:
  7614. description: 国家
  7615. type: integer
  7616. createtime:
  7617. description: 创建时间
  7618. type: string
  7619. creatorid:
  7620. description: 创建人
  7621. type: integer
  7622. customername:
  7623. description: 客户名称(企业名称)
  7624. type: string
  7625. districtid:
  7626. description: 地区
  7627. type: integer
  7628. email:
  7629. description: 邮件(加密存储)
  7630. type: string
  7631. fax:
  7632. description: 传真(加密存储)
  7633. type: string
  7634. halfbodyphotourl:
  7635. description: 半身照地址
  7636. type: string
  7637. hasencrypt:
  7638. description: 数据是否已加密 - 0:未加密 1:已加密
  7639. type: integer
  7640. headurl:
  7641. description: 头像地址
  7642. type: string
  7643. legalcardbackphotourl:
  7644. description: 法人身份证背面照地址
  7645. type: string
  7646. legalcardfrontphotourl:
  7647. description: 法人身份证正面照地址
  7648. type: string
  7649. legalpersonname:
  7650. description: 法人姓名(企业)
  7651. type: string
  7652. mobile:
  7653. description: 手机号码(加密存储)
  7654. type: string
  7655. mobile2:
  7656. description: 手机号码[明文-尚志]
  7657. type: string
  7658. modifierid:
  7659. description: 修改人
  7660. type: integer
  7661. modifiertime:
  7662. description: 修改时间
  7663. type: string
  7664. needinvoice:
  7665. description: 是否需要发票 - 0:不需要 1:需要
  7666. type: integer
  7667. nickname:
  7668. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  7669. type: string
  7670. openmode:
  7671. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  7672. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  7673. type: integer
  7674. otherurl:
  7675. description: 其它图片地址[使用分号分隔]
  7676. type: string
  7677. postalcode:
  7678. description: 邮政编码
  7679. type: string
  7680. provinceid:
  7681. description: 省
  7682. type: integer
  7683. qq:
  7684. description: QQ(加密存储
  7685. type: string
  7686. remark:
  7687. description: 备注
  7688. type: string
  7689. sex:
  7690. description: '用户性别 0: 女 1: 男'
  7691. type: integer
  7692. signpdfurl:
  7693. description: 签约pdf文件
  7694. type: string
  7695. telphone:
  7696. description: 联系电话(加密存储)
  7697. type: string
  7698. userid:
  7699. description: 用户ID
  7700. type: integer
  7701. userinfotype:
  7702. description: 用户信息类型 - 1:个人 2:企业
  7703. type: integer
  7704. userstatus:
  7705. description: 用户状态 - 1:正常 2:注销
  7706. type: integer
  7707. usertype:
  7708. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7709. type: integer
  7710. wechat:
  7711. description: 微信(加密存储)
  7712. type: string
  7713. wskhinfo:
  7714. description: 开户申请信息(JSON)
  7715. type: string
  7716. required:
  7717. - userid
  7718. type: object
  7719. models.WRCategoryTree:
  7720. properties:
  7721. areauserid:
  7722. description: 所属机构
  7723. type: integer
  7724. categorydesc:
  7725. description: 类别描述
  7726. type: string
  7727. categoryid:
  7728. description: 类别ID(SEQ_WRCATEGORY)
  7729. type: integer
  7730. categoryname:
  7731. description: 类别名称
  7732. type: string
  7733. iconurl:
  7734. description: 图标地址
  7735. type: string
  7736. orderindex:
  7737. description: 顺序
  7738. type: integer
  7739. parentcategoryid:
  7740. description: 父类别ID
  7741. type: integer
  7742. subcategory:
  7743. description: 子分类
  7744. items:
  7745. $ref: '#/definitions/models.WRCategoryTree'
  7746. type: array
  7747. required:
  7748. - categoryid
  7749. type: object
  7750. models.WRSConverTDetail:
  7751. properties:
  7752. convertratio:
  7753. description: 套保系数
  7754. type: number
  7755. deliverygoodsid:
  7756. description: 现货品种ID
  7757. type: integer
  7758. middlegoodscode:
  7759. description: 套保品种代码
  7760. type: string
  7761. middlegoodsid:
  7762. description: 套保品种ID
  7763. type: integer
  7764. middlegoodsname:
  7765. description: 套保品种名称
  7766. type: string
  7767. modifytime:
  7768. description: 修改时间
  7769. type: string
  7770. wrstandardid:
  7771. description: 现货商品ID
  7772. type: integer
  7773. type: object
  7774. models.WRStandardInfo:
  7775. properties:
  7776. createtime:
  7777. description: 创建时间
  7778. type: string
  7779. creatorid:
  7780. description: 创建人
  7781. type: integer
  7782. deliverygoodsid:
  7783. description: 品种ID
  7784. type: integer
  7785. deliverygoodsname:
  7786. description: 交割商品名称
  7787. type: string
  7788. factoryitemjson:
  7789. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7790. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7791. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7792. 逗号分隔'
  7793. type: string
  7794. isvalid:
  7795. description: 是否有效 - 0:无效 1:有效
  7796. type: integer
  7797. minivalue:
  7798. description: 最小变动值
  7799. type: integer
  7800. minivaluedp:
  7801. description: 最小变动值小数位
  7802. type: integer
  7803. realminivalue:
  7804. description: 实际最小变动值
  7805. type: integer
  7806. realminivaluedp:
  7807. description: 实际最小变动值小数位
  7808. type: integer
  7809. unitid:
  7810. description: 单位ID
  7811. type: integer
  7812. unitname:
  7813. description: 单位
  7814. type: string
  7815. updatetime:
  7816. description: 更新时间
  7817. type: string
  7818. updatorid:
  7819. description: 更新人
  7820. type: integer
  7821. wrsstatus:
  7822. description: 状态 - 作废 - 0:未激活 1:正常
  7823. type: integer
  7824. wrstandardcode:
  7825. description: 仓单标准代码
  7826. type: string
  7827. wrstandardid:
  7828. description: 仓单标准ID(SEQ_WRSTANDARD)
  7829. type: integer
  7830. wrstandardname:
  7831. description: 仓单标准名称
  7832. type: string
  7833. required:
  7834. - wrstandardid
  7835. type: object
  7836. models.Warehouseinfo:
  7837. properties:
  7838. address:
  7839. description: 详细地址
  7840. type: string
  7841. areauserid:
  7842. description: 所属机构
  7843. type: integer
  7844. autoid:
  7845. description: 自增ID
  7846. type: integer
  7847. cityid:
  7848. description: 市
  7849. type: integer
  7850. contactname:
  7851. description: 联系人
  7852. type: string
  7853. contactnum:
  7854. description: 联系电话
  7855. type: string
  7856. countryid:
  7857. description: 国家
  7858. type: integer
  7859. createtime:
  7860. description: 创建时间
  7861. type: string
  7862. districtid:
  7863. description: 区
  7864. type: integer
  7865. hasvideo:
  7866. description: 是否有视频 - 0:无 1:有
  7867. type: integer
  7868. provinceid:
  7869. description: 省
  7870. type: integer
  7871. remark:
  7872. description: 审核备注
  7873. type: string
  7874. videourl:
  7875. description: 视频地址
  7876. type: string
  7877. warehousecode:
  7878. description: 仓库代码
  7879. type: string
  7880. warehousename:
  7881. description: 仓库名称
  7882. type: string
  7883. warehousestatus:
  7884. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7885. type: integer
  7886. warehousetype:
  7887. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7888. type: integer
  7889. required:
  7890. - autoid
  7891. - warehousecode
  7892. type: object
  7893. order.QueryHisTradeDetailRsp:
  7894. properties:
  7895. accountid:
  7896. description: 账户ID[报价币种]
  7897. type: integer
  7898. buildtype:
  7899. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7900. type: integer
  7901. buyorsell:
  7902. description: 方向 - 0:买 1:卖
  7903. type: integer
  7904. charge:
  7905. description: 手续费
  7906. type: number
  7907. closecharge:
  7908. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7909. type: number
  7910. closeexchagechargevalue:
  7911. description: 平仓交易所手续费设置值
  7912. type: number
  7913. closefeealgorithm:
  7914. description: 平仓手续费收取方式 1:比率 2:固定
  7915. type: integer
  7916. closememberchargevalue:
  7917. description: 平仓会员手续费设置值
  7918. type: number
  7919. closepl:
  7920. description: 平仓盈亏
  7921. type: number
  7922. closepl2:
  7923. description: 平仓盈亏[逐笔]
  7924. type: number
  7925. closeqty:
  7926. description: 平仓数量(先建后平操作 需要记录)
  7927. type: integer
  7928. creditamount:
  7929. description: 授信金额
  7930. type: number
  7931. gcaccountid:
  7932. description: 账户ID[合约币种]
  7933. type: integer
  7934. goodscode:
  7935. description: 商品代码
  7936. type: string
  7937. goodsid:
  7938. description: 商品ID
  7939. type: integer
  7940. goodsname:
  7941. description: 商品名称
  7942. type: string
  7943. histradedate:
  7944. description: 历史交易日
  7945. type: string
  7946. intclosepl:
  7947. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7948. type: integer
  7949. isconfirmexercise:
  7950. description: 是否确认行权- 0:否 1:是
  7951. type: integer
  7952. ismain:
  7953. description: 是否主单 - 0:不是 1:是
  7954. type: integer
  7955. ispreexercise:
  7956. description: 是否预申报- 0:否 1:是
  7957. type: integer
  7958. isreckoned:
  7959. description: 是否结算 - 0:未结算 1:已结算
  7960. type: integer
  7961. isvaliddata:
  7962. description: 是否有效 - 0:无效 1:有效
  7963. type: integer
  7964. listingselecttype:
  7965. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7966. type: integer
  7967. marketid:
  7968. description: 市场ID
  7969. type: integer
  7970. marketname:
  7971. description: 市场名称
  7972. type: string
  7973. matchaccountid:
  7974. description: 对手账号id
  7975. type: integer
  7976. memberuserid:
  7977. description: 会员id 个人投资者 需要填写
  7978. type: integer
  7979. opencharge:
  7980. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7981. type: number
  7982. openexchagechargevalue:
  7983. description: 建仓交易所手续费设置值
  7984. type: number
  7985. openfeealgorithm:
  7986. description: 建仓手续费收取方式 1:比率 2:固定
  7987. type: integer
  7988. openmemberchargevalue:
  7989. description: 建仓会员手续费设置值
  7990. type: number
  7991. openqty:
  7992. description: 开仓数量(先建后平操作 需要记录)
  7993. type: integer
  7994. optiontype:
  7995. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7996. type: integer
  7997. orderid:
  7998. description: 委托单号
  7999. type: string
  8000. performanceplanid:
  8001. description: 履约计划ID[期权]
  8002. type: integer
  8003. performancestatus:
  8004. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8005. type: integer
  8006. preexerciseprice:
  8007. description: 预申报价格
  8008. type: number
  8009. premium:
  8010. description: 权利金 - [持仓单的权利金]
  8011. type: number
  8012. relatedouttradeid:
  8013. description: 关联外部成交单ID
  8014. type: integer
  8015. status:
  8016. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8017. type: integer
  8018. tradeamount:
  8019. description: 成交金额[账户币种,用于所有权]
  8020. type: number
  8021. tradedate:
  8022. description: 交易日(yyyyMMdd)
  8023. type: string
  8024. tradeid:
  8025. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8026. type: string
  8027. trademode:
  8028. description: 交易模式
  8029. type: integer
  8030. tradeprice:
  8031. description: 成交价格
  8032. type: number
  8033. tradeproperty:
  8034. description: 交易属性
  8035. type: integer
  8036. tradeqty:
  8037. description: 成交数量
  8038. type: integer
  8039. tradetime:
  8040. description: 成交时间
  8041. type: string
  8042. tradetype:
  8043. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8044. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8045. type: integer
  8046. required:
  8047. - accountid
  8048. - buyorsell
  8049. - goodsid
  8050. - histradedate
  8051. - marketid
  8052. - memberuserid
  8053. - orderid
  8054. - tradeamount
  8055. - tradedate
  8056. - tradeid
  8057. - tradeprice
  8058. - tradeqty
  8059. - tradetime
  8060. type: object
  8061. order.QueryHisTradeOrderDetailRsp:
  8062. properties:
  8063. accountid:
  8064. description: 账户ID[报价币种]
  8065. type: integer
  8066. buildtype:
  8067. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8068. type: integer
  8069. buyorsell:
  8070. description: 买卖 - 0:买 1:卖
  8071. type: integer
  8072. cancelorderid:
  8073. description: 撤单单号(撤单时填写)
  8074. type: string
  8075. cancelqty:
  8076. description: 撤单数量
  8077. type: integer
  8078. clientordertime:
  8079. description: 客户端委托时间
  8080. type: string
  8081. clientticket:
  8082. description: 客户端流水号
  8083. type: string
  8084. clienttype:
  8085. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8086. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8087. type: integer
  8088. closeexchagechargevalue:
  8089. description: 平仓交易所手续费设置值
  8090. type: number
  8091. closefeealgorithm:
  8092. description: 平仓手续费收取方式 1:比率 2:固定
  8093. type: integer
  8094. closefreezecharge:
  8095. description: 平仓冻结手续费(先建后平操作,需要记录)
  8096. type: number
  8097. closememberchargevalue:
  8098. description: 平仓会员手续费设置值
  8099. type: number
  8100. closeqty:
  8101. description: 平仓数量(先建后平操作 需要记录)
  8102. type: integer
  8103. closetradeqty:
  8104. description: 平仓成交数量(先建后平操作,需要记录)
  8105. type: integer
  8106. closeunfreezecharge:
  8107. description: 平仓解冻手续费(先建后平操作,需要记录)
  8108. type: number
  8109. delistingtype:
  8110. description: 摘牌类型 - 1:价格最优 2:点选成交
  8111. type: integer
  8112. freezecharge:
  8113. description: 冻结手续费
  8114. type: number
  8115. freezemargin:
  8116. description: 冻结保证金(冻结交易金额)
  8117. type: number
  8118. gcaccountid:
  8119. description: 账户ID[合约币种]
  8120. type: integer
  8121. goodscode:
  8122. description: 商品代码
  8123. type: string
  8124. goodsid:
  8125. description: 商品ID
  8126. type: integer
  8127. goodsname:
  8128. description: 商品名称
  8129. type: string
  8130. histradedate:
  8131. description: 历史交易日
  8132. type: string
  8133. isconfirmexercise:
  8134. description: 是否确认行权- 0:否 1:是
  8135. type: integer
  8136. ispreexercise:
  8137. description: 是否预申报- 0:否 1:是
  8138. type: integer
  8139. isvaliddata:
  8140. description: 是否有效 - 0:无效 1:有效
  8141. type: integer
  8142. listingselecttype:
  8143. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8144. type: integer
  8145. marginalgorithm:
  8146. description: 保证金收取方式 1:比率 2:固定
  8147. type: integer
  8148. marginvalue:
  8149. description: 即市保证金设置值
  8150. type: number
  8151. marketid:
  8152. description: 市场ID
  8153. type: integer
  8154. marketmaxsub:
  8155. description: 市价最大偏移范围
  8156. type: number
  8157. marketname:
  8158. description: 市场名称
  8159. type: string
  8160. memberuserid:
  8161. description: 所属会员UserID
  8162. type: integer
  8163. openexchagechargevalue:
  8164. description: 建仓交易所手续费设置值
  8165. type: number
  8166. openfeealgorithm:
  8167. description: 建仓手续费收取方式 1:比率 2:固定
  8168. type: integer
  8169. openfreezecharge:
  8170. description: 开仓冻结手续费(先建后平操作,需要记录)
  8171. type: number
  8172. openmemberchargevalue:
  8173. description: 建仓会员手续费设置值
  8174. type: number
  8175. openqty:
  8176. description: 开仓数量(先建后平操作,需要记录)
  8177. type: integer
  8178. opentradeqty:
  8179. description: 开仓成交数量(先建后平操作,需要记录)
  8180. type: integer
  8181. openunfreezecharge:
  8182. description: 开仓解冻手续费(先建后平操作,需要记录)
  8183. type: number
  8184. operatetype:
  8185. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8186. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8187. 15:管理端协议转让
  8188. type: integer
  8189. operatorid:
  8190. description: 登录账号(LoginID)
  8191. type: integer
  8192. optiontype:
  8193. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8194. type: integer
  8195. orderid:
  8196. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8197. type: string
  8198. orderprice:
  8199. description: 委托价格
  8200. type: number
  8201. orderqty:
  8202. description: 委托数量
  8203. type: integer
  8204. ordersrc:
  8205. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8206. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8207. type: integer
  8208. orderstatus:
  8209. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8210. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8211. 16:成交失败违约(荷兰式竞拍专用)
  8212. type: integer
  8213. ordertime:
  8214. description: 委托时间
  8215. type: string
  8216. preexerciseprice:
  8217. description: 预申报价格
  8218. type: number
  8219. premium:
  8220. description: 权利金
  8221. type: number
  8222. preorderid:
  8223. description: 关联预埋单号(止盈止损单时填写)
  8224. type: string
  8225. pricemode:
  8226. description: '取价方式 - 1:市价 2: 限价'
  8227. type: integer
  8228. quoteid:
  8229. description: 报价单ID
  8230. type: integer
  8231. relatedid:
  8232. description: 关联单号(交割单)
  8233. type: string
  8234. retcode:
  8235. description: 错误代码
  8236. type: integer
  8237. sessionid:
  8238. description: 会话ID
  8239. type: integer
  8240. tradedate:
  8241. description: 交易日(yyyyMMdd)
  8242. type: string
  8243. trademode:
  8244. description: 交易模式
  8245. type: integer
  8246. tradeproperty:
  8247. description: 交易属性
  8248. type: integer
  8249. tradeqty:
  8250. description: 成交数量
  8251. type: integer
  8252. unfreezecharge:
  8253. description: 解冻手续费
  8254. type: number
  8255. unfreezemargin:
  8256. description: 解冻保证金
  8257. type: number
  8258. updatetime:
  8259. description: 更新时间
  8260. type: string
  8261. uuid:
  8262. description: 发起端唯一id
  8263. type: string
  8264. validtime:
  8265. description: 有效期限
  8266. type: string
  8267. validtype:
  8268. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8269. type: integer
  8270. volumetype:
  8271. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8272. type: integer
  8273. required:
  8274. - accountid
  8275. - buildtype
  8276. - buyorsell
  8277. - goodsid
  8278. - histradedate
  8279. - marketid
  8280. - memberuserid
  8281. - operatetype
  8282. - orderid
  8283. - orderqty
  8284. - ordertime
  8285. - pricemode
  8286. - tradedate
  8287. - validtype
  8288. type: object
  8289. order.QueryTradeDetailRsp:
  8290. properties:
  8291. accountid:
  8292. description: 账户ID[报价币种]
  8293. type: integer
  8294. buildtype:
  8295. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8296. type: integer
  8297. buyorsell:
  8298. description: 方向 - 0:买 1:卖
  8299. type: integer
  8300. charge:
  8301. description: 手续费
  8302. type: number
  8303. closecharge:
  8304. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8305. type: number
  8306. closeexchagechargevalue:
  8307. description: 平仓交易所手续费设置值
  8308. type: number
  8309. closefeealgorithm:
  8310. description: 平仓手续费收取方式 1:比率 2:固定
  8311. type: integer
  8312. closememberchargevalue:
  8313. description: 平仓会员手续费设置值
  8314. type: number
  8315. closepl:
  8316. description: 平仓盈亏
  8317. type: number
  8318. closepl2:
  8319. description: 平仓盈亏[逐笔]
  8320. type: number
  8321. closeqty:
  8322. description: 平仓数量(先建后平操作 需要记录)
  8323. type: integer
  8324. creditamount:
  8325. description: 授信金额
  8326. type: number
  8327. gcaccountid:
  8328. description: 账户ID[合约币种]
  8329. type: integer
  8330. goodscode:
  8331. description: 商品代码
  8332. type: string
  8333. goodsid:
  8334. description: 商品ID
  8335. type: integer
  8336. goodsname:
  8337. description: 商品名称
  8338. type: string
  8339. intclosepl:
  8340. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8341. type: integer
  8342. isconfirmexercise:
  8343. description: 是否确认行权- 0:否 1:是
  8344. type: integer
  8345. ismain:
  8346. description: 是否主单 - 0:不是 1:是
  8347. type: integer
  8348. ispreexercise:
  8349. description: 是否预申报- 0:否 1:是
  8350. type: integer
  8351. isreckoned:
  8352. description: 是否结算 - 0:未结算 1:已结算
  8353. type: integer
  8354. listingselecttype:
  8355. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8356. type: integer
  8357. marketid:
  8358. description: 市场ID
  8359. type: integer
  8360. marketname:
  8361. description: 市场名称
  8362. type: string
  8363. matchaccountid:
  8364. description: 对手账号id
  8365. type: integer
  8366. memberuserid:
  8367. description: 会员id 个人投资者 需要填写
  8368. type: integer
  8369. opencharge:
  8370. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8371. type: number
  8372. openexchagechargevalue:
  8373. description: 建仓交易所手续费设置值
  8374. type: number
  8375. openfeealgorithm:
  8376. description: 建仓手续费收取方式 1:比率 2:固定
  8377. type: integer
  8378. openmemberchargevalue:
  8379. description: 建仓会员手续费设置值
  8380. type: number
  8381. openqty:
  8382. description: 开仓数量(先建后平操作 需要记录)
  8383. type: integer
  8384. optiontype:
  8385. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8386. type: integer
  8387. orderid:
  8388. description: 委托单号
  8389. type: string
  8390. performanceplanid:
  8391. description: 履约计划ID[期权]
  8392. type: integer
  8393. performancestatus:
  8394. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8395. type: integer
  8396. preexerciseprice:
  8397. description: 预申报价格
  8398. type: number
  8399. premium:
  8400. description: 权利金 - [持仓单的权利金]
  8401. type: number
  8402. relatedouttradeid:
  8403. description: 关联外部成交单ID
  8404. type: integer
  8405. status:
  8406. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8407. type: integer
  8408. tradeamount:
  8409. description: 成交金额[账户币种,用于所有权]
  8410. type: number
  8411. tradedate:
  8412. description: 交易日(yyyyMMdd)
  8413. type: string
  8414. tradeid:
  8415. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8416. type: string
  8417. trademode:
  8418. description: 交易模式
  8419. type: integer
  8420. tradeprice:
  8421. description: 成交价格
  8422. type: number
  8423. tradeproperty:
  8424. description: 交易属性
  8425. type: integer
  8426. tradeqty:
  8427. description: 成交数量
  8428. type: integer
  8429. tradetime:
  8430. description: 成交时间
  8431. type: string
  8432. tradetype:
  8433. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8434. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8435. type: integer
  8436. required:
  8437. - accountid
  8438. - buyorsell
  8439. - goodsid
  8440. - marketid
  8441. - memberuserid
  8442. - orderid
  8443. - tradeamount
  8444. - tradedate
  8445. - tradeid
  8446. - tradeprice
  8447. - tradeqty
  8448. - tradetime
  8449. type: object
  8450. order.QueryTradeOrderDetailRsp:
  8451. properties:
  8452. accountid:
  8453. description: 账户ID[报价币种]
  8454. type: integer
  8455. buildtype:
  8456. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8457. type: integer
  8458. buyorsell:
  8459. description: 买卖 - 0:买 1:卖
  8460. type: integer
  8461. cancelorderid:
  8462. description: 撤单单号(撤单时填写)
  8463. type: string
  8464. cancelqty:
  8465. description: 撤单数量
  8466. type: integer
  8467. clienttype:
  8468. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8469. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8470. type: integer
  8471. closefreezecharge:
  8472. description: 平仓冻结手续费(先建后平操作,需要记录)
  8473. type: number
  8474. closeqty:
  8475. description: 平仓数量(先建后平操作 需要记录)
  8476. type: integer
  8477. closetradeqty:
  8478. description: 平仓成交数量(先建后平操作,需要记录)
  8479. type: integer
  8480. closeunfreezecharge:
  8481. description: 平仓解冻手续费(先建后平操作,需要记录)
  8482. type: number
  8483. delistingtype:
  8484. description: 摘牌类型 - 1:价格最优 2:点选成交
  8485. type: integer
  8486. enableqty:
  8487. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8488. type: integer
  8489. freezecharge:
  8490. description: 冻结手续费
  8491. type: number
  8492. freezemargin:
  8493. description: 冻结保证金(冻结交易金额)
  8494. type: number
  8495. goodscode:
  8496. description: 商品代码
  8497. type: string
  8498. goodsid:
  8499. description: 商品ID
  8500. type: integer
  8501. goodsname:
  8502. description: 商品名称
  8503. type: string
  8504. listingselecttype:
  8505. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8506. type: integer
  8507. marketid:
  8508. description: 市场ID
  8509. type: integer
  8510. marketname:
  8511. description: 市场名称
  8512. type: string
  8513. openfreezecharge:
  8514. description: 开仓冻结手续费(先建后平操作,需要记录)
  8515. type: number
  8516. openqty:
  8517. description: 开仓数量(先建后平操作,需要记录)
  8518. type: integer
  8519. opentradeqty:
  8520. description: 开仓成交数量(先建后平操作,需要记录)
  8521. type: integer
  8522. openunfreezecharge:
  8523. description: 开仓解冻手续费(先建后平操作,需要记录)
  8524. type: number
  8525. operatetype:
  8526. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8527. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8528. 15:管理端协议转让
  8529. type: integer
  8530. operatorid:
  8531. description: 登录账号(LoginID)
  8532. type: integer
  8533. orderid:
  8534. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8535. type: string
  8536. orderprice:
  8537. description: 委托价格
  8538. type: number
  8539. orderqty:
  8540. description: 委托数量
  8541. type: integer
  8542. ordersrc:
  8543. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8544. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8545. type: integer
  8546. orderstatus:
  8547. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8548. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8549. 16:成交失败违约(荷兰式竞拍专用)
  8550. type: integer
  8551. ordertime:
  8552. description: 委托时间
  8553. type: string
  8554. preorderid:
  8555. description: 关联预埋单号(止盈止损单时填写)
  8556. type: string
  8557. pricemode:
  8558. description: '取价方式 - 1:市价 2: 限价'
  8559. type: integer
  8560. relatedid:
  8561. description: 关联单号(交割单)
  8562. type: string
  8563. tradedate:
  8564. description: 交易日(yyyyMMdd)
  8565. type: string
  8566. trademode:
  8567. description: 交易模式
  8568. type: integer
  8569. tradeqty:
  8570. description: 成交数量
  8571. type: integer
  8572. unfreezecharge:
  8573. description: 解冻手续费
  8574. type: number
  8575. unfreezemargin:
  8576. description: 解冻保证金
  8577. type: number
  8578. validtime:
  8579. description: 有效期限
  8580. type: string
  8581. validtype:
  8582. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8583. type: integer
  8584. volumetype:
  8585. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8586. type: integer
  8587. required:
  8588. - accountid
  8589. - buildtype
  8590. - buyorsell
  8591. - goodsid
  8592. - marketid
  8593. - operatetype
  8594. - orderqty
  8595. - ordertime
  8596. - pricemode
  8597. - tradedate
  8598. - validtype
  8599. type: object
  8600. order.QueryTradePositionRsp:
  8601. properties:
  8602. accountid:
  8603. description: 资金账户
  8604. type: integer
  8605. agreeunit:
  8606. description: 合约单位
  8607. type: number
  8608. averageprice:
  8609. description: 持仓均价
  8610. type: number
  8611. buyorsell:
  8612. description: 方向 - 0:买 1:卖
  8613. type: integer
  8614. closetotalqty:
  8615. description: 平仓总数量
  8616. type: integer
  8617. curholderamount:
  8618. description: 当前持仓总金额[商品币种]
  8619. type: number
  8620. curpositionqty:
  8621. description: 当前持仓总数量
  8622. type: integer
  8623. currencyid:
  8624. description: 报价货币ID
  8625. type: integer
  8626. curtdposition:
  8627. description: 期末今日头寸
  8628. type: integer
  8629. decimalplace:
  8630. description: 报价小数位
  8631. type: integer
  8632. enableqty:
  8633. description: 可用量
  8634. type: integer
  8635. fretdposition:
  8636. description: 冻结今日头寸
  8637. type: integer
  8638. frozenqty:
  8639. description: 持仓冻结数量
  8640. type: integer
  8641. goodscode:
  8642. description: 商品代码
  8643. type: string
  8644. goodsid:
  8645. description: 商品Id
  8646. type: integer
  8647. goodsname:
  8648. description: 商品名称
  8649. type: string
  8650. goodunit:
  8651. description: 报价单位
  8652. type: string
  8653. goodunitid:
  8654. description: 报价单位ID
  8655. type: integer
  8656. holderamount:
  8657. description: 期初持仓总金额[商品币种]
  8658. type: number
  8659. marketid:
  8660. description: 所属市场ID
  8661. type: integer
  8662. openreqqty:
  8663. description: 开仓申请数量(用于比较最大持仓数量)
  8664. type: integer
  8665. opentotalqty:
  8666. description: 开仓总数量
  8667. type: integer
  8668. otherfrozenqty:
  8669. description: 持仓其他冻结数量(交割冻结)
  8670. type: integer
  8671. positionqty:
  8672. description: 期初持仓数量
  8673. type: integer
  8674. tnqty:
  8675. description: T+N冻结总量
  8676. type: integer
  8677. tnusedqty:
  8678. description: T+N使用量(可以使用T+N的冻结数量)
  8679. type: integer
  8680. trademode:
  8681. description: 交易模式
  8682. type: integer
  8683. usedmargin:
  8684. description: 占用保证金[商品币种]
  8685. type: number
  8686. required:
  8687. - goodsid
  8688. type: object
  8689. quote.HistoryData:
  8690. properties:
  8691. c:
  8692. description: 收盘价
  8693. type: number
  8694. f:
  8695. description: 是否补充数据
  8696. type: boolean
  8697. h:
  8698. description: 最高价
  8699. type: number
  8700. hv:
  8701. description: 持仓量
  8702. type: integer
  8703. l:
  8704. description: 最低价
  8705. type: number
  8706. o:
  8707. description: 开盘价
  8708. type: number
  8709. s:
  8710. description: 结算价,日线周期(包括)以上才有
  8711. type: number
  8712. ts:
  8713. description: 时间
  8714. type: string
  8715. tt:
  8716. description: 总金额
  8717. type: number
  8718. tv:
  8719. description: 总量
  8720. type: integer
  8721. type: object
  8722. quote.HistoryTikData:
  8723. properties:
  8724. AV:
  8725. description: 卖量
  8726. type: integer
  8727. Ask:
  8728. description: 卖价
  8729. type: number
  8730. BV:
  8731. description: 买量
  8732. type: integer
  8733. Bid:
  8734. description: 买价
  8735. type: number
  8736. HI:
  8737. description: 单笔持仓
  8738. type: integer
  8739. HV:
  8740. description: 持仓量
  8741. type: integer
  8742. PE:
  8743. description: 现价
  8744. type: number
  8745. TDR:
  8746. description: 交易方向,0:买 1:卖
  8747. type: integer
  8748. TK:
  8749. description: 交易类型
  8750. type: integer
  8751. TS:
  8752. description: 行情时间文本
  8753. type: string
  8754. TT:
  8755. description: 现金额
  8756. type: number
  8757. Vol:
  8758. description: 现量
  8759. type: integer
  8760. type: object
  8761. quote.QueryQuoteDayRsp:
  8762. properties:
  8763. ask:
  8764. description: 卖1
  8765. type: number
  8766. ask2:
  8767. description: 卖2
  8768. type: number
  8769. ask3:
  8770. description: 卖3
  8771. type: number
  8772. ask4:
  8773. description: 卖4
  8774. type: number
  8775. ask5:
  8776. description: 卖5
  8777. type: number
  8778. ask6:
  8779. description: 卖6
  8780. type: number
  8781. ask7:
  8782. description: 卖7
  8783. type: number
  8784. ask8:
  8785. description: 卖8
  8786. type: number
  8787. ask9:
  8788. description: 卖9
  8789. type: number
  8790. ask10:
  8791. description: 卖10
  8792. type: number
  8793. askorderid:
  8794. description: 卖单号1
  8795. type: integer
  8796. askorderid2:
  8797. description: 卖单号2
  8798. type: integer
  8799. askorderid3:
  8800. description: 卖单号3
  8801. type: integer
  8802. askorderid4:
  8803. description: 卖单号4
  8804. type: integer
  8805. askorderid5:
  8806. description: 卖单号5
  8807. type: integer
  8808. askordervolume:
  8809. description: 卖单量1
  8810. type: integer
  8811. askordervolume2:
  8812. description: 卖单量2
  8813. type: integer
  8814. askordervolume3:
  8815. description: 卖单量3
  8816. type: integer
  8817. askordervolume4:
  8818. description: 卖单量4
  8819. type: integer
  8820. askordervolume5:
  8821. description: 卖单量5
  8822. type: integer
  8823. askordervolume6:
  8824. description: 卖单量6
  8825. type: integer
  8826. askordervolume7:
  8827. description: 卖单量7
  8828. type: integer
  8829. askordervolume8:
  8830. description: 卖单量8
  8831. type: integer
  8832. askordervolume9:
  8833. description: 卖单量9
  8834. type: integer
  8835. askordervolume10:
  8836. description: 卖单量10
  8837. type: integer
  8838. askqueueinfo:
  8839. description: 大利市卖港股用
  8840. type: string
  8841. askvolume:
  8842. description: 卖量1
  8843. type: integer
  8844. askvolume2:
  8845. description: 卖量2
  8846. type: integer
  8847. askvolume3:
  8848. description: 卖量3
  8849. type: integer
  8850. askvolume4:
  8851. description: 卖量4
  8852. type: integer
  8853. askvolume5:
  8854. description: 卖量5
  8855. type: integer
  8856. askvolume6:
  8857. description: 卖量6
  8858. type: integer
  8859. askvolume7:
  8860. description: 卖量7
  8861. type: integer
  8862. askvolume8:
  8863. description: 卖量8
  8864. type: integer
  8865. askvolume9:
  8866. description: 卖量9
  8867. type: integer
  8868. askvolume10:
  8869. description: 卖量10
  8870. type: integer
  8871. averageprice:
  8872. description: 均价
  8873. type: number
  8874. bid:
  8875. description: 买1
  8876. type: number
  8877. bid2:
  8878. description: 买2
  8879. type: number
  8880. bid3:
  8881. description: 买3
  8882. type: number
  8883. bid4:
  8884. description: 买4
  8885. type: number
  8886. bid5:
  8887. description: 买5
  8888. type: number
  8889. bid6:
  8890. description: 买6
  8891. type: number
  8892. bid7:
  8893. description: 买7
  8894. type: number
  8895. bid8:
  8896. description: 买8
  8897. type: number
  8898. bid9:
  8899. description: 买9
  8900. type: number
  8901. bid10:
  8902. description: 买10
  8903. type: number
  8904. bidorderid:
  8905. description: 买单号1
  8906. type: integer
  8907. bidorderid2:
  8908. description: 买单号2
  8909. type: integer
  8910. bidorderid3:
  8911. description: 买单号3
  8912. type: integer
  8913. bidorderid4:
  8914. description: 买单号4
  8915. type: integer
  8916. bidorderid5:
  8917. description: 买单号5
  8918. type: integer
  8919. bidordervolume:
  8920. description: 买单量1
  8921. type: integer
  8922. bidordervolume2:
  8923. description: 买单量2
  8924. type: integer
  8925. bidordervolume3:
  8926. description: 买单量3
  8927. type: integer
  8928. bidordervolume4:
  8929. description: 买单量4
  8930. type: integer
  8931. bidordervolume5:
  8932. description: 买单量5
  8933. type: integer
  8934. bidordervolume6:
  8935. description: 买单量6
  8936. type: integer
  8937. bidordervolume7:
  8938. description: 买单量7
  8939. type: integer
  8940. bidordervolume8:
  8941. description: 买单量8
  8942. type: integer
  8943. bidordervolume9:
  8944. description: 买单量9
  8945. type: integer
  8946. bidordervolume10:
  8947. description: 买单量10
  8948. type: integer
  8949. bidqueueinfo:
  8950. description: 大利市买港股用
  8951. type: string
  8952. bidvolume:
  8953. description: 买量1
  8954. type: integer
  8955. bidvolume2:
  8956. description: 买量2
  8957. type: integer
  8958. bidvolume3:
  8959. description: 买量3
  8960. type: integer
  8961. bidvolume4:
  8962. description: 买量4
  8963. type: integer
  8964. bidvolume5:
  8965. description: 买量5
  8966. type: integer
  8967. bidvolume6:
  8968. description: 买量6
  8969. type: integer
  8970. bidvolume7:
  8971. description: 买量7
  8972. type: integer
  8973. bidvolume8:
  8974. description: 买量8
  8975. type: integer
  8976. bidvolume9:
  8977. description: 买量9
  8978. type: integer
  8979. bidvolume10:
  8980. description: 买量10
  8981. type: integer
  8982. calloptionpremiums:
  8983. description: 认购期权1
  8984. type: integer
  8985. calloptionpremiums2:
  8986. description: 认购期权2
  8987. type: integer
  8988. calloptionpremiums3:
  8989. description: 认购期权3
  8990. type: integer
  8991. calloptionpremiums4:
  8992. description: 认购期权4
  8993. type: integer
  8994. calloptionpremiums5:
  8995. description: 认购期权5
  8996. type: integer
  8997. cleartime:
  8998. description: 清盘时间
  8999. type: integer
  9000. exchangecode:
  9001. description: 交易所代码
  9002. type: integer
  9003. exchangedate:
  9004. description: 交易日
  9005. type: integer
  9006. goodscode:
  9007. description: 商品代码
  9008. type: string
  9009. grepmarketprice:
  9010. description: 暗盘价 港股专用
  9011. type: number
  9012. highest:
  9013. description: 最高价
  9014. type: number
  9015. holdincrement:
  9016. description: 单笔持仓
  9017. type: integer
  9018. holdvolume:
  9019. description: 持仓
  9020. type: integer
  9021. iep:
  9022. description: 平衡价 港股专用
  9023. type: number
  9024. iev:
  9025. description: 平衡量 港股专用
  9026. type: number
  9027. inventory:
  9028. description: 库存
  9029. type: integer
  9030. iscleared:
  9031. description: 是否清盘标志
  9032. type: integer
  9033. issettled:
  9034. description: 是否结算标志
  9035. type: integer
  9036. last:
  9037. description: 最新价
  9038. type: number
  9039. lastlot:
  9040. description: 最新成交手数
  9041. type: integer
  9042. lasttime:
  9043. description: 行情时间(只有现价变化行情时间才变化)
  9044. type: string
  9045. lastturnover:
  9046. description: 最新成交金额
  9047. type: number
  9048. lastvolume:
  9049. description: 最新成交量
  9050. type: integer
  9051. limitdown:
  9052. description: 跌停价
  9053. type: number
  9054. limitup:
  9055. description: 涨停价
  9056. type: number
  9057. lowest:
  9058. description: 最低价
  9059. type: number
  9060. nontotalholdervolume:
  9061. description: 非交易持仓量
  9062. type: integer
  9063. nontotallot:
  9064. description: 非交易总手数
  9065. type: integer
  9066. nontotalturnover:
  9067. description: 非交易总金额
  9068. type: integer
  9069. nontotalvolume:
  9070. description: 非交易总量
  9071. type: integer
  9072. opened:
  9073. description: 开盘价
  9074. type: number
  9075. opentime:
  9076. description: 开盘时间
  9077. type: string
  9078. orderid:
  9079. description: 序号
  9080. type: integer
  9081. preclose:
  9082. description: 昨收
  9083. type: number
  9084. preholdvolume:
  9085. description: 昨持仓
  9086. type: integer
  9087. presettle:
  9088. description: 昨结价
  9089. type: number
  9090. publictradetype:
  9091. description: 公共交易标志类型 港股专用
  9092. type: string
  9093. putoptionpremiums:
  9094. description: 认沽期权1
  9095. type: integer
  9096. putoptionpremiums2:
  9097. description: 认沽期权2
  9098. type: integer
  9099. putoptionpremiums3:
  9100. description: 认沽期权3
  9101. type: integer
  9102. putoptionpremiums4:
  9103. description: 认沽期权4
  9104. type: integer
  9105. putoptionpremiums5:
  9106. description: 认沽期权5
  9107. type: integer
  9108. settle:
  9109. description: 结算价
  9110. type: number
  9111. strikeprice:
  9112. description: 发行价
  9113. type: number
  9114. totalaskvolume:
  9115. description: 内盘
  9116. type: integer
  9117. totalbidvolume:
  9118. description: 外盘
  9119. type: integer
  9120. totallot:
  9121. description: 总手数
  9122. type: integer
  9123. totalturnover:
  9124. description: 总金额
  9125. type: number
  9126. totalvolume:
  9127. description: 总量
  9128. type: integer
  9129. utclasttime:
  9130. description: utc的行情时间
  9131. type: string
  9132. type: object
  9133. quote.QueryTSDataRsp:
  9134. properties:
  9135. Count:
  9136. description: 交易日应有数据个数
  9137. type: integer
  9138. decimalPlace:
  9139. description: 小数位
  9140. type: integer
  9141. endTime:
  9142. description: 结束时间
  9143. type: string
  9144. goodsCode:
  9145. description: 商品代码
  9146. type: string
  9147. historyDatas:
  9148. description: 历史数据
  9149. items:
  9150. $ref: '#/definitions/quote.HistoryData'
  9151. type: array
  9152. outGoodsCode:
  9153. description: 外部商品代码
  9154. type: string
  9155. preSettle:
  9156. description: 昨结价
  9157. type: number
  9158. runSteps:
  9159. description: 交易日开休市计划
  9160. items:
  9161. $ref: '#/definitions/quote.TSDataRunStep'
  9162. type: array
  9163. startTime:
  9164. description: 开始时间
  9165. type: string
  9166. tradeDate:
  9167. description: 交易日
  9168. type: string
  9169. type: object
  9170. quote.TSDataRunStep:
  9171. properties:
  9172. end:
  9173. description: 真实结束时间
  9174. type: string
  9175. endflag:
  9176. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  9177. type: integer
  9178. endtime:
  9179. description: 结束时间(HH:mm)
  9180. type: string
  9181. endweekday:
  9182. description: 结束周几
  9183. type: integer
  9184. groupid:
  9185. description: 分组ID
  9186. type: integer
  9187. runstep:
  9188. description: 运行阶段 - 2:连续交易
  9189. type: integer
  9190. sectionid:
  9191. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  9192. 结束时间=结算时间 结束周几=结算周几
  9193. type: integer
  9194. start:
  9195. description: 真实开始时间
  9196. type: string
  9197. startflag:
  9198. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  9199. type: integer
  9200. starttime:
  9201. description: 起始时间(HH:mm)
  9202. type: string
  9203. startweekday:
  9204. description: 起始周几
  9205. type: integer
  9206. tradeweekday:
  9207. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  9208. type: integer
  9209. type: object
  9210. szdz.QueryConvertLogRsp:
  9211. properties:
  9212. accountid:
  9213. description: 资金账户ID
  9214. type: integer
  9215. clientticket:
  9216. description: 客户端流水号
  9217. type: string
  9218. converttype:
  9219. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  9220. type: integer
  9221. createtime:
  9222. description: 记账时间
  9223. type: string
  9224. daymaxvalue:
  9225. description: 配置当日最大转入限制
  9226. type: number
  9227. daymaxvalue2:
  9228. description: 配置当日最大转入限制(转入)
  9229. type: number
  9230. goodscode:
  9231. description: 商品代码
  9232. type: string
  9233. goodsname:
  9234. description: 商品名称
  9235. type: string
  9236. handlestatus:
  9237. description: 处理状态
  9238. type: integer
  9239. innergoodsid:
  9240. description: 内部商品ID
  9241. type: integer
  9242. inratio:
  9243. description: 配置转入比值
  9244. type: integer
  9245. invalue:
  9246. description: 目标值
  9247. type: number
  9248. logid:
  9249. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9250. type: integer
  9251. mobile:
  9252. description: 手机号码(加密存储)
  9253. type: string
  9254. outergoodscode:
  9255. description: 外部商品代码[JD\PD]
  9256. type: string
  9257. outratio:
  9258. description: 配置转出比值
  9259. type: integer
  9260. outvalue:
  9261. description: 源值
  9262. type: number
  9263. pddecimalplace:
  9264. description: PD小数位
  9265. type: integer
  9266. qty:
  9267. description: 数量
  9268. type: string
  9269. remark:
  9270. description: 备注
  9271. type: string
  9272. sessionid:
  9273. description: 会话ID
  9274. type: integer
  9275. timemaxvalue:
  9276. description: 配置单次最大转入限制
  9277. type: number
  9278. timemaxvalue2:
  9279. description: 配置单次最大转入限制(转入)
  9280. type: number
  9281. timeminvalue:
  9282. description: 配置单次最小数量限制
  9283. type: number
  9284. timeminvalue2:
  9285. description: 配置单次最小数量限制(转入)
  9286. type: number
  9287. tradedate:
  9288. description: 交易日(yyyyMMdd)
  9289. type: string
  9290. userid:
  9291. description: 用户ID
  9292. type: integer
  9293. required:
  9294. - logid
  9295. type: object
  9296. szdz.QueryGoodsPickupRsp:
  9297. properties:
  9298. accountid:
  9299. description: 账户ID
  9300. type: integer
  9301. address:
  9302. description: 提货人详细地址
  9303. type: string
  9304. auditer:
  9305. description: 审核人
  9306. type: integer
  9307. audittime:
  9308. description: 审核时间
  9309. type: string
  9310. cardnum:
  9311. description: 提货人证件号码
  9312. type: string
  9313. cardtypeid:
  9314. description: 提货人证件类型
  9315. type: integer
  9316. checkremark:
  9317. description: 审核备注
  9318. type: string
  9319. goodscode:
  9320. description: 商品代码
  9321. type: string
  9322. goodsid:
  9323. description: 商品ID
  9324. type: integer
  9325. goodsname:
  9326. description: 商品名称
  9327. type: string
  9328. handlestatus:
  9329. description: 处理状态
  9330. type: integer
  9331. marketid:
  9332. description: 市场ID
  9333. type: integer
  9334. phonenum:
  9335. description: 提货人联系方式
  9336. type: string
  9337. qty:
  9338. description: 提货数量
  9339. type: number
  9340. recivername:
  9341. description: 提货人姓名
  9342. type: string
  9343. reqtime:
  9344. description: 更新时间
  9345. type: string
  9346. takemode:
  9347. description: 提货方式 - 2:自提 3:配送
  9348. type: integer
  9349. takeorderid:
  9350. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9351. type: string
  9352. takeorderstatus:
  9353. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9354. type: integer
  9355. takeremark:
  9356. description: 提货备注
  9357. type: string
  9358. tradedate:
  9359. description: 交易日(yyyyMMdd)
  9360. type: string
  9361. userid:
  9362. description: 用户ID
  9363. type: integer
  9364. required:
  9365. - takeorderid
  9366. type: object
  9367. szdz.QueryRecieptOrderRsp:
  9368. properties:
  9369. accountName:
  9370. description: 所属账号名称(已脱敏)
  9371. type: string
  9372. accountid:
  9373. description: 资金账号
  9374. type: integer
  9375. buyorsell:
  9376. description: 方向 - 0:买 1:卖
  9377. type: integer
  9378. enableqty:
  9379. description: 可摘数量
  9380. type: integer
  9381. goodscode:
  9382. description: 商品代码
  9383. type: string
  9384. goodsid:
  9385. description: 商品ID
  9386. type: integer
  9387. goodsname:
  9388. description: 商品名称
  9389. type: string
  9390. orderid:
  9391. description: 委托单号
  9392. type: string
  9393. orderprice:
  9394. description: 委托价格
  9395. type: number
  9396. ordertime:
  9397. description: 委托时间
  9398. type: string
  9399. tradedate:
  9400. description: 交易日(yyyyMMdd)
  9401. type: string
  9402. required:
  9403. - ordertime
  9404. type: object
  9405. szdz.QuerySZDZTradePositionRsp:
  9406. properties:
  9407. accountid:
  9408. description: 账号Id
  9409. type: integer
  9410. agreeunit:
  9411. description: 合约单位
  9412. type: number
  9413. averageprice:
  9414. description: 持仓均价
  9415. type: number
  9416. buyorsell:
  9417. description: 方向 - 0:买 1:卖
  9418. type: integer
  9419. closetotalqty:
  9420. description: 平仓总数量
  9421. type: integer
  9422. curholderamount:
  9423. description: 当前持仓总金额
  9424. type: number
  9425. curpositionqty:
  9426. description: 当前持仓总数量
  9427. type: integer
  9428. currencyid:
  9429. description: 报价货币ID
  9430. type: integer
  9431. curtdposition:
  9432. description: 期末今日头寸
  9433. type: integer
  9434. decimalplace:
  9435. description: 报价小数位
  9436. type: integer
  9437. enableqty:
  9438. description: 可用量
  9439. type: integer
  9440. fretdposition:
  9441. description: 冻结今日头寸
  9442. type: integer
  9443. frozenqty:
  9444. description: 持仓冻结数量
  9445. type: integer
  9446. goodscode:
  9447. description: 商品代码(内部)
  9448. type: string
  9449. goodsid:
  9450. description: 商品Id
  9451. type: integer
  9452. goodsname:
  9453. description: 商品名称
  9454. type: string
  9455. goodunit:
  9456. description: 报价单位
  9457. type: string
  9458. goodunitid:
  9459. description: 报价单位ID
  9460. type: integer
  9461. holderamount:
  9462. description: 期初持仓总金额
  9463. type: number
  9464. marketid:
  9465. description: 市场ID
  9466. type: integer
  9467. openreqqty:
  9468. description: 开仓申请数量
  9469. type: integer
  9470. opentotalqty:
  9471. description: 开仓总数量
  9472. type: integer
  9473. otherfrozenqty:
  9474. description: 持仓其他冻结数量(交割冻结)
  9475. type: integer
  9476. positionqty:
  9477. description: 期初持仓数量
  9478. type: integer
  9479. szdz3freezqty:
  9480. description: 尚志大宗转换冻结总数量
  9481. type: integer
  9482. tnqty:
  9483. description: T+N冻结总量
  9484. type: integer
  9485. tnusedqty:
  9486. description: T+N使用量
  9487. type: integer
  9488. trademode:
  9489. description: 交易模式
  9490. type: integer
  9491. usedmargin:
  9492. description: 占用保证金
  9493. type: number
  9494. type: object
  9495. taaccount.QueryAmountLogRsp:
  9496. properties:
  9497. OPERATETYPENAME:
  9498. description: 资金操作类型名称
  9499. type: string
  9500. accountid:
  9501. description: 资金账户ID
  9502. type: integer
  9503. agoodscode:
  9504. description: 竞拍商品代码
  9505. type: string
  9506. agoodsname:
  9507. description: 竞拍商品名称
  9508. type: string
  9509. amount:
  9510. description: 资金金额
  9511. type: number
  9512. amountadjusttype:
  9513. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9514. type: integer
  9515. autoid:
  9516. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9517. type: integer
  9518. balance:
  9519. description: 期初余额
  9520. type: number
  9521. businesscode:
  9522. description: 业务编号
  9523. type: integer
  9524. createtime:
  9525. description: 发生时间
  9526. type: string
  9527. currencyid:
  9528. description: 币种ID
  9529. type: integer
  9530. currentbalance:
  9531. description: 期末余额(变动后金额)
  9532. type: number
  9533. dgoodscode:
  9534. description: 交割商品代码
  9535. type: string
  9536. dgoodsname:
  9537. description: 交割商品名称
  9538. type: string
  9539. goodscode:
  9540. description: 商品代码
  9541. type: string
  9542. goodsid:
  9543. description: 商品ID
  9544. type: integer
  9545. goodsname:
  9546. description: 商品名称
  9547. type: string
  9548. marketid:
  9549. description: 市场ID
  9550. type: integer
  9551. marketname:
  9552. description: 市场名称
  9553. type: string
  9554. moneyticket:
  9555. description: 资金流水号:银行端流水号
  9556. type: integer
  9557. operatetype:
  9558. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9559. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9560. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9561. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9562. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9563. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9564. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9565. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9566. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9567. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9568. type: integer
  9569. relationorderid:
  9570. description: 关联单号
  9571. type: string
  9572. remark:
  9573. description: 备注
  9574. type: string
  9575. trademode:
  9576. description: 交易模式
  9577. type: integer
  9578. required:
  9579. - accountid
  9580. - amount
  9581. - amountadjusttype
  9582. - autoid
  9583. - balance
  9584. - createtime
  9585. - currentbalance
  9586. - operatetype
  9587. type: object
  9588. taaccount.QueryHisAmountLogRsp:
  9589. properties:
  9590. OPERATETYPENAME:
  9591. description: 资金操作类型名称
  9592. type: string
  9593. accountid:
  9594. description: 资金账户ID
  9595. type: integer
  9596. agoodscode:
  9597. description: 竞拍商品代码
  9598. type: string
  9599. agoodsname:
  9600. description: 竞拍商品名称
  9601. type: string
  9602. amount:
  9603. description: 资金金额
  9604. type: number
  9605. amountadjusttype:
  9606. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9607. type: integer
  9608. autoid:
  9609. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9610. type: integer
  9611. balance:
  9612. description: 期初余额
  9613. type: number
  9614. businesscode:
  9615. description: 业务编号
  9616. type: integer
  9617. createtime:
  9618. description: 发生时间
  9619. type: string
  9620. currencyid:
  9621. description: 币种ID
  9622. type: integer
  9623. currentbalance:
  9624. description: 期末余额(变动后金额)
  9625. type: number
  9626. dgoodscode:
  9627. description: 交割商品代码
  9628. type: string
  9629. dgoodsname:
  9630. description: 交割商品名称
  9631. type: string
  9632. goodscode:
  9633. description: 商品代码
  9634. type: string
  9635. goodsid:
  9636. description: 商品ID
  9637. type: integer
  9638. goodsname:
  9639. description: 商品名称
  9640. type: string
  9641. histradedate:
  9642. description: 历史交易日
  9643. type: string
  9644. isvaliddata:
  9645. description: 是否有效 - 0:无效 1:有效
  9646. type: integer
  9647. marketid:
  9648. description: 市场ID
  9649. type: integer
  9650. marketname:
  9651. description: 市场名称
  9652. type: string
  9653. moneyticket:
  9654. description: 资金流水号:银行端流水号
  9655. type: integer
  9656. operatetype:
  9657. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9658. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9659. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9660. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9661. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9662. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9663. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9664. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9665. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9666. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9667. type: integer
  9668. relationorderid:
  9669. description: 关联单号
  9670. type: string
  9671. remark:
  9672. description: 备注
  9673. type: string
  9674. trademode:
  9675. description: 交易模式
  9676. type: integer
  9677. required:
  9678. - accountid
  9679. - amount
  9680. - amountadjusttype
  9681. - autoid
  9682. - balance
  9683. - createtime
  9684. - currentbalance
  9685. - histradedate
  9686. - operatetype
  9687. type: object
  9688. trade.QueryRecieptOrderRsp:
  9689. properties:
  9690. accountName:
  9691. description: 所属账号名称(已脱敏)
  9692. type: string
  9693. accountid:
  9694. description: 资金账号
  9695. type: integer
  9696. buyorsell:
  9697. description: 方向 - 0:买 1:卖
  9698. type: integer
  9699. enableqty:
  9700. description: 可摘数量
  9701. type: integer
  9702. goodscode:
  9703. description: 商品代码
  9704. type: string
  9705. goodsid:
  9706. description: 商品ID
  9707. type: integer
  9708. goodsname:
  9709. description: 商品名称
  9710. type: string
  9711. orderid:
  9712. description: 委托单号
  9713. type: string
  9714. orderprice:
  9715. description: 委托价格
  9716. type: number
  9717. ordertime:
  9718. description: 委托时间
  9719. type: string
  9720. tradedate:
  9721. description: 交易日(yyyyMMdd)
  9722. type: string
  9723. required:
  9724. - ordertime
  9725. type: object
  9726. user.LoginQueryRsp:
  9727. properties:
  9728. externalExchanges:
  9729. description: 外部交易所
  9730. items:
  9731. $ref: '#/definitions/models.Externalexchange'
  9732. type: array
  9733. goodsgroups:
  9734. description: 商品组
  9735. items:
  9736. $ref: '#/definitions/models.Goodsgroup'
  9737. type: array
  9738. loginAccount:
  9739. $ref: '#/definitions/models.Loginaccount'
  9740. description: 登录账号
  9741. type: object
  9742. markets:
  9743. description: 市场
  9744. items:
  9745. $ref: '#/definitions/models.Market'
  9746. type: array
  9747. systemParams:
  9748. description: 系统参数
  9749. items:
  9750. $ref: '#/definitions/models.Systemparam'
  9751. type: array
  9752. userAccount:
  9753. $ref: '#/definitions/models.Useraccount'
  9754. description: 用户账号
  9755. type: object
  9756. userInfo:
  9757. $ref: '#/definitions/models.Userinfo'
  9758. description: 用户信息
  9759. type: object
  9760. username:
  9761. description: 用户姓名
  9762. type: string
  9763. type: object
  9764. info:
  9765. contact: {}
  9766. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  9767. license: {}
  9768. termsOfService: http://muchinfo.cn
  9769. title: MTP2.0 查询服务 API
  9770. version: "1.0"
  9771. paths:
  9772. /CPTrade/QueryCPTradeMyBidInfos:
  9773. get:
  9774. parameters:
  9775. - description: 资金账户
  9776. in: query
  9777. name: accountid
  9778. required: true
  9779. type: integer
  9780. - description: 预售市场ID
  9781. in: query
  9782. name: marketid
  9783. type: integer
  9784. - description: 预售商品ID
  9785. in: query
  9786. name: goodsid
  9787. type: integer
  9788. produces:
  9789. - application/json
  9790. responses:
  9791. "200":
  9792. description: OK
  9793. schema:
  9794. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  9795. "500":
  9796. description: Internal Server Error
  9797. schema:
  9798. $ref: '#/definitions/app.Response'
  9799. security:
  9800. - ApiKeyAuth: []
  9801. summary: 查询产能预售我的出价信息
  9802. tags:
  9803. - 产能预售
  9804. /CPTrade/QueryCPTradeOrderDetail:
  9805. get:
  9806. parameters:
  9807. - description: 预售商品ID
  9808. in: query
  9809. name: goodsid
  9810. type: integer
  9811. - description: 预售市场ID
  9812. in: query
  9813. name: marketid
  9814. type: integer
  9815. - description: 预售商品ID列表 - 格式:1,2,3
  9816. in: query
  9817. name: goodsids
  9818. type: string
  9819. produces:
  9820. - application/json
  9821. responses:
  9822. "200":
  9823. description: OK
  9824. schema:
  9825. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  9826. "500":
  9827. description: Internal Server Error
  9828. schema:
  9829. $ref: '#/definitions/app.Response'
  9830. security:
  9831. - ApiKeyAuth: []
  9832. summary: 查询产能预售委托单信息
  9833. tags:
  9834. - 产能预售
  9835. /CPTrade/QueryMyCPTradeGoods:
  9836. get:
  9837. parameters:
  9838. - description: 资金账户
  9839. in: query
  9840. name: accountid
  9841. required: true
  9842. type: integer
  9843. produces:
  9844. - application/json
  9845. responses:
  9846. "200":
  9847. description: OK
  9848. schema:
  9849. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  9850. "500":
  9851. description: Internal Server Error
  9852. schema:
  9853. $ref: '#/definitions/app.Response'
  9854. security:
  9855. - ApiKeyAuth: []
  9856. summary: 查询我的预售信息
  9857. tags:
  9858. - 产能预售
  9859. /CPTrade/QueryPositionCancel:
  9860. get:
  9861. parameters:
  9862. - description: 账户ID
  9863. in: query
  9864. name: userid
  9865. required: true
  9866. type: integer
  9867. - description: 注销ID
  9868. in: query
  9869. name: cancelid
  9870. type: integer
  9871. - description: 资金账户ID
  9872. in: query
  9873. name: accountid
  9874. type: integer
  9875. produces:
  9876. - application/json
  9877. responses:
  9878. "200":
  9879. description: OK
  9880. schema:
  9881. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  9882. "500":
  9883. description: Internal Server Error
  9884. schema:
  9885. $ref: '#/definitions/app.Response'
  9886. security:
  9887. - ApiKeyAuth: []
  9888. summary: 查询远期订单注销申请信息
  9889. tags:
  9890. - 产能预售
  9891. /CPTrade/QueryPreasleApply:
  9892. get:
  9893. parameters:
  9894. - description: 账户ID
  9895. in: query
  9896. name: userid
  9897. required: true
  9898. type: integer
  9899. - description: 申请ID
  9900. in: query
  9901. name: applyid
  9902. type: integer
  9903. - description: 资金账户ID
  9904. in: query
  9905. name: accountid
  9906. type: integer
  9907. produces:
  9908. - application/json
  9909. responses:
  9910. "200":
  9911. description: OK
  9912. schema:
  9913. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  9914. "500":
  9915. description: Internal Server Error
  9916. schema:
  9917. $ref: '#/definitions/app.Response'
  9918. security:
  9919. - ApiKeyAuth: []
  9920. summary: 查询产能预售申请信息
  9921. tags:
  9922. - 产能预售
  9923. /CPTrade/QueryPresaleGoodsEx:
  9924. get:
  9925. parameters:
  9926. - description: 预售商品ID
  9927. in: query
  9928. name: goodsid
  9929. type: integer
  9930. - description: 预售市场ID
  9931. in: query
  9932. name: marketid
  9933. type: integer
  9934. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  9935. in: query
  9936. name: presalemode
  9937. type: integer
  9938. - description: 预售商品ID列表 - 格式:1,2,3
  9939. in: query
  9940. name: goodsids
  9941. type: string
  9942. - description: 预售商品代码
  9943. in: query
  9944. name: goodscode
  9945. type: string
  9946. produces:
  9947. - application/json
  9948. responses:
  9949. "200":
  9950. description: OK
  9951. schema:
  9952. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  9953. "500":
  9954. description: Internal Server Error
  9955. schema:
  9956. $ref: '#/definitions/app.Response'
  9957. security:
  9958. - ApiKeyAuth: []
  9959. summary: 查询产能预售商品扩展信息
  9960. tags:
  9961. - 产能预售
  9962. /CPTrade/QueryUserGoodsData:
  9963. get:
  9964. parameters:
  9965. - description: 资金账户ID
  9966. in: query
  9967. name: accountid
  9968. required: true
  9969. type: integer
  9970. produces:
  9971. - application/json
  9972. responses:
  9973. "200":
  9974. description: OK
  9975. schema:
  9976. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9977. "500":
  9978. description: Internal Server Error
  9979. schema:
  9980. $ref: '#/definitions/app.Response'
  9981. security:
  9982. - ApiKeyAuth: []
  9983. summary: 查询远期订单信息
  9984. tags:
  9985. - 产能预售
  9986. /Common/GetAllEnums:
  9987. get:
  9988. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9989. parameters:
  9990. - description: 起始自增ID
  9991. in: query
  9992. name: autoid
  9993. type: integer
  9994. produces:
  9995. - application/json
  9996. responses:
  9997. "200":
  9998. description: OK
  9999. schema:
  10000. $ref: '#/definitions/models.Enumdicitem'
  10001. "500":
  10002. description: Internal Server Error
  10003. schema:
  10004. $ref: '#/definitions/app.Response'
  10005. summary: 获取所有枚举信息
  10006. tags:
  10007. - 通用服务
  10008. /Common/GetDivisions:
  10009. get:
  10010. produces:
  10011. - application/json
  10012. responses:
  10013. "200":
  10014. description: OK
  10015. schema:
  10016. $ref: '#/definitions/models.Division'
  10017. "500":
  10018. description: Internal Server Error
  10019. schema:
  10020. $ref: '#/definitions/app.Response'
  10021. summary: 查询区域信息
  10022. tags:
  10023. - 通用服务
  10024. /Common/GetPCMenus:
  10025. get:
  10026. parameters:
  10027. - description: 资源代码
  10028. in: query
  10029. name: resourceCode
  10030. type: string
  10031. - description: 上级资源代码
  10032. in: query
  10033. name: parentCode
  10034. type: string
  10035. produces:
  10036. - application/json
  10037. responses:
  10038. "200":
  10039. description: OK
  10040. schema:
  10041. items:
  10042. $ref: '#/definitions/models.Funcmenulist'
  10043. type: array
  10044. "500":
  10045. description: Internal Server Error
  10046. schema:
  10047. $ref: '#/definitions/app.Response'
  10048. summary: 获取PC交易端菜单
  10049. tags:
  10050. - 通用服务
  10051. /Common/GetServerTime:
  10052. get:
  10053. produces:
  10054. - application/json
  10055. responses:
  10056. "200":
  10057. description: OK
  10058. schema:
  10059. $ref: '#/definitions/app.Response'
  10060. "500":
  10061. description: Internal Server Error
  10062. schema:
  10063. $ref: '#/definitions/app.Response'
  10064. summary: 获取服务器时间
  10065. tags:
  10066. - 通用服务
  10067. /Common/NoticeReaded:
  10068. post:
  10069. parameters:
  10070. - description: 登录账号
  10071. in: query
  10072. name: loginID
  10073. required: true
  10074. type: integer
  10075. - description: 通知公告ID
  10076. in: query
  10077. name: noticeID
  10078. required: true
  10079. type: integer
  10080. produces:
  10081. - application/json
  10082. responses:
  10083. "200":
  10084. description: OK
  10085. schema:
  10086. $ref: '#/definitions/app.Response'
  10087. "500":
  10088. description: Internal Server Error
  10089. schema:
  10090. $ref: '#/definitions/app.Response'
  10091. security:
  10092. - ApiKeyAuth: []
  10093. summary: 通知公告设置已读请求
  10094. tags:
  10095. - 通用服务
  10096. /Common/QueryErrorInfos:
  10097. get:
  10098. description: 如果传入rowNumber,则返回此rowNumber后的数据
  10099. parameters:
  10100. - description: 起始行号前索引
  10101. in: query
  10102. name: rowNumber
  10103. type: string
  10104. produces:
  10105. - application/json
  10106. responses:
  10107. "200":
  10108. description: OK
  10109. schema:
  10110. $ref: '#/definitions/models.QueryErrorInfosRsp'
  10111. "500":
  10112. description: Internal Server Error
  10113. schema:
  10114. $ref: '#/definitions/app.Response'
  10115. summary: 获取数据库错误信息
  10116. tags:
  10117. - 通用服务
  10118. /Common/QueryImageConfigs:
  10119. get:
  10120. parameters:
  10121. - description: 类型 - 1:App首页轮播 2:我的
  10122. in: query
  10123. name: imageType
  10124. type: integer
  10125. produces:
  10126. - application/json
  10127. responses:
  10128. "200":
  10129. description: OK
  10130. schema:
  10131. $ref: '#/definitions/common.QueryImageConfigsRsp'
  10132. "500":
  10133. description: Internal Server Error
  10134. schema:
  10135. $ref: '#/definitions/app.Response'
  10136. summary: 查询轮播图配置信息
  10137. tags:
  10138. - 通用服务
  10139. /Common/QueryNotice:
  10140. get:
  10141. parameters:
  10142. - description: 页码
  10143. in: query
  10144. name: page
  10145. type: integer
  10146. - description: 每页条数
  10147. in: query
  10148. name: pagesize
  10149. type: integer
  10150. - description: 登录账号
  10151. in: query
  10152. name: loginID
  10153. required: true
  10154. type: integer
  10155. - description: 消息类型 - 1:公告通知 2:系统消息
  10156. in: query
  10157. name: msgType
  10158. type: integer
  10159. - description: 是否只获取未读信息
  10160. in: query
  10161. name: onlyUnRead
  10162. type: boolean
  10163. - description: 自增ID,传入后会返回这个ID后面的记录
  10164. in: query
  10165. name: lastID
  10166. type: integer
  10167. produces:
  10168. - application/json
  10169. responses:
  10170. "200":
  10171. description: OK
  10172. schema:
  10173. $ref: '#/definitions/common.QueryNoticeRsp'
  10174. "500":
  10175. description: Internal Server Error
  10176. schema:
  10177. $ref: '#/definitions/app.Response'
  10178. security:
  10179. - ApiKeyAuth: []
  10180. summary: 通知公告系统消息查询
  10181. tags:
  10182. - 通用服务
  10183. /Common/QueryProvincesAndCities:
  10184. get:
  10185. parameters:
  10186. - description: 省ID
  10187. in: query
  10188. name: provinceID
  10189. type: integer
  10190. produces:
  10191. - application/json
  10192. responses:
  10193. "200":
  10194. description: OK
  10195. schema:
  10196. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  10197. "500":
  10198. description: Internal Server Error
  10199. schema:
  10200. $ref: '#/definitions/app.Response'
  10201. summary: 查询省市信息(不包括区)
  10202. tags:
  10203. - 通用服务
  10204. /Common/QueryTableDefine:
  10205. get:
  10206. parameters:
  10207. - description: 表key
  10208. in: query
  10209. name: tableKey
  10210. type: string
  10211. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  10212. in: query
  10213. name: tableType
  10214. type: integer
  10215. produces:
  10216. - application/json
  10217. responses:
  10218. "200":
  10219. description: OK
  10220. schema:
  10221. $ref: '#/definitions/common.QueryTableDefineRsp'
  10222. "500":
  10223. description: Internal Server Error
  10224. schema:
  10225. $ref: '#/definitions/app.Response'
  10226. summary: 查询交易端列表头信息
  10227. tags:
  10228. - 通用服务
  10229. /Common/QueryTraderMenu:
  10230. get:
  10231. parameters:
  10232. - description: 登录账号
  10233. in: query
  10234. name: loginid
  10235. required: true
  10236. type: integer
  10237. produces:
  10238. - application/json
  10239. responses:
  10240. "200":
  10241. description: OK
  10242. schema:
  10243. $ref: '#/definitions/common.QueryTraderMenuRsp'
  10244. "500":
  10245. description: Internal Server Error
  10246. schema:
  10247. $ref: '#/definitions/app.Response'
  10248. summary: 查询交易端菜单
  10249. tags:
  10250. - 通用服务
  10251. /Delivery/QueryDeliveryRelation:
  10252. get:
  10253. parameters:
  10254. - description: 商品ID
  10255. in: query
  10256. name: goodsid
  10257. type: integer
  10258. - description: 品种ID
  10259. in: query
  10260. name: deliverygoodsid
  10261. type: integer
  10262. - description: 市场ID
  10263. in: query
  10264. name: marketid
  10265. type: integer
  10266. produces:
  10267. - application/json
  10268. responses:
  10269. "200":
  10270. description: OK
  10271. schema:
  10272. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  10273. "500":
  10274. description: Internal Server Error
  10275. schema:
  10276. $ref: '#/definitions/app.Response'
  10277. security:
  10278. - ApiKeyAuth: []
  10279. summary: 查询商品交割关系表
  10280. tags:
  10281. - 交割服务
  10282. /Ermcp/GetErmcpGoods:
  10283. get:
  10284. parameters:
  10285. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  10286. in: query
  10287. name: lastUpdateTime
  10288. type: string
  10289. produces:
  10290. - application/json
  10291. responses:
  10292. "200":
  10293. description: OK
  10294. schema:
  10295. $ref: '#/definitions/models.Goods'
  10296. "500":
  10297. description: Internal Server Error
  10298. schema:
  10299. $ref: '#/definitions/app.Response'
  10300. security:
  10301. - ApiKeyAuth: []
  10302. summary: 查询企业风管期货商品信息
  10303. tags:
  10304. - 企业风险管理(app)
  10305. /Ermcp/GetErmcpGoodsSortByPosition:
  10306. get:
  10307. parameters:
  10308. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  10309. in: query
  10310. name: sortIndex
  10311. type: string
  10312. produces:
  10313. - application/json
  10314. responses:
  10315. "200":
  10316. description: OK
  10317. schema:
  10318. $ref: '#/definitions/models.Goodssortbypreposition'
  10319. "500":
  10320. description: Internal Server Error
  10321. schema:
  10322. $ref: '#/definitions/app.Response'
  10323. security:
  10324. - ApiKeyAuth: []
  10325. summary: 查询企业风管期货主力、次主力商品信息
  10326. tags:
  10327. - 企业风险管理(app)
  10328. /Ermcp/GetErmcpRoleFuncMenuLists:
  10329. get:
  10330. parameters:
  10331. - description: 登录账号
  10332. in: query
  10333. name: loginID
  10334. required: true
  10335. type: integer
  10336. produces:
  10337. - application/json
  10338. responses:
  10339. "200":
  10340. description: OK
  10341. schema:
  10342. $ref: '#/definitions/models.Funcmenulist'
  10343. "500":
  10344. description: Internal Server Error
  10345. schema:
  10346. $ref: '#/definitions/app.Response'
  10347. security:
  10348. - ApiKeyAuth: []
  10349. summary: 获取企业风管终端权限
  10350. tags:
  10351. - 企业风险管理(app)
  10352. /Ermcp/QryReportDayExposure:
  10353. get:
  10354. parameters:
  10355. - description: 用户ID
  10356. in: query
  10357. name: userid
  10358. required: true
  10359. type: integer
  10360. - description: 交易日(格式:yyyyMMdd)
  10361. in: query
  10362. name: tradedate
  10363. required: true
  10364. type: string
  10365. produces:
  10366. - application/json
  10367. responses:
  10368. "200":
  10369. description: OK
  10370. schema:
  10371. items:
  10372. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  10373. type: array
  10374. "500":
  10375. description: Internal Server Error
  10376. schema:
  10377. $ref: '#/definitions/app.Response'
  10378. security:
  10379. - ApiKeyAuth: []
  10380. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  10381. tags:
  10382. - 企业风险管理(app)
  10383. /Ermcp/QryReportDayFinance:
  10384. get:
  10385. parameters:
  10386. - description: 用户ID
  10387. in: query
  10388. name: userid
  10389. required: true
  10390. type: integer
  10391. - description: 交易日(格式:yyyyMMdd)
  10392. in: query
  10393. name: tradedate
  10394. required: true
  10395. type: string
  10396. produces:
  10397. - application/json
  10398. responses:
  10399. "200":
  10400. description: OK
  10401. schema:
  10402. items:
  10403. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  10404. type: array
  10405. "500":
  10406. description: Internal Server Error
  10407. schema:
  10408. $ref: '#/definitions/app.Response'
  10409. security:
  10410. - ApiKeyAuth: []
  10411. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  10412. tags:
  10413. - 企业风险管理(app)
  10414. /Ermcp/QryReportDayFinanceFp:
  10415. get:
  10416. parameters:
  10417. - description: 用户ID
  10418. in: query
  10419. name: userid
  10420. required: true
  10421. type: integer
  10422. - description: 交易日(格式:yyyyMMdd)
  10423. in: query
  10424. name: tradedate
  10425. required: true
  10426. type: string
  10427. produces:
  10428. - application/json
  10429. responses:
  10430. "200":
  10431. description: OK
  10432. schema:
  10433. items:
  10434. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10435. type: array
  10436. "500":
  10437. description: Internal Server Error
  10438. schema:
  10439. $ref: '#/definitions/app.Response'
  10440. security:
  10441. - ApiKeyAuth: []
  10442. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  10443. tags:
  10444. - 企业风险管理(app)
  10445. /Ermcp/QryReportDayFinanceKx:
  10446. get:
  10447. parameters:
  10448. - description: 用户ID
  10449. in: query
  10450. name: userid
  10451. required: true
  10452. type: integer
  10453. - description: 交易日(格式:yyyyMMdd)
  10454. in: query
  10455. name: tradedate
  10456. required: true
  10457. type: string
  10458. produces:
  10459. - application/json
  10460. responses:
  10461. "200":
  10462. description: OK
  10463. schema:
  10464. items:
  10465. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  10466. type: array
  10467. "500":
  10468. description: Internal Server Error
  10469. schema:
  10470. $ref: '#/definitions/app.Response'
  10471. security:
  10472. - ApiKeyAuth: []
  10473. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  10474. tags:
  10475. - 企业风险管理(app)
  10476. /Ermcp/QryReportDaySpot:
  10477. get:
  10478. parameters:
  10479. - description: 用户ID
  10480. in: query
  10481. name: userid
  10482. required: true
  10483. type: integer
  10484. - description: 交易日(格式:yyyyMMdd)
  10485. in: query
  10486. name: tradedate
  10487. required: true
  10488. type: string
  10489. produces:
  10490. - application/json
  10491. responses:
  10492. "200":
  10493. description: OK
  10494. schema:
  10495. items:
  10496. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  10497. type: array
  10498. "500":
  10499. description: Internal Server Error
  10500. schema:
  10501. $ref: '#/definitions/app.Response'
  10502. security:
  10503. - ApiKeyAuth: []
  10504. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  10505. tags:
  10506. - 企业风险管理(app)
  10507. /Ermcp/QryReportDaySpotDetail:
  10508. get:
  10509. parameters:
  10510. - description: 用户ID
  10511. in: query
  10512. name: userid
  10513. required: true
  10514. type: integer
  10515. - description: 现货商品id
  10516. in: query
  10517. name: wrstandardid
  10518. required: true
  10519. type: integer
  10520. - description: 交易日(格式:yyyyMMdd)
  10521. in: query
  10522. name: tradedate
  10523. required: true
  10524. type: string
  10525. produces:
  10526. - application/json
  10527. responses:
  10528. "200":
  10529. description: OK
  10530. schema:
  10531. items:
  10532. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  10533. type: array
  10534. "500":
  10535. description: Internal Server Error
  10536. schema:
  10537. $ref: '#/definitions/app.Response'
  10538. security:
  10539. - ApiKeyAuth: []
  10540. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  10541. tags:
  10542. - 企业风险管理(app)
  10543. /Ermcp/QryReportMonthFinance:
  10544. get:
  10545. parameters:
  10546. - description: 用户ID
  10547. in: query
  10548. name: userid
  10549. required: true
  10550. type: integer
  10551. - description: 周期时间:月(格式:yyyyMM)
  10552. in: query
  10553. name: cycletime
  10554. required: true
  10555. type: string
  10556. produces:
  10557. - application/json
  10558. responses:
  10559. "200":
  10560. description: OK
  10561. schema:
  10562. items:
  10563. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  10564. type: array
  10565. "500":
  10566. description: Internal Server Error
  10567. schema:
  10568. $ref: '#/definitions/app.Response'
  10569. security:
  10570. - ApiKeyAuth: []
  10571. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  10572. tags:
  10573. - 企业风险管理(app)
  10574. /Ermcp/QryReportMonthSpot:
  10575. get:
  10576. parameters:
  10577. - description: 用户ID
  10578. in: query
  10579. name: userid
  10580. required: true
  10581. type: integer
  10582. - description: 周期时间:月(格式:yyyyMM)
  10583. in: query
  10584. name: cycletime
  10585. required: true
  10586. type: string
  10587. produces:
  10588. - application/json
  10589. responses:
  10590. "200":
  10591. description: OK
  10592. schema:
  10593. items:
  10594. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  10595. type: array
  10596. "500":
  10597. description: Internal Server Error
  10598. schema:
  10599. $ref: '#/definitions/app.Response'
  10600. security:
  10601. - ApiKeyAuth: []
  10602. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  10603. tags:
  10604. - 企业风险管理(app)
  10605. /Ermcp/QryReportMonthSpotDetail:
  10606. get:
  10607. parameters:
  10608. - description: 用户ID
  10609. in: query
  10610. name: userid
  10611. required: true
  10612. type: integer
  10613. - description: 现货商品id
  10614. in: query
  10615. name: wrstandardid
  10616. required: true
  10617. type: integer
  10618. - description: 周期时间:月(格式:yyyyMM)
  10619. in: query
  10620. name: cycletime
  10621. required: true
  10622. type: string
  10623. produces:
  10624. - application/json
  10625. responses:
  10626. "200":
  10627. description: OK
  10628. schema:
  10629. items:
  10630. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  10631. type: array
  10632. "500":
  10633. description: Internal Server Error
  10634. schema:
  10635. $ref: '#/definitions/app.Response'
  10636. security:
  10637. - ApiKeyAuth: []
  10638. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  10639. tags:
  10640. - 企业风险管理(app)
  10641. /Ermcp/QueryAreaStock:
  10642. get:
  10643. parameters:
  10644. - description: 用户ID
  10645. in: query
  10646. name: userid
  10647. required: true
  10648. type: integer
  10649. produces:
  10650. - application/json
  10651. responses:
  10652. "200":
  10653. description: OK
  10654. schema:
  10655. items:
  10656. $ref: '#/definitions/models.ErmcpAreaStock'
  10657. type: array
  10658. "500":
  10659. description: Internal Server Error
  10660. schema:
  10661. $ref: '#/definitions/app.Response'
  10662. security:
  10663. - ApiKeyAuth: []
  10664. summary: 查询机构库存(库存管理/当前库存)
  10665. tags:
  10666. - 企业风险管理(app)
  10667. /Ermcp/QueryAreaStockApply:
  10668. get:
  10669. parameters:
  10670. - description: 用户ID
  10671. in: query
  10672. name: userid
  10673. required: true
  10674. type: integer
  10675. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  10676. in: query
  10677. name: inouttype
  10678. type: string
  10679. - description: 合同ID
  10680. in: query
  10681. name: spotcontractid
  10682. type: integer
  10683. - description: 现货商品ID
  10684. in: query
  10685. name: wrstandardid
  10686. type: integer
  10687. - description: 品牌ID
  10688. in: query
  10689. name: spotgoodsbrandid
  10690. type: integer
  10691. - description: 型号ID
  10692. in: query
  10693. name: spotgoodsmodelid
  10694. type: integer
  10695. - description: 仓库ID
  10696. in: query
  10697. name: warehouseinfoid
  10698. type: integer
  10699. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10700. in: query
  10701. name: applystatus
  10702. type: string
  10703. produces:
  10704. - application/json
  10705. responses:
  10706. "200":
  10707. description: OK
  10708. schema:
  10709. items:
  10710. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  10711. type: array
  10712. "500":
  10713. description: Internal Server Error
  10714. schema:
  10715. $ref: '#/definitions/app.Response'
  10716. security:
  10717. - ApiKeyAuth: []
  10718. summary: 查询库存申请(出入库记录|库存审核)
  10719. tags:
  10720. - 企业风险管理(app)
  10721. /Ermcp/QueryAreaStockApplySum:
  10722. get:
  10723. parameters:
  10724. - description: 合同ID
  10725. in: query
  10726. name: spotcontractid
  10727. type: integer
  10728. produces:
  10729. - application/json
  10730. responses:
  10731. "200":
  10732. description: OK
  10733. schema:
  10734. items:
  10735. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  10736. type: array
  10737. "500":
  10738. description: Internal Server Error
  10739. schema:
  10740. $ref: '#/definitions/app.Response'
  10741. security:
  10742. - ApiKeyAuth: []
  10743. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  10744. tags:
  10745. - 企业风险管理(app)
  10746. /Ermcp/QueryAreaStockReport:
  10747. get:
  10748. parameters:
  10749. - description: 用户ID
  10750. in: query
  10751. name: userid
  10752. required: true
  10753. type: integer
  10754. - description: 查询类型 1-日报表 2-月报表
  10755. in: query
  10756. name: querytype
  10757. required: true
  10758. type: integer
  10759. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  10760. in: query
  10761. name: querydate
  10762. required: true
  10763. type: string
  10764. - description: 现货商品ID
  10765. in: query
  10766. name: wrstandardid
  10767. type: integer
  10768. - description: 品牌ID
  10769. in: query
  10770. name: spotgoodsbrandid
  10771. type: integer
  10772. - description: 型号ID
  10773. in: query
  10774. name: spotgoodsmodelid
  10775. type: integer
  10776. - description: 仓库ID
  10777. in: query
  10778. name: warehouseinfoid
  10779. type: integer
  10780. produces:
  10781. - application/json
  10782. responses:
  10783. "200":
  10784. description: OK
  10785. schema:
  10786. items:
  10787. $ref: '#/definitions/models.ErmcpAreaStockReport'
  10788. type: array
  10789. "500":
  10790. description: Internal Server Error
  10791. schema:
  10792. $ref: '#/definitions/app.Response'
  10793. security:
  10794. - ApiKeyAuth: []
  10795. summary: 查询库存报表
  10796. tags:
  10797. - 企业风险管理(app)
  10798. /Ermcp/QueryAreaStockReportDetail:
  10799. get:
  10800. parameters:
  10801. - description: 用户ID
  10802. in: query
  10803. name: userid
  10804. required: true
  10805. type: integer
  10806. - description: 查询类型 1-日报表明细 2-月报表明细
  10807. in: query
  10808. name: querytype
  10809. required: true
  10810. type: integer
  10811. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  10812. in: query
  10813. name: detailtype
  10814. required: true
  10815. type: integer
  10816. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  10817. in: query
  10818. name: querydate
  10819. required: true
  10820. type: string
  10821. - description: 现货商品ID
  10822. in: query
  10823. name: wrstandardid
  10824. type: integer
  10825. - description: 品牌ID
  10826. in: query
  10827. name: spotgoodsbrandid
  10828. type: integer
  10829. - description: 型号ID
  10830. in: query
  10831. name: spotgoodsmodelid
  10832. type: integer
  10833. - description: 仓库ID
  10834. in: query
  10835. name: warehouseinfoid
  10836. type: integer
  10837. produces:
  10838. - application/json
  10839. responses:
  10840. "200":
  10841. description: OK
  10842. schema:
  10843. items:
  10844. $ref: '#/definitions/models.ErmcpAreaStockApply'
  10845. type: array
  10846. "500":
  10847. description: Internal Server Error
  10848. schema:
  10849. $ref: '#/definitions/app.Response'
  10850. security:
  10851. - ApiKeyAuth: []
  10852. summary: 查询库存报表明细
  10853. tags:
  10854. - 企业风险管理(app)
  10855. /Ermcp/QueryAvaildGoodsGroup:
  10856. get:
  10857. parameters:
  10858. - description: 所属机构ID
  10859. in: query
  10860. name: userid
  10861. required: true
  10862. type: integer
  10863. produces:
  10864. - application/json
  10865. responses:
  10866. "200":
  10867. description: OK
  10868. schema:
  10869. items:
  10870. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  10871. type: array
  10872. "500":
  10873. description: Internal Server Error
  10874. schema:
  10875. $ref: '#/definitions/app.Response'
  10876. security:
  10877. - ApiKeyAuth: []
  10878. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  10879. tags:
  10880. - 企业风险管理(app)
  10881. /Ermcp/QueryBusinessDj:
  10882. get:
  10883. parameters:
  10884. - description: 用户ID
  10885. in: query
  10886. name: UserId
  10887. required: true
  10888. type: integer
  10889. - description: 现货合同ID, 不填则查所有
  10890. in: query
  10891. name: relatedid
  10892. type: string
  10893. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10894. in: query
  10895. name: applystatus
  10896. type: string
  10897. produces:
  10898. - application/json
  10899. responses:
  10900. "200":
  10901. description: OK
  10902. schema:
  10903. items:
  10904. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  10905. type: array
  10906. "500":
  10907. description: Internal Server Error
  10908. schema:
  10909. $ref: '#/definitions/app.Response'
  10910. security:
  10911. - ApiKeyAuth: []
  10912. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  10913. tags:
  10914. - 企业风险管理(app)
  10915. /Ermcp/QueryBusinessFp:
  10916. get:
  10917. parameters:
  10918. - description: 用户ID
  10919. in: query
  10920. name: UserId
  10921. required: true
  10922. type: integer
  10923. - description: 现货合同ID, 不填则查所有
  10924. in: query
  10925. name: relatedid
  10926. type: string
  10927. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10928. in: query
  10929. name: applystatus
  10930. type: string
  10931. produces:
  10932. - application/json
  10933. responses:
  10934. "200":
  10935. description: OK
  10936. schema:
  10937. items:
  10938. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  10939. type: array
  10940. "500":
  10941. description: Internal Server Error
  10942. schema:
  10943. $ref: '#/definitions/app.Response'
  10944. security:
  10945. - ApiKeyAuth: []
  10946. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  10947. tags:
  10948. - 企业风险管理(app)
  10949. /Ermcp/QueryBusinessJs:
  10950. get:
  10951. parameters:
  10952. - description: 用户ID
  10953. in: query
  10954. name: UserId
  10955. required: true
  10956. type: integer
  10957. - description: 现货合同ID, 不填则查所有
  10958. in: query
  10959. name: relatedid
  10960. type: string
  10961. - description: 操作申请id
  10962. in: query
  10963. name: operateapplyid
  10964. type: string
  10965. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10966. in: query
  10967. name: applystatus
  10968. type: string
  10969. produces:
  10970. - application/json
  10971. responses:
  10972. "200":
  10973. description: OK
  10974. schema:
  10975. items:
  10976. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  10977. type: array
  10978. "500":
  10979. description: Internal Server Error
  10980. schema:
  10981. $ref: '#/definitions/app.Response'
  10982. security:
  10983. - ApiKeyAuth: []
  10984. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  10985. tags:
  10986. - 企业风险管理(app)
  10987. /Ermcp/QueryBusinessJsEx:
  10988. get:
  10989. parameters:
  10990. - description: 用户ID
  10991. in: query
  10992. name: UserId
  10993. required: true
  10994. type: integer
  10995. - description: 现货合同ID, 不填则查所有
  10996. in: query
  10997. name: relatedid
  10998. type: string
  10999. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11000. in: query
  11001. name: applystatus
  11002. type: string
  11003. produces:
  11004. - application/json
  11005. responses:
  11006. "200":
  11007. description: OK
  11008. schema:
  11009. items:
  11010. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  11011. type: array
  11012. "500":
  11013. description: Internal Server Error
  11014. schema:
  11015. $ref: '#/definitions/app.Response'
  11016. security:
  11017. - ApiKeyAuth: []
  11018. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  11019. tags:
  11020. - 企业风险管理(app)
  11021. /Ermcp/QueryBusinessKx:
  11022. get:
  11023. parameters:
  11024. - description: 用户ID
  11025. in: query
  11026. name: UserId
  11027. required: true
  11028. type: integer
  11029. - description: 现货合同ID, 不填则查所有
  11030. in: query
  11031. name: relatedid
  11032. type: string
  11033. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11034. in: query
  11035. name: applystatus
  11036. type: string
  11037. produces:
  11038. - application/json
  11039. responses:
  11040. "200":
  11041. description: OK
  11042. schema:
  11043. items:
  11044. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  11045. type: array
  11046. "500":
  11047. description: Internal Server Error
  11048. schema:
  11049. $ref: '#/definitions/app.Response'
  11050. security:
  11051. - ApiKeyAuth: []
  11052. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  11053. tags:
  11054. - 企业风险管理(app)
  11055. /Ermcp/QueryChangeLog:
  11056. get:
  11057. parameters:
  11058. - description: 合同ID
  11059. in: query
  11060. name: RelatedId
  11061. required: true
  11062. type: string
  11063. produces:
  11064. - application/json
  11065. responses:
  11066. "200":
  11067. description: OK
  11068. schema:
  11069. items:
  11070. $ref: '#/definitions/ermcp.QryOPLogRsp'
  11071. type: array
  11072. "500":
  11073. description: Internal Server Error
  11074. schema:
  11075. $ref: '#/definitions/app.Response'
  11076. security:
  11077. - ApiKeyAuth: []
  11078. summary: 查询变更记录
  11079. tags:
  11080. - 企业风险管理(app)
  11081. /Ermcp/QueryContract:
  11082. get:
  11083. parameters:
  11084. - description: 用户ID
  11085. in: query
  11086. name: userId
  11087. required: true
  11088. type: integer
  11089. - description: 合同类型 1-采购, -1-销售
  11090. in: query
  11091. name: contracttype
  11092. required: true
  11093. type: integer
  11094. - description: 查询类型 1-全部 2-待点价 3-履约结算
  11095. in: query
  11096. name: querytype
  11097. required: true
  11098. type: integer
  11099. - description: 合同ID(SpotContractId)
  11100. in: query
  11101. name: contractid
  11102. type: string
  11103. produces:
  11104. - application/json
  11105. responses:
  11106. "200":
  11107. description: OK
  11108. schema:
  11109. items:
  11110. $ref: '#/definitions/ermcp.QryErmcpRsp'
  11111. type: array
  11112. "500":
  11113. description: Internal Server Error
  11114. schema:
  11115. $ref: '#/definitions/app.Response'
  11116. security:
  11117. - ApiKeyAuth: []
  11118. summary: 查询合同(采购和销售)
  11119. tags:
  11120. - 企业风险管理(app)
  11121. /Ermcp/QueryErmcpHisOrderDetails:
  11122. get:
  11123. parameters:
  11124. - description: 资金账户ID
  11125. in: query
  11126. name: accountID
  11127. required: true
  11128. type: integer
  11129. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11130. in: query
  11131. name: startDate
  11132. type: string
  11133. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11134. in: query
  11135. name: endDate
  11136. type: string
  11137. produces:
  11138. - application/json
  11139. responses:
  11140. "200":
  11141. description: OK
  11142. schema:
  11143. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11144. "500":
  11145. description: Internal Server Error
  11146. schema:
  11147. $ref: '#/definitions/app.Response'
  11148. security:
  11149. - ApiKeyAuth: []
  11150. summary: 获取企业风管期货历史委托单信息
  11151. tags:
  11152. - 企业风险管理(app)
  11153. /Ermcp/QueryErmcpHisTradeDetails:
  11154. get:
  11155. parameters:
  11156. - description: 资金账户ID
  11157. in: query
  11158. name: accountID
  11159. required: true
  11160. type: integer
  11161. - description: 商品ID
  11162. in: query
  11163. name: goodsID
  11164. type: integer
  11165. - description: 买卖方向,0:买 1:卖
  11166. in: query
  11167. name: buyOrSell
  11168. type: integer
  11169. - description: 关联委托单号
  11170. in: query
  11171. name: orderID
  11172. type: integer
  11173. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11174. in: query
  11175. name: startDate
  11176. type: string
  11177. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11178. in: query
  11179. name: endDate
  11180. type: string
  11181. produces:
  11182. - application/json
  11183. responses:
  11184. "200":
  11185. description: OK
  11186. schema:
  11187. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11188. "500":
  11189. description: Internal Server Error
  11190. schema:
  11191. $ref: '#/definitions/app.Response'
  11192. security:
  11193. - ApiKeyAuth: []
  11194. summary: 获取企业风管期货历史成交单信息
  11195. tags:
  11196. - 企业风险管理(app)
  11197. /Ermcp/QueryErmcpOrderDetails:
  11198. get:
  11199. parameters:
  11200. - description: 资金账户ID
  11201. in: query
  11202. name: accountID
  11203. required: true
  11204. type: integer
  11205. produces:
  11206. - application/json
  11207. responses:
  11208. "200":
  11209. description: OK
  11210. schema:
  11211. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  11212. "500":
  11213. description: Internal Server Error
  11214. schema:
  11215. $ref: '#/definitions/app.Response'
  11216. security:
  11217. - ApiKeyAuth: []
  11218. summary: 获取企业风管期货委托单信息
  11219. tags:
  11220. - 企业风险管理(app)
  11221. /Ermcp/QueryErmcpTradeDetails:
  11222. get:
  11223. parameters:
  11224. - description: 资金账户ID
  11225. in: query
  11226. name: accountID
  11227. required: true
  11228. type: integer
  11229. - description: 商品ID
  11230. in: query
  11231. name: goodsID
  11232. type: integer
  11233. - description: 买卖方向,0:买 1:卖
  11234. in: query
  11235. name: buyOrSell
  11236. type: integer
  11237. - description: 关联委托单号
  11238. in: query
  11239. name: orderID
  11240. type: integer
  11241. produces:
  11242. - application/json
  11243. responses:
  11244. "200":
  11245. description: OK
  11246. schema:
  11247. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  11248. "500":
  11249. description: Internal Server Error
  11250. schema:
  11251. $ref: '#/definitions/app.Response'
  11252. security:
  11253. - ApiKeyAuth: []
  11254. summary: 获取企业风管期货成交单信息
  11255. tags:
  11256. - 企业风险管理(app)
  11257. /Ermcp/QueryErmcpTradePosition:
  11258. get:
  11259. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  11260. parameters:
  11261. - description: 资金账户ID
  11262. in: query
  11263. name: accountID
  11264. required: true
  11265. type: integer
  11266. - description: 所属市场ID
  11267. in: query
  11268. name: marketID
  11269. type: integer
  11270. produces:
  11271. - application/json
  11272. responses:
  11273. "200":
  11274. description: OK
  11275. schema:
  11276. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  11277. "500":
  11278. description: Internal Server Error
  11279. schema:
  11280. $ref: '#/definitions/app.Response'
  11281. security:
  11282. - ApiKeyAuth: []
  11283. summary: 获取企业风管期货持仓头寸信息
  11284. tags:
  11285. - 企业风险管理(app)
  11286. /Ermcp/QueryExposureDetail:
  11287. get:
  11288. parameters:
  11289. - description: 所属机构ID
  11290. in: query
  11291. name: areaUserId
  11292. required: true
  11293. type: integer
  11294. - description: 套保商品
  11295. in: query
  11296. name: middleGoodsId
  11297. required: true
  11298. type: integer
  11299. produces:
  11300. - application/json
  11301. responses:
  11302. "200":
  11303. description: OK
  11304. schema:
  11305. items:
  11306. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  11307. type: array
  11308. "500":
  11309. description: Internal Server Error
  11310. schema:
  11311. $ref: '#/definitions/app.Response'
  11312. security:
  11313. - ApiKeyAuth: []
  11314. summary: 查询敞口现货明细
  11315. tags:
  11316. - 企业风险管理(app)
  11317. /Ermcp/QueryExposureHedgePosition:
  11318. get:
  11319. parameters:
  11320. - description: 所属机构ID
  11321. in: query
  11322. name: areaUserId
  11323. required: true
  11324. type: integer
  11325. produces:
  11326. - application/json
  11327. responses:
  11328. "200":
  11329. description: OK
  11330. schema:
  11331. items:
  11332. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  11333. type: array
  11334. "500":
  11335. description: Internal Server Error
  11336. schema:
  11337. $ref: '#/definitions/app.Response'
  11338. security:
  11339. - ApiKeyAuth: []
  11340. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  11341. tags:
  11342. - 企业风险管理(app)
  11343. /Ermcp/QueryExposureHedgePositionDetail:
  11344. get:
  11345. parameters:
  11346. - description: 所属机构ID
  11347. in: query
  11348. name: areaUserId
  11349. required: true
  11350. type: integer
  11351. - description: 商品id
  11352. in: query
  11353. name: goodsId
  11354. required: true
  11355. type: integer
  11356. produces:
  11357. - application/json
  11358. responses:
  11359. "200":
  11360. description: OK
  11361. schema:
  11362. items:
  11363. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  11364. type: array
  11365. "500":
  11366. description: Internal Server Error
  11367. schema:
  11368. $ref: '#/definitions/app.Response'
  11369. security:
  11370. - ApiKeyAuth: []
  11371. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  11372. tags:
  11373. - 企业风险管理(app)
  11374. /Ermcp/QueryExposureSpot:
  11375. get:
  11376. parameters:
  11377. - description: 所属机构ID
  11378. in: query
  11379. name: areaUserId
  11380. required: true
  11381. type: integer
  11382. produces:
  11383. - application/json
  11384. responses:
  11385. "200":
  11386. description: OK
  11387. schema:
  11388. items:
  11389. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  11390. type: array
  11391. "500":
  11392. description: Internal Server Error
  11393. schema:
  11394. $ref: '#/definitions/app.Response'
  11395. security:
  11396. - ApiKeyAuth: []
  11397. summary: 查询敞口现货头寸(敞口/现货头寸)
  11398. tags:
  11399. - 企业风险管理(app)
  11400. /Ermcp/QueryExposureSpotDetail:
  11401. get:
  11402. parameters:
  11403. - description: 所属机构ID
  11404. in: query
  11405. name: areaUserId
  11406. required: true
  11407. type: integer
  11408. - description: 现货品种ID
  11409. in: query
  11410. name: wrstandardId
  11411. required: true
  11412. type: integer
  11413. produces:
  11414. - application/json
  11415. responses:
  11416. "200":
  11417. description: OK
  11418. schema:
  11419. items:
  11420. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  11421. type: array
  11422. "500":
  11423. description: Internal Server Error
  11424. schema:
  11425. $ref: '#/definitions/app.Response'
  11426. security:
  11427. - ApiKeyAuth: []
  11428. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  11429. tags:
  11430. - 企业风险管理(app)
  11431. /Ermcp/QueryGGConvertConfig:
  11432. get:
  11433. parameters:
  11434. - description: 品种id(不填则查所有)
  11435. in: query
  11436. name: goodsgroupid
  11437. type: integer
  11438. produces:
  11439. - application/json
  11440. responses:
  11441. "200":
  11442. description: OK
  11443. schema:
  11444. items:
  11445. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  11446. type: array
  11447. "500":
  11448. description: Internal Server Error
  11449. schema:
  11450. $ref: '#/definitions/app.Response'
  11451. security:
  11452. - ApiKeyAuth: []
  11453. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  11454. tags:
  11455. - 企业风险管理(app)
  11456. /Ermcp/QueryGoodsBrand:
  11457. get:
  11458. parameters:
  11459. - description: 用户ID
  11460. in: query
  11461. name: userid
  11462. required: true
  11463. type: integer
  11464. - description: 现货商品ID
  11465. in: query
  11466. name: wrstandardid
  11467. type: integer
  11468. produces:
  11469. - application/json
  11470. responses:
  11471. "200":
  11472. description: OK
  11473. schema:
  11474. items:
  11475. $ref: '#/definitions/models.ErmcpGoodsBrand'
  11476. type: array
  11477. "500":
  11478. description: Internal Server Error
  11479. schema:
  11480. $ref: '#/definitions/app.Response'
  11481. security:
  11482. - ApiKeyAuth: []
  11483. summary: 查询商品品牌
  11484. tags:
  11485. - 企业风险管理(app)
  11486. /Ermcp/QueryGoodsModel:
  11487. get:
  11488. parameters:
  11489. - description: 用户ID
  11490. in: query
  11491. name: userid
  11492. required: true
  11493. type: integer
  11494. produces:
  11495. - application/json
  11496. responses:
  11497. "200":
  11498. description: OK
  11499. schema:
  11500. items:
  11501. $ref: '#/definitions/models.ErmcpGoodsModel'
  11502. type: array
  11503. "500":
  11504. description: Internal Server Error
  11505. schema:
  11506. $ref: '#/definitions/app.Response'
  11507. security:
  11508. - ApiKeyAuth: []
  11509. summary: 查询商品型号
  11510. tags:
  11511. - 企业风险管理(app)
  11512. /Ermcp/QueryHedgePlan:
  11513. get:
  11514. parameters:
  11515. - description: 用户ID
  11516. in: query
  11517. name: userId
  11518. required: true
  11519. type: integer
  11520. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  11521. in: query
  11522. name: HedgePlanStatus
  11523. required: true
  11524. type: string
  11525. produces:
  11526. - application/json
  11527. responses:
  11528. "200":
  11529. description: OK
  11530. schema:
  11531. items:
  11532. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  11533. type: array
  11534. "500":
  11535. description: Internal Server Error
  11536. schema:
  11537. $ref: '#/definitions/app.Response'
  11538. security:
  11539. - ApiKeyAuth: []
  11540. summary: 查询套保计划
  11541. tags:
  11542. - 企业风险管理(app)
  11543. /Ermcp/QueryHisExposure:
  11544. get:
  11545. parameters:
  11546. - description: 所属机构ID
  11547. in: query
  11548. name: areaUserId
  11549. required: true
  11550. type: integer
  11551. - description: 每个品种记录数
  11552. in: query
  11553. name: lastNum
  11554. required: true
  11555. type: integer
  11556. produces:
  11557. - application/json
  11558. responses:
  11559. "200":
  11560. description: OK
  11561. schema:
  11562. items:
  11563. $ref: '#/definitions/ermcp.HisExposureRsp'
  11564. type: array
  11565. "500":
  11566. description: Internal Server Error
  11567. schema:
  11568. $ref: '#/definitions/app.Response'
  11569. security:
  11570. - ApiKeyAuth: []
  11571. summary: 查询历史敞口(菜单:敞口/历史敞口)
  11572. tags:
  11573. - 企业风险管理(app)
  11574. /Ermcp/QueryMiddleGoods:
  11575. get:
  11576. parameters:
  11577. - description: 所属机构ID
  11578. in: query
  11579. name: userid
  11580. required: true
  11581. type: integer
  11582. - description: 状态 0-停用 1-正常
  11583. in: query
  11584. name: status
  11585. required: true
  11586. type: integer
  11587. produces:
  11588. - application/json
  11589. responses:
  11590. "200":
  11591. description: OK
  11592. schema:
  11593. items:
  11594. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  11595. type: array
  11596. "500":
  11597. description: Internal Server Error
  11598. schema:
  11599. $ref: '#/definitions/app.Response'
  11600. security:
  11601. - ApiKeyAuth: []
  11602. summary: 查询套保品种(菜单:套保品种)
  11603. tags:
  11604. - 企业风险管理(app)
  11605. /Ermcp/QueryMiddleGoodsChangeLog:
  11606. get:
  11607. parameters:
  11608. - description: 所属机构ID
  11609. in: query
  11610. name: userid
  11611. required: true
  11612. type: integer
  11613. - description: 套保品种id
  11614. in: query
  11615. name: middlegoodsid
  11616. required: true
  11617. type: integer
  11618. produces:
  11619. - application/json
  11620. responses:
  11621. "200":
  11622. description: OK
  11623. schema:
  11624. items:
  11625. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  11626. type: array
  11627. "500":
  11628. description: Internal Server Error
  11629. schema:
  11630. $ref: '#/definitions/app.Response'
  11631. security:
  11632. - ApiKeyAuth: []
  11633. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  11634. tags:
  11635. - 企业风险管理(app)
  11636. /Ermcp/QueryMiddleGoodsDetail:
  11637. get:
  11638. parameters:
  11639. - description: 所属机构ID
  11640. in: query
  11641. name: userid
  11642. required: true
  11643. type: integer
  11644. - description: 套保品种id
  11645. in: query
  11646. name: middlegoodsid
  11647. type: integer
  11648. produces:
  11649. - application/json
  11650. responses:
  11651. "200":
  11652. description: OK
  11653. schema:
  11654. items:
  11655. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  11656. type: array
  11657. "500":
  11658. description: Internal Server Error
  11659. schema:
  11660. $ref: '#/definitions/app.Response'
  11661. security:
  11662. - ApiKeyAuth: []
  11663. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  11664. tags:
  11665. - 企业风险管理(app)
  11666. /Ermcp/QueryPendingAuditInfo:
  11667. get:
  11668. parameters:
  11669. - description: 用户ID
  11670. in: query
  11671. name: UserId
  11672. required: true
  11673. type: integer
  11674. produces:
  11675. - application/json
  11676. responses:
  11677. "200":
  11678. description: OK
  11679. schema:
  11680. items:
  11681. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  11682. type: array
  11683. "500":
  11684. description: Internal Server Error
  11685. schema:
  11686. $ref: '#/definitions/app.Response'
  11687. security:
  11688. - ApiKeyAuth: []
  11689. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  11690. tags:
  11691. - 企业风险管理(app)
  11692. /Ermcp/QueryRealtimeExposure:
  11693. get:
  11694. parameters:
  11695. - description: 所属机构ID
  11696. in: query
  11697. name: AreaUserID
  11698. required: true
  11699. type: integer
  11700. produces:
  11701. - application/json
  11702. responses:
  11703. "200":
  11704. description: OK
  11705. schema:
  11706. items:
  11707. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  11708. type: array
  11709. "500":
  11710. description: Internal Server Error
  11711. schema:
  11712. $ref: '#/definitions/app.Response'
  11713. security:
  11714. - ApiKeyAuth: []
  11715. summary: 查询实时敞口
  11716. tags:
  11717. - 企业风险管理(app)
  11718. /Ermcp/QueryRealtimeExposurePosition:
  11719. get:
  11720. parameters:
  11721. - description: 所属机构ID
  11722. in: query
  11723. name: areaUserId
  11724. required: true
  11725. type: integer
  11726. - description: 套保商品ID
  11727. in: query
  11728. name: middleGoodsId
  11729. required: true
  11730. type: integer
  11731. produces:
  11732. - application/json
  11733. responses:
  11734. "200":
  11735. description: OK
  11736. schema:
  11737. items:
  11738. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  11739. type: array
  11740. "500":
  11741. description: Internal Server Error
  11742. schema:
  11743. $ref: '#/definitions/app.Response'
  11744. security:
  11745. - ApiKeyAuth: []
  11746. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  11747. tags:
  11748. - 企业风险管理(app)
  11749. /Ermcp/QuerySpotContract:
  11750. get:
  11751. parameters:
  11752. - description: 用户ID
  11753. in: query
  11754. name: userId
  11755. required: true
  11756. type: integer
  11757. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  11758. in: query
  11759. name: QueryType
  11760. required: true
  11761. type: integer
  11762. produces:
  11763. - application/json
  11764. responses:
  11765. "200":
  11766. description: OK
  11767. schema:
  11768. items:
  11769. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  11770. type: array
  11771. "500":
  11772. description: Internal Server Error
  11773. schema:
  11774. $ref: '#/definitions/app.Response'
  11775. security:
  11776. - ApiKeyAuth: []
  11777. summary: 查询现货合同(对应现货合同菜单)
  11778. tags:
  11779. - 企业风险管理(app)
  11780. /Ermcp/QueryUserInfo:
  11781. get:
  11782. parameters:
  11783. - description: 所属机构用户ID
  11784. in: query
  11785. name: MemberUserID
  11786. required: true
  11787. type: integer
  11788. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  11789. in: query
  11790. name: queryType
  11791. required: true
  11792. type: integer
  11793. produces:
  11794. - application/json
  11795. responses:
  11796. "200":
  11797. description: OK
  11798. schema:
  11799. items:
  11800. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  11801. type: array
  11802. "500":
  11803. description: Internal Server Error
  11804. schema:
  11805. $ref: '#/definitions/app.Response'
  11806. security:
  11807. - ApiKeyAuth: []
  11808. summary: 查询客户资料
  11809. tags:
  11810. - 企业风险管理(app)
  11811. /Ermcp/QueryWarehouseInfo:
  11812. get:
  11813. parameters:
  11814. - description: 用户ID
  11815. in: query
  11816. name: userid
  11817. required: true
  11818. type: integer
  11819. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  11820. in: query
  11821. name: status
  11822. type: string
  11823. produces:
  11824. - application/json
  11825. responses:
  11826. "200":
  11827. description: OK
  11828. schema:
  11829. items:
  11830. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  11831. type: array
  11832. "500":
  11833. description: Internal Server Error
  11834. schema:
  11835. $ref: '#/definitions/app.Response'
  11836. security:
  11837. - ApiKeyAuth: []
  11838. summary: 查询仓库信息
  11839. tags:
  11840. - 企业风险管理(app)
  11841. /Ermcp/QueryWrStandard:
  11842. get:
  11843. parameters:
  11844. - description: 所属机构ID
  11845. in: query
  11846. name: userid
  11847. required: true
  11848. type: integer
  11849. - description: 状态 0-停用 1-正常
  11850. in: query
  11851. name: status
  11852. required: true
  11853. type: integer
  11854. produces:
  11855. - application/json
  11856. responses:
  11857. "200":
  11858. description: OK
  11859. schema:
  11860. items:
  11861. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  11862. type: array
  11863. "500":
  11864. description: Internal Server Error
  11865. schema:
  11866. $ref: '#/definitions/app.Response'
  11867. security:
  11868. - ApiKeyAuth: []
  11869. summary: 查询现货商品
  11870. tags:
  11871. - 企业风险管理(app)
  11872. /Ermcp/QueryWrStandardDetail:
  11873. get:
  11874. parameters:
  11875. - description: 所属机构ID
  11876. in: query
  11877. name: userid
  11878. required: true
  11879. type: integer
  11880. - description: 现货商品ID
  11881. in: query
  11882. name: wrstandardid
  11883. type: integer
  11884. - description: 可不填, 1-查询关联交易商品
  11885. in: query
  11886. name: goods
  11887. type: integer
  11888. produces:
  11889. - application/json
  11890. responses:
  11891. "200":
  11892. description: OK
  11893. schema:
  11894. items:
  11895. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  11896. type: array
  11897. "500":
  11898. description: Internal Server Error
  11899. schema:
  11900. $ref: '#/definitions/app.Response'
  11901. security:
  11902. - ApiKeyAuth: []
  11903. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  11904. tags:
  11905. - 企业风险管理(app)
  11906. /Erms2/QueryArbitrageStrategy:
  11907. get:
  11908. parameters:
  11909. - description: 账户ID
  11910. in: query
  11911. name: userid
  11912. required: true
  11913. type: integer
  11914. - description: 商品组ID(品种ID)
  11915. in: query
  11916. name: goodsgroupid
  11917. type: string
  11918. produces:
  11919. - application/json
  11920. responses:
  11921. "200":
  11922. description: OK
  11923. schema:
  11924. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  11925. "500":
  11926. description: Internal Server Error
  11927. schema:
  11928. $ref: '#/definitions/app.Response'
  11929. security:
  11930. - ApiKeyAuth: []
  11931. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  11932. tags:
  11933. - 风险管理
  11934. /Erms2/QueryInnerTradeDetail:
  11935. get:
  11936. parameters:
  11937. - description: 资金账户
  11938. in: query
  11939. name: accountid
  11940. required: true
  11941. type: integer
  11942. produces:
  11943. - application/json
  11944. responses:
  11945. "200":
  11946. description: OK
  11947. schema:
  11948. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  11949. "500":
  11950. description: Internal Server Error
  11951. schema:
  11952. $ref: '#/definitions/app.Response'
  11953. security:
  11954. - ApiKeyAuth: []
  11955. summary: 查询内部成交单信息
  11956. tags:
  11957. - 风险管理
  11958. /Erms2/QuerySpotContract:
  11959. get:
  11960. parameters:
  11961. - description: 策略申请ID
  11962. in: query
  11963. name: asapplyid
  11964. required: true
  11965. type: integer
  11966. - description: 现货合同ID
  11967. in: query
  11968. name: spotcontractid
  11969. type: integer
  11970. produces:
  11971. - application/json
  11972. responses:
  11973. "200":
  11974. description: OK
  11975. schema:
  11976. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  11977. "500":
  11978. description: Internal Server Error
  11979. schema:
  11980. $ref: '#/definitions/app.Response'
  11981. security:
  11982. - ApiKeyAuth: []
  11983. summary: 查询现货合同表信息(指定策略ID、未结束的)
  11984. tags:
  11985. - 风险管理
  11986. /Erms3/AddErms2ASApply:
  11987. post:
  11988. parameters:
  11989. - description: 申请参数
  11990. in: body
  11991. name: jsonBody
  11992. required: true
  11993. schema:
  11994. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  11995. produces:
  11996. - application/json
  11997. responses:
  11998. "200":
  11999. description: OK
  12000. schema:
  12001. $ref: '#/definitions/app.Response'
  12002. "500":
  12003. description: Internal Server Error
  12004. schema:
  12005. $ref: '#/definitions/app.Response'
  12006. security:
  12007. - ApiKeyAuth: []
  12008. summary: 新增期现套利业务申请
  12009. tags:
  12010. - 风险管理v3
  12011. /Erms3/AddErms2SpotTradeApply:
  12012. post:
  12013. parameters:
  12014. - description: 申请参数
  12015. in: body
  12016. name: jsonBody
  12017. required: true
  12018. schema:
  12019. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  12020. produces:
  12021. - application/json
  12022. responses:
  12023. "200":
  12024. description: OK
  12025. schema:
  12026. $ref: '#/definitions/app.Response'
  12027. "500":
  12028. description: Internal Server Error
  12029. schema:
  12030. $ref: '#/definitions/app.Response'
  12031. security:
  12032. - ApiKeyAuth: []
  12033. summary: 新增现货贸易业务申请
  12034. tags:
  12035. - 风险管理v3
  12036. /Erms3/AddSpotContractApply:
  12037. post:
  12038. parameters:
  12039. - description: 申请参数
  12040. in: body
  12041. name: jsonBody
  12042. required: true
  12043. schema:
  12044. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  12045. produces:
  12046. - application/json
  12047. responses:
  12048. "200":
  12049. description: OK
  12050. schema:
  12051. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  12052. "500":
  12053. description: Internal Server Error
  12054. schema:
  12055. $ref: '#/definitions/app.Response'
  12056. security:
  12057. - ApiKeyAuth: []
  12058. summary: 新增现货合同申请
  12059. tags:
  12060. - 风险管理v3
  12061. /Erms3/AddUserInfoApply:
  12062. post:
  12063. parameters:
  12064. - description: 用户信息
  12065. in: body
  12066. name: jsonBody
  12067. required: true
  12068. schema:
  12069. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  12070. produces:
  12071. - application/json
  12072. responses:
  12073. "200":
  12074. description: OK
  12075. schema:
  12076. $ref: '#/definitions/app.Response'
  12077. "500":
  12078. description: Internal Server Error
  12079. schema:
  12080. $ref: '#/definitions/app.Response'
  12081. security:
  12082. - ApiKeyAuth: []
  12083. summary: 新增客户申请
  12084. tags:
  12085. - 风险管理v3
  12086. /Erms3/ModifyUserInfoApply:
  12087. post:
  12088. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  12089. int, "userstate": 2 }'
  12090. parameters:
  12091. - description: 用户信息
  12092. in: body
  12093. name: jsonBody
  12094. required: true
  12095. schema:
  12096. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  12097. produces:
  12098. - application/json
  12099. responses:
  12100. "200":
  12101. description: OK
  12102. schema:
  12103. $ref: '#/definitions/app.Response'
  12104. "500":
  12105. description: Internal Server Error
  12106. schema:
  12107. $ref: '#/definitions/app.Response'
  12108. security:
  12109. - ApiKeyAuth: []
  12110. summary: 修改客户申请
  12111. tags:
  12112. - 风险管理v3
  12113. /Erms3/QueryBusinessInfo:
  12114. get:
  12115. parameters:
  12116. - description: 资金账号ID列表,用逗号分隔
  12117. in: query
  12118. name: accountids
  12119. required: true
  12120. type: string
  12121. - description: 状态,0为未结束 1为已结束
  12122. in: query
  12123. name: status
  12124. required: true
  12125. type: integer
  12126. produces:
  12127. - application/json
  12128. responses:
  12129. "200":
  12130. description: OK
  12131. schema:
  12132. items:
  12133. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  12134. type: array
  12135. "500":
  12136. description: Internal Server Error
  12137. schema:
  12138. $ref: '#/definitions/app.Response'
  12139. security:
  12140. - ApiKeyAuth: []
  12141. summary: 查询业务表单数据
  12142. tags:
  12143. - 风险管理v3
  12144. /Erms3/QueryPendingAuditContract:
  12145. get:
  12146. parameters:
  12147. - description: 资金账号ID列表,逗号隔开
  12148. in: query
  12149. name: accountids
  12150. required: true
  12151. type: string
  12152. - description: 合同类型 1-采购 -1-销售
  12153. in: query
  12154. name: contracttype
  12155. required: true
  12156. type: integer
  12157. - description: 合同模式 1-普通 2-回购
  12158. in: query
  12159. name: contractmode
  12160. required: true
  12161. type: integer
  12162. produces:
  12163. - application/json
  12164. responses:
  12165. "200":
  12166. description: OK
  12167. schema:
  12168. items:
  12169. $ref: '#/definitions/erms3.QryAuditContractRsp'
  12170. type: array
  12171. "500":
  12172. description: Internal Server Error
  12173. schema:
  12174. $ref: '#/definitions/app.Response'
  12175. security:
  12176. - ApiKeyAuth: []
  12177. summary: 查询待审核合同
  12178. tags:
  12179. - 风险管理v3
  12180. /Erms3/QueryPendingBusiness:
  12181. get:
  12182. parameters:
  12183. - description: 资金账号ID列表,逗号隔开
  12184. in: query
  12185. name: accountids
  12186. required: true
  12187. type: string
  12188. produces:
  12189. - application/json
  12190. responses:
  12191. "200":
  12192. description: OK
  12193. schema:
  12194. items:
  12195. $ref: '#/definitions/erms3.QryPendingBizRsp'
  12196. type: array
  12197. "500":
  12198. description: Internal Server Error
  12199. schema:
  12200. $ref: '#/definitions/app.Response'
  12201. security:
  12202. - ApiKeyAuth: []
  12203. summary: 查询待审核基差贸易业务
  12204. tags:
  12205. - 风险管理v3
  12206. /Erms3/QuerySpotContractAppleForm:
  12207. get:
  12208. parameters:
  12209. - description: 登录账号
  12210. in: query
  12211. name: loginID
  12212. required: true
  12213. type: integer
  12214. produces:
  12215. - application/json
  12216. responses:
  12217. "200":
  12218. description: OK
  12219. schema:
  12220. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  12221. "500":
  12222. description: Internal Server Error
  12223. schema:
  12224. $ref: '#/definitions/app.Response'
  12225. security:
  12226. - ApiKeyAuth: []
  12227. summary: 查询合同申请表单数据
  12228. tags:
  12229. - 风险管理v3
  12230. /Erms3/QuerySpotContractDetail:
  12231. get:
  12232. parameters:
  12233. - description: 资金账号ID列表,用逗号分隔
  12234. in: query
  12235. name: accountids
  12236. required: true
  12237. type: string
  12238. - description: 合同类型,1为采购合同 -1为销售合同
  12239. in: query
  12240. name: contracttype
  12241. required: true
  12242. type: integer
  12243. - description: 合同模式,1为普通合同 2为回购销售合同
  12244. in: query
  12245. name: contractmode
  12246. required: true
  12247. type: integer
  12248. - description: 状态,0为履约中 1为已完成
  12249. in: query
  12250. name: status
  12251. required: true
  12252. type: integer
  12253. produces:
  12254. - application/json
  12255. responses:
  12256. "200":
  12257. description: OK
  12258. schema:
  12259. items:
  12260. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  12261. type: array
  12262. "500":
  12263. description: Internal Server Error
  12264. schema:
  12265. $ref: '#/definitions/app.Response'
  12266. security:
  12267. - ApiKeyAuth: []
  12268. summary: 查询合同详细信息
  12269. tags:
  12270. - 风险管理v3
  12271. /Erms3/QueryUserInfoApplies:
  12272. get:
  12273. parameters:
  12274. - description: 页码
  12275. in: query
  12276. name: page
  12277. type: integer
  12278. - description: 每页条数
  12279. in: query
  12280. name: pagesize
  12281. type: integer
  12282. - description: 客户名称,支持模糊查询
  12283. in: query
  12284. name: userName
  12285. type: string
  12286. produces:
  12287. - application/json
  12288. responses:
  12289. "200":
  12290. description: OK
  12291. schema:
  12292. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  12293. "500":
  12294. description: Internal Server Error
  12295. schema:
  12296. $ref: '#/definitions/app.Response'
  12297. security:
  12298. - ApiKeyAuth: []
  12299. summary: 客户申请信息查询
  12300. tags:
  12301. - 风险管理v3
  12302. /Erms3/QueryUserInfos:
  12303. get:
  12304. parameters:
  12305. - description: 页码
  12306. in: query
  12307. name: page
  12308. type: integer
  12309. - description: 每页条数
  12310. in: query
  12311. name: pagesize
  12312. type: integer
  12313. - description: 客户名称,支持模糊查询
  12314. in: query
  12315. name: userName
  12316. type: string
  12317. produces:
  12318. - application/json
  12319. responses:
  12320. "200":
  12321. description: OK
  12322. schema:
  12323. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  12324. "500":
  12325. description: Internal Server Error
  12326. schema:
  12327. $ref: '#/definitions/app.Response'
  12328. security:
  12329. - ApiKeyAuth: []
  12330. summary: 客户信息查询
  12331. tags:
  12332. - 风险管理v3
  12333. /HSBY/GetHsbyMyCount:
  12334. get:
  12335. description: 说明: 不包括已完成的数量。
  12336. parameters:
  12337. - description: 资金账户列表,格式:1,2,3
  12338. in: query
  12339. name: accountIDs
  12340. required: true
  12341. type: string
  12342. produces:
  12343. - application/json
  12344. responses:
  12345. "200":
  12346. description: OK
  12347. schema:
  12348. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  12349. "500":
  12350. description: Internal Server Error
  12351. schema:
  12352. $ref: '#/definitions/app.Response'
  12353. security:
  12354. - ApiKeyAuth: []
  12355. summary: 获取我的订单与包裹数量
  12356. tags:
  12357. - 定制【海商报业】
  12358. /HSBY/QueryClientFixedADConfigs:
  12359. get:
  12360. produces:
  12361. - application/json
  12362. responses:
  12363. "200":
  12364. description: OK
  12365. schema:
  12366. $ref: '#/definitions/models.Clientfixedadconfig'
  12367. "500":
  12368. description: Internal Server Error
  12369. schema:
  12370. $ref: '#/definitions/app.Response'
  12371. security:
  12372. - ApiKeyAuth: []
  12373. summary: 获取终端固定广告配置
  12374. tags:
  12375. - 定制【海商报业】
  12376. /HSBY/QueryHsbyBuyMyTradeDetail:
  12377. get:
  12378. parameters:
  12379. - description: 页码
  12380. in: query
  12381. name: page
  12382. type: integer
  12383. - description: 每页条数
  12384. in: query
  12385. name: pagesize
  12386. type: integer
  12387. - description: 资金账户列表,格式:1,2,3
  12388. in: query
  12389. name: accountIDs
  12390. required: true
  12391. type: string
  12392. produces:
  12393. - application/json
  12394. responses:
  12395. "200":
  12396. description: OK
  12397. schema:
  12398. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  12399. "500":
  12400. description: Internal Server Error
  12401. schema:
  12402. $ref: '#/definitions/app.Response'
  12403. security:
  12404. - ApiKeyAuth: []
  12405. summary: 查询"我的订单 - 已完成"单据信息
  12406. tags:
  12407. - 定制【海商报业】
  12408. /HSBY/QueryHsbyGoodsOrderDetails:
  12409. get:
  12410. description: 说明:查询结果已按委托价格和委托时间排序
  12411. parameters:
  12412. - description: 商品ID
  12413. in: query
  12414. name: goodsID
  12415. required: true
  12416. type: integer
  12417. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  12418. in: query
  12419. name: accountIDs
  12420. type: string
  12421. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  12422. in: query
  12423. name: buyOrSell
  12424. type: integer
  12425. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  12426. in: query
  12427. name: price
  12428. type: number
  12429. - description: 档位,不传则默认为3档
  12430. in: query
  12431. name: speed
  12432. type: integer
  12433. produces:
  12434. - application/json
  12435. responses:
  12436. "200":
  12437. description: OK
  12438. schema:
  12439. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  12440. "500":
  12441. description: Internal Server Error
  12442. schema:
  12443. $ref: '#/definitions/app.Response'
  12444. security:
  12445. - ApiKeyAuth: []
  12446. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  12447. tags:
  12448. - 定制【海商报业】
  12449. /HSBY/QueryHsbyListingGoodsDetail:
  12450. get:
  12451. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  12452. parameters:
  12453. - description: 商品ID
  12454. in: query
  12455. name: goodsID
  12456. required: true
  12457. type: integer
  12458. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  12459. in: query
  12460. name: accountID
  12461. type: integer
  12462. produces:
  12463. - application/json
  12464. responses:
  12465. "200":
  12466. description: OK
  12467. schema:
  12468. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  12469. "500":
  12470. description: Internal Server Error
  12471. schema:
  12472. $ref: '#/definitions/app.Response'
  12473. security:
  12474. - ApiKeyAuth: []
  12475. summary: 查询二级市场(挂牌点选)商品信息详情
  12476. tags:
  12477. - 定制【海商报业】
  12478. /HSBY/QueryHsbyMarketGoodsDetail:
  12479. get:
  12480. parameters:
  12481. - description: 委托单号
  12482. in: query
  12483. name: orderID
  12484. required: true
  12485. type: integer
  12486. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  12487. in: query
  12488. name: accountID
  12489. type: integer
  12490. produces:
  12491. - application/json
  12492. responses:
  12493. "200":
  12494. description: OK
  12495. schema:
  12496. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12497. "500":
  12498. description: Internal Server Error
  12499. schema:
  12500. $ref: '#/definitions/app.Response'
  12501. security:
  12502. - ApiKeyAuth: []
  12503. summary: 查询三级市场(商城)商品信息详情
  12504. tags:
  12505. - 定制【海商报业】
  12506. /HSBY/QueryHsbyMarketGoodses:
  12507. get:
  12508. parameters:
  12509. - description: 页码
  12510. in: query
  12511. name: page
  12512. type: integer
  12513. - description: 每页条数
  12514. in: query
  12515. name: pagesize
  12516. type: integer
  12517. - description: 市场ID列表,格式:1,2,3
  12518. in: query
  12519. name: marketIDs
  12520. required: true
  12521. type: string
  12522. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  12523. in: query
  12524. name: accountID
  12525. required: true
  12526. type: integer
  12527. - description: 类别ID
  12528. in: query
  12529. name: categoryID
  12530. type: integer
  12531. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12532. in: query
  12533. name: goodsIDs
  12534. type: string
  12535. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  12536. in: query
  12537. name: couponTypeID
  12538. type: integer
  12539. produces:
  12540. - application/json
  12541. responses:
  12542. "200":
  12543. description: OK
  12544. schema:
  12545. $ref: '#/definitions/models.HsbyMarketGoods'
  12546. "500":
  12547. description: Internal Server Error
  12548. schema:
  12549. $ref: '#/definitions/app.Response'
  12550. security:
  12551. - ApiKeyAuth: []
  12552. summary: 查询特卖商品列表(三级商城)
  12553. tags:
  12554. - 定制【海商报业】
  12555. /HSBY/QueryHsbyMarkets:
  12556. get:
  12557. produces:
  12558. - application/json
  12559. responses:
  12560. "200":
  12561. description: OK
  12562. schema:
  12563. $ref: '#/definitions/models.HsbyMarketInfo'
  12564. "500":
  12565. description: Internal Server Error
  12566. schema:
  12567. $ref: '#/definitions/app.Response'
  12568. security:
  12569. - ApiKeyAuth: []
  12570. summary: 查询海商报业相关市场信息
  12571. tags:
  12572. - 定制【海商报业】
  12573. /HSBY/QueryHsbyMyBuyOrderDetails:
  12574. get:
  12575. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  12576. parameters:
  12577. - description: 资金账户列表,格式:1,2,3
  12578. in: query
  12579. name: accountIDs
  12580. required: true
  12581. type: string
  12582. produces:
  12583. - application/json
  12584. responses:
  12585. "200":
  12586. description: OK
  12587. schema:
  12588. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  12589. "500":
  12590. description: Internal Server Error
  12591. schema:
  12592. $ref: '#/definitions/app.Response'
  12593. security:
  12594. - ApiKeyAuth: []
  12595. summary: 查询“我的订单”信息
  12596. tags:
  12597. - 定制【海商报业】
  12598. /HSBY/QueryHsbyMyGoods:
  12599. get:
  12600. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  12601. parameters:
  12602. - description: 资金账户列表,格式:1,2,3
  12603. in: query
  12604. name: accountIDs
  12605. required: true
  12606. type: string
  12607. produces:
  12608. - application/json
  12609. responses:
  12610. "200":
  12611. description: OK
  12612. schema:
  12613. $ref: '#/definitions/models.HsbyMyGoods'
  12614. "500":
  12615. description: Internal Server Error
  12616. schema:
  12617. $ref: '#/definitions/app.Response'
  12618. security:
  12619. - ApiKeyAuth: []
  12620. summary: 查询“我的商品”信息
  12621. tags:
  12622. - 定制【海商报业】
  12623. /HSBY/QueryHsbyMyPackages:
  12624. get:
  12625. parameters:
  12626. - description: 资金账户列表,格式:1,2,3
  12627. in: query
  12628. name: accountIDs
  12629. required: true
  12630. type: string
  12631. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12632. in: query
  12633. name: takeOrderStatus
  12634. type: integer
  12635. produces:
  12636. - application/json
  12637. responses:
  12638. "200":
  12639. description: OK
  12640. schema:
  12641. $ref: '#/definitions/models.HsbyMyPackage'
  12642. "500":
  12643. description: Internal Server Error
  12644. schema:
  12645. $ref: '#/definitions/app.Response'
  12646. security:
  12647. - ApiKeyAuth: []
  12648. summary: 查询我的包裹信息
  12649. tags:
  12650. - 定制【海商报业】
  12651. /HSBY/QueryHsbyPreGoodsDetail:
  12652. get:
  12653. parameters:
  12654. - description: 商品ID
  12655. in: query
  12656. name: goodsID
  12657. required: true
  12658. type: integer
  12659. - description: 资金账户,主要用于获取预售商品购买上限
  12660. in: query
  12661. name: accountID
  12662. type: integer
  12663. produces:
  12664. - application/json
  12665. responses:
  12666. "200":
  12667. description: OK
  12668. schema:
  12669. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  12670. "500":
  12671. description: Internal Server Error
  12672. schema:
  12673. $ref: '#/definitions/app.Response'
  12674. security:
  12675. - ApiKeyAuth: []
  12676. summary: 查询一级市场(预售)商品信息详情
  12677. tags:
  12678. - 定制【海商报业】
  12679. /HSBY/QueryHsbyPreGoodses:
  12680. get:
  12681. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  12682. parameters:
  12683. - description: 页码
  12684. in: query
  12685. name: page
  12686. type: integer
  12687. - description: 每页条数
  12688. in: query
  12689. name: pagesize
  12690. type: integer
  12691. - description: 市场ID列表,格式:1,2,3
  12692. in: query
  12693. name: marketIDs
  12694. required: true
  12695. type: string
  12696. - description: 目的地(省)ID
  12697. in: query
  12698. name: descProvinceID
  12699. type: integer
  12700. - description: 目的地(市)ID
  12701. in: query
  12702. name: descCityID
  12703. type: integer
  12704. produces:
  12705. - application/json
  12706. responses:
  12707. "200":
  12708. description: OK
  12709. schema:
  12710. $ref: '#/definitions/models.HsbyPreGoods'
  12711. "500":
  12712. description: Internal Server Error
  12713. schema:
  12714. $ref: '#/definitions/app.Response'
  12715. security:
  12716. - ApiKeyAuth: []
  12717. summary: 查询新品上市商品列表(一级市场预售)
  12718. tags:
  12719. - 定制【海商报业】
  12720. /HSBY/QueryHsbySellMyDetails:
  12721. get:
  12722. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  12723. parameters:
  12724. - description: 页码
  12725. in: query
  12726. name: page
  12727. type: integer
  12728. - description: 每页条数
  12729. in: query
  12730. name: pagesize
  12731. type: integer
  12732. - description: 资金账户列表,格式:1,2,3
  12733. in: query
  12734. name: accountIDs
  12735. required: true
  12736. type: string
  12737. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  12738. in: query
  12739. name: orderType
  12740. type: integer
  12741. produces:
  12742. - application/json
  12743. responses:
  12744. "200":
  12745. description: OK
  12746. schema:
  12747. $ref: '#/definitions/models.HsbySellMyDetail'
  12748. "500":
  12749. description: Internal Server Error
  12750. schema:
  12751. $ref: '#/definitions/app.Response'
  12752. security:
  12753. - ApiKeyAuth: []
  12754. summary: 查询"我的闲置"单据信息
  12755. tags:
  12756. - 定制【海商报业】
  12757. /HSBY/QueryHsbyTopGoodses:
  12758. get:
  12759. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  12760. parameters:
  12761. - description: 页码
  12762. in: query
  12763. name: page
  12764. type: integer
  12765. - description: 每页条数
  12766. in: query
  12767. name: pagesize
  12768. type: integer
  12769. - description: 市场ID列表,格式:1,2,3
  12770. in: query
  12771. name: marketIDs
  12772. required: true
  12773. type: string
  12774. - description: 目的地(省)ID
  12775. in: query
  12776. name: descProvinceID
  12777. type: integer
  12778. - description: 目的地(市)ID
  12779. in: query
  12780. name: descCityID
  12781. type: integer
  12782. produces:
  12783. - application/json
  12784. responses:
  12785. "200":
  12786. description: OK
  12787. schema:
  12788. $ref: '#/definitions/models.HsbyTopGoods'
  12789. "500":
  12790. description: Internal Server Error
  12791. schema:
  12792. $ref: '#/definitions/app.Response'
  12793. security:
  12794. - ApiKeyAuth: []
  12795. summary: 查询热卖商品列表(二级市场挂牌点选)
  12796. tags:
  12797. - 定制【海商报业】
  12798. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  12799. get:
  12800. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  12801. parameters:
  12802. - description: 商品ID
  12803. in: query
  12804. name: goodsID
  12805. required: true
  12806. type: integer
  12807. produces:
  12808. - application/json
  12809. responses:
  12810. "200":
  12811. description: OK
  12812. schema:
  12813. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  12814. "500":
  12815. description: Internal Server Error
  12816. schema:
  12817. $ref: '#/definitions/app.Response'
  12818. security:
  12819. - ApiKeyAuth: []
  12820. summary: 查询游客三级市场(商城)商品信息详情
  12821. tags:
  12822. - 定制【海商报业】
  12823. /HSBY/QueryHsbyVisitorMarketGoodses:
  12824. get:
  12825. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  12826. parameters:
  12827. - description: 页码
  12828. in: query
  12829. name: page
  12830. type: integer
  12831. - description: 每页条数
  12832. in: query
  12833. name: pagesize
  12834. type: integer
  12835. - description: 市场ID列表,格式:1,2,3
  12836. in: query
  12837. name: marketIDs
  12838. required: true
  12839. type: string
  12840. - description: 类别ID
  12841. in: query
  12842. name: categoryID
  12843. type: integer
  12844. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  12845. in: query
  12846. name: goodsIDs
  12847. type: string
  12848. produces:
  12849. - application/json
  12850. responses:
  12851. "200":
  12852. description: OK
  12853. schema:
  12854. $ref: '#/definitions/models.HsbyMarketGoods'
  12855. "500":
  12856. description: Internal Server Error
  12857. schema:
  12858. $ref: '#/definitions/app.Response'
  12859. security:
  12860. - ApiKeyAuth: []
  12861. summary: 查询游客特卖商品列表(三级商城)
  12862. tags:
  12863. - 定制【海商报业】
  12864. /HSBY/QueryMyCollectionOrders:
  12865. get:
  12866. parameters:
  12867. - description: 页码
  12868. in: query
  12869. name: page
  12870. type: integer
  12871. - description: 每页条数
  12872. in: query
  12873. name: pagesize
  12874. type: integer
  12875. - description: 资金账户,格式:1,2,3
  12876. in: query
  12877. name: accountIDs
  12878. required: true
  12879. type: string
  12880. produces:
  12881. - application/json
  12882. responses:
  12883. "200":
  12884. description: OK
  12885. schema:
  12886. $ref: '#/definitions/models.HsbySellCollectionOrder'
  12887. "500":
  12888. description: Internal Server Error
  12889. schema:
  12890. $ref: '#/definitions/app.Response'
  12891. security:
  12892. - ApiKeyAuth: []
  12893. summary: 我的闲置中收款信息查询
  12894. tags:
  12895. - 定制【海商报业】
  12896. /HSBY/QueryMyCouponHolds:
  12897. get:
  12898. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  12899. parameters:
  12900. - description: 资金账户列表,格式:1,2,3
  12901. in: query
  12902. name: accountIDs
  12903. required: true
  12904. type: string
  12905. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  12906. in: query
  12907. name: holdStatus
  12908. type: string
  12909. produces:
  12910. - application/json
  12911. responses:
  12912. "200":
  12913. description: OK
  12914. schema:
  12915. $ref: '#/definitions/models.MyCouponHold'
  12916. "500":
  12917. description: Internal Server Error
  12918. schema:
  12919. $ref: '#/definitions/app.Response'
  12920. security:
  12921. - ApiKeyAuth: []
  12922. summary: 我的优惠卷持仓查询
  12923. tags:
  12924. - 定制【海商报业】
  12925. /HSBY/QueryMyCoupons:
  12926. get:
  12927. parameters:
  12928. - description: 资金账户列表,格式:1,2,3
  12929. in: query
  12930. name: accountIDs
  12931. required: true
  12932. type: string
  12933. - description: 商品ID, 一般与sellUserID配套传入
  12934. in: query
  12935. name: goodsID
  12936. type: integer
  12937. - description: 卖方UserID
  12938. in: query
  12939. name: sellUserID
  12940. type: integer
  12941. produces:
  12942. - application/json
  12943. responses:
  12944. "200":
  12945. description: OK
  12946. schema:
  12947. $ref: '#/definitions/models.MyCoupon'
  12948. "500":
  12949. description: Internal Server Error
  12950. schema:
  12951. $ref: '#/definitions/app.Response'
  12952. security:
  12953. - ApiKeyAuth: []
  12954. summary: 我的优惠卷查询
  12955. tags:
  12956. - 定制【海商报业】
  12957. /HSBY/QueryMyPayOrders:
  12958. get:
  12959. parameters:
  12960. - description: 页码
  12961. in: query
  12962. name: page
  12963. type: integer
  12964. - description: 每页条数
  12965. in: query
  12966. name: pagesize
  12967. type: integer
  12968. - description: 资金账户列表,格式:1,2,3
  12969. in: query
  12970. name: accountIDs
  12971. required: true
  12972. type: string
  12973. - description: 买方委托单号
  12974. in: query
  12975. name: buyOrderID
  12976. type: integer
  12977. - description: 卖方委托单号
  12978. in: query
  12979. name: sellOrderID
  12980. type: integer
  12981. produces:
  12982. - application/json
  12983. responses:
  12984. "200":
  12985. description: OK
  12986. schema:
  12987. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  12988. "500":
  12989. description: Internal Server Error
  12990. schema:
  12991. $ref: '#/definitions/app.Response'
  12992. security:
  12993. - ApiKeyAuth: []
  12994. summary: 获取我的订单中待付款信息
  12995. tags:
  12996. - 定制【海商报业】
  12997. /HSBY/QueryMyUsedCoupon:
  12998. get:
  12999. parameters:
  13000. - description: 资金账户列表,格式:1,2,3
  13001. in: query
  13002. name: accountIDs
  13003. required: true
  13004. type: string
  13005. produces:
  13006. - application/json
  13007. responses:
  13008. "200":
  13009. description: OK
  13010. schema:
  13011. $ref: '#/definitions/models.MyUsedCoupon'
  13012. "500":
  13013. description: Internal Server Error
  13014. schema:
  13015. $ref: '#/definitions/app.Response'
  13016. security:
  13017. - ApiKeyAuth: []
  13018. summary: 已使用优惠卷查询
  13019. tags:
  13020. - 定制【海商报业】
  13021. /HSBY/QueryProvincesAndCities:
  13022. get:
  13023. description: 查询结果只包括二级市场商品已关连的省市信息。
  13024. parameters:
  13025. - description: 省ID
  13026. in: query
  13027. name: provinceID
  13028. type: integer
  13029. produces:
  13030. - application/json
  13031. responses:
  13032. "200":
  13033. description: OK
  13034. schema:
  13035. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  13036. "500":
  13037. description: Internal Server Error
  13038. schema:
  13039. $ref: '#/definitions/app.Response'
  13040. security:
  13041. - ApiKeyAuth: []
  13042. summary: 查询省市信息(不包括区)
  13043. tags:
  13044. - 定制【海商报业】
  13045. /HSBY/SetHsbyMyPackagesStatus:
  13046. post:
  13047. parameters:
  13048. - description: 提货单号
  13049. in: query
  13050. name: takeOrderID
  13051. required: true
  13052. type: string
  13053. - description: 资金账号
  13054. in: query
  13055. name: accountID
  13056. required: true
  13057. type: integer
  13058. produces:
  13059. - application/json
  13060. responses:
  13061. "200":
  13062. description: OK
  13063. schema:
  13064. $ref: '#/definitions/app.Response'
  13065. "500":
  13066. description: Internal Server Error
  13067. schema:
  13068. $ref: '#/definitions/app.Response'
  13069. security:
  13070. - ApiKeyAuth: []
  13071. summary: 设置我的包裹已收货状态
  13072. tags:
  13073. - 定制【海商报业】
  13074. /Market/QueryGoodsesByLoginID:
  13075. get:
  13076. parameters:
  13077. - description: 登录账号
  13078. in: query
  13079. name: loginID
  13080. required: true
  13081. type: integer
  13082. - description: 市场ID列表,格式:1,2,3
  13083. in: query
  13084. name: marketIDs
  13085. type: string
  13086. produces:
  13087. - application/json
  13088. responses:
  13089. "200":
  13090. description: OK
  13091. schema:
  13092. $ref: '#/definitions/models.Goods'
  13093. "500":
  13094. description: Internal Server Error
  13095. schema:
  13096. $ref: '#/definitions/app.Response'
  13097. security:
  13098. - ApiKeyAuth: []
  13099. summary: 获取登录账号有权限的商品信息
  13100. tags:
  13101. - 通用市场
  13102. /Market/QueryMarketRun:
  13103. get:
  13104. parameters:
  13105. - description: 市场ID,不传返回所有
  13106. in: query
  13107. name: marketID
  13108. type: integer
  13109. produces:
  13110. - application/json
  13111. responses:
  13112. "200":
  13113. description: OK
  13114. schema:
  13115. $ref: '#/definitions/models.Marketrun'
  13116. "500":
  13117. description: Internal Server Error
  13118. schema:
  13119. $ref: '#/definitions/app.Response'
  13120. security:
  13121. - ApiKeyAuth: []
  13122. summary: 查询市场运行信息
  13123. tags:
  13124. - 通用市场
  13125. /Market/QueryMarketsByLoginID:
  13126. get:
  13127. parameters:
  13128. - description: 登录账号
  13129. in: query
  13130. name: loginID
  13131. required: true
  13132. type: integer
  13133. produces:
  13134. - application/json
  13135. responses:
  13136. "200":
  13137. description: OK
  13138. schema:
  13139. $ref: '#/definitions/models.Market'
  13140. "500":
  13141. description: Internal Server Error
  13142. schema:
  13143. $ref: '#/definitions/app.Response'
  13144. security:
  13145. - ApiKeyAuth: []
  13146. summary: 获取登录账号有权限的市场信息
  13147. tags:
  13148. - 通用市场
  13149. /Order/QueryHisTradeDetail:
  13150. get:
  13151. parameters:
  13152. - description: 资金账户 - 格式:1,2,3
  13153. in: query
  13154. name: accountID
  13155. required: true
  13156. type: string
  13157. - description: 成交单号
  13158. in: query
  13159. name: tradeID
  13160. type: integer
  13161. - description: 委托单号
  13162. in: query
  13163. name: orderID
  13164. type: integer
  13165. - description: 交易模式 - 格式:1,2,3
  13166. in: query
  13167. name: tradeMode
  13168. type: string
  13169. - description: 委托单据类型
  13170. in: query
  13171. name: buildType
  13172. type: integer
  13173. - description: 成交类别 - 格式:1,2,3
  13174. in: query
  13175. name: tradeType
  13176. type: string
  13177. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13178. in: query
  13179. name: startDate
  13180. type: string
  13181. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13182. in: query
  13183. name: endDate
  13184. type: string
  13185. produces:
  13186. - application/json
  13187. responses:
  13188. "200":
  13189. description: OK
  13190. schema:
  13191. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  13192. "500":
  13193. description: Internal Server Error
  13194. schema:
  13195. $ref: '#/definitions/app.Response'
  13196. security:
  13197. - ApiKeyAuth: []
  13198. summary: 历史成交单查询(合约市场)
  13199. tags:
  13200. - 通用单据
  13201. /Order/QueryHisTradeOrderDetail:
  13202. get:
  13203. parameters:
  13204. - description: 资金账户 - 格式:1,2,3
  13205. in: query
  13206. name: accountID
  13207. required: true
  13208. type: string
  13209. - description: 交易模式 - 格式:1,2,3
  13210. in: query
  13211. name: tradeMode
  13212. type: string
  13213. - description: 委托状态 - 格式:1,2,3
  13214. in: query
  13215. name: orderStatus
  13216. type: string
  13217. - description: 委托单号
  13218. in: query
  13219. name: orderID
  13220. type: integer
  13221. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13222. in: query
  13223. name: startDate
  13224. type: string
  13225. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13226. in: query
  13227. name: endDate
  13228. type: string
  13229. produces:
  13230. - application/json
  13231. responses:
  13232. "200":
  13233. description: OK
  13234. schema:
  13235. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  13236. "500":
  13237. description: Internal Server Error
  13238. schema:
  13239. $ref: '#/definitions/app.Response'
  13240. security:
  13241. - ApiKeyAuth: []
  13242. summary: 历史委托单查询请求(合约市场)
  13243. tags:
  13244. - 通用单据
  13245. /Order/QueryTradeDetail:
  13246. get:
  13247. parameters:
  13248. - description: 资金账户 - 格式:1,2,3
  13249. in: query
  13250. name: accountID
  13251. required: true
  13252. type: string
  13253. - description: 成交单号
  13254. in: query
  13255. name: tradeID
  13256. type: integer
  13257. - description: 委托单号
  13258. in: query
  13259. name: orderID
  13260. type: integer
  13261. - description: 交易模式 - 格式:1,2,3
  13262. in: query
  13263. name: tradeMode
  13264. type: string
  13265. - description: 委托单据类型
  13266. in: query
  13267. name: buildType
  13268. type: integer
  13269. - description: 成交类别 - 格式:1,2,3
  13270. in: query
  13271. name: tradeType
  13272. type: string
  13273. produces:
  13274. - application/json
  13275. responses:
  13276. "200":
  13277. description: OK
  13278. schema:
  13279. $ref: '#/definitions/order.QueryTradeDetailRsp'
  13280. "500":
  13281. description: Internal Server Error
  13282. schema:
  13283. $ref: '#/definitions/app.Response'
  13284. security:
  13285. - ApiKeyAuth: []
  13286. summary: 成交单查询(合约市场)
  13287. tags:
  13288. - 通用单据
  13289. /Order/QueryTradeOrderDetail:
  13290. get:
  13291. parameters:
  13292. - description: 资金账户 - 格式:1,2,3
  13293. in: query
  13294. name: accountID
  13295. required: true
  13296. type: string
  13297. - description: 交易模式 - 格式:1,2,3
  13298. in: query
  13299. name: tradeMode
  13300. type: string
  13301. - description: 委托状态 - 格式:1,2,3
  13302. in: query
  13303. name: orderStatus
  13304. type: string
  13305. - description: 委托单号
  13306. in: query
  13307. name: orderID
  13308. type: integer
  13309. produces:
  13310. - application/json
  13311. responses:
  13312. "200":
  13313. description: OK
  13314. schema:
  13315. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  13316. "500":
  13317. description: Internal Server Error
  13318. schema:
  13319. $ref: '#/definitions/app.Response'
  13320. security:
  13321. - ApiKeyAuth: []
  13322. summary: 委托单查询请求(合约市场)
  13323. tags:
  13324. - 通用单据
  13325. /Order/QueryTradePosition:
  13326. get:
  13327. parameters:
  13328. - description: 资金账户 - 格式:1,2,3
  13329. in: query
  13330. name: accountID
  13331. required: true
  13332. type: string
  13333. - description: 交易模式 - 格式:1,2,3
  13334. in: query
  13335. name: tradeMode
  13336. type: string
  13337. produces:
  13338. - application/json
  13339. responses:
  13340. "200":
  13341. description: OK
  13342. schema:
  13343. $ref: '#/definitions/order.QueryTradePositionRsp'
  13344. "500":
  13345. description: Internal Server Error
  13346. schema:
  13347. $ref: '#/definitions/app.Response'
  13348. security:
  13349. - ApiKeyAuth: []
  13350. summary: 持仓汇总查询(合约市场)
  13351. tags:
  13352. - 通用单据
  13353. /Quote/QueryHistoryDatas:
  13354. get:
  13355. parameters:
  13356. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  13357. 日线'
  13358. in: query
  13359. name: cycleType
  13360. required: true
  13361. type: integer
  13362. - description: 商品代码
  13363. in: query
  13364. name: goodsCode
  13365. required: true
  13366. type: string
  13367. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13368. in: query
  13369. name: startTime
  13370. type: string
  13371. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13372. in: query
  13373. name: endTime
  13374. type: string
  13375. - description: 条数
  13376. in: query
  13377. name: count
  13378. type: integer
  13379. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13380. in: query
  13381. name: isAsc
  13382. type: boolean
  13383. produces:
  13384. - application/json
  13385. responses:
  13386. "200":
  13387. description: OK
  13388. schema:
  13389. $ref: '#/definitions/quote.HistoryData'
  13390. "500":
  13391. description: Internal Server Error
  13392. schema:
  13393. $ref: '#/definitions/app.Response'
  13394. security:
  13395. - ApiKeyAuth: []
  13396. summary: 查询行情历史数据
  13397. tags:
  13398. - 行情服务
  13399. /Quote/QueryHistoryTikDatas:
  13400. get:
  13401. parameters:
  13402. - description: 商品代码
  13403. in: query
  13404. name: goodsCode
  13405. required: true
  13406. type: string
  13407. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  13408. in: query
  13409. name: startTime
  13410. type: string
  13411. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  13412. in: query
  13413. name: endTime
  13414. type: string
  13415. - description: 条数
  13416. in: query
  13417. name: count
  13418. type: integer
  13419. - description: 是否按时间顺序排序(默认为时间倒序排序)
  13420. in: query
  13421. name: isAsc
  13422. type: boolean
  13423. produces:
  13424. - application/json
  13425. responses:
  13426. "200":
  13427. description: OK
  13428. schema:
  13429. $ref: '#/definitions/quote.HistoryTikData'
  13430. "500":
  13431. description: Internal Server Error
  13432. schema:
  13433. $ref: '#/definitions/app.Response'
  13434. security:
  13435. - ApiKeyAuth: []
  13436. summary: 查询行情Tik数据
  13437. tags:
  13438. - 行情服务
  13439. /Quote/QueryQuoteDay:
  13440. get:
  13441. parameters:
  13442. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  13443. in: query
  13444. name: goodsCodes
  13445. required: true
  13446. type: string
  13447. produces:
  13448. - application/json
  13449. responses:
  13450. "200":
  13451. description: OK
  13452. schema:
  13453. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  13454. "500":
  13455. description: Internal Server Error
  13456. schema:
  13457. $ref: '#/definitions/app.Response'
  13458. security:
  13459. - ApiKeyAuth: []
  13460. summary: 获取商品盘面信息
  13461. tags:
  13462. - 行情服务
  13463. /Quote/QueryTSData:
  13464. get:
  13465. parameters:
  13466. - description: 商品代码
  13467. in: query
  13468. name: goodsCode
  13469. required: true
  13470. type: string
  13471. produces:
  13472. - application/json
  13473. responses:
  13474. "200":
  13475. description: OK
  13476. schema:
  13477. $ref: '#/definitions/quote.QueryTSDataRsp'
  13478. "500":
  13479. description: Internal Server Error
  13480. schema:
  13481. $ref: '#/definitions/app.Response'
  13482. security:
  13483. - ApiKeyAuth: []
  13484. summary: 分时图数据查询
  13485. tags:
  13486. - 行情服务
  13487. /SZDZ/QueryConvertConfig:
  13488. get:
  13489. parameters:
  13490. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13491. 6:交易转花生米(不设置)
  13492. in: query
  13493. name: convertType
  13494. type: integer
  13495. - description: 外部商品代码[JD\PD]
  13496. in: query
  13497. name: outerGoodsCode
  13498. type: string
  13499. - description: 内部商品ID列表[交易],格式:1,2,3
  13500. in: query
  13501. name: innerGoodsIDs
  13502. type: string
  13503. produces:
  13504. - application/json
  13505. responses:
  13506. "200":
  13507. description: OK
  13508. schema:
  13509. $ref: '#/definitions/models.Szdz3convertconfig'
  13510. "500":
  13511. description: Internal Server Error
  13512. schema:
  13513. $ref: '#/definitions/app.Response'
  13514. security:
  13515. - ApiKeyAuth: []
  13516. summary: 查询交易系统转换设置
  13517. tags:
  13518. - 定制【尚志大宗】
  13519. /SZDZ/QueryConvertLog:
  13520. get:
  13521. parameters:
  13522. - description: 资金账户 - 格式:1,2,3
  13523. in: query
  13524. name: accountID
  13525. required: true
  13526. type: string
  13527. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13528. in: query
  13529. name: startDate
  13530. type: string
  13531. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  13532. in: query
  13533. name: endDate
  13534. type: string
  13535. produces:
  13536. - application/json
  13537. responses:
  13538. "200":
  13539. description: OK
  13540. schema:
  13541. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  13542. "500":
  13543. description: Internal Server Error
  13544. schema:
  13545. $ref: '#/definitions/app.Response'
  13546. security:
  13547. - ApiKeyAuth: []
  13548. summary: 交易系统转换流水查询
  13549. tags:
  13550. - 定制【尚志大宗】
  13551. /SZDZ/QueryGoodsPickup:
  13552. get:
  13553. parameters:
  13554. - description: 资金账户 - 格式:1,2,3
  13555. in: query
  13556. name: accountID
  13557. required: true
  13558. type: string
  13559. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13560. in: query
  13561. name: takeOrderStatus
  13562. type: integer
  13563. produces:
  13564. - application/json
  13565. responses:
  13566. "200":
  13567. description: OK
  13568. schema:
  13569. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  13570. "500":
  13571. description: Internal Server Error
  13572. schema:
  13573. $ref: '#/definitions/app.Response'
  13574. security:
  13575. - ApiKeyAuth: []
  13576. summary: 商品提货单查询
  13577. tags:
  13578. - 定制【尚志大宗】
  13579. /SZDZ/QueryRecieptOrder:
  13580. get:
  13581. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13582. parameters:
  13583. - description: 页码
  13584. in: query
  13585. name: page
  13586. type: integer
  13587. - description: 每页条数
  13588. in: query
  13589. name: pagesize
  13590. type: integer
  13591. - description: 商品ID
  13592. in: query
  13593. name: goodsID
  13594. required: true
  13595. type: integer
  13596. - description: 所属账户名称
  13597. in: query
  13598. name: accountName
  13599. type: string
  13600. - description: 市场ID
  13601. in: query
  13602. name: marketID
  13603. type: integer
  13604. - description: 方向 - 0:买 1:卖
  13605. in: query
  13606. name: buyorsell
  13607. required: true
  13608. type: integer
  13609. produces:
  13610. - application/json
  13611. responses:
  13612. "200":
  13613. description: OK
  13614. schema:
  13615. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  13616. "500":
  13617. description: Internal Server Error
  13618. schema:
  13619. $ref: '#/definitions/app.Response'
  13620. security:
  13621. - ApiKeyAuth: []
  13622. summary: 点选挂牌委托单据查询(摘牌大厅)
  13623. tags:
  13624. - 定制【尚志大宗】
  13625. /SZDZ/QuerySZDZTradePosition:
  13626. get:
  13627. parameters:
  13628. - description: 资金账户
  13629. in: query
  13630. name: accountID
  13631. required: true
  13632. type: integer
  13633. produces:
  13634. - application/json
  13635. responses:
  13636. "200":
  13637. description: OK
  13638. schema:
  13639. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  13640. "500":
  13641. description: Internal Server Error
  13642. schema:
  13643. $ref: '#/definitions/app.Response'
  13644. security:
  13645. - ApiKeyAuth: []
  13646. summary: 持仓汇总查询(尚志大宗)
  13647. tags:
  13648. - 定制【尚志大宗】
  13649. /SZDZ/SearchWhite:
  13650. get:
  13651. parameters:
  13652. - description: 用户ID
  13653. in: query
  13654. name: userID
  13655. required: true
  13656. type: integer
  13657. produces:
  13658. - application/json
  13659. responses:
  13660. "200":
  13661. description: OK
  13662. schema:
  13663. $ref: '#/definitions/models.Szdz3searchwhitelist'
  13664. "500":
  13665. description: Internal Server Error
  13666. schema:
  13667. $ref: '#/definitions/app.Response'
  13668. security:
  13669. - ApiKeyAuth: []
  13670. summary: 搜索白名单
  13671. tags:
  13672. - 定制【尚志大宗】
  13673. /Search/SearchGoodses:
  13674. get:
  13675. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  13676. parameters:
  13677. - description: 检索内容
  13678. in: query
  13679. name: content
  13680. required: true
  13681. type: string
  13682. - description: 交易模式,格式:1,2,3
  13683. in: query
  13684. name: tradeModes
  13685. type: string
  13686. produces:
  13687. - application/json
  13688. responses:
  13689. "200":
  13690. description: OK
  13691. schema:
  13692. $ref: '#/definitions/models.SearchGoods'
  13693. "500":
  13694. description: Internal Server Error
  13695. schema:
  13696. $ref: '#/definitions/app.Response'
  13697. summary: 检索商品信息
  13698. tags:
  13699. - 检索服务
  13700. /TaAccount/GetTaAccounts:
  13701. get:
  13702. parameters:
  13703. - description: 登录账户
  13704. in: query
  13705. name: loginID
  13706. required: true
  13707. type: integer
  13708. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13709. in: query
  13710. name: taAccountType
  13711. type: integer
  13712. produces:
  13713. - application/json
  13714. responses:
  13715. "200":
  13716. description: OK
  13717. schema:
  13718. $ref: '#/definitions/models.Taaccount'
  13719. "500":
  13720. description: Internal Server Error
  13721. schema:
  13722. $ref: '#/definitions/app.Response'
  13723. security:
  13724. - ApiKeyAuth: []
  13725. summary: 获取资金账户信息
  13726. tags:
  13727. - 资金账户
  13728. /TaAccount/QueryAmountLog:
  13729. get:
  13730. parameters:
  13731. - description: 页码
  13732. in: query
  13733. name: page
  13734. type: integer
  13735. - description: 每页条数
  13736. in: query
  13737. name: pagesize
  13738. type: integer
  13739. - description: 资金账户 - 格式:1,2,3
  13740. in: query
  13741. name: accountID
  13742. required: true
  13743. type: string
  13744. - description: 资金操作类型 - 格式:1,2,3
  13745. in: query
  13746. name: OperateType
  13747. type: string
  13748. produces:
  13749. - application/json
  13750. responses:
  13751. "200":
  13752. description: OK
  13753. schema:
  13754. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  13755. "500":
  13756. description: Internal Server Error
  13757. schema:
  13758. $ref: '#/definitions/app.Response'
  13759. security:
  13760. - ApiKeyAuth: []
  13761. summary: 资金流水查询(当前)
  13762. tags:
  13763. - 资金账户
  13764. /TaAccount/QueryHisAmountLog:
  13765. get:
  13766. parameters:
  13767. - description: 页码
  13768. in: query
  13769. name: page
  13770. type: integer
  13771. - description: 每页条数
  13772. in: query
  13773. name: pagesize
  13774. type: integer
  13775. - description: 资金账户 - 格式:1,2,3
  13776. in: query
  13777. name: accountID
  13778. required: true
  13779. type: string
  13780. - description: 资金操作类型 - 格式:1,2,3
  13781. in: query
  13782. name: OperateType
  13783. type: string
  13784. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13785. in: query
  13786. name: startDate
  13787. type: string
  13788. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13789. in: query
  13790. name: endDate
  13791. type: string
  13792. produces:
  13793. - application/json
  13794. responses:
  13795. "200":
  13796. description: OK
  13797. schema:
  13798. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  13799. "500":
  13800. description: Internal Server Error
  13801. schema:
  13802. $ref: '#/definitions/app.Response'
  13803. security:
  13804. - ApiKeyAuth: []
  13805. summary: 资金流水查询(历史)
  13806. tags:
  13807. - 资金账户
  13808. /Trade/QueryRecieptOrder:
  13809. get:
  13810. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  13811. parameters:
  13812. - description: 页码
  13813. in: query
  13814. name: page
  13815. type: integer
  13816. - description: 每页条数
  13817. in: query
  13818. name: pagesize
  13819. type: integer
  13820. - description: 商品ID
  13821. in: query
  13822. name: goodsID
  13823. required: true
  13824. type: integer
  13825. - description: 所属账户名称
  13826. in: query
  13827. name: accountName
  13828. type: string
  13829. - description: 市场ID
  13830. in: query
  13831. name: marketID
  13832. type: integer
  13833. - description: 方向 - 0:买 1:卖
  13834. in: query
  13835. name: buyorsell
  13836. required: true
  13837. type: integer
  13838. produces:
  13839. - application/json
  13840. responses:
  13841. "200":
  13842. description: OK
  13843. schema:
  13844. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  13845. "500":
  13846. description: Internal Server Error
  13847. schema:
  13848. $ref: '#/definitions/app.Response'
  13849. security:
  13850. - ApiKeyAuth: []
  13851. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  13852. tags:
  13853. - 通用交易
  13854. /User/AddMessageBoard:
  13855. post:
  13856. parameters:
  13857. - description: 用户ID
  13858. in: query
  13859. name: userID
  13860. required: true
  13861. type: integer
  13862. - description: 留言信息
  13863. in: query
  13864. name: message
  13865. required: true
  13866. type: string
  13867. - description: 联系电话
  13868. in: query
  13869. name: contactNum
  13870. required: true
  13871. type: string
  13872. produces:
  13873. - application/json
  13874. responses:
  13875. "200":
  13876. description: OK
  13877. schema:
  13878. $ref: '#/definitions/app.Response'
  13879. "500":
  13880. description: Internal Server Error
  13881. schema:
  13882. $ref: '#/definitions/app.Response'
  13883. security:
  13884. - ApiKeyAuth: []
  13885. summary: 添加用户留言板信息
  13886. tags:
  13887. - 用户信息
  13888. /User/AddUserFavoriteGoods:
  13889. post:
  13890. parameters:
  13891. - description: 用户ID
  13892. in: query
  13893. name: userID
  13894. required: true
  13895. type: integer
  13896. - description: 商品ID
  13897. in: query
  13898. name: goodsID
  13899. required: true
  13900. type: integer
  13901. produces:
  13902. - application/json
  13903. responses:
  13904. "200":
  13905. description: OK
  13906. schema:
  13907. $ref: '#/definitions/app.Response'
  13908. "500":
  13909. description: Internal Server Error
  13910. schema:
  13911. $ref: '#/definitions/app.Response'
  13912. security:
  13913. - ApiKeyAuth: []
  13914. summary: 添加用户商品收藏信息
  13915. tags:
  13916. - 用户信息
  13917. /User/GetLoginID:
  13918. get:
  13919. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  13920. parameters:
  13921. - description: 登录代码
  13922. in: query
  13923. name: username
  13924. required: true
  13925. type: string
  13926. produces:
  13927. - application/json
  13928. responses:
  13929. "200":
  13930. description: OK
  13931. schema:
  13932. $ref: '#/definitions/app.Response'
  13933. "500":
  13934. description: Internal Server Error
  13935. schema:
  13936. $ref: '#/definitions/app.Response'
  13937. summary: 获取登录ID
  13938. tags:
  13939. - 用户信息
  13940. /User/GetUserAccount:
  13941. get:
  13942. parameters:
  13943. - description: 用户ID
  13944. in: query
  13945. name: userID
  13946. required: true
  13947. type: integer
  13948. produces:
  13949. - application/json
  13950. responses:
  13951. "200":
  13952. description: OK
  13953. schema:
  13954. $ref: '#/definitions/models.Useraccount'
  13955. "500":
  13956. description: Internal Server Error
  13957. schema:
  13958. $ref: '#/definitions/app.Response'
  13959. security:
  13960. - ApiKeyAuth: []
  13961. summary: 获取用户账号信息
  13962. tags:
  13963. - 用户信息
  13964. /User/GetUserAuthStatus:
  13965. get:
  13966. parameters:
  13967. - description: 用户ID
  13968. in: query
  13969. name: userID
  13970. required: true
  13971. type: integer
  13972. produces:
  13973. - application/json
  13974. responses:
  13975. "200":
  13976. description: OK
  13977. schema:
  13978. $ref: '#/definitions/app.Response'
  13979. "500":
  13980. description: Internal Server Error
  13981. schema:
  13982. $ref: '#/definitions/app.Response'
  13983. security:
  13984. - ApiKeyAuth: []
  13985. summary: 获取用户实名认证状态
  13986. tags:
  13987. - 用户信息
  13988. /User/LoginQuery:
  13989. get:
  13990. parameters:
  13991. - description: 登录账号
  13992. in: query
  13993. name: loginID
  13994. required: true
  13995. type: integer
  13996. produces:
  13997. - application/json
  13998. responses:
  13999. "200":
  14000. description: OK
  14001. schema:
  14002. $ref: '#/definitions/user.LoginQueryRsp'
  14003. "500":
  14004. description: Internal Server Error
  14005. schema:
  14006. $ref: '#/definitions/app.Response'
  14007. security:
  14008. - ApiKeyAuth: []
  14009. summary: 账户登录后信息查询
  14010. tags:
  14011. - 用户信息
  14012. /User/QueryMessageBoard:
  14013. get:
  14014. parameters:
  14015. - description: 用户ID
  14016. in: query
  14017. name: userID
  14018. required: true
  14019. type: integer
  14020. produces:
  14021. - application/json
  14022. responses:
  14023. "200":
  14024. description: OK
  14025. schema:
  14026. $ref: '#/definitions/models.Messageboard'
  14027. "500":
  14028. description: Internal Server Error
  14029. schema:
  14030. $ref: '#/definitions/app.Response'
  14031. security:
  14032. - ApiKeyAuth: []
  14033. summary: 获取用户留言板信息
  14034. tags:
  14035. - 用户信息
  14036. /User/QueryUserFavoriteGoodses:
  14037. get:
  14038. parameters:
  14039. - description: 用户ID
  14040. in: query
  14041. name: userID
  14042. required: true
  14043. type: integer
  14044. produces:
  14045. - application/json
  14046. responses:
  14047. "200":
  14048. description: OK
  14049. schema:
  14050. $ref: '#/definitions/models.Userfavoritegoods'
  14051. "500":
  14052. description: Internal Server Error
  14053. schema:
  14054. $ref: '#/definitions/app.Response'
  14055. security:
  14056. - ApiKeyAuth: []
  14057. summary: 获取用户商品收藏信息
  14058. tags:
  14059. - 用户信息
  14060. /User/QueryUserInfo:
  14061. get:
  14062. parameters:
  14063. - description: 用户ID
  14064. in: query
  14065. name: userID
  14066. required: true
  14067. type: integer
  14068. - description: 是否解密
  14069. in: query
  14070. name: isDecrypt
  14071. type: boolean
  14072. produces:
  14073. - application/json
  14074. responses:
  14075. "200":
  14076. description: OK
  14077. schema:
  14078. $ref: '#/definitions/models.Userinfo'
  14079. "500":
  14080. description: Internal Server Error
  14081. schema:
  14082. $ref: '#/definitions/app.Response'
  14083. security:
  14084. - ApiKeyAuth: []
  14085. summary: 获取用户信息
  14086. tags:
  14087. - 用户信息
  14088. /User/QueryUserReferNum:
  14089. get:
  14090. parameters:
  14091. - description: 用户ID
  14092. in: query
  14093. name: userID
  14094. required: true
  14095. type: integer
  14096. produces:
  14097. - application/json
  14098. responses:
  14099. "200":
  14100. description: OK
  14101. schema:
  14102. $ref: '#/definitions/app.Response'
  14103. "500":
  14104. description: Internal Server Error
  14105. schema:
  14106. $ref: '#/definitions/app.Response'
  14107. summary: 获取用户邀请码
  14108. tags:
  14109. - 用户信息
  14110. /User/RemoveUserFavoriteGoods:
  14111. post:
  14112. parameters:
  14113. - description: 用户ID
  14114. in: query
  14115. name: userID
  14116. required: true
  14117. type: integer
  14118. - description: 商品ID
  14119. in: query
  14120. name: goodsID
  14121. required: true
  14122. type: integer
  14123. produces:
  14124. - application/json
  14125. responses:
  14126. "200":
  14127. description: OK
  14128. schema:
  14129. $ref: '#/definitions/app.Response'
  14130. "500":
  14131. description: Internal Server Error
  14132. schema:
  14133. $ref: '#/definitions/app.Response'
  14134. security:
  14135. - ApiKeyAuth: []
  14136. summary: 移除用户商品收藏信息
  14137. tags:
  14138. - 用户信息
  14139. /User/UpdateUserAccountStatus:
  14140. post:
  14141. parameters:
  14142. - description: 用户ID
  14143. in: query
  14144. name: userID
  14145. required: true
  14146. type: integer
  14147. - description: 账户状态 - 4:正常 6:注销(停用)
  14148. in: query
  14149. name: accountStatus
  14150. required: true
  14151. type: integer
  14152. produces:
  14153. - application/json
  14154. responses:
  14155. "200":
  14156. description: OK
  14157. schema:
  14158. $ref: '#/definitions/app.Response'
  14159. "500":
  14160. description: Internal Server Error
  14161. schema:
  14162. $ref: '#/definitions/app.Response'
  14163. security:
  14164. - ApiKeyAuth: []
  14165. summary: 更新用户状态
  14166. tags:
  14167. - 用户信息
  14168. /WR/GetWRCategoryInfo:
  14169. get:
  14170. produces:
  14171. - application/json
  14172. responses:
  14173. "200":
  14174. description: OK
  14175. schema:
  14176. $ref: '#/definitions/models.WRCategoryTree'
  14177. "500":
  14178. description: Internal Server Error
  14179. schema:
  14180. $ref: '#/definitions/app.Response'
  14181. summary: 获取现货分类信息
  14182. tags:
  14183. - 仓单服务
  14184. /WRTrade/GetAllDeliveryGoods:
  14185. get:
  14186. produces:
  14187. - application/json
  14188. - application/json
  14189. responses:
  14190. "200":
  14191. description: OK
  14192. schema:
  14193. $ref: '#/definitions/app.Response'
  14194. "500":
  14195. description: Internal Server Error
  14196. schema:
  14197. $ref: '#/definitions/app.Response'
  14198. security:
  14199. - ApiKeyAuth: []
  14200. - ApiKeyAuth: []
  14201. summary: 获取带仓单分类的种类信息
  14202. tags:
  14203. - 仓单贸易
  14204. - 仓单贸易
  14205. securityDefinitions:
  14206. ApiKeyAuth:
  14207. in: header
  14208. name: Authorization
  14209. type: apiKey
  14210. swagger: "2.0"