swagger.yaml 366 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259
  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. common.QueryTableDefineRsp:
  142. properties:
  143. columns:
  144. description: 列头信息数组
  145. items:
  146. $ref: '#/definitions/models.Tablecolumnconfig'
  147. type: array
  148. remark:
  149. description: Remark
  150. type: string
  151. tabelmenu:
  152. description: 列表菜单
  153. type: string
  154. tablekey:
  155. description: 列表Key
  156. type: string
  157. tablename:
  158. description: 列表名称
  159. type: string
  160. tabletype:
  161. description: 列表类型 - 1:管理端 2:终端
  162. type: integer
  163. required:
  164. - tablekey
  165. type: object
  166. common.QueryTraderMenuRsp:
  167. properties:
  168. OperationMenu:
  169. description: 功能菜单
  170. items:
  171. $ref: '#/definitions/models.OperationPrimaryMenu'
  172. type: array
  173. QuoteMenu:
  174. description: 报价牌分类菜单
  175. items:
  176. $ref: '#/definitions/models.QuotePrimaryMenu'
  177. type: array
  178. type: object
  179. cptrade.Cptradepositioncancel:
  180. properties:
  181. accountid:
  182. description: 申请人账户ID
  183. type: integer
  184. applystatus:
  185. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  186. type: integer
  187. applytime:
  188. description: 申请时间
  189. type: string
  190. cancelid:
  191. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  192. type: integer
  193. cancelqty:
  194. description: 注销数量
  195. type: integer
  196. createtime:
  197. description: 创建时间
  198. type: string
  199. creatorid:
  200. description: 创建人ID
  201. type: integer
  202. creatorname:
  203. description: 创建人
  204. type: string
  205. goodscode:
  206. description: 订单商品代码
  207. type: string
  208. goodsid:
  209. description: 商品ID
  210. type: integer
  211. goodsname:
  212. description: 订单商品名称
  213. type: string
  214. goodunit:
  215. description: 报价单位
  216. type: string
  217. handlestatus:
  218. description: 处理状态
  219. type: integer
  220. marketid:
  221. description: 市场ID
  222. type: integer
  223. marketname:
  224. description: 市场名称
  225. type: string
  226. tradedate:
  227. description: 交易日(yyyyMMdd)
  228. type: string
  229. userid:
  230. description: 申请人ID
  231. type: integer
  232. required:
  233. - cancelid
  234. type: object
  235. cptrade.Cptradepresaleapply:
  236. properties:
  237. accountid:
  238. description: 申请人账户ID
  239. type: integer
  240. applyid:
  241. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  242. type: integer
  243. applyremark:
  244. description: 申请备注
  245. type: string
  246. applystatus:
  247. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  248. type: integer
  249. applytime:
  250. description: 申请时间
  251. type: string
  252. attachmenturl:
  253. description: 附件地址
  254. type: string
  255. endtime:
  256. description: 预售结束时间
  257. type: string
  258. goodscode:
  259. description: 商品代码
  260. type: string
  261. goodsid:
  262. description: 商品ID
  263. type: integer
  264. goodsname:
  265. description: 商品名称
  266. type: string
  267. goodunit:
  268. description: 报价单位
  269. type: string
  270. handlestatus:
  271. description: 处理状态
  272. type: integer
  273. marketid:
  274. description: 预售市场ID
  275. type: integer
  276. marketname:
  277. description: 预售市场名称
  278. type: string
  279. presaleqty:
  280. description: 预售数量
  281. type: integer
  282. relatedgoodscode:
  283. description: 关联交易合约代码
  284. type: string
  285. relatedgoodsid:
  286. description: 关联交易合约ID
  287. type: integer
  288. relatedgoodsname:
  289. description: 关联交易合约名称
  290. type: string
  291. starttime:
  292. description: 预售开始时间
  293. type: string
  294. tradedate:
  295. description: 交易日(yyyyMMdd)
  296. type: string
  297. trademode:
  298. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  299. type: integer
  300. userid:
  301. description: 申请人ID
  302. type: integer
  303. required:
  304. - applyid
  305. type: object
  306. cptrade.Cptradeusergoodsdata:
  307. properties:
  308. EnabledQty:
  309. description: 可用量
  310. type: integer
  311. GoodsCode:
  312. description: 订单商品代码
  313. type: string
  314. GoodsName:
  315. description: 订单商品名称
  316. type: string
  317. WRStandardCode:
  318. description: 仓单标准代码
  319. type: string
  320. WRStandardName:
  321. description: 仓单标准名称
  322. type: string
  323. accountid:
  324. description: 账户ID
  325. type: integer
  326. cancelqty:
  327. description: 注销量
  328. type: integer
  329. curpresaleqty:
  330. description: 当前预售量
  331. type: integer
  332. deliveryqty:
  333. description: 交割量
  334. type: integer
  335. freezeamount:
  336. description: 冻结金额
  337. type: number
  338. goodsid:
  339. description: 商品ID
  340. type: integer
  341. goodunit:
  342. description: 报价单位
  343. type: string
  344. hasspotfreeze:
  345. description: 是否有现货冻结 - 0:否 1:有
  346. type: integer
  347. inqty:
  348. description: 转入量(总数量)
  349. type: integer
  350. marketid:
  351. description: 市场ID
  352. type: integer
  353. presaledamount:
  354. description: 已预售总金额
  355. type: integer
  356. presaledqty:
  357. description: 已预售量
  358. type: integer
  359. userid:
  360. description: 用户ID
  361. type: integer
  362. wrstandardid:
  363. description: 仓单标准ID
  364. type: integer
  365. required:
  366. - accountid
  367. - goodsid
  368. type: object
  369. cptrade.QueryCPTradeMyBidRsp:
  370. properties:
  371. accountid:
  372. description: 账户ID[报价币种]
  373. type: integer
  374. goodsid:
  375. description: 商品ID
  376. type: integer
  377. goodunit:
  378. description: 报价单位
  379. type: string
  380. marketid:
  381. description: 市场ID
  382. type: integer
  383. orderid:
  384. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  385. type: integer
  386. orderprice:
  387. description: 委托价格
  388. type: number
  389. orderqty:
  390. description: 委托数量
  391. type: integer
  392. ordertime:
  393. description: 委托时间
  394. type: string
  395. ordertotalprice:
  396. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  397. type: number
  398. ordertotalweight:
  399. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  400. type: integer
  401. totaltotalprice:
  402. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  403. type: number
  404. tradeprice:
  405. description: 成交价格
  406. type: number
  407. tradeqty:
  408. description: 成交数量
  409. type: integer
  410. required:
  411. - accountid
  412. - goodsid
  413. - marketid
  414. - orderid
  415. - orderqty
  416. - ordertime
  417. - tradeprice
  418. - tradeqty
  419. type: object
  420. cptrade.QueryCPTradeOrderDetailRsq:
  421. properties:
  422. accountid:
  423. description: 账户ID[报价币种]
  424. type: integer
  425. buildtype:
  426. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  427. type: integer
  428. buyorsell:
  429. description: 买卖 - 0:买 1:卖
  430. type: integer
  431. cancelorderid:
  432. description: 撤单单号(撤单时填写)
  433. type: integer
  434. cancelqty:
  435. description: 撤单数量
  436. type: integer
  437. clientordertime:
  438. description: 客户端委托时间
  439. type: string
  440. clientticket:
  441. description: 客户端流水号
  442. type: string
  443. clienttype:
  444. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  445. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  446. type: integer
  447. closeexchagechargevalue:
  448. description: 平仓交易所手续费设置值
  449. type: number
  450. closefeealgorithm:
  451. description: 平仓手续费收取方式 1:比率 2:固定
  452. type: integer
  453. closefreezecharge:
  454. description: 平仓冻结手续费(先建后平操作,需要记录)
  455. type: number
  456. closememberchargevalue:
  457. description: 平仓会员手续费设置值
  458. type: number
  459. closeqty:
  460. description: 平仓数量(先建后平操作 需要记录)
  461. type: integer
  462. closetradeqty:
  463. description: 平仓成交数量(先建后平操作,需要记录)
  464. type: integer
  465. closeunfreezecharge:
  466. description: 平仓解冻手续费(先建后平操作,需要记录)
  467. type: number
  468. delistingtype:
  469. description: 摘牌类型 - 1:价格最优 2:点选成交
  470. type: integer
  471. freezecharge:
  472. description: 冻结手续费
  473. type: number
  474. freezemargin:
  475. description: 冻结保证金(冻结交易金额)
  476. type: number
  477. gcaccountid:
  478. description: 账户ID[合约币种]
  479. type: integer
  480. goodsid:
  481. description: 商品ID
  482. type: integer
  483. isconfirmexercise:
  484. description: 是否确认行权- 0:否 1:是
  485. type: integer
  486. ispreexercise:
  487. description: 是否预申报- 0:否 1:是
  488. type: integer
  489. listingselecttype:
  490. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  491. type: integer
  492. marginalgorithm:
  493. description: 保证金收取方式 1:比率 2:固定
  494. type: integer
  495. marginvalue:
  496. description: 即市保证金设置值
  497. type: number
  498. marketid:
  499. description: 市场ID
  500. type: integer
  501. marketmaxsub:
  502. description: 市价最大偏移范围
  503. type: number
  504. memberuserid:
  505. description: 所属会员UserID
  506. type: integer
  507. openexchagechargevalue:
  508. description: 建仓交易所手续费设置值
  509. type: number
  510. openfeealgorithm:
  511. description: 建仓手续费收取方式 1:比率 2:固定
  512. type: integer
  513. openfreezecharge:
  514. description: 开仓冻结手续费(先建后平操作,需要记录)
  515. type: number
  516. openmemberchargevalue:
  517. description: 建仓会员手续费设置值
  518. type: number
  519. openqty:
  520. description: 开仓数量(先建后平操作,需要记录)
  521. type: integer
  522. opentradeqty:
  523. description: 开仓成交数量(先建后平操作,需要记录)
  524. type: integer
  525. openunfreezecharge:
  526. description: 开仓解冻手续费(先建后平操作,需要记录)
  527. type: number
  528. operatetype:
  529. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  530. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  531. 15:管理端协议转让
  532. type: integer
  533. operatorid:
  534. description: 登录账号(LoginID)
  535. type: integer
  536. optiontype:
  537. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  538. type: integer
  539. orderprice:
  540. description: 委托价格
  541. type: number
  542. orderqty:
  543. description: 委托数量
  544. type: integer
  545. ordersrc:
  546. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  547. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  548. type: integer
  549. orderstatus:
  550. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  551. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  552. 16:成交失败违约(荷兰式竞拍专用)
  553. type: integer
  554. ordertime:
  555. description: 委托时间
  556. type: string
  557. preexerciseprice:
  558. description: 预申报价格
  559. type: number
  560. premium:
  561. description: 权利金
  562. type: number
  563. preorderid:
  564. description: 关联预埋单号(止盈止损单时填写)
  565. type: integer
  566. pricemode:
  567. description: '取价方式 - 1:市价 2: 限价'
  568. type: integer
  569. quoteid:
  570. description: 报价单ID
  571. type: integer
  572. relatedid:
  573. description: 关联单号(交割单)
  574. type: integer
  575. retcode:
  576. description: 错误代码
  577. type: integer
  578. sessionid:
  579. description: 会话ID
  580. type: integer
  581. strorderid:
  582. description: 委托单号
  583. type: string
  584. tradedate:
  585. description: 交易日(yyyyMMdd)
  586. type: string
  587. tradeproperty:
  588. description: 交易属性
  589. type: integer
  590. tradeqty:
  591. description: 成交数量
  592. type: integer
  593. unfreezecharge:
  594. description: 解冻手续费
  595. type: number
  596. unfreezemargin:
  597. description: 解冻保证金
  598. type: number
  599. updatetime:
  600. description: 更新时间
  601. type: string
  602. uuid:
  603. description: 发起端唯一id
  604. type: string
  605. validtime:
  606. description: 有效期限
  607. type: string
  608. validtype:
  609. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  610. type: integer
  611. volumetype:
  612. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  613. type: integer
  614. required:
  615. - accountid
  616. - buildtype
  617. - buyorsell
  618. - goodsid
  619. - marketid
  620. - memberuserid
  621. - operatetype
  622. - orderqty
  623. - ordertime
  624. - pricemode
  625. - strorderid
  626. - tradedate
  627. - validtype
  628. type: object
  629. cptrade.QueryMyCPTradeGoodsRsp:
  630. properties:
  631. accountid:
  632. description: 卖方账户ID
  633. type: integer
  634. agreeunit:
  635. description: 合约单位
  636. type: number
  637. applyid:
  638. description: 关联申请ID
  639. type: integer
  640. attachmenturl:
  641. description: 附件地址
  642. type: string
  643. createtime:
  644. description: 创建时间
  645. type: string
  646. currencyid:
  647. description: 报价货币ID
  648. type: integer
  649. decimalplace:
  650. description: 报价小数位
  651. type: integer
  652. endtime:
  653. description: 预售结束时间
  654. type: string
  655. floorprice:
  656. description: 底价[大宗式竞拍]
  657. type: number
  658. goodscode:
  659. description: 商品代码(预售)
  660. type: string
  661. goodsdetail:
  662. description: 详情[大宗]
  663. type: string
  664. goodsid:
  665. description: 商品ID(自增ID SEQ_GOODS)
  666. type: integer
  667. goodsname:
  668. description: 商品名称(预售)
  669. type: string
  670. goodunit:
  671. description: 报价单位
  672. type: string
  673. goodunitid:
  674. description: 报价单位ID
  675. type: integer
  676. marketid:
  677. description: 所属市场ID
  678. type: integer
  679. marketname:
  680. description: 预售市场名称
  681. type: string
  682. presaledamount:
  683. description: 已预售总金额(预售结束时更新)
  684. type: number
  685. presaledqty:
  686. description: 已预售量(预售结束时更新)
  687. type: integer
  688. presalemode:
  689. description: 预售模式 - 1:一口价 2:大宗式竞拍
  690. type: integer
  691. presaleqty:
  692. description: 预售数量
  693. type: integer
  694. refprice:
  695. description: 参考价格[一口价]
  696. type: number
  697. relatedgoodscode:
  698. description: 商品代码(订单)
  699. type: string
  700. relatedgoodsid:
  701. description: 关联交易合约ID
  702. type: integer
  703. relatedgoodsname:
  704. description: 商品名称(订单)
  705. type: string
  706. relatedmarketid:
  707. description: 关联交易合约市场ID
  708. type: integer
  709. sellstatus:
  710. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  711. type: integer
  712. startprice:
  713. description: 起拍价[大宗式竞拍]
  714. type: number
  715. starttime:
  716. description: 预售开始时间
  717. type: string
  718. tradedate:
  719. description: 交易日(yyyyMMdd)
  720. type: string
  721. tradeprice:
  722. description: 成交价[大宗]
  723. type: number
  724. userid:
  725. description: 卖方用户ID
  726. type: integer
  727. required:
  728. - goodscode
  729. - goodsid
  730. - goodsname
  731. - marketid
  732. - relatedgoodscode
  733. - relatedgoodsname
  734. type: object
  735. cptrade.QueryPresaleGoodsExRsp:
  736. properties:
  737. attachmenturl:
  738. description: 附件地址
  739. type: string
  740. createtime:
  741. description: 创建时间
  742. type: string
  743. endtime:
  744. description: 预售结束时间
  745. type: string
  746. floorprice:
  747. description: 底价[大宗式竞拍]
  748. type: number
  749. goodsdetail:
  750. description: 详情[大宗]
  751. type: string
  752. goodsid:
  753. description: 商品ID(预售)
  754. type: integer
  755. goodunit:
  756. description: 报价单位
  757. type: string
  758. marketid:
  759. description: 预售市场ID - 根据预售模式选择市场
  760. type: integer
  761. presaledamount:
  762. description: 已预售总金额(预售结束时更新)
  763. type: number
  764. presaledqty:
  765. description: 已预售量(预售结束时更新)
  766. type: integer
  767. presalemode:
  768. description: 预售模式 - 1:一口价 2:大宗式竞拍
  769. type: integer
  770. presaleqty:
  771. description: 预售数量
  772. type: integer
  773. refprice:
  774. description: 参考价格[一口价]
  775. type: number
  776. relatedgoodsid:
  777. description: 关联交易合约ID
  778. type: integer
  779. relatedmarketid:
  780. description: 关联交易合约市场ID
  781. type: integer
  782. sellstatus:
  783. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  784. type: integer
  785. startprice:
  786. description: 起拍价[大宗式竞拍]
  787. type: number
  788. starttime:
  789. description: 预售开始时间
  790. type: string
  791. tradedate:
  792. description: 交易日(yyyyMMdd)
  793. type: string
  794. tradeprice:
  795. description: 成交价[大宗]
  796. type: number
  797. required:
  798. - goodsid
  799. type: object
  800. delivery.QueryDeliveryRelationRsp:
  801. properties:
  802. begindate:
  803. description: 起始日期(yyyyMMdd)
  804. type: string
  805. buytemplateid:
  806. description: 买履约计划模板ID
  807. type: integer
  808. deliverygoodscode:
  809. description: 品种代码
  810. type: string
  811. deliverygoodsid:
  812. description: 交割商品
  813. type: integer
  814. deliverygoodsname:
  815. description: 品种名称
  816. type: string
  817. deliverymode:
  818. description: 交割方式 - 1:点选式 2:申报式
  819. type: integer
  820. deliverypricerule:
  821. description: 交割价规则- 1:行情价 2:建仓价
  822. type: integer
  823. deliverytype:
  824. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  825. type: integer
  826. enddate:
  827. description: 结束日期(yyyyMMdd)
  828. type: string
  829. goodscode:
  830. description: 商品代码
  831. type: string
  832. goodsid:
  833. description: 交易合约ID
  834. type: integer
  835. goodsname:
  836. description: 商品名称
  837. type: string
  838. marketid:
  839. description: 市场ID
  840. type: integer
  841. mindeliveryqty:
  842. description: 最小交割系数(K)
  843. type: integer
  844. p2deliveryprice:
  845. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  846. type: number
  847. p2deliveryratio:
  848. description: P2合约系数(p)
  849. type: integer
  850. p2goodsid:
  851. description: P2合约ID
  852. type: integer
  853. p2pricemode:
  854. description: P2合约价格方式 - 1:商品价 2:固定值
  855. type: integer
  856. pdeliveryprice:
  857. description: P合约价格(商品价时填写0,固定值时填写固定值)
  858. type: number
  859. pdeliveryratio:
  860. description: P合约系数(n)
  861. type: integer
  862. pgoodsid:
  863. description: P合约ID
  864. type: integer
  865. ppricemode:
  866. description: P合约价格方式 - 1:商品价 2:固定值
  867. type: integer
  868. rratio:
  869. description: 兑换系数(R)
  870. type: integer
  871. rratio1:
  872. description: 兑换系数(交易合约)(R1)
  873. type: integer
  874. rratio2:
  875. description: 兑换系数(仓单标准)(R2)
  876. type: integer
  877. selltemplateid:
  878. description: 卖履约计划模板ID
  879. type: integer
  880. wrstandardid:
  881. description: 仓单标准ID
  882. type: integer
  883. xdeliveryratio:
  884. description: 交易合约系数(m)
  885. type: integer
  886. required:
  887. - begindate
  888. - enddate
  889. - goodsid
  890. - mindeliveryqty
  891. - xdeliveryratio
  892. type: object
  893. ermcp.ExposureDetailRsp:
  894. properties:
  895. areauserid:
  896. description: 机构ID
  897. type: integer
  898. changeQty:
  899. description: 套保变动量
  900. type: number
  901. contracttype:
  902. description: 现货合同类型 - 1:采购 -1:销售
  903. type: integer
  904. convertfactor:
  905. description: 标仓系数
  906. type: number
  907. convertratio:
  908. description: 套保系数
  909. type: number
  910. createtime:
  911. description: 时间
  912. type: string
  913. enumdicname:
  914. description: 现货商品单位名称
  915. type: string
  916. logtype:
  917. description: 类型 - 1:套保计划 2:现货合同
  918. type: integer
  919. middlegoodsId:
  920. description: 套保商品id
  921. type: integer
  922. middlegoodscode:
  923. description: 套保商品代码
  924. type: string
  925. middlegoodsname:
  926. description: 套保商品名称
  927. type: string
  928. qty:
  929. description: 数量
  930. type: number
  931. relateNo:
  932. description: 现货合同/套保计划编号
  933. type: string
  934. wrstandardcode:
  935. description: 现货商品代码
  936. type: string
  937. wrstandardid:
  938. description: 现货商品ID
  939. type: integer
  940. wrstandardname:
  941. description: 现货商品名称
  942. type: string
  943. type: object
  944. ermcp.ExposureHedgePosDetailRsp:
  945. properties:
  946. buyorsell:
  947. description: 买卖方向 0-买 1-卖
  948. type: integer
  949. channelbuildtype:
  950. description: 开平方向 1-建仓 2-平仓
  951. type: integer
  952. goodscode:
  953. description: 商品代码
  954. type: string
  955. goodsname:
  956. description: 商品名称
  957. type: string
  958. hedgegoodsid:
  959. description: 商品id
  960. type: integer
  961. tradeqty:
  962. description: 数量(成交数量)
  963. type: integer
  964. tradetime:
  965. description: 时间(成交时间)
  966. type: string
  967. type: object
  968. ermcp.ExposureHedgePositionRsp:
  969. properties:
  970. accountid:
  971. description: 资金账号[外部母账户]
  972. type: integer
  973. curbuyposition:
  974. description: 期末买头寸
  975. type: integer
  976. cursellposition:
  977. description: 期末卖头寸
  978. type: integer
  979. curtdbuyposition:
  980. description: 期末今日买头寸
  981. type: integer
  982. curtdsellposition:
  983. description: 期末今日卖头寸
  984. type: integer
  985. curydbuyposition:
  986. description: 期末上日买头寸
  987. type: integer
  988. curydsellposition:
  989. description: 期末上日卖头寸
  990. type: integer
  991. decreaseqty:
  992. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  993. type: integer
  994. fretdbuyposition:
  995. description: 冻结今日买头寸
  996. type: integer
  997. fretdsellposition:
  998. description: 冻结今日卖头寸
  999. type: integer
  1000. freydbuyposition:
  1001. description: 冻结上日买头寸
  1002. type: integer
  1003. freydsellposition:
  1004. description: 冻结上日卖头寸
  1005. type: integer
  1006. goodscode:
  1007. description: 商品代码
  1008. type: string
  1009. goodsid:
  1010. description: 商品id
  1011. type: integer
  1012. goodsname:
  1013. description: 商品名称
  1014. type: string
  1015. hedgeaccountcode:
  1016. description: 对冲账号
  1017. type: string
  1018. hedgegoodsid:
  1019. description: 对冲合约ID
  1020. type: integer
  1021. increaseqty:
  1022. description: 增加数量 = 期末买头寸 - 期初买头寸
  1023. type: integer
  1024. marketid:
  1025. description: 市场ID
  1026. type: integer
  1027. relateduserid:
  1028. description: 关联用户id
  1029. type: integer
  1030. totalcurqty:
  1031. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1032. type: integer
  1033. totalydqty:
  1034. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1035. type: integer
  1036. tradedate:
  1037. description: 交易日(yyyyMMdd)
  1038. type: string
  1039. ydbuyposition:
  1040. description: 期初买头寸
  1041. type: integer
  1042. ydsellposition:
  1043. description: 期初卖头寸
  1044. type: integer
  1045. type: object
  1046. ermcp.ExposureSpotDetailRsp:
  1047. properties:
  1048. contracttype:
  1049. description: 合同类型 1-采购 -1-销售
  1050. type: integer
  1051. createtime:
  1052. description: 创建时间
  1053. type: string
  1054. enumdicname:
  1055. description: 现货商品单位名称
  1056. type: string
  1057. logtype:
  1058. description: 记录类型 1-套保 2-现货合同
  1059. type: integer
  1060. qty:
  1061. description: 数量
  1062. type: number
  1063. recordname:
  1064. description: 类型名称
  1065. type: string
  1066. relatedid:
  1067. description: 套保计划ID/现货合同ID
  1068. type: string
  1069. relatedno:
  1070. description: 编号
  1071. type: string
  1072. strtime:
  1073. description: 时间
  1074. type: string
  1075. wrstandardcode:
  1076. description: 现货商品代码
  1077. type: string
  1078. wrstandardname:
  1079. description: 现货商品名称
  1080. type: string
  1081. type: object
  1082. ermcp.ExposureSpotRsp:
  1083. properties:
  1084. areauserid:
  1085. description: 所属机构
  1086. type: integer
  1087. decreaseqty:
  1088. description: 减少数量=-(销售已定价数量+采购计划数量)
  1089. type: number
  1090. increaseqty:
  1091. description: 增加数量=销售计划数量+采购已定价数量
  1092. type: number
  1093. oritoalspotqty:
  1094. description: 昨日数量
  1095. type: number
  1096. totalspotqty:
  1097. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1098. type: number
  1099. updatetime:
  1100. description: 更新时间
  1101. type: string
  1102. wrstandardcode:
  1103. description: 现货品种代码
  1104. type: string
  1105. wrstandardid:
  1106. description: 现货商品ID
  1107. type: integer
  1108. wrstandardname:
  1109. description: 现货品种
  1110. type: string
  1111. type: object
  1112. ermcp.HisExposureRsp:
  1113. properties:
  1114. data:
  1115. description: 历史敞口
  1116. items:
  1117. $ref: '#/definitions/models.ErmcpHisExposure'
  1118. type: array
  1119. enumdicname:
  1120. description: 单位名称
  1121. type: string
  1122. middlegoodscode:
  1123. description: 套保品种代码
  1124. type: string
  1125. middlegoodsid:
  1126. description: 套保品种ID
  1127. type: integer
  1128. middlegoodsname:
  1129. description: 套保品种名称
  1130. type: string
  1131. type: object
  1132. ermcp.PendingAuditCntRsp:
  1133. properties:
  1134. businessdjqty:
  1135. description: '待审核数量: 点价'
  1136. type: integer
  1137. businessfpqty:
  1138. description: '待审核数量: 发票'
  1139. type: integer
  1140. businessjsqty:
  1141. description: '待审核数量: 结算'
  1142. type: integer
  1143. businesskxqty:
  1144. description: '待审核数量: 款项'
  1145. type: integer
  1146. hedgeplanqty:
  1147. description: '待审核数量: 套保计划'
  1148. type: integer
  1149. spotcontractqty:
  1150. description: '待审核数量: 现货合同'
  1151. type: integer
  1152. userqty:
  1153. description: '待审核数量: 用户'
  1154. type: integer
  1155. type: object
  1156. ermcp.QryAvalidGPRsp:
  1157. properties:
  1158. goodsgroupid:
  1159. description: 期货品种id
  1160. type: integer
  1161. goodsgroupname:
  1162. description: 期货品种名称
  1163. type: string
  1164. goodunitid:
  1165. description: 品种单位id
  1166. type: integer
  1167. goodunitname:
  1168. description: 品种单位名称
  1169. type: string
  1170. outergroupcode:
  1171. description: 期货品种代码
  1172. type: string
  1173. type: object
  1174. ermcp.QryBusinessDjRsp:
  1175. properties:
  1176. amount:
  1177. description: 点价金额=(点价价格+升贴水)*点价数量
  1178. type: number
  1179. applyid:
  1180. description: 申请人
  1181. type: string
  1182. applyname:
  1183. description: 申请人名称
  1184. type: string
  1185. applystatus:
  1186. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1187. type: integer
  1188. applytime:
  1189. description: 申请时间
  1190. type: string
  1191. attachurl:
  1192. description: 附件
  1193. type: string
  1194. auditname:
  1195. description: 审核人名称
  1196. type: string
  1197. audittime:
  1198. description: 审核时间
  1199. type: string
  1200. buyusername:
  1201. description: 采购方名称
  1202. type: string
  1203. contractno:
  1204. description: 合同编号
  1205. type: string
  1206. contractstatus:
  1207. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1208. type: integer
  1209. contracttype:
  1210. description: 现货合同类型 - 1:采购 -1:销售
  1211. type: integer
  1212. enumdicname:
  1213. description: 单位名称
  1214. type: string
  1215. goodscode:
  1216. description: 点价合约
  1217. type: string
  1218. goodsname:
  1219. description: 商品名称
  1220. type: string
  1221. operateapplyid:
  1222. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1223. type: string
  1224. operateapplytype:
  1225. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1226. type: integer
  1227. pricedPrice:
  1228. description: 点价价格(非必填)
  1229. type: number
  1230. pricedQty:
  1231. description: 点价数量(非必填)
  1232. type: number
  1233. pricemove:
  1234. description: 升贴水
  1235. type: number
  1236. pricetype:
  1237. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1238. type: integer
  1239. relatedid:
  1240. description: 现货合同ID
  1241. type: string
  1242. sellusername:
  1243. description: 销售方名字
  1244. type: string
  1245. userid:
  1246. description: 用户ID
  1247. type: integer
  1248. type: object
  1249. ermcp.QryBussinessFpRsp:
  1250. properties:
  1251. applyid:
  1252. description: 申请人
  1253. type: string
  1254. applyname:
  1255. description: 申请人名称
  1256. type: string
  1257. applystatus:
  1258. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1259. type: integer
  1260. applytime:
  1261. description: 申请时间
  1262. type: string
  1263. attachurl:
  1264. description: 附件
  1265. type: string
  1266. auditname:
  1267. description: 审核人名称
  1268. type: string
  1269. audittime:
  1270. description: 审核时间
  1271. type: string
  1272. buyusername:
  1273. description: 采购方名称
  1274. type: string
  1275. contractno:
  1276. description: 合同编号
  1277. type: string
  1278. contractstatus:
  1279. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1280. type: integer
  1281. contracttype:
  1282. description: 现货合同类型 - 1:采购 -1:销售
  1283. type: integer
  1284. enumdicname:
  1285. description: 单位名称
  1286. type: string
  1287. goodscode:
  1288. description: 点价合约
  1289. type: string
  1290. goodsname:
  1291. description: 商品名称
  1292. type: string
  1293. invoiceAmount:
  1294. description: 已开收票金额(销售为开票,采购为收票)
  1295. type: number
  1296. operateapplyid:
  1297. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1298. type: string
  1299. operateapplytype:
  1300. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1301. type: integer
  1302. pricemove:
  1303. description: 升贴水
  1304. type: number
  1305. pricetype:
  1306. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1307. type: integer
  1308. relatedid:
  1309. description: 现货合同ID
  1310. type: string
  1311. sellusername:
  1312. description: 销售方名字
  1313. type: string
  1314. userid:
  1315. description: 用户ID
  1316. type: integer
  1317. type: object
  1318. ermcp.QryBussinessJsExRsp:
  1319. properties:
  1320. applyid:
  1321. description: 申请人
  1322. type: string
  1323. applyname:
  1324. description: 申请人名称
  1325. type: string
  1326. applystatus:
  1327. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1328. type: integer
  1329. applytime:
  1330. description: 申请时间
  1331. type: string
  1332. attachurl:
  1333. description: 附件
  1334. type: string
  1335. auditname:
  1336. description: 审核人名称
  1337. type: string
  1338. audittime:
  1339. description: 审核时间
  1340. type: string
  1341. buyusername:
  1342. description: 采购方名称
  1343. type: string
  1344. contractno:
  1345. description: 合同编号
  1346. type: string
  1347. contractstatus:
  1348. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1349. type: integer
  1350. contracttype:
  1351. description: 现货合同类型 - 1:采购 -1:销售
  1352. type: integer
  1353. enumdicname:
  1354. description: 单位名称
  1355. type: string
  1356. goodscode:
  1357. description: 点价合约
  1358. type: string
  1359. goodsname:
  1360. description: 商品名称
  1361. type: string
  1362. operateapplyid:
  1363. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1364. type: string
  1365. operateapplytype:
  1366. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1367. type: integer
  1368. pricemove:
  1369. description: 升贴水
  1370. type: number
  1371. pricetype:
  1372. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1373. type: integer
  1374. reckontype:
  1375. description: 结算类型
  1376. type: string
  1377. reckonvalue:
  1378. description: 值
  1379. type: number
  1380. relatedid:
  1381. description: 现货合同ID
  1382. type: string
  1383. sellusername:
  1384. description: 销售方名字
  1385. type: string
  1386. userid:
  1387. description: 用户ID
  1388. type: integer
  1389. type: object
  1390. ermcp.QryBussinessJsRsp:
  1391. properties:
  1392. addmargin:
  1393. description: 追加保证金(非必填)
  1394. type: number
  1395. applyid:
  1396. description: 申请人
  1397. type: string
  1398. applyname:
  1399. description: 申请人名称
  1400. type: string
  1401. applystatus:
  1402. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1403. type: integer
  1404. applytime:
  1405. description: 申请时间
  1406. type: string
  1407. attachurl:
  1408. description: 附件
  1409. type: string
  1410. auditname:
  1411. description: 审核人名称
  1412. type: string
  1413. audittime:
  1414. description: 审核时间
  1415. type: string
  1416. buyusername:
  1417. description: 采购方名称
  1418. type: string
  1419. contractno:
  1420. description: 合同编号
  1421. type: string
  1422. contractstatus:
  1423. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1424. type: integer
  1425. contracttype:
  1426. description: 现货合同类型 - 1:采购 -1:销售
  1427. type: integer
  1428. decmargin:
  1429. description: 减少保证金(非必填)
  1430. type: number
  1431. enumdicname:
  1432. description: 单位名称
  1433. type: string
  1434. goodscode:
  1435. description: 点价合约
  1436. type: string
  1437. goodsname:
  1438. description: 商品名称
  1439. type: string
  1440. operateapplyid:
  1441. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1442. type: string
  1443. operateapplytype:
  1444. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1445. type: integer
  1446. pricemove:
  1447. description: 升贴水
  1448. type: number
  1449. pricetype:
  1450. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1451. type: integer
  1452. reckonadjustamount:
  1453. description: 结算调整金额(非必填)
  1454. type: number
  1455. reckonosamount:
  1456. description: 结算溢短金额(非必填)
  1457. type: number
  1458. reckonotheramount:
  1459. description: 结算其他费用(非必填)
  1460. type: number
  1461. reckonrealqty:
  1462. description: 结算实际数量(非必填)
  1463. type: number
  1464. relatedid:
  1465. description: 现货合同ID
  1466. type: string
  1467. sellusername:
  1468. description: 销售方名字
  1469. type: string
  1470. userid:
  1471. description: 用户ID
  1472. type: integer
  1473. type: object
  1474. ermcp.QryBussinessKxRsp:
  1475. properties:
  1476. applyid:
  1477. description: 申请人
  1478. type: string
  1479. applyname:
  1480. description: 申请人名称
  1481. type: string
  1482. applystatus:
  1483. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1484. type: integer
  1485. applytime:
  1486. description: 申请时间
  1487. type: string
  1488. attachurl:
  1489. description: 附件
  1490. type: string
  1491. auditname:
  1492. description: 审核人名称
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deductamount:
  1510. description: 退款(非必填)
  1511. type: number
  1512. enumdicname:
  1513. description: 单位名称
  1514. type: string
  1515. goodscode:
  1516. description: 点价合约
  1517. type: string
  1518. goodsname:
  1519. description: 商品名称
  1520. type: string
  1521. kxtype:
  1522. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1523. type: integer
  1524. operateapplyid:
  1525. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1526. type: string
  1527. operateapplytype:
  1528. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1529. type: integer
  1530. payamount:
  1531. description: 收付款(非必填)
  1532. type: number
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. relatedid:
  1540. description: 现货合同ID
  1541. type: string
  1542. sellusername:
  1543. description: 销售方名字
  1544. type: string
  1545. userid:
  1546. description: 用户ID
  1547. type: integer
  1548. type: object
  1549. ermcp.QryErmcpRsp:
  1550. properties:
  1551. accountname:
  1552. description: 账户名称
  1553. type: string
  1554. attachment:
  1555. description: 附件
  1556. type: string
  1557. audittime:
  1558. description: 审核时间
  1559. type: string
  1560. contracctstatus:
  1561. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1562. type: integer
  1563. contractmargin:
  1564. description: 合同保证金
  1565. type: number
  1566. contractno:
  1567. description: 合同编号
  1568. type: string
  1569. contracttype:
  1570. description: 合同类型 1-采购, -1-销售
  1571. type: integer
  1572. convertfactor:
  1573. description: 标仓系数
  1574. type: number
  1575. createtime:
  1576. description: 创建时间
  1577. type: string
  1578. daikaiamount:
  1579. description: 待开票额
  1580. type: number
  1581. deliveryenddate:
  1582. description: 交割结束日
  1583. type: string
  1584. deliverygoodscode:
  1585. description: 现货商品代码
  1586. type: string
  1587. deliverygoodsid:
  1588. description: 现货商品ID
  1589. type: integer
  1590. deliverygoodsname:
  1591. description: 现货商品名称
  1592. type: string
  1593. deliverystartdate:
  1594. description: 交割开始日
  1595. type: string
  1596. enddate:
  1597. description: 点价结束日
  1598. type: string
  1599. enumdicname:
  1600. description: 单位名称
  1601. type: string
  1602. goodscode:
  1603. description: 点价商品代码
  1604. type: string
  1605. goodsid:
  1606. description: 点价商品ID
  1607. type: integer
  1608. goodsname:
  1609. description: 点价商品名称
  1610. type: string
  1611. invoiceamount:
  1612. description: 已开票额
  1613. type: number
  1614. loanamount:
  1615. description: 贷款总额=已定价额+调整金额
  1616. type: number
  1617. margin:
  1618. description: 保证金
  1619. type: number
  1620. payamount:
  1621. description: 已收付额(收款或付款)
  1622. type: number
  1623. price:
  1624. description: 价格
  1625. type: number
  1626. pricedamount:
  1627. description: 已定价额
  1628. type: number
  1629. pricedavg:
  1630. description: 已点均价
  1631. type: number
  1632. pricedqty:
  1633. description: 已定价量
  1634. type: number
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. producttype:
  1642. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1643. type: integer
  1644. qty:
  1645. description: 合同量
  1646. type: number
  1647. reckonadjustamount:
  1648. description: 调整金额
  1649. type: number
  1650. reckonedamount:
  1651. description: 已收付额(已确定额)
  1652. type: number
  1653. reckonotheramount:
  1654. description: 其它费用
  1655. type: number
  1656. reckonrealqty:
  1657. description: 已确定量
  1658. type: number
  1659. remark:
  1660. description: 备注
  1661. type: string
  1662. spotcontractid:
  1663. description: 合同ID
  1664. type: string
  1665. spotgoodsdesc:
  1666. description: 商品型号(商品规格)
  1667. type: string
  1668. startdate:
  1669. description: 点价开始日
  1670. type: string
  1671. totalamount:
  1672. description: 合计总额
  1673. type: number
  1674. unpayamount:
  1675. description: 待支收额(支付或收款)
  1676. type: number
  1677. unpricedqty:
  1678. description: 未定价量
  1679. type: number
  1680. unsureqty:
  1681. description: 未确定量
  1682. type: number
  1683. userid:
  1684. description: 用户ID
  1685. type: integer
  1686. type: object
  1687. ermcp.QryGGCovertCfgRsp:
  1688. properties:
  1689. convertratio:
  1690. description: 折算系数
  1691. type: number
  1692. destgoodsgroupid:
  1693. description: 目标品种ID
  1694. type: integer
  1695. dstcode:
  1696. description: 目录品种代码
  1697. type: string
  1698. dstexchangecode:
  1699. description: 目标期货交易所
  1700. type: string
  1701. dstname:
  1702. description: 目标品种名称
  1703. type: string
  1704. dstunitid:
  1705. description: 目标品种单位ID
  1706. type: integer
  1707. dstunitidname:
  1708. description: 目标品种单位名称
  1709. type: string
  1710. srccode:
  1711. description: 源品种代码
  1712. type: string
  1713. srcexchangecode:
  1714. description: 源期货交易所
  1715. type: string
  1716. srcgoodsgroupid:
  1717. description: 源品种ID
  1718. type: integer
  1719. srcname:
  1720. description: 源品种名称
  1721. type: string
  1722. srcunitid:
  1723. description: 源品种单位ID
  1724. type: integer
  1725. srcunitidname:
  1726. description: 源品种单位名称
  1727. type: string
  1728. type: object
  1729. ermcp.QryHedgePlanRsp:
  1730. properties:
  1731. areauserid:
  1732. description: 用户ID
  1733. type: integer
  1734. contracttype:
  1735. description: 计划类型 - 1:采购 -1:销售
  1736. type: integer
  1737. convertfactor:
  1738. description: 标仓系数
  1739. type: number
  1740. createtime:
  1741. description: 创建时间
  1742. type: string
  1743. deliverygoodsid:
  1744. description: 现货品种ID
  1745. type: integer
  1746. deliverygoodsname:
  1747. description: 现货品种名称
  1748. type: string
  1749. hedgeplanid:
  1750. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1751. type: string
  1752. hedgeplanno:
  1753. description: 套保计划编号(名称)
  1754. type: string
  1755. hedgeplanstatus:
  1756. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1757. type: integer
  1758. planqty:
  1759. description: 计划数量
  1760. type: number
  1761. plantime:
  1762. description: 计划时间
  1763. type: string
  1764. producttype:
  1765. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1766. type: integer
  1767. remark:
  1768. description: 备注
  1769. type: string
  1770. spotgoodsdesc:
  1771. description: 商品型号
  1772. type: string
  1773. wrstandardid:
  1774. description: 现货商品ID
  1775. type: integer
  1776. wrstandardname:
  1777. description: 现货商品名称
  1778. type: string
  1779. type: object
  1780. ermcp.QryMGChangeLogRsp:
  1781. properties:
  1782. aftervalue:
  1783. description: 变更后
  1784. type: number
  1785. applyid:
  1786. description: 操作人
  1787. type: integer
  1788. applyname:
  1789. description: 操作人名称
  1790. type: string
  1791. applysrc:
  1792. description: 操作来源 - 1:管理端 2:终端
  1793. type: integer
  1794. beforevalue:
  1795. description: 变更前
  1796. type: number
  1797. changelogtype:
  1798. description: 变更流水类型 - 1:套保比率变更
  1799. type: integer
  1800. handlestatus:
  1801. description: 处理状态
  1802. type: integer
  1803. logdatetime:
  1804. description: 流水日期
  1805. type: string
  1806. logid:
  1807. description: 流水ID
  1808. type: integer
  1809. logremark:
  1810. description: 流水备注
  1811. type: string
  1812. middlegoodsid:
  1813. description: 套保品种ID
  1814. type: integer
  1815. tradedate:
  1816. description: 交易日(yyyyMMdd)
  1817. type: string
  1818. updatetime:
  1819. description: 更新时间
  1820. type: string
  1821. type: object
  1822. ermcp.QryMiddleGoodsDetailRsp:
  1823. properties:
  1824. cvList:
  1825. description: 期货品种折算列表
  1826. items:
  1827. $ref: '#/definitions/models.GoodsGroupConvert'
  1828. type: array
  1829. mg:
  1830. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1831. description: 套保品种基本信息
  1832. type: object
  1833. ermcp.QryMiddleGoodsRsp:
  1834. properties:
  1835. areauserid:
  1836. description: 机构用户ID
  1837. type: integer
  1838. enumdicname:
  1839. description: 单位名称
  1840. type: string
  1841. evaluateratio:
  1842. description: 估价系数
  1843. type: number
  1844. goodsgroupid:
  1845. description: 关联期货品种ID
  1846. type: integer
  1847. isvalid:
  1848. description: 状态 0-无效(停用) 1-有效(正常)
  1849. type: integer
  1850. middlegoodscode:
  1851. description: 套保品种代码
  1852. type: string
  1853. middlegoodsid:
  1854. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1855. type: integer
  1856. middlegoodsname:
  1857. description: 套保品种名称
  1858. type: string
  1859. modifytime:
  1860. description: 修改时间
  1861. type: string
  1862. needhedgeratio:
  1863. description: 套保比率
  1864. type: number
  1865. qtydecimalplace:
  1866. description: 数量小数位
  1867. type: integer
  1868. relatedgoodsid:
  1869. description: 关联交易商品ID
  1870. type: integer
  1871. relatedgoodstype:
  1872. description: 关联商品类型 - 1:期货合约 2:现货品种
  1873. type: integer
  1874. type: object
  1875. ermcp.QryOPLogRsp:
  1876. properties:
  1877. aftervalue:
  1878. description: 变更后
  1879. type: number
  1880. applyid:
  1881. description: 操作人ID
  1882. type: string
  1883. applyname:
  1884. description: 操作人名称
  1885. type: string
  1886. beforevalue:
  1887. description: 变更前
  1888. type: number
  1889. biztype:
  1890. description: 业务类型 - 1:套保计划 2:现货合同
  1891. type: integer
  1892. contracttype:
  1893. description: 现货合同类型 - 1:采购 -1:销售
  1894. type: integer
  1895. logvalue:
  1896. description: 数值
  1897. type: number
  1898. operatelogtype:
  1899. description: 操作流水类型
  1900. type: integer
  1901. operatelogtypedesc:
  1902. description: 操作流水类型名称
  1903. type: string
  1904. relatedid:
  1905. description: 现货合同ID\套保计划
  1906. type: string
  1907. updatetime:
  1908. description: 更新时间
  1909. type: string
  1910. type: object
  1911. ermcp.QryReportDaySpotDetailRsp:
  1912. properties:
  1913. applyid:
  1914. description: 操作人
  1915. type: integer
  1916. applyname:
  1917. description: 操作人名称
  1918. type: string
  1919. biztype:
  1920. description: 业务类型 - 1:套保计划 2:现货合同
  1921. type: integer
  1922. contracttype:
  1923. description: 现货合同类型 - 1:采购 -1:销售
  1924. type: integer
  1925. enumdicName:
  1926. description: 单位名称
  1927. type: string
  1928. logdatetime:
  1929. description: 流水日期(时间)
  1930. type: string
  1931. logid:
  1932. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  1933. type: string
  1934. logtypename:
  1935. description: 合同类型(名称)
  1936. type: string
  1937. logvalue:
  1938. description: 数值
  1939. type: string
  1940. operatelogtype:
  1941. description: 操作流水类型 -
  1942. type: integer
  1943. optypename:
  1944. description: 流水类型名称
  1945. type: string
  1946. relatedid:
  1947. description: 现货合同ID\套保计划
  1948. type: string
  1949. relatedno:
  1950. description: 合同编号
  1951. type: string
  1952. tradedate:
  1953. description: 交易日(yyyyMMdd)
  1954. type: string
  1955. userid:
  1956. description: 机构ID
  1957. type: integer
  1958. wrstandardcode:
  1959. description: 现货商品代码
  1960. type: string
  1961. wrstandardid:
  1962. description: 现货商品ID
  1963. type: integer
  1964. wrstandardname:
  1965. description: 现货商品名称
  1966. type: string
  1967. type: object
  1968. ermcp.QryReportExposureDayRsp:
  1969. properties:
  1970. areauserid:
  1971. description: 所属机构
  1972. type: integer
  1973. buyfutureqty:
  1974. description: 买入期货数量
  1975. type: number
  1976. buyplanqty:
  1977. description: 采购计划数量
  1978. type: number
  1979. buypricedqty:
  1980. description: 采购合同已定价数量
  1981. type: number
  1982. diffFutuQty:
  1983. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  1984. type: number
  1985. diffSpotQty:
  1986. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  1987. type: number
  1988. enumdicname:
  1989. description: 单位名称
  1990. type: string
  1991. middlegoodscode:
  1992. description: 套保品种代码
  1993. type: string
  1994. middlegoodshedgeratio:
  1995. description: 应套保比例
  1996. type: number
  1997. middlegoodsid:
  1998. description: 套保品种ID
  1999. type: integer
  2000. middlegoodsname:
  2001. description: 套保品种名称
  2002. type: string
  2003. needhedgeexposoure:
  2004. description: 应套保敞口
  2005. type: number
  2006. needhedgeratio:
  2007. description: 应套保敞口比例
  2008. type: number
  2009. oriTotalFutuQty:
  2010. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2011. type: number
  2012. oriTotalSpotQty:
  2013. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2014. type: number
  2015. oribuyfutureqty:
  2016. description: 期初买入期货数量
  2017. type: number
  2018. oribuyplanqty:
  2019. description: 期初采购计划数量
  2020. type: number
  2021. oribuypricedqty:
  2022. description: 期初采购合同已定价数量
  2023. type: number
  2024. orisellfutureqty:
  2025. description: 期初卖出期货数量
  2026. type: number
  2027. orisellplanqty:
  2028. description: 期初销售计划数量
  2029. type: number
  2030. orisellpricedqty:
  2031. description: 期初销售合同已定价数量
  2032. type: number
  2033. reckondate:
  2034. description: 日照时期(yyyyMMdd)
  2035. type: string
  2036. sellfutureqty:
  2037. description: 卖出期货数量
  2038. type: number
  2039. sellplanqty:
  2040. description: 销售计划数量
  2041. type: number
  2042. sellpricedqty:
  2043. description: 销售合同已定价数量
  2044. type: number
  2045. totalexposure:
  2046. description: 总敞口
  2047. type: number
  2048. totalfutureqty:
  2049. description: 期货数量
  2050. type: number
  2051. totalhedgeratio:
  2052. description: 敞口比例
  2053. type: number
  2054. totalneedhedgeqty:
  2055. description: 期货应套保量
  2056. type: number
  2057. totalspotqty:
  2058. description: 现货数量
  2059. type: number
  2060. type: object
  2061. ermcp.QryReportFinanceDayRsp:
  2062. properties:
  2063. areauserid:
  2064. description: 所属机构
  2065. type: integer
  2066. collectinvoiceamount:
  2067. description: 今日开票金额
  2068. type: number
  2069. collectinvoicecount:
  2070. description: 今日开票笔数
  2071. type: integer
  2072. collectmoneyamount:
  2073. description: 今日收款金额
  2074. type: number
  2075. collectmoneycount:
  2076. description: 今日收款笔数
  2077. type: integer
  2078. payinvoiceamount:
  2079. description: 今日收票金额
  2080. type: number
  2081. payinvoicecount:
  2082. description: 今日收票笔数
  2083. type: integer
  2084. paymoneyamount:
  2085. description: 今日付款金额
  2086. type: number
  2087. paymoneycount:
  2088. description: 今日付款笔数
  2089. type: integer
  2090. reckondate:
  2091. description: 日照时期(yyyyMMdd)
  2092. type: string
  2093. updatetime:
  2094. description: 更新时间
  2095. type: string
  2096. type: object
  2097. ermcp.QryReportFinanceKxRsp:
  2098. properties:
  2099. applyid:
  2100. description: 操作人
  2101. type: integer
  2102. applyname:
  2103. description: 操作人名称
  2104. type: string
  2105. biztype:
  2106. description: 业务类型 - 1:套保计划 2:现货合同
  2107. type: integer
  2108. contracttype:
  2109. description: 现货合同类型 - 1:采购 -1:销售
  2110. type: integer
  2111. enumdicName:
  2112. description: 单位名称
  2113. type: string
  2114. logdatetime:
  2115. description: 流水日期(时间)
  2116. type: string
  2117. logid:
  2118. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2119. type: string
  2120. logtypename:
  2121. description: 合同类型(名称)
  2122. type: string
  2123. logvalue:
  2124. description: 数值
  2125. type: string
  2126. operatelogtype:
  2127. description: 操作流水类型 -
  2128. type: integer
  2129. optypename:
  2130. description: 流水类型名称
  2131. type: string
  2132. relatedid:
  2133. description: 现货合同ID\套保计划
  2134. type: string
  2135. relatedno:
  2136. description: 合同编号
  2137. type: string
  2138. tradedate:
  2139. description: 交易日(yyyyMMdd)
  2140. type: string
  2141. userid:
  2142. description: 机构ID
  2143. type: integer
  2144. wrstandardcode:
  2145. description: 现货商品代码
  2146. type: string
  2147. wrstandardid:
  2148. description: 现货商品ID
  2149. type: integer
  2150. wrstandardname:
  2151. description: 现货商品名称
  2152. type: string
  2153. type: object
  2154. ermcp.QryReportFinanceMonRsp:
  2155. properties:
  2156. areauserid:
  2157. description: 所属机构【原值】
  2158. type: integer
  2159. collectinvoiceamount:
  2160. description: 今日开票金额【汇总】
  2161. type: number
  2162. collectinvoicecount:
  2163. description: 今日开票笔数【汇总】
  2164. type: integer
  2165. collectmoneyamount:
  2166. description: 今日收款金额【汇总】
  2167. type: number
  2168. collectmoneycount:
  2169. description: 今日收款笔数 【汇总】
  2170. type: integer
  2171. cycletime:
  2172. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2173. type: string
  2174. cycletype:
  2175. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2176. type: integer
  2177. dayFr:
  2178. description: 日报表明细
  2179. items:
  2180. $ref: '#/definitions/models.ErmcpReportDayFR'
  2181. type: array
  2182. payinvoiceamount:
  2183. description: 今日收票金额【汇总】
  2184. type: number
  2185. payinvoicecount:
  2186. description: 今日收票笔数【汇总】
  2187. type: integer
  2188. paymoneyamount:
  2189. description: 今日付款金额【汇总】
  2190. type: number
  2191. paymoneycount:
  2192. description: 今日付款笔数【汇总】
  2193. type: integer
  2194. updatetime:
  2195. description: 更新时间
  2196. type: string
  2197. type: object
  2198. ermcp.QryReportSpotDayRsp:
  2199. properties:
  2200. areauserid:
  2201. description: 所属机构T
  2202. type: integer
  2203. enumdicname:
  2204. description: 现货商品单位名称
  2205. type: string
  2206. reckondate:
  2207. description: 日照时期(yyyyMMdd)
  2208. type: string
  2209. todaybuyreckonqty:
  2210. description: 采购确定量
  2211. type: number
  2212. todaysellreckonqty:
  2213. description: 销售确定量
  2214. type: number
  2215. totalbuypricedqty:
  2216. description: 采购定价量 = 期末 - 期初
  2217. type: number
  2218. totalsellpricedqty:
  2219. description: 销售定价量 = 期末 - 期初
  2220. type: number
  2221. wrstandardcode:
  2222. description: 现货商品代码
  2223. type: string
  2224. wrstandardid:
  2225. description: 现货商品ID
  2226. type: integer
  2227. wrstandardname:
  2228. description: 现货商品名称
  2229. type: string
  2230. type: object
  2231. ermcp.QryReportSpotMonRsp:
  2232. properties:
  2233. areauserid:
  2234. description: 所属机构T
  2235. type: integer
  2236. cycletime:
  2237. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2238. type: string
  2239. cycletype:
  2240. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2241. type: integer
  2242. enumdicname:
  2243. description: 现货商品单位名称
  2244. type: string
  2245. todaybuyreckonqty:
  2246. description: 采购确定量
  2247. type: number
  2248. todaysellreckonqty:
  2249. description: 销售确定量
  2250. type: number
  2251. totalbuypricedqty:
  2252. description: 采购定价量 = 期末 - 期初
  2253. type: number
  2254. totalsellpricedqty:
  2255. description: 销售定价量 = 期末 - 期初
  2256. type: number
  2257. wrstandardcode:
  2258. description: 现货商品代码
  2259. type: string
  2260. wrstandardid:
  2261. description: 现货商品ID
  2262. type: integer
  2263. wrstandardname:
  2264. description: 现货商品名称
  2265. type: string
  2266. type: object
  2267. ermcp.QryReportSpotMonthDetailRsp:
  2268. properties:
  2269. areauserid:
  2270. description: 所属机构T
  2271. type: integer
  2272. enumdicname:
  2273. description: 现货商品单位名称
  2274. type: string
  2275. reckondate:
  2276. description: 日照时期(yyyyMMdd)
  2277. type: string
  2278. todaybuyreckonqty:
  2279. description: 采购确定量
  2280. type: number
  2281. todaysellreckonqty:
  2282. description: 销售确定量
  2283. type: number
  2284. totalbuypricedqty:
  2285. description: 采购定价量 = 期末 - 期初
  2286. type: number
  2287. totalsellpricedqty:
  2288. description: 销售定价量 = 期末 - 期初
  2289. type: number
  2290. wrstandardcode:
  2291. description: 现货商品代码
  2292. type: string
  2293. wrstandardid:
  2294. description: 现货商品ID
  2295. type: integer
  2296. wrstandardname:
  2297. description: 现货商品名称
  2298. type: string
  2299. type: object
  2300. ermcp.QrySpotContractRsp:
  2301. properties:
  2302. amount:
  2303. description: 金额 [1:一口价、3:暂定价]
  2304. type: number
  2305. attachment:
  2306. description: 附件
  2307. type: string
  2308. auditremark:
  2309. description: 审核意见
  2310. type: string
  2311. audittime:
  2312. description: 审核时间
  2313. type: string
  2314. brandname:
  2315. description: 品牌名称
  2316. type: string
  2317. buyuserid:
  2318. description: 采购方ID
  2319. type: integer
  2320. buyusername:
  2321. description: 采购方名称
  2322. type: string
  2323. contracctstatus:
  2324. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2325. type: integer
  2326. contractmargin:
  2327. description: 合同保证金
  2328. type: number
  2329. contractno:
  2330. description: 现货合同编号
  2331. type: string
  2332. contracttype:
  2333. description: 现货合同类型 - 1:采购 -1:销售
  2334. type: integer
  2335. convertfactor:
  2336. description: 标仓系数
  2337. type: number
  2338. createtime:
  2339. description: 创建时间
  2340. type: string
  2341. deliveryenddate:
  2342. description: 交收期(结束)
  2343. type: string
  2344. deliverygoodscode:
  2345. description: 现货品种代码
  2346. type: string
  2347. deliverygoodsid:
  2348. description: 现货品种ID
  2349. type: integer
  2350. deliverygoodsname:
  2351. description: 现货品种名称
  2352. type: string
  2353. deliverystartdate:
  2354. description: 交收期(开始)
  2355. type: string
  2356. enddate:
  2357. description: 点价结束日期 [2:点价 3:暂定价]
  2358. type: string
  2359. enumdicname:
  2360. description: 单位名称
  2361. type: string
  2362. goodscode:
  2363. description: 点价合约代码
  2364. type: string
  2365. goodsid:
  2366. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2367. type: integer
  2368. goodsname:
  2369. description: 点价商品名称
  2370. type: string
  2371. margin:
  2372. description: 当前保证金
  2373. type: number
  2374. modelname:
  2375. description: 型号名称
  2376. type: string
  2377. price:
  2378. description: 价格\暂定价 [1:一口价、3:暂定价]
  2379. type: number
  2380. pricemove:
  2381. description: 升贴水 [2:点价 3:暂定价]
  2382. type: number
  2383. pricetype:
  2384. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2385. type: integer
  2386. producttype:
  2387. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2388. type: integer
  2389. qty:
  2390. description: 数量
  2391. type: number
  2392. remark:
  2393. description: 备注
  2394. type: string
  2395. selluserid:
  2396. description: 销售方ID
  2397. type: integer
  2398. sellusername:
  2399. description: 销售方名称
  2400. type: string
  2401. spotcontractid:
  2402. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2403. type: string
  2404. spotgoodsbrandid:
  2405. description: 现货品牌ID
  2406. type: integer
  2407. spotgoodsdesc:
  2408. description: 商品型号
  2409. type: string
  2410. spotgoodsmodelid:
  2411. description: 现货型号ID
  2412. type: integer
  2413. startdate:
  2414. description: 点价开始日期 [2:点价 3:暂定价]
  2415. type: string
  2416. userid:
  2417. description: 机构ID
  2418. type: integer
  2419. wrstandardid:
  2420. description: 现货商品ID
  2421. type: integer
  2422. type: object
  2423. ermcp.QryUserInfoRsp:
  2424. properties:
  2425. address:
  2426. description: 通讯地址
  2427. type: string
  2428. attachment1:
  2429. description: 附件1
  2430. type: string
  2431. cardfrontphotourl:
  2432. description: 证件正面图片地址
  2433. type: string
  2434. cardnum:
  2435. description: 证件号码
  2436. type: string
  2437. cardtype:
  2438. description: 证件类型
  2439. type: integer
  2440. cardtypename:
  2441. description: 证件类型名称
  2442. type: string
  2443. cityid:
  2444. description: 市
  2445. type: integer
  2446. countryid:
  2447. description: 国家
  2448. type: integer
  2449. createtime:
  2450. description: 创建时间
  2451. type: string
  2452. customername:
  2453. description: 企业名称
  2454. type: string
  2455. memberuserid:
  2456. description: 所属机构ID
  2457. type: integer
  2458. mobile:
  2459. description: 手机号码
  2460. type: string
  2461. provinceid:
  2462. description: 省
  2463. type: integer
  2464. remark:
  2465. description: 备注
  2466. type: string
  2467. status:
  2468. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2469. type: integer
  2470. statusdesc:
  2471. description: 账户状态中文描述
  2472. type: string
  2473. telphone:
  2474. description: 联系电话
  2475. type: string
  2476. userid:
  2477. description: 用户ID
  2478. type: integer
  2479. userinfotype:
  2480. description: 客户类型
  2481. type: string
  2482. type: object
  2483. ermcp.QryWrStandardDetailRsp:
  2484. properties:
  2485. gbList:
  2486. description: 品牌列表
  2487. items:
  2488. $ref: '#/definitions/models.GoodsBrand'
  2489. type: array
  2490. goodsList:
  2491. description: 关联交易商品列表
  2492. items:
  2493. $ref: '#/definitions/models.RelatedGoodsEx'
  2494. type: array
  2495. gtList:
  2496. description: 型号列表
  2497. items:
  2498. $ref: '#/definitions/models.GoodsTypeModel'
  2499. type: array
  2500. wrd:
  2501. $ref: '#/definitions/models.ErmcpWrstandard'
  2502. description: 基本信息
  2503. wrsList:
  2504. description: 套保信息列表
  2505. items:
  2506. $ref: '#/definitions/models.WRSConverTDetail'
  2507. type: array
  2508. type: object
  2509. ermcp.QryWrStandardRsp:
  2510. properties:
  2511. areauserid:
  2512. description: 所属机构
  2513. type: integer
  2514. createtime:
  2515. description: 创建时间
  2516. type: string
  2517. creatorid:
  2518. description: 创建人
  2519. type: integer
  2520. deliverygoodsid:
  2521. description: 品种ID
  2522. type: integer
  2523. enumdicname:
  2524. description: 单位名称
  2525. type: string
  2526. isvalid:
  2527. description: 是否有效 0-无效(停用) 1-有效(正常)
  2528. type: integer
  2529. minivalue:
  2530. description: 最小变动值
  2531. type: integer
  2532. minivaluedp:
  2533. description: 最小变动值小数位
  2534. type: integer
  2535. realminivalue:
  2536. description: 实际最小变动值
  2537. type: integer
  2538. realminivaluedp:
  2539. description: 实际最小变动值小数位
  2540. type: integer
  2541. remark:
  2542. description: 备注
  2543. type: string
  2544. unitid:
  2545. description: 单位ID
  2546. type: integer
  2547. updatetime:
  2548. description: 更新时间
  2549. type: string
  2550. wrstandardcode:
  2551. description: 现货商品代码
  2552. type: string
  2553. wrstandardid:
  2554. description: 现货商品ID(SEQ_WRSTANDARD)
  2555. type: integer
  2556. wrstandardname:
  2557. description: 现货商品名称
  2558. type: string
  2559. type: object
  2560. ermcp.QueryErmcpTradePositionRsp:
  2561. properties:
  2562. agreeunit:
  2563. description: 合约单位
  2564. type: number
  2565. buyorsell:
  2566. description: 方向 - 0:买 1:卖
  2567. type: integer
  2568. curpositionqty:
  2569. description: 持仓(总仓数量, 期末头寸)
  2570. type: integer
  2571. curtdposition:
  2572. description: 今仓数量(期末今日头寸)
  2573. type: integer
  2574. curtdpositionenabled:
  2575. description: 今仓可用
  2576. type: integer
  2577. decimalplace:
  2578. description: 报价小数位
  2579. type: integer
  2580. enableqty:
  2581. description: 可用(总仓可用)
  2582. type: integer
  2583. exexchangename:
  2584. description: 外部交易所名称
  2585. type: string
  2586. goodscode:
  2587. description: 商品代码(内部)
  2588. type: string
  2589. goodsid:
  2590. description: 商品ID(自增ID SEQ_GOODS)
  2591. type: integer
  2592. goodsname:
  2593. description: 商品名称
  2594. type: string
  2595. last:
  2596. description: 现价
  2597. type: number
  2598. marketid:
  2599. description: 所属市场ID
  2600. type: integer
  2601. openaverageprice:
  2602. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2603. type: number
  2604. opencost:
  2605. description: 开仓成本
  2606. type: number
  2607. openpl:
  2608. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2609. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2610. type: number
  2611. outgoodscode:
  2612. description: 商品代码(外部)
  2613. type: string
  2614. positionaverageprice:
  2615. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2616. type: number
  2617. positioncost:
  2618. description: 持仓成本
  2619. type: number
  2620. positionpl:
  2621. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2622. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2623. type: number
  2624. positionplrate:
  2625. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2626. type: number
  2627. usedmargin:
  2628. description: 占用保证金
  2629. type: number
  2630. type: object
  2631. ermcp.RealtimeExposurePositionRsp:
  2632. properties:
  2633. agreeunit:
  2634. description: 合约单位
  2635. type: string
  2636. areauserid:
  2637. description: 所属机构id
  2638. type: integer
  2639. convertratio:
  2640. description: 期货品种系数(折算系数)
  2641. type: number
  2642. curqty:
  2643. description: 当前持仓
  2644. type: integer
  2645. diffhedgeqty:
  2646. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2647. type: number
  2648. diffqty:
  2649. description: 持仓变动量=当前持仓-昨日持仓
  2650. type: integer
  2651. goodscode:
  2652. description: 商品代码
  2653. type: string
  2654. goodsid:
  2655. description: 商品id
  2656. type: integer
  2657. goodsname:
  2658. description: 商品名称
  2659. type: string
  2660. middlegoodsid:
  2661. description: 套保商品id
  2662. type: integer
  2663. ydqty:
  2664. description: 昨日持仓
  2665. type: integer
  2666. type: object
  2667. ermcp.RealtimeExposureRsp:
  2668. properties:
  2669. areaUserID:
  2670. description: 所属机构
  2671. type: integer
  2672. buyFutureQty:
  2673. description: 买入期货数量
  2674. type: number
  2675. buyPlanQty:
  2676. description: 采购计划数量
  2677. type: number
  2678. buyPricedQty:
  2679. description: 采购合同已定价数量
  2680. type: number
  2681. diffFutuQty:
  2682. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2683. type: number
  2684. diffSpotQty:
  2685. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2686. type: number
  2687. enumdicname:
  2688. description: 单位名称
  2689. type: string
  2690. middleGoodsCode:
  2691. description: 套保品种代码
  2692. type: string
  2693. middleGoodsHedgeRatio:
  2694. description: 应套保比例
  2695. type: number
  2696. middleGoodsID:
  2697. description: 套保品种
  2698. type: integer
  2699. middleGoodsName:
  2700. description: 套保品种名称
  2701. type: string
  2702. needHedgeExposoure:
  2703. description: 应套保敞口
  2704. type: number
  2705. needHedgeRatio:
  2706. description: 应套保敞口比例
  2707. type: number
  2708. oriBuyFutureQty:
  2709. description: 期初买入期货数量
  2710. type: number
  2711. oriBuyPlanQty:
  2712. description: 期初采购计划数量
  2713. type: number
  2714. oriBuyPricedQty:
  2715. description: 期初采购合同已定价数量
  2716. type: number
  2717. oriSellFutureQty:
  2718. description: 期初卖出期货数量
  2719. type: number
  2720. oriSellPlanQty:
  2721. description: 期初销售计划数量
  2722. type: number
  2723. oriSellPricedQty:
  2724. description: 期初销售合同已定价数量
  2725. type: number
  2726. oriTotalFutuQty:
  2727. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2728. type: number
  2729. oriTotalSpotQty:
  2730. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2731. type: number
  2732. sellFutureQty:
  2733. description: 卖出期货数量
  2734. type: number
  2735. sellPlanQty:
  2736. description: 销售计划数量
  2737. type: number
  2738. sellPricedQty:
  2739. description: 销售合同已定价数量
  2740. type: number
  2741. totalExposure:
  2742. description: 总敞口
  2743. type: number
  2744. totalFutureQty:
  2745. description: 期货数量
  2746. type: number
  2747. totalHedgeRatio:
  2748. description: 敞口比例
  2749. type: number
  2750. totalNeedHedgeQty:
  2751. description: 期货应套保量
  2752. type: number
  2753. totalSpotQty:
  2754. description: 现货数量
  2755. type: number
  2756. type: object
  2757. erms2.QueryArbitrageStrategyRsp:
  2758. properties:
  2759. applybasis:
  2760. description: 申请基差
  2761. type: number
  2762. asapplyid:
  2763. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2764. type: string
  2765. asname:
  2766. description: 策略名称
  2767. type: string
  2768. asno:
  2769. description: 策略编号
  2770. type: string
  2771. basischangepl:
  2772. description: 基差变动损益[结算更新]
  2773. type: number
  2774. biztype:
  2775. description: 业务类型 - 1:正向套利 -1:反向套利
  2776. type: integer
  2777. closetradedate:
  2778. description: 完结交易日(yyyyMMdd)
  2779. type: string
  2780. curbasis:
  2781. description: 当前基差[结算更新]
  2782. type: number
  2783. deliverygoodsid:
  2784. description: 现货品种ID
  2785. type: integer
  2786. futureavgprice:
  2787. description: 期货建仓均价
  2788. type: number
  2789. futurecloseamount:
  2790. description: 期货平仓金额
  2791. type: number
  2792. futurecloseqty:
  2793. description: 期货平仓数量
  2794. type: number
  2795. futureopenamount:
  2796. description: 期货开仓金额
  2797. type: number
  2798. futureopenqty:
  2799. description: 期货开仓数量
  2800. type: number
  2801. futurepl:
  2802. description: 期货总盈亏[结算更新]
  2803. type: number
  2804. futureqty:
  2805. description: 期货持仓数量
  2806. type: number
  2807. futurequote:
  2808. description: 期货额度
  2809. type: number
  2810. goodsgroupid:
  2811. description: 期货品种ID
  2812. type: integer
  2813. marketid:
  2814. description: 市场ID
  2815. type: integer
  2816. netexposure:
  2817. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2818. type: number
  2819. netexposurepl:
  2820. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2821. type: number
  2822. netexposurerate:
  2823. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2824. type: number
  2825. openbasis:
  2826. description: 建仓基差
  2827. type: number
  2828. pricedspotqty:
  2829. description: 已定价现货数量
  2830. type: number
  2831. pricedspotqtynotax:
  2832. description: 已定价现货不含税数量
  2833. type: number
  2834. remark:
  2835. description: 备注
  2836. type: string
  2837. spotavgprice:
  2838. description: 现货均价
  2839. type: number
  2840. spotbuyamount:
  2841. description: 现货采购金额
  2842. type: number
  2843. spotbuyqty:
  2844. description: 现货采购数量
  2845. type: number
  2846. spotpl:
  2847. description: 现货总盈亏[结算更新]
  2848. type: number
  2849. spotquota:
  2850. description: 现货额度
  2851. type: number
  2852. spotsellamount:
  2853. description: 现货销售金额
  2854. type: number
  2855. spotsellqty:
  2856. description: 现货销售数量
  2857. type: number
  2858. spotusedquota:
  2859. description: 现货占用资金
  2860. type: number
  2861. strategystatus:
  2862. description: 策略状态 - 0:未结束 1:已结束
  2863. type: integer
  2864. totalpl:
  2865. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2866. type: number
  2867. tradedate:
  2868. description: 交易日(yyyyMMdd)
  2869. type: string
  2870. updatetime:
  2871. description: 更新时间
  2872. type: string
  2873. usedquota:
  2874. description: 已占用资金
  2875. type: number
  2876. userid:
  2877. description: 所属机构
  2878. type: integer
  2879. required:
  2880. - asapplyid
  2881. type: object
  2882. erms2.QueryInnerTradeDetailRsp:
  2883. properties:
  2884. accountid:
  2885. description: 账号ID
  2886. type: integer
  2887. agreeunit:
  2888. description: 合约单位
  2889. type: number
  2890. asapplyid:
  2891. description: 策略申请ID
  2892. type: integer
  2893. asname:
  2894. description: 策略名称
  2895. type: string
  2896. asno:
  2897. description: 策略编号
  2898. type: string
  2899. buyorsell:
  2900. description: 方向 - 0:买 1:卖
  2901. type: integer
  2902. channelbuildtype:
  2903. description: 委托单据类型 0:无 1:建仓 2:平仓
  2904. type: integer
  2905. closetype:
  2906. description: 平仓方式 - 0:无 1:平今 2:平昨
  2907. type: integer
  2908. decimalplace:
  2909. description: 报价小数位
  2910. type: integer
  2911. detailtype:
  2912. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2913. type: integer
  2914. exexchangecode:
  2915. description: 外部交易所代码
  2916. type: string
  2917. exexchangename:
  2918. description: 外部交易所名称
  2919. type: string
  2920. goodscode:
  2921. description: 商品代码(合约)
  2922. type: string
  2923. goodsgroupid:
  2924. description: 商品组ID(品种ID)
  2925. type: integer
  2926. goodsgroupname:
  2927. description: 商品组名称(品种)
  2928. type: string
  2929. goodsid:
  2930. description: 商品ID
  2931. type: integer
  2932. goodsname:
  2933. description: 商品名称(合约)
  2934. type: string
  2935. goodunit:
  2936. description: 报价单位
  2937. type: string
  2938. marketid:
  2939. description: 市场ID
  2940. type: integer
  2941. orderid:
  2942. description: 委托单号
  2943. type: string
  2944. outgoodscode:
  2945. description: 商品代码(外部)
  2946. type: string
  2947. relatedouttradeid:
  2948. description: 关联外部成交单ID
  2949. type: string
  2950. remark:
  2951. description: 备注
  2952. type: string
  2953. spotcontractid:
  2954. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2955. type: integer
  2956. spotcontractno:
  2957. description: 现货合同编号
  2958. type: string
  2959. tradeid:
  2960. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2961. type: string
  2962. tradeprice:
  2963. description: 成交价格
  2964. type: number
  2965. tradeqty:
  2966. description: 成交数量
  2967. type: integer
  2968. tradetime:
  2969. description: 成交时间
  2970. type: string
  2971. updatetime:
  2972. description: 更新时间
  2973. type: string
  2974. required:
  2975. - asapplyid
  2976. - buyorsell
  2977. - goodscode
  2978. - goodsgroupid
  2979. - goodsgroupname
  2980. - goodsname
  2981. - tradeid
  2982. type: object
  2983. erms2.QuerySpotContractRsp:
  2984. properties:
  2985. accountid:
  2986. description: 资金账户ID
  2987. type: integer
  2988. areauserid:
  2989. description: 所属机构
  2990. type: integer
  2991. closedate:
  2992. description: 终止日期
  2993. type: string
  2994. closeremark:
  2995. description: 结束备注
  2996. type: string
  2997. closetradedate:
  2998. description: 完结交易日(yyyyMMdd)
  2999. type: string
  3000. closetype:
  3001. description: 终止类型 - 1:违约 2:提前终止
  3002. type: integer
  3003. contractamount:
  3004. description: 合同金额
  3005. type: number
  3006. contractattachment:
  3007. description: 合同附件
  3008. type: string
  3009. contractno:
  3010. description: 现货合同编号
  3011. type: string
  3012. contractqty:
  3013. description: 合同数量(数值) (用于计算)
  3014. type: number
  3015. contractqtychar:
  3016. description: 合同数量\已订价数量 (用于显示)
  3017. type: string
  3018. contractstatus:
  3019. description: 合同状态 - 0:未结束 1:已结束
  3020. type: integer
  3021. contracttype:
  3022. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3023. type: integer
  3024. customeraccountid:
  3025. description: 客户资金账户ID
  3026. type: integer
  3027. customeruserid:
  3028. description: 客户ID
  3029. type: integer
  3030. deliverygoodsdesc:
  3031. description: 品种说明
  3032. type: string
  3033. deliverygoodsid:
  3034. description: 现货品种ID
  3035. type: integer
  3036. handlestatus:
  3037. description: 处理状态
  3038. type: integer
  3039. invoiceatt:
  3040. description: 发票附件
  3041. type: string
  3042. invoicedatetime:
  3043. description: 开收票更新时间
  3044. type: string
  3045. invoiceopentime:
  3046. description: 开票时间
  3047. type: string
  3048. invoiceremark:
  3049. description: 发票备注
  3050. type: string
  3051. invoicestatus:
  3052. description: 开收票状态 - 0:未开票 1:已开票
  3053. type: integer
  3054. lastdate:
  3055. description: 交货时间
  3056. type: string
  3057. marketid:
  3058. description: 市场ID
  3059. type: integer
  3060. paydatetime:
  3061. description: 收付款更新时间
  3062. type: string
  3063. payremark:
  3064. description: 收付款备注
  3065. type: string
  3066. paystatus:
  3067. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3068. type: integer
  3069. positionqty:
  3070. description: 头寸数量 - 合同数量去小数部分
  3071. type: integer
  3072. producttype:
  3073. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3074. type: integer
  3075. relatedqty:
  3076. description: 已关联数量
  3077. type: number
  3078. relatedstatus:
  3079. description: 关联完结状态 - 0:未结束 1:已结束
  3080. type: integer
  3081. remark:
  3082. description: 备注
  3083. type: string
  3084. signdate:
  3085. description: 签订日期
  3086. type: string
  3087. spotcontractid:
  3088. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3089. type: string
  3090. spotdatetime:
  3091. description: 收发货更新时间
  3092. type: string
  3093. spotprice:
  3094. description: 价格
  3095. type: number
  3096. spotremark:
  3097. description: 收发货备注
  3098. type: string
  3099. spotstatus:
  3100. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3101. type: integer
  3102. tradedate:
  3103. description: 交易日(yyyyMMdd)
  3104. type: string
  3105. userid:
  3106. description: 业务员用户ID
  3107. type: integer
  3108. warehouseid:
  3109. description: 仓库ID
  3110. type: integer
  3111. wrfactortypeid:
  3112. description: 仓单要素类型ID
  3113. type: integer
  3114. wrstandardid:
  3115. description: 仓单标准ID(SEQ_WRSTANDARD)
  3116. type: integer
  3117. required:
  3118. - spotcontractid
  3119. type: object
  3120. erms3.AddErms2ASApplyReq:
  3121. properties:
  3122. applybasis:
  3123. description: 申请基差
  3124. type: number
  3125. applystatus:
  3126. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3127. type: integer
  3128. asapplyid:
  3129. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3130. type: integer
  3131. asname:
  3132. description: 策略名称
  3133. type: string
  3134. asno:
  3135. description: 策略编号
  3136. type: string
  3137. auditid:
  3138. description: 审核人
  3139. type: integer
  3140. auditremark:
  3141. description: 审核备注
  3142. type: string
  3143. audittime:
  3144. description: 审核时间
  3145. type: string
  3146. biztype:
  3147. description: 业务类型 - 1:正向套利 2:反向套利
  3148. type: integer
  3149. createtime:
  3150. description: 创建时间
  3151. type: string
  3152. creatorid:
  3153. description: 创建人
  3154. type: integer
  3155. deliverygoodsid:
  3156. description: 现货品种ID
  3157. type: integer
  3158. futurequote:
  3159. description: 期货额度
  3160. type: number
  3161. goodsgroupid:
  3162. description: 期货品种ID
  3163. type: integer
  3164. marketid:
  3165. description: 市场ID
  3166. type: integer
  3167. remark:
  3168. description: 备注
  3169. type: string
  3170. spotquota:
  3171. description: 现货额度
  3172. type: number
  3173. tradedate:
  3174. description: 交易日(yyyyMMdd)
  3175. type: string
  3176. userid:
  3177. description: 所属机构
  3178. type: integer
  3179. required:
  3180. - asapplyid
  3181. type: object
  3182. erms3.AddErms2SpotTradeApplyReq:
  3183. properties:
  3184. applyjsondetail:
  3185. description: 申请明细(JSON)
  3186. type: string
  3187. applystatus:
  3188. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3189. type: integer
  3190. areauserid:
  3191. description: 所属机构
  3192. type: integer
  3193. auditid:
  3194. description: 审核人
  3195. type: integer
  3196. auditremark:
  3197. description: 审核备注
  3198. type: string
  3199. audittime:
  3200. description: 审核时间
  3201. type: string
  3202. createtime:
  3203. description: 创建时间
  3204. type: string
  3205. creatorid:
  3206. description: 创建人
  3207. type: integer
  3208. deliverygoodsid:
  3209. description: 现货品种ID
  3210. type: integer
  3211. futureaccountid:
  3212. description: 期货资金账户
  3213. type: integer
  3214. goodsgroupid:
  3215. description: 期货品种
  3216. type: integer
  3217. marketid:
  3218. description: 市场ID
  3219. type: integer
  3220. remark:
  3221. description: 备注
  3222. type: string
  3223. spotaccountid:
  3224. description: 现货资金账户
  3225. type: integer
  3226. spottradeid:
  3227. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3228. type: integer
  3229. spottradename:
  3230. description: 业务名称
  3231. type: string
  3232. spottradeno:
  3233. description: 业务编号
  3234. type: string
  3235. tradedate:
  3236. description: 交易日(yyyyMMdd)
  3237. type: string
  3238. wrstandardid:
  3239. description: 仓单标准ID
  3240. type: integer
  3241. required:
  3242. - spottradeid
  3243. type: object
  3244. erms3.AddSpotContractApplyReq:
  3245. properties:
  3246. accountid:
  3247. description: 资金账户ID
  3248. type: integer
  3249. areauserid:
  3250. description: 所属机构
  3251. type: integer
  3252. contractattachment:
  3253. description: 合同附件
  3254. type: string
  3255. contractno:
  3256. description: 现货合同编号
  3257. type: string
  3258. contracttype:
  3259. description: 现货合同类型 - 1:采购 -1:销售
  3260. type: integer
  3261. creatorid:
  3262. description: 申请人
  3263. type: integer
  3264. customeraccountid:
  3265. description: 客户资金账户ID
  3266. type: integer
  3267. customeruserid:
  3268. description: 客户ID
  3269. type: integer
  3270. details:
  3271. description: 明细
  3272. items:
  3273. $ref: '#/definitions/erms3.SoptContractDetail'
  3274. type: array
  3275. orimargin:
  3276. description: 初始保证金
  3277. type: number
  3278. remark:
  3279. description: 备注
  3280. type: string
  3281. signdate:
  3282. description: 签订日期
  3283. type: string
  3284. required:
  3285. - accountid
  3286. - areauserid
  3287. - contractno
  3288. - contracttype
  3289. - customeraccountid
  3290. - customeruserid
  3291. - details
  3292. - orimargin
  3293. - signdate
  3294. type: object
  3295. erms3.AddSpotContractApplyRsp:
  3296. properties:
  3297. contractno:
  3298. description: 现货合同编号
  3299. type: string
  3300. spotcontractid:
  3301. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3302. type: integer
  3303. required:
  3304. - contractno
  3305. type: object
  3306. erms3.AddUserInfoApplyReq:
  3307. properties:
  3308. accountid:
  3309. description: 交易系统帐号Id (加密存储)
  3310. type: integer
  3311. areacode:
  3312. description: 机构代码
  3313. type: string
  3314. areaid:
  3315. description: 机构Id
  3316. type: integer
  3317. attachment1:
  3318. description: 附件1
  3319. type: string
  3320. attachment2:
  3321. description: 附件2
  3322. type: string
  3323. attachment3:
  3324. description: 附件3
  3325. type: string
  3326. attachment4:
  3327. description: 附件4
  3328. type: string
  3329. attachment5:
  3330. description: 附件5
  3331. type: string
  3332. auditedby:
  3333. description: 审核人
  3334. type: string
  3335. auditime:
  3336. description: 审核时间
  3337. type: string
  3338. bankaccount:
  3339. description: 银行帐号 (加密存储)
  3340. type: string
  3341. bankaccountname:
  3342. description: 收款人名称
  3343. type: string
  3344. bankcardbackphotourl:
  3345. description: 银行卡背面照地址
  3346. type: string
  3347. bankcardfrontphotourl:
  3348. description: 银行卡正面照地址
  3349. type: string
  3350. bankid:
  3351. description: 银行编码
  3352. type: string
  3353. bankname:
  3354. description: 银行名称
  3355. type: string
  3356. bankpictureurl:
  3357. description: 银行卡正面地址
  3358. type: string
  3359. biznature:
  3360. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3361. type: integer
  3362. bizscope:
  3363. description: 企业经营范围(企业)
  3364. type: string
  3365. biztype:
  3366. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3367. type: integer
  3368. brokerid:
  3369. description: 经纪人ID(加密存储)
  3370. type: string
  3371. cardaddress:
  3372. description: 证件地址 (加密存储)
  3373. type: string
  3374. cardbackphotourl:
  3375. description: 背面证件照地址
  3376. type: string
  3377. cardfrontphotourl:
  3378. description: 正面证件照地址
  3379. type: string
  3380. cardnum:
  3381. description: 证件号码 (加密存储)
  3382. type: string
  3383. cardtype:
  3384. description: 证件类型
  3385. type: integer
  3386. cityid:
  3387. description: 市
  3388. type: integer
  3389. company:
  3390. description: 公司(个人)
  3391. type: string
  3392. contactcardbackphotourl:
  3393. description: 联系人证件背面图片地址
  3394. type: string
  3395. contactcardfrontphotourl:
  3396. description: 联系人证件正面图片地址
  3397. type: string
  3398. contactname:
  3399. description: 联系人
  3400. type: string
  3401. countryid:
  3402. description: 国家
  3403. type: integer
  3404. createtime:
  3405. description: 开户申请时间
  3406. type: string
  3407. cusbankid:
  3408. description: 签约类型
  3409. type: string
  3410. cusbankname:
  3411. description: 签约类型名称
  3412. type: string
  3413. customername:
  3414. description: 客户名称(企业名称)
  3415. type: string
  3416. districtid:
  3417. description: 地区
  3418. type: integer
  3419. email:
  3420. description: Email地址(加密存储)
  3421. type: string
  3422. halfbodyphotourl:
  3423. description: 半身照地址
  3424. type: string
  3425. headurl:
  3426. description: 头像地址
  3427. type: string
  3428. ipaddress:
  3429. description: IP地址
  3430. type: string
  3431. isvalidate:
  3432. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3433. type: string
  3434. legalcardbackphotourl:
  3435. description: 法人身份证背面照地址
  3436. type: string
  3437. legalcardfrontphotourl:
  3438. description: 法人身份证正面照地址
  3439. type: string
  3440. legalpersonname:
  3441. description: 法人姓名(企业)
  3442. type: string
  3443. logincode:
  3444. description: 登录帐号 (加密存储)
  3445. type: string
  3446. memberareaid:
  3447. description: 所属会员ID
  3448. type: integer
  3449. mobile2:
  3450. description: 手机号码[明文-尚志]
  3451. type: string
  3452. mobilephone:
  3453. description: 手机号码 (加密存储)
  3454. type: string
  3455. modifiedby:
  3456. description: 修改人帐号
  3457. type: integer
  3458. modifiedtime:
  3459. description: 修改时间
  3460. type: string
  3461. nickname:
  3462. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3463. type: string
  3464. openmode:
  3465. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3466. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3467. type: integer
  3468. otherurl:
  3469. description: 其它图片地址[使用分号分隔]
  3470. type: string
  3471. postalcode:
  3472. description: 邮政编码
  3473. type: string
  3474. provinceid:
  3475. description: 省
  3476. type: integer
  3477. proxystatementurl:
  3478. description: 授权委托书
  3479. type: string
  3480. qq:
  3481. description: QQ(加密存储
  3482. type: string
  3483. referral:
  3484. description: 推荐人编码
  3485. type: string
  3486. remark:
  3487. description: 备注
  3488. type: string
  3489. removebeforestatus:
  3490. description: REMOVEBEFORESTATUS
  3491. type: integer
  3492. sex:
  3493. description: 性别 - 0:女 1:男
  3494. type: integer
  3495. signedstatus:
  3496. description: 账户一号签签约状态
  3497. type: integer
  3498. signpdfurl:
  3499. description: 签约pdf文件
  3500. type: string
  3501. subbranch:
  3502. description: 开户支行
  3503. type: string
  3504. telphone:
  3505. description: 联系电话(加密存储)
  3506. type: string
  3507. userid:
  3508. description: 用户ID(自增ID)
  3509. type: integer
  3510. userinfotype:
  3511. description: 用户信息类型 - 1:个人 2:企业
  3512. type: integer
  3513. username:
  3514. description: 用户姓名
  3515. type: string
  3516. userstate:
  3517. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3518. type: integer
  3519. usertype:
  3520. description: 用户类型 - 1:投资者 2:机构
  3521. type: integer
  3522. videourl:
  3523. description: 视频地址
  3524. type: string
  3525. wechat:
  3526. description: 微信号 (加密存储)
  3527. type: string
  3528. required:
  3529. - userid
  3530. type: object
  3531. erms3.CustomerInfo:
  3532. properties:
  3533. accountids:
  3534. description: 资金账户ID列表
  3535. items:
  3536. type: integer
  3537. type: array
  3538. customername:
  3539. description: 名称(企业名称)
  3540. type: string
  3541. mobile:
  3542. description: 手机号码
  3543. type: string
  3544. userid:
  3545. description: 用户ID
  3546. type: integer
  3547. required:
  3548. - userid
  3549. type: object
  3550. erms3.ModifyUserInfoApplyReq:
  3551. properties:
  3552. accountid:
  3553. description: 交易系统帐号Id (加密存储)
  3554. type: integer
  3555. areacode:
  3556. description: 机构代码
  3557. type: string
  3558. areaid:
  3559. description: 机构Id
  3560. type: integer
  3561. attachment1:
  3562. description: 附件1
  3563. type: string
  3564. attachment2:
  3565. description: 附件2
  3566. type: string
  3567. attachment3:
  3568. description: 附件3
  3569. type: string
  3570. attachment4:
  3571. description: 附件4
  3572. type: string
  3573. attachment5:
  3574. description: 附件5
  3575. type: string
  3576. auditedby:
  3577. description: 审核人
  3578. type: string
  3579. auditime:
  3580. description: 审核时间
  3581. type: string
  3582. bankaccount:
  3583. description: 银行帐号 (加密存储)
  3584. type: string
  3585. bankaccountname:
  3586. description: 收款人名称
  3587. type: string
  3588. bankcardbackphotourl:
  3589. description: 银行卡背面照地址
  3590. type: string
  3591. bankcardfrontphotourl:
  3592. description: 银行卡正面照地址
  3593. type: string
  3594. bankid:
  3595. description: 银行编码
  3596. type: string
  3597. bankname:
  3598. description: 银行名称
  3599. type: string
  3600. bankpictureurl:
  3601. description: 银行卡正面地址
  3602. type: string
  3603. biznature:
  3604. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3605. type: integer
  3606. bizscope:
  3607. description: 企业经营范围(企业)
  3608. type: string
  3609. biztype:
  3610. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3611. type: integer
  3612. brokerid:
  3613. description: 经纪人ID(加密存储)
  3614. type: string
  3615. cardaddress:
  3616. description: 证件地址 (加密存储)
  3617. type: string
  3618. cardbackphotourl:
  3619. description: 背面证件照地址
  3620. type: string
  3621. cardfrontphotourl:
  3622. description: 正面证件照地址
  3623. type: string
  3624. cardnum:
  3625. description: 证件号码 (加密存储)
  3626. type: string
  3627. cardtype:
  3628. description: 证件类型
  3629. type: integer
  3630. cityid:
  3631. description: 市
  3632. type: integer
  3633. company:
  3634. description: 公司(个人)
  3635. type: string
  3636. contactcardbackphotourl:
  3637. description: 联系人证件背面图片地址
  3638. type: string
  3639. contactcardfrontphotourl:
  3640. description: 联系人证件正面图片地址
  3641. type: string
  3642. contactname:
  3643. description: 联系人
  3644. type: string
  3645. countryid:
  3646. description: 国家
  3647. type: integer
  3648. createtime:
  3649. description: 开户申请时间
  3650. type: string
  3651. cusbankid:
  3652. description: 签约类型
  3653. type: string
  3654. cusbankname:
  3655. description: 签约类型名称
  3656. type: string
  3657. customername:
  3658. description: 客户名称(企业名称)
  3659. type: string
  3660. districtid:
  3661. description: 地区
  3662. type: integer
  3663. email:
  3664. description: Email地址(加密存储)
  3665. type: string
  3666. halfbodyphotourl:
  3667. description: 半身照地址
  3668. type: string
  3669. headurl:
  3670. description: 头像地址
  3671. type: string
  3672. ipaddress:
  3673. description: IP地址
  3674. type: string
  3675. isvalidate:
  3676. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3677. type: string
  3678. legalcardbackphotourl:
  3679. description: 法人身份证背面照地址
  3680. type: string
  3681. legalcardfrontphotourl:
  3682. description: 法人身份证正面照地址
  3683. type: string
  3684. legalpersonname:
  3685. description: 法人姓名(企业)
  3686. type: string
  3687. logincode:
  3688. description: 登录帐号 (加密存储)
  3689. type: string
  3690. memberareaid:
  3691. description: 所属会员ID
  3692. type: integer
  3693. mobile2:
  3694. description: 手机号码[明文-尚志]
  3695. type: string
  3696. mobilephone:
  3697. description: 手机号码 (加密存储)
  3698. type: string
  3699. modifiedby:
  3700. description: 修改人帐号
  3701. type: integer
  3702. modifiedtime:
  3703. description: 修改时间
  3704. type: string
  3705. nickname:
  3706. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3707. type: string
  3708. openmode:
  3709. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3710. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3711. type: integer
  3712. otherurl:
  3713. description: 其它图片地址[使用分号分隔]
  3714. type: string
  3715. postalcode:
  3716. description: 邮政编码
  3717. type: string
  3718. provinceid:
  3719. description: 省
  3720. type: integer
  3721. proxystatementurl:
  3722. description: 授权委托书
  3723. type: string
  3724. qq:
  3725. description: QQ(加密存储
  3726. type: string
  3727. referral:
  3728. description: 推荐人编码
  3729. type: string
  3730. remark:
  3731. description: 备注
  3732. type: string
  3733. removebeforestatus:
  3734. description: REMOVEBEFORESTATUS
  3735. type: integer
  3736. sex:
  3737. description: 性别 - 0:女 1:男
  3738. type: integer
  3739. signedstatus:
  3740. description: 账户一号签签约状态
  3741. type: integer
  3742. signpdfurl:
  3743. description: 签约pdf文件
  3744. type: string
  3745. subbranch:
  3746. description: 开户支行
  3747. type: string
  3748. telphone:
  3749. description: 联系电话(加密存储)
  3750. type: string
  3751. userid:
  3752. description: 用户ID(自增ID)
  3753. type: integer
  3754. userinfotype:
  3755. description: 用户信息类型 - 1:个人 2:企业
  3756. type: integer
  3757. username:
  3758. description: 用户姓名
  3759. type: string
  3760. userstate:
  3761. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3762. type: integer
  3763. usertype:
  3764. description: 用户类型 - 1:投资者 2:机构
  3765. type: integer
  3766. videourl:
  3767. description: 视频地址
  3768. type: string
  3769. wechat:
  3770. description: 微信号 (加密存储)
  3771. type: string
  3772. required:
  3773. - userid
  3774. type: object
  3775. erms3.QryAuditContractRsp:
  3776. properties:
  3777. accountid:
  3778. description: 交易员ID
  3779. type: string
  3780. applystatus:
  3781. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3782. type: integer
  3783. curdeliveryqty:
  3784. description: 未交收量
  3785. type: integer
  3786. customername:
  3787. description: 采购方ID
  3788. type: string
  3789. deliverygoodsid:
  3790. description: 品种ID
  3791. type: string
  3792. deliveryqty:
  3793. description: 交收量
  3794. type: integer
  3795. enumdicname:
  3796. description: 单位名称
  3797. type: string
  3798. matchaccountid:
  3799. description: 业务员ID
  3800. type: string
  3801. matchcustomername:
  3802. description: 销售方ID
  3803. type: string
  3804. pricedqty:
  3805. description: 定价量
  3806. type: number
  3807. signdate:
  3808. description: 签订日期
  3809. type: string
  3810. spotcontractid:
  3811. description: 合同ID
  3812. type: string
  3813. totaldqty:
  3814. description: 合同量
  3815. type: number
  3816. unpricedqty:
  3817. description: 未定价量
  3818. type: number
  3819. wrstandardname:
  3820. description: 商品名称
  3821. type: string
  3822. required:
  3823. - matchcustomername
  3824. - spotcontractid
  3825. type: object
  3826. erms3.QryPendingBizRsp:
  3827. properties:
  3828. accountid:
  3829. description: 现货账户
  3830. type: string
  3831. areaname:
  3832. description: 所属部门
  3833. type: string
  3834. bizid:
  3835. description: 业务ID
  3836. type: string
  3837. bizname:
  3838. description: 业务名称
  3839. type: string
  3840. status:
  3841. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3842. type: integer
  3843. type:
  3844. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3845. type: integer
  3846. type: object
  3847. erms3.QueryBusinessInfoRsp:
  3848. properties:
  3849. businessid:
  3850. description: 业务ID.
  3851. type: integer
  3852. buyamount:
  3853. description: 采购额.
  3854. type: number
  3855. buyqty:
  3856. description: 采购量.
  3857. type: string
  3858. futurepl:
  3859. description: 期货盈亏.
  3860. type: number
  3861. futureqty:
  3862. description: 期货敞口.
  3863. type: string
  3864. goodsid:
  3865. description: 商品名称/商品代码.
  3866. type: string
  3867. hedgingqty:
  3868. description: 套保量.
  3869. type: string
  3870. sellamount:
  3871. description: 销售额.
  3872. type: number
  3873. sellqty:
  3874. description: 销售量.
  3875. type: string
  3876. spotmarketvalue:
  3877. description: 现货市值.
  3878. type: number
  3879. spotpl:
  3880. description: 浮动权益.
  3881. type: number
  3882. spotqty:
  3883. description: 现货量.
  3884. type: string
  3885. statu:
  3886. description: 状态,0-未结束 1-已结束.
  3887. type: integer
  3888. totalpl:
  3889. description: 总盈亏.
  3890. type: number
  3891. totalqty:
  3892. description: 总敞口.
  3893. type: string
  3894. type:
  3895. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3896. type: integer
  3897. type: object
  3898. erms3.QuerySpotContractAppleFormRsp:
  3899. properties:
  3900. goodses:
  3901. description: 合约列表
  3902. items:
  3903. $ref: '#/definitions/models.GoodsIDAndName'
  3904. type: array
  3905. oppositeusers:
  3906. description: 对方账号列表
  3907. items:
  3908. $ref: '#/definitions/erms3.CustomerInfo'
  3909. type: array
  3910. ouruser:
  3911. $ref: '#/definitions/erms3.CustomerInfo'
  3912. description: 我方账号
  3913. warehouseinfos:
  3914. description: 仓库信息列表
  3915. items:
  3916. $ref: '#/definitions/models.Warehouseinfo'
  3917. type: array
  3918. wrstandards:
  3919. description: 仓单标准列表
  3920. items:
  3921. $ref: '#/definitions/models.WRStandardInfo'
  3922. type: array
  3923. type: object
  3924. erms3.QuerySpotContractInfoRsp:
  3925. properties:
  3926. accountid:
  3927. description: 表示交易员ID.
  3928. type: integer
  3929. curdeliveryqty:
  3930. description: 表示未交收量.
  3931. type: number
  3932. customername:
  3933. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3934. type: string
  3935. deliverygoodsid:
  3936. description: 表示品种ID.
  3937. type: string
  3938. deliveryqty:
  3939. description: 表示交收量.
  3940. type: number
  3941. matchaccountid:
  3942. description: 表示业务员ID.
  3943. type: integer
  3944. matchcustomername:
  3945. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3946. type: string
  3947. priceqty:
  3948. description: 表示定价量.
  3949. type: number
  3950. relatedbizid:
  3951. description: 表示业务ID.
  3952. type: string
  3953. signdate:
  3954. description: 表示签订日期.
  3955. type: string
  3956. spotcontractid:
  3957. description: 合同ID
  3958. type: string
  3959. status:
  3960. description: 表示状态,0-履约中 1-已完成.
  3961. type: integer
  3962. totalqty:
  3963. description: 表示合同量.
  3964. type: number
  3965. unpricedqty:
  3966. description: 表示未定价量.
  3967. type: number
  3968. wrstandardname:
  3969. description: 表示商品ID.
  3970. type: string
  3971. type: object
  3972. erms3.QueryUserInfoAppliesRsp:
  3973. properties:
  3974. biznature:
  3975. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3976. type: integer
  3977. contactname:
  3978. description: 联系人
  3979. type: string
  3980. createtime:
  3981. description: 开户申请时间
  3982. type: string
  3983. userid:
  3984. description: 用户ID(自增ID)
  3985. type: integer
  3986. userinfotype:
  3987. description: 用户信息类型 - 1:个人 2:企业
  3988. type: integer
  3989. username:
  3990. description: 用户姓名
  3991. type: string
  3992. userstate:
  3993. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3994. type: integer
  3995. required:
  3996. - userid
  3997. type: object
  3998. erms3.QueryUserInfosRsp:
  3999. properties:
  4000. biznature:
  4001. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4002. type: integer
  4003. contactname:
  4004. description: 联系人
  4005. type: string
  4006. customername:
  4007. description: 客户名称(企业名称)
  4008. type: string
  4009. userid:
  4010. description: 用户ID
  4011. type: integer
  4012. userinfotype:
  4013. description: 用户信息类型 - 1:个人 2:企业
  4014. type: integer
  4015. userstatus:
  4016. description: 用户状态 - 1:正常 2:注销
  4017. type: integer
  4018. required:
  4019. - userid
  4020. type: object
  4021. erms3.SoptContractDetail:
  4022. properties:
  4023. deliverygoodsdesc:
  4024. description: 现货品种说明
  4025. type: string
  4026. deliverygoodsid:
  4027. description: 现货品种ID
  4028. type: integer
  4029. deliverygoodsname:
  4030. description: 现货品种名称
  4031. type: string
  4032. pointdesc:
  4033. description: 点价描述
  4034. type: string
  4035. producttype:
  4036. description: 产品类型 1:标准仓单 2:等标 3:非标
  4037. type: integer
  4038. producttypename:
  4039. description: 产品类型名称
  4040. type: string
  4041. spotPointOrderVoList:
  4042. description: 点价列表
  4043. items:
  4044. $ref: '#/definitions/erms3.SpotPointOrder'
  4045. type: array
  4046. spotPriceOrderList:
  4047. description: 定价列表
  4048. items:
  4049. $ref: '#/definitions/erms3.SpotPriceOrder'
  4050. type: array
  4051. unitname:
  4052. description: 单位名称
  4053. type: string
  4054. warehouseid:
  4055. description: 仓库ID
  4056. type: integer
  4057. warehousename:
  4058. description: 仓库名称
  4059. type: string
  4060. wrstandardid:
  4061. description: 交易标的ID
  4062. type: integer
  4063. wrstandardname:
  4064. description: 交易标的名称
  4065. type: string
  4066. required:
  4067. - deliverygoodsid
  4068. - producttype
  4069. - unitname
  4070. - warehouseid
  4071. - wrstandardid
  4072. - wrstandardname
  4073. type: object
  4074. erms3.SpotPointOrder:
  4075. properties:
  4076. basic:
  4077. description: 基差
  4078. type: number
  4079. deliveryenddate:
  4080. description: 交收结束日期
  4081. type: string
  4082. deliverystartdate:
  4083. description: 交收开始日期
  4084. type: string
  4085. enddate:
  4086. description: 点价结束日期
  4087. type: string
  4088. goodsid:
  4089. description: 商品ID
  4090. type: integer
  4091. goodsname:
  4092. description: 商品名称
  4093. type: string
  4094. qty:
  4095. description: 数量
  4096. type: number
  4097. startdate:
  4098. description: 点价开始日期
  4099. type: string
  4100. required:
  4101. - basic
  4102. - goodsid
  4103. - qty
  4104. type: object
  4105. erms3.SpotPriceOrder:
  4106. properties:
  4107. amount:
  4108. description: 金额
  4109. type: number
  4110. deliveryenddate:
  4111. description: 交收结束日期
  4112. type: string
  4113. deliverystartdate:
  4114. description: 交收开始日期
  4115. type: string
  4116. price:
  4117. description: 价格
  4118. type: number
  4119. qty:
  4120. description: 数量
  4121. type: number
  4122. required:
  4123. - amount
  4124. - price
  4125. - qty
  4126. type: object
  4127. hsby.GetHsbyMyCountRsp:
  4128. properties:
  4129. myCouponCount:
  4130. description: 我的优惠卷数量
  4131. type: integer
  4132. myOrderDetailListingCount:
  4133. description: 我的订单求购中数量
  4134. type: integer
  4135. myOrderDetailPreCount:
  4136. description: 我的订单抢购中数量
  4137. type: integer
  4138. myPackageUnReceiveCount:
  4139. description: 我的包裹待收货数量
  4140. type: integer
  4141. myPackageUnSendCount:
  4142. description: 我的包裹待发货数量
  4143. type: integer
  4144. myPayOrderCount:
  4145. description: 我的订单待付款数量
  4146. type: integer
  4147. type: object
  4148. hsby.QueryProvincesAndCitiesRsp:
  4149. properties:
  4150. cities:
  4151. description: 市
  4152. items:
  4153. $ref: '#/definitions/models.Division'
  4154. type: array
  4155. province:
  4156. $ref: '#/definitions/models.Division'
  4157. description: 省
  4158. type: object
  4159. models.Clientfixedadconfig:
  4160. properties:
  4161. adsort:
  4162. description: 排序
  4163. type: integer
  4164. adtype:
  4165. description: 广告位类型 - 1:新品抢购(HSBY)
  4166. type: integer
  4167. areauserid:
  4168. description: 所属机构ID
  4169. type: integer
  4170. createdate:
  4171. description: 创建时间
  4172. type: string
  4173. creatorid:
  4174. description: 创建人
  4175. type: integer
  4176. imagepath:
  4177. description: 图片
  4178. type: string
  4179. isshow:
  4180. description: 是否展示 - 0:不展示 1:展示
  4181. type: integer
  4182. modifierid:
  4183. description: 操作人
  4184. type: integer
  4185. recsize:
  4186. description: 推荐尺寸
  4187. type: string
  4188. title:
  4189. description: 标题
  4190. type: string
  4191. updatedate:
  4192. description: 更新时间
  4193. type: string
  4194. urlcontent:
  4195. description: 链接(地址或商品ID)
  4196. type: string
  4197. urltype:
  4198. description: 链接类型 - 1:直接地址 2:商品ID
  4199. type: integer
  4200. required:
  4201. - adsort
  4202. - adtype
  4203. type: object
  4204. models.Division:
  4205. properties:
  4206. autoid:
  4207. description: 自增ID
  4208. type: integer
  4209. divisioncode:
  4210. description: 行政代码
  4211. type: string
  4212. divisionlevel:
  4213. description: 行政级别
  4214. type: string
  4215. divisionname:
  4216. description: 行政名称
  4217. type: string
  4218. modifierid:
  4219. description: 修改人
  4220. type: integer
  4221. modifytime:
  4222. description: 修改时间
  4223. type: string
  4224. parentcode:
  4225. description: 上级行政代码
  4226. type: string
  4227. pathname:
  4228. description: 路径名称
  4229. type: string
  4230. postcode:
  4231. description: 邮政编码
  4232. type: string
  4233. separablename:
  4234. description: 可拆分的全称
  4235. type: string
  4236. shortcode:
  4237. description: 地区简码
  4238. type: string
  4239. required:
  4240. - autoid
  4241. - divisioncode
  4242. type: object
  4243. models.Enumdicitem:
  4244. properties:
  4245. autoid:
  4246. description: 自增ID
  4247. type: integer
  4248. bankmappedvalue:
  4249. description: 银行服务对应值
  4250. type: string
  4251. enumdiccode:
  4252. description: 所属枚举代码
  4253. type: string
  4254. enumdicid:
  4255. description: 所属枚举ID
  4256. type: integer
  4257. enumdicname:
  4258. description: 枚举项名称
  4259. type: string
  4260. enumitemname:
  4261. description: 枚举项值
  4262. type: integer
  4263. enumitemstatus:
  4264. description: 枚举项状态 - 1.启用 2.不启用
  4265. type: integer
  4266. enumitemvalue:
  4267. description: 通用值 - [币种通用简写]
  4268. type: string
  4269. param1:
  4270. description: 参数1[币种:币种小数位]
  4271. type: string
  4272. param2:
  4273. description: 参数1[币种:币种显示单位]
  4274. type: string
  4275. remark:
  4276. description: 备注
  4277. type: string
  4278. required:
  4279. - autoid
  4280. - enumdiccode
  4281. - enumdicid
  4282. - enumitemname
  4283. type: object
  4284. models.ErmcpHisExposure:
  4285. properties:
  4286. needhedgeexposoure:
  4287. description: 应套保敞口
  4288. type: number
  4289. reckondate:
  4290. description: 日照时期(yyyyMMdd)
  4291. type: string
  4292. totalexposure:
  4293. description: 总敞口
  4294. type: number
  4295. type: object
  4296. models.ErmcpMiddleGoodsModel:
  4297. properties:
  4298. areauserid:
  4299. description: 机构用户ID
  4300. type: integer
  4301. enumdicname:
  4302. description: 单位名称
  4303. type: string
  4304. evaluateratio:
  4305. description: 估价系数
  4306. type: number
  4307. goodsgroupid:
  4308. description: 关联期货品种ID
  4309. type: integer
  4310. isvalid:
  4311. description: 状态 0-无效(停用) 1-有效(正常)
  4312. type: integer
  4313. middlegoodscode:
  4314. description: 套保品种代码
  4315. type: string
  4316. middlegoodsid:
  4317. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4318. type: integer
  4319. middlegoodsname:
  4320. description: 套保品种名称
  4321. type: string
  4322. modifytime:
  4323. description: 修改时间
  4324. type: string
  4325. needhedgeratio:
  4326. description: 套保比率
  4327. type: number
  4328. qtydecimalplace:
  4329. description: 数量小数位
  4330. type: integer
  4331. relatedgoodsid:
  4332. description: 关联交易商品ID
  4333. type: integer
  4334. relatedgoodstype:
  4335. description: 关联商品类型 - 1:期货合约 2:现货品种
  4336. type: integer
  4337. type: object
  4338. models.ErmcpReportDayFR:
  4339. properties:
  4340. areauserid:
  4341. description: 所属机构
  4342. type: integer
  4343. collectinvoiceamount:
  4344. description: 今日开票金额
  4345. type: number
  4346. collectinvoicecount:
  4347. description: 今日开票笔数
  4348. type: integer
  4349. collectmoneyamount:
  4350. description: 今日收款金额
  4351. type: number
  4352. collectmoneycount:
  4353. description: 今日收款笔数
  4354. type: integer
  4355. payinvoiceamount:
  4356. description: 今日收票金额
  4357. type: number
  4358. payinvoicecount:
  4359. description: 今日收票笔数
  4360. type: integer
  4361. paymoneyamount:
  4362. description: 今日付款金额
  4363. type: number
  4364. paymoneycount:
  4365. description: 今日付款笔数
  4366. type: integer
  4367. reckondate:
  4368. description: 日照时期(yyyyMMdd)
  4369. type: string
  4370. updatetime:
  4371. description: 更新时间
  4372. type: string
  4373. type: object
  4374. models.ErmcpWrstandard:
  4375. properties:
  4376. areauserid:
  4377. description: 所属机构
  4378. type: integer
  4379. createtime:
  4380. description: 创建时间
  4381. type: string
  4382. creatorid:
  4383. description: 创建人
  4384. type: integer
  4385. deliverygoodsid:
  4386. description: 品种ID
  4387. type: integer
  4388. enumdicname:
  4389. description: 单位名称
  4390. type: string
  4391. isvalid:
  4392. description: 是否有效 0-无效(停用) 1-有效(正常)
  4393. type: integer
  4394. minivalue:
  4395. description: 最小变动值
  4396. type: integer
  4397. minivaluedp:
  4398. description: 最小变动值小数位
  4399. type: integer
  4400. realminivalue:
  4401. description: 实际最小变动值
  4402. type: integer
  4403. realminivaluedp:
  4404. description: 实际最小变动值小数位
  4405. type: integer
  4406. remark:
  4407. description: 备注
  4408. type: string
  4409. unitid:
  4410. description: 单位ID
  4411. type: integer
  4412. updatetime:
  4413. description: 更新时间
  4414. type: string
  4415. wrstandardcode:
  4416. description: 现货商品代码
  4417. type: string
  4418. wrstandardid:
  4419. description: 现货商品ID(SEQ_WRSTANDARD)
  4420. type: integer
  4421. wrstandardname:
  4422. description: 现货商品名称
  4423. type: string
  4424. type: object
  4425. models.Externalexchange:
  4426. properties:
  4427. autoid:
  4428. description: AutoID - SEQ_EXTERNALEXCHANGE
  4429. type: integer
  4430. exchangefullname:
  4431. description: 外部交易所全称
  4432. type: string
  4433. exexchangecode:
  4434. description: 外部交易所代码
  4435. type: string
  4436. exexchangename:
  4437. description: 外部交易所名称(简称)
  4438. type: string
  4439. ismarketprice:
  4440. description: 是否支持市价 - 0:不支持 1:支持
  4441. type: integer
  4442. quotegear:
  4443. description: 行情档位(1-10)
  4444. type: integer
  4445. showbrokerflag:
  4446. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  4447. type: integer
  4448. updatetime:
  4449. description: 更新时间
  4450. type: string
  4451. required:
  4452. - autoid
  4453. type: object
  4454. models.Goods:
  4455. properties:
  4456. agreeunit:
  4457. description: 合约单位
  4458. type: number
  4459. auditaccountid:
  4460. description: 审核操作员账号
  4461. type: integer
  4462. audittime:
  4463. description: 审核时间
  4464. type: string
  4465. cancelaccountid:
  4466. description: 注销操作员账号
  4467. type: integer
  4468. canceltime:
  4469. description: 注销时间
  4470. type: string
  4471. closepricemode:
  4472. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4473. type: integer
  4474. closepriceparam:
  4475. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4476. type: number
  4477. createtime:
  4478. description: 创建时间
  4479. type: string
  4480. creatorid:
  4481. description: 创建人
  4482. type: integer
  4483. currencyid:
  4484. description: 报价货币ID
  4485. type: integer
  4486. cutmode:
  4487. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4488. type: integer
  4489. decimalplace:
  4490. description: 报价小数位
  4491. type: integer
  4492. delistingdate:
  4493. description: 商品退市时间(状态:退市) -- 已作废
  4494. type: string
  4495. delistingmode:
  4496. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4497. type: integer
  4498. deliveryflag:
  4499. description: 交割标志 - 0:不可交割 1:可交割
  4500. type: integer
  4501. forceclosemode:
  4502. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4503. type: integer
  4504. forceclosevalue:
  4505. description: 定期强平参数 [收益权]
  4506. type: integer
  4507. goodscode:
  4508. description: 商品代码(内部)
  4509. type: string
  4510. goodscurrencyid:
  4511. description: 合约货币ID
  4512. type: integer
  4513. goodsgroupid:
  4514. description: 所属商品组ID
  4515. type: integer
  4516. goodsid:
  4517. description: 商品ID(自增ID SEQ_GOODS)
  4518. type: integer
  4519. goodsname:
  4520. description: 商品名称
  4521. type: string
  4522. goodsquotetype:
  4523. description: '合约报价类型: 1-直接报价 2-间接报价'
  4524. type: integer
  4525. goodsstatus:
  4526. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4527. type: integer
  4528. goodstradetype:
  4529. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4530. type: integer
  4531. goodunitid:
  4532. description: 报价单位ID
  4533. type: integer
  4534. hasquoter:
  4535. description: 是否有报价商 - 0:无报价商 1:有报价商
  4536. type: integer
  4537. hqprotecttime:
  4538. description: 行情保护时间(秒)
  4539. type: integer
  4540. innerdealmode:
  4541. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4542. type: integer
  4543. isbuylimited:
  4544. description: 是否限制建仓量 - 0:不限制 1:限制
  4545. type: integer
  4546. lasttradedate:
  4547. description: 最后交易日期(状态:待退市)
  4548. type: string
  4549. listingdate:
  4550. description: 交易开始日期
  4551. type: string
  4552. marketid:
  4553. description: 所属市场ID
  4554. type: integer
  4555. modifierid:
  4556. description: 修改人
  4557. type: integer
  4558. modifystatus:
  4559. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4560. type: integer
  4561. modifytime:
  4562. description: 修改时间
  4563. type: string
  4564. outerdealmode:
  4565. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4566. type: integer
  4567. outgoodscode:
  4568. description: 商品代码(外部)
  4569. type: string
  4570. qtydecimalplace:
  4571. description: 成交量小数位
  4572. type: integer
  4573. quotegear:
  4574. description: 行情档位(1-10)
  4575. type: integer
  4576. quoteminunit:
  4577. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4578. type: integer
  4579. quoteshowtype:
  4580. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4581. type: integer
  4582. quoteshowtypeinterval:
  4583. description: 行情报价间隔时间(秒)(成交价时为0)
  4584. type: integer
  4585. remark:
  4586. description: 备注
  4587. type: string
  4588. required:
  4589. - goodscode
  4590. - goodsid
  4591. - goodsname
  4592. - marketid
  4593. type: object
  4594. models.GoodsBrand:
  4595. properties:
  4596. brandid:
  4597. description: 品牌ID
  4598. type: integer
  4599. brandname:
  4600. description: 品牌名称
  4601. type: string
  4602. isvalid:
  4603. description: 是否有效 - 0:无效 1:有效
  4604. type: integer
  4605. type: object
  4606. models.GoodsGroupConvert:
  4607. properties:
  4608. convertratio:
  4609. description: 折算系数
  4610. type: number
  4611. dstgoodsgroupid:
  4612. description: 目标期货品种ID
  4613. type: integer
  4614. goodsgroupname:
  4615. description: 期货品种名称
  4616. type: string
  4617. outergroupcode:
  4618. description: 期货品种代码
  4619. type: string
  4620. srcgoodsgroupid:
  4621. description: 源期货品种ID
  4622. type: integer
  4623. type: object
  4624. models.GoodsIDAndName:
  4625. properties:
  4626. goodscode:
  4627. description: 商品代码(内部)
  4628. type: string
  4629. goodsid:
  4630. description: 商品ID(自增ID SEQ_GOODS)
  4631. type: integer
  4632. goodsname:
  4633. description: 商品名称
  4634. type: string
  4635. marketid:
  4636. description: 所属市场ID
  4637. type: integer
  4638. required:
  4639. - goodscode
  4640. - goodsid
  4641. - goodsname
  4642. - marketid
  4643. type: object
  4644. models.GoodsTypeModel:
  4645. properties:
  4646. modelid:
  4647. description: 型号ID
  4648. type: integer
  4649. modelname:
  4650. description: 型号名称
  4651. type: string
  4652. updatetime:
  4653. description: 更新时间
  4654. type: string
  4655. type: object
  4656. models.Goodsgroup:
  4657. properties:
  4658. agreeunit:
  4659. description: 合约单位
  4660. type: number
  4661. canshort:
  4662. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4663. type: integer
  4664. closepricemode:
  4665. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4666. type: integer
  4667. closepriceparam:
  4668. description: 强平最新价浮动比例 - 方式为2时使用
  4669. type: number
  4670. createtime:
  4671. description: 创建时间
  4672. type: string
  4673. creatorid:
  4674. description: 创建人
  4675. type: integer
  4676. currencyid:
  4677. description: 报价货币ID
  4678. type: integer
  4679. decimalplace:
  4680. description: 报价小数位
  4681. type: integer
  4682. exercisetype:
  4683. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  4684. type: integer
  4685. exexchangeid:
  4686. description: 外部交易所ID[通道交易]
  4687. type: integer
  4688. goodsgroupid:
  4689. description: 商品组ID(自增ID)
  4690. type: integer
  4691. goodsgroupname:
  4692. description: 商品组名称
  4693. type: string
  4694. goodsgroupstatus:
  4695. description: 商品组状态 - 1:正常 2:注销
  4696. type: integer
  4697. goodunitid:
  4698. description: 报价单位ID
  4699. type: integer
  4700. innerdealmode:
  4701. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4702. type: integer
  4703. isbuylimited:
  4704. description: 是否限制建仓量 - 0:不限制 1:限制
  4705. type: integer
  4706. marketid:
  4707. description: 所属市场ID
  4708. type: integer
  4709. modifierid:
  4710. description: 修改人
  4711. type: integer
  4712. modifytime:
  4713. description: 修改时间
  4714. type: string
  4715. outerdealmode:
  4716. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4717. type: integer
  4718. outergroupcode:
  4719. description: 外部商品组代码[通道交易]
  4720. type: string
  4721. premiumdecimalplace:
  4722. description: 权利金小数位[场外期权]
  4723. type: integer
  4724. premiumspreadalgorithm:
  4725. description: 权利金点差方式[场外期权] 1:比率 2:固定
  4726. type: integer
  4727. premiumspreadvalue:
  4728. description: 权利金点差值[场外期权]
  4729. type: number
  4730. qtydecimalplace:
  4731. description: 成交量小数位
  4732. type: integer
  4733. quotegear:
  4734. description: 行情档位(1-10)
  4735. type: integer
  4736. quoteminunit:
  4737. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4738. type: integer
  4739. quoterid:
  4740. description: 报价商ID[场外期权]
  4741. type: integer
  4742. quotesourcegroupid:
  4743. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4744. type: integer
  4745. syncgoodsqty:
  4746. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4747. type: integer
  4748. required:
  4749. - goodsgroupid
  4750. - goodsgroupname
  4751. - goodsgroupstatus
  4752. - marketid
  4753. type: object
  4754. models.HsbyBuyMyPayOrder:
  4755. properties:
  4756. agreeunit:
  4757. description: 合约单位
  4758. type: number
  4759. buyaccountid:
  4760. description: 买方账号ID[报价币种]
  4761. type: integer
  4762. buyorderid:
  4763. description: 买方委托单号
  4764. type: string
  4765. createtime:
  4766. description: 创建时间
  4767. type: string
  4768. currencysign:
  4769. description: 货币符号
  4770. type: string
  4771. decimalplace:
  4772. description: 报价小数位
  4773. type: integer
  4774. goodscode:
  4775. description: 商品代码(内部)
  4776. type: string
  4777. goodsid:
  4778. description: 商品ID
  4779. type: integer
  4780. goodsname:
  4781. description: 商品名称
  4782. type: string
  4783. marketid:
  4784. description: 市场ID
  4785. type: integer
  4786. offamount:
  4787. description: 优惠金额
  4788. type: number
  4789. originalamount:
  4790. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  4791. type: number
  4792. payamount:
  4793. description: 支付金额 = TradeAmount + TradeCharge
  4794. type: number
  4795. payflag:
  4796. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4797. type: integer
  4798. paylimitedtime:
  4799. description: 支付期限
  4800. type: string
  4801. paytime:
  4802. description: 付款时间
  4803. type: string
  4804. picurls1:
  4805. description: 预售商品介绍图片[多张用逗号分隔]
  4806. type: string
  4807. picurls2:
  4808. description: 挂牌商品介绍图片[多张用逗号分隔]
  4809. type: string
  4810. sellaccountid:
  4811. description: 卖方账号ID[报价币种]
  4812. type: integer
  4813. sellorderid:
  4814. description: 卖方委托单号
  4815. type: string
  4816. tradeamount:
  4817. description: 成交金额
  4818. type: number
  4819. tradecharge:
  4820. description: 成交手续费(买方)
  4821. type: number
  4822. tradedate:
  4823. description: 交易日(yyyyMMdd)
  4824. type: string
  4825. tradeid:
  4826. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4827. type: string
  4828. trademode:
  4829. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4830. 21:竞拍-大宗式 22:受托竞价
  4831. type: integer
  4832. tradeprice:
  4833. description: 成交价格
  4834. type: number
  4835. tradeqty:
  4836. description: 成交数量
  4837. type: integer
  4838. vendorname1:
  4839. description: 预售商品供应商名称
  4840. type: string
  4841. vendorname2:
  4842. description: 挂牌商品供应商名称
  4843. type: string
  4844. required:
  4845. - goodscode
  4846. - goodsname
  4847. - tradeid
  4848. - trademode
  4849. type: object
  4850. models.HsbyBuyMyTradeDetail:
  4851. properties:
  4852. accountid:
  4853. description: 账户ID[报价币种]
  4854. type: integer
  4855. agreeunit:
  4856. description: 合约单位
  4857. type: number
  4858. amount:
  4859. description: 金额 = 价格 * 数量 * 合约单位
  4860. type: number
  4861. buyorsell:
  4862. description: 买卖 - 0:买 1:卖
  4863. type: integer
  4864. currencysign:
  4865. description: 货币符号
  4866. type: string
  4867. decimalplace:
  4868. description: 报价小数位
  4869. type: integer
  4870. goodscode:
  4871. description: 商品代码(内部)
  4872. type: string
  4873. goodsid:
  4874. description: 商品ID
  4875. type: integer
  4876. goodsname:
  4877. description: 商品名称
  4878. type: string
  4879. marketid:
  4880. description: 市场ID
  4881. type: integer
  4882. orderid:
  4883. description: 单号(成交单号)
  4884. type: string
  4885. picurls1:
  4886. description: 预售商品介绍图片[多张用逗号分隔]
  4887. type: string
  4888. picurls2:
  4889. description: 挂牌商品介绍图片[多张用逗号分隔]
  4890. type: string
  4891. price:
  4892. description: 价格
  4893. type: number
  4894. qty:
  4895. description: 数量
  4896. type: integer
  4897. time:
  4898. description: 时间
  4899. type: string
  4900. trademode:
  4901. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4902. 21:竞拍-大宗式 22:受托竞价
  4903. type: integer
  4904. vendorname1:
  4905. description: 预售商品供应商名称
  4906. type: string
  4907. vendorname2:
  4908. description: 挂牌商品供应商名称
  4909. type: string
  4910. required:
  4911. - accountid
  4912. - buyorsell
  4913. - goodscode
  4914. - goodsid
  4915. - goodsname
  4916. - marketid
  4917. - orderid
  4918. - qty
  4919. - time
  4920. - trademode
  4921. type: object
  4922. models.HsbyGoodsOrderDetail:
  4923. properties:
  4924. buyorsell:
  4925. description: 买卖 - 0:买 1:卖
  4926. type: integer
  4927. currencysign:
  4928. description: 货币符号
  4929. type: string
  4930. customername:
  4931. description: 客户名称(企业名称),已脱敏
  4932. type: string
  4933. enableqty:
  4934. description: 可用数量
  4935. type: integer
  4936. goodunit:
  4937. description: 报价单位
  4938. type: string
  4939. orderid:
  4940. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4941. type: string
  4942. orderprice:
  4943. description: 委托价格
  4944. type: number
  4945. ordertime:
  4946. description: 委托时间
  4947. type: string
  4948. required:
  4949. - buyorsell
  4950. - orderid
  4951. - ordertime
  4952. type: object
  4953. models.HsbyListingGoodsDetail:
  4954. properties:
  4955. agreeunit:
  4956. description: 合约单位
  4957. type: number
  4958. buymaxqty:
  4959. description: 购买上限 [71] - 0为不限
  4960. type: integer
  4961. currency:
  4962. description: 货币
  4963. type: string
  4964. currencysign:
  4965. description: 货币符号
  4966. type: string
  4967. decimalplace:
  4968. description: 报价小数位
  4969. type: integer
  4970. desccityid:
  4971. description: 目的地(市)ID
  4972. type: integer
  4973. descprovinceid:
  4974. description: 目的地(省)ID
  4975. type: integer
  4976. goodscode:
  4977. description: 商品代码(内部)
  4978. type: string
  4979. goodsdesc:
  4980. description: 商品详情
  4981. type: string
  4982. goodsid:
  4983. description: 商品ID(自增ID SEQ_GOODS)
  4984. type: integer
  4985. goodsname:
  4986. description: 商品名称
  4987. type: string
  4988. goodsprice:
  4989. description: 商品价格
  4990. type: number
  4991. hotindex:
  4992. description: 景点热度
  4993. type: integer
  4994. last:
  4995. description: 现价
  4996. type: number
  4997. limitdown:
  4998. description: 跌停价
  4999. type: number
  5000. limitup:
  5001. description: 涨停价
  5002. type: number
  5003. lotsize:
  5004. description: 手数最小变动单位
  5005. type: integer
  5006. marketid:
  5007. description: 所属市场ID
  5008. type: integer
  5009. picurls:
  5010. description: 介绍图片[多张用逗号分隔]
  5011. type: string
  5012. quoteminunit:
  5013. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5014. type: integer
  5015. stepvalue:
  5016. description: 价格最小变动单位
  5017. type: number
  5018. trademode:
  5019. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5020. 21:竞拍-大宗式 22:受托竞价
  5021. type: integer
  5022. vendorattr:
  5023. description: 供应商附件(多张,逗号分隔)
  5024. type: string
  5025. vendorname:
  5026. description: 供应商名称
  5027. type: string
  5028. vendorphone:
  5029. description: 供应商客服电话
  5030. type: string
  5031. videourls:
  5032. description: 介绍视频[多张用逗号分隔]
  5033. type: string
  5034. required:
  5035. - goodscode
  5036. - goodsid
  5037. - goodsname
  5038. - marketid
  5039. - trademode
  5040. type: object
  5041. models.HsbyMarketGoods:
  5042. properties:
  5043. accountid:
  5044. description: 账户ID[报价币种]
  5045. type: integer
  5046. agreeunit:
  5047. description: 合约单位
  5048. type: number
  5049. buyorsell:
  5050. description: 买卖 - 0:买 1:卖
  5051. type: integer
  5052. categoryid:
  5053. description: 类别ID(WRCATEGORY)
  5054. type: integer
  5055. currency:
  5056. description: 货币
  5057. type: string
  5058. currencysign:
  5059. description: 货币符号
  5060. type: string
  5061. customername:
  5062. description: 卖家名称
  5063. type: string
  5064. decimalplace:
  5065. description: 报价小数位
  5066. type: integer
  5067. goodscode:
  5068. description: 商品代码(内部)
  5069. type: string
  5070. goodsid:
  5071. description: 商品ID
  5072. type: integer
  5073. goodsname:
  5074. description: 商品名称
  5075. type: string
  5076. goodsprice:
  5077. description: 商品价格
  5078. type: number
  5079. hascoupon:
  5080. description: 是否可用优惠卷
  5081. type: boolean
  5082. hotindex:
  5083. description: 景点热度
  5084. type: integer
  5085. marketid:
  5086. description: 市场ID
  5087. type: integer
  5088. orderid:
  5089. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5090. type: string
  5091. orderprice:
  5092. description: 委托价格
  5093. type: number
  5094. orderstatus:
  5095. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5096. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5097. 16:成交失败违约(荷兰式竞拍专用)
  5098. type: integer
  5099. picurls:
  5100. description: 介绍图片[多张用逗号分隔]
  5101. type: string
  5102. quoteminunit:
  5103. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5104. type: integer
  5105. sellUserID:
  5106. description: 卖方UserID
  5107. type: integer
  5108. trademode:
  5109. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5110. 21:竞拍-大宗式 22:受托竞价
  5111. type: integer
  5112. videourls:
  5113. description: 介绍视频[多张用逗号分隔]
  5114. type: string
  5115. required:
  5116. - accountid
  5117. - buyorsell
  5118. - goodscode
  5119. - goodsid
  5120. - goodsname
  5121. - marketid
  5122. - orderid
  5123. - trademode
  5124. type: object
  5125. models.HsbyMarketGoodsDetail:
  5126. properties:
  5127. accountid:
  5128. description: 账户ID[报价币种]
  5129. type: integer
  5130. agreeunit:
  5131. description: 合约单位
  5132. type: number
  5133. buymaxqty:
  5134. description: 购买上限 [71] - 0为不限
  5135. type: integer
  5136. buyorsell:
  5137. description: 买卖 - 0:买 1:卖
  5138. type: integer
  5139. cancelqty:
  5140. description: 撤单数量
  5141. type: integer
  5142. categoryid:
  5143. description: 类别ID(WRCATEGORY)
  5144. type: integer
  5145. currency:
  5146. description: 货币
  5147. type: string
  5148. currencysign:
  5149. description: 货币符号
  5150. type: string
  5151. customername:
  5152. description: 卖家名称
  5153. type: string
  5154. decimalplace:
  5155. description: 报价小数位
  5156. type: integer
  5157. goodscode:
  5158. description: 商品代码(内部)
  5159. type: string
  5160. goodsdesc:
  5161. description: 商品详情
  5162. type: string
  5163. goodsid:
  5164. description: 商品ID
  5165. type: integer
  5166. goodsname:
  5167. description: 商品名称
  5168. type: string
  5169. goodsprice:
  5170. description: 商品价格
  5171. type: number
  5172. hotindex:
  5173. description: 景点热度
  5174. type: integer
  5175. lotsize:
  5176. description: 手数最小变动单位
  5177. type: integer
  5178. marketid:
  5179. description: 市场ID
  5180. type: integer
  5181. orderid:
  5182. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5183. type: string
  5184. orderprice:
  5185. description: 委托价格
  5186. type: number
  5187. orderqty:
  5188. description: 委托数量
  5189. type: integer
  5190. orderstatus:
  5191. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5192. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5193. 16:成交失败违约(荷兰式竞拍专用)
  5194. type: integer
  5195. picurls:
  5196. description: 介绍图片[多张用逗号分隔]
  5197. type: string
  5198. quoteminunit:
  5199. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5200. type: integer
  5201. sellUserID:
  5202. description: 卖方UserID
  5203. type: integer
  5204. trademode:
  5205. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5206. 21:竞拍-大宗式 22:受托竞价
  5207. type: integer
  5208. tradeqty:
  5209. description: 成交数量
  5210. type: integer
  5211. vendorattr:
  5212. description: 供应商附件(多张,逗号分隔)
  5213. type: string
  5214. vendorname:
  5215. description: 供应商名称
  5216. type: string
  5217. vendorphone:
  5218. description: 供应商客服电话
  5219. type: string
  5220. videourls:
  5221. description: 介绍视频[多张用逗号分隔]
  5222. type: string
  5223. required:
  5224. - accountid
  5225. - buyorsell
  5226. - goodscode
  5227. - goodsid
  5228. - goodsname
  5229. - marketid
  5230. - orderid
  5231. - orderqty
  5232. - trademode
  5233. type: object
  5234. models.HsbyMarketInfo:
  5235. properties:
  5236. marketid:
  5237. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5238. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5239. type: integer
  5240. marketname:
  5241. description: 市场名称
  5242. type: string
  5243. marketstatus:
  5244. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5245. type: integer
  5246. trademode:
  5247. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5248. 21:竞拍-大宗式 22:受托竞价
  5249. type: integer
  5250. required:
  5251. - marketid
  5252. - marketstatus
  5253. - trademode
  5254. type: object
  5255. models.HsbyMyGoods:
  5256. properties:
  5257. accountid:
  5258. description: 账号Id
  5259. type: integer
  5260. agreeunit:
  5261. description: 合约单位
  5262. type: number
  5263. buyaverageprice:
  5264. description: 持仓均价
  5265. type: number
  5266. buycurholderamount:
  5267. description: 买当前持仓总金额[商品币种]
  5268. type: number
  5269. buycurpositionqty:
  5270. description: 买当前持仓总数量
  5271. type: integer
  5272. buymaxqty:
  5273. description: 购买上限 [71] - 0为不限
  5274. type: integer
  5275. currencysign:
  5276. description: 货币符号
  5277. type: string
  5278. decimalplace:
  5279. description: 报价小数位
  5280. type: integer
  5281. enableqty:
  5282. description: 可用数量
  5283. type: integer
  5284. goodscode:
  5285. description: 商品代码(内部)
  5286. type: string
  5287. goodsid:
  5288. description: 商品Id
  5289. type: integer
  5290. goodsname:
  5291. description: 商品名称
  5292. type: string
  5293. goodsprice:
  5294. description: 商品价格
  5295. type: number
  5296. goodsstatus:
  5297. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5298. type: integer
  5299. last:
  5300. description: 现价(仅使用于挂牌点选)
  5301. type: number
  5302. limitdown:
  5303. description: 跌停价(仅使用于挂牌点选)
  5304. type: number
  5305. limitup:
  5306. description: 涨停价(仅使用于挂牌点选)
  5307. type: number
  5308. lotsize:
  5309. description: 手数最小变动单位
  5310. type: integer
  5311. marketid:
  5312. description: 所属市场ID
  5313. type: integer
  5314. picurls:
  5315. description: 介绍图片[多张用逗号分隔]
  5316. type: string
  5317. quoteminunit:
  5318. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5319. type: integer
  5320. stepvalue:
  5321. description: 价格最小变动单位
  5322. type: number
  5323. trademode:
  5324. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5325. 21:竞拍-大宗式 22:受托竞价
  5326. type: integer
  5327. required:
  5328. - accountid
  5329. - goodscode
  5330. - goodsid
  5331. - goodsname
  5332. - marketid
  5333. - trademode
  5334. type: object
  5335. models.HsbyMyPackage:
  5336. properties:
  5337. accountid:
  5338. description: 账户ID
  5339. type: integer
  5340. address:
  5341. description: 提货人详细地址
  5342. type: string
  5343. agreeunit:
  5344. description: 合约单位
  5345. type: number
  5346. amount:
  5347. description: 提货金额
  5348. type: number
  5349. auditer:
  5350. description: 审核人
  5351. type: integer
  5352. audittime:
  5353. description: 审核时间
  5354. type: string
  5355. averageprice:
  5356. description: 均价
  5357. type: number
  5358. cardnum:
  5359. description: 提货人证件号码
  5360. type: string
  5361. cardtypeid:
  5362. description: 提货人证件类型
  5363. type: integer
  5364. checkremark:
  5365. description: 审核备注
  5366. type: string
  5367. currencysign:
  5368. description: 货币符号
  5369. type: string
  5370. decimalplace:
  5371. description: 报价小数位
  5372. type: integer
  5373. goodscode:
  5374. description: 商品代码(内部)
  5375. type: string
  5376. goodsid:
  5377. description: 商品ID
  5378. type: integer
  5379. goodsname:
  5380. description: 商品名称
  5381. type: string
  5382. handlestatus:
  5383. description: 处理状态
  5384. type: integer
  5385. marketid:
  5386. description: 市场ID
  5387. type: integer
  5388. phonenum:
  5389. description: 提货人联系方式
  5390. type: string
  5391. picurls:
  5392. description: 介绍图片[多张用逗号分隔]
  5393. type: string
  5394. qty:
  5395. description: 提货数量
  5396. type: number
  5397. recivername:
  5398. description: 提货人姓名
  5399. type: string
  5400. reqtime:
  5401. description: 更新时间
  5402. type: string
  5403. takemode:
  5404. description: 提货方式 - 2:自提 3:配送
  5405. type: integer
  5406. takeorderid:
  5407. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5408. type: string
  5409. takeorderstatus:
  5410. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5411. type: integer
  5412. takeremark:
  5413. description: 提货备注
  5414. type: string
  5415. tradedate:
  5416. description: 交易日(yyyyMMdd)
  5417. type: string
  5418. trademode:
  5419. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5420. 21:竞拍-大宗式 22:受托竞价
  5421. type: integer
  5422. userid:
  5423. description: 用户ID
  5424. type: integer
  5425. vendorname:
  5426. description: 供应商名称
  5427. type: string
  5428. required:
  5429. - goodscode
  5430. - goodsname
  5431. - takeorderid
  5432. - trademode
  5433. type: object
  5434. models.HsbyPreGoods:
  5435. properties:
  5436. agreeunit:
  5437. description: 合约单位
  5438. type: number
  5439. currency:
  5440. description: 货币
  5441. type: string
  5442. currencysign:
  5443. description: 货币符号
  5444. type: string
  5445. decimalplace:
  5446. description: 报价小数位
  5447. type: integer
  5448. desccityid:
  5449. description: 目的地(市)
  5450. type: integer
  5451. descprovinceid:
  5452. description: 目的地(省)
  5453. type: integer
  5454. enableqty:
  5455. description: 剩余数量
  5456. type: integer
  5457. goodscode:
  5458. description: 商品代码(内部)
  5459. type: string
  5460. goodsid:
  5461. description: 商品ID(自增ID SEQ_GOODS)
  5462. type: integer
  5463. goodsname:
  5464. description: 商品名称
  5465. type: string
  5466. goodsstatus:
  5467. description: 商品状态- 2:未上市 3:上市
  5468. type: integer
  5469. lasttradedate:
  5470. description: 最后交易日期(状态:待退市)
  5471. type: string
  5472. listingdate:
  5473. description: 交易开始日期
  5474. type: string
  5475. marketid:
  5476. description: 所属市场ID
  5477. type: integer
  5478. picurls:
  5479. description: 介绍图片[多张用逗号分隔]
  5480. type: string
  5481. presaledqty:
  5482. description: 已预售量(预售结束时更新)
  5483. type: integer
  5484. presaleqty:
  5485. description: 预售数量
  5486. type: integer
  5487. quoteminunit:
  5488. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5489. type: integer
  5490. refprice:
  5491. description: 参考价格[一口价]
  5492. type: number
  5493. relatedgoodsid:
  5494. description: 关联交易合约ID
  5495. type: integer
  5496. trademode:
  5497. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5498. 21:竞拍-大宗式 22:受托竞价
  5499. type: integer
  5500. videourls:
  5501. description: 介绍视频[多张用逗号分隔]
  5502. type: string
  5503. required:
  5504. - goodscode
  5505. - goodsid
  5506. - goodsname
  5507. - marketid
  5508. - trademode
  5509. type: object
  5510. models.HsbyPreGoodsDetail:
  5511. properties:
  5512. agreeunit:
  5513. description: 合约单位
  5514. type: number
  5515. buymaxqty:
  5516. description: 购买上限 [71] - 0为不限
  5517. type: integer
  5518. currency:
  5519. description: 货币
  5520. type: string
  5521. currencysign:
  5522. description: 货币符号
  5523. type: string
  5524. customername:
  5525. description: 发行单位
  5526. type: string
  5527. decimalplace:
  5528. description: 报价小数位
  5529. type: integer
  5530. desccityid:
  5531. description: 目的地(市)ID
  5532. type: integer
  5533. descprovinceid:
  5534. description: 目的地(省)ID
  5535. type: integer
  5536. enableqty:
  5537. description: 剩余数量
  5538. type: integer
  5539. goodscode:
  5540. description: 商品代码(内部)
  5541. type: string
  5542. goodsdesc:
  5543. description: 商品详情
  5544. type: string
  5545. goodsid:
  5546. description: 商品ID(自增ID SEQ_GOODS)
  5547. type: integer
  5548. goodsname:
  5549. description: 商品名称
  5550. type: string
  5551. goodsstatus:
  5552. description: 商品状态- 2:未上市 3:上市
  5553. type: integer
  5554. goodunit:
  5555. description: 报价单位
  5556. type: string
  5557. lasttradedate:
  5558. description: 最后交易日期(状态:待退市)
  5559. type: string
  5560. listingdate:
  5561. description: 交易开始日期
  5562. type: string
  5563. lotsize:
  5564. description: 手数最小变动单位
  5565. type: integer
  5566. marketid:
  5567. description: 所属市场ID
  5568. type: integer
  5569. picurls:
  5570. description: 介绍图片[多张用逗号分隔]
  5571. type: string
  5572. presaledqty:
  5573. description: 已预售量(预售结束时更新)
  5574. type: integer
  5575. presaleqty:
  5576. description: 预售数量
  5577. type: integer
  5578. quoteminunit:
  5579. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5580. type: integer
  5581. refprice:
  5582. description: 参考价格[一口价]
  5583. type: number
  5584. relatedgoodsid:
  5585. description: 关联交易合约ID
  5586. type: integer
  5587. stepvalue:
  5588. description: 价格最小变动单位
  5589. type: number
  5590. trademode:
  5591. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5592. 21:竞拍-大宗式 22:受托竞价
  5593. type: integer
  5594. vendorattr:
  5595. description: 供应商附件(多张,逗号分隔)
  5596. type: string
  5597. vendorname:
  5598. description: 供应商名称
  5599. type: string
  5600. vendorphone:
  5601. description: 供应商客服电话
  5602. type: string
  5603. videourls:
  5604. description: 介绍视频[多张用逗号分隔]
  5605. type: string
  5606. required:
  5607. - goodscode
  5608. - goodsid
  5609. - goodsname
  5610. - marketid
  5611. - trademode
  5612. type: object
  5613. models.HsbySellCollectionOrder:
  5614. properties:
  5615. agreeunit:
  5616. description: 合约单位
  5617. type: number
  5618. buyaccountid:
  5619. description: 买方账号ID[报价币种]
  5620. type: integer
  5621. buyorderid:
  5622. description: 买方委托单号
  5623. type: string
  5624. createtime:
  5625. description: 创建时间
  5626. type: string
  5627. currencysign:
  5628. description: 货币符号
  5629. type: string
  5630. decimalplace:
  5631. description: 报价小数位
  5632. type: integer
  5633. goodscode:
  5634. description: 商品代码(内部)
  5635. type: string
  5636. goodsid:
  5637. description: 商品ID
  5638. type: integer
  5639. goodsname:
  5640. description: 商品名称
  5641. type: string
  5642. marketid:
  5643. description: 市场ID
  5644. type: integer
  5645. offamount:
  5646. description: 优惠金额
  5647. type: number
  5648. payamount:
  5649. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  5650. type: number
  5651. payflag:
  5652. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5653. type: integer
  5654. paylimitedtime:
  5655. description: 支付期限
  5656. type: string
  5657. paytime:
  5658. description: 付款时间
  5659. type: string
  5660. picurls:
  5661. description: 商品介绍图片[多张用逗号分隔]
  5662. type: string
  5663. sellaccountid:
  5664. description: 卖方账号ID[报价币种]
  5665. type: integer
  5666. sellorderid:
  5667. description: 卖方委托单号
  5668. type: string
  5669. tradeamount:
  5670. description: 成交金额
  5671. type: number
  5672. tradecharge:
  5673. description: 成交手续费(买方)
  5674. type: number
  5675. tradedate:
  5676. description: 交易日(yyyyMMdd)
  5677. type: string
  5678. tradeid:
  5679. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5680. type: string
  5681. trademode:
  5682. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5683. 21:竞拍-大宗式 22:受托竞价
  5684. type: integer
  5685. tradeprice:
  5686. description: 成交价格
  5687. type: number
  5688. tradeqty:
  5689. description: 成交数量
  5690. type: integer
  5691. required:
  5692. - goodscode
  5693. - goodsname
  5694. - tradeid
  5695. - trademode
  5696. type: object
  5697. models.HsbySellMyDetail:
  5698. properties:
  5699. accountid:
  5700. description: 账户ID[报价币种]
  5701. type: integer
  5702. agreeunit:
  5703. description: 合约单位
  5704. type: number
  5705. buyorsell:
  5706. description: 买卖 - 0:买 1:卖
  5707. type: integer
  5708. currencysign:
  5709. description: 货币符号
  5710. type: string
  5711. decimalplace:
  5712. description: 报价小数位
  5713. type: integer
  5714. goodscode:
  5715. description: 商品代码(内部)
  5716. type: string
  5717. goodsid:
  5718. description: 商品ID
  5719. type: integer
  5720. goodsname:
  5721. description: 商品名称
  5722. type: string
  5723. marketid:
  5724. description: 市场ID
  5725. type: integer
  5726. orderid:
  5727. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  5728. type: string
  5729. ordertype:
  5730. description: 单据类型:0 - 发布中, 1 - 已完成
  5731. type: integer
  5732. picurls:
  5733. description: 介绍图片[多张用逗号分隔]
  5734. type: string
  5735. price:
  5736. description: 价格
  5737. type: number
  5738. qty:
  5739. description: 数量
  5740. type: integer
  5741. time:
  5742. description: 时间
  5743. type: string
  5744. trademode:
  5745. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5746. 21:竞拍-大宗式 22:受托竞价
  5747. type: integer
  5748. vendorname:
  5749. description: 供应商名称
  5750. type: string
  5751. required:
  5752. - accountid
  5753. - buyorsell
  5754. - goodscode
  5755. - goodsid
  5756. - goodsname
  5757. - marketid
  5758. - orderid
  5759. - time
  5760. - trademode
  5761. type: object
  5762. models.HsbyTopGoods:
  5763. properties:
  5764. agreeunit:
  5765. description: 合约单位
  5766. type: number
  5767. currency:
  5768. description: 货币
  5769. type: string
  5770. currencysign:
  5771. description: 货币符号
  5772. type: string
  5773. decimalplace:
  5774. description: 报价小数位
  5775. type: integer
  5776. desccityid:
  5777. description: 目的地(市)
  5778. type: integer
  5779. descprovinceid:
  5780. description: 目的地(省)
  5781. type: integer
  5782. goodscode:
  5783. description: 商品代码(内部)
  5784. type: string
  5785. goodsid:
  5786. description: 商品ID(自增ID SEQ_GOODS)
  5787. type: integer
  5788. goodsname:
  5789. description: 商品名称
  5790. type: string
  5791. hotindex:
  5792. description: 景点热度
  5793. type: integer
  5794. last:
  5795. description: 现价
  5796. type: number
  5797. marketid:
  5798. description: 所属市场ID
  5799. type: integer
  5800. picurls:
  5801. description: 介绍图片[多张用逗号分隔]
  5802. type: string
  5803. quoteminunit:
  5804. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5805. type: integer
  5806. trademode:
  5807. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5808. 21:竞拍-大宗式 22:受托竞价
  5809. type: integer
  5810. videourls:
  5811. description: 介绍视频[多张用逗号分隔]
  5812. type: string
  5813. required:
  5814. - goodscode
  5815. - goodsid
  5816. - goodsname
  5817. - marketid
  5818. - trademode
  5819. type: object
  5820. models.HybsMyBuyOrderDetail:
  5821. properties:
  5822. accountid:
  5823. description: 账户ID[报价币种]
  5824. type: integer
  5825. agreeunit:
  5826. description: 合约单位
  5827. type: number
  5828. buyorsell:
  5829. description: 买卖 - 0:买 1:卖
  5830. type: integer
  5831. cancelqty:
  5832. description: 撤单数量
  5833. type: integer
  5834. currencysign:
  5835. description: 货币符号
  5836. type: string
  5837. decimalplace:
  5838. description: 报价小数位
  5839. type: integer
  5840. goodscode:
  5841. description: 商品代码(内部)
  5842. type: string
  5843. goodsid:
  5844. description: 商品ID
  5845. type: integer
  5846. goodsname:
  5847. description: 商品名称
  5848. type: string
  5849. listingselecttype:
  5850. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5851. type: integer
  5852. marketid:
  5853. description: 市场ID
  5854. type: integer
  5855. mybuystatus:
  5856. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  5857. type: integer
  5858. orderamount:
  5859. description: 委托金额
  5860. type: number
  5861. orderid:
  5862. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5863. type: string
  5864. orderprice:
  5865. description: 委托价格
  5866. type: number
  5867. orderqty:
  5868. description: 委托数量
  5869. type: integer
  5870. orderstatus:
  5871. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5872. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5873. 16:成交失败违约(荷兰式竞拍专用)
  5874. type: integer
  5875. ordertime:
  5876. description: 委托时间
  5877. type: string
  5878. picurls1:
  5879. description: 预售商品介绍图片[多张用逗号分隔]
  5880. type: string
  5881. picurls2:
  5882. description: 挂牌商品介绍图片[多张用逗号分隔]
  5883. type: string
  5884. trademode:
  5885. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5886. 21:竞拍-大宗式 22:受托竞价
  5887. type: integer
  5888. tradeqty:
  5889. description: 成交数量
  5890. type: integer
  5891. vendorname1:
  5892. description: 预售商品供应商名称
  5893. type: string
  5894. vendorname2:
  5895. description: 挂牌商品供应商名称
  5896. type: string
  5897. required:
  5898. - accountid
  5899. - buyorsell
  5900. - goodscode
  5901. - goodsid
  5902. - goodsname
  5903. - marketid
  5904. - orderid
  5905. - orderqty
  5906. - ordertime
  5907. - trademode
  5908. type: object
  5909. models.Loginaccount:
  5910. properties:
  5911. canoutin:
  5912. description: 是否可出入金 - 0:不可 1:可
  5913. type: integer
  5914. clientroleid:
  5915. description: 终端角色ID
  5916. type: integer
  5917. haslogined:
  5918. description: 是否已登录 - 0:未登录 1:已登录
  5919. type: integer
  5920. hasupdatedpwd:
  5921. description: 是否已更改密码 - 0:未修改 1:已修改
  5922. type: integer
  5923. lastloginip:
  5924. description: 最新登录地址
  5925. type: string
  5926. lastloginmode:
  5927. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  5928. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5929. type: integer
  5930. lastloginremark:
  5931. description: 最新登录描述
  5932. type: string
  5933. lastlogintime:
  5934. description: 最新登录时间
  5935. type: string
  5936. logincode:
  5937. description: 登录代码
  5938. type: string
  5939. loginfailnum:
  5940. description: 连续登录失败次数(登录成功时清零)
  5941. type: integer
  5942. loginid:
  5943. description: 登陆账号
  5944. type: integer
  5945. loginport:
  5946. description: 最新登录端口
  5947. type: integer
  5948. loginstatus:
  5949. description: 登录账号状态 1:正常 2:冻结 3:无效
  5950. type: integer
  5951. loginusertype:
  5952. description: 登录账号类型 - 1:投资者 2:机构交易员
  5953. type: integer
  5954. modifierid:
  5955. description: 修改人
  5956. type: integer
  5957. modifytime:
  5958. description: 修改时间
  5959. type: string
  5960. pwdwrongcount:
  5961. description: 密码错误次数
  5962. type: integer
  5963. taaccountrighttype:
  5964. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  5965. type: integer
  5966. unfreezetime:
  5967. description: 账户解冻时间
  5968. type: string
  5969. userid:
  5970. description: 用户ID
  5971. type: integer
  5972. required:
  5973. - loginid
  5974. type: object
  5975. models.Market:
  5976. properties:
  5977. auctionwrtype:
  5978. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  5979. type: integer
  5980. canacceptquote:
  5981. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  5982. type: integer
  5983. cangoodsexercise:
  5984. description: '[期权]是否可现货行权- 0:否 1:是'
  5985. type: integer
  5986. cangoodsexercisetype:
  5987. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  5988. type: integer
  5989. canmanualquotestrike:
  5990. description: 是否可手动报行权价- 0:否 1:是 [期权]
  5991. type: integer
  5992. canmutistage:
  5993. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  5994. type: integer
  5995. canpreexercise:
  5996. description: '[期权]是否可预申报- 0:否 1:是'
  5997. type: integer
  5998. clearinterval:
  5999. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  6000. type: integer
  6001. contracttmp:
  6002. description: 合同模板[荷兰式][竞价式][仓单贸易]
  6003. type: string
  6004. exchareaid:
  6005. description: 所属交易所,可以没有
  6006. type: integer
  6007. goodstype:
  6008. description: 商品类型 - 1:交易商品 2:仓单商品
  6009. type: integer
  6010. hasrebate:
  6011. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  6012. type: integer
  6013. hastradecredit:
  6014. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  6015. type: integer
  6016. haswr:
  6017. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  6018. type: integer
  6019. isdeductmargin:
  6020. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  6021. type: integer
  6022. isrecordsource:
  6023. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  6024. type: integer
  6025. isreleasemargin:
  6026. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  6027. type: integer
  6028. marginformula:
  6029. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6030. type: integer
  6031. marginformula2:
  6032. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  6033. type: integer
  6034. marketid:
  6035. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6036. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6037. type: integer
  6038. marketname:
  6039. description: 市场名称
  6040. type: string
  6041. marketserviceid:
  6042. description: 市场服务ID
  6043. type: integer
  6044. marketstatus:
  6045. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6046. type: integer
  6047. markettype:
  6048. description: 市场类型- 1:非交易服务 2:交易服务
  6049. type: integer
  6050. matchermode:
  6051. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  6052. type: integer
  6053. openmethod:
  6054. description: 开盘模式 - 0 自动 1手动
  6055. type: integer
  6056. otcuserid:
  6057. description: 场外期权做市商[场外期权]
  6058. type: integer
  6059. outersynctime:
  6060. description: 外部同步时间点(h24:mi:ss)[场外期权]
  6061. type: string
  6062. pendingflag:
  6063. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  6064. type: integer
  6065. pendingtime:
  6066. description: 待开市时间[通道交易-对冲](HH:mm)
  6067. type: string
  6068. performancetempid:
  6069. description: 履约计划模板ID - 作废
  6070. type: integer
  6071. premiumquotemode:
  6072. description: 权利金报价方式 - 1:自动 2:手动
  6073. type: integer
  6074. rebateratio:
  6075. description: 返利比率[竞价式]
  6076. type: number
  6077. reckonorder:
  6078. description: 结算顺序
  6079. type: integer
  6080. reckonpricealgorithm:
  6081. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  6082. 6.卖一价 7.买一卖一均价 8.外部结算价'
  6083. type: integer
  6084. reckonpriceparam:
  6085. description: 结算价参数
  6086. type: integer
  6087. reckontime:
  6088. description: 结算时间[通道交易-对冲](HH:mm)
  6089. type: string
  6090. roleprioritytype:
  6091. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  6092. type: integer
  6093. selllistingauditflag:
  6094. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  6095. type: integer
  6096. trademarkettype:
  6097. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  6098. type: integer
  6099. trademode:
  6100. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6101. 21:竞拍-大宗式 22:受托竞价
  6102. type: integer
  6103. tradeproperty:
  6104. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  6105. 8:场外期权
  6106. type: integer
  6107. tradetype:
  6108. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  6109. type: integer
  6110. required:
  6111. - marketid
  6112. - marketstatus
  6113. - openmethod
  6114. - reckonpricealgorithm
  6115. - trademode
  6116. - tradeproperty
  6117. type: object
  6118. models.Marketrun:
  6119. properties:
  6120. afternexttradedate:
  6121. description: 下下交易日
  6122. type: string
  6123. clearquoteflag:
  6124. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  6125. type: integer
  6126. lastreckondate:
  6127. description: 最新交易日(结算成功)
  6128. type: string
  6129. machinedate:
  6130. description: 机器时间
  6131. type: string
  6132. manualflag:
  6133. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  6134. type: integer
  6135. marketid:
  6136. description: 市场ID
  6137. type: integer
  6138. nexttradedate:
  6139. description: 下一交易日
  6140. type: string
  6141. pretradedate:
  6142. description: 上一交易日
  6143. type: string
  6144. reckonflag:
  6145. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  6146. type: integer
  6147. runstatus:
  6148. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  6149. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  6150. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  6151. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  6152. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  6153. 62.今日免清算
  6154. type: integer
  6155. sectionid:
  6156. description: 时间段号[多时段时用]
  6157. type: integer
  6158. tradedate:
  6159. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  6160. type: string
  6161. tradedate2:
  6162. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  6163. type: string
  6164. updatetime:
  6165. description: 更新时间
  6166. type: string
  6167. required:
  6168. - marketid
  6169. - nexttradedate
  6170. - reckonflag
  6171. - runstatus
  6172. - tradedate
  6173. - tradedate2
  6174. type: object
  6175. models.Messageboard:
  6176. properties:
  6177. contactnum:
  6178. description: 联系电话
  6179. type: string
  6180. createtime:
  6181. description: 创建时间
  6182. type: string
  6183. message:
  6184. description: 留言信息
  6185. type: string
  6186. messageboardid:
  6187. description: 留言簿ID(SEQ_MessageBoard)
  6188. type: integer
  6189. userid:
  6190. description: 用户ID
  6191. type: integer
  6192. required:
  6193. - messageboardid
  6194. type: object
  6195. models.MyCoupon:
  6196. properties:
  6197. accountid:
  6198. description: 资金账户ID
  6199. type: integer
  6200. areauserid:
  6201. description: 所属机构
  6202. type: integer
  6203. conditionvalue:
  6204. description: 条件阈值(可为0)
  6205. type: number
  6206. couponcategroy:
  6207. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  6208. type: integer
  6209. couponname:
  6210. description: 优惠券名称
  6211. type: string
  6212. coupontypeid:
  6213. description: 优惠券类型ID
  6214. type: string
  6215. couponvalue:
  6216. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6217. type: number
  6218. curfreezeqty:
  6219. description: 期末冻结数量
  6220. type: integer
  6221. curqty:
  6222. description: 期末数量
  6223. type: integer
  6224. isgeneral:
  6225. description: 是否通用券 - 0:否 1:是
  6226. type: integer
  6227. isunusable:
  6228. description: 是否不可用
  6229. type: boolean
  6230. limitedflag:
  6231. description: 是否指定商品 - 0:不限 1:限制
  6232. type: integer
  6233. limitedgoodsids:
  6234. description: 指定商品IDs[逗号分隔,前后加逗号]
  6235. type: string
  6236. orifreezeqty:
  6237. description: 期初冻结数量
  6238. type: integer
  6239. oriqty:
  6240. description: 期初数量
  6241. type: integer
  6242. reasontype:
  6243. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  6244. type: integer
  6245. todaydecrease:
  6246. description: 今日减少
  6247. type: integer
  6248. todayincrease:
  6249. description: 今日增加
  6250. type: integer
  6251. userid:
  6252. description: 用户ID
  6253. type: integer
  6254. userscope:
  6255. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  6256. type: string
  6257. required:
  6258. - accountid
  6259. - coupontypeid
  6260. type: object
  6261. models.MyCouponHold:
  6262. properties:
  6263. accountid:
  6264. description: 资金账户ID
  6265. type: integer
  6266. conditionvalue:
  6267. description: 条件阈值(可为0)
  6268. type: number
  6269. couponcategroy:
  6270. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  6271. type: integer
  6272. couponholdid:
  6273. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  6274. type: string
  6275. couponname:
  6276. description: 优惠券名称
  6277. type: string
  6278. coupontypeid:
  6279. description: 优惠券类型ID - SEQ_COUPONTYPE
  6280. type: string
  6281. couponvalue:
  6282. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  6283. type: number
  6284. createtime:
  6285. description: 创建时间
  6286. type: string
  6287. enddate:
  6288. description: 结束日期
  6289. type: string
  6290. giveapplyid:
  6291. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  6292. type: integer
  6293. holdstatus:
  6294. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6295. type: integer
  6296. isgeneral:
  6297. description: 是否通用券 - 0:否 1:是
  6298. type: integer
  6299. limitedflag:
  6300. description: 是否指定商品 - 0:不限 1:限制
  6301. type: integer
  6302. limitedgoodsids:
  6303. description: 指定商品IDs[逗号分隔]
  6304. type: string
  6305. qty:
  6306. description: 数量(按1平铺)
  6307. type: integer
  6308. startdate:
  6309. description: 开始日期
  6310. type: string
  6311. userid:
  6312. description: 用户ID
  6313. type: integer
  6314. userscope:
  6315. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6316. type: string
  6317. required:
  6318. - couponholdid
  6319. type: object
  6320. models.MyUsedCoupon:
  6321. properties:
  6322. accountid:
  6323. description: 资金账户ID(买方)
  6324. type: integer
  6325. conditionvalue:
  6326. description: 条件阈值(可为0)
  6327. type: number
  6328. couponcategroy:
  6329. description: 种类 - 1:现金券 2:折扣券
  6330. type: integer
  6331. couponname:
  6332. description: 优惠券名称
  6333. type: string
  6334. coupontypeid:
  6335. description: 优惠券类型ID(买方)
  6336. type: string
  6337. couponvalue:
  6338. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6339. type: number
  6340. createtime:
  6341. description: 创建时间
  6342. type: string
  6343. goodsid:
  6344. description: 商品ID
  6345. type: integer
  6346. handlestatus:
  6347. description: 处理状态
  6348. type: integer
  6349. marketid:
  6350. description: 市场ID
  6351. type: integer
  6352. offamount:
  6353. description: 优惠金额
  6354. type: number
  6355. orderid:
  6356. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6357. type: string
  6358. sellaccountid:
  6359. description: 资金账户ID(卖方)
  6360. type: integer
  6361. tradeamount:
  6362. description: 成交金额
  6363. type: number
  6364. tradeid:
  6365. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6366. type: string
  6367. usedqty:
  6368. description: 使用数量
  6369. type: integer
  6370. required:
  6371. - coupontypeid
  6372. - orderid
  6373. type: object
  6374. models.OperationPrimaryMenu:
  6375. properties:
  6376. Children:
  6377. description: 二级功能菜单
  6378. items:
  6379. $ref: '#/definitions/models.OperationSecondaryMenu'
  6380. type: array
  6381. Key:
  6382. description: 菜单KEY
  6383. type: string
  6384. Label:
  6385. description: 菜单标题
  6386. type: string
  6387. type: object
  6388. models.OperationSecondaryMenu:
  6389. properties:
  6390. Key:
  6391. description: 菜单KEY
  6392. type: string
  6393. Label:
  6394. description: 菜单标题
  6395. type: string
  6396. TabList:
  6397. description: 三级功能菜单
  6398. items:
  6399. $ref: '#/definitions/models.OperationTabMenu'
  6400. type: array
  6401. type: object
  6402. models.OperationTabMenu:
  6403. properties:
  6404. Key:
  6405. description: 菜单KEY
  6406. type: string
  6407. Label:
  6408. description: 菜单标题
  6409. type: string
  6410. type: object
  6411. models.QueryErrorInfosRsp:
  6412. properties:
  6413. description:
  6414. description: 异常描述
  6415. type: string
  6416. errorcode:
  6417. description: 异常代码
  6418. type: string
  6419. errorid:
  6420. description: 异常ID
  6421. type: integer
  6422. modulecode:
  6423. description: 所属模块
  6424. type: string
  6425. operatecode:
  6426. description: 所属操作
  6427. type: string
  6428. rownumber:
  6429. description: 行号
  6430. type: string
  6431. required:
  6432. - errorid
  6433. type: object
  6434. models.QueryHedgeOrderDetailRsp:
  6435. properties:
  6436. accountid:
  6437. description: 账户ID
  6438. type: integer
  6439. buyorsell:
  6440. description: 买卖 - 0:买 1:卖
  6441. type: integer
  6442. channelbuildtype:
  6443. description: 开平标志 - 0:无 1:建仓 2:平仓
  6444. type: integer
  6445. channelinnerorderstatus:
  6446. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  6447. 9:全部成交
  6448. type: integer
  6449. channeloperatetype:
  6450. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  6451. type: integer
  6452. closetype:
  6453. description: 平仓方式 - 0:无 1:平今 2:平昨
  6454. type: integer
  6455. curexchangerate:
  6456. description: 当前汇率
  6457. type: number
  6458. exchangefullname:
  6459. description: 外部交易所全称
  6460. type: string
  6461. goodscode:
  6462. description: 商品代码(内部)
  6463. type: string
  6464. goodsid:
  6465. description: 商品ID
  6466. type: integer
  6467. goodsname:
  6468. description: 商品名称
  6469. type: string
  6470. marketid:
  6471. description: 市场ID
  6472. type: integer
  6473. openfreezemargin:
  6474. description: 冻结保证金(冻结交易金额)
  6475. type: number
  6476. orderid:
  6477. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6478. type: string
  6479. orderprice:
  6480. description: 委托价格(账户)
  6481. type: number
  6482. orderqty:
  6483. description: 委托数量
  6484. type: integer
  6485. ordertime:
  6486. description: 委托时间
  6487. type: string
  6488. pricemode:
  6489. description: '取价方式 - 1:市价 2: 限价'
  6490. type: integer
  6491. tradedate:
  6492. description: 交易日(yyyyMMdd)
  6493. type: string
  6494. tradeqty:
  6495. description: 成交数量
  6496. type: integer
  6497. type: object
  6498. models.QueryHedgeTradeDetailRsp:
  6499. properties:
  6500. accountid:
  6501. description: 账号ID
  6502. type: integer
  6503. buyorsell:
  6504. description: 方向 - 0:买 1:卖
  6505. type: integer
  6506. channelbuildtype:
  6507. description: 委托单据类型 0:无 1:建仓 2:平仓
  6508. type: integer
  6509. closecharge:
  6510. description: 平仓手续费(账户)
  6511. type: number
  6512. closecharge2:
  6513. description: 平仓手续费(商品)
  6514. type: number
  6515. closetype:
  6516. description: 平仓方式 - 0:无 1:平今 2:平昨
  6517. type: integer
  6518. curexchangerate:
  6519. description: 当前汇率
  6520. type: number
  6521. exchangefullname:
  6522. description: 外部交易所全称
  6523. type: string
  6524. goodscode:
  6525. description: 商品代码(内部)
  6526. type: string
  6527. goodsid:
  6528. description: 商品ID
  6529. type: integer
  6530. goodsname:
  6531. description: 商品名称
  6532. type: string
  6533. marketid:
  6534. description: 市场ID
  6535. type: integer
  6536. opencharge:
  6537. description: 建仓手续费(账户)
  6538. type: number
  6539. opencharge2:
  6540. description: 建仓手续费(商品)
  6541. type: number
  6542. orderid:
  6543. description: 委托单号
  6544. type: string
  6545. tradeamount:
  6546. description: 成交金额(账户)
  6547. type: number
  6548. tradedate:
  6549. description: 交易日(yyyyMMdd)
  6550. type: string
  6551. tradeid:
  6552. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6553. type: string
  6554. tradeprice:
  6555. description: 成交价格
  6556. type: number
  6557. tradeqty:
  6558. description: 成交数量
  6559. type: integer
  6560. tradetime:
  6561. description: 成交时间
  6562. type: string
  6563. tradetype:
  6564. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6565. type: integer
  6566. type: object
  6567. models.QuotePrimaryMenu:
  6568. properties:
  6569. Index:
  6570. description: 序号
  6571. type: integer
  6572. Key:
  6573. description: 键名
  6574. type: string
  6575. Name:
  6576. description: 菜单名称
  6577. type: string
  6578. SubMenus:
  6579. description: 子菜单
  6580. items:
  6581. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6582. type: array
  6583. SubTitleType:
  6584. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6585. type: integer
  6586. TradeModes:
  6587. description: 包含市场交易类型
  6588. type: string
  6589. type: object
  6590. models.QuoteSecondaryMenu:
  6591. properties:
  6592. ExExchangeCode:
  6593. description: 外部交易所代码
  6594. type: string
  6595. ExExchangeID:
  6596. description: 外部交易所ID
  6597. type: integer
  6598. GoodsGroupIDs:
  6599. description: 商品组ID列表
  6600. items:
  6601. type: integer
  6602. type: array
  6603. Index:
  6604. description: 序号
  6605. type: integer
  6606. MarketID:
  6607. description: 市场ID
  6608. type: integer
  6609. MenuTitle:
  6610. description: 菜单标题(市场名称或外部交易所名称)
  6611. type: string
  6612. TradeMode:
  6613. description: 交易模式
  6614. type: integer
  6615. type: object
  6616. models.RelatedGoodsEx:
  6617. properties:
  6618. goodscode:
  6619. description: 商品代码
  6620. type: string
  6621. goodsid:
  6622. description: 商品id
  6623. type: integer
  6624. goodsname:
  6625. description: 商品名称
  6626. type: string
  6627. type: object
  6628. models.SearchGoods:
  6629. properties:
  6630. goodscode:
  6631. description: 商品代码(内部)
  6632. type: string
  6633. goodsid:
  6634. description: 商品ID(自增ID SEQ_GOODS)
  6635. type: integer
  6636. goodsname:
  6637. description: 商品名称
  6638. type: string
  6639. marketid:
  6640. description: 所属市场ID
  6641. type: integer
  6642. marketname:
  6643. description: 市场名称
  6644. type: string
  6645. trademode:
  6646. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6647. 21:竞拍-大宗式 22:受托竞价
  6648. type: integer
  6649. required:
  6650. - goodscode
  6651. - goodsid
  6652. - goodsname
  6653. - marketid
  6654. - trademode
  6655. type: object
  6656. models.Systemparam:
  6657. properties:
  6658. loginid:
  6659. description: 更新用户账号,登录账号
  6660. type: string
  6661. modifyflag:
  6662. description: 修改标志0 不允许修改 1 允许修改
  6663. type: integer
  6664. paramcode:
  6665. description: 参数代码
  6666. type: string
  6667. paramname:
  6668. description: 参数名
  6669. type: string
  6670. paramtype:
  6671. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  6672. type: integer
  6673. paramvalue:
  6674. description: 参数值
  6675. type: string
  6676. paramvalue2:
  6677. description: 参数值(CLOB)
  6678. type: string
  6679. regexpress:
  6680. description: 正则表达式
  6681. type: string
  6682. remark:
  6683. description: 备注
  6684. type: string
  6685. serverip:
  6686. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  6687. type: string
  6688. showflag:
  6689. description: 是否显示0 不显示 1 显示
  6690. type: integer
  6691. updatetime:
  6692. description: 更新时间
  6693. type: string
  6694. userid:
  6695. description: 更新用户ID
  6696. type: integer
  6697. required:
  6698. - paramcode
  6699. type: object
  6700. models.Szdz3convertconfig:
  6701. properties:
  6702. canin:
  6703. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  6704. type: integer
  6705. canout:
  6706. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  6707. type: integer
  6708. converttype:
  6709. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6710. 6:交易转花生米(不设置)
  6711. type: integer
  6712. createtime:
  6713. description: 创建时间
  6714. type: string
  6715. creatorid:
  6716. description: 创建人
  6717. type: integer
  6718. daymaxvalue:
  6719. description: 当日最大转入限制
  6720. type: number
  6721. freezedays:
  6722. description: 冻结天数 [5:花生米转交易]
  6723. type: integer
  6724. innergoodsid:
  6725. description: 内部商品ID[交易]
  6726. type: integer
  6727. inratio:
  6728. description: 目标值
  6729. type: integer
  6730. modifierid:
  6731. description: 修改人
  6732. type: integer
  6733. modifytime:
  6734. description: 修改时间
  6735. type: string
  6736. outergoodscode:
  6737. description: 外部商品代码[JD\PD]
  6738. type: string
  6739. outratio:
  6740. description: 源值
  6741. type: integer
  6742. pddecimalplace:
  6743. description: PD小数位
  6744. type: integer
  6745. timemaxvalue:
  6746. description: 单次最大转入限制
  6747. type: number
  6748. timeminvalue:
  6749. description: 单次最小转入限制
  6750. type: number
  6751. required:
  6752. - converttype
  6753. - innergoodsid
  6754. - outergoodscode
  6755. type: object
  6756. models.Szdz3searchwhitelist:
  6757. properties:
  6758. createtime:
  6759. description: 创建时间
  6760. type: string
  6761. creatorid:
  6762. description: 创建人
  6763. type: integer
  6764. modifierid:
  6765. description: 修改人
  6766. type: integer
  6767. modifytime:
  6768. description: 修改时间
  6769. type: string
  6770. userid:
  6771. description: 用户ID
  6772. type: integer
  6773. required:
  6774. - userid
  6775. type: object
  6776. models.Taaccount:
  6777. properties:
  6778. accountflag:
  6779. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  6780. type: integer
  6781. accountid:
  6782. description: 资金账户ID
  6783. type: integer
  6784. accountname:
  6785. description: 账户名称
  6786. type: string
  6787. balance:
  6788. description: 期初余额
  6789. type: number
  6790. capitalbalance:
  6791. description: 本金余额[外部子账户实际出入金余额]
  6792. type: number
  6793. changeflag:
  6794. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  6795. type: integer
  6796. changetime:
  6797. description: 账户状态变更时间
  6798. type: string
  6799. closepl:
  6800. description: 今日平仓盈亏
  6801. type: number
  6802. creditdecrease:
  6803. description: 今日授信减少
  6804. type: number
  6805. creditincrease:
  6806. description: 今日授信增加
  6807. type: number
  6808. currencyid:
  6809. description: 货币ID
  6810. type: integer
  6811. currentbalance:
  6812. description: 期末余额
  6813. type: number
  6814. freezecharge:
  6815. description: 手续费冻结
  6816. type: number
  6817. freezemargin:
  6818. description: 冻结保证金
  6819. type: number
  6820. fromaccountid:
  6821. description: 所属上级账户
  6822. type: integer
  6823. inamount:
  6824. description: 今日入金金额(包括三方入金)
  6825. type: number
  6826. ismain:
  6827. description: 是否母账号 0:不是母账户 1:是母账户
  6828. type: integer
  6829. ismarketaccount:
  6830. description: 是否机构接单账号 0:不是 1:是
  6831. type: integer
  6832. isreckonaccount:
  6833. description: 是否机构分润账号 0:不是 1:是
  6834. type: integer
  6835. mortgagecredit:
  6836. description: 授信金额
  6837. type: number
  6838. orifreezecharge:
  6839. description: 期初手续费冻结
  6840. type: number
  6841. orifreezemargin:
  6842. description: 期初冻结保证金
  6843. type: number
  6844. orimortgagecredit:
  6845. description: 期初授信金额
  6846. type: number
  6847. oriothercredit:
  6848. description: 期初其它授信金额
  6849. type: number
  6850. oriotherfreezemargin:
  6851. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6852. type: number
  6853. orioutamountfreeze:
  6854. description: 期初出金冻结
  6855. type: number
  6856. oriusedmargin:
  6857. description: 期初占用保证金
  6858. type: number
  6859. othercredit:
  6860. description: 其它授信金额
  6861. type: number
  6862. othercreditdecrease:
  6863. description: 今日其它授信减少
  6864. type: number
  6865. othercreditincrease:
  6866. description: 今日其它授信增加
  6867. type: number
  6868. otherfreezemargin:
  6869. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6870. type: number
  6871. otherincome:
  6872. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  6873. type: number
  6874. otherpay:
  6875. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  6876. type: number
  6877. outamount:
  6878. description: 今日出金金额(包括三方出金)
  6879. type: number
  6880. outamountfreeze:
  6881. description: 出金冻结
  6882. type: number
  6883. outthreshold:
  6884. description: 出金阈值
  6885. type: number
  6886. parentaccountid:
  6887. description: 所属根账号
  6888. type: integer
  6889. paycharge:
  6890. description: 今日手续费支出
  6891. type: number
  6892. relatedaccountstatus:
  6893. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  6894. type: integer
  6895. relateduserid:
  6896. description: 关联用户
  6897. type: integer
  6898. serivcegroup:
  6899. description: 服务分组
  6900. type: integer
  6901. signstatus:
  6902. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6903. type: integer
  6904. sublevelpath:
  6905. description: 账号层级路径(逗号分隔,首尾加逗号)
  6906. type: string
  6907. taaccounttype:
  6908. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6909. type: integer
  6910. thirdinamount:
  6911. description: 今日三方入金
  6912. type: number
  6913. thirdoutamount:
  6914. description: 今日三方出金
  6915. type: number
  6916. tradestatus:
  6917. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6918. type: integer
  6919. tradestatuschangetime:
  6920. description: 激活时间
  6921. type: string
  6922. transferamount:
  6923. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6924. type: number
  6925. usedmargin:
  6926. description: 占用保证金
  6927. type: number
  6928. userid:
  6929. description: 用户ID
  6930. type: integer
  6931. required:
  6932. - accountid
  6933. - userid
  6934. type: object
  6935. models.Tablecolumnconfig:
  6936. properties:
  6937. aligntype:
  6938. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  6939. type: integer
  6940. autoid:
  6941. description: AutoID
  6942. type: integer
  6943. columnfield:
  6944. description: 列字段
  6945. type: string
  6946. columntitle:
  6947. description: 列Title
  6948. type: string
  6949. columnwidth:
  6950. description: 列宽
  6951. type: string
  6952. formatterstring:
  6953. description: 格式化字符
  6954. type: string
  6955. formattertype:
  6956. description: 格式化类型
  6957. type: string
  6958. groupname:
  6959. description: 表头分组名称
  6960. type: string
  6961. isshow:
  6962. description: 是否显示 - 0:不显示 1:显示
  6963. type: integer
  6964. needsummary:
  6965. description: 是否需要汇总 - 0:不需要 1:需要
  6966. type: integer
  6967. orderindex:
  6968. description: 顺序
  6969. type: integer
  6970. remark:
  6971. description: 备注
  6972. type: string
  6973. summarytype:
  6974. description: 汇总类型 - 1:加总 2:最后一个
  6975. type: integer
  6976. tablekey:
  6977. description: 列表Key
  6978. type: string
  6979. required:
  6980. - autoid
  6981. type: object
  6982. models.Useraccount:
  6983. properties:
  6984. accountname:
  6985. description: 账户名称(机构名称)
  6986. type: string
  6987. accountstatus:
  6988. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6989. type: integer
  6990. auditremark:
  6991. description: 审核备注
  6992. type: string
  6993. audittime:
  6994. description: 审核时间
  6995. type: string
  6996. audituserid:
  6997. description: 审核人
  6998. type: integer
  6999. broker:
  7000. description: 所属经纪人ID
  7001. type: integer
  7002. canceltime:
  7003. description: 销户时间
  7004. type: string
  7005. canceluserid:
  7006. description: 销户人
  7007. type: integer
  7008. createtime:
  7009. description: 创建时间
  7010. type: string
  7011. creatorid:
  7012. description: 创建人
  7013. type: integer
  7014. hasauth:
  7015. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  7016. type: integer
  7017. isanonymous:
  7018. description: 是否匿名下单 - 0:否 1:是
  7019. type: integer
  7020. maxinvestornum:
  7021. description: 最大用户数(经纪会员下投资者个数)
  7022. type: integer
  7023. memberuserid:
  7024. description: 所属会员ID
  7025. type: integer
  7026. modifierid:
  7027. description: 修改人
  7028. type: integer
  7029. modifyremark:
  7030. description: 变更备注
  7031. type: string
  7032. modifystatus:
  7033. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  7034. type: integer
  7035. modifytime:
  7036. description: 修改时间
  7037. type: string
  7038. parentuserid:
  7039. description: 所属机构ID
  7040. type: integer
  7041. reckonaccountid:
  7042. description: 默认结算资金账号ID(机构分润使用) 作废
  7043. type: integer
  7044. refercount:
  7045. description: 推荐总人数
  7046. type: integer
  7047. refereeuserid:
  7048. description: 推荐人ID
  7049. type: integer
  7050. refernum:
  7051. description: 推荐码
  7052. type: string
  7053. subarealevelpath:
  7054. description: 子机构层级路径(逗号分隔,首尾加逗号)
  7055. type: string
  7056. userid:
  7057. description: 用户ID
  7058. type: integer
  7059. usertype:
  7060. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7061. type: integer
  7062. required:
  7063. - userid
  7064. type: object
  7065. models.Userfavoritegoods:
  7066. properties:
  7067. goodsid:
  7068. description: 商品ID
  7069. type: integer
  7070. required:
  7071. - goodsid
  7072. type: object
  7073. models.Userinfo:
  7074. properties:
  7075. address:
  7076. description: 地址
  7077. type: string
  7078. attachment1:
  7079. description: 附件1
  7080. type: string
  7081. attachment2:
  7082. description: 附件2
  7083. type: string
  7084. bankaccount:
  7085. description: 银行帐号 (加密存储)
  7086. type: string
  7087. bankaccountname:
  7088. description: 收款人名称
  7089. type: string
  7090. bankcardfrontphotourl:
  7091. description: 银行卡正面照地址
  7092. type: string
  7093. bankid:
  7094. description: 银行编码
  7095. type: string
  7096. bankname:
  7097. description: 银行名称
  7098. type: string
  7099. biznature:
  7100. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  7101. type: integer
  7102. bizscope:
  7103. description: 企业经营范围(企业)
  7104. type: string
  7105. cardbackphotourl:
  7106. description: 证件背面图片地址
  7107. type: string
  7108. cardfrontphotourl:
  7109. description: 证件正面图片地址
  7110. type: string
  7111. cardnum:
  7112. description: 证件号码(加密存储)
  7113. type: string
  7114. cardtypeid:
  7115. description: 证件类型ID
  7116. type: integer
  7117. cityid:
  7118. description: 市
  7119. type: integer
  7120. company:
  7121. description: 公司(个人)
  7122. type: string
  7123. contactname:
  7124. description: 联系人
  7125. type: string
  7126. countryid:
  7127. description: 国家
  7128. type: integer
  7129. createtime:
  7130. description: 创建时间
  7131. type: string
  7132. creatorid:
  7133. description: 创建人
  7134. type: integer
  7135. customername:
  7136. description: 客户名称(企业名称)
  7137. type: string
  7138. districtid:
  7139. description: 地区
  7140. type: integer
  7141. email:
  7142. description: 邮件(加密存储)
  7143. type: string
  7144. fax:
  7145. description: 传真(加密存储)
  7146. type: string
  7147. halfbodyphotourl:
  7148. description: 半身照地址
  7149. type: string
  7150. hasencrypt:
  7151. description: 数据是否已加密 - 0:未加密 1:已加密
  7152. type: integer
  7153. headurl:
  7154. description: 头像地址
  7155. type: string
  7156. legalcardbackphotourl:
  7157. description: 法人身份证背面照地址
  7158. type: string
  7159. legalcardfrontphotourl:
  7160. description: 法人身份证正面照地址
  7161. type: string
  7162. legalpersonname:
  7163. description: 法人姓名(企业)
  7164. type: string
  7165. mobile:
  7166. description: 手机号码(加密存储)
  7167. type: string
  7168. mobile2:
  7169. description: 手机号码[明文-尚志]
  7170. type: string
  7171. modifierid:
  7172. description: 修改人
  7173. type: integer
  7174. modifiertime:
  7175. description: 修改时间
  7176. type: string
  7177. needinvoice:
  7178. description: 是否需要发票 - 0:不需要 1:需要
  7179. type: integer
  7180. nickname:
  7181. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  7182. type: string
  7183. openmode:
  7184. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  7185. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  7186. type: integer
  7187. otherurl:
  7188. description: 其它图片地址[使用分号分隔]
  7189. type: string
  7190. postalcode:
  7191. description: 邮政编码
  7192. type: string
  7193. provinceid:
  7194. description: 省
  7195. type: integer
  7196. qq:
  7197. description: QQ(加密存储
  7198. type: string
  7199. remark:
  7200. description: 备注
  7201. type: string
  7202. sex:
  7203. description: '用户性别 0: 女 1: 男'
  7204. type: integer
  7205. signpdfurl:
  7206. description: 签约pdf文件
  7207. type: string
  7208. telphone:
  7209. description: 联系电话(加密存储)
  7210. type: string
  7211. userid:
  7212. description: 用户ID
  7213. type: integer
  7214. userinfotype:
  7215. description: 用户信息类型 - 1:个人 2:企业
  7216. type: integer
  7217. userstatus:
  7218. description: 用户状态 - 1:正常 2:注销
  7219. type: integer
  7220. usertype:
  7221. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  7222. type: integer
  7223. wechat:
  7224. description: 微信(加密存储)
  7225. type: string
  7226. wskhinfo:
  7227. description: 开户申请信息(JSON)
  7228. type: string
  7229. required:
  7230. - userid
  7231. type: object
  7232. models.WRCategoryTree:
  7233. properties:
  7234. areauserid:
  7235. description: 所属机构
  7236. type: integer
  7237. categorydesc:
  7238. description: 类别描述
  7239. type: string
  7240. categoryid:
  7241. description: 类别ID(SEQ_WRCATEGORY)
  7242. type: integer
  7243. categoryname:
  7244. description: 类别名称
  7245. type: string
  7246. iconurl:
  7247. description: 图标地址
  7248. type: string
  7249. orderindex:
  7250. description: 顺序
  7251. type: integer
  7252. parentcategoryid:
  7253. description: 父类别ID
  7254. type: integer
  7255. subcategory:
  7256. description: 子分类
  7257. items:
  7258. $ref: '#/definitions/models.WRCategoryTree'
  7259. type: array
  7260. required:
  7261. - categoryid
  7262. type: object
  7263. models.WRSConverTDetail:
  7264. properties:
  7265. convertratio:
  7266. description: 套保系数
  7267. type: number
  7268. deliverygoodsid:
  7269. description: 现货品种ID
  7270. type: integer
  7271. middlegoodscode:
  7272. description: 套保品种代码
  7273. type: string
  7274. middlegoodsid:
  7275. description: 套保品种ID
  7276. type: integer
  7277. middlegoodsname:
  7278. description: 套保品种名称
  7279. type: string
  7280. modifytime:
  7281. description: 修改时间
  7282. type: string
  7283. wrstandardid:
  7284. description: 现货商品ID
  7285. type: integer
  7286. type: object
  7287. models.WRStandardInfo:
  7288. properties:
  7289. createtime:
  7290. description: 创建时间
  7291. type: string
  7292. creatorid:
  7293. description: 创建人
  7294. type: integer
  7295. deliverygoodsid:
  7296. description: 品种ID
  7297. type: integer
  7298. deliverygoodsname:
  7299. description: 交割商品名称
  7300. type: string
  7301. factoryitemjson:
  7302. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  7303. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  7304. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  7305. 逗号分隔'
  7306. type: string
  7307. isvalid:
  7308. description: 是否有效 - 0:无效 1:有效
  7309. type: integer
  7310. minivalue:
  7311. description: 最小变动值
  7312. type: integer
  7313. minivaluedp:
  7314. description: 最小变动值小数位
  7315. type: integer
  7316. realminivalue:
  7317. description: 实际最小变动值
  7318. type: integer
  7319. realminivaluedp:
  7320. description: 实际最小变动值小数位
  7321. type: integer
  7322. unitid:
  7323. description: 单位ID
  7324. type: integer
  7325. unitname:
  7326. description: 单位
  7327. type: string
  7328. updatetime:
  7329. description: 更新时间
  7330. type: string
  7331. updatorid:
  7332. description: 更新人
  7333. type: integer
  7334. wrsstatus:
  7335. description: 状态 - 作废 - 0:未激活 1:正常
  7336. type: integer
  7337. wrstandardcode:
  7338. description: 仓单标准代码
  7339. type: string
  7340. wrstandardid:
  7341. description: 仓单标准ID(SEQ_WRSTANDARD)
  7342. type: integer
  7343. wrstandardname:
  7344. description: 仓单标准名称
  7345. type: string
  7346. required:
  7347. - wrstandardid
  7348. type: object
  7349. models.Warehouseinfo:
  7350. properties:
  7351. address:
  7352. description: 详细地址
  7353. type: string
  7354. areauserid:
  7355. description: 所属机构
  7356. type: integer
  7357. autoid:
  7358. description: 自增ID
  7359. type: integer
  7360. cityid:
  7361. description: 市
  7362. type: integer
  7363. contactname:
  7364. description: 联系人
  7365. type: string
  7366. contactnum:
  7367. description: 联系电话
  7368. type: string
  7369. countryid:
  7370. description: 国家
  7371. type: integer
  7372. createtime:
  7373. description: 创建时间
  7374. type: string
  7375. districtid:
  7376. description: 区
  7377. type: integer
  7378. hasvideo:
  7379. description: 是否有视频 - 0:无 1:有
  7380. type: integer
  7381. provinceid:
  7382. description: 省
  7383. type: integer
  7384. remark:
  7385. description: 审核备注
  7386. type: string
  7387. videourl:
  7388. description: 视频地址
  7389. type: string
  7390. warehousecode:
  7391. description: 仓库代码
  7392. type: string
  7393. warehousename:
  7394. description: 仓库名称
  7395. type: string
  7396. warehousestatus:
  7397. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7398. type: integer
  7399. warehousetype:
  7400. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7401. type: integer
  7402. required:
  7403. - autoid
  7404. - warehousecode
  7405. type: object
  7406. order.QueryHisTradeDetailRsp:
  7407. properties:
  7408. accountid:
  7409. description: 账户ID[报价币种]
  7410. type: integer
  7411. buildtype:
  7412. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7413. type: integer
  7414. buyorsell:
  7415. description: 方向 - 0:买 1:卖
  7416. type: integer
  7417. charge:
  7418. description: 手续费
  7419. type: number
  7420. closecharge:
  7421. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7422. type: number
  7423. closeexchagechargevalue:
  7424. description: 平仓交易所手续费设置值
  7425. type: number
  7426. closefeealgorithm:
  7427. description: 平仓手续费收取方式 1:比率 2:固定
  7428. type: integer
  7429. closememberchargevalue:
  7430. description: 平仓会员手续费设置值
  7431. type: number
  7432. closepl:
  7433. description: 平仓盈亏
  7434. type: number
  7435. closepl2:
  7436. description: 平仓盈亏[逐笔]
  7437. type: number
  7438. closeqty:
  7439. description: 平仓数量(先建后平操作 需要记录)
  7440. type: integer
  7441. creditamount:
  7442. description: 授信金额
  7443. type: number
  7444. gcaccountid:
  7445. description: 账户ID[合约币种]
  7446. type: integer
  7447. goodscode:
  7448. description: 商品代码
  7449. type: string
  7450. goodsid:
  7451. description: 商品ID
  7452. type: integer
  7453. goodsname:
  7454. description: 商品名称
  7455. type: string
  7456. histradedate:
  7457. description: 历史交易日
  7458. type: string
  7459. intclosepl:
  7460. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7461. type: integer
  7462. isconfirmexercise:
  7463. description: 是否确认行权- 0:否 1:是
  7464. type: integer
  7465. ismain:
  7466. description: 是否主单 - 0:不是 1:是
  7467. type: integer
  7468. ispreexercise:
  7469. description: 是否预申报- 0:否 1:是
  7470. type: integer
  7471. isreckoned:
  7472. description: 是否结算 - 0:未结算 1:已结算
  7473. type: integer
  7474. isvaliddata:
  7475. description: 是否有效 - 0:无效 1:有效
  7476. type: integer
  7477. listingselecttype:
  7478. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7479. type: integer
  7480. marketid:
  7481. description: 市场ID
  7482. type: integer
  7483. marketname:
  7484. description: 市场名称
  7485. type: string
  7486. matchaccountid:
  7487. description: 对手账号id
  7488. type: integer
  7489. memberuserid:
  7490. description: 会员id 个人投资者 需要填写
  7491. type: integer
  7492. opencharge:
  7493. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7494. type: number
  7495. openexchagechargevalue:
  7496. description: 建仓交易所手续费设置值
  7497. type: number
  7498. openfeealgorithm:
  7499. description: 建仓手续费收取方式 1:比率 2:固定
  7500. type: integer
  7501. openmemberchargevalue:
  7502. description: 建仓会员手续费设置值
  7503. type: number
  7504. openqty:
  7505. description: 开仓数量(先建后平操作 需要记录)
  7506. type: integer
  7507. optiontype:
  7508. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7509. type: integer
  7510. orderid:
  7511. description: 委托单号
  7512. type: string
  7513. performanceplanid:
  7514. description: 履约计划ID[期权]
  7515. type: integer
  7516. performancestatus:
  7517. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7518. type: integer
  7519. preexerciseprice:
  7520. description: 预申报价格
  7521. type: number
  7522. premium:
  7523. description: 权利金 - [持仓单的权利金]
  7524. type: number
  7525. relatedouttradeid:
  7526. description: 关联外部成交单ID
  7527. type: integer
  7528. status:
  7529. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7530. type: integer
  7531. tradeamount:
  7532. description: 成交金额[账户币种,用于所有权]
  7533. type: number
  7534. tradedate:
  7535. description: 交易日(yyyyMMdd)
  7536. type: string
  7537. tradeid:
  7538. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7539. type: string
  7540. trademode:
  7541. description: 交易模式
  7542. type: integer
  7543. tradeprice:
  7544. description: 成交价格
  7545. type: number
  7546. tradeproperty:
  7547. description: 交易属性
  7548. type: integer
  7549. tradeqty:
  7550. description: 成交数量
  7551. type: integer
  7552. tradetime:
  7553. description: 成交时间
  7554. type: string
  7555. tradetype:
  7556. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7557. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7558. type: integer
  7559. required:
  7560. - accountid
  7561. - buyorsell
  7562. - goodsid
  7563. - histradedate
  7564. - marketid
  7565. - memberuserid
  7566. - orderid
  7567. - tradeamount
  7568. - tradedate
  7569. - tradeid
  7570. - tradeprice
  7571. - tradeqty
  7572. - tradetime
  7573. type: object
  7574. order.QueryHisTradeOrderDetailRsp:
  7575. properties:
  7576. accountid:
  7577. description: 账户ID[报价币种]
  7578. type: integer
  7579. buildtype:
  7580. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7581. type: integer
  7582. buyorsell:
  7583. description: 买卖 - 0:买 1:卖
  7584. type: integer
  7585. cancelorderid:
  7586. description: 撤单单号(撤单时填写)
  7587. type: string
  7588. cancelqty:
  7589. description: 撤单数量
  7590. type: integer
  7591. clientordertime:
  7592. description: 客户端委托时间
  7593. type: string
  7594. clientticket:
  7595. description: 客户端流水号
  7596. type: string
  7597. clienttype:
  7598. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7599. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7600. type: integer
  7601. closeexchagechargevalue:
  7602. description: 平仓交易所手续费设置值
  7603. type: number
  7604. closefeealgorithm:
  7605. description: 平仓手续费收取方式 1:比率 2:固定
  7606. type: integer
  7607. closefreezecharge:
  7608. description: 平仓冻结手续费(先建后平操作,需要记录)
  7609. type: number
  7610. closememberchargevalue:
  7611. description: 平仓会员手续费设置值
  7612. type: number
  7613. closeqty:
  7614. description: 平仓数量(先建后平操作 需要记录)
  7615. type: integer
  7616. closetradeqty:
  7617. description: 平仓成交数量(先建后平操作,需要记录)
  7618. type: integer
  7619. closeunfreezecharge:
  7620. description: 平仓解冻手续费(先建后平操作,需要记录)
  7621. type: number
  7622. delistingtype:
  7623. description: 摘牌类型 - 1:价格最优 2:点选成交
  7624. type: integer
  7625. freezecharge:
  7626. description: 冻结手续费
  7627. type: number
  7628. freezemargin:
  7629. description: 冻结保证金(冻结交易金额)
  7630. type: number
  7631. gcaccountid:
  7632. description: 账户ID[合约币种]
  7633. type: integer
  7634. goodscode:
  7635. description: 商品代码
  7636. type: string
  7637. goodsid:
  7638. description: 商品ID
  7639. type: integer
  7640. goodsname:
  7641. description: 商品名称
  7642. type: string
  7643. histradedate:
  7644. description: 历史交易日
  7645. type: string
  7646. isconfirmexercise:
  7647. description: 是否确认行权- 0:否 1:是
  7648. type: integer
  7649. ispreexercise:
  7650. description: 是否预申报- 0:否 1:是
  7651. type: integer
  7652. isvaliddata:
  7653. description: 是否有效 - 0:无效 1:有效
  7654. type: integer
  7655. listingselecttype:
  7656. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7657. type: integer
  7658. marginalgorithm:
  7659. description: 保证金收取方式 1:比率 2:固定
  7660. type: integer
  7661. marginvalue:
  7662. description: 即市保证金设置值
  7663. type: number
  7664. marketid:
  7665. description: 市场ID
  7666. type: integer
  7667. marketmaxsub:
  7668. description: 市价最大偏移范围
  7669. type: number
  7670. marketname:
  7671. description: 市场名称
  7672. type: string
  7673. memberuserid:
  7674. description: 所属会员UserID
  7675. type: integer
  7676. openexchagechargevalue:
  7677. description: 建仓交易所手续费设置值
  7678. type: number
  7679. openfeealgorithm:
  7680. description: 建仓手续费收取方式 1:比率 2:固定
  7681. type: integer
  7682. openfreezecharge:
  7683. description: 开仓冻结手续费(先建后平操作,需要记录)
  7684. type: number
  7685. openmemberchargevalue:
  7686. description: 建仓会员手续费设置值
  7687. type: number
  7688. openqty:
  7689. description: 开仓数量(先建后平操作,需要记录)
  7690. type: integer
  7691. opentradeqty:
  7692. description: 开仓成交数量(先建后平操作,需要记录)
  7693. type: integer
  7694. openunfreezecharge:
  7695. description: 开仓解冻手续费(先建后平操作,需要记录)
  7696. type: number
  7697. operatetype:
  7698. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7699. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7700. 15:管理端协议转让
  7701. type: integer
  7702. operatorid:
  7703. description: 登录账号(LoginID)
  7704. type: integer
  7705. optiontype:
  7706. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7707. type: integer
  7708. orderid:
  7709. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7710. type: string
  7711. orderprice:
  7712. description: 委托价格
  7713. type: number
  7714. orderqty:
  7715. description: 委托数量
  7716. type: integer
  7717. ordersrc:
  7718. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7719. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7720. type: integer
  7721. orderstatus:
  7722. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7723. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7724. 16:成交失败违约(荷兰式竞拍专用)
  7725. type: integer
  7726. ordertime:
  7727. description: 委托时间
  7728. type: string
  7729. preexerciseprice:
  7730. description: 预申报价格
  7731. type: number
  7732. premium:
  7733. description: 权利金
  7734. type: number
  7735. preorderid:
  7736. description: 关联预埋单号(止盈止损单时填写)
  7737. type: string
  7738. pricemode:
  7739. description: '取价方式 - 1:市价 2: 限价'
  7740. type: integer
  7741. quoteid:
  7742. description: 报价单ID
  7743. type: integer
  7744. relatedid:
  7745. description: 关联单号(交割单)
  7746. type: string
  7747. retcode:
  7748. description: 错误代码
  7749. type: integer
  7750. sessionid:
  7751. description: 会话ID
  7752. type: integer
  7753. tradedate:
  7754. description: 交易日(yyyyMMdd)
  7755. type: string
  7756. trademode:
  7757. description: 交易模式
  7758. type: integer
  7759. tradeproperty:
  7760. description: 交易属性
  7761. type: integer
  7762. tradeqty:
  7763. description: 成交数量
  7764. type: integer
  7765. unfreezecharge:
  7766. description: 解冻手续费
  7767. type: number
  7768. unfreezemargin:
  7769. description: 解冻保证金
  7770. type: number
  7771. updatetime:
  7772. description: 更新时间
  7773. type: string
  7774. uuid:
  7775. description: 发起端唯一id
  7776. type: string
  7777. validtime:
  7778. description: 有效期限
  7779. type: string
  7780. validtype:
  7781. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7782. type: integer
  7783. volumetype:
  7784. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7785. type: integer
  7786. required:
  7787. - accountid
  7788. - buildtype
  7789. - buyorsell
  7790. - goodsid
  7791. - histradedate
  7792. - marketid
  7793. - memberuserid
  7794. - operatetype
  7795. - orderid
  7796. - orderqty
  7797. - ordertime
  7798. - pricemode
  7799. - tradedate
  7800. - validtype
  7801. type: object
  7802. order.QueryTradeDetailRsp:
  7803. properties:
  7804. accountid:
  7805. description: 账户ID[报价币种]
  7806. type: integer
  7807. buildtype:
  7808. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7809. type: integer
  7810. buyorsell:
  7811. description: 方向 - 0:买 1:卖
  7812. type: integer
  7813. charge:
  7814. description: 手续费
  7815. type: number
  7816. closecharge:
  7817. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7818. type: number
  7819. closeexchagechargevalue:
  7820. description: 平仓交易所手续费设置值
  7821. type: number
  7822. closefeealgorithm:
  7823. description: 平仓手续费收取方式 1:比率 2:固定
  7824. type: integer
  7825. closememberchargevalue:
  7826. description: 平仓会员手续费设置值
  7827. type: number
  7828. closepl:
  7829. description: 平仓盈亏
  7830. type: number
  7831. closepl2:
  7832. description: 平仓盈亏[逐笔]
  7833. type: number
  7834. closeqty:
  7835. description: 平仓数量(先建后平操作 需要记录)
  7836. type: integer
  7837. creditamount:
  7838. description: 授信金额
  7839. type: number
  7840. gcaccountid:
  7841. description: 账户ID[合约币种]
  7842. type: integer
  7843. goodscode:
  7844. description: 商品代码
  7845. type: string
  7846. goodsid:
  7847. description: 商品ID
  7848. type: integer
  7849. goodsname:
  7850. description: 商品名称
  7851. type: string
  7852. intclosepl:
  7853. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7854. type: integer
  7855. isconfirmexercise:
  7856. description: 是否确认行权- 0:否 1:是
  7857. type: integer
  7858. ismain:
  7859. description: 是否主单 - 0:不是 1:是
  7860. type: integer
  7861. ispreexercise:
  7862. description: 是否预申报- 0:否 1:是
  7863. type: integer
  7864. isreckoned:
  7865. description: 是否结算 - 0:未结算 1:已结算
  7866. type: integer
  7867. listingselecttype:
  7868. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7869. type: integer
  7870. marketid:
  7871. description: 市场ID
  7872. type: integer
  7873. marketname:
  7874. description: 市场名称
  7875. type: string
  7876. matchaccountid:
  7877. description: 对手账号id
  7878. type: integer
  7879. memberuserid:
  7880. description: 会员id 个人投资者 需要填写
  7881. type: integer
  7882. opencharge:
  7883. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7884. type: number
  7885. openexchagechargevalue:
  7886. description: 建仓交易所手续费设置值
  7887. type: number
  7888. openfeealgorithm:
  7889. description: 建仓手续费收取方式 1:比率 2:固定
  7890. type: integer
  7891. openmemberchargevalue:
  7892. description: 建仓会员手续费设置值
  7893. type: number
  7894. openqty:
  7895. description: 开仓数量(先建后平操作 需要记录)
  7896. type: integer
  7897. optiontype:
  7898. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7899. type: integer
  7900. orderid:
  7901. description: 委托单号
  7902. type: string
  7903. performanceplanid:
  7904. description: 履约计划ID[期权]
  7905. type: integer
  7906. performancestatus:
  7907. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7908. type: integer
  7909. preexerciseprice:
  7910. description: 预申报价格
  7911. type: number
  7912. premium:
  7913. description: 权利金 - [持仓单的权利金]
  7914. type: number
  7915. relatedouttradeid:
  7916. description: 关联外部成交单ID
  7917. type: integer
  7918. status:
  7919. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7920. type: integer
  7921. tradeamount:
  7922. description: 成交金额[账户币种,用于所有权]
  7923. type: number
  7924. tradedate:
  7925. description: 交易日(yyyyMMdd)
  7926. type: string
  7927. tradeid:
  7928. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7929. type: string
  7930. trademode:
  7931. description: 交易模式
  7932. type: integer
  7933. tradeprice:
  7934. description: 成交价格
  7935. type: number
  7936. tradeproperty:
  7937. description: 交易属性
  7938. type: integer
  7939. tradeqty:
  7940. description: 成交数量
  7941. type: integer
  7942. tradetime:
  7943. description: 成交时间
  7944. type: string
  7945. tradetype:
  7946. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7947. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7948. type: integer
  7949. required:
  7950. - accountid
  7951. - buyorsell
  7952. - goodsid
  7953. - marketid
  7954. - memberuserid
  7955. - orderid
  7956. - tradeamount
  7957. - tradedate
  7958. - tradeid
  7959. - tradeprice
  7960. - tradeqty
  7961. - tradetime
  7962. type: object
  7963. order.QueryTradeOrderDetailRsp:
  7964. properties:
  7965. accountid:
  7966. description: 账户ID[报价币种]
  7967. type: integer
  7968. buildtype:
  7969. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7970. type: integer
  7971. buyorsell:
  7972. description: 买卖 - 0:买 1:卖
  7973. type: integer
  7974. cancelorderid:
  7975. description: 撤单单号(撤单时填写)
  7976. type: string
  7977. cancelqty:
  7978. description: 撤单数量
  7979. type: integer
  7980. clienttype:
  7981. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7982. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7983. type: integer
  7984. closefreezecharge:
  7985. description: 平仓冻结手续费(先建后平操作,需要记录)
  7986. type: number
  7987. closeqty:
  7988. description: 平仓数量(先建后平操作 需要记录)
  7989. type: integer
  7990. closetradeqty:
  7991. description: 平仓成交数量(先建后平操作,需要记录)
  7992. type: integer
  7993. closeunfreezecharge:
  7994. description: 平仓解冻手续费(先建后平操作,需要记录)
  7995. type: number
  7996. delistingtype:
  7997. description: 摘牌类型 - 1:价格最优 2:点选成交
  7998. type: integer
  7999. enableqty:
  8000. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  8001. type: integer
  8002. freezecharge:
  8003. description: 冻结手续费
  8004. type: number
  8005. freezemargin:
  8006. description: 冻结保证金(冻结交易金额)
  8007. type: number
  8008. goodscode:
  8009. description: 商品代码
  8010. type: string
  8011. goodsid:
  8012. description: 商品ID
  8013. type: integer
  8014. goodsname:
  8015. description: 商品名称
  8016. type: string
  8017. listingselecttype:
  8018. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8019. type: integer
  8020. marketid:
  8021. description: 市场ID
  8022. type: integer
  8023. marketname:
  8024. description: 市场名称
  8025. type: string
  8026. openfreezecharge:
  8027. description: 开仓冻结手续费(先建后平操作,需要记录)
  8028. type: number
  8029. openqty:
  8030. description: 开仓数量(先建后平操作,需要记录)
  8031. type: integer
  8032. opentradeqty:
  8033. description: 开仓成交数量(先建后平操作,需要记录)
  8034. type: integer
  8035. openunfreezecharge:
  8036. description: 开仓解冻手续费(先建后平操作,需要记录)
  8037. type: number
  8038. operatetype:
  8039. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  8040. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  8041. 15:管理端协议转让
  8042. type: integer
  8043. operatorid:
  8044. description: 登录账号(LoginID)
  8045. type: integer
  8046. orderid:
  8047. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8048. type: string
  8049. orderprice:
  8050. description: 委托价格
  8051. type: number
  8052. orderqty:
  8053. description: 委托数量
  8054. type: integer
  8055. ordersrc:
  8056. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  8057. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  8058. type: integer
  8059. orderstatus:
  8060. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8061. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8062. 16:成交失败违约(荷兰式竞拍专用)
  8063. type: integer
  8064. ordertime:
  8065. description: 委托时间
  8066. type: string
  8067. preorderid:
  8068. description: 关联预埋单号(止盈止损单时填写)
  8069. type: string
  8070. pricemode:
  8071. description: '取价方式 - 1:市价 2: 限价'
  8072. type: integer
  8073. relatedid:
  8074. description: 关联单号(交割单)
  8075. type: string
  8076. tradedate:
  8077. description: 交易日(yyyyMMdd)
  8078. type: string
  8079. trademode:
  8080. description: 交易模式
  8081. type: integer
  8082. tradeqty:
  8083. description: 成交数量
  8084. type: integer
  8085. unfreezecharge:
  8086. description: 解冻手续费
  8087. type: number
  8088. unfreezemargin:
  8089. description: 解冻保证金
  8090. type: number
  8091. validtime:
  8092. description: 有效期限
  8093. type: string
  8094. validtype:
  8095. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  8096. type: integer
  8097. volumetype:
  8098. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  8099. type: integer
  8100. required:
  8101. - accountid
  8102. - buildtype
  8103. - buyorsell
  8104. - goodsid
  8105. - marketid
  8106. - operatetype
  8107. - orderqty
  8108. - ordertime
  8109. - pricemode
  8110. - tradedate
  8111. - validtype
  8112. type: object
  8113. order.QueryTradePositionRsp:
  8114. properties:
  8115. accountid:
  8116. description: 资金账户
  8117. type: integer
  8118. agreeunit:
  8119. description: 合约单位
  8120. type: number
  8121. averageprice:
  8122. description: 持仓均价
  8123. type: number
  8124. buyorsell:
  8125. description: 方向 - 0:买 1:卖
  8126. type: integer
  8127. closetotalqty:
  8128. description: 平仓总数量
  8129. type: integer
  8130. curholderamount:
  8131. description: 当前持仓总金额[商品币种]
  8132. type: number
  8133. curpositionqty:
  8134. description: 当前持仓总数量
  8135. type: integer
  8136. currencyid:
  8137. description: 报价货币ID
  8138. type: integer
  8139. curtdposition:
  8140. description: 期末今日头寸
  8141. type: integer
  8142. decimalplace:
  8143. description: 报价小数位
  8144. type: integer
  8145. enableqty:
  8146. description: 可用量
  8147. type: integer
  8148. fretdposition:
  8149. description: 冻结今日头寸
  8150. type: integer
  8151. frozenqty:
  8152. description: 持仓冻结数量
  8153. type: integer
  8154. goodscode:
  8155. description: 商品代码
  8156. type: string
  8157. goodsid:
  8158. description: 商品Id
  8159. type: integer
  8160. goodsname:
  8161. description: 商品名称
  8162. type: string
  8163. goodunit:
  8164. description: 报价单位
  8165. type: string
  8166. goodunitid:
  8167. description: 报价单位ID
  8168. type: integer
  8169. holderamount:
  8170. description: 期初持仓总金额[商品币种]
  8171. type: number
  8172. marketid:
  8173. description: 所属市场ID
  8174. type: integer
  8175. openreqqty:
  8176. description: 开仓申请数量(用于比较最大持仓数量)
  8177. type: integer
  8178. opentotalqty:
  8179. description: 开仓总数量
  8180. type: integer
  8181. otherfrozenqty:
  8182. description: 持仓其他冻结数量(交割冻结)
  8183. type: integer
  8184. positionqty:
  8185. description: 期初持仓数量
  8186. type: integer
  8187. tnqty:
  8188. description: T+N冻结总量
  8189. type: integer
  8190. tnusedqty:
  8191. description: T+N使用量(可以使用T+N的冻结数量)
  8192. type: integer
  8193. trademode:
  8194. description: 交易模式
  8195. type: integer
  8196. usedmargin:
  8197. description: 占用保证金[商品币种]
  8198. type: number
  8199. required:
  8200. - goodsid
  8201. type: object
  8202. quote.HistoryData:
  8203. properties:
  8204. c:
  8205. description: 收盘价
  8206. type: number
  8207. f:
  8208. description: 是否补充数据
  8209. type: boolean
  8210. h:
  8211. description: 最高价
  8212. type: number
  8213. hv:
  8214. description: 持仓量
  8215. type: integer
  8216. l:
  8217. description: 最低价
  8218. type: number
  8219. o:
  8220. description: 开盘价
  8221. type: number
  8222. s:
  8223. description: 结算价,日线周期(包括)以上才有
  8224. type: number
  8225. ts:
  8226. description: 时间
  8227. type: string
  8228. tt:
  8229. description: 总金额
  8230. type: number
  8231. tv:
  8232. description: 总量
  8233. type: integer
  8234. type: object
  8235. quote.HistoryTikData:
  8236. properties:
  8237. AV:
  8238. description: 卖量
  8239. type: integer
  8240. Ask:
  8241. description: 卖价
  8242. type: number
  8243. BV:
  8244. description: 买量
  8245. type: integer
  8246. Bid:
  8247. description: 买价
  8248. type: number
  8249. HI:
  8250. description: 单笔持仓
  8251. type: integer
  8252. HV:
  8253. description: 持仓量
  8254. type: integer
  8255. PE:
  8256. description: 现价
  8257. type: number
  8258. TDR:
  8259. description: 交易方向,0:买 1:卖
  8260. type: integer
  8261. TK:
  8262. description: 交易类型
  8263. type: integer
  8264. TS:
  8265. description: 行情时间文本
  8266. type: string
  8267. TT:
  8268. description: 现金额
  8269. type: number
  8270. Vol:
  8271. description: 现量
  8272. type: integer
  8273. type: object
  8274. quote.QueryQuoteDayRsp:
  8275. properties:
  8276. ask:
  8277. description: 卖1
  8278. type: number
  8279. ask2:
  8280. description: 卖2
  8281. type: number
  8282. ask3:
  8283. description: 卖3
  8284. type: number
  8285. ask4:
  8286. description: 卖4
  8287. type: number
  8288. ask5:
  8289. description: 卖5
  8290. type: number
  8291. ask6:
  8292. description: 卖6
  8293. type: number
  8294. ask7:
  8295. description: 卖7
  8296. type: number
  8297. ask8:
  8298. description: 卖8
  8299. type: number
  8300. ask9:
  8301. description: 卖9
  8302. type: number
  8303. ask10:
  8304. description: 卖10
  8305. type: number
  8306. askorderid:
  8307. description: 卖单号1
  8308. type: integer
  8309. askorderid2:
  8310. description: 卖单号2
  8311. type: integer
  8312. askorderid3:
  8313. description: 卖单号3
  8314. type: integer
  8315. askorderid4:
  8316. description: 卖单号4
  8317. type: integer
  8318. askorderid5:
  8319. description: 卖单号5
  8320. type: integer
  8321. askordervolume:
  8322. description: 卖单量1
  8323. type: integer
  8324. askordervolume2:
  8325. description: 卖单量2
  8326. type: integer
  8327. askordervolume3:
  8328. description: 卖单量3
  8329. type: integer
  8330. askordervolume4:
  8331. description: 卖单量4
  8332. type: integer
  8333. askordervolume5:
  8334. description: 卖单量5
  8335. type: integer
  8336. askordervolume6:
  8337. description: 卖单量6
  8338. type: integer
  8339. askordervolume7:
  8340. description: 卖单量7
  8341. type: integer
  8342. askordervolume8:
  8343. description: 卖单量8
  8344. type: integer
  8345. askordervolume9:
  8346. description: 卖单量9
  8347. type: integer
  8348. askordervolume10:
  8349. description: 卖单量10
  8350. type: integer
  8351. askqueueinfo:
  8352. description: 大利市卖港股用
  8353. type: string
  8354. askvolume:
  8355. description: 卖量1
  8356. type: integer
  8357. askvolume2:
  8358. description: 卖量2
  8359. type: integer
  8360. askvolume3:
  8361. description: 卖量3
  8362. type: integer
  8363. askvolume4:
  8364. description: 卖量4
  8365. type: integer
  8366. askvolume5:
  8367. description: 卖量5
  8368. type: integer
  8369. askvolume6:
  8370. description: 卖量6
  8371. type: integer
  8372. askvolume7:
  8373. description: 卖量7
  8374. type: integer
  8375. askvolume8:
  8376. description: 卖量8
  8377. type: integer
  8378. askvolume9:
  8379. description: 卖量9
  8380. type: integer
  8381. askvolume10:
  8382. description: 卖量10
  8383. type: integer
  8384. averageprice:
  8385. description: 均价
  8386. type: number
  8387. bid:
  8388. description: 买1
  8389. type: number
  8390. bid2:
  8391. description: 买2
  8392. type: number
  8393. bid3:
  8394. description: 买3
  8395. type: number
  8396. bid4:
  8397. description: 买4
  8398. type: number
  8399. bid5:
  8400. description: 买5
  8401. type: number
  8402. bid6:
  8403. description: 买6
  8404. type: number
  8405. bid7:
  8406. description: 买7
  8407. type: number
  8408. bid8:
  8409. description: 买8
  8410. type: number
  8411. bid9:
  8412. description: 买9
  8413. type: number
  8414. bid10:
  8415. description: 买10
  8416. type: number
  8417. bidorderid:
  8418. description: 买单号1
  8419. type: integer
  8420. bidorderid2:
  8421. description: 买单号2
  8422. type: integer
  8423. bidorderid3:
  8424. description: 买单号3
  8425. type: integer
  8426. bidorderid4:
  8427. description: 买单号4
  8428. type: integer
  8429. bidorderid5:
  8430. description: 买单号5
  8431. type: integer
  8432. bidordervolume:
  8433. description: 买单量1
  8434. type: integer
  8435. bidordervolume2:
  8436. description: 买单量2
  8437. type: integer
  8438. bidordervolume3:
  8439. description: 买单量3
  8440. type: integer
  8441. bidordervolume4:
  8442. description: 买单量4
  8443. type: integer
  8444. bidordervolume5:
  8445. description: 买单量5
  8446. type: integer
  8447. bidordervolume6:
  8448. description: 买单量6
  8449. type: integer
  8450. bidordervolume7:
  8451. description: 买单量7
  8452. type: integer
  8453. bidordervolume8:
  8454. description: 买单量8
  8455. type: integer
  8456. bidordervolume9:
  8457. description: 买单量9
  8458. type: integer
  8459. bidordervolume10:
  8460. description: 买单量10
  8461. type: integer
  8462. bidqueueinfo:
  8463. description: 大利市买港股用
  8464. type: string
  8465. bidvolume:
  8466. description: 买量1
  8467. type: integer
  8468. bidvolume2:
  8469. description: 买量2
  8470. type: integer
  8471. bidvolume3:
  8472. description: 买量3
  8473. type: integer
  8474. bidvolume4:
  8475. description: 买量4
  8476. type: integer
  8477. bidvolume5:
  8478. description: 买量5
  8479. type: integer
  8480. bidvolume6:
  8481. description: 买量6
  8482. type: integer
  8483. bidvolume7:
  8484. description: 买量7
  8485. type: integer
  8486. bidvolume8:
  8487. description: 买量8
  8488. type: integer
  8489. bidvolume9:
  8490. description: 买量9
  8491. type: integer
  8492. bidvolume10:
  8493. description: 买量10
  8494. type: integer
  8495. calloptionpremiums:
  8496. description: 认购期权1
  8497. type: integer
  8498. calloptionpremiums2:
  8499. description: 认购期权2
  8500. type: integer
  8501. calloptionpremiums3:
  8502. description: 认购期权3
  8503. type: integer
  8504. calloptionpremiums4:
  8505. description: 认购期权4
  8506. type: integer
  8507. calloptionpremiums5:
  8508. description: 认购期权5
  8509. type: integer
  8510. cleartime:
  8511. description: 清盘时间
  8512. type: integer
  8513. exchangecode:
  8514. description: 交易所代码
  8515. type: integer
  8516. exchangedate:
  8517. description: 交易日
  8518. type: integer
  8519. goodscode:
  8520. description: 商品代码
  8521. type: string
  8522. grepmarketprice:
  8523. description: 暗盘价 港股专用
  8524. type: number
  8525. highest:
  8526. description: 最高价
  8527. type: number
  8528. holdincrement:
  8529. description: 单笔持仓
  8530. type: integer
  8531. holdvolume:
  8532. description: 持仓
  8533. type: integer
  8534. iep:
  8535. description: 平衡价 港股专用
  8536. type: number
  8537. iev:
  8538. description: 平衡量 港股专用
  8539. type: number
  8540. inventory:
  8541. description: 库存
  8542. type: integer
  8543. iscleared:
  8544. description: 是否清盘标志
  8545. type: integer
  8546. issettled:
  8547. description: 是否结算标志
  8548. type: integer
  8549. last:
  8550. description: 最新价
  8551. type: number
  8552. lastlot:
  8553. description: 最新成交手数
  8554. type: integer
  8555. lasttime:
  8556. description: 行情时间(只有现价变化行情时间才变化)
  8557. type: string
  8558. lastturnover:
  8559. description: 最新成交金额
  8560. type: number
  8561. lastvolume:
  8562. description: 最新成交量
  8563. type: integer
  8564. limitdown:
  8565. description: 跌停价
  8566. type: number
  8567. limitup:
  8568. description: 涨停价
  8569. type: number
  8570. lowest:
  8571. description: 最低价
  8572. type: number
  8573. nontotalholdervolume:
  8574. description: 非交易持仓量
  8575. type: integer
  8576. nontotallot:
  8577. description: 非交易总手数
  8578. type: integer
  8579. nontotalturnover:
  8580. description: 非交易总金额
  8581. type: integer
  8582. nontotalvolume:
  8583. description: 非交易总量
  8584. type: integer
  8585. opened:
  8586. description: 开盘价
  8587. type: number
  8588. opentime:
  8589. description: 开盘时间
  8590. type: string
  8591. orderid:
  8592. description: 序号
  8593. type: integer
  8594. preclose:
  8595. description: 昨收
  8596. type: number
  8597. preholdvolume:
  8598. description: 昨持仓
  8599. type: integer
  8600. presettle:
  8601. description: 昨结价
  8602. type: number
  8603. publictradetype:
  8604. description: 公共交易标志类型 港股专用
  8605. type: string
  8606. putoptionpremiums:
  8607. description: 认沽期权1
  8608. type: integer
  8609. putoptionpremiums2:
  8610. description: 认沽期权2
  8611. type: integer
  8612. putoptionpremiums3:
  8613. description: 认沽期权3
  8614. type: integer
  8615. putoptionpremiums4:
  8616. description: 认沽期权4
  8617. type: integer
  8618. putoptionpremiums5:
  8619. description: 认沽期权5
  8620. type: integer
  8621. settle:
  8622. description: 结算价
  8623. type: number
  8624. strikeprice:
  8625. description: 发行价
  8626. type: number
  8627. totalaskvolume:
  8628. description: 内盘
  8629. type: integer
  8630. totalbidvolume:
  8631. description: 外盘
  8632. type: integer
  8633. totallot:
  8634. description: 总手数
  8635. type: integer
  8636. totalturnover:
  8637. description: 总金额
  8638. type: number
  8639. totalvolume:
  8640. description: 总量
  8641. type: integer
  8642. utclasttime:
  8643. description: utc的行情时间
  8644. type: string
  8645. type: object
  8646. quote.QueryTSDataRsp:
  8647. properties:
  8648. decimalPlace:
  8649. description: 小数位
  8650. type: integer
  8651. endTime:
  8652. description: 结束时间
  8653. type: string
  8654. goodsCode:
  8655. description: 商品代码
  8656. type: string
  8657. historyDatas:
  8658. description: 历史数据
  8659. items:
  8660. $ref: '#/definitions/quote.HistoryData'
  8661. type: array
  8662. outGoodsCode:
  8663. description: 外部商品代码
  8664. type: string
  8665. preSettle:
  8666. description: 昨结
  8667. type: number
  8668. startTime:
  8669. description: 开始时间
  8670. type: string
  8671. tradeDate:
  8672. description: 交易日
  8673. type: string
  8674. type: object
  8675. szdz.QueryConvertLogRsp:
  8676. properties:
  8677. accountid:
  8678. description: 资金账户ID
  8679. type: integer
  8680. clientticket:
  8681. description: 客户端流水号
  8682. type: string
  8683. converttype:
  8684. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  8685. type: integer
  8686. createtime:
  8687. description: 记账时间
  8688. type: string
  8689. daymaxvalue:
  8690. description: 配置当日最大转入限制
  8691. type: number
  8692. daymaxvalue2:
  8693. description: 配置当日最大转入限制(转入)
  8694. type: number
  8695. goodscode:
  8696. description: 商品代码
  8697. type: string
  8698. goodsname:
  8699. description: 商品名称
  8700. type: string
  8701. handlestatus:
  8702. description: 处理状态
  8703. type: integer
  8704. innergoodsid:
  8705. description: 内部商品ID
  8706. type: integer
  8707. inratio:
  8708. description: 配置转入比值
  8709. type: integer
  8710. invalue:
  8711. description: 目标值
  8712. type: number
  8713. logid:
  8714. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8715. type: integer
  8716. mobile:
  8717. description: 手机号码(加密存储)
  8718. type: string
  8719. outergoodscode:
  8720. description: 外部商品代码[JD\PD]
  8721. type: string
  8722. outratio:
  8723. description: 配置转出比值
  8724. type: integer
  8725. outvalue:
  8726. description: 源值
  8727. type: number
  8728. pddecimalplace:
  8729. description: PD小数位
  8730. type: integer
  8731. qty:
  8732. description: 数量
  8733. type: string
  8734. remark:
  8735. description: 备注
  8736. type: string
  8737. sessionid:
  8738. description: 会话ID
  8739. type: integer
  8740. timemaxvalue:
  8741. description: 配置单次最大转入限制
  8742. type: number
  8743. timemaxvalue2:
  8744. description: 配置单次最大转入限制(转入)
  8745. type: number
  8746. timeminvalue:
  8747. description: 配置单次最小数量限制
  8748. type: number
  8749. timeminvalue2:
  8750. description: 配置单次最小数量限制(转入)
  8751. type: number
  8752. tradedate:
  8753. description: 交易日(yyyyMMdd)
  8754. type: string
  8755. userid:
  8756. description: 用户ID
  8757. type: integer
  8758. required:
  8759. - logid
  8760. type: object
  8761. szdz.QueryGoodsPickupRsp:
  8762. properties:
  8763. accountid:
  8764. description: 账户ID
  8765. type: integer
  8766. address:
  8767. description: 提货人详细地址
  8768. type: string
  8769. auditer:
  8770. description: 审核人
  8771. type: integer
  8772. audittime:
  8773. description: 审核时间
  8774. type: string
  8775. cardnum:
  8776. description: 提货人证件号码
  8777. type: string
  8778. cardtypeid:
  8779. description: 提货人证件类型
  8780. type: integer
  8781. checkremark:
  8782. description: 审核备注
  8783. type: string
  8784. goodscode:
  8785. description: 商品代码
  8786. type: string
  8787. goodsid:
  8788. description: 商品ID
  8789. type: integer
  8790. goodsname:
  8791. description: 商品名称
  8792. type: string
  8793. handlestatus:
  8794. description: 处理状态
  8795. type: integer
  8796. marketid:
  8797. description: 市场ID
  8798. type: integer
  8799. phonenum:
  8800. description: 提货人联系方式
  8801. type: string
  8802. qty:
  8803. description: 提货数量
  8804. type: number
  8805. recivername:
  8806. description: 提货人姓名
  8807. type: string
  8808. reqtime:
  8809. description: 更新时间
  8810. type: string
  8811. takemode:
  8812. description: 提货方式 - 2:自提 3:配送
  8813. type: integer
  8814. takeorderid:
  8815. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8816. type: string
  8817. takeorderstatus:
  8818. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8819. type: integer
  8820. takeremark:
  8821. description: 提货备注
  8822. type: string
  8823. tradedate:
  8824. description: 交易日(yyyyMMdd)
  8825. type: string
  8826. userid:
  8827. description: 用户ID
  8828. type: integer
  8829. required:
  8830. - takeorderid
  8831. type: object
  8832. szdz.QueryRecieptOrderRsp:
  8833. properties:
  8834. accountName:
  8835. description: 所属账号名称(已脱敏)
  8836. type: string
  8837. accountid:
  8838. description: 资金账号
  8839. type: integer
  8840. buyorsell:
  8841. description: 方向 - 0:买 1:卖
  8842. type: integer
  8843. enableqty:
  8844. description: 可摘数量
  8845. type: integer
  8846. goodscode:
  8847. description: 商品代码
  8848. type: string
  8849. goodsid:
  8850. description: 商品ID
  8851. type: integer
  8852. goodsname:
  8853. description: 商品名称
  8854. type: string
  8855. orderid:
  8856. description: 委托单号
  8857. type: string
  8858. orderprice:
  8859. description: 委托价格
  8860. type: number
  8861. ordertime:
  8862. description: 委托时间
  8863. type: string
  8864. tradedate:
  8865. description: 交易日(yyyyMMdd)
  8866. type: string
  8867. required:
  8868. - ordertime
  8869. type: object
  8870. szdz.QuerySZDZTradePositionRsp:
  8871. properties:
  8872. accountid:
  8873. description: 账号Id
  8874. type: integer
  8875. agreeunit:
  8876. description: 合约单位
  8877. type: number
  8878. averageprice:
  8879. description: 持仓均价
  8880. type: number
  8881. buyorsell:
  8882. description: 方向 - 0:买 1:卖
  8883. type: integer
  8884. closetotalqty:
  8885. description: 平仓总数量
  8886. type: integer
  8887. curholderamount:
  8888. description: 当前持仓总金额
  8889. type: number
  8890. curpositionqty:
  8891. description: 当前持仓总数量
  8892. type: integer
  8893. currencyid:
  8894. description: 报价货币ID
  8895. type: integer
  8896. curtdposition:
  8897. description: 期末今日头寸
  8898. type: integer
  8899. decimalplace:
  8900. description: 报价小数位
  8901. type: integer
  8902. enableqty:
  8903. description: 可用量
  8904. type: integer
  8905. fretdposition:
  8906. description: 冻结今日头寸
  8907. type: integer
  8908. frozenqty:
  8909. description: 持仓冻结数量
  8910. type: integer
  8911. goodscode:
  8912. description: 商品代码(内部)
  8913. type: string
  8914. goodsid:
  8915. description: 商品Id
  8916. type: integer
  8917. goodsname:
  8918. description: 商品名称
  8919. type: string
  8920. goodunit:
  8921. description: 报价单位
  8922. type: string
  8923. goodunitid:
  8924. description: 报价单位ID
  8925. type: integer
  8926. holderamount:
  8927. description: 期初持仓总金额
  8928. type: number
  8929. marketid:
  8930. description: 市场ID
  8931. type: integer
  8932. openreqqty:
  8933. description: 开仓申请数量
  8934. type: integer
  8935. opentotalqty:
  8936. description: 开仓总数量
  8937. type: integer
  8938. otherfrozenqty:
  8939. description: 持仓其他冻结数量(交割冻结)
  8940. type: integer
  8941. positionqty:
  8942. description: 期初持仓数量
  8943. type: integer
  8944. szdz3freezqty:
  8945. description: 尚志大宗转换冻结总数量
  8946. type: integer
  8947. tnqty:
  8948. description: T+N冻结总量
  8949. type: integer
  8950. tnusedqty:
  8951. description: T+N使用量
  8952. type: integer
  8953. trademode:
  8954. description: 交易模式
  8955. type: integer
  8956. usedmargin:
  8957. description: 占用保证金
  8958. type: number
  8959. type: object
  8960. taaccount.QueryAmountLogRsp:
  8961. properties:
  8962. OPERATETYPENAME:
  8963. description: 资金操作类型名称
  8964. type: string
  8965. accountid:
  8966. description: 资金账户ID
  8967. type: integer
  8968. agoodscode:
  8969. description: 竞拍商品代码
  8970. type: string
  8971. agoodsname:
  8972. description: 竞拍商品名称
  8973. type: string
  8974. amount:
  8975. description: 资金金额
  8976. type: number
  8977. amountadjusttype:
  8978. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8979. type: integer
  8980. autoid:
  8981. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8982. type: integer
  8983. balance:
  8984. description: 期初余额
  8985. type: number
  8986. businesscode:
  8987. description: 业务编号
  8988. type: integer
  8989. createtime:
  8990. description: 发生时间
  8991. type: string
  8992. currencyid:
  8993. description: 币种ID
  8994. type: integer
  8995. currentbalance:
  8996. description: 期末余额(变动后金额)
  8997. type: number
  8998. dgoodscode:
  8999. description: 交割商品代码
  9000. type: string
  9001. dgoodsname:
  9002. description: 交割商品名称
  9003. type: string
  9004. goodscode:
  9005. description: 商品代码
  9006. type: string
  9007. goodsid:
  9008. description: 商品ID
  9009. type: integer
  9010. goodsname:
  9011. description: 商品名称
  9012. type: string
  9013. marketid:
  9014. description: 市场ID
  9015. type: integer
  9016. marketname:
  9017. description: 市场名称
  9018. type: string
  9019. moneyticket:
  9020. description: 资金流水号:银行端流水号
  9021. type: integer
  9022. operatetype:
  9023. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9024. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9025. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9026. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9027. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9028. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9029. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9030. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9031. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9032. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9033. type: integer
  9034. relationorderid:
  9035. description: 关联单号
  9036. type: string
  9037. remark:
  9038. description: 备注
  9039. type: string
  9040. trademode:
  9041. description: 交易模式
  9042. type: integer
  9043. required:
  9044. - accountid
  9045. - amount
  9046. - amountadjusttype
  9047. - autoid
  9048. - balance
  9049. - createtime
  9050. - currentbalance
  9051. - operatetype
  9052. type: object
  9053. taaccount.QueryHisAmountLogRsp:
  9054. properties:
  9055. OPERATETYPENAME:
  9056. description: 资金操作类型名称
  9057. type: string
  9058. accountid:
  9059. description: 资金账户ID
  9060. type: integer
  9061. agoodscode:
  9062. description: 竞拍商品代码
  9063. type: string
  9064. agoodsname:
  9065. description: 竞拍商品名称
  9066. type: string
  9067. amount:
  9068. description: 资金金额
  9069. type: number
  9070. amountadjusttype:
  9071. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  9072. type: integer
  9073. autoid:
  9074. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  9075. type: integer
  9076. balance:
  9077. description: 期初余额
  9078. type: number
  9079. businesscode:
  9080. description: 业务编号
  9081. type: integer
  9082. createtime:
  9083. description: 发生时间
  9084. type: string
  9085. currencyid:
  9086. description: 币种ID
  9087. type: integer
  9088. currentbalance:
  9089. description: 期末余额(变动后金额)
  9090. type: number
  9091. dgoodscode:
  9092. description: 交割商品代码
  9093. type: string
  9094. dgoodsname:
  9095. description: 交割商品名称
  9096. type: string
  9097. goodscode:
  9098. description: 商品代码
  9099. type: string
  9100. goodsid:
  9101. description: 商品ID
  9102. type: integer
  9103. goodsname:
  9104. description: 商品名称
  9105. type: string
  9106. histradedate:
  9107. description: 历史交易日
  9108. type: string
  9109. isvaliddata:
  9110. description: 是否有效 - 0:无效 1:有效
  9111. type: integer
  9112. marketid:
  9113. description: 市场ID
  9114. type: integer
  9115. marketname:
  9116. description: 市场名称
  9117. type: string
  9118. moneyticket:
  9119. description: 资金流水号:银行端流水号
  9120. type: integer
  9121. operatetype:
  9122. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  9123. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  9124. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  9125. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  9126. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  9127. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  9128. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  9129. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  9130. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  9131. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  9132. type: integer
  9133. relationorderid:
  9134. description: 关联单号
  9135. type: string
  9136. remark:
  9137. description: 备注
  9138. type: string
  9139. trademode:
  9140. description: 交易模式
  9141. type: integer
  9142. required:
  9143. - accountid
  9144. - amount
  9145. - amountadjusttype
  9146. - autoid
  9147. - balance
  9148. - createtime
  9149. - currentbalance
  9150. - histradedate
  9151. - operatetype
  9152. type: object
  9153. trade.QueryRecieptOrderRsp:
  9154. properties:
  9155. accountName:
  9156. description: 所属账号名称(已脱敏)
  9157. type: string
  9158. accountid:
  9159. description: 资金账号
  9160. type: integer
  9161. buyorsell:
  9162. description: 方向 - 0:买 1:卖
  9163. type: integer
  9164. enableqty:
  9165. description: 可摘数量
  9166. type: integer
  9167. goodscode:
  9168. description: 商品代码
  9169. type: string
  9170. goodsid:
  9171. description: 商品ID
  9172. type: integer
  9173. goodsname:
  9174. description: 商品名称
  9175. type: string
  9176. orderid:
  9177. description: 委托单号
  9178. type: string
  9179. orderprice:
  9180. description: 委托价格
  9181. type: number
  9182. ordertime:
  9183. description: 委托时间
  9184. type: string
  9185. tradedate:
  9186. description: 交易日(yyyyMMdd)
  9187. type: string
  9188. required:
  9189. - ordertime
  9190. type: object
  9191. user.LoginQueryRsp:
  9192. properties:
  9193. externalExchanges:
  9194. description: 外部交易所
  9195. items:
  9196. $ref: '#/definitions/models.Externalexchange'
  9197. type: array
  9198. goodsgroups:
  9199. description: 商品组
  9200. items:
  9201. $ref: '#/definitions/models.Goodsgroup'
  9202. type: array
  9203. loginAccount:
  9204. $ref: '#/definitions/models.Loginaccount'
  9205. description: 登录账号
  9206. markets:
  9207. description: 市场
  9208. items:
  9209. $ref: '#/definitions/models.Market'
  9210. type: array
  9211. systemParams:
  9212. description: 系统参数
  9213. items:
  9214. $ref: '#/definitions/models.Systemparam'
  9215. type: array
  9216. userAccount:
  9217. $ref: '#/definitions/models.Useraccount'
  9218. description: 用户账号
  9219. userInfo:
  9220. $ref: '#/definitions/models.Userinfo'
  9221. description: 用户信息
  9222. username:
  9223. description: 用户姓名
  9224. type: string
  9225. type: object
  9226. info:
  9227. contact: {}
  9228. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  9229. termsOfService: http://muchinfo.cn
  9230. title: MTP2.0 查询服务 API
  9231. version: "1.0"
  9232. paths:
  9233. /CPTrade/QueryCPTradeMyBidInfos:
  9234. get:
  9235. parameters:
  9236. - description: 资金账户
  9237. in: query
  9238. name: accountid
  9239. required: true
  9240. type: integer
  9241. - description: 预售市场ID
  9242. in: query
  9243. name: marketid
  9244. type: integer
  9245. - description: 预售商品ID
  9246. in: query
  9247. name: goodsid
  9248. type: integer
  9249. produces:
  9250. - application/json
  9251. responses:
  9252. "200":
  9253. description: OK
  9254. schema:
  9255. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  9256. "500":
  9257. description: Internal Server Error
  9258. schema:
  9259. $ref: '#/definitions/app.Response'
  9260. security:
  9261. - ApiKeyAuth: []
  9262. summary: 查询产能预售我的出价信息
  9263. tags:
  9264. - 产能预售
  9265. /CPTrade/QueryCPTradeOrderDetail:
  9266. get:
  9267. parameters:
  9268. - description: 预售商品ID
  9269. in: query
  9270. name: goodsid
  9271. type: integer
  9272. - description: 预售市场ID
  9273. in: query
  9274. name: marketid
  9275. type: integer
  9276. - description: 预售商品ID列表 - 格式:1,2,3
  9277. in: query
  9278. name: goodsids
  9279. type: string
  9280. produces:
  9281. - application/json
  9282. responses:
  9283. "200":
  9284. description: OK
  9285. schema:
  9286. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  9287. "500":
  9288. description: Internal Server Error
  9289. schema:
  9290. $ref: '#/definitions/app.Response'
  9291. security:
  9292. - ApiKeyAuth: []
  9293. summary: 查询产能预售委托单信息
  9294. tags:
  9295. - 产能预售
  9296. /CPTrade/QueryMyCPTradeGoods:
  9297. get:
  9298. parameters:
  9299. - description: 资金账户
  9300. in: query
  9301. name: accountid
  9302. required: true
  9303. type: integer
  9304. produces:
  9305. - application/json
  9306. responses:
  9307. "200":
  9308. description: OK
  9309. schema:
  9310. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  9311. "500":
  9312. description: Internal Server Error
  9313. schema:
  9314. $ref: '#/definitions/app.Response'
  9315. security:
  9316. - ApiKeyAuth: []
  9317. summary: 查询我的预售信息
  9318. tags:
  9319. - 产能预售
  9320. /CPTrade/QueryPositionCancel:
  9321. get:
  9322. parameters:
  9323. - description: 账户ID
  9324. in: query
  9325. name: userid
  9326. required: true
  9327. type: integer
  9328. - description: 注销ID
  9329. in: query
  9330. name: cancelid
  9331. type: integer
  9332. - description: 资金账户ID
  9333. in: query
  9334. name: accountid
  9335. type: integer
  9336. produces:
  9337. - application/json
  9338. responses:
  9339. "200":
  9340. description: OK
  9341. schema:
  9342. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  9343. "500":
  9344. description: Internal Server Error
  9345. schema:
  9346. $ref: '#/definitions/app.Response'
  9347. security:
  9348. - ApiKeyAuth: []
  9349. summary: 查询远期订单注销申请信息
  9350. tags:
  9351. - 产能预售
  9352. /CPTrade/QueryPreasleApply:
  9353. get:
  9354. parameters:
  9355. - description: 账户ID
  9356. in: query
  9357. name: userid
  9358. required: true
  9359. type: integer
  9360. - description: 申请ID
  9361. in: query
  9362. name: applyid
  9363. type: integer
  9364. - description: 资金账户ID
  9365. in: query
  9366. name: accountid
  9367. type: integer
  9368. produces:
  9369. - application/json
  9370. responses:
  9371. "200":
  9372. description: OK
  9373. schema:
  9374. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  9375. "500":
  9376. description: Internal Server Error
  9377. schema:
  9378. $ref: '#/definitions/app.Response'
  9379. security:
  9380. - ApiKeyAuth: []
  9381. summary: 查询产能预售申请信息
  9382. tags:
  9383. - 产能预售
  9384. /CPTrade/QueryPresaleGoodsEx:
  9385. get:
  9386. parameters:
  9387. - description: 预售商品ID
  9388. in: query
  9389. name: goodsid
  9390. type: integer
  9391. - description: 预售市场ID
  9392. in: query
  9393. name: marketid
  9394. type: integer
  9395. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  9396. in: query
  9397. name: presalemode
  9398. type: integer
  9399. - description: 预售商品ID列表 - 格式:1,2,3
  9400. in: query
  9401. name: goodsids
  9402. type: string
  9403. - description: 预售商品代码
  9404. in: query
  9405. name: goodscode
  9406. type: string
  9407. produces:
  9408. - application/json
  9409. responses:
  9410. "200":
  9411. description: OK
  9412. schema:
  9413. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  9414. "500":
  9415. description: Internal Server Error
  9416. schema:
  9417. $ref: '#/definitions/app.Response'
  9418. security:
  9419. - ApiKeyAuth: []
  9420. summary: 查询产能预售商品扩展信息
  9421. tags:
  9422. - 产能预售
  9423. /CPTrade/QueryUserGoodsData:
  9424. get:
  9425. parameters:
  9426. - description: 资金账户ID
  9427. in: query
  9428. name: accountid
  9429. required: true
  9430. type: integer
  9431. produces:
  9432. - application/json
  9433. responses:
  9434. "200":
  9435. description: OK
  9436. schema:
  9437. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  9438. "500":
  9439. description: Internal Server Error
  9440. schema:
  9441. $ref: '#/definitions/app.Response'
  9442. security:
  9443. - ApiKeyAuth: []
  9444. summary: 查询远期订单信息
  9445. tags:
  9446. - 产能预售
  9447. /Common/GetAllEnums:
  9448. get:
  9449. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  9450. parameters:
  9451. - description: 起始自增ID
  9452. in: query
  9453. name: autoid
  9454. type: integer
  9455. produces:
  9456. - application/json
  9457. responses:
  9458. "200":
  9459. description: OK
  9460. schema:
  9461. $ref: '#/definitions/models.Enumdicitem'
  9462. "500":
  9463. description: Internal Server Error
  9464. schema:
  9465. $ref: '#/definitions/app.Response'
  9466. summary: 获取所有枚举信息
  9467. tags:
  9468. - 通用服务
  9469. /Common/GetDivisions:
  9470. get:
  9471. produces:
  9472. - application/json
  9473. responses:
  9474. "200":
  9475. description: OK
  9476. schema:
  9477. $ref: '#/definitions/models.Division'
  9478. "500":
  9479. description: Internal Server Error
  9480. schema:
  9481. $ref: '#/definitions/app.Response'
  9482. summary: 查询区域信息
  9483. tags:
  9484. - 通用服务
  9485. /Common/GetServerTime:
  9486. get:
  9487. produces:
  9488. - application/json
  9489. responses:
  9490. "200":
  9491. description: OK
  9492. schema:
  9493. $ref: '#/definitions/app.Response'
  9494. "500":
  9495. description: Internal Server Error
  9496. schema:
  9497. $ref: '#/definitions/app.Response'
  9498. summary: 获取服务器时间
  9499. tags:
  9500. - 通用服务
  9501. /Common/NoticeReaded:
  9502. post:
  9503. parameters:
  9504. - description: 登录账号
  9505. in: query
  9506. name: loginID
  9507. required: true
  9508. type: integer
  9509. - description: 通知公告ID
  9510. in: query
  9511. name: noticeID
  9512. required: true
  9513. type: integer
  9514. produces:
  9515. - application/json
  9516. responses:
  9517. "200":
  9518. description: OK
  9519. schema:
  9520. $ref: '#/definitions/app.Response'
  9521. "500":
  9522. description: Internal Server Error
  9523. schema:
  9524. $ref: '#/definitions/app.Response'
  9525. security:
  9526. - ApiKeyAuth: []
  9527. summary: 通知公告设置已读请求
  9528. tags:
  9529. - 通用服务
  9530. /Common/QueryErrorInfos:
  9531. get:
  9532. description: 如果传入rowNumber,则返回此rowNumber后的数据
  9533. parameters:
  9534. - description: 起始行号前索引
  9535. in: query
  9536. name: rowNumber
  9537. type: string
  9538. produces:
  9539. - application/json
  9540. responses:
  9541. "200":
  9542. description: OK
  9543. schema:
  9544. $ref: '#/definitions/models.QueryErrorInfosRsp'
  9545. "500":
  9546. description: Internal Server Error
  9547. schema:
  9548. $ref: '#/definitions/app.Response'
  9549. summary: 获取数据库错误信息
  9550. tags:
  9551. - 通用服务
  9552. /Common/QueryImageConfigs:
  9553. get:
  9554. parameters:
  9555. - description: 类型 - 1:App首页轮播 2:我的
  9556. in: query
  9557. name: imageType
  9558. type: integer
  9559. produces:
  9560. - application/json
  9561. responses:
  9562. "200":
  9563. description: OK
  9564. schema:
  9565. $ref: '#/definitions/common.QueryImageConfigsRsp'
  9566. "500":
  9567. description: Internal Server Error
  9568. schema:
  9569. $ref: '#/definitions/app.Response'
  9570. summary: 查询轮播图配置信息
  9571. tags:
  9572. - 通用服务
  9573. /Common/QueryNotice:
  9574. get:
  9575. parameters:
  9576. - description: 页码
  9577. in: query
  9578. name: page
  9579. type: integer
  9580. - description: 每页条数
  9581. in: query
  9582. name: pagesize
  9583. type: integer
  9584. - description: 登录账号
  9585. in: query
  9586. name: loginID
  9587. required: true
  9588. type: integer
  9589. - description: 消息类型 - 1:公告通知 2:系统消息
  9590. in: query
  9591. name: msgType
  9592. type: integer
  9593. - description: 是否只获取未读信息
  9594. in: query
  9595. name: onlyUnRead
  9596. type: boolean
  9597. - description: 自增ID,传入后会返回这个ID后面的记录
  9598. in: query
  9599. name: lastID
  9600. type: integer
  9601. produces:
  9602. - application/json
  9603. responses:
  9604. "200":
  9605. description: OK
  9606. schema:
  9607. $ref: '#/definitions/common.QueryNoticeRsp'
  9608. "500":
  9609. description: Internal Server Error
  9610. schema:
  9611. $ref: '#/definitions/app.Response'
  9612. security:
  9613. - ApiKeyAuth: []
  9614. summary: 通知公告系统消息查询
  9615. tags:
  9616. - 通用服务
  9617. /Common/QueryProvincesAndCities:
  9618. get:
  9619. parameters:
  9620. - description: 省ID
  9621. in: query
  9622. name: provinceID
  9623. type: integer
  9624. produces:
  9625. - application/json
  9626. responses:
  9627. "200":
  9628. description: OK
  9629. schema:
  9630. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  9631. "500":
  9632. description: Internal Server Error
  9633. schema:
  9634. $ref: '#/definitions/app.Response'
  9635. summary: 查询省市信息(不包括区)
  9636. tags:
  9637. - 通用服务
  9638. /Common/QueryTableDefine:
  9639. get:
  9640. parameters:
  9641. - description: 表key
  9642. in: query
  9643. name: tableKey
  9644. type: string
  9645. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  9646. in: query
  9647. name: tableType
  9648. type: integer
  9649. produces:
  9650. - application/json
  9651. responses:
  9652. "200":
  9653. description: OK
  9654. schema:
  9655. $ref: '#/definitions/common.QueryTableDefineRsp'
  9656. "500":
  9657. description: Internal Server Error
  9658. schema:
  9659. $ref: '#/definitions/app.Response'
  9660. summary: 查询交易端列表头信息
  9661. tags:
  9662. - 通用服务
  9663. /Common/QueryTraderMenu:
  9664. get:
  9665. parameters:
  9666. - description: 登录账号
  9667. in: query
  9668. name: loginid
  9669. required: true
  9670. type: integer
  9671. produces:
  9672. - application/json
  9673. responses:
  9674. "200":
  9675. description: OK
  9676. schema:
  9677. $ref: '#/definitions/common.QueryTraderMenuRsp'
  9678. "500":
  9679. description: Internal Server Error
  9680. schema:
  9681. $ref: '#/definitions/app.Response'
  9682. summary: 查询交易端菜单
  9683. tags:
  9684. - 通用服务
  9685. /Delivery/QueryDeliveryRelation:
  9686. get:
  9687. parameters:
  9688. - description: 商品ID
  9689. in: query
  9690. name: goodsid
  9691. type: integer
  9692. - description: 品种ID
  9693. in: query
  9694. name: deliverygoodsid
  9695. type: integer
  9696. - description: 市场ID
  9697. in: query
  9698. name: marketid
  9699. type: integer
  9700. produces:
  9701. - application/json
  9702. responses:
  9703. "200":
  9704. description: OK
  9705. schema:
  9706. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  9707. "500":
  9708. description: Internal Server Error
  9709. schema:
  9710. $ref: '#/definitions/app.Response'
  9711. security:
  9712. - ApiKeyAuth: []
  9713. summary: 查询商品交割关系表
  9714. tags:
  9715. - 交割服务
  9716. /Ermcp/GetErmcpGoods:
  9717. get:
  9718. parameters:
  9719. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9720. in: query
  9721. name: lastUpdateTime
  9722. type: string
  9723. produces:
  9724. - application/json
  9725. responses:
  9726. "200":
  9727. description: OK
  9728. schema:
  9729. $ref: '#/definitions/models.Goods'
  9730. "500":
  9731. description: Internal Server Error
  9732. schema:
  9733. $ref: '#/definitions/app.Response'
  9734. security:
  9735. - ApiKeyAuth: []
  9736. summary: 查询企业风管期货商品信息
  9737. tags:
  9738. - 企业风险管理(app)
  9739. /Ermcp/QryReportDayExposure:
  9740. get:
  9741. parameters:
  9742. - description: 用户ID
  9743. in: query
  9744. name: userid
  9745. required: true
  9746. type: integer
  9747. - description: 交易日(格式:yyyyMMdd)
  9748. in: query
  9749. name: tradedate
  9750. required: true
  9751. type: string
  9752. produces:
  9753. - application/json
  9754. responses:
  9755. "200":
  9756. description: OK
  9757. schema:
  9758. items:
  9759. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  9760. type: array
  9761. "500":
  9762. description: Internal Server Error
  9763. schema:
  9764. $ref: '#/definitions/app.Response'
  9765. security:
  9766. - ApiKeyAuth: []
  9767. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  9768. tags:
  9769. - 企业风险管理(app)
  9770. /Ermcp/QryReportDayFinance:
  9771. get:
  9772. parameters:
  9773. - description: 用户ID
  9774. in: query
  9775. name: userid
  9776. required: true
  9777. type: integer
  9778. - description: 交易日(格式:yyyyMMdd)
  9779. in: query
  9780. name: tradedate
  9781. required: true
  9782. type: string
  9783. produces:
  9784. - application/json
  9785. responses:
  9786. "200":
  9787. description: OK
  9788. schema:
  9789. items:
  9790. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  9791. type: array
  9792. "500":
  9793. description: Internal Server Error
  9794. schema:
  9795. $ref: '#/definitions/app.Response'
  9796. security:
  9797. - ApiKeyAuth: []
  9798. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  9799. tags:
  9800. - 企业风险管理(app)
  9801. /Ermcp/QryReportDayFinanceFp:
  9802. get:
  9803. parameters:
  9804. - description: 用户ID
  9805. in: query
  9806. name: userid
  9807. required: true
  9808. type: integer
  9809. - description: 交易日(格式:yyyyMMdd)
  9810. in: query
  9811. name: tradedate
  9812. required: true
  9813. type: string
  9814. produces:
  9815. - application/json
  9816. responses:
  9817. "200":
  9818. description: OK
  9819. schema:
  9820. items:
  9821. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  9822. type: array
  9823. "500":
  9824. description: Internal Server Error
  9825. schema:
  9826. $ref: '#/definitions/app.Response'
  9827. security:
  9828. - ApiKeyAuth: []
  9829. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  9830. tags:
  9831. - 企业风险管理(app)
  9832. /Ermcp/QryReportDayFinanceKx:
  9833. get:
  9834. parameters:
  9835. - description: 用户ID
  9836. in: query
  9837. name: userid
  9838. required: true
  9839. type: integer
  9840. - description: 交易日(格式:yyyyMMdd)
  9841. in: query
  9842. name: tradedate
  9843. required: true
  9844. type: string
  9845. produces:
  9846. - application/json
  9847. responses:
  9848. "200":
  9849. description: OK
  9850. schema:
  9851. items:
  9852. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  9853. type: array
  9854. "500":
  9855. description: Internal Server Error
  9856. schema:
  9857. $ref: '#/definitions/app.Response'
  9858. security:
  9859. - ApiKeyAuth: []
  9860. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  9861. tags:
  9862. - 企业风险管理(app)
  9863. /Ermcp/QryReportDaySpot:
  9864. get:
  9865. parameters:
  9866. - description: 用户ID
  9867. in: query
  9868. name: userid
  9869. required: true
  9870. type: integer
  9871. - description: 交易日(格式:yyyyMMdd)
  9872. in: query
  9873. name: tradedate
  9874. required: true
  9875. type: string
  9876. produces:
  9877. - application/json
  9878. responses:
  9879. "200":
  9880. description: OK
  9881. schema:
  9882. items:
  9883. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  9884. type: array
  9885. "500":
  9886. description: Internal Server Error
  9887. schema:
  9888. $ref: '#/definitions/app.Response'
  9889. security:
  9890. - ApiKeyAuth: []
  9891. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  9892. tags:
  9893. - 企业风险管理(app)
  9894. /Ermcp/QryReportDaySpotDetail:
  9895. get:
  9896. parameters:
  9897. - description: 用户ID
  9898. in: query
  9899. name: userid
  9900. required: true
  9901. type: integer
  9902. - description: 现货商品id
  9903. in: query
  9904. name: wrstandardid
  9905. required: true
  9906. type: integer
  9907. - description: 交易日(格式:yyyyMMdd)
  9908. in: query
  9909. name: tradedate
  9910. required: true
  9911. type: string
  9912. produces:
  9913. - application/json
  9914. responses:
  9915. "200":
  9916. description: OK
  9917. schema:
  9918. items:
  9919. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  9920. type: array
  9921. "500":
  9922. description: Internal Server Error
  9923. schema:
  9924. $ref: '#/definitions/app.Response'
  9925. security:
  9926. - ApiKeyAuth: []
  9927. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  9928. tags:
  9929. - 企业风险管理(app)
  9930. /Ermcp/QryReportMonthFinance:
  9931. get:
  9932. parameters:
  9933. - description: 用户ID
  9934. in: query
  9935. name: userid
  9936. required: true
  9937. type: integer
  9938. - description: 周期时间:月(格式:yyyyMM)
  9939. in: query
  9940. name: cycletime
  9941. required: true
  9942. type: string
  9943. produces:
  9944. - application/json
  9945. responses:
  9946. "200":
  9947. description: OK
  9948. schema:
  9949. items:
  9950. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  9951. type: array
  9952. "500":
  9953. description: Internal Server Error
  9954. schema:
  9955. $ref: '#/definitions/app.Response'
  9956. security:
  9957. - ApiKeyAuth: []
  9958. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  9959. tags:
  9960. - 企业风险管理(app)
  9961. /Ermcp/QryReportMonthSpot:
  9962. get:
  9963. parameters:
  9964. - description: 用户ID
  9965. in: query
  9966. name: userid
  9967. required: true
  9968. type: integer
  9969. - description: 周期时间:月(格式:yyyyMM)
  9970. in: query
  9971. name: cycletime
  9972. required: true
  9973. type: string
  9974. produces:
  9975. - application/json
  9976. responses:
  9977. "200":
  9978. description: OK
  9979. schema:
  9980. items:
  9981. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  9982. type: array
  9983. "500":
  9984. description: Internal Server Error
  9985. schema:
  9986. $ref: '#/definitions/app.Response'
  9987. security:
  9988. - ApiKeyAuth: []
  9989. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  9990. tags:
  9991. - 企业风险管理(app)
  9992. /Ermcp/QryReportMonthSpotDetail:
  9993. get:
  9994. parameters:
  9995. - description: 用户ID
  9996. in: query
  9997. name: userid
  9998. required: true
  9999. type: integer
  10000. - description: 现货商品id
  10001. in: query
  10002. name: wrstandardid
  10003. required: true
  10004. type: integer
  10005. - description: 周期时间:月(格式:yyyyMM)
  10006. in: query
  10007. name: cycletime
  10008. required: true
  10009. type: string
  10010. produces:
  10011. - application/json
  10012. responses:
  10013. "200":
  10014. description: OK
  10015. schema:
  10016. items:
  10017. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  10018. type: array
  10019. "500":
  10020. description: Internal Server Error
  10021. schema:
  10022. $ref: '#/definitions/app.Response'
  10023. security:
  10024. - ApiKeyAuth: []
  10025. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  10026. tags:
  10027. - 企业风险管理(app)
  10028. /Ermcp/QueryAvaildGoodsGroup:
  10029. get:
  10030. parameters:
  10031. - description: 所属机构ID
  10032. in: query
  10033. name: userid
  10034. required: true
  10035. type: integer
  10036. produces:
  10037. - application/json
  10038. responses:
  10039. "200":
  10040. description: OK
  10041. schema:
  10042. items:
  10043. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  10044. type: array
  10045. "500":
  10046. description: Internal Server Error
  10047. schema:
  10048. $ref: '#/definitions/app.Response'
  10049. security:
  10050. - ApiKeyAuth: []
  10051. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  10052. tags:
  10053. - 企业风险管理(app)
  10054. /Ermcp/QueryBusinessDj:
  10055. get:
  10056. parameters:
  10057. - description: 用户ID
  10058. in: query
  10059. name: UserId
  10060. required: true
  10061. type: integer
  10062. - description: 现货合同ID, 不填则查所有
  10063. in: query
  10064. name: relatedid
  10065. type: string
  10066. produces:
  10067. - application/json
  10068. responses:
  10069. "200":
  10070. description: OK
  10071. schema:
  10072. items:
  10073. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  10074. type: array
  10075. "500":
  10076. description: Internal Server Error
  10077. schema:
  10078. $ref: '#/definitions/app.Response'
  10079. security:
  10080. - ApiKeyAuth: []
  10081. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  10082. tags:
  10083. - 企业风险管理(app)
  10084. /Ermcp/QueryBusinessFp:
  10085. get:
  10086. parameters:
  10087. - description: 用户ID
  10088. in: query
  10089. name: UserId
  10090. required: true
  10091. type: integer
  10092. - description: 现货合同ID, 不填则查所有
  10093. in: query
  10094. name: relatedid
  10095. type: string
  10096. produces:
  10097. - application/json
  10098. responses:
  10099. "200":
  10100. description: OK
  10101. schema:
  10102. items:
  10103. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  10104. type: array
  10105. "500":
  10106. description: Internal Server Error
  10107. schema:
  10108. $ref: '#/definitions/app.Response'
  10109. security:
  10110. - ApiKeyAuth: []
  10111. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  10112. tags:
  10113. - 企业风险管理(app)
  10114. /Ermcp/QueryBusinessJs:
  10115. get:
  10116. parameters:
  10117. - description: 用户ID
  10118. in: query
  10119. name: UserId
  10120. required: true
  10121. type: integer
  10122. - description: 现货合同ID, 不填则查所有
  10123. in: query
  10124. name: relatedid
  10125. type: string
  10126. produces:
  10127. - application/json
  10128. responses:
  10129. "200":
  10130. description: OK
  10131. schema:
  10132. items:
  10133. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  10134. type: array
  10135. "500":
  10136. description: Internal Server Error
  10137. schema:
  10138. $ref: '#/definitions/app.Response'
  10139. security:
  10140. - ApiKeyAuth: []
  10141. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  10142. tags:
  10143. - 企业风险管理(app)
  10144. /Ermcp/QueryBusinessJsEx:
  10145. get:
  10146. parameters:
  10147. - description: 用户ID
  10148. in: query
  10149. name: UserId
  10150. required: true
  10151. type: integer
  10152. - description: 现货合同ID, 不填则查所有
  10153. in: query
  10154. name: relatedid
  10155. type: string
  10156. produces:
  10157. - application/json
  10158. responses:
  10159. "200":
  10160. description: OK
  10161. schema:
  10162. items:
  10163. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  10164. type: array
  10165. "500":
  10166. description: Internal Server Error
  10167. schema:
  10168. $ref: '#/definitions/app.Response'
  10169. security:
  10170. - ApiKeyAuth: []
  10171. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  10172. tags:
  10173. - 企业风险管理(app)
  10174. /Ermcp/QueryBusinessKx:
  10175. get:
  10176. parameters:
  10177. - description: 用户ID
  10178. in: query
  10179. name: UserId
  10180. required: true
  10181. type: integer
  10182. - description: 现货合同ID, 不填则查所有
  10183. in: query
  10184. name: relatedid
  10185. type: string
  10186. produces:
  10187. - application/json
  10188. responses:
  10189. "200":
  10190. description: OK
  10191. schema:
  10192. items:
  10193. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  10194. type: array
  10195. "500":
  10196. description: Internal Server Error
  10197. schema:
  10198. $ref: '#/definitions/app.Response'
  10199. security:
  10200. - ApiKeyAuth: []
  10201. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  10202. tags:
  10203. - 企业风险管理(app)
  10204. /Ermcp/QueryChangeLog:
  10205. get:
  10206. parameters:
  10207. - description: 合同ID
  10208. in: query
  10209. name: RelatedId
  10210. required: true
  10211. type: string
  10212. produces:
  10213. - application/json
  10214. responses:
  10215. "200":
  10216. description: OK
  10217. schema:
  10218. items:
  10219. $ref: '#/definitions/ermcp.QryOPLogRsp'
  10220. type: array
  10221. "500":
  10222. description: Internal Server Error
  10223. schema:
  10224. $ref: '#/definitions/app.Response'
  10225. security:
  10226. - ApiKeyAuth: []
  10227. summary: 查询变更记录
  10228. tags:
  10229. - 企业风险管理(app)
  10230. /Ermcp/QueryContract:
  10231. get:
  10232. parameters:
  10233. - description: 用户ID
  10234. in: query
  10235. name: userId
  10236. required: true
  10237. type: integer
  10238. - description: 合同类型 1-采购, -1-销售
  10239. in: query
  10240. name: contracttype
  10241. required: true
  10242. type: integer
  10243. - description: 查询类型 1-全部 2-待点价 3-履约结算
  10244. in: query
  10245. name: querytype
  10246. required: true
  10247. type: integer
  10248. produces:
  10249. - application/json
  10250. responses:
  10251. "200":
  10252. description: OK
  10253. schema:
  10254. items:
  10255. $ref: '#/definitions/ermcp.QryErmcpRsp'
  10256. type: array
  10257. "500":
  10258. description: Internal Server Error
  10259. schema:
  10260. $ref: '#/definitions/app.Response'
  10261. security:
  10262. - ApiKeyAuth: []
  10263. summary: 查询合同(采购和销售)
  10264. tags:
  10265. - 企业风险管理(app)
  10266. /Ermcp/QueryErmcpHisOrderDetails:
  10267. get:
  10268. parameters:
  10269. - description: 资金账户ID
  10270. in: query
  10271. name: accountID
  10272. required: true
  10273. type: integer
  10274. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10275. in: query
  10276. name: startDate
  10277. type: string
  10278. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10279. in: query
  10280. name: endDate
  10281. type: string
  10282. produces:
  10283. - application/json
  10284. responses:
  10285. "200":
  10286. description: OK
  10287. schema:
  10288. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  10289. "500":
  10290. description: Internal Server Error
  10291. schema:
  10292. $ref: '#/definitions/app.Response'
  10293. security:
  10294. - ApiKeyAuth: []
  10295. summary: 获取企业风管期货历史委托单信息
  10296. tags:
  10297. - 企业风险管理(app)
  10298. /Ermcp/QueryErmcpHisTradeDetails:
  10299. get:
  10300. parameters:
  10301. - description: 资金账户ID
  10302. in: query
  10303. name: accountID
  10304. required: true
  10305. type: integer
  10306. - description: 商品ID
  10307. in: query
  10308. name: goodsID
  10309. type: integer
  10310. - description: 买卖方向,0:买 1:卖
  10311. in: query
  10312. name: buyOrSell
  10313. type: integer
  10314. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  10315. in: query
  10316. name: startDate
  10317. type: string
  10318. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  10319. in: query
  10320. name: endDate
  10321. type: string
  10322. produces:
  10323. - application/json
  10324. responses:
  10325. "200":
  10326. description: OK
  10327. schema:
  10328. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  10329. "500":
  10330. description: Internal Server Error
  10331. schema:
  10332. $ref: '#/definitions/app.Response'
  10333. security:
  10334. - ApiKeyAuth: []
  10335. summary: 获取企业风管期货历史成交单信息
  10336. tags:
  10337. - 企业风险管理(app)
  10338. /Ermcp/QueryErmcpOrderDetails:
  10339. get:
  10340. parameters:
  10341. - description: 资金账户ID
  10342. in: query
  10343. name: accountID
  10344. required: true
  10345. type: integer
  10346. produces:
  10347. - application/json
  10348. responses:
  10349. "200":
  10350. description: OK
  10351. schema:
  10352. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  10353. "500":
  10354. description: Internal Server Error
  10355. schema:
  10356. $ref: '#/definitions/app.Response'
  10357. security:
  10358. - ApiKeyAuth: []
  10359. summary: 获取企业风管期货委托单信息
  10360. tags:
  10361. - 企业风险管理(app)
  10362. /Ermcp/QueryErmcpTradeDetails:
  10363. get:
  10364. parameters:
  10365. - description: 资金账户ID
  10366. in: query
  10367. name: accountID
  10368. required: true
  10369. type: integer
  10370. - description: 商品ID
  10371. in: query
  10372. name: goodsID
  10373. type: integer
  10374. - description: 买卖方向,0:买 1:卖
  10375. in: query
  10376. name: buyOrSell
  10377. type: integer
  10378. produces:
  10379. - application/json
  10380. responses:
  10381. "200":
  10382. description: OK
  10383. schema:
  10384. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  10385. "500":
  10386. description: Internal Server Error
  10387. schema:
  10388. $ref: '#/definitions/app.Response'
  10389. security:
  10390. - ApiKeyAuth: []
  10391. summary: 获取企业风管期货成交单信息
  10392. tags:
  10393. - 企业风险管理(app)
  10394. /Ermcp/QueryErmcpTradePosition:
  10395. get:
  10396. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  10397. parameters:
  10398. - description: 资金账户ID
  10399. in: query
  10400. name: accountID
  10401. required: true
  10402. type: integer
  10403. - description: 所属市场ID
  10404. in: query
  10405. name: marketID
  10406. type: integer
  10407. produces:
  10408. - application/json
  10409. responses:
  10410. "200":
  10411. description: OK
  10412. schema:
  10413. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  10414. "500":
  10415. description: Internal Server Error
  10416. schema:
  10417. $ref: '#/definitions/app.Response'
  10418. security:
  10419. - ApiKeyAuth: []
  10420. summary: 获取企业风管期货持仓头寸信息
  10421. tags:
  10422. - 企业风险管理(app)
  10423. /Ermcp/QueryExposureDetail:
  10424. get:
  10425. parameters:
  10426. - description: 所属机构ID
  10427. in: query
  10428. name: areaUserId
  10429. required: true
  10430. type: integer
  10431. - description: 套保商品
  10432. in: query
  10433. name: middleGoodsId
  10434. required: true
  10435. type: integer
  10436. produces:
  10437. - application/json
  10438. responses:
  10439. "200":
  10440. description: OK
  10441. schema:
  10442. items:
  10443. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  10444. type: array
  10445. "500":
  10446. description: Internal Server Error
  10447. schema:
  10448. $ref: '#/definitions/app.Response'
  10449. security:
  10450. - ApiKeyAuth: []
  10451. summary: 查询敞口现货明细
  10452. tags:
  10453. - 企业风险管理(app)
  10454. /Ermcp/QueryExposureHedgePosition:
  10455. get:
  10456. parameters:
  10457. - description: 所属机构ID
  10458. in: query
  10459. name: areaUserId
  10460. required: true
  10461. type: integer
  10462. produces:
  10463. - application/json
  10464. responses:
  10465. "200":
  10466. description: OK
  10467. schema:
  10468. items:
  10469. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  10470. type: array
  10471. "500":
  10472. description: Internal Server Error
  10473. schema:
  10474. $ref: '#/definitions/app.Response'
  10475. security:
  10476. - ApiKeyAuth: []
  10477. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  10478. tags:
  10479. - 企业风险管理(app)
  10480. /Ermcp/QueryExposureHedgePositionDetail:
  10481. get:
  10482. parameters:
  10483. - description: 所属机构ID
  10484. in: query
  10485. name: areaUserId
  10486. required: true
  10487. type: integer
  10488. - description: 商品id
  10489. in: query
  10490. name: goodsId
  10491. required: true
  10492. type: integer
  10493. produces:
  10494. - application/json
  10495. responses:
  10496. "200":
  10497. description: OK
  10498. schema:
  10499. items:
  10500. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  10501. type: array
  10502. "500":
  10503. description: Internal Server Error
  10504. schema:
  10505. $ref: '#/definitions/app.Response'
  10506. security:
  10507. - ApiKeyAuth: []
  10508. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  10509. tags:
  10510. - 企业风险管理(app)
  10511. /Ermcp/QueryExposureSpot:
  10512. get:
  10513. parameters:
  10514. - description: 所属机构ID
  10515. in: query
  10516. name: areaUserId
  10517. required: true
  10518. type: integer
  10519. produces:
  10520. - application/json
  10521. responses:
  10522. "200":
  10523. description: OK
  10524. schema:
  10525. items:
  10526. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  10527. type: array
  10528. "500":
  10529. description: Internal Server Error
  10530. schema:
  10531. $ref: '#/definitions/app.Response'
  10532. security:
  10533. - ApiKeyAuth: []
  10534. summary: 查询敞口现货头寸(敞口/现货头寸)
  10535. tags:
  10536. - 企业风险管理(app)
  10537. /Ermcp/QueryExposureSpotDetail:
  10538. get:
  10539. parameters:
  10540. - description: 所属机构ID
  10541. in: query
  10542. name: areaUserId
  10543. required: true
  10544. type: integer
  10545. - description: 现货品种ID
  10546. in: query
  10547. name: wrstandardId
  10548. required: true
  10549. type: integer
  10550. produces:
  10551. - application/json
  10552. responses:
  10553. "200":
  10554. description: OK
  10555. schema:
  10556. items:
  10557. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  10558. type: array
  10559. "500":
  10560. description: Internal Server Error
  10561. schema:
  10562. $ref: '#/definitions/app.Response'
  10563. security:
  10564. - ApiKeyAuth: []
  10565. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  10566. tags:
  10567. - 企业风险管理(app)
  10568. /Ermcp/QueryGGConvertConfig:
  10569. get:
  10570. parameters:
  10571. - description: 品种id(不填则查所有)
  10572. in: query
  10573. name: goodsgroupid
  10574. type: integer
  10575. produces:
  10576. - application/json
  10577. responses:
  10578. "200":
  10579. description: OK
  10580. schema:
  10581. items:
  10582. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  10583. type: array
  10584. "500":
  10585. description: Internal Server Error
  10586. schema:
  10587. $ref: '#/definitions/app.Response'
  10588. security:
  10589. - ApiKeyAuth: []
  10590. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  10591. tags:
  10592. - 企业风险管理(app)
  10593. /Ermcp/QueryHedgePlan:
  10594. get:
  10595. parameters:
  10596. - description: 用户ID
  10597. in: query
  10598. name: userId
  10599. required: true
  10600. type: integer
  10601. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  10602. in: query
  10603. name: HedgePlanStatus
  10604. required: true
  10605. type: string
  10606. produces:
  10607. - application/json
  10608. responses:
  10609. "200":
  10610. description: OK
  10611. schema:
  10612. items:
  10613. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  10614. type: array
  10615. "500":
  10616. description: Internal Server Error
  10617. schema:
  10618. $ref: '#/definitions/app.Response'
  10619. security:
  10620. - ApiKeyAuth: []
  10621. summary: 查询套保计划
  10622. tags:
  10623. - 企业风险管理(app)
  10624. /Ermcp/QueryHisExposure:
  10625. get:
  10626. parameters:
  10627. - description: 所属机构ID
  10628. in: query
  10629. name: areaUserId
  10630. required: true
  10631. type: integer
  10632. - description: 每个品种记录数
  10633. in: query
  10634. name: lastNum
  10635. required: true
  10636. type: integer
  10637. produces:
  10638. - application/json
  10639. responses:
  10640. "200":
  10641. description: OK
  10642. schema:
  10643. items:
  10644. $ref: '#/definitions/ermcp.HisExposureRsp'
  10645. type: array
  10646. "500":
  10647. description: Internal Server Error
  10648. schema:
  10649. $ref: '#/definitions/app.Response'
  10650. security:
  10651. - ApiKeyAuth: []
  10652. summary: 查询历史敞口(菜单:敞口/历史敞口)
  10653. tags:
  10654. - 企业风险管理(app)
  10655. /Ermcp/QueryMiddleGoods:
  10656. get:
  10657. parameters:
  10658. - description: 所属机构ID
  10659. in: query
  10660. name: userid
  10661. required: true
  10662. type: integer
  10663. - description: 状态 0-停用 1-正常
  10664. in: query
  10665. name: status
  10666. required: true
  10667. type: integer
  10668. produces:
  10669. - application/json
  10670. responses:
  10671. "200":
  10672. description: OK
  10673. schema:
  10674. items:
  10675. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  10676. type: array
  10677. "500":
  10678. description: Internal Server Error
  10679. schema:
  10680. $ref: '#/definitions/app.Response'
  10681. security:
  10682. - ApiKeyAuth: []
  10683. summary: 查询套保品种(菜单:套保品种)
  10684. tags:
  10685. - 企业风险管理(app)
  10686. /Ermcp/QueryMiddleGoodsChangeLog:
  10687. get:
  10688. parameters:
  10689. - description: 所属机构ID
  10690. in: query
  10691. name: userid
  10692. required: true
  10693. type: integer
  10694. - description: 套保品种id
  10695. in: query
  10696. name: middlegoodsid
  10697. required: true
  10698. type: integer
  10699. produces:
  10700. - application/json
  10701. responses:
  10702. "200":
  10703. description: OK
  10704. schema:
  10705. items:
  10706. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  10707. type: array
  10708. "500":
  10709. description: Internal Server Error
  10710. schema:
  10711. $ref: '#/definitions/app.Response'
  10712. security:
  10713. - ApiKeyAuth: []
  10714. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  10715. tags:
  10716. - 企业风险管理(app)
  10717. /Ermcp/QueryMiddleGoodsDetail:
  10718. get:
  10719. parameters:
  10720. - description: 所属机构ID
  10721. in: query
  10722. name: userid
  10723. required: true
  10724. type: integer
  10725. - description: 套保品种id
  10726. in: query
  10727. name: middlegoodsid
  10728. required: true
  10729. type: integer
  10730. produces:
  10731. - application/json
  10732. responses:
  10733. "200":
  10734. description: OK
  10735. schema:
  10736. items:
  10737. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  10738. type: array
  10739. "500":
  10740. description: Internal Server Error
  10741. schema:
  10742. $ref: '#/definitions/app.Response'
  10743. security:
  10744. - ApiKeyAuth: []
  10745. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  10746. tags:
  10747. - 企业风险管理(app)
  10748. /Ermcp/QueryPendingAuditInfo:
  10749. get:
  10750. parameters:
  10751. - description: 用户ID
  10752. in: query
  10753. name: UserId
  10754. required: true
  10755. type: integer
  10756. produces:
  10757. - application/json
  10758. responses:
  10759. "200":
  10760. description: OK
  10761. schema:
  10762. items:
  10763. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  10764. type: array
  10765. "500":
  10766. description: Internal Server Error
  10767. schema:
  10768. $ref: '#/definitions/app.Response'
  10769. security:
  10770. - ApiKeyAuth: []
  10771. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  10772. tags:
  10773. - 企业风险管理(app)
  10774. /Ermcp/QueryRealtimeExposure:
  10775. get:
  10776. parameters:
  10777. - description: 所属机构ID
  10778. in: query
  10779. name: AreaUserID
  10780. required: true
  10781. type: integer
  10782. produces:
  10783. - application/json
  10784. responses:
  10785. "200":
  10786. description: OK
  10787. schema:
  10788. items:
  10789. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  10790. type: array
  10791. "500":
  10792. description: Internal Server Error
  10793. schema:
  10794. $ref: '#/definitions/app.Response'
  10795. security:
  10796. - ApiKeyAuth: []
  10797. summary: 查询实时敞口
  10798. tags:
  10799. - 企业风险管理(app)
  10800. /Ermcp/QueryRealtimeExposurePosition:
  10801. get:
  10802. parameters:
  10803. - description: 所属机构ID
  10804. in: query
  10805. name: areaUserId
  10806. required: true
  10807. type: integer
  10808. - description: 套保商品ID
  10809. in: query
  10810. name: middleGoodsId
  10811. required: true
  10812. type: integer
  10813. produces:
  10814. - application/json
  10815. responses:
  10816. "200":
  10817. description: OK
  10818. schema:
  10819. items:
  10820. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  10821. type: array
  10822. "500":
  10823. description: Internal Server Error
  10824. schema:
  10825. $ref: '#/definitions/app.Response'
  10826. security:
  10827. - ApiKeyAuth: []
  10828. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  10829. tags:
  10830. - 企业风险管理(app)
  10831. /Ermcp/QuerySpotContract:
  10832. get:
  10833. parameters:
  10834. - description: 用户ID
  10835. in: query
  10836. name: userId
  10837. required: true
  10838. type: integer
  10839. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  10840. in: query
  10841. name: QueryType
  10842. required: true
  10843. type: integer
  10844. produces:
  10845. - application/json
  10846. responses:
  10847. "200":
  10848. description: OK
  10849. schema:
  10850. items:
  10851. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  10852. type: array
  10853. "500":
  10854. description: Internal Server Error
  10855. schema:
  10856. $ref: '#/definitions/app.Response'
  10857. security:
  10858. - ApiKeyAuth: []
  10859. summary: 查询现货合同(对应现货合同菜单)
  10860. tags:
  10861. - 企业风险管理(app)
  10862. /Ermcp/QueryUserInfo:
  10863. get:
  10864. parameters:
  10865. - description: 所属机构用户ID
  10866. in: query
  10867. name: MemberUserID
  10868. required: true
  10869. type: integer
  10870. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  10871. in: query
  10872. name: queryType
  10873. required: true
  10874. type: integer
  10875. produces:
  10876. - application/json
  10877. responses:
  10878. "200":
  10879. description: OK
  10880. schema:
  10881. items:
  10882. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  10883. type: array
  10884. "500":
  10885. description: Internal Server Error
  10886. schema:
  10887. $ref: '#/definitions/app.Response'
  10888. security:
  10889. - ApiKeyAuth: []
  10890. summary: 查询客户资料
  10891. tags:
  10892. - 企业风险管理(app)
  10893. /Ermcp/QueryWrStandard:
  10894. get:
  10895. parameters:
  10896. - description: 所属机构ID
  10897. in: query
  10898. name: userid
  10899. required: true
  10900. type: integer
  10901. - description: 状态 0-停用 1-正常
  10902. in: query
  10903. name: status
  10904. required: true
  10905. type: integer
  10906. produces:
  10907. - application/json
  10908. responses:
  10909. "200":
  10910. description: OK
  10911. schema:
  10912. items:
  10913. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  10914. type: array
  10915. "500":
  10916. description: Internal Server Error
  10917. schema:
  10918. $ref: '#/definitions/app.Response'
  10919. security:
  10920. - ApiKeyAuth: []
  10921. summary: 查询现货商品
  10922. tags:
  10923. - 企业风险管理(app)
  10924. /Ermcp/QueryWrStandardDetail:
  10925. get:
  10926. parameters:
  10927. - description: 所属机构ID
  10928. in: query
  10929. name: userid
  10930. required: true
  10931. type: integer
  10932. - description: 现货商品ID
  10933. in: query
  10934. name: wrstandardid
  10935. required: true
  10936. type: integer
  10937. - description: 可不填, 1-查询关联交易商品
  10938. in: query
  10939. name: goods
  10940. type: integer
  10941. produces:
  10942. - application/json
  10943. responses:
  10944. "200":
  10945. description: OK
  10946. schema:
  10947. items:
  10948. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  10949. type: array
  10950. "500":
  10951. description: Internal Server Error
  10952. schema:
  10953. $ref: '#/definitions/app.Response'
  10954. security:
  10955. - ApiKeyAuth: []
  10956. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  10957. tags:
  10958. - 企业风险管理(app)
  10959. /Erms2/QueryArbitrageStrategy:
  10960. get:
  10961. parameters:
  10962. - description: 账户ID
  10963. in: query
  10964. name: userid
  10965. required: true
  10966. type: integer
  10967. - description: 商品组ID(品种ID)
  10968. in: query
  10969. name: goodsgroupid
  10970. type: string
  10971. produces:
  10972. - application/json
  10973. responses:
  10974. "200":
  10975. description: OK
  10976. schema:
  10977. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  10978. "500":
  10979. description: Internal Server Error
  10980. schema:
  10981. $ref: '#/definitions/app.Response'
  10982. security:
  10983. - ApiKeyAuth: []
  10984. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  10985. tags:
  10986. - 风险管理
  10987. /Erms2/QueryInnerTradeDetail:
  10988. get:
  10989. parameters:
  10990. - description: 资金账户
  10991. in: query
  10992. name: accountid
  10993. required: true
  10994. type: integer
  10995. produces:
  10996. - application/json
  10997. responses:
  10998. "200":
  10999. description: OK
  11000. schema:
  11001. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  11002. "500":
  11003. description: Internal Server Error
  11004. schema:
  11005. $ref: '#/definitions/app.Response'
  11006. security:
  11007. - ApiKeyAuth: []
  11008. summary: 查询内部成交单信息
  11009. tags:
  11010. - 风险管理
  11011. /Erms2/QuerySpotContract:
  11012. get:
  11013. parameters:
  11014. - description: 策略申请ID
  11015. in: query
  11016. name: asapplyid
  11017. required: true
  11018. type: integer
  11019. - description: 现货合同ID
  11020. in: query
  11021. name: spotcontractid
  11022. type: integer
  11023. produces:
  11024. - application/json
  11025. responses:
  11026. "200":
  11027. description: OK
  11028. schema:
  11029. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  11030. "500":
  11031. description: Internal Server Error
  11032. schema:
  11033. $ref: '#/definitions/app.Response'
  11034. security:
  11035. - ApiKeyAuth: []
  11036. summary: 查询现货合同表信息(指定策略ID、未结束的)
  11037. tags:
  11038. - 风险管理
  11039. /Erms3/AddErms2ASApply:
  11040. post:
  11041. parameters:
  11042. - description: 申请参数
  11043. in: body
  11044. name: jsonBody
  11045. required: true
  11046. schema:
  11047. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  11048. produces:
  11049. - application/json
  11050. responses:
  11051. "200":
  11052. description: OK
  11053. schema:
  11054. $ref: '#/definitions/app.Response'
  11055. "500":
  11056. description: Internal Server Error
  11057. schema:
  11058. $ref: '#/definitions/app.Response'
  11059. security:
  11060. - ApiKeyAuth: []
  11061. summary: 新增期现套利业务申请
  11062. tags:
  11063. - 风险管理v3
  11064. /Erms3/AddErms2SpotTradeApply:
  11065. post:
  11066. parameters:
  11067. - description: 申请参数
  11068. in: body
  11069. name: jsonBody
  11070. required: true
  11071. schema:
  11072. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  11073. produces:
  11074. - application/json
  11075. responses:
  11076. "200":
  11077. description: OK
  11078. schema:
  11079. $ref: '#/definitions/app.Response'
  11080. "500":
  11081. description: Internal Server Error
  11082. schema:
  11083. $ref: '#/definitions/app.Response'
  11084. security:
  11085. - ApiKeyAuth: []
  11086. summary: 新增现货贸易业务申请
  11087. tags:
  11088. - 风险管理v3
  11089. /Erms3/AddSpotContractApply:
  11090. post:
  11091. parameters:
  11092. - description: 申请参数
  11093. in: body
  11094. name: jsonBody
  11095. required: true
  11096. schema:
  11097. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  11098. produces:
  11099. - application/json
  11100. responses:
  11101. "200":
  11102. description: OK
  11103. schema:
  11104. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  11105. "500":
  11106. description: Internal Server Error
  11107. schema:
  11108. $ref: '#/definitions/app.Response'
  11109. security:
  11110. - ApiKeyAuth: []
  11111. summary: 新增现货合同申请
  11112. tags:
  11113. - 风险管理v3
  11114. /Erms3/AddUserInfoApply:
  11115. post:
  11116. parameters:
  11117. - description: 用户信息
  11118. in: body
  11119. name: jsonBody
  11120. required: true
  11121. schema:
  11122. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  11123. produces:
  11124. - application/json
  11125. responses:
  11126. "200":
  11127. description: OK
  11128. schema:
  11129. $ref: '#/definitions/app.Response'
  11130. "500":
  11131. description: Internal Server Error
  11132. schema:
  11133. $ref: '#/definitions/app.Response'
  11134. security:
  11135. - ApiKeyAuth: []
  11136. summary: 新增客户申请
  11137. tags:
  11138. - 风险管理v3
  11139. /Erms3/ModifyUserInfoApply:
  11140. post:
  11141. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  11142. int, "userstate": 2 }'
  11143. parameters:
  11144. - description: 用户信息
  11145. in: body
  11146. name: jsonBody
  11147. required: true
  11148. schema:
  11149. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  11150. produces:
  11151. - application/json
  11152. responses:
  11153. "200":
  11154. description: OK
  11155. schema:
  11156. $ref: '#/definitions/app.Response'
  11157. "500":
  11158. description: Internal Server Error
  11159. schema:
  11160. $ref: '#/definitions/app.Response'
  11161. security:
  11162. - ApiKeyAuth: []
  11163. summary: 修改客户申请
  11164. tags:
  11165. - 风险管理v3
  11166. /Erms3/QueryBusinessInfo:
  11167. get:
  11168. parameters:
  11169. - description: 资金账号ID列表,用逗号分隔
  11170. in: query
  11171. name: accountids
  11172. required: true
  11173. type: string
  11174. - description: 状态,0为未结束 1为已结束
  11175. in: query
  11176. name: status
  11177. required: true
  11178. type: integer
  11179. produces:
  11180. - application/json
  11181. responses:
  11182. "200":
  11183. description: OK
  11184. schema:
  11185. items:
  11186. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  11187. type: array
  11188. "500":
  11189. description: Internal Server Error
  11190. schema:
  11191. $ref: '#/definitions/app.Response'
  11192. security:
  11193. - ApiKeyAuth: []
  11194. summary: 查询业务表单数据
  11195. tags:
  11196. - 风险管理v3
  11197. /Erms3/QueryPendingAuditContract:
  11198. get:
  11199. parameters:
  11200. - description: 资金账号ID列表,逗号隔开
  11201. in: query
  11202. name: accountids
  11203. required: true
  11204. type: string
  11205. - description: 合同类型 1-采购 -1-销售
  11206. in: query
  11207. name: contracttype
  11208. required: true
  11209. type: integer
  11210. - description: 合同模式 1-普通 2-回购
  11211. in: query
  11212. name: contractmode
  11213. required: true
  11214. type: integer
  11215. produces:
  11216. - application/json
  11217. responses:
  11218. "200":
  11219. description: OK
  11220. schema:
  11221. items:
  11222. $ref: '#/definitions/erms3.QryAuditContractRsp'
  11223. type: array
  11224. "500":
  11225. description: Internal Server Error
  11226. schema:
  11227. $ref: '#/definitions/app.Response'
  11228. security:
  11229. - ApiKeyAuth: []
  11230. summary: 查询待审核合同
  11231. tags:
  11232. - 风险管理v3
  11233. /Erms3/QueryPendingBusiness:
  11234. get:
  11235. parameters:
  11236. - description: 资金账号ID列表,逗号隔开
  11237. in: query
  11238. name: accountids
  11239. required: true
  11240. type: string
  11241. produces:
  11242. - application/json
  11243. responses:
  11244. "200":
  11245. description: OK
  11246. schema:
  11247. items:
  11248. $ref: '#/definitions/erms3.QryPendingBizRsp'
  11249. type: array
  11250. "500":
  11251. description: Internal Server Error
  11252. schema:
  11253. $ref: '#/definitions/app.Response'
  11254. security:
  11255. - ApiKeyAuth: []
  11256. summary: 查询待审核基差贸易业务
  11257. tags:
  11258. - 风险管理v3
  11259. /Erms3/QuerySpotContractAppleForm:
  11260. get:
  11261. parameters:
  11262. - description: 登录账号
  11263. in: query
  11264. name: loginID
  11265. required: true
  11266. type: integer
  11267. produces:
  11268. - application/json
  11269. responses:
  11270. "200":
  11271. description: OK
  11272. schema:
  11273. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  11274. "500":
  11275. description: Internal Server Error
  11276. schema:
  11277. $ref: '#/definitions/app.Response'
  11278. security:
  11279. - ApiKeyAuth: []
  11280. summary: 查询合同申请表单数据
  11281. tags:
  11282. - 风险管理v3
  11283. /Erms3/QuerySpotContractDetail:
  11284. get:
  11285. parameters:
  11286. - description: 资金账号ID列表,用逗号分隔
  11287. in: query
  11288. name: accountids
  11289. required: true
  11290. type: string
  11291. - description: 合同类型,1为采购合同 -1为销售合同
  11292. in: query
  11293. name: contracttype
  11294. required: true
  11295. type: integer
  11296. - description: 合同模式,1为普通合同 2为回购销售合同
  11297. in: query
  11298. name: contractmode
  11299. required: true
  11300. type: integer
  11301. - description: 状态,0为履约中 1为已完成
  11302. in: query
  11303. name: status
  11304. required: true
  11305. type: integer
  11306. produces:
  11307. - application/json
  11308. responses:
  11309. "200":
  11310. description: OK
  11311. schema:
  11312. items:
  11313. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  11314. type: array
  11315. "500":
  11316. description: Internal Server Error
  11317. schema:
  11318. $ref: '#/definitions/app.Response'
  11319. security:
  11320. - ApiKeyAuth: []
  11321. summary: 查询合同详细信息
  11322. tags:
  11323. - 风险管理v3
  11324. /Erms3/QueryUserInfoApplies:
  11325. get:
  11326. parameters:
  11327. - description: 页码
  11328. in: query
  11329. name: page
  11330. type: integer
  11331. - description: 每页条数
  11332. in: query
  11333. name: pagesize
  11334. type: integer
  11335. - description: 客户名称,支持模糊查询
  11336. in: query
  11337. name: userName
  11338. type: string
  11339. produces:
  11340. - application/json
  11341. responses:
  11342. "200":
  11343. description: OK
  11344. schema:
  11345. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  11346. "500":
  11347. description: Internal Server Error
  11348. schema:
  11349. $ref: '#/definitions/app.Response'
  11350. security:
  11351. - ApiKeyAuth: []
  11352. summary: 客户申请信息查询
  11353. tags:
  11354. - 风险管理v3
  11355. /Erms3/QueryUserInfos:
  11356. get:
  11357. parameters:
  11358. - description: 页码
  11359. in: query
  11360. name: page
  11361. type: integer
  11362. - description: 每页条数
  11363. in: query
  11364. name: pagesize
  11365. type: integer
  11366. - description: 客户名称,支持模糊查询
  11367. in: query
  11368. name: userName
  11369. type: string
  11370. produces:
  11371. - application/json
  11372. responses:
  11373. "200":
  11374. description: OK
  11375. schema:
  11376. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  11377. "500":
  11378. description: Internal Server Error
  11379. schema:
  11380. $ref: '#/definitions/app.Response'
  11381. security:
  11382. - ApiKeyAuth: []
  11383. summary: 客户信息查询
  11384. tags:
  11385. - 风险管理v3
  11386. /HSBY/GetHsbyMyCount:
  11387. get:
  11388. description: 说明: 不包括已完成的数量。
  11389. parameters:
  11390. - description: 资金账户列表,格式:1,2,3
  11391. in: query
  11392. name: accountIDs
  11393. required: true
  11394. type: string
  11395. produces:
  11396. - application/json
  11397. responses:
  11398. "200":
  11399. description: OK
  11400. schema:
  11401. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  11402. "500":
  11403. description: Internal Server Error
  11404. schema:
  11405. $ref: '#/definitions/app.Response'
  11406. security:
  11407. - ApiKeyAuth: []
  11408. summary: 获取我的订单与包裹数量
  11409. tags:
  11410. - 定制【海商报业】
  11411. /HSBY/QueryClientFixedADConfigs:
  11412. get:
  11413. produces:
  11414. - application/json
  11415. responses:
  11416. "200":
  11417. description: OK
  11418. schema:
  11419. $ref: '#/definitions/models.Clientfixedadconfig'
  11420. "500":
  11421. description: Internal Server Error
  11422. schema:
  11423. $ref: '#/definitions/app.Response'
  11424. security:
  11425. - ApiKeyAuth: []
  11426. summary: 获取终端固定广告配置
  11427. tags:
  11428. - 定制【海商报业】
  11429. /HSBY/QueryHsbyBuyMyTradeDetail:
  11430. get:
  11431. parameters:
  11432. - description: 页码
  11433. in: query
  11434. name: page
  11435. type: integer
  11436. - description: 每页条数
  11437. in: query
  11438. name: pagesize
  11439. type: integer
  11440. - description: 资金账户列表,格式:1,2,3
  11441. in: query
  11442. name: accountIDs
  11443. required: true
  11444. type: string
  11445. produces:
  11446. - application/json
  11447. responses:
  11448. "200":
  11449. description: OK
  11450. schema:
  11451. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  11452. "500":
  11453. description: Internal Server Error
  11454. schema:
  11455. $ref: '#/definitions/app.Response'
  11456. security:
  11457. - ApiKeyAuth: []
  11458. summary: 查询"我的订单 - 已完成"单据信息
  11459. tags:
  11460. - 定制【海商报业】
  11461. /HSBY/QueryHsbyGoodsOrderDetails:
  11462. get:
  11463. description: 说明:查询结果已按委托价格和委托时间排序
  11464. parameters:
  11465. - description: 商品ID
  11466. in: query
  11467. name: goodsID
  11468. required: true
  11469. type: integer
  11470. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  11471. in: query
  11472. name: accountIDs
  11473. type: string
  11474. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  11475. in: query
  11476. name: buyOrSell
  11477. type: integer
  11478. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  11479. in: query
  11480. name: price
  11481. type: number
  11482. - description: 档位,不传则默认为3档
  11483. in: query
  11484. name: speed
  11485. type: integer
  11486. produces:
  11487. - application/json
  11488. responses:
  11489. "200":
  11490. description: OK
  11491. schema:
  11492. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  11493. "500":
  11494. description: Internal Server Error
  11495. schema:
  11496. $ref: '#/definitions/app.Response'
  11497. security:
  11498. - ApiKeyAuth: []
  11499. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  11500. tags:
  11501. - 定制【海商报业】
  11502. /HSBY/QueryHsbyListingGoodsDetail:
  11503. get:
  11504. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  11505. parameters:
  11506. - description: 商品ID
  11507. in: query
  11508. name: goodsID
  11509. required: true
  11510. type: integer
  11511. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  11512. in: query
  11513. name: accountID
  11514. type: integer
  11515. produces:
  11516. - application/json
  11517. responses:
  11518. "200":
  11519. description: OK
  11520. schema:
  11521. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  11522. "500":
  11523. description: Internal Server Error
  11524. schema:
  11525. $ref: '#/definitions/app.Response'
  11526. security:
  11527. - ApiKeyAuth: []
  11528. summary: 查询二级市场(挂牌点选)商品信息详情
  11529. tags:
  11530. - 定制【海商报业】
  11531. /HSBY/QueryHsbyMarketGoodsDetail:
  11532. get:
  11533. parameters:
  11534. - description: 委托单号
  11535. in: query
  11536. name: orderID
  11537. required: true
  11538. type: integer
  11539. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  11540. in: query
  11541. name: accountID
  11542. type: integer
  11543. produces:
  11544. - application/json
  11545. responses:
  11546. "200":
  11547. description: OK
  11548. schema:
  11549. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  11550. "500":
  11551. description: Internal Server Error
  11552. schema:
  11553. $ref: '#/definitions/app.Response'
  11554. security:
  11555. - ApiKeyAuth: []
  11556. summary: 查询三级市场(商城)商品信息详情
  11557. tags:
  11558. - 定制【海商报业】
  11559. /HSBY/QueryHsbyMarketGoodses:
  11560. get:
  11561. parameters:
  11562. - description: 页码
  11563. in: query
  11564. name: page
  11565. type: integer
  11566. - description: 每页条数
  11567. in: query
  11568. name: pagesize
  11569. type: integer
  11570. - description: 市场ID列表,格式:1,2,3
  11571. in: query
  11572. name: marketIDs
  11573. required: true
  11574. type: string
  11575. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  11576. in: query
  11577. name: accountID
  11578. required: true
  11579. type: integer
  11580. - description: 类别ID
  11581. in: query
  11582. name: categoryID
  11583. type: integer
  11584. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  11585. in: query
  11586. name: goodsIDs
  11587. type: string
  11588. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  11589. in: query
  11590. name: couponTypeID
  11591. type: integer
  11592. produces:
  11593. - application/json
  11594. responses:
  11595. "200":
  11596. description: OK
  11597. schema:
  11598. $ref: '#/definitions/models.HsbyMarketGoods'
  11599. "500":
  11600. description: Internal Server Error
  11601. schema:
  11602. $ref: '#/definitions/app.Response'
  11603. security:
  11604. - ApiKeyAuth: []
  11605. summary: 查询特卖商品列表(三级商城)
  11606. tags:
  11607. - 定制【海商报业】
  11608. /HSBY/QueryHsbyMarkets:
  11609. get:
  11610. produces:
  11611. - application/json
  11612. responses:
  11613. "200":
  11614. description: OK
  11615. schema:
  11616. $ref: '#/definitions/models.HsbyMarketInfo'
  11617. "500":
  11618. description: Internal Server Error
  11619. schema:
  11620. $ref: '#/definitions/app.Response'
  11621. security:
  11622. - ApiKeyAuth: []
  11623. summary: 查询海商报业相关市场信息
  11624. tags:
  11625. - 定制【海商报业】
  11626. /HSBY/QueryHsbyMyBuyOrderDetails:
  11627. get:
  11628. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  11629. parameters:
  11630. - description: 资金账户列表,格式:1,2,3
  11631. in: query
  11632. name: accountIDs
  11633. required: true
  11634. type: string
  11635. produces:
  11636. - application/json
  11637. responses:
  11638. "200":
  11639. description: OK
  11640. schema:
  11641. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  11642. "500":
  11643. description: Internal Server Error
  11644. schema:
  11645. $ref: '#/definitions/app.Response'
  11646. security:
  11647. - ApiKeyAuth: []
  11648. summary: 查询“我的订单”信息
  11649. tags:
  11650. - 定制【海商报业】
  11651. /HSBY/QueryHsbyMyGoods:
  11652. get:
  11653. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  11654. parameters:
  11655. - description: 资金账户列表,格式:1,2,3
  11656. in: query
  11657. name: accountIDs
  11658. required: true
  11659. type: string
  11660. produces:
  11661. - application/json
  11662. responses:
  11663. "200":
  11664. description: OK
  11665. schema:
  11666. $ref: '#/definitions/models.HsbyMyGoods'
  11667. "500":
  11668. description: Internal Server Error
  11669. schema:
  11670. $ref: '#/definitions/app.Response'
  11671. security:
  11672. - ApiKeyAuth: []
  11673. summary: 查询“我的商品”信息
  11674. tags:
  11675. - 定制【海商报业】
  11676. /HSBY/QueryHsbyMyPackages:
  11677. get:
  11678. parameters:
  11679. - description: 资金账户列表,格式:1,2,3
  11680. in: query
  11681. name: accountIDs
  11682. required: true
  11683. type: string
  11684. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11685. in: query
  11686. name: takeOrderStatus
  11687. type: integer
  11688. produces:
  11689. - application/json
  11690. responses:
  11691. "200":
  11692. description: OK
  11693. schema:
  11694. $ref: '#/definitions/models.HsbyMyPackage'
  11695. "500":
  11696. description: Internal Server Error
  11697. schema:
  11698. $ref: '#/definitions/app.Response'
  11699. security:
  11700. - ApiKeyAuth: []
  11701. summary: 查询我的包裹信息
  11702. tags:
  11703. - 定制【海商报业】
  11704. /HSBY/QueryHsbyPreGoodsDetail:
  11705. get:
  11706. parameters:
  11707. - description: 商品ID
  11708. in: query
  11709. name: goodsID
  11710. required: true
  11711. type: integer
  11712. - description: 资金账户,主要用于获取预售商品购买上限
  11713. in: query
  11714. name: accountID
  11715. type: integer
  11716. produces:
  11717. - application/json
  11718. responses:
  11719. "200":
  11720. description: OK
  11721. schema:
  11722. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  11723. "500":
  11724. description: Internal Server Error
  11725. schema:
  11726. $ref: '#/definitions/app.Response'
  11727. security:
  11728. - ApiKeyAuth: []
  11729. summary: 查询一级市场(预售)商品信息详情
  11730. tags:
  11731. - 定制【海商报业】
  11732. /HSBY/QueryHsbyPreGoodses:
  11733. get:
  11734. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  11735. parameters:
  11736. - description: 页码
  11737. in: query
  11738. name: page
  11739. type: integer
  11740. - description: 每页条数
  11741. in: query
  11742. name: pagesize
  11743. type: integer
  11744. - description: 市场ID列表,格式:1,2,3
  11745. in: query
  11746. name: marketIDs
  11747. required: true
  11748. type: string
  11749. - description: 目的地(省)ID
  11750. in: query
  11751. name: descProvinceID
  11752. type: integer
  11753. - description: 目的地(市)ID
  11754. in: query
  11755. name: descCityID
  11756. type: integer
  11757. produces:
  11758. - application/json
  11759. responses:
  11760. "200":
  11761. description: OK
  11762. schema:
  11763. $ref: '#/definitions/models.HsbyPreGoods'
  11764. "500":
  11765. description: Internal Server Error
  11766. schema:
  11767. $ref: '#/definitions/app.Response'
  11768. security:
  11769. - ApiKeyAuth: []
  11770. summary: 查询新品上市商品列表(一级市场预售)
  11771. tags:
  11772. - 定制【海商报业】
  11773. /HSBY/QueryHsbySellMyDetails:
  11774. get:
  11775. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  11776. parameters:
  11777. - description: 页码
  11778. in: query
  11779. name: page
  11780. type: integer
  11781. - description: 每页条数
  11782. in: query
  11783. name: pagesize
  11784. type: integer
  11785. - description: 资金账户列表,格式:1,2,3
  11786. in: query
  11787. name: accountIDs
  11788. required: true
  11789. type: string
  11790. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  11791. in: query
  11792. name: orderType
  11793. type: integer
  11794. produces:
  11795. - application/json
  11796. responses:
  11797. "200":
  11798. description: OK
  11799. schema:
  11800. $ref: '#/definitions/models.HsbySellMyDetail'
  11801. "500":
  11802. description: Internal Server Error
  11803. schema:
  11804. $ref: '#/definitions/app.Response'
  11805. security:
  11806. - ApiKeyAuth: []
  11807. summary: 查询"我的闲置"单据信息
  11808. tags:
  11809. - 定制【海商报业】
  11810. /HSBY/QueryHsbyTopGoodses:
  11811. get:
  11812. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  11813. parameters:
  11814. - description: 页码
  11815. in: query
  11816. name: page
  11817. type: integer
  11818. - description: 每页条数
  11819. in: query
  11820. name: pagesize
  11821. type: integer
  11822. - description: 市场ID列表,格式:1,2,3
  11823. in: query
  11824. name: marketIDs
  11825. required: true
  11826. type: string
  11827. - description: 目的地(省)ID
  11828. in: query
  11829. name: descProvinceID
  11830. type: integer
  11831. - description: 目的地(市)ID
  11832. in: query
  11833. name: descCityID
  11834. type: integer
  11835. produces:
  11836. - application/json
  11837. responses:
  11838. "200":
  11839. description: OK
  11840. schema:
  11841. $ref: '#/definitions/models.HsbyTopGoods'
  11842. "500":
  11843. description: Internal Server Error
  11844. schema:
  11845. $ref: '#/definitions/app.Response'
  11846. security:
  11847. - ApiKeyAuth: []
  11848. summary: 查询热卖商品列表(二级市场挂牌点选)
  11849. tags:
  11850. - 定制【海商报业】
  11851. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  11852. get:
  11853. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  11854. parameters:
  11855. - description: 商品ID
  11856. in: query
  11857. name: goodsID
  11858. required: true
  11859. type: integer
  11860. produces:
  11861. - application/json
  11862. responses:
  11863. "200":
  11864. description: OK
  11865. schema:
  11866. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  11867. "500":
  11868. description: Internal Server Error
  11869. schema:
  11870. $ref: '#/definitions/app.Response'
  11871. security:
  11872. - ApiKeyAuth: []
  11873. summary: 查询游客三级市场(商城)商品信息详情
  11874. tags:
  11875. - 定制【海商报业】
  11876. /HSBY/QueryHsbyVisitorMarketGoodses:
  11877. get:
  11878. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  11879. parameters:
  11880. - description: 页码
  11881. in: query
  11882. name: page
  11883. type: integer
  11884. - description: 每页条数
  11885. in: query
  11886. name: pagesize
  11887. type: integer
  11888. - description: 市场ID列表,格式:1,2,3
  11889. in: query
  11890. name: marketIDs
  11891. required: true
  11892. type: string
  11893. - description: 类别ID
  11894. in: query
  11895. name: categoryID
  11896. type: integer
  11897. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  11898. in: query
  11899. name: goodsIDs
  11900. type: string
  11901. produces:
  11902. - application/json
  11903. responses:
  11904. "200":
  11905. description: OK
  11906. schema:
  11907. $ref: '#/definitions/models.HsbyMarketGoods'
  11908. "500":
  11909. description: Internal Server Error
  11910. schema:
  11911. $ref: '#/definitions/app.Response'
  11912. security:
  11913. - ApiKeyAuth: []
  11914. summary: 查询游客特卖商品列表(三级商城)
  11915. tags:
  11916. - 定制【海商报业】
  11917. /HSBY/QueryMyCollectionOrders:
  11918. get:
  11919. parameters:
  11920. - description: 页码
  11921. in: query
  11922. name: page
  11923. type: integer
  11924. - description: 每页条数
  11925. in: query
  11926. name: pagesize
  11927. type: integer
  11928. - description: 资金账户,格式:1,2,3
  11929. in: query
  11930. name: accountIDs
  11931. required: true
  11932. type: string
  11933. produces:
  11934. - application/json
  11935. responses:
  11936. "200":
  11937. description: OK
  11938. schema:
  11939. $ref: '#/definitions/models.HsbySellCollectionOrder'
  11940. "500":
  11941. description: Internal Server Error
  11942. schema:
  11943. $ref: '#/definitions/app.Response'
  11944. security:
  11945. - ApiKeyAuth: []
  11946. summary: 我的闲置中收款信息查询
  11947. tags:
  11948. - 定制【海商报业】
  11949. /HSBY/QueryMyCouponHolds:
  11950. get:
  11951. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  11952. parameters:
  11953. - description: 资金账户列表,格式:1,2,3
  11954. in: query
  11955. name: accountIDs
  11956. required: true
  11957. type: string
  11958. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  11959. in: query
  11960. name: holdStatus
  11961. type: string
  11962. produces:
  11963. - application/json
  11964. responses:
  11965. "200":
  11966. description: OK
  11967. schema:
  11968. $ref: '#/definitions/models.MyCouponHold'
  11969. "500":
  11970. description: Internal Server Error
  11971. schema:
  11972. $ref: '#/definitions/app.Response'
  11973. security:
  11974. - ApiKeyAuth: []
  11975. summary: 我的优惠卷持仓查询
  11976. tags:
  11977. - 定制【海商报业】
  11978. /HSBY/QueryMyCoupons:
  11979. get:
  11980. parameters:
  11981. - description: 资金账户列表,格式:1,2,3
  11982. in: query
  11983. name: accountIDs
  11984. required: true
  11985. type: string
  11986. - description: 商品ID, 一般与sellUserID配套传入
  11987. in: query
  11988. name: goodsID
  11989. type: integer
  11990. - description: 卖方UserID
  11991. in: query
  11992. name: sellUserID
  11993. type: integer
  11994. produces:
  11995. - application/json
  11996. responses:
  11997. "200":
  11998. description: OK
  11999. schema:
  12000. $ref: '#/definitions/models.MyCoupon'
  12001. "500":
  12002. description: Internal Server Error
  12003. schema:
  12004. $ref: '#/definitions/app.Response'
  12005. security:
  12006. - ApiKeyAuth: []
  12007. summary: 我的优惠卷查询
  12008. tags:
  12009. - 定制【海商报业】
  12010. /HSBY/QueryMyPayOrders:
  12011. get:
  12012. parameters:
  12013. - description: 页码
  12014. in: query
  12015. name: page
  12016. type: integer
  12017. - description: 每页条数
  12018. in: query
  12019. name: pagesize
  12020. type: integer
  12021. - description: 资金账户列表,格式:1,2,3
  12022. in: query
  12023. name: accountIDs
  12024. required: true
  12025. type: string
  12026. - description: 买方委托单号
  12027. in: query
  12028. name: buyOrderID
  12029. type: integer
  12030. - description: 卖方委托单号
  12031. in: query
  12032. name: sellOrderID
  12033. type: integer
  12034. produces:
  12035. - application/json
  12036. responses:
  12037. "200":
  12038. description: OK
  12039. schema:
  12040. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  12041. "500":
  12042. description: Internal Server Error
  12043. schema:
  12044. $ref: '#/definitions/app.Response'
  12045. security:
  12046. - ApiKeyAuth: []
  12047. summary: 获取我的订单中待付款信息
  12048. tags:
  12049. - 定制【海商报业】
  12050. /HSBY/QueryMyUsedCoupon:
  12051. get:
  12052. parameters:
  12053. - description: 资金账户列表,格式:1,2,3
  12054. in: query
  12055. name: accountIDs
  12056. required: true
  12057. type: string
  12058. produces:
  12059. - application/json
  12060. responses:
  12061. "200":
  12062. description: OK
  12063. schema:
  12064. $ref: '#/definitions/models.MyUsedCoupon'
  12065. "500":
  12066. description: Internal Server Error
  12067. schema:
  12068. $ref: '#/definitions/app.Response'
  12069. security:
  12070. - ApiKeyAuth: []
  12071. summary: 已使用优惠卷查询
  12072. tags:
  12073. - 定制【海商报业】
  12074. /HSBY/QueryProvincesAndCities:
  12075. get:
  12076. description: 查询结果只包括二级市场商品已关连的省市信息。
  12077. parameters:
  12078. - description: 省ID
  12079. in: query
  12080. name: provinceID
  12081. type: integer
  12082. produces:
  12083. - application/json
  12084. responses:
  12085. "200":
  12086. description: OK
  12087. schema:
  12088. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  12089. "500":
  12090. description: Internal Server Error
  12091. schema:
  12092. $ref: '#/definitions/app.Response'
  12093. security:
  12094. - ApiKeyAuth: []
  12095. summary: 查询省市信息(不包括区)
  12096. tags:
  12097. - 定制【海商报业】
  12098. /HSBY/SetHsbyMyPackagesStatus:
  12099. post:
  12100. parameters:
  12101. - description: 提货单号
  12102. in: query
  12103. name: takeOrderID
  12104. required: true
  12105. type: string
  12106. - description: 资金账号
  12107. in: query
  12108. name: accountID
  12109. required: true
  12110. type: integer
  12111. produces:
  12112. - application/json
  12113. responses:
  12114. "200":
  12115. description: OK
  12116. schema:
  12117. $ref: '#/definitions/app.Response'
  12118. "500":
  12119. description: Internal Server Error
  12120. schema:
  12121. $ref: '#/definitions/app.Response'
  12122. security:
  12123. - ApiKeyAuth: []
  12124. summary: 设置我的包裹已收货状态
  12125. tags:
  12126. - 定制【海商报业】
  12127. /Market/QueryGoodsesByLoginID:
  12128. get:
  12129. parameters:
  12130. - description: 登录账号
  12131. in: query
  12132. name: loginID
  12133. required: true
  12134. type: integer
  12135. - description: 市场ID列表,格式:1,2,3
  12136. in: query
  12137. name: marketIDs
  12138. type: string
  12139. produces:
  12140. - application/json
  12141. responses:
  12142. "200":
  12143. description: OK
  12144. schema:
  12145. $ref: '#/definitions/models.Goods'
  12146. "500":
  12147. description: Internal Server Error
  12148. schema:
  12149. $ref: '#/definitions/app.Response'
  12150. security:
  12151. - ApiKeyAuth: []
  12152. summary: 获取登录账号有权限的商品信息
  12153. tags:
  12154. - 通用市场
  12155. /Market/QueryMarketRun:
  12156. get:
  12157. parameters:
  12158. - description: 市场ID,不传返回所有
  12159. in: query
  12160. name: marketID
  12161. type: integer
  12162. produces:
  12163. - application/json
  12164. responses:
  12165. "200":
  12166. description: OK
  12167. schema:
  12168. $ref: '#/definitions/models.Marketrun'
  12169. "500":
  12170. description: Internal Server Error
  12171. schema:
  12172. $ref: '#/definitions/app.Response'
  12173. security:
  12174. - ApiKeyAuth: []
  12175. summary: 查询市场运行信息
  12176. tags:
  12177. - 通用市场
  12178. /Market/QueryMarketsByLoginID:
  12179. get:
  12180. parameters:
  12181. - description: 登录账号
  12182. in: query
  12183. name: loginID
  12184. required: true
  12185. type: integer
  12186. produces:
  12187. - application/json
  12188. responses:
  12189. "200":
  12190. description: OK
  12191. schema:
  12192. $ref: '#/definitions/models.Market'
  12193. "500":
  12194. description: Internal Server Error
  12195. schema:
  12196. $ref: '#/definitions/app.Response'
  12197. security:
  12198. - ApiKeyAuth: []
  12199. summary: 获取登录账号有权限的市场信息
  12200. tags:
  12201. - 通用市场
  12202. /Order/QueryHisTradeDetail:
  12203. get:
  12204. parameters:
  12205. - description: 资金账户 - 格式:1,2,3
  12206. in: query
  12207. name: accountID
  12208. required: true
  12209. type: string
  12210. - description: 成交单号
  12211. in: query
  12212. name: tradeID
  12213. type: integer
  12214. - description: 委托单号
  12215. in: query
  12216. name: orderID
  12217. type: integer
  12218. - description: 交易模式 - 格式:1,2,3
  12219. in: query
  12220. name: tradeMode
  12221. type: string
  12222. - description: 委托单据类型
  12223. in: query
  12224. name: buildType
  12225. type: integer
  12226. - description: 成交类别 - 格式:1,2,3
  12227. in: query
  12228. name: tradeType
  12229. type: string
  12230. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12231. in: query
  12232. name: startDate
  12233. type: string
  12234. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12235. in: query
  12236. name: endDate
  12237. type: string
  12238. produces:
  12239. - application/json
  12240. responses:
  12241. "200":
  12242. description: OK
  12243. schema:
  12244. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  12245. "500":
  12246. description: Internal Server Error
  12247. schema:
  12248. $ref: '#/definitions/app.Response'
  12249. security:
  12250. - ApiKeyAuth: []
  12251. summary: 历史成交单查询(合约市场)
  12252. tags:
  12253. - 通用单据
  12254. /Order/QueryHisTradeOrderDetail:
  12255. get:
  12256. parameters:
  12257. - description: 资金账户 - 格式:1,2,3
  12258. in: query
  12259. name: accountID
  12260. required: true
  12261. type: string
  12262. - description: 交易模式 - 格式:1,2,3
  12263. in: query
  12264. name: tradeMode
  12265. type: string
  12266. - description: 委托状态 - 格式:1,2,3
  12267. in: query
  12268. name: orderStatus
  12269. type: string
  12270. - description: 委托单号
  12271. in: query
  12272. name: orderID
  12273. type: integer
  12274. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12275. in: query
  12276. name: startDate
  12277. type: string
  12278. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12279. in: query
  12280. name: endDate
  12281. type: string
  12282. produces:
  12283. - application/json
  12284. responses:
  12285. "200":
  12286. description: OK
  12287. schema:
  12288. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  12289. "500":
  12290. description: Internal Server Error
  12291. schema:
  12292. $ref: '#/definitions/app.Response'
  12293. security:
  12294. - ApiKeyAuth: []
  12295. summary: 历史委托单查询请求(合约市场)
  12296. tags:
  12297. - 通用单据
  12298. /Order/QueryTradeDetail:
  12299. get:
  12300. parameters:
  12301. - description: 资金账户 - 格式:1,2,3
  12302. in: query
  12303. name: accountID
  12304. required: true
  12305. type: string
  12306. - description: 成交单号
  12307. in: query
  12308. name: tradeID
  12309. type: integer
  12310. - description: 委托单号
  12311. in: query
  12312. name: orderID
  12313. type: integer
  12314. - description: 交易模式 - 格式:1,2,3
  12315. in: query
  12316. name: tradeMode
  12317. type: string
  12318. - description: 委托单据类型
  12319. in: query
  12320. name: buildType
  12321. type: integer
  12322. - description: 成交类别 - 格式:1,2,3
  12323. in: query
  12324. name: tradeType
  12325. type: string
  12326. produces:
  12327. - application/json
  12328. responses:
  12329. "200":
  12330. description: OK
  12331. schema:
  12332. $ref: '#/definitions/order.QueryTradeDetailRsp'
  12333. "500":
  12334. description: Internal Server Error
  12335. schema:
  12336. $ref: '#/definitions/app.Response'
  12337. security:
  12338. - ApiKeyAuth: []
  12339. summary: 成交单查询(合约市场)
  12340. tags:
  12341. - 通用单据
  12342. /Order/QueryTradeOrderDetail:
  12343. get:
  12344. parameters:
  12345. - description: 资金账户 - 格式:1,2,3
  12346. in: query
  12347. name: accountID
  12348. required: true
  12349. type: string
  12350. - description: 交易模式 - 格式:1,2,3
  12351. in: query
  12352. name: tradeMode
  12353. type: string
  12354. - description: 委托状态 - 格式:1,2,3
  12355. in: query
  12356. name: orderStatus
  12357. type: string
  12358. - description: 委托单号
  12359. in: query
  12360. name: orderID
  12361. type: integer
  12362. produces:
  12363. - application/json
  12364. responses:
  12365. "200":
  12366. description: OK
  12367. schema:
  12368. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  12369. "500":
  12370. description: Internal Server Error
  12371. schema:
  12372. $ref: '#/definitions/app.Response'
  12373. security:
  12374. - ApiKeyAuth: []
  12375. summary: 委托单查询请求(合约市场)
  12376. tags:
  12377. - 通用单据
  12378. /Order/QueryTradePosition:
  12379. get:
  12380. parameters:
  12381. - description: 资金账户 - 格式:1,2,3
  12382. in: query
  12383. name: accountID
  12384. required: true
  12385. type: string
  12386. - description: 交易模式 - 格式:1,2,3
  12387. in: query
  12388. name: tradeMode
  12389. type: string
  12390. produces:
  12391. - application/json
  12392. responses:
  12393. "200":
  12394. description: OK
  12395. schema:
  12396. $ref: '#/definitions/order.QueryTradePositionRsp'
  12397. "500":
  12398. description: Internal Server Error
  12399. schema:
  12400. $ref: '#/definitions/app.Response'
  12401. security:
  12402. - ApiKeyAuth: []
  12403. summary: 持仓汇总查询(合约市场)
  12404. tags:
  12405. - 通用单据
  12406. /Quote/QueryHistoryDatas:
  12407. get:
  12408. parameters:
  12409. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  12410. 日线'
  12411. in: query
  12412. name: cycleType
  12413. required: true
  12414. type: integer
  12415. - description: 商品代码
  12416. in: query
  12417. name: goodsCode
  12418. required: true
  12419. type: string
  12420. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  12421. in: query
  12422. name: startTime
  12423. type: string
  12424. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  12425. in: query
  12426. name: endTime
  12427. type: string
  12428. - description: 条数
  12429. in: query
  12430. name: count
  12431. type: integer
  12432. - description: 是否按时间顺序排序(默认为时间倒序排序)
  12433. in: query
  12434. name: isAsc
  12435. type: boolean
  12436. produces:
  12437. - application/json
  12438. responses:
  12439. "200":
  12440. description: OK
  12441. schema:
  12442. $ref: '#/definitions/quote.HistoryData'
  12443. "500":
  12444. description: Internal Server Error
  12445. schema:
  12446. $ref: '#/definitions/app.Response'
  12447. security:
  12448. - ApiKeyAuth: []
  12449. summary: 查询行情历史数据
  12450. tags:
  12451. - 行情服务
  12452. /Quote/QueryHistoryTikDatas:
  12453. get:
  12454. parameters:
  12455. - description: 商品代码
  12456. in: query
  12457. name: goodsCode
  12458. required: true
  12459. type: string
  12460. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  12461. in: query
  12462. name: startTime
  12463. type: string
  12464. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  12465. in: query
  12466. name: endTime
  12467. type: string
  12468. - description: 条数
  12469. in: query
  12470. name: count
  12471. type: integer
  12472. - description: 是否按时间顺序排序(默认为时间倒序排序)
  12473. in: query
  12474. name: isAsc
  12475. type: boolean
  12476. produces:
  12477. - application/json
  12478. responses:
  12479. "200":
  12480. description: OK
  12481. schema:
  12482. $ref: '#/definitions/quote.HistoryTikData'
  12483. "500":
  12484. description: Internal Server Error
  12485. schema:
  12486. $ref: '#/definitions/app.Response'
  12487. security:
  12488. - ApiKeyAuth: []
  12489. summary: 查询行情Tik数据
  12490. tags:
  12491. - 行情服务
  12492. /Quote/QueryQuoteDay:
  12493. get:
  12494. parameters:
  12495. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  12496. in: query
  12497. name: goodsCodes
  12498. required: true
  12499. type: string
  12500. produces:
  12501. - application/json
  12502. responses:
  12503. "200":
  12504. description: OK
  12505. schema:
  12506. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  12507. "500":
  12508. description: Internal Server Error
  12509. schema:
  12510. $ref: '#/definitions/app.Response'
  12511. security:
  12512. - ApiKeyAuth: []
  12513. summary: 获取商品盘面信息
  12514. tags:
  12515. - 行情服务
  12516. /Quote/QueryTSData:
  12517. get:
  12518. parameters:
  12519. - description: 商品代码
  12520. in: query
  12521. name: goodsCode
  12522. required: true
  12523. type: string
  12524. produces:
  12525. - application/json
  12526. responses:
  12527. "200":
  12528. description: OK
  12529. schema:
  12530. $ref: '#/definitions/quote.QueryTSDataRsp'
  12531. "500":
  12532. description: Internal Server Error
  12533. schema:
  12534. $ref: '#/definitions/app.Response'
  12535. security:
  12536. - ApiKeyAuth: []
  12537. summary: 分时图数据查询
  12538. tags:
  12539. - 行情服务
  12540. /SZDZ/QueryConvertConfig:
  12541. get:
  12542. parameters:
  12543. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12544. 6:交易转花生米(不设置)
  12545. in: query
  12546. name: convertType
  12547. type: integer
  12548. - description: 外部商品代码[JD\PD]
  12549. in: query
  12550. name: outerGoodsCode
  12551. type: string
  12552. - description: 内部商品ID列表[交易],格式:1,2,3
  12553. in: query
  12554. name: innerGoodsIDs
  12555. type: string
  12556. produces:
  12557. - application/json
  12558. responses:
  12559. "200":
  12560. description: OK
  12561. schema:
  12562. $ref: '#/definitions/models.Szdz3convertconfig'
  12563. "500":
  12564. description: Internal Server Error
  12565. schema:
  12566. $ref: '#/definitions/app.Response'
  12567. security:
  12568. - ApiKeyAuth: []
  12569. summary: 查询交易系统转换设置
  12570. tags:
  12571. - 定制【尚志大宗】
  12572. /SZDZ/QueryConvertLog:
  12573. get:
  12574. parameters:
  12575. - description: 资金账户 - 格式:1,2,3
  12576. in: query
  12577. name: accountID
  12578. required: true
  12579. type: string
  12580. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12581. in: query
  12582. name: startDate
  12583. type: string
  12584. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12585. in: query
  12586. name: endDate
  12587. type: string
  12588. produces:
  12589. - application/json
  12590. responses:
  12591. "200":
  12592. description: OK
  12593. schema:
  12594. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  12595. "500":
  12596. description: Internal Server Error
  12597. schema:
  12598. $ref: '#/definitions/app.Response'
  12599. security:
  12600. - ApiKeyAuth: []
  12601. summary: 交易系统转换流水查询
  12602. tags:
  12603. - 定制【尚志大宗】
  12604. /SZDZ/QueryGoodsPickup:
  12605. get:
  12606. parameters:
  12607. - description: 资金账户 - 格式:1,2,3
  12608. in: query
  12609. name: accountID
  12610. required: true
  12611. type: string
  12612. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  12613. in: query
  12614. name: takeOrderStatus
  12615. type: integer
  12616. produces:
  12617. - application/json
  12618. responses:
  12619. "200":
  12620. description: OK
  12621. schema:
  12622. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  12623. "500":
  12624. description: Internal Server Error
  12625. schema:
  12626. $ref: '#/definitions/app.Response'
  12627. security:
  12628. - ApiKeyAuth: []
  12629. summary: 商品提货单查询
  12630. tags:
  12631. - 定制【尚志大宗】
  12632. /SZDZ/QueryRecieptOrder:
  12633. get:
  12634. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  12635. parameters:
  12636. - description: 页码
  12637. in: query
  12638. name: page
  12639. type: integer
  12640. - description: 每页条数
  12641. in: query
  12642. name: pagesize
  12643. type: integer
  12644. - description: 商品ID
  12645. in: query
  12646. name: goodsID
  12647. required: true
  12648. type: integer
  12649. - description: 所属账户名称
  12650. in: query
  12651. name: accountName
  12652. type: string
  12653. - description: 市场ID
  12654. in: query
  12655. name: marketID
  12656. type: integer
  12657. - description: 方向 - 0:买 1:卖
  12658. in: query
  12659. name: buyorsell
  12660. required: true
  12661. type: integer
  12662. produces:
  12663. - application/json
  12664. responses:
  12665. "200":
  12666. description: OK
  12667. schema:
  12668. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  12669. "500":
  12670. description: Internal Server Error
  12671. schema:
  12672. $ref: '#/definitions/app.Response'
  12673. security:
  12674. - ApiKeyAuth: []
  12675. summary: 点选挂牌委托单据查询(摘牌大厅)
  12676. tags:
  12677. - 定制【尚志大宗】
  12678. /SZDZ/QuerySZDZTradePosition:
  12679. get:
  12680. parameters:
  12681. - description: 资金账户
  12682. in: query
  12683. name: accountID
  12684. required: true
  12685. type: integer
  12686. produces:
  12687. - application/json
  12688. responses:
  12689. "200":
  12690. description: OK
  12691. schema:
  12692. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  12693. "500":
  12694. description: Internal Server Error
  12695. schema:
  12696. $ref: '#/definitions/app.Response'
  12697. security:
  12698. - ApiKeyAuth: []
  12699. summary: 持仓汇总查询(尚志大宗)
  12700. tags:
  12701. - 定制【尚志大宗】
  12702. /SZDZ/SearchWhite:
  12703. get:
  12704. parameters:
  12705. - description: 用户ID
  12706. in: query
  12707. name: userID
  12708. required: true
  12709. type: integer
  12710. produces:
  12711. - application/json
  12712. responses:
  12713. "200":
  12714. description: OK
  12715. schema:
  12716. $ref: '#/definitions/models.Szdz3searchwhitelist'
  12717. "500":
  12718. description: Internal Server Error
  12719. schema:
  12720. $ref: '#/definitions/app.Response'
  12721. security:
  12722. - ApiKeyAuth: []
  12723. summary: 搜索白名单
  12724. tags:
  12725. - 定制【尚志大宗】
  12726. /Search/SearchGoodses:
  12727. get:
  12728. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  12729. parameters:
  12730. - description: 检索内容
  12731. in: query
  12732. name: content
  12733. required: true
  12734. type: string
  12735. - description: 交易模式,格式:1,2,3
  12736. in: query
  12737. name: tradeModes
  12738. type: string
  12739. produces:
  12740. - application/json
  12741. responses:
  12742. "200":
  12743. description: OK
  12744. schema:
  12745. $ref: '#/definitions/models.SearchGoods'
  12746. "500":
  12747. description: Internal Server Error
  12748. schema:
  12749. $ref: '#/definitions/app.Response'
  12750. summary: 检索商品信息
  12751. tags:
  12752. - 检索服务
  12753. /TaAccount/GetTaAccounts:
  12754. get:
  12755. parameters:
  12756. - description: 登录账户
  12757. in: query
  12758. name: loginID
  12759. required: true
  12760. type: integer
  12761. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12762. in: query
  12763. name: taAccountType
  12764. type: integer
  12765. produces:
  12766. - application/json
  12767. responses:
  12768. "200":
  12769. description: OK
  12770. schema:
  12771. $ref: '#/definitions/models.Taaccount'
  12772. "500":
  12773. description: Internal Server Error
  12774. schema:
  12775. $ref: '#/definitions/app.Response'
  12776. security:
  12777. - ApiKeyAuth: []
  12778. summary: 获取资金账户信息
  12779. tags:
  12780. - 资金账户
  12781. /TaAccount/QueryAmountLog:
  12782. get:
  12783. parameters:
  12784. - description: 页码
  12785. in: query
  12786. name: page
  12787. type: integer
  12788. - description: 每页条数
  12789. in: query
  12790. name: pagesize
  12791. type: integer
  12792. - description: 资金账户 - 格式:1,2,3
  12793. in: query
  12794. name: accountID
  12795. required: true
  12796. type: string
  12797. - description: 资金操作类型 - 格式:1,2,3
  12798. in: query
  12799. name: OperateType
  12800. type: string
  12801. produces:
  12802. - application/json
  12803. responses:
  12804. "200":
  12805. description: OK
  12806. schema:
  12807. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  12808. "500":
  12809. description: Internal Server Error
  12810. schema:
  12811. $ref: '#/definitions/app.Response'
  12812. security:
  12813. - ApiKeyAuth: []
  12814. summary: 资金流水查询(当前)
  12815. tags:
  12816. - 资金账户
  12817. /TaAccount/QueryHisAmountLog:
  12818. get:
  12819. parameters:
  12820. - description: 页码
  12821. in: query
  12822. name: page
  12823. type: integer
  12824. - description: 每页条数
  12825. in: query
  12826. name: pagesize
  12827. type: integer
  12828. - description: 资金账户 - 格式:1,2,3
  12829. in: query
  12830. name: accountID
  12831. required: true
  12832. type: string
  12833. - description: 资金操作类型 - 格式:1,2,3
  12834. in: query
  12835. name: OperateType
  12836. type: string
  12837. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12838. in: query
  12839. name: startDate
  12840. type: string
  12841. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12842. in: query
  12843. name: endDate
  12844. type: string
  12845. produces:
  12846. - application/json
  12847. responses:
  12848. "200":
  12849. description: OK
  12850. schema:
  12851. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  12852. "500":
  12853. description: Internal Server Error
  12854. schema:
  12855. $ref: '#/definitions/app.Response'
  12856. security:
  12857. - ApiKeyAuth: []
  12858. summary: 资金流水查询(历史)
  12859. tags:
  12860. - 资金账户
  12861. /Trade/QueryRecieptOrder:
  12862. get:
  12863. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  12864. parameters:
  12865. - description: 页码
  12866. in: query
  12867. name: page
  12868. type: integer
  12869. - description: 每页条数
  12870. in: query
  12871. name: pagesize
  12872. type: integer
  12873. - description: 商品ID
  12874. in: query
  12875. name: goodsID
  12876. required: true
  12877. type: integer
  12878. - description: 所属账户名称
  12879. in: query
  12880. name: accountName
  12881. type: string
  12882. - description: 市场ID
  12883. in: query
  12884. name: marketID
  12885. type: integer
  12886. - description: 方向 - 0:买 1:卖
  12887. in: query
  12888. name: buyorsell
  12889. required: true
  12890. type: integer
  12891. produces:
  12892. - application/json
  12893. responses:
  12894. "200":
  12895. description: OK
  12896. schema:
  12897. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  12898. "500":
  12899. description: Internal Server Error
  12900. schema:
  12901. $ref: '#/definitions/app.Response'
  12902. security:
  12903. - ApiKeyAuth: []
  12904. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  12905. tags:
  12906. - 通用交易
  12907. /User/AddMessageBoard:
  12908. post:
  12909. parameters:
  12910. - description: 用户ID
  12911. in: query
  12912. name: userID
  12913. required: true
  12914. type: integer
  12915. - description: 留言信息
  12916. in: query
  12917. name: message
  12918. required: true
  12919. type: string
  12920. - description: 联系电话
  12921. in: query
  12922. name: contactNum
  12923. required: true
  12924. type: string
  12925. produces:
  12926. - application/json
  12927. responses:
  12928. "200":
  12929. description: OK
  12930. schema:
  12931. $ref: '#/definitions/app.Response'
  12932. "500":
  12933. description: Internal Server Error
  12934. schema:
  12935. $ref: '#/definitions/app.Response'
  12936. security:
  12937. - ApiKeyAuth: []
  12938. summary: 添加用户留言板信息
  12939. tags:
  12940. - 用户信息
  12941. /User/AddUserFavoriteGoods:
  12942. post:
  12943. parameters:
  12944. - description: 用户ID
  12945. in: query
  12946. name: userID
  12947. required: true
  12948. type: integer
  12949. - description: 商品ID
  12950. in: query
  12951. name: goodsID
  12952. required: true
  12953. type: integer
  12954. produces:
  12955. - application/json
  12956. responses:
  12957. "200":
  12958. description: OK
  12959. schema:
  12960. $ref: '#/definitions/app.Response'
  12961. "500":
  12962. description: Internal Server Error
  12963. schema:
  12964. $ref: '#/definitions/app.Response'
  12965. security:
  12966. - ApiKeyAuth: []
  12967. summary: 添加用户商品收藏信息
  12968. tags:
  12969. - 用户信息
  12970. /User/GetLoginID:
  12971. get:
  12972. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  12973. parameters:
  12974. - description: 登录代码
  12975. in: query
  12976. name: username
  12977. required: true
  12978. type: string
  12979. produces:
  12980. - application/json
  12981. responses:
  12982. "200":
  12983. description: OK
  12984. schema:
  12985. $ref: '#/definitions/app.Response'
  12986. "500":
  12987. description: Internal Server Error
  12988. schema:
  12989. $ref: '#/definitions/app.Response'
  12990. summary: 获取登录ID
  12991. tags:
  12992. - 用户信息
  12993. /User/GetUserAccount:
  12994. get:
  12995. parameters:
  12996. - description: 用户ID
  12997. in: query
  12998. name: userID
  12999. required: true
  13000. type: integer
  13001. produces:
  13002. - application/json
  13003. responses:
  13004. "200":
  13005. description: OK
  13006. schema:
  13007. $ref: '#/definitions/models.Useraccount'
  13008. "500":
  13009. description: Internal Server Error
  13010. schema:
  13011. $ref: '#/definitions/app.Response'
  13012. security:
  13013. - ApiKeyAuth: []
  13014. summary: 获取用户账号信息
  13015. tags:
  13016. - 用户信息
  13017. /User/GetUserAuthStatus:
  13018. get:
  13019. parameters:
  13020. - description: 用户ID
  13021. in: query
  13022. name: userID
  13023. required: true
  13024. type: integer
  13025. produces:
  13026. - application/json
  13027. responses:
  13028. "200":
  13029. description: OK
  13030. schema:
  13031. $ref: '#/definitions/app.Response'
  13032. "500":
  13033. description: Internal Server Error
  13034. schema:
  13035. $ref: '#/definitions/app.Response'
  13036. security:
  13037. - ApiKeyAuth: []
  13038. summary: 获取用户实名认证状态
  13039. tags:
  13040. - 用户信息
  13041. /User/LoginQuery:
  13042. get:
  13043. parameters:
  13044. - description: 登录账号
  13045. in: query
  13046. name: loginID
  13047. required: true
  13048. type: integer
  13049. produces:
  13050. - application/json
  13051. responses:
  13052. "200":
  13053. description: OK
  13054. schema:
  13055. $ref: '#/definitions/user.LoginQueryRsp'
  13056. "500":
  13057. description: Internal Server Error
  13058. schema:
  13059. $ref: '#/definitions/app.Response'
  13060. security:
  13061. - ApiKeyAuth: []
  13062. summary: 账户登录后信息查询
  13063. tags:
  13064. - 用户信息
  13065. /User/QueryMessageBoard:
  13066. get:
  13067. parameters:
  13068. - description: 用户ID
  13069. in: query
  13070. name: userID
  13071. required: true
  13072. type: integer
  13073. produces:
  13074. - application/json
  13075. responses:
  13076. "200":
  13077. description: OK
  13078. schema:
  13079. $ref: '#/definitions/models.Messageboard'
  13080. "500":
  13081. description: Internal Server Error
  13082. schema:
  13083. $ref: '#/definitions/app.Response'
  13084. security:
  13085. - ApiKeyAuth: []
  13086. summary: 获取用户留言板信息
  13087. tags:
  13088. - 用户信息
  13089. /User/QueryUserFavoriteGoodses:
  13090. get:
  13091. parameters:
  13092. - description: 用户ID
  13093. in: query
  13094. name: userID
  13095. required: true
  13096. type: integer
  13097. produces:
  13098. - application/json
  13099. responses:
  13100. "200":
  13101. description: OK
  13102. schema:
  13103. $ref: '#/definitions/models.Userfavoritegoods'
  13104. "500":
  13105. description: Internal Server Error
  13106. schema:
  13107. $ref: '#/definitions/app.Response'
  13108. security:
  13109. - ApiKeyAuth: []
  13110. summary: 获取用户商品收藏信息
  13111. tags:
  13112. - 用户信息
  13113. /User/QueryUserInfo:
  13114. get:
  13115. parameters:
  13116. - description: 用户ID
  13117. in: query
  13118. name: userID
  13119. required: true
  13120. type: integer
  13121. produces:
  13122. - application/json
  13123. responses:
  13124. "200":
  13125. description: OK
  13126. schema:
  13127. $ref: '#/definitions/models.Userinfo'
  13128. "500":
  13129. description: Internal Server Error
  13130. schema:
  13131. $ref: '#/definitions/app.Response'
  13132. security:
  13133. - ApiKeyAuth: []
  13134. summary: 获取用户信息
  13135. tags:
  13136. - 用户信息
  13137. /User/QueryUserReferNum:
  13138. get:
  13139. parameters:
  13140. - description: 用户ID
  13141. in: query
  13142. name: userID
  13143. required: true
  13144. type: integer
  13145. produces:
  13146. - application/json
  13147. responses:
  13148. "200":
  13149. description: OK
  13150. schema:
  13151. $ref: '#/definitions/app.Response'
  13152. "500":
  13153. description: Internal Server Error
  13154. schema:
  13155. $ref: '#/definitions/app.Response'
  13156. summary: 获取用户邀请码
  13157. tags:
  13158. - 用户信息
  13159. /User/RemoveUserFavoriteGoods:
  13160. post:
  13161. parameters:
  13162. - description: 用户ID
  13163. in: query
  13164. name: userID
  13165. required: true
  13166. type: integer
  13167. - description: 商品ID
  13168. in: query
  13169. name: goodsID
  13170. required: true
  13171. type: integer
  13172. produces:
  13173. - application/json
  13174. responses:
  13175. "200":
  13176. description: OK
  13177. schema:
  13178. $ref: '#/definitions/app.Response'
  13179. "500":
  13180. description: Internal Server Error
  13181. schema:
  13182. $ref: '#/definitions/app.Response'
  13183. security:
  13184. - ApiKeyAuth: []
  13185. summary: 移除用户商品收藏信息
  13186. tags:
  13187. - 用户信息
  13188. /User/UpdateUserAccountStatus:
  13189. post:
  13190. parameters:
  13191. - description: 用户ID
  13192. in: query
  13193. name: userID
  13194. required: true
  13195. type: integer
  13196. - description: 账户状态 - 4:正常 6:注销(停用)
  13197. in: query
  13198. name: accountStatus
  13199. required: true
  13200. type: integer
  13201. produces:
  13202. - application/json
  13203. responses:
  13204. "200":
  13205. description: OK
  13206. schema:
  13207. $ref: '#/definitions/app.Response'
  13208. "500":
  13209. description: Internal Server Error
  13210. schema:
  13211. $ref: '#/definitions/app.Response'
  13212. security:
  13213. - ApiKeyAuth: []
  13214. summary: 更新用户状态
  13215. tags:
  13216. - 用户信息
  13217. /WR/GetWRCategoryInfo:
  13218. get:
  13219. produces:
  13220. - application/json
  13221. responses:
  13222. "200":
  13223. description: OK
  13224. schema:
  13225. $ref: '#/definitions/models.WRCategoryTree'
  13226. "500":
  13227. description: Internal Server Error
  13228. schema:
  13229. $ref: '#/definitions/app.Response'
  13230. summary: 获取现货分类信息
  13231. tags:
  13232. - 仓单服务
  13233. /WRTrade/GetAllDeliveryGoods:
  13234. get:
  13235. produces:
  13236. - application/json
  13237. - application/json
  13238. responses:
  13239. "200":
  13240. description: OK
  13241. schema:
  13242. $ref: '#/definitions/app.Response'
  13243. "500":
  13244. description: Internal Server Error
  13245. schema:
  13246. $ref: '#/definitions/app.Response'
  13247. security:
  13248. - ApiKeyAuth: []
  13249. - ApiKeyAuth: []
  13250. summary: 获取带仓单分类的种类信息
  13251. tags:
  13252. - 仓单贸易
  13253. - 仓单贸易
  13254. securityDefinitions:
  13255. ApiKeyAuth:
  13256. in: header
  13257. name: Authorization
  13258. type: apiKey
  13259. swagger: "2.0"