swagger.yaml 430 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAreaStockApplyRsp:
  1186. properties:
  1187. applyid:
  1188. description: 申请人
  1189. type: integer
  1190. applyname:
  1191. description: 申请人名称
  1192. type: string
  1193. applyremark:
  1194. description: 申请备注
  1195. type: string
  1196. applysrc:
  1197. description: 申请来源 - 1:管理端 2:终端
  1198. type: integer
  1199. applystatus:
  1200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1201. type: integer
  1202. applytime:
  1203. description: 申请时间
  1204. type: string
  1205. auditid:
  1206. description: 审核人
  1207. type: integer
  1208. auditname:
  1209. description: 审核人名称
  1210. type: string
  1211. auditremark:
  1212. description: 审核备注
  1213. type: string
  1214. auditsrc:
  1215. description: 审核来源 - 1:管理端 2:终端
  1216. type: integer
  1217. audittime:
  1218. description: 审核时间
  1219. type: string
  1220. audittradedate:
  1221. description: 审核交易日(yyyyMMdd)
  1222. type: string
  1223. brandname:
  1224. description: 品牌名称
  1225. type: string
  1226. buyuserid:
  1227. description: 采购方userid
  1228. type: integer
  1229. buyusername:
  1230. description: 采购方名称
  1231. type: string
  1232. contractno:
  1233. description: 合同编号
  1234. type: string
  1235. contractqty:
  1236. description: 合同量
  1237. type: number
  1238. contracttype:
  1239. description: 现货合同类型 - 1:采购 -1:销售
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. enumdicname:
  1245. description: 现货商品单位名称
  1246. type: string
  1247. inoutapplyid:
  1248. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1249. type: string
  1250. inouttype:
  1251. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1252. type: integer
  1253. modelname:
  1254. description: 型号名称
  1255. type: string
  1256. pricetype:
  1257. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1258. type: integer
  1259. qty:
  1260. description: 数量
  1261. type: number
  1262. selluserid:
  1263. description: 销售方userid
  1264. type: integer
  1265. sellusername:
  1266. description: 销售方名称
  1267. type: string
  1268. spotcontractid:
  1269. description: 关联现货合同ID
  1270. type: string
  1271. spotgoodsbrandid:
  1272. description: 现货品牌ID
  1273. type: integer
  1274. spotgoodsmodelid:
  1275. description: 现货型号ID
  1276. type: integer
  1277. unitid:
  1278. description: 单位id
  1279. type: integer
  1280. userid:
  1281. description: 机构ID
  1282. type: integer
  1283. warehousecode:
  1284. description: 仓库代码
  1285. type: string
  1286. warehouseinfoid:
  1287. description: 现货仓库ID
  1288. type: string
  1289. warehousename:
  1290. description: 仓库名称
  1291. type: string
  1292. warehousetype:
  1293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 现货商品代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 现货商品ID
  1300. type: string
  1301. wrstandardname:
  1302. description: 现货商品名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryAvalidGPRsp:
  1306. properties:
  1307. goodsgroupid:
  1308. description: 期货品种id
  1309. type: integer
  1310. goodsgroupname:
  1311. description: 期货品种名称
  1312. type: string
  1313. goodunitid:
  1314. description: 品种单位id
  1315. type: integer
  1316. goodunitname:
  1317. description: 品种单位名称
  1318. type: string
  1319. outergroupcode:
  1320. description: 期货品种代码
  1321. type: string
  1322. type: object
  1323. ermcp.QryBusinessDjRsp:
  1324. properties:
  1325. amount:
  1326. description: 点价金额=(点价价格+升贴水)*点价数量
  1327. type: number
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. enumdicname:
  1365. description: 单位名称
  1366. type: string
  1367. goodscode:
  1368. description: 点价合约
  1369. type: string
  1370. goodsname:
  1371. description: 商品名称
  1372. type: string
  1373. operateapplyid:
  1374. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1375. type: string
  1376. operateapplytype:
  1377. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1378. type: integer
  1379. pricedPrice:
  1380. description: 点价价格(非必填)
  1381. type: number
  1382. pricedQty:
  1383. description: 点价数量(非必填)
  1384. type: number
  1385. pricemove:
  1386. description: 升贴水
  1387. type: number
  1388. pricetype:
  1389. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1390. type: integer
  1391. relatedid:
  1392. description: 现货合同ID
  1393. type: string
  1394. sellusername:
  1395. description: 销售方名字
  1396. type: string
  1397. userid:
  1398. description: 用户ID
  1399. type: integer
  1400. wrstandardcode:
  1401. description: 现货商品代码
  1402. type: string
  1403. wrstandardid:
  1404. description: 现货商品id
  1405. type: integer
  1406. wrstandardname:
  1407. description: 现货商品名称
  1408. type: string
  1409. type: object
  1410. ermcp.QryBussinessFpRsp:
  1411. properties:
  1412. applyid:
  1413. description: 申请人
  1414. type: string
  1415. applyname:
  1416. description: 申请人名称
  1417. type: string
  1418. applystatus:
  1419. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1420. type: integer
  1421. applytime:
  1422. description: 申请时间
  1423. type: string
  1424. attachurl:
  1425. description: 附件
  1426. type: string
  1427. auditid:
  1428. description: 审核人ID
  1429. type: string
  1430. auditname:
  1431. description: 审核人名称
  1432. type: string
  1433. audittime:
  1434. description: 审核时间
  1435. type: string
  1436. buyusername:
  1437. description: 采购方名称
  1438. type: string
  1439. contractno:
  1440. description: 合同编号
  1441. type: string
  1442. contractstatus:
  1443. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1444. type: integer
  1445. contracttype:
  1446. description: 现货合同类型 - 1:采购 -1:销售
  1447. type: integer
  1448. enumdicname:
  1449. description: 单位名称
  1450. type: string
  1451. goodscode:
  1452. description: 点价合约
  1453. type: string
  1454. goodsname:
  1455. description: 商品名称
  1456. type: string
  1457. invoiceAmount:
  1458. description: 已开收票金额(销售为开票,采购为收票)
  1459. type: number
  1460. operateapplyid:
  1461. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1462. type: string
  1463. operateapplytype:
  1464. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1465. type: integer
  1466. pricemove:
  1467. description: 升贴水
  1468. type: number
  1469. pricetype:
  1470. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1471. type: integer
  1472. relatedid:
  1473. description: 现货合同ID
  1474. type: string
  1475. sellusername:
  1476. description: 销售方名字
  1477. type: string
  1478. userid:
  1479. description: 用户ID
  1480. type: integer
  1481. wrstandardcode:
  1482. description: 现货商品代码
  1483. type: string
  1484. wrstandardid:
  1485. description: 现货商品id
  1486. type: integer
  1487. wrstandardname:
  1488. description: 现货商品名称
  1489. type: string
  1490. type: object
  1491. ermcp.QryBussinessJsExRsp:
  1492. properties:
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. enumdicname:
  1530. description: 单位名称
  1531. type: string
  1532. goodscode:
  1533. description: 点价合约
  1534. type: string
  1535. goodsname:
  1536. description: 商品名称
  1537. type: string
  1538. operateapplyid:
  1539. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1540. type: string
  1541. operateapplytype:
  1542. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1543. type: integer
  1544. pricemove:
  1545. description: 升贴水
  1546. type: number
  1547. pricetype:
  1548. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1549. type: integer
  1550. reckontype:
  1551. description: 结算类型
  1552. type: string
  1553. reckonvalue:
  1554. description: 值
  1555. type: number
  1556. relatedid:
  1557. description: 现货合同ID
  1558. type: string
  1559. sellusername:
  1560. description: 销售方名字
  1561. type: string
  1562. userid:
  1563. description: 用户ID
  1564. type: integer
  1565. wrstandardcode:
  1566. description: 现货商品代码
  1567. type: string
  1568. wrstandardid:
  1569. description: 现货商品id
  1570. type: integer
  1571. wrstandardname:
  1572. description: 现货商品名称
  1573. type: string
  1574. type: object
  1575. ermcp.QryBussinessJsRsp:
  1576. properties:
  1577. addmargin:
  1578. description: 追加保证金(非必填)
  1579. type: number
  1580. applyid:
  1581. description: 申请人
  1582. type: string
  1583. applyname:
  1584. description: 申请人名称
  1585. type: string
  1586. applystatus:
  1587. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1588. type: integer
  1589. applytime:
  1590. description: 申请时间
  1591. type: string
  1592. attachurl:
  1593. description: 附件
  1594. type: string
  1595. auditid:
  1596. description: 审核人ID
  1597. type: string
  1598. auditname:
  1599. description: 审核人名称
  1600. type: string
  1601. audittime:
  1602. description: 审核时间
  1603. type: string
  1604. buyusername:
  1605. description: 采购方名称
  1606. type: string
  1607. contractno:
  1608. description: 合同编号
  1609. type: string
  1610. contractstatus:
  1611. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1612. type: integer
  1613. contracttype:
  1614. description: 现货合同类型 - 1:采购 -1:销售
  1615. type: integer
  1616. decmargin:
  1617. description: 减少保证金(非必填)
  1618. type: number
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 现货商品代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 现货商品id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 现货商品名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. audittime:
  1695. description: 审核时间
  1696. type: string
  1697. buyusername:
  1698. description: 采购方名称
  1699. type: string
  1700. contractno:
  1701. description: 合同编号
  1702. type: string
  1703. contractstatus:
  1704. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1705. type: integer
  1706. contracttype:
  1707. description: 现货合同类型 - 1:采购 -1:销售
  1708. type: integer
  1709. deductamount:
  1710. description: 退款(非必填)
  1711. type: number
  1712. enumdicname:
  1713. description: 单位名称
  1714. type: string
  1715. goodscode:
  1716. description: 点价合约
  1717. type: string
  1718. goodsname:
  1719. description: 商品名称
  1720. type: string
  1721. kxtype:
  1722. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1723. type: integer
  1724. operateapplyid:
  1725. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1726. type: string
  1727. operateapplytype:
  1728. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1729. type: integer
  1730. payamount:
  1731. description: 收付款(非必填)
  1732. type: number
  1733. pricemove:
  1734. description: 升贴水
  1735. type: number
  1736. pricetype:
  1737. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1738. type: integer
  1739. relatedid:
  1740. description: 现货合同ID
  1741. type: string
  1742. sellusername:
  1743. description: 销售方名字
  1744. type: string
  1745. userid:
  1746. description: 用户ID
  1747. type: integer
  1748. wrstandardcode:
  1749. description: 现货商品代码
  1750. type: string
  1751. wrstandardid:
  1752. description: 现货商品id
  1753. type: integer
  1754. wrstandardname:
  1755. description: 现货商品名称
  1756. type: string
  1757. type: object
  1758. ermcp.QryErmcpRsp:
  1759. properties:
  1760. accountname:
  1761. description: 账户名称
  1762. type: string
  1763. attachment:
  1764. description: 附件
  1765. type: string
  1766. audittime:
  1767. description: 审核时间
  1768. type: string
  1769. brandname:
  1770. description: 品牌名称
  1771. type: string
  1772. contracctstatus:
  1773. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1774. type: integer
  1775. contractmargin:
  1776. description: 合同保证金
  1777. type: number
  1778. contractno:
  1779. description: 合同编号
  1780. type: string
  1781. contracttype:
  1782. description: 合同类型 1-采购, -1-销售
  1783. type: integer
  1784. convertfactor:
  1785. description: 标仓系数
  1786. type: number
  1787. createtime:
  1788. description: 创建时间
  1789. type: string
  1790. daikaiamount:
  1791. description: 应收(开)票额
  1792. type: number
  1793. deliveryenddate:
  1794. description: 交割结束日
  1795. type: string
  1796. deliverygoodscode:
  1797. description: 现货品种代码
  1798. type: string
  1799. deliverygoodsid:
  1800. description: 现货商品ID
  1801. type: integer
  1802. deliverygoodsname:
  1803. description: 现货品种名称
  1804. type: string
  1805. deliverystartdate:
  1806. description: 交割开始日
  1807. type: string
  1808. enddate:
  1809. description: 点价结束日
  1810. type: string
  1811. enumdicname:
  1812. description: 单位名称
  1813. type: string
  1814. goodscode:
  1815. description: 点价商品代码
  1816. type: string
  1817. goodsid:
  1818. description: 点价商品ID
  1819. type: integer
  1820. goodsname:
  1821. description: 点价商品名称
  1822. type: string
  1823. invoiceamount:
  1824. description: 已开票额
  1825. type: number
  1826. loanamount:
  1827. description: 贷款总额=已定价额+调整金额
  1828. type: number
  1829. margin:
  1830. description: 保证金
  1831. type: number
  1832. modelname:
  1833. description: 型号名称
  1834. type: string
  1835. payamount:
  1836. description: 已收付额(收款或付款)
  1837. type: number
  1838. preinvoiceamount:
  1839. description: 预收(开)票额
  1840. type: number
  1841. prepayamount:
  1842. description: 预收付额
  1843. type: number
  1844. price:
  1845. description: 价格
  1846. type: number
  1847. pricedamount:
  1848. description: 已定价额
  1849. type: number
  1850. pricedavg:
  1851. description: 已点均价
  1852. type: number
  1853. pricedqty:
  1854. description: 已定价量
  1855. type: number
  1856. pricemove:
  1857. description: 升贴水
  1858. type: number
  1859. pricetype:
  1860. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1861. type: integer
  1862. producttype:
  1863. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1864. type: integer
  1865. qty:
  1866. description: 合同量
  1867. type: number
  1868. reckonadjustamount:
  1869. description: 调整金额
  1870. type: number
  1871. reckonedamount:
  1872. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  1873. type: number
  1874. reckonotheramount:
  1875. description: 其它费用
  1876. type: number
  1877. reckonrealqty:
  1878. description: 已确定量
  1879. type: number
  1880. remark:
  1881. description: 备注
  1882. type: string
  1883. spotcontractid:
  1884. description: 合同ID
  1885. type: string
  1886. spotgoodsbrandid:
  1887. description: 现货品牌ID
  1888. type: integer
  1889. spotgoodsdesc:
  1890. description: 商品型号(商品规格)
  1891. type: string
  1892. spotgoodsmodelid:
  1893. description: 现货型号ID
  1894. type: integer
  1895. startdate:
  1896. description: 点价开始日
  1897. type: string
  1898. totalamount:
  1899. description: 合计总额
  1900. type: number
  1901. unpayamount:
  1902. description: 应收付款额(应支付或应收款)
  1903. type: number
  1904. unpricedqty:
  1905. description: 未定价量
  1906. type: number
  1907. unsureqty:
  1908. description: 未确定量
  1909. type: number
  1910. userid:
  1911. description: 用户ID
  1912. type: integer
  1913. wrstandardcode:
  1914. description: 现货商品代码
  1915. type: string
  1916. wrstandardid:
  1917. description: 现货商品ID
  1918. type: integer
  1919. wrstandardname:
  1920. description: 现货商品名称
  1921. type: string
  1922. type: object
  1923. ermcp.QryGGCovertCfgRsp:
  1924. properties:
  1925. convertratio:
  1926. description: 折算系数
  1927. type: number
  1928. destgoodsgroupid:
  1929. description: 目标品种ID
  1930. type: integer
  1931. dstcode:
  1932. description: 目录品种代码
  1933. type: string
  1934. dstexchangecode:
  1935. description: 目标期货交易所
  1936. type: string
  1937. dstname:
  1938. description: 目标品种名称
  1939. type: string
  1940. dstunitid:
  1941. description: 目标品种单位ID
  1942. type: integer
  1943. dstunitidname:
  1944. description: 目标品种单位名称
  1945. type: string
  1946. modifytime:
  1947. description: 修改时间
  1948. type: string
  1949. srccode:
  1950. description: 源品种代码
  1951. type: string
  1952. srcexchangecode:
  1953. description: 源期货交易所
  1954. type: string
  1955. srcgoodsgroupid:
  1956. description: 源品种ID
  1957. type: integer
  1958. srcname:
  1959. description: 源品种名称
  1960. type: string
  1961. srcunitid:
  1962. description: 源品种单位ID
  1963. type: integer
  1964. srcunitidname:
  1965. description: 源品种单位名称
  1966. type: string
  1967. type: object
  1968. ermcp.QryHedgePlanRsp:
  1969. properties:
  1970. areauserid:
  1971. description: 用户ID
  1972. type: integer
  1973. audittime:
  1974. description: 审核时间
  1975. type: string
  1976. contracttype:
  1977. description: 计划类型 - 1:采购 -1:销售
  1978. type: integer
  1979. convertfactor:
  1980. description: 标仓系数
  1981. type: number
  1982. createtime:
  1983. description: 创建时间
  1984. type: string
  1985. deliverygoodsid:
  1986. description: 现货品种ID
  1987. type: integer
  1988. deliverygoodsname:
  1989. description: 现货品种名称
  1990. type: string
  1991. enumdicname:
  1992. description: 单位名称
  1993. type: string
  1994. hedgeplanid:
  1995. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1996. type: string
  1997. hedgeplanno:
  1998. description: 套保计划编号(名称)
  1999. type: string
  2000. hedgeplanstatus:
  2001. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2002. type: integer
  2003. planqty:
  2004. description: 计划数量
  2005. type: number
  2006. plantime:
  2007. description: 计划时间
  2008. type: string
  2009. producttype:
  2010. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2011. type: integer
  2012. remark:
  2013. description: 备注
  2014. type: string
  2015. spotgoodsdesc:
  2016. description: 商品型号
  2017. type: string
  2018. unitid:
  2019. description: 单位id
  2020. type: integer
  2021. updatetime:
  2022. description: 更新时间
  2023. type: string
  2024. wrstandardid:
  2025. description: 现货商品ID
  2026. type: integer
  2027. wrstandardname:
  2028. description: 现货商品名称
  2029. type: string
  2030. type: object
  2031. ermcp.QryMGChangeLogRsp:
  2032. properties:
  2033. aftervalue:
  2034. description: 变更后
  2035. type: number
  2036. applyid:
  2037. description: 操作人
  2038. type: integer
  2039. applyname:
  2040. description: 操作人名称
  2041. type: string
  2042. applysrc:
  2043. description: 操作来源 - 1:管理端 2:终端
  2044. type: integer
  2045. beforevalue:
  2046. description: 变更前
  2047. type: number
  2048. changelogtype:
  2049. description: 变更流水类型 - 1:套保比率变更
  2050. type: integer
  2051. handlestatus:
  2052. description: 处理状态
  2053. type: integer
  2054. logdatetime:
  2055. description: 流水日期
  2056. type: string
  2057. logid:
  2058. description: 流水ID
  2059. type: integer
  2060. logremark:
  2061. description: 流水备注
  2062. type: string
  2063. middlegoodsid:
  2064. description: 套保品种ID
  2065. type: integer
  2066. tradedate:
  2067. description: 交易日(yyyyMMdd)
  2068. type: string
  2069. updatetime:
  2070. description: 更新时间
  2071. type: string
  2072. type: object
  2073. ermcp.QryMiddleGoodsDetailRsp:
  2074. properties:
  2075. cvList:
  2076. description: 期货品种折算列表
  2077. items:
  2078. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  2079. type: array
  2080. mg:
  2081. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2082. description: 套保品种基本信息
  2083. wrcList:
  2084. description: 现货品种列表(现货商品折算配置)
  2085. items:
  2086. $ref: '#/definitions/models.WRSConverTDetail'
  2087. type: array
  2088. type: object
  2089. ermcp.QryMiddleGoodsRsp:
  2090. properties:
  2091. areauserid:
  2092. description: 机构用户ID
  2093. type: integer
  2094. createtime:
  2095. description: 修改时间
  2096. type: string
  2097. enumdicname:
  2098. description: 单位名称
  2099. type: string
  2100. evaluateratio:
  2101. description: 估价系数
  2102. type: number
  2103. goodsgroupid:
  2104. description: 关联期货品种ID
  2105. type: integer
  2106. isvalid:
  2107. description: 状态 0-无效(停用) 1-有效(正常)
  2108. type: integer
  2109. middlegoodscode:
  2110. description: 套保品种代码
  2111. type: string
  2112. middlegoodsid:
  2113. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2114. type: integer
  2115. middlegoodsname:
  2116. description: 套保品种名称
  2117. type: string
  2118. modifytime:
  2119. description: 修改时间
  2120. type: string
  2121. needhedgeratio:
  2122. description: 套保比率
  2123. type: number
  2124. qtydecimalplace:
  2125. description: 数量小数位
  2126. type: integer
  2127. relatedgoodsid:
  2128. description: 关联交易商品ID
  2129. type: integer
  2130. relatedgoodstype:
  2131. description: 关联商品类型 - 1:期货合约 2:现货品种
  2132. type: integer
  2133. remark:
  2134. description: 备注
  2135. type: string
  2136. type: object
  2137. ermcp.QryOPLogRsp:
  2138. properties:
  2139. aftervalue:
  2140. description: 变更后
  2141. type: number
  2142. applyid:
  2143. description: 操作人ID
  2144. type: string
  2145. applyname:
  2146. description: 操作人名称
  2147. type: string
  2148. beforevalue:
  2149. description: 变更前
  2150. type: number
  2151. biztype:
  2152. description: 业务类型 - 1:套保计划 2:现货合同
  2153. type: integer
  2154. contracttype:
  2155. description: 现货合同类型 - 1:采购 -1:销售
  2156. type: integer
  2157. logvalue:
  2158. description: 数值
  2159. type: number
  2160. operatelogtype:
  2161. description: 操作流水类型
  2162. type: integer
  2163. operatelogtypedesc:
  2164. description: 操作流水类型名称
  2165. type: string
  2166. relatedid:
  2167. description: 现货合同ID\套保计划
  2168. type: string
  2169. updatetime:
  2170. description: 更新时间
  2171. type: string
  2172. type: object
  2173. ermcp.QryReportDaySpotDetailRsp:
  2174. properties:
  2175. applyid:
  2176. description: 操作人
  2177. type: integer
  2178. applyname:
  2179. description: 操作人名称
  2180. type: string
  2181. biztype:
  2182. description: 业务类型 - 1:套保计划 2:现货合同
  2183. type: integer
  2184. brandname:
  2185. description: 品牌名称
  2186. type: string
  2187. contracttype:
  2188. description: 现货合同类型 - 1:采购 -1:销售
  2189. type: integer
  2190. enumdicName:
  2191. description: 单位名称
  2192. type: string
  2193. logdatetime:
  2194. description: 流水日期(时间)
  2195. type: string
  2196. logid:
  2197. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2198. type: string
  2199. logtypename:
  2200. description: 合同类型(名称)
  2201. type: string
  2202. logvalue:
  2203. description: 数值
  2204. type: string
  2205. modelname:
  2206. description: 型号名称
  2207. type: string
  2208. operatelogtype:
  2209. description: 操作流水类型 -
  2210. type: integer
  2211. optypename:
  2212. description: 流水类型名称
  2213. type: string
  2214. relatedid:
  2215. description: 现货合同ID\套保计划
  2216. type: string
  2217. relatedno:
  2218. description: 合同编号
  2219. type: string
  2220. tradedate:
  2221. description: 交易日(yyyyMMdd)
  2222. type: string
  2223. userid:
  2224. description: 机构ID
  2225. type: integer
  2226. wrstandardcode:
  2227. description: 现货商品代码
  2228. type: string
  2229. wrstandardid:
  2230. description: 现货商品ID
  2231. type: integer
  2232. wrstandardname:
  2233. description: 现货商品名称
  2234. type: string
  2235. type: object
  2236. ermcp.QryReportExposureDayRsp:
  2237. properties:
  2238. areauserid:
  2239. description: 所属机构
  2240. type: integer
  2241. buyfutureqty:
  2242. description: 买入期货数量
  2243. type: number
  2244. buyplanqty:
  2245. description: 采购计划数量
  2246. type: number
  2247. buypricedqty:
  2248. description: 采购合同已定价数量
  2249. type: number
  2250. diffFutuQty:
  2251. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2252. type: number
  2253. diffSpotQty:
  2254. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2255. type: number
  2256. enumdicname:
  2257. description: 单位名称
  2258. type: string
  2259. middlegoodscode:
  2260. description: 套保品种代码
  2261. type: string
  2262. middlegoodshedgeratio:
  2263. description: 应套保比例
  2264. type: number
  2265. middlegoodsid:
  2266. description: 套保品种ID
  2267. type: integer
  2268. middlegoodsname:
  2269. description: 套保品种名称
  2270. type: string
  2271. needhedgeexposoure:
  2272. description: 应套保敞口
  2273. type: number
  2274. needhedgeratio:
  2275. description: 应套保敞口比例
  2276. type: number
  2277. oriTotalFutuQty:
  2278. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2279. type: number
  2280. oriTotalSpotQty:
  2281. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2282. type: number
  2283. oribuyfutureqty:
  2284. description: 期初买入期货数量
  2285. type: number
  2286. oribuyplanqty:
  2287. description: 期初采购计划数量
  2288. type: number
  2289. oribuypricedqty:
  2290. description: 期初采购合同已定价数量
  2291. type: number
  2292. orisellfutureqty:
  2293. description: 期初卖出期货数量
  2294. type: number
  2295. orisellplanqty:
  2296. description: 期初销售计划数量
  2297. type: number
  2298. orisellpricedqty:
  2299. description: 期初销售合同已定价数量
  2300. type: number
  2301. reckondate:
  2302. description: 日照时期(yyyyMMdd)
  2303. type: string
  2304. sellfutureqty:
  2305. description: 卖出期货数量
  2306. type: number
  2307. sellplanqty:
  2308. description: 销售计划数量
  2309. type: number
  2310. sellpricedqty:
  2311. description: 销售合同已定价数量
  2312. type: number
  2313. totalexposure:
  2314. description: 总敞口
  2315. type: number
  2316. totalfutureqty:
  2317. description: 期货数量
  2318. type: number
  2319. totalhedgeratio:
  2320. description: 敞口比例
  2321. type: number
  2322. totalneedhedgeqty:
  2323. description: 期货应套保量
  2324. type: number
  2325. totalspotqty:
  2326. description: 现货数量
  2327. type: number
  2328. type: object
  2329. ermcp.QryReportFinanceDayRsp:
  2330. properties:
  2331. areauserid:
  2332. description: 所属机构
  2333. type: integer
  2334. collectinvoiceamount:
  2335. description: 今日开票金额
  2336. type: number
  2337. collectinvoicecount:
  2338. description: 今日开票笔数
  2339. type: integer
  2340. collectmoneyamount:
  2341. description: 今日收款金额
  2342. type: number
  2343. collectmoneycount:
  2344. description: 今日收款笔数
  2345. type: integer
  2346. payinvoiceamount:
  2347. description: 今日收票金额
  2348. type: number
  2349. payinvoicecount:
  2350. description: 今日收票笔数
  2351. type: integer
  2352. paymoneyamount:
  2353. description: 今日付款金额
  2354. type: number
  2355. paymoneycount:
  2356. description: 今日付款笔数
  2357. type: integer
  2358. reckondate:
  2359. description: 日照时期(yyyyMMdd)
  2360. type: string
  2361. updatetime:
  2362. description: 更新时间
  2363. type: string
  2364. type: object
  2365. ermcp.QryReportFinanceKxRsp:
  2366. properties:
  2367. applyid:
  2368. description: 操作人
  2369. type: integer
  2370. applyname:
  2371. description: 操作人名称
  2372. type: string
  2373. biztype:
  2374. description: 业务类型 - 1:套保计划 2:现货合同
  2375. type: integer
  2376. brandname:
  2377. description: 品牌名称
  2378. type: string
  2379. contracttype:
  2380. description: 现货合同类型 - 1:采购 -1:销售
  2381. type: integer
  2382. enumdicName:
  2383. description: 单位名称
  2384. type: string
  2385. logdatetime:
  2386. description: 流水日期(时间)
  2387. type: string
  2388. logid:
  2389. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2390. type: string
  2391. logtypename:
  2392. description: 合同类型(名称)
  2393. type: string
  2394. logvalue:
  2395. description: 数值
  2396. type: string
  2397. modelname:
  2398. description: 型号名称
  2399. type: string
  2400. operatelogtype:
  2401. description: 操作流水类型 -
  2402. type: integer
  2403. optypename:
  2404. description: 流水类型名称
  2405. type: string
  2406. relatedid:
  2407. description: 现货合同ID\套保计划
  2408. type: string
  2409. relatedno:
  2410. description: 合同编号
  2411. type: string
  2412. tradedate:
  2413. description: 交易日(yyyyMMdd)
  2414. type: string
  2415. userid:
  2416. description: 机构ID
  2417. type: integer
  2418. wrstandardcode:
  2419. description: 现货商品代码
  2420. type: string
  2421. wrstandardid:
  2422. description: 现货商品ID
  2423. type: integer
  2424. wrstandardname:
  2425. description: 现货商品名称
  2426. type: string
  2427. type: object
  2428. ermcp.QryReportFinanceMonRsp:
  2429. properties:
  2430. areauserid:
  2431. description: 所属机构【原值】
  2432. type: integer
  2433. collectinvoiceamount:
  2434. description: 今日开票金额【汇总】
  2435. type: number
  2436. collectinvoicecount:
  2437. description: 今日开票笔数【汇总】
  2438. type: integer
  2439. collectmoneyamount:
  2440. description: 今日收款金额【汇总】
  2441. type: number
  2442. collectmoneycount:
  2443. description: 今日收款笔数 【汇总】
  2444. type: integer
  2445. cycletime:
  2446. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2447. type: string
  2448. cycletype:
  2449. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2450. type: integer
  2451. dayFr:
  2452. description: 日报表明细
  2453. items:
  2454. $ref: '#/definitions/models.ErmcpReportDayFR'
  2455. type: array
  2456. payinvoiceamount:
  2457. description: 今日收票金额【汇总】
  2458. type: number
  2459. payinvoicecount:
  2460. description: 今日收票笔数【汇总】
  2461. type: integer
  2462. paymoneyamount:
  2463. description: 今日付款金额【汇总】
  2464. type: number
  2465. paymoneycount:
  2466. description: 今日付款笔数【汇总】
  2467. type: integer
  2468. updatetime:
  2469. description: 更新时间
  2470. type: string
  2471. type: object
  2472. ermcp.QryReportSpotDayRsp:
  2473. properties:
  2474. areauserid:
  2475. description: 所属机构T
  2476. type: integer
  2477. buyinqty:
  2478. description: 采购入库量
  2479. type: number
  2480. enumdicname:
  2481. description: 现货商品单位名称
  2482. type: string
  2483. reckondate:
  2484. description: 日照时期(yyyyMMdd)
  2485. type: string
  2486. selloutqty:
  2487. description: 销售出库量
  2488. type: number
  2489. todaybuyreckonqty:
  2490. description: 采购确定量
  2491. type: number
  2492. todaysellreckonqty:
  2493. description: 销售确定量
  2494. type: number
  2495. totalbuypricedqty:
  2496. description: 采购定价量 = 期末 - 期初
  2497. type: number
  2498. totalsellpricedqty:
  2499. description: 销售定价量 = 期末 - 期初
  2500. type: number
  2501. wrstandardcode:
  2502. description: 现货商品代码
  2503. type: string
  2504. wrstandardid:
  2505. description: 现货商品ID
  2506. type: integer
  2507. wrstandardname:
  2508. description: 现货商品名称
  2509. type: string
  2510. type: object
  2511. ermcp.QryReportSpotMonRsp:
  2512. properties:
  2513. areauserid:
  2514. description: 所属机构T
  2515. type: integer
  2516. buyinqty:
  2517. description: 采购入库量
  2518. type: number
  2519. cycletime:
  2520. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2521. type: string
  2522. cycletype:
  2523. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2524. type: integer
  2525. enumdicname:
  2526. description: 现货商品单位名称
  2527. type: string
  2528. selloutqty:
  2529. description: 销售出库量
  2530. type: number
  2531. todaybuyreckonqty:
  2532. description: 采购确定量
  2533. type: number
  2534. todaysellreckonqty:
  2535. description: 销售确定量
  2536. type: number
  2537. totalbuypricedqty:
  2538. description: 采购定价量 = 期末 - 期初
  2539. type: number
  2540. totalsellpricedqty:
  2541. description: 销售定价量 = 期末 - 期初
  2542. type: number
  2543. wrstandardcode:
  2544. description: 现货商品代码
  2545. type: string
  2546. wrstandardid:
  2547. description: 现货商品ID
  2548. type: integer
  2549. wrstandardname:
  2550. description: 现货商品名称
  2551. type: string
  2552. type: object
  2553. ermcp.QryReportSpotMonthDetailRsp:
  2554. properties:
  2555. areauserid:
  2556. description: 所属机构T
  2557. type: integer
  2558. buyinqty:
  2559. description: 采购入库量
  2560. type: number
  2561. enumdicname:
  2562. description: 现货商品单位名称
  2563. type: string
  2564. reckondate:
  2565. description: 日照时期(yyyyMMdd)
  2566. type: string
  2567. selloutqty:
  2568. description: 销售出库量
  2569. type: number
  2570. todaybuyreckonqty:
  2571. description: 采购确定量
  2572. type: number
  2573. todaysellreckonqty:
  2574. description: 销售确定量
  2575. type: number
  2576. totalbuypricedqty:
  2577. description: 采购定价量 = 期末 - 期初
  2578. type: number
  2579. totalsellpricedqty:
  2580. description: 销售定价量 = 期末 - 期初
  2581. type: number
  2582. wrstandardcode:
  2583. description: 现货商品代码
  2584. type: string
  2585. wrstandardid:
  2586. description: 现货商品ID
  2587. type: integer
  2588. wrstandardname:
  2589. description: 现货商品名称
  2590. type: string
  2591. type: object
  2592. ermcp.QrySpotContractRsp:
  2593. properties:
  2594. amount:
  2595. description: 金额 [1:一口价、3:暂定价]
  2596. type: number
  2597. attachment:
  2598. description: 附件
  2599. type: string
  2600. auditremark:
  2601. description: 审核意见
  2602. type: string
  2603. audittime:
  2604. description: 审核时间
  2605. type: string
  2606. brandname:
  2607. description: 品牌名称
  2608. type: string
  2609. buyuserid:
  2610. description: 采购方ID
  2611. type: integer
  2612. buyusername:
  2613. description: 采购方名称
  2614. type: string
  2615. contracctstatus:
  2616. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2617. type: integer
  2618. contractmargin:
  2619. description: 合同保证金
  2620. type: number
  2621. contractno:
  2622. description: 现货合同编号
  2623. type: string
  2624. contracttype:
  2625. description: 现货合同类型 - 1:采购 -1:销售
  2626. type: integer
  2627. convertfactor:
  2628. description: 标仓系数
  2629. type: number
  2630. createtime:
  2631. description: 创建时间
  2632. type: string
  2633. deliveryenddate:
  2634. description: 交收期(结束)
  2635. type: string
  2636. deliverygoodscode:
  2637. description: 现货品种代码
  2638. type: string
  2639. deliverygoodsid:
  2640. description: 现货品种ID
  2641. type: integer
  2642. deliverygoodsname:
  2643. description: 现货品种名称
  2644. type: string
  2645. deliverystartdate:
  2646. description: 交收期(开始)
  2647. type: string
  2648. enddate:
  2649. description: 点价结束日期 [2:点价 3:暂定价]
  2650. type: string
  2651. enumdicname:
  2652. description: 单位名称
  2653. type: string
  2654. goodscode:
  2655. description: 点价合约代码
  2656. type: string
  2657. goodsid:
  2658. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2659. type: integer
  2660. goodsname:
  2661. description: 点价商品名称
  2662. type: string
  2663. margin:
  2664. description: 当前保证金
  2665. type: number
  2666. modelname:
  2667. description: 型号名称
  2668. type: string
  2669. price:
  2670. description: 价格\暂定价 [1:一口价、3:暂定价]
  2671. type: number
  2672. pricemove:
  2673. description: 升贴水 [2:点价 3:暂定价]
  2674. type: number
  2675. pricetype:
  2676. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2677. type: integer
  2678. producttype:
  2679. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2680. type: integer
  2681. qty:
  2682. description: 数量
  2683. type: number
  2684. remark:
  2685. description: 备注
  2686. type: string
  2687. selluserid:
  2688. description: 销售方ID
  2689. type: integer
  2690. sellusername:
  2691. description: 销售方名称
  2692. type: string
  2693. spotcontractid:
  2694. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2695. type: string
  2696. spotgoodsbrandid:
  2697. description: 现货品牌ID
  2698. type: integer
  2699. spotgoodsdesc:
  2700. description: 商品型号
  2701. type: string
  2702. spotgoodsmodelid:
  2703. description: 现货型号ID
  2704. type: integer
  2705. startdate:
  2706. description: 点价开始日期 [2:点价 3:暂定价]
  2707. type: string
  2708. updatetime:
  2709. description: 更新时间
  2710. type: string
  2711. userid:
  2712. description: 机构ID
  2713. type: integer
  2714. wrstandardcode:
  2715. description: 现货商品代码
  2716. type: string
  2717. wrstandardid:
  2718. description: 现货商品ID
  2719. type: integer
  2720. wrstandardname:
  2721. description: 现货商品名称
  2722. type: string
  2723. type: object
  2724. ermcp.QryUserInfoRsp:
  2725. properties:
  2726. address:
  2727. description: 通讯地址
  2728. type: string
  2729. attachment1:
  2730. description: 附件1
  2731. type: string
  2732. audittime:
  2733. description: 审核时间
  2734. type: string
  2735. cardfrontphotourl:
  2736. description: 证件正面图片地址
  2737. type: string
  2738. cardnum:
  2739. description: 证件号码
  2740. type: string
  2741. cardtype:
  2742. description: 证件类型
  2743. type: integer
  2744. cardtypename:
  2745. description: 证件类型名称
  2746. type: string
  2747. cityid:
  2748. description: 市
  2749. type: integer
  2750. countryid:
  2751. description: 国家
  2752. type: integer
  2753. createtime:
  2754. description: 创建时间
  2755. type: string
  2756. customername:
  2757. description: 企业名称
  2758. type: string
  2759. districtid:
  2760. description: 区域
  2761. type: integer
  2762. memberuserid:
  2763. description: 所属机构ID
  2764. type: integer
  2765. mobile:
  2766. description: 手机号码
  2767. type: string
  2768. modifytime:
  2769. description: 修改时间
  2770. type: string
  2771. nickname:
  2772. description: 昵称
  2773. type: string
  2774. provinceid:
  2775. description: 省
  2776. type: integer
  2777. remark:
  2778. description: 备注
  2779. type: string
  2780. status:
  2781. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2782. type: integer
  2783. statusdesc:
  2784. description: 账户状态中文描述
  2785. type: string
  2786. telphone:
  2787. description: 联系电话
  2788. type: string
  2789. userid:
  2790. description: 用户ID
  2791. type: integer
  2792. userinfotype:
  2793. description: 客户类型
  2794. type: string
  2795. type: object
  2796. ermcp.QryWarehouseRsp:
  2797. properties:
  2798. address:
  2799. description: 详细地址
  2800. type: string
  2801. areauserid:
  2802. description: 所属机构
  2803. type: integer
  2804. autoid:
  2805. description: 自增ID(仓库ID)
  2806. type: integer
  2807. cityid:
  2808. description: 市
  2809. type: integer
  2810. contactname:
  2811. description: 联系人
  2812. type: string
  2813. contactnum:
  2814. description: 联系电话
  2815. type: string
  2816. countryid:
  2817. description: 国家
  2818. type: integer
  2819. createtime:
  2820. description: 创建时间
  2821. type: string
  2822. districtid:
  2823. description: 区
  2824. type: integer
  2825. hasvideo:
  2826. description: 是否有视频 - 0:无 1:有
  2827. type: integer
  2828. provinceid:
  2829. description: 省
  2830. type: integer
  2831. remark:
  2832. description: 审核备注
  2833. type: string
  2834. videourl:
  2835. description: 视频地址
  2836. type: string
  2837. warehousecode:
  2838. description: 仓库代码
  2839. type: string
  2840. warehousename:
  2841. description: 仓库名称
  2842. type: string
  2843. warehousestatus:
  2844. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2845. type: integer
  2846. warehousetype:
  2847. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2848. type: integer
  2849. type: object
  2850. ermcp.QryWrStandardDetailRsp:
  2851. properties:
  2852. gbList:
  2853. description: 品牌列表
  2854. items:
  2855. $ref: '#/definitions/models.GoodsBrand'
  2856. type: array
  2857. goodsList:
  2858. description: 关联交易商品列表
  2859. items:
  2860. $ref: '#/definitions/models.RelatedGoodsEx'
  2861. type: array
  2862. gtList:
  2863. description: 型号列表
  2864. items:
  2865. $ref: '#/definitions/models.GoodsTypeModel'
  2866. type: array
  2867. wrd:
  2868. $ref: '#/definitions/models.ErmcpWrstandard'
  2869. description: 基本信息
  2870. wrsList:
  2871. description: 套保信息列表
  2872. items:
  2873. $ref: '#/definitions/models.WRSConverTDetail'
  2874. type: array
  2875. type: object
  2876. ermcp.QryWrStandardRsp:
  2877. properties:
  2878. areauserid:
  2879. description: 所属机构
  2880. type: integer
  2881. createtime:
  2882. description: 创建时间
  2883. type: string
  2884. creatorid:
  2885. description: 创建人
  2886. type: integer
  2887. deliverygoodsid:
  2888. description: 品种ID
  2889. type: integer
  2890. enumdicname:
  2891. description: 单位名称
  2892. type: string
  2893. isvalid:
  2894. description: 是否有效 0-无效(停用) 1-有效(正常)
  2895. type: integer
  2896. minivalue:
  2897. description: 最小变动值
  2898. type: integer
  2899. minivaluedp:
  2900. description: 最小变动值小数位
  2901. type: integer
  2902. realminivalue:
  2903. description: 实际最小变动值
  2904. type: integer
  2905. realminivaluedp:
  2906. description: 实际最小变动值小数位
  2907. type: integer
  2908. remark:
  2909. description: 备注
  2910. type: string
  2911. unitid:
  2912. description: 单位ID
  2913. type: integer
  2914. updatetime:
  2915. description: 更新时间
  2916. type: string
  2917. wrstandardcode:
  2918. description: 现货商品代码
  2919. type: string
  2920. wrstandardid:
  2921. description: 现货商品ID(SEQ_WRSTANDARD)
  2922. type: integer
  2923. wrstandardname:
  2924. description: 现货商品名称
  2925. type: string
  2926. type: object
  2927. ermcp.QueryAreaStockApplySumRsp:
  2928. properties:
  2929. brandname:
  2930. description: 品牌名称
  2931. type: string
  2932. inouttype:
  2933. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2934. type: integer
  2935. modelname:
  2936. description: 型号名称
  2937. type: string
  2938. spotcontractid:
  2939. description: 关联现货合同ID
  2940. type: string
  2941. spotgoodsbrandid:
  2942. description: 品牌id
  2943. type: integer
  2944. spotgoodsmodelid:
  2945. description: 型号id
  2946. type: integer
  2947. totalqty:
  2948. description: 总数量
  2949. type: number
  2950. type: object
  2951. ermcp.QueryErmcpTradePositionRsp:
  2952. properties:
  2953. agreeunit:
  2954. description: 合约单位
  2955. type: number
  2956. buyorsell:
  2957. description: 方向 - 0:买 1:卖
  2958. type: integer
  2959. curpositionqty:
  2960. description: 持仓(总仓数量, 期末头寸)
  2961. type: integer
  2962. curtdposition:
  2963. description: 今仓数量(期末今日头寸)
  2964. type: integer
  2965. curtdpositionenabled:
  2966. description: 今仓可用
  2967. type: integer
  2968. decimalplace:
  2969. description: 报价小数位
  2970. type: integer
  2971. enableqty:
  2972. description: 可用(总仓可用)
  2973. type: integer
  2974. exexchangename:
  2975. description: 外部交易所名称
  2976. type: string
  2977. goodscode:
  2978. description: 商品代码(内部)
  2979. type: string
  2980. goodsid:
  2981. description: 商品ID(自增ID SEQ_GOODS)
  2982. type: integer
  2983. goodsname:
  2984. description: 商品名称
  2985. type: string
  2986. last:
  2987. description: 现价
  2988. type: number
  2989. marketid:
  2990. description: 所属市场ID
  2991. type: integer
  2992. openaverageprice:
  2993. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2994. type: number
  2995. opencost:
  2996. description: 开仓成本
  2997. type: number
  2998. openpl:
  2999. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  3000. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3001. type: number
  3002. outgoodscode:
  3003. description: 商品代码(外部)
  3004. type: string
  3005. positionaverageprice:
  3006. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  3007. type: number
  3008. positioncost:
  3009. description: 持仓成本
  3010. type: number
  3011. positionpl:
  3012. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  3013. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3014. type: number
  3015. positionplrate:
  3016. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  3017. type: number
  3018. usedmargin:
  3019. description: 占用保证金
  3020. type: number
  3021. type: object
  3022. ermcp.RealtimeExposurePositionRsp:
  3023. properties:
  3024. agreeunit:
  3025. description: 合约单位
  3026. type: string
  3027. areauserid:
  3028. description: 所属机构id
  3029. type: integer
  3030. convertratio:
  3031. description: 期货品种系数(折算系数)
  3032. type: number
  3033. curqty:
  3034. description: 当前持仓
  3035. type: integer
  3036. diffhedgeqty:
  3037. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3038. type: number
  3039. diffqty:
  3040. description: 持仓变动量=当前持仓-昨日持仓
  3041. type: integer
  3042. goodscode:
  3043. description: 商品代码
  3044. type: string
  3045. goodsid:
  3046. description: 商品id
  3047. type: integer
  3048. goodsname:
  3049. description: 商品名称
  3050. type: string
  3051. middlegoodsid:
  3052. description: 套保商品id
  3053. type: integer
  3054. ydqty:
  3055. description: 昨日持仓
  3056. type: integer
  3057. type: object
  3058. ermcp.RealtimeExposureRsp:
  3059. properties:
  3060. AreaUserID:
  3061. description: 所属机构
  3062. type: integer
  3063. BuyFutureQty:
  3064. description: 买入期货数量
  3065. type: number
  3066. BuyPlanQty:
  3067. description: 采购计划数量
  3068. type: number
  3069. BuyPricedQty:
  3070. description: 采购合同已定价数量
  3071. type: number
  3072. MiddleGoodsCode:
  3073. description: 套保品种代码
  3074. type: string
  3075. MiddleGoodsHedgeRatio:
  3076. description: 应套保比例
  3077. type: number
  3078. MiddleGoodsID:
  3079. description: 套保品种
  3080. type: integer
  3081. MiddleGoodsName:
  3082. description: 套保品种名称
  3083. type: string
  3084. NeedHedgeExposoure:
  3085. description: 应套保敞口
  3086. type: number
  3087. NeedHedgeRatio:
  3088. description: 应套保敞口比例
  3089. type: number
  3090. OriBuyFutureQty:
  3091. description: 期初买入期货数量
  3092. type: number
  3093. OriBuyPlanQty:
  3094. description: 期初采购计划数量
  3095. type: number
  3096. OriBuyPricedQty:
  3097. description: 期初采购合同已定价数量
  3098. type: number
  3099. OriSellFutureQty:
  3100. description: 期初卖出期货数量
  3101. type: number
  3102. OriSellPlanQty:
  3103. description: 期初销售计划数量
  3104. type: number
  3105. OriSellPricedQty:
  3106. description: 期初销售合同已定价数量
  3107. type: number
  3108. SellFutureQty:
  3109. description: 卖出期货数量
  3110. type: number
  3111. SellPlanQty:
  3112. description: 销售计划数量
  3113. type: number
  3114. SellPricedQty:
  3115. description: 销售合同已定价数量
  3116. type: number
  3117. TotalExposure:
  3118. description: 总敞口
  3119. type: number
  3120. TotalFutureQty:
  3121. description: 期货数量
  3122. type: number
  3123. TotalHedgeRatio:
  3124. description: 敞口比例
  3125. type: number
  3126. TotalNeedHedgeQty:
  3127. description: 期货应套保量
  3128. type: number
  3129. TotalSpotQty:
  3130. description: 现货数量
  3131. type: number
  3132. diffFutuQty:
  3133. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3134. type: number
  3135. diffSpotQty:
  3136. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3137. type: number
  3138. enumdicname:
  3139. description: 单位名称
  3140. type: string
  3141. oriTotalFutuQty:
  3142. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3143. type: number
  3144. oriTotalSpotQty:
  3145. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3146. type: number
  3147. type: object
  3148. erms2.QueryArbitrageStrategyRsp:
  3149. properties:
  3150. applybasis:
  3151. description: 申请基差
  3152. type: number
  3153. asapplyid:
  3154. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3155. type: string
  3156. asname:
  3157. description: 策略名称
  3158. type: string
  3159. asno:
  3160. description: 策略编号
  3161. type: string
  3162. basischangepl:
  3163. description: 基差变动损益[结算更新]
  3164. type: number
  3165. biztype:
  3166. description: 业务类型 - 1:正向套利 -1:反向套利
  3167. type: integer
  3168. closetradedate:
  3169. description: 完结交易日(yyyyMMdd)
  3170. type: string
  3171. curbasis:
  3172. description: 当前基差[结算更新]
  3173. type: number
  3174. deliverygoodsid:
  3175. description: 现货品种ID
  3176. type: integer
  3177. futureavgprice:
  3178. description: 期货建仓均价
  3179. type: number
  3180. futurecloseamount:
  3181. description: 期货平仓金额
  3182. type: number
  3183. futurecloseqty:
  3184. description: 期货平仓数量
  3185. type: number
  3186. futureopenamount:
  3187. description: 期货开仓金额
  3188. type: number
  3189. futureopenqty:
  3190. description: 期货开仓数量
  3191. type: number
  3192. futurepl:
  3193. description: 期货总盈亏[结算更新]
  3194. type: number
  3195. futureqty:
  3196. description: 期货持仓数量
  3197. type: number
  3198. futurequote:
  3199. description: 期货额度
  3200. type: number
  3201. goodsgroupid:
  3202. description: 期货品种ID
  3203. type: integer
  3204. marketid:
  3205. description: 市场ID
  3206. type: integer
  3207. netexposure:
  3208. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3209. type: number
  3210. netexposurepl:
  3211. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3212. type: number
  3213. netexposurerate:
  3214. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3215. type: number
  3216. openbasis:
  3217. description: 建仓基差
  3218. type: number
  3219. pricedspotqty:
  3220. description: 已定价现货数量
  3221. type: number
  3222. pricedspotqtynotax:
  3223. description: 已定价现货不含税数量
  3224. type: number
  3225. remark:
  3226. description: 备注
  3227. type: string
  3228. spotavgprice:
  3229. description: 现货均价
  3230. type: number
  3231. spotbuyamount:
  3232. description: 现货采购金额
  3233. type: number
  3234. spotbuyqty:
  3235. description: 现货采购数量
  3236. type: number
  3237. spotpl:
  3238. description: 现货总盈亏[结算更新]
  3239. type: number
  3240. spotquota:
  3241. description: 现货额度
  3242. type: number
  3243. spotsellamount:
  3244. description: 现货销售金额
  3245. type: number
  3246. spotsellqty:
  3247. description: 现货销售数量
  3248. type: number
  3249. spotusedquota:
  3250. description: 现货占用资金
  3251. type: number
  3252. strategystatus:
  3253. description: 策略状态 - 0:未结束 1:已结束
  3254. type: integer
  3255. totalpl:
  3256. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3257. type: number
  3258. tradedate:
  3259. description: 交易日(yyyyMMdd)
  3260. type: string
  3261. updatetime:
  3262. description: 更新时间
  3263. type: string
  3264. usedquota:
  3265. description: 已占用资金
  3266. type: number
  3267. userid:
  3268. description: 所属机构
  3269. type: integer
  3270. required:
  3271. - asapplyid
  3272. type: object
  3273. erms2.QueryInnerTradeDetailRsp:
  3274. properties:
  3275. accountid:
  3276. description: 账号ID
  3277. type: integer
  3278. agreeunit:
  3279. description: 合约单位
  3280. type: number
  3281. asapplyid:
  3282. description: 策略申请ID
  3283. type: integer
  3284. asname:
  3285. description: 策略名称
  3286. type: string
  3287. asno:
  3288. description: 策略编号
  3289. type: string
  3290. buyorsell:
  3291. description: 方向 - 0:买 1:卖
  3292. type: integer
  3293. channelbuildtype:
  3294. description: 委托单据类型 0:无 1:建仓 2:平仓
  3295. type: integer
  3296. closetype:
  3297. description: 平仓方式 - 0:无 1:平今 2:平昨
  3298. type: integer
  3299. decimalplace:
  3300. description: 报价小数位
  3301. type: integer
  3302. detailtype:
  3303. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3304. type: integer
  3305. exexchangecode:
  3306. description: 外部交易所代码
  3307. type: string
  3308. exexchangename:
  3309. description: 外部交易所名称
  3310. type: string
  3311. goodscode:
  3312. description: 商品代码(合约)
  3313. type: string
  3314. goodsgroupid:
  3315. description: 商品组ID(品种ID)
  3316. type: integer
  3317. goodsgroupname:
  3318. description: 商品组名称(品种)
  3319. type: string
  3320. goodsid:
  3321. description: 商品ID
  3322. type: integer
  3323. goodsname:
  3324. description: 商品名称(合约)
  3325. type: string
  3326. goodunit:
  3327. description: 报价单位
  3328. type: string
  3329. marketid:
  3330. description: 市场ID
  3331. type: integer
  3332. orderid:
  3333. description: 委托单号
  3334. type: string
  3335. outgoodscode:
  3336. description: 商品代码(外部)
  3337. type: string
  3338. relatedouttradeid:
  3339. description: 关联外部成交单ID
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. spotcontractid:
  3345. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3346. type: integer
  3347. spotcontractno:
  3348. description: 现货合同编号
  3349. type: string
  3350. tradeid:
  3351. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3352. type: string
  3353. tradeprice:
  3354. description: 成交价格
  3355. type: number
  3356. tradeqty:
  3357. description: 成交数量
  3358. type: integer
  3359. tradetime:
  3360. description: 成交时间
  3361. type: string
  3362. updatetime:
  3363. description: 更新时间
  3364. type: string
  3365. required:
  3366. - asapplyid
  3367. - buyorsell
  3368. - goodscode
  3369. - goodsgroupid
  3370. - goodsgroupname
  3371. - goodsname
  3372. - tradeid
  3373. type: object
  3374. erms2.QuerySpotContractRsp:
  3375. properties:
  3376. accountid:
  3377. description: 资金账户ID
  3378. type: integer
  3379. areauserid:
  3380. description: 所属机构
  3381. type: integer
  3382. closedate:
  3383. description: 终止日期
  3384. type: string
  3385. closeremark:
  3386. description: 结束备注
  3387. type: string
  3388. closetradedate:
  3389. description: 完结交易日(yyyyMMdd)
  3390. type: string
  3391. closetype:
  3392. description: 终止类型 - 1:违约 2:提前终止
  3393. type: integer
  3394. contractamount:
  3395. description: 合同金额
  3396. type: number
  3397. contractattachment:
  3398. description: 合同附件
  3399. type: string
  3400. contractno:
  3401. description: 现货合同编号
  3402. type: string
  3403. contractqty:
  3404. description: 合同数量(数值) (用于计算)
  3405. type: number
  3406. contractqtychar:
  3407. description: 合同数量\已订价数量 (用于显示)
  3408. type: string
  3409. contractstatus:
  3410. description: 合同状态 - 0:未结束 1:已结束
  3411. type: integer
  3412. contracttype:
  3413. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3414. type: integer
  3415. customeraccountid:
  3416. description: 客户资金账户ID
  3417. type: integer
  3418. customeruserid:
  3419. description: 客户ID
  3420. type: integer
  3421. deliverygoodsdesc:
  3422. description: 品种说明
  3423. type: string
  3424. deliverygoodsid:
  3425. description: 现货品种ID
  3426. type: integer
  3427. handlestatus:
  3428. description: 处理状态
  3429. type: integer
  3430. invoiceatt:
  3431. description: 发票附件
  3432. type: string
  3433. invoicedatetime:
  3434. description: 开收票更新时间
  3435. type: string
  3436. invoiceopentime:
  3437. description: 开票时间
  3438. type: string
  3439. invoiceremark:
  3440. description: 发票备注
  3441. type: string
  3442. invoicestatus:
  3443. description: 开收票状态 - 0:未开票 1:已开票
  3444. type: integer
  3445. lastdate:
  3446. description: 交货时间
  3447. type: string
  3448. marketid:
  3449. description: 市场ID
  3450. type: integer
  3451. paydatetime:
  3452. description: 收付款更新时间
  3453. type: string
  3454. payremark:
  3455. description: 收付款备注
  3456. type: string
  3457. paystatus:
  3458. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3459. type: integer
  3460. positionqty:
  3461. description: 头寸数量 - 合同数量去小数部分
  3462. type: integer
  3463. producttype:
  3464. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3465. type: integer
  3466. relatedqty:
  3467. description: 已关联数量
  3468. type: number
  3469. relatedstatus:
  3470. description: 关联完结状态 - 0:未结束 1:已结束
  3471. type: integer
  3472. remark:
  3473. description: 备注
  3474. type: string
  3475. signdate:
  3476. description: 签订日期
  3477. type: string
  3478. spotcontractid:
  3479. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3480. type: string
  3481. spotdatetime:
  3482. description: 收发货更新时间
  3483. type: string
  3484. spotprice:
  3485. description: 价格
  3486. type: number
  3487. spotremark:
  3488. description: 收发货备注
  3489. type: string
  3490. spotstatus:
  3491. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3492. type: integer
  3493. tradedate:
  3494. description: 交易日(yyyyMMdd)
  3495. type: string
  3496. userid:
  3497. description: 业务员用户ID
  3498. type: integer
  3499. warehouseid:
  3500. description: 仓库ID
  3501. type: integer
  3502. wrfactortypeid:
  3503. description: 仓单要素类型ID
  3504. type: integer
  3505. wrstandardid:
  3506. description: 仓单标准ID(SEQ_WRSTANDARD)
  3507. type: integer
  3508. required:
  3509. - spotcontractid
  3510. type: object
  3511. erms3.AddErms2ASApplyReq:
  3512. properties:
  3513. applybasis:
  3514. description: 申请基差
  3515. type: number
  3516. applystatus:
  3517. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3518. type: integer
  3519. asapplyid:
  3520. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3521. type: integer
  3522. asname:
  3523. description: 策略名称
  3524. type: string
  3525. asno:
  3526. description: 策略编号
  3527. type: string
  3528. auditid:
  3529. description: 审核人
  3530. type: integer
  3531. auditremark:
  3532. description: 审核备注
  3533. type: string
  3534. audittime:
  3535. description: 审核时间
  3536. type: string
  3537. biztype:
  3538. description: 业务类型 - 1:正向套利 2:反向套利
  3539. type: integer
  3540. createtime:
  3541. description: 创建时间
  3542. type: string
  3543. creatorid:
  3544. description: 创建人
  3545. type: integer
  3546. deliverygoodsid:
  3547. description: 现货品种ID
  3548. type: integer
  3549. futurequote:
  3550. description: 期货额度
  3551. type: number
  3552. goodsgroupid:
  3553. description: 期货品种ID
  3554. type: integer
  3555. marketid:
  3556. description: 市场ID
  3557. type: integer
  3558. remark:
  3559. description: 备注
  3560. type: string
  3561. spotquota:
  3562. description: 现货额度
  3563. type: number
  3564. tradedate:
  3565. description: 交易日(yyyyMMdd)
  3566. type: string
  3567. userid:
  3568. description: 所属机构
  3569. type: integer
  3570. required:
  3571. - asapplyid
  3572. type: object
  3573. erms3.AddErms2SpotTradeApplyReq:
  3574. properties:
  3575. applyjsondetail:
  3576. description: 申请明细(JSON)
  3577. type: string
  3578. applystatus:
  3579. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3580. type: integer
  3581. areauserid:
  3582. description: 所属机构
  3583. type: integer
  3584. auditid:
  3585. description: 审核人
  3586. type: integer
  3587. auditremark:
  3588. description: 审核备注
  3589. type: string
  3590. audittime:
  3591. description: 审核时间
  3592. type: string
  3593. createtime:
  3594. description: 创建时间
  3595. type: string
  3596. creatorid:
  3597. description: 创建人
  3598. type: integer
  3599. deliverygoodsid:
  3600. description: 现货品种ID
  3601. type: integer
  3602. futureaccountid:
  3603. description: 期货资金账户
  3604. type: integer
  3605. goodsgroupid:
  3606. description: 期货品种
  3607. type: integer
  3608. marketid:
  3609. description: 市场ID
  3610. type: integer
  3611. remark:
  3612. description: 备注
  3613. type: string
  3614. spotaccountid:
  3615. description: 现货资金账户
  3616. type: integer
  3617. spottradeid:
  3618. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3619. type: integer
  3620. spottradename:
  3621. description: 业务名称
  3622. type: string
  3623. spottradeno:
  3624. description: 业务编号
  3625. type: string
  3626. tradedate:
  3627. description: 交易日(yyyyMMdd)
  3628. type: string
  3629. wrstandardid:
  3630. description: 仓单标准ID
  3631. type: integer
  3632. required:
  3633. - spottradeid
  3634. type: object
  3635. erms3.AddSpotContractApplyReq:
  3636. properties:
  3637. accountid:
  3638. description: 资金账户ID
  3639. type: integer
  3640. areauserid:
  3641. description: 所属机构
  3642. type: integer
  3643. contractattachment:
  3644. description: 合同附件
  3645. type: string
  3646. contractno:
  3647. description: 现货合同编号
  3648. type: string
  3649. contracttype:
  3650. description: 现货合同类型 - 1:采购 -1:销售
  3651. type: integer
  3652. creatorid:
  3653. description: 申请人
  3654. type: integer
  3655. customeraccountid:
  3656. description: 客户资金账户ID
  3657. type: integer
  3658. customeruserid:
  3659. description: 客户ID
  3660. type: integer
  3661. details:
  3662. description: 明细
  3663. items:
  3664. $ref: '#/definitions/erms3.SoptContractDetail'
  3665. type: array
  3666. orimargin:
  3667. description: 初始保证金
  3668. type: number
  3669. remark:
  3670. description: 备注
  3671. type: string
  3672. signdate:
  3673. description: 签订日期
  3674. type: string
  3675. required:
  3676. - accountid
  3677. - areauserid
  3678. - contractno
  3679. - contracttype
  3680. - customeraccountid
  3681. - customeruserid
  3682. - details
  3683. - orimargin
  3684. - signdate
  3685. type: object
  3686. erms3.AddSpotContractApplyRsp:
  3687. properties:
  3688. contractno:
  3689. description: 现货合同编号
  3690. type: string
  3691. spotcontractid:
  3692. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3693. type: integer
  3694. required:
  3695. - contractno
  3696. type: object
  3697. erms3.AddUserInfoApplyReq:
  3698. properties:
  3699. accountid:
  3700. description: 交易系统帐号Id (加密存储)
  3701. type: integer
  3702. areacode:
  3703. description: 机构代码
  3704. type: string
  3705. areaid:
  3706. description: 机构Id
  3707. type: integer
  3708. attachment1:
  3709. description: 附件1
  3710. type: string
  3711. attachment2:
  3712. description: 附件2
  3713. type: string
  3714. attachment3:
  3715. description: 附件3
  3716. type: string
  3717. attachment4:
  3718. description: 附件4
  3719. type: string
  3720. attachment5:
  3721. description: 附件5
  3722. type: string
  3723. auditedby:
  3724. description: 审核人
  3725. type: string
  3726. auditime:
  3727. description: 审核时间
  3728. type: string
  3729. bankaccount:
  3730. description: 银行帐号 (加密存储)
  3731. type: string
  3732. bankaccountname:
  3733. description: 收款人名称
  3734. type: string
  3735. bankcardbackphotourl:
  3736. description: 银行卡背面照地址
  3737. type: string
  3738. bankcardfrontphotourl:
  3739. description: 银行卡正面照地址
  3740. type: string
  3741. bankid:
  3742. description: 银行编码
  3743. type: string
  3744. bankname:
  3745. description: 银行名称
  3746. type: string
  3747. bankpictureurl:
  3748. description: 银行卡正面地址
  3749. type: string
  3750. biznature:
  3751. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3752. type: integer
  3753. bizscope:
  3754. description: 企业经营范围(企业)
  3755. type: string
  3756. biztype:
  3757. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3758. type: integer
  3759. brokerid:
  3760. description: 经纪人ID(加密存储)
  3761. type: string
  3762. cardaddress:
  3763. description: 证件地址 (加密存储)
  3764. type: string
  3765. cardbackphotourl:
  3766. description: 背面证件照地址
  3767. type: string
  3768. cardfrontphotourl:
  3769. description: 正面证件照地址
  3770. type: string
  3771. cardnum:
  3772. description: 证件号码 (加密存储)
  3773. type: string
  3774. cardtype:
  3775. description: 证件类型
  3776. type: integer
  3777. cityid:
  3778. description: 市
  3779. type: integer
  3780. company:
  3781. description: 公司(个人)
  3782. type: string
  3783. contactcardbackphotourl:
  3784. description: 联系人证件背面图片地址
  3785. type: string
  3786. contactcardfrontphotourl:
  3787. description: 联系人证件正面图片地址
  3788. type: string
  3789. contactname:
  3790. description: 联系人
  3791. type: string
  3792. countryid:
  3793. description: 国家
  3794. type: integer
  3795. createtime:
  3796. description: 开户申请时间
  3797. type: string
  3798. cusbankid:
  3799. description: 签约类型
  3800. type: string
  3801. cusbankname:
  3802. description: 签约类型名称
  3803. type: string
  3804. customername:
  3805. description: 客户名称(企业名称)
  3806. type: string
  3807. districtid:
  3808. description: 地区
  3809. type: integer
  3810. email:
  3811. description: Email地址(加密存储)
  3812. type: string
  3813. halfbodyphotourl:
  3814. description: 半身照地址
  3815. type: string
  3816. headurl:
  3817. description: 头像地址
  3818. type: string
  3819. ipaddress:
  3820. description: IP地址
  3821. type: string
  3822. isvalidate:
  3823. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3824. type: string
  3825. legalcardbackphotourl:
  3826. description: 法人身份证背面照地址
  3827. type: string
  3828. legalcardfrontphotourl:
  3829. description: 法人身份证正面照地址
  3830. type: string
  3831. legalpersonname:
  3832. description: 法人姓名(企业)
  3833. type: string
  3834. logincode:
  3835. description: 登录帐号 (加密存储)
  3836. type: string
  3837. memberareaid:
  3838. description: 所属会员ID
  3839. type: integer
  3840. mobile2:
  3841. description: 手机号码[明文-尚志]
  3842. type: string
  3843. mobilephone:
  3844. description: 手机号码 (加密存储)
  3845. type: string
  3846. modifiedby:
  3847. description: 修改人帐号
  3848. type: integer
  3849. modifiedtime:
  3850. description: 修改时间
  3851. type: string
  3852. nickname:
  3853. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3854. type: string
  3855. openmode:
  3856. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3857. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3858. type: integer
  3859. otherurl:
  3860. description: 其它图片地址[使用分号分隔]
  3861. type: string
  3862. postalcode:
  3863. description: 邮政编码
  3864. type: string
  3865. provinceid:
  3866. description: 省
  3867. type: integer
  3868. proxystatementurl:
  3869. description: 授权委托书
  3870. type: string
  3871. qq:
  3872. description: QQ(加密存储
  3873. type: string
  3874. referral:
  3875. description: 推荐人编码
  3876. type: string
  3877. remark:
  3878. description: 备注
  3879. type: string
  3880. removebeforestatus:
  3881. description: REMOVEBEFORESTATUS
  3882. type: integer
  3883. sex:
  3884. description: 性别 - 0:女 1:男
  3885. type: integer
  3886. signedstatus:
  3887. description: 账户一号签签约状态
  3888. type: integer
  3889. signpdfurl:
  3890. description: 签约pdf文件
  3891. type: string
  3892. subbranch:
  3893. description: 开户支行
  3894. type: string
  3895. telphone:
  3896. description: 联系电话(加密存储)
  3897. type: string
  3898. userid:
  3899. description: 用户ID(自增ID)
  3900. type: integer
  3901. userinfotype:
  3902. description: 用户信息类型 - 1:个人 2:企业
  3903. type: integer
  3904. username:
  3905. description: 用户姓名
  3906. type: string
  3907. userstate:
  3908. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3909. type: integer
  3910. usertype:
  3911. description: 用户类型 - 1:投资者 2:机构
  3912. type: integer
  3913. videourl:
  3914. description: 视频地址
  3915. type: string
  3916. wechat:
  3917. description: 微信号 (加密存储)
  3918. type: string
  3919. required:
  3920. - userid
  3921. type: object
  3922. erms3.CustomerInfo:
  3923. properties:
  3924. accountids:
  3925. description: 资金账户ID列表
  3926. items:
  3927. type: integer
  3928. type: array
  3929. customername:
  3930. description: 名称(企业名称)
  3931. type: string
  3932. mobile:
  3933. description: 手机号码
  3934. type: string
  3935. userid:
  3936. description: 用户ID
  3937. type: integer
  3938. required:
  3939. - userid
  3940. type: object
  3941. erms3.ModifyUserInfoApplyReq:
  3942. properties:
  3943. accountid:
  3944. description: 交易系统帐号Id (加密存储)
  3945. type: integer
  3946. areacode:
  3947. description: 机构代码
  3948. type: string
  3949. areaid:
  3950. description: 机构Id
  3951. type: integer
  3952. attachment1:
  3953. description: 附件1
  3954. type: string
  3955. attachment2:
  3956. description: 附件2
  3957. type: string
  3958. attachment3:
  3959. description: 附件3
  3960. type: string
  3961. attachment4:
  3962. description: 附件4
  3963. type: string
  3964. attachment5:
  3965. description: 附件5
  3966. type: string
  3967. auditedby:
  3968. description: 审核人
  3969. type: string
  3970. auditime:
  3971. description: 审核时间
  3972. type: string
  3973. bankaccount:
  3974. description: 银行帐号 (加密存储)
  3975. type: string
  3976. bankaccountname:
  3977. description: 收款人名称
  3978. type: string
  3979. bankcardbackphotourl:
  3980. description: 银行卡背面照地址
  3981. type: string
  3982. bankcardfrontphotourl:
  3983. description: 银行卡正面照地址
  3984. type: string
  3985. bankid:
  3986. description: 银行编码
  3987. type: string
  3988. bankname:
  3989. description: 银行名称
  3990. type: string
  3991. bankpictureurl:
  3992. description: 银行卡正面地址
  3993. type: string
  3994. biznature:
  3995. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3996. type: integer
  3997. bizscope:
  3998. description: 企业经营范围(企业)
  3999. type: string
  4000. biztype:
  4001. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  4002. type: integer
  4003. brokerid:
  4004. description: 经纪人ID(加密存储)
  4005. type: string
  4006. cardaddress:
  4007. description: 证件地址 (加密存储)
  4008. type: string
  4009. cardbackphotourl:
  4010. description: 背面证件照地址
  4011. type: string
  4012. cardfrontphotourl:
  4013. description: 正面证件照地址
  4014. type: string
  4015. cardnum:
  4016. description: 证件号码 (加密存储)
  4017. type: string
  4018. cardtype:
  4019. description: 证件类型
  4020. type: integer
  4021. cityid:
  4022. description: 市
  4023. type: integer
  4024. company:
  4025. description: 公司(个人)
  4026. type: string
  4027. contactcardbackphotourl:
  4028. description: 联系人证件背面图片地址
  4029. type: string
  4030. contactcardfrontphotourl:
  4031. description: 联系人证件正面图片地址
  4032. type: string
  4033. contactname:
  4034. description: 联系人
  4035. type: string
  4036. countryid:
  4037. description: 国家
  4038. type: integer
  4039. createtime:
  4040. description: 开户申请时间
  4041. type: string
  4042. cusbankid:
  4043. description: 签约类型
  4044. type: string
  4045. cusbankname:
  4046. description: 签约类型名称
  4047. type: string
  4048. customername:
  4049. description: 客户名称(企业名称)
  4050. type: string
  4051. districtid:
  4052. description: 地区
  4053. type: integer
  4054. email:
  4055. description: Email地址(加密存储)
  4056. type: string
  4057. halfbodyphotourl:
  4058. description: 半身照地址
  4059. type: string
  4060. headurl:
  4061. description: 头像地址
  4062. type: string
  4063. ipaddress:
  4064. description: IP地址
  4065. type: string
  4066. isvalidate:
  4067. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  4068. type: string
  4069. legalcardbackphotourl:
  4070. description: 法人身份证背面照地址
  4071. type: string
  4072. legalcardfrontphotourl:
  4073. description: 法人身份证正面照地址
  4074. type: string
  4075. legalpersonname:
  4076. description: 法人姓名(企业)
  4077. type: string
  4078. logincode:
  4079. description: 登录帐号 (加密存储)
  4080. type: string
  4081. memberareaid:
  4082. description: 所属会员ID
  4083. type: integer
  4084. mobile2:
  4085. description: 手机号码[明文-尚志]
  4086. type: string
  4087. mobilephone:
  4088. description: 手机号码 (加密存储)
  4089. type: string
  4090. modifiedby:
  4091. description: 修改人帐号
  4092. type: integer
  4093. modifiedtime:
  4094. description: 修改时间
  4095. type: string
  4096. nickname:
  4097. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  4098. type: string
  4099. openmode:
  4100. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  4101. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  4102. type: integer
  4103. otherurl:
  4104. description: 其它图片地址[使用分号分隔]
  4105. type: string
  4106. postalcode:
  4107. description: 邮政编码
  4108. type: string
  4109. provinceid:
  4110. description: 省
  4111. type: integer
  4112. proxystatementurl:
  4113. description: 授权委托书
  4114. type: string
  4115. qq:
  4116. description: QQ(加密存储
  4117. type: string
  4118. referral:
  4119. description: 推荐人编码
  4120. type: string
  4121. remark:
  4122. description: 备注
  4123. type: string
  4124. removebeforestatus:
  4125. description: REMOVEBEFORESTATUS
  4126. type: integer
  4127. sex:
  4128. description: 性别 - 0:女 1:男
  4129. type: integer
  4130. signedstatus:
  4131. description: 账户一号签签约状态
  4132. type: integer
  4133. signpdfurl:
  4134. description: 签约pdf文件
  4135. type: string
  4136. subbranch:
  4137. description: 开户支行
  4138. type: string
  4139. telphone:
  4140. description: 联系电话(加密存储)
  4141. type: string
  4142. userid:
  4143. description: 用户ID(自增ID)
  4144. type: integer
  4145. userinfotype:
  4146. description: 用户信息类型 - 1:个人 2:企业
  4147. type: integer
  4148. username:
  4149. description: 用户姓名
  4150. type: string
  4151. userstate:
  4152. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4153. type: integer
  4154. usertype:
  4155. description: 用户类型 - 1:投资者 2:机构
  4156. type: integer
  4157. videourl:
  4158. description: 视频地址
  4159. type: string
  4160. wechat:
  4161. description: 微信号 (加密存储)
  4162. type: string
  4163. required:
  4164. - userid
  4165. type: object
  4166. erms3.QryAuditContractRsp:
  4167. properties:
  4168. accountid:
  4169. description: 交易员ID
  4170. type: string
  4171. applystatus:
  4172. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4173. type: integer
  4174. curdeliveryqty:
  4175. description: 未交收量
  4176. type: integer
  4177. customername:
  4178. description: 采购方ID
  4179. type: string
  4180. deliverygoodsid:
  4181. description: 品种ID
  4182. type: string
  4183. deliveryqty:
  4184. description: 交收量
  4185. type: integer
  4186. enumdicname:
  4187. description: 单位名称
  4188. type: string
  4189. matchaccountid:
  4190. description: 业务员ID
  4191. type: string
  4192. matchcustomername:
  4193. description: 销售方ID
  4194. type: string
  4195. pricedqty:
  4196. description: 定价量
  4197. type: number
  4198. signdate:
  4199. description: 签订日期
  4200. type: string
  4201. spotcontractid:
  4202. description: 合同ID
  4203. type: string
  4204. totaldqty:
  4205. description: 合同量
  4206. type: number
  4207. unpricedqty:
  4208. description: 未定价量
  4209. type: number
  4210. wrstandardname:
  4211. description: 商品名称
  4212. type: string
  4213. required:
  4214. - matchcustomername
  4215. - spotcontractid
  4216. type: object
  4217. erms3.QryPendingBizRsp:
  4218. properties:
  4219. accountid:
  4220. description: 现货账户
  4221. type: string
  4222. areaname:
  4223. description: 所属部门
  4224. type: string
  4225. bizid:
  4226. description: 业务ID
  4227. type: string
  4228. bizname:
  4229. description: 业务名称
  4230. type: string
  4231. status:
  4232. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4233. type: integer
  4234. type:
  4235. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4236. type: integer
  4237. type: object
  4238. erms3.QueryBusinessInfoRsp:
  4239. properties:
  4240. businessid:
  4241. description: 业务ID.
  4242. type: integer
  4243. buyamount:
  4244. description: 采购额.
  4245. type: number
  4246. buyqty:
  4247. description: 采购量.
  4248. type: string
  4249. futurepl:
  4250. description: 期货盈亏.
  4251. type: number
  4252. futureqty:
  4253. description: 期货敞口.
  4254. type: string
  4255. goodsid:
  4256. description: 商品名称/商品代码.
  4257. type: string
  4258. hedgingqty:
  4259. description: 套保量.
  4260. type: string
  4261. sellamount:
  4262. description: 销售额.
  4263. type: number
  4264. sellqty:
  4265. description: 销售量.
  4266. type: string
  4267. spotmarketvalue:
  4268. description: 现货市值.
  4269. type: number
  4270. spotpl:
  4271. description: 浮动权益.
  4272. type: number
  4273. spotqty:
  4274. description: 现货量.
  4275. type: string
  4276. statu:
  4277. description: 状态,0-未结束 1-已结束.
  4278. type: integer
  4279. totalpl:
  4280. description: 总盈亏.
  4281. type: number
  4282. totalqty:
  4283. description: 总敞口.
  4284. type: string
  4285. type:
  4286. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4287. type: integer
  4288. type: object
  4289. erms3.QuerySpotContractAppleFormRsp:
  4290. properties:
  4291. goodses:
  4292. description: 合约列表
  4293. items:
  4294. $ref: '#/definitions/models.GoodsIDAndName'
  4295. type: array
  4296. oppositeusers:
  4297. description: 对方账号列表
  4298. items:
  4299. $ref: '#/definitions/erms3.CustomerInfo'
  4300. type: array
  4301. ouruser:
  4302. $ref: '#/definitions/erms3.CustomerInfo'
  4303. description: 我方账号
  4304. warehouseinfos:
  4305. description: 仓库信息列表
  4306. items:
  4307. $ref: '#/definitions/models.Warehouseinfo'
  4308. type: array
  4309. wrstandards:
  4310. description: 仓单标准列表
  4311. items:
  4312. $ref: '#/definitions/models.WRStandardInfo'
  4313. type: array
  4314. type: object
  4315. erms3.QuerySpotContractInfoRsp:
  4316. properties:
  4317. accountid:
  4318. description: 表示交易员ID.
  4319. type: integer
  4320. curdeliveryqty:
  4321. description: 表示未交收量.
  4322. type: number
  4323. customername:
  4324. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4325. type: string
  4326. deliverygoodsid:
  4327. description: 表示品种ID.
  4328. type: string
  4329. deliveryqty:
  4330. description: 表示交收量.
  4331. type: number
  4332. matchaccountid:
  4333. description: 表示业务员ID.
  4334. type: integer
  4335. matchcustomername:
  4336. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4337. type: string
  4338. priceqty:
  4339. description: 表示定价量.
  4340. type: number
  4341. relatedbizid:
  4342. description: 表示业务ID.
  4343. type: string
  4344. signdate:
  4345. description: 表示签订日期.
  4346. type: string
  4347. spotcontractid:
  4348. description: 合同ID
  4349. type: string
  4350. status:
  4351. description: 表示状态,0-履约中 1-已完成.
  4352. type: integer
  4353. totalqty:
  4354. description: 表示合同量.
  4355. type: number
  4356. unpricedqty:
  4357. description: 表示未定价量.
  4358. type: number
  4359. wrstandardname:
  4360. description: 表示商品ID.
  4361. type: string
  4362. type: object
  4363. erms3.QueryUserInfoAppliesRsp:
  4364. properties:
  4365. biznature:
  4366. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4367. type: integer
  4368. contactname:
  4369. description: 联系人
  4370. type: string
  4371. createtime:
  4372. description: 开户申请时间
  4373. type: string
  4374. userid:
  4375. description: 用户ID(自增ID)
  4376. type: integer
  4377. userinfotype:
  4378. description: 用户信息类型 - 1:个人 2:企业
  4379. type: integer
  4380. username:
  4381. description: 用户姓名
  4382. type: string
  4383. userstate:
  4384. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4385. type: integer
  4386. required:
  4387. - userid
  4388. type: object
  4389. erms3.QueryUserInfosRsp:
  4390. properties:
  4391. biznature:
  4392. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4393. type: integer
  4394. contactname:
  4395. description: 联系人
  4396. type: string
  4397. customername:
  4398. description: 客户名称(企业名称)
  4399. type: string
  4400. userid:
  4401. description: 用户ID
  4402. type: integer
  4403. userinfotype:
  4404. description: 用户信息类型 - 1:个人 2:企业
  4405. type: integer
  4406. userstatus:
  4407. description: 用户状态 - 1:正常 2:注销
  4408. type: integer
  4409. required:
  4410. - userid
  4411. type: object
  4412. erms3.SoptContractDetail:
  4413. properties:
  4414. deliverygoodsdesc:
  4415. description: 现货品种说明
  4416. type: string
  4417. deliverygoodsid:
  4418. description: 现货品种ID
  4419. type: integer
  4420. deliverygoodsname:
  4421. description: 现货品种名称
  4422. type: string
  4423. pointdesc:
  4424. description: 点价描述
  4425. type: string
  4426. producttype:
  4427. description: 产品类型 1:标准仓单 2:等标 3:非标
  4428. type: integer
  4429. producttypename:
  4430. description: 产品类型名称
  4431. type: string
  4432. spotPointOrderVoList:
  4433. description: 点价列表
  4434. items:
  4435. $ref: '#/definitions/erms3.SpotPointOrder'
  4436. type: array
  4437. spotPriceOrderList:
  4438. description: 定价列表
  4439. items:
  4440. $ref: '#/definitions/erms3.SpotPriceOrder'
  4441. type: array
  4442. unitname:
  4443. description: 单位名称
  4444. type: string
  4445. warehouseid:
  4446. description: 仓库ID
  4447. type: integer
  4448. warehousename:
  4449. description: 仓库名称
  4450. type: string
  4451. wrstandardid:
  4452. description: 交易标的ID
  4453. type: integer
  4454. wrstandardname:
  4455. description: 交易标的名称
  4456. type: string
  4457. required:
  4458. - deliverygoodsid
  4459. - producttype
  4460. - unitname
  4461. - warehouseid
  4462. - wrstandardid
  4463. - wrstandardname
  4464. type: object
  4465. erms3.SpotPointOrder:
  4466. properties:
  4467. basic:
  4468. description: 基差
  4469. type: number
  4470. deliveryenddate:
  4471. description: 交收结束日期
  4472. type: string
  4473. deliverystartdate:
  4474. description: 交收开始日期
  4475. type: string
  4476. enddate:
  4477. description: 点价结束日期
  4478. type: string
  4479. goodsid:
  4480. description: 商品ID
  4481. type: integer
  4482. goodsname:
  4483. description: 商品名称
  4484. type: string
  4485. qty:
  4486. description: 数量
  4487. type: number
  4488. startdate:
  4489. description: 点价开始日期
  4490. type: string
  4491. required:
  4492. - basic
  4493. - goodsid
  4494. - qty
  4495. type: object
  4496. erms3.SpotPriceOrder:
  4497. properties:
  4498. amount:
  4499. description: 金额
  4500. type: number
  4501. deliveryenddate:
  4502. description: 交收结束日期
  4503. type: string
  4504. deliverystartdate:
  4505. description: 交收开始日期
  4506. type: string
  4507. price:
  4508. description: 价格
  4509. type: number
  4510. qty:
  4511. description: 数量
  4512. type: number
  4513. required:
  4514. - amount
  4515. - price
  4516. - qty
  4517. type: object
  4518. hsby.GetHsbyMyCountRsp:
  4519. properties:
  4520. myCouponCount:
  4521. description: 我的优惠卷数量
  4522. type: integer
  4523. myOrderDetailListingCount:
  4524. description: 我的订单求购中数量
  4525. type: integer
  4526. myOrderDetailPreCount:
  4527. description: 我的订单抢购中数量
  4528. type: integer
  4529. myPackageUnReceiveCount:
  4530. description: 我的包裹待收货数量
  4531. type: integer
  4532. myPackageUnSendCount:
  4533. description: 我的包裹待发货数量
  4534. type: integer
  4535. myPayOrderCount:
  4536. description: 我的订单待付款数量
  4537. type: integer
  4538. type: object
  4539. hsby.QueryProvincesAndCitiesRsp:
  4540. properties:
  4541. cities:
  4542. description: 市
  4543. items:
  4544. $ref: '#/definitions/models.Division'
  4545. type: array
  4546. province:
  4547. $ref: '#/definitions/models.Division'
  4548. description: 省
  4549. type: object
  4550. models.Clientfixedadconfig:
  4551. properties:
  4552. adsort:
  4553. description: 排序
  4554. type: integer
  4555. adtype:
  4556. description: 广告位类型 - 1:新品抢购(HSBY)
  4557. type: integer
  4558. areauserid:
  4559. description: 所属机构ID
  4560. type: integer
  4561. createdate:
  4562. description: 创建时间
  4563. type: string
  4564. creatorid:
  4565. description: 创建人
  4566. type: integer
  4567. imagepath:
  4568. description: 图片
  4569. type: string
  4570. isshow:
  4571. description: 是否展示 - 0:不展示 1:展示
  4572. type: integer
  4573. modifierid:
  4574. description: 操作人
  4575. type: integer
  4576. recsize:
  4577. description: 推荐尺寸
  4578. type: string
  4579. title:
  4580. description: 标题
  4581. type: string
  4582. updatedate:
  4583. description: 更新时间
  4584. type: string
  4585. urlcontent:
  4586. description: 链接(地址或商品ID)
  4587. type: string
  4588. urltype:
  4589. description: 链接类型 - 1:直接地址 2:商品ID
  4590. type: integer
  4591. required:
  4592. - adsort
  4593. - adtype
  4594. type: object
  4595. models.Division:
  4596. properties:
  4597. autoid:
  4598. description: 自增ID
  4599. type: integer
  4600. divisioncode:
  4601. description: 行政代码
  4602. type: string
  4603. divisionlevel:
  4604. description: 行政级别
  4605. type: string
  4606. divisionname:
  4607. description: 行政名称
  4608. type: string
  4609. modifierid:
  4610. description: 修改人
  4611. type: integer
  4612. modifytime:
  4613. description: 修改时间
  4614. type: string
  4615. parentcode:
  4616. description: 上级行政代码
  4617. type: string
  4618. pathname:
  4619. description: 路径名称
  4620. type: string
  4621. postcode:
  4622. description: 邮政编码
  4623. type: string
  4624. separablename:
  4625. description: 可拆分的全称
  4626. type: string
  4627. shortcode:
  4628. description: 地区简码
  4629. type: string
  4630. required:
  4631. - autoid
  4632. - divisioncode
  4633. type: object
  4634. models.Enumdicitem:
  4635. properties:
  4636. autoid:
  4637. description: 自增ID
  4638. type: integer
  4639. bankmappedvalue:
  4640. description: 银行服务对应值
  4641. type: string
  4642. enumdiccode:
  4643. description: 所属枚举代码
  4644. type: string
  4645. enumdicid:
  4646. description: 所属枚举ID
  4647. type: integer
  4648. enumdicname:
  4649. description: 枚举项名称
  4650. type: string
  4651. enumitemname:
  4652. description: 枚举项值
  4653. type: integer
  4654. enumitemstatus:
  4655. description: 枚举项状态 - 1.启用 2.不启用
  4656. type: integer
  4657. enumitemvalue:
  4658. description: 通用值 - [币种通用简写]
  4659. type: string
  4660. param1:
  4661. description: 参数1[币种:币种小数位]
  4662. type: string
  4663. param2:
  4664. description: 参数1[币种:币种显示单位]
  4665. type: string
  4666. remark:
  4667. description: 备注
  4668. type: string
  4669. required:
  4670. - autoid
  4671. - enumdiccode
  4672. - enumdicid
  4673. - enumitemname
  4674. type: object
  4675. models.ErmcpAreaStock:
  4676. properties:
  4677. brandname:
  4678. description: 品牌名称
  4679. type: string
  4680. curstock:
  4681. description: 期末库存量(今日量)
  4682. type: number
  4683. deliverygoodsid:
  4684. description: 现货品种ID
  4685. type: integer
  4686. enumdicname:
  4687. description: 单位名称
  4688. type: string
  4689. modelname:
  4690. description: 型号名称
  4691. type: string
  4692. oristock:
  4693. description: 期初库存量(昨日量)
  4694. type: number
  4695. spotgoodsbrandid:
  4696. description: 现货品牌ID
  4697. type: integer
  4698. spotgoodsmodelid:
  4699. description: 现货型号ID
  4700. type: integer
  4701. todaybuyinqty:
  4702. description: 今日采购入库量
  4703. type: number
  4704. todayproduceinqty:
  4705. description: 今日生产入库量
  4706. type: number
  4707. todayproduceoutqty:
  4708. description: 今日生产出库量
  4709. type: number
  4710. todayselloutqty:
  4711. description: 今日销售出库量
  4712. type: number
  4713. unitid:
  4714. description: 单位id
  4715. type: integer
  4716. updatetime:
  4717. description: 更新时间
  4718. type: string
  4719. userid:
  4720. description: 机构ID
  4721. type: integer
  4722. username:
  4723. description: 机构名称
  4724. type: string
  4725. warehousecode:
  4726. description: 仓库代码
  4727. type: string
  4728. warehouseinfoid:
  4729. description: 仓库ID
  4730. type: string
  4731. warehousename:
  4732. description: 仓库名称
  4733. type: string
  4734. warehousetype:
  4735. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4736. type: integer
  4737. wrstandardcode:
  4738. description: 现货商品代码
  4739. type: string
  4740. wrstandardid:
  4741. description: 现货商品ID
  4742. type: string
  4743. wrstandardname:
  4744. description: 现货商品名称
  4745. type: string
  4746. type: object
  4747. models.ErmcpAreaStockApply:
  4748. properties:
  4749. applyid:
  4750. description: 申请人
  4751. type: integer
  4752. applyname:
  4753. description: 申请人名称
  4754. type: string
  4755. applyremark:
  4756. description: 申请备注
  4757. type: string
  4758. applysrc:
  4759. description: 申请来源 - 1:管理端 2:终端
  4760. type: integer
  4761. applystatus:
  4762. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4763. type: integer
  4764. applytime:
  4765. description: 申请时间
  4766. type: string
  4767. auditid:
  4768. description: 审核人
  4769. type: integer
  4770. auditname:
  4771. description: 审核人名称
  4772. type: string
  4773. auditremark:
  4774. description: 审核备注
  4775. type: string
  4776. auditsrc:
  4777. description: 审核来源 - 1:管理端 2:终端
  4778. type: integer
  4779. audittime:
  4780. description: 审核时间
  4781. type: string
  4782. audittradedate:
  4783. description: 审核交易日(yyyyMMdd)
  4784. type: string
  4785. brandname:
  4786. description: 品牌名称
  4787. type: string
  4788. buyuserid:
  4789. description: 采购方userid
  4790. type: integer
  4791. buyusername:
  4792. description: 采购方名称
  4793. type: string
  4794. contractno:
  4795. description: 合同编号
  4796. type: string
  4797. contractqty:
  4798. description: 合同量
  4799. type: number
  4800. contracttype:
  4801. description: 现货合同类型 - 1:采购 -1:销售
  4802. type: integer
  4803. deliverygoodsid:
  4804. description: 现货品种ID
  4805. type: integer
  4806. enumdicname:
  4807. description: 现货商品单位名称
  4808. type: string
  4809. inoutapplyid:
  4810. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4811. type: string
  4812. inouttype:
  4813. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4814. type: integer
  4815. modelname:
  4816. description: 型号名称
  4817. type: string
  4818. pricetype:
  4819. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4820. type: integer
  4821. qty:
  4822. description: 数量
  4823. type: number
  4824. selluserid:
  4825. description: 销售方userid
  4826. type: integer
  4827. sellusername:
  4828. description: 销售方名称
  4829. type: string
  4830. spotcontractid:
  4831. description: 关联现货合同ID
  4832. type: string
  4833. spotgoodsbrandid:
  4834. description: 现货品牌ID
  4835. type: integer
  4836. spotgoodsmodelid:
  4837. description: 现货型号ID
  4838. type: integer
  4839. unitid:
  4840. description: 单位id
  4841. type: integer
  4842. userid:
  4843. description: 机构ID
  4844. type: integer
  4845. warehousecode:
  4846. description: 仓库代码
  4847. type: string
  4848. warehouseinfoid:
  4849. description: 现货仓库ID
  4850. type: string
  4851. warehousename:
  4852. description: 仓库名称
  4853. type: string
  4854. warehousetype:
  4855. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4856. type: integer
  4857. wrstandardcode:
  4858. description: 现货商品代码
  4859. type: string
  4860. wrstandardid:
  4861. description: 现货商品ID
  4862. type: string
  4863. wrstandardname:
  4864. description: 现货商品名称
  4865. type: string
  4866. type: object
  4867. models.ErmcpAreaStockReport:
  4868. properties:
  4869. brandname:
  4870. description: 品牌名称
  4871. type: string
  4872. curstock:
  4873. description: 期末库存量
  4874. type: number
  4875. deliverygoodsid:
  4876. description: 现货品种ID
  4877. type: integer
  4878. enumdicname:
  4879. description: 单位名称
  4880. type: string
  4881. modelname:
  4882. description: 型号名称
  4883. type: string
  4884. oristock:
  4885. description: 期初库存量
  4886. type: number
  4887. spotgoodsbrandid:
  4888. description: 现货品牌ID
  4889. type: integer
  4890. spotgoodsmodelid:
  4891. description: 现货型号ID
  4892. type: integer
  4893. todaybuyinqty:
  4894. description: 今日采购入库量
  4895. type: number
  4896. todayproduceinqty:
  4897. description: 今日生产入库量
  4898. type: number
  4899. todayproduceoutqty:
  4900. description: 今日生产出库量
  4901. type: number
  4902. todayselloutqty:
  4903. description: 今日销售出库量
  4904. type: number
  4905. unitid:
  4906. description: 单位id
  4907. type: integer
  4908. updatetime:
  4909. description: 更新时间
  4910. type: string
  4911. userid:
  4912. description: 机构ID
  4913. type: integer
  4914. username:
  4915. description: 机构名称
  4916. type: string
  4917. warehousecode:
  4918. description: 仓库代码
  4919. type: string
  4920. warehouseinfoid:
  4921. description: 仓库ID
  4922. type: string
  4923. warehousename:
  4924. description: 仓库名称
  4925. type: string
  4926. warehousetype:
  4927. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4928. type: integer
  4929. wrstandardcode:
  4930. description: 现货商品代码
  4931. type: string
  4932. wrstandardid:
  4933. description: 现货商品ID
  4934. type: string
  4935. wrstandardname:
  4936. description: 现货商品名称
  4937. type: string
  4938. type: object
  4939. models.ErmcpBizGroupEx:
  4940. properties:
  4941. acclist:
  4942. description: 账号列表
  4943. items:
  4944. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4945. type: array
  4946. bizgroupid:
  4947. description: 业务分组id
  4948. type: integer
  4949. biztype:
  4950. description: 业务类型 1-套保 2-套利
  4951. type: integer
  4952. wrlist:
  4953. description: 现货商品表表
  4954. items:
  4955. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4956. type: array
  4957. type: object
  4958. models.ErmcpBizGroupSpotGoods:
  4959. properties:
  4960. areauserid:
  4961. description: 所属机构id
  4962. type: integer
  4963. bizgroupid:
  4964. description: 分组id
  4965. type: integer
  4966. biztype:
  4967. description: 业务类型 1-套保 2-套利
  4968. type: integer
  4969. unitid:
  4970. description: 现货商品单位id
  4971. type: integer
  4972. wrstandardcode:
  4973. description: 现货商品代码
  4974. type: string
  4975. wrstandardid:
  4976. description: 现货商品id
  4977. type: integer
  4978. wrstandardname:
  4979. description: 现货商品名称
  4980. type: string
  4981. type: object
  4982. models.ErmcpBizGroupTaAccount:
  4983. properties:
  4984. accountid:
  4985. description: 账号id
  4986. type: string
  4987. accountname:
  4988. description: 账号名称
  4989. type: string
  4990. areauserid:
  4991. description: 所属机构id
  4992. type: integer
  4993. bizgroupid:
  4994. description: 业务分组id
  4995. type: integer
  4996. ismain:
  4997. description: 是否主账号 1-是 0-否
  4998. type: integer
  4999. type: object
  5000. models.ErmcpFuturesCompany:
  5001. properties:
  5002. brokerid:
  5003. description: 经纪公司代码
  5004. type: string
  5005. channeladdress:
  5006. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5007. type: string
  5008. channelid:
  5009. description: 对冲渠道ID
  5010. type: string
  5011. createtime:
  5012. description: 创建时间
  5013. type: string
  5014. creatorid:
  5015. description: 创建人
  5016. type: string
  5017. fcid:
  5018. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5019. type: integer
  5020. fcname:
  5021. description: 期货公司名称
  5022. type: string
  5023. isvalid:
  5024. description: 是否有效 - 0:无效 1:有效
  5025. type: integer
  5026. mhpaddress:
  5027. description: MHP服务地址(IP:Port)
  5028. type: string
  5029. riskrulegroupid:
  5030. description: 风控规则组ID
  5031. type: string
  5032. tradefeetmpid:
  5033. description: 手续费模板ID[TradeConfigTmpType为2]
  5034. type: string
  5035. trademargintmpid:
  5036. description: 保证金模板ID [TradeConfigTmpType为1]
  5037. type: string
  5038. traderatetmpid:
  5039. description: 汇率模板ID[TradeConfigTmpType为3]
  5040. type: string
  5041. updatetime:
  5042. description: 更新时间
  5043. type: string
  5044. updatorid:
  5045. description: 更新人
  5046. type: string
  5047. type: object
  5048. models.ErmcpGGConvertCfg:
  5049. properties:
  5050. convertratio:
  5051. description: 折算系数
  5052. type: number
  5053. destgoodsgroupid:
  5054. description: 目标品种ID
  5055. type: integer
  5056. dstcode:
  5057. description: 目录品种代码
  5058. type: string
  5059. dstexchangecode:
  5060. description: 目标期货交易所
  5061. type: string
  5062. dstname:
  5063. description: 目标品种名称
  5064. type: string
  5065. dstunitid:
  5066. description: 目标品种单位ID
  5067. type: integer
  5068. dstunitidname:
  5069. description: 目标品种单位名称
  5070. type: string
  5071. modifytime:
  5072. description: 修改时间
  5073. type: string
  5074. srccode:
  5075. description: 源品种代码
  5076. type: string
  5077. srcexchangecode:
  5078. description: 源期货交易所
  5079. type: string
  5080. srcgoodsgroupid:
  5081. description: 源品种ID
  5082. type: integer
  5083. srcname:
  5084. description: 源品种名称
  5085. type: string
  5086. srcunitid:
  5087. description: 源品种单位ID
  5088. type: integer
  5089. srcunitidname:
  5090. description: 源品种单位名称
  5091. type: string
  5092. type: object
  5093. models.ErmcpGoodsBrand:
  5094. properties:
  5095. areauserid:
  5096. description: 所属机构
  5097. type: integer
  5098. brandid:
  5099. description: BrandID(SEQ_SPOTGOODSBRAND)
  5100. type: integer
  5101. brandname:
  5102. description: 品牌名称
  5103. type: string
  5104. createtime:
  5105. description: 创建时间
  5106. type: string
  5107. creatorid:
  5108. description: 创建人
  5109. type: integer
  5110. creatorsrc:
  5111. description: 创建人来源 - 1:管理端 2:终端
  5112. type: integer
  5113. deliverygoodsid:
  5114. description: 现货品种ID
  5115. type: integer
  5116. isvalid:
  5117. description: 是否有效 - 0:无效 1:有效
  5118. type: integer
  5119. updatetime:
  5120. description: 更新时间
  5121. type: string
  5122. updatorid:
  5123. description: 更新人
  5124. type: integer
  5125. updatorsrc:
  5126. description: 更新人来源 - 1:管理端 2:终端
  5127. type: integer
  5128. wrstandardid:
  5129. description: 现货商品ID
  5130. type: integer
  5131. type: object
  5132. models.ErmcpGoodsModel:
  5133. properties:
  5134. areauserid:
  5135. description: 所属机构
  5136. type: integer
  5137. convertfactor:
  5138. description: 标仓系数
  5139. type: number
  5140. createtime:
  5141. description: 创建时间
  5142. type: string
  5143. creatorid:
  5144. description: 创建人
  5145. type: integer
  5146. creatorsrc:
  5147. description: 创建人来源 - 1:管理端 2:终端
  5148. type: integer
  5149. deliverygoodsid:
  5150. description: 现货品种ID
  5151. type: integer
  5152. isvalid:
  5153. description: 是否有效 - 0:无效 1:有效
  5154. type: integer
  5155. modelid:
  5156. description: ModelID(SEQ_SPOTGOODSMODEL)
  5157. type: integer
  5158. modelname:
  5159. description: 型号名称
  5160. type: string
  5161. updatetime:
  5162. description: 更新时间
  5163. type: string
  5164. updatorid:
  5165. description: 更新人
  5166. type: integer
  5167. updatorsrc:
  5168. description: 更新人来源 - 1:管理端 2:终端
  5169. type: integer
  5170. wrstandardid:
  5171. description: 现货商品ID
  5172. type: integer
  5173. type: object
  5174. models.ErmcpHisExposure:
  5175. properties:
  5176. needhedgeexposoure:
  5177. description: 应套保敞口
  5178. type: number
  5179. reckondate:
  5180. description: 日照时期(yyyyMMdd)
  5181. type: string
  5182. totalexposure:
  5183. description: 总敞口
  5184. type: number
  5185. type: object
  5186. models.ErmcpLoginUser:
  5187. properties:
  5188. accountname:
  5189. description: 用户名称
  5190. type: string
  5191. clientroleid:
  5192. description: 角色id(usertype=2)
  5193. type: integer
  5194. createtime:
  5195. description: 创建时间
  5196. type: string
  5197. loginstatus:
  5198. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5199. type: integer
  5200. memberuserid:
  5201. description: 所属会员id
  5202. type: integer
  5203. modifytime:
  5204. description: 修改时间
  5205. type: string
  5206. rolename:
  5207. description: 角色名称
  5208. type: string
  5209. rolestatus:
  5210. description: 角色状态 1-启用 2-停用
  5211. type: integer
  5212. roletype:
  5213. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5214. type: string
  5215. userid:
  5216. description: 用户id
  5217. type: integer
  5218. usertype:
  5219. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5220. type: integer
  5221. type: object
  5222. models.ErmcpLoginUserEx:
  5223. properties:
  5224. rolename:
  5225. description: 角色名称
  5226. type: string
  5227. userlist:
  5228. description: 用户列表
  5229. items:
  5230. $ref: '#/definitions/models.ErmcpLoginUser'
  5231. type: array
  5232. usertype:
  5233. description: 用户类型 2-机构 7-企业成员(云平台)
  5234. type: integer
  5235. type: object
  5236. models.ErmcpMiddleGoodsModel:
  5237. properties:
  5238. areauserid:
  5239. description: 机构用户ID
  5240. type: integer
  5241. createtime:
  5242. description: 修改时间
  5243. type: string
  5244. enumdicname:
  5245. description: 单位名称
  5246. type: string
  5247. evaluateratio:
  5248. description: 估价系数
  5249. type: number
  5250. goodsgroupid:
  5251. description: 关联期货品种ID
  5252. type: integer
  5253. isvalid:
  5254. description: 状态 0-无效(停用) 1-有效(正常)
  5255. type: integer
  5256. middlegoodscode:
  5257. description: 套保品种代码
  5258. type: string
  5259. middlegoodsid:
  5260. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5261. type: integer
  5262. middlegoodsname:
  5263. description: 套保品种名称
  5264. type: string
  5265. modifytime:
  5266. description: 修改时间
  5267. type: string
  5268. needhedgeratio:
  5269. description: 套保比率
  5270. type: number
  5271. qtydecimalplace:
  5272. description: 数量小数位
  5273. type: integer
  5274. relatedgoodsid:
  5275. description: 关联交易商品ID
  5276. type: integer
  5277. relatedgoodstype:
  5278. description: 关联商品类型 - 1:期货合约 2:现货品种
  5279. type: integer
  5280. remark:
  5281. description: 备注
  5282. type: string
  5283. type: object
  5284. models.ErmcpReportAreaSpotPL:
  5285. properties:
  5286. actualpl:
  5287. description: 实际损益
  5288. type: number
  5289. areauserid:
  5290. description: 所属机构
  5291. type: integer
  5292. brandname:
  5293. description: 品牌名称
  5294. type: string
  5295. curamount:
  5296. description: 期末额
  5297. type: number
  5298. curaverageprice:
  5299. description: 期末均价
  5300. type: number
  5301. curbuyamount:
  5302. description: 期末采购总额(采购额)
  5303. type: number
  5304. curbuyqty:
  5305. description: 期末采购总量
  5306. type: number
  5307. curmarketvalue:
  5308. description: 参考市值
  5309. type: number
  5310. curqty:
  5311. description: 期末量
  5312. type: number
  5313. cursellamount:
  5314. description: 期末销售总额(销售额)
  5315. type: number
  5316. cursellqty:
  5317. description: 期末销售总量
  5318. type: number
  5319. curspotprice:
  5320. description: 参考市价
  5321. type: number
  5322. enumdicname:
  5323. description: 现货商品单位名称
  5324. type: string
  5325. floatpl:
  5326. description: 浮动损益
  5327. type: number
  5328. gbenumdicname:
  5329. description: 品类单位名称
  5330. type: string
  5331. gbunitid:
  5332. description: 品类单位id
  5333. type: integer
  5334. modelname:
  5335. description: 品类名称
  5336. type: string
  5337. oriamount:
  5338. description: 期初额
  5339. type: number
  5340. oriaverageprice:
  5341. description: 期初均价
  5342. type: number
  5343. oribuyamount:
  5344. description: 期初采购总额
  5345. type: number
  5346. oribuyqty:
  5347. description: 期初采购总量
  5348. type: number
  5349. oriqty:
  5350. description: 期初量
  5351. type: number
  5352. orisellamount:
  5353. description: 期初销售总额
  5354. type: number
  5355. orisellqty:
  5356. description: 期初销售总量
  5357. type: number
  5358. spotgoodsbrandid:
  5359. description: 现货品牌ID
  5360. type: integer
  5361. spotgoodsmodelid:
  5362. description: 现货品类ID
  5363. type: integer
  5364. todaybuyamount:
  5365. description: 今日采购额
  5366. type: number
  5367. todaybuyaverageprice:
  5368. description: 今日采购均价(采购均价)
  5369. type: number
  5370. todaybuyqty:
  5371. description: 今日采购量(采购增量)
  5372. type: number
  5373. todaysellamount:
  5374. description: 今日销售额
  5375. type: number
  5376. todaysellaverageprice:
  5377. description: 今日销售均价(销售均价)
  5378. type: number
  5379. todaysellqty:
  5380. description: 今日销售量(销售增量)
  5381. type: number
  5382. unitid:
  5383. description: 现货商品单位id
  5384. type: integer
  5385. updatetime:
  5386. description: 更新时间
  5387. type: string
  5388. wrstandardcode:
  5389. description: 现货商品代码
  5390. type: string
  5391. wrstandardid:
  5392. description: 现货商品ID
  5393. type: integer
  5394. wrstandardname:
  5395. description: 现货商品名称
  5396. type: string
  5397. type: object
  5398. models.ErmcpReportDayFR:
  5399. properties:
  5400. areauserid:
  5401. description: 所属机构
  5402. type: integer
  5403. collectinvoiceamount:
  5404. description: 今日开票金额
  5405. type: number
  5406. collectinvoicecount:
  5407. description: 今日开票笔数
  5408. type: integer
  5409. collectmoneyamount:
  5410. description: 今日收款金额
  5411. type: number
  5412. collectmoneycount:
  5413. description: 今日收款笔数
  5414. type: integer
  5415. payinvoiceamount:
  5416. description: 今日收票金额
  5417. type: number
  5418. payinvoicecount:
  5419. description: 今日收票笔数
  5420. type: integer
  5421. paymoneyamount:
  5422. description: 今日付款金额
  5423. type: number
  5424. paymoneycount:
  5425. description: 今日付款笔数
  5426. type: integer
  5427. reckondate:
  5428. description: 日照时期(yyyyMMdd)
  5429. type: string
  5430. updatetime:
  5431. description: 更新时间
  5432. type: string
  5433. type: object
  5434. models.ErmcpRole:
  5435. properties:
  5436. areauserid:
  5437. description: 所属机构
  5438. type: integer
  5439. autoid:
  5440. description: 角色ID(自增ID)
  5441. type: integer
  5442. modifierid:
  5443. description: 修改人(创建人)
  5444. type: integer
  5445. modifiername:
  5446. description: 修改人名称
  5447. type: string
  5448. modifytime:
  5449. description: 修改时间(创建时间)
  5450. type: string
  5451. rolename:
  5452. description: 角色名称
  5453. type: string
  5454. rolestatus:
  5455. description: 角色状态 - 1:启用 2:停用
  5456. type: integer
  5457. roletype:
  5458. description: 角色类型 - 1- 管理端 2- 交易端
  5459. type: integer
  5460. type: object
  5461. models.ErmcpRoleMenu:
  5462. properties:
  5463. iconame:
  5464. description: 菜单图标
  5465. type: string
  5466. menutype:
  5467. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5468. type: integer
  5469. parentcode:
  5470. description: 上级资源代码
  5471. type: string
  5472. remark:
  5473. description: 菜单备注
  5474. type: string
  5475. resourcecode:
  5476. description: 菜单代码
  5477. type: string
  5478. resourcelevel:
  5479. description: 级别
  5480. type: integer
  5481. resourcename:
  5482. description: 菜单名称
  5483. type: string
  5484. roleid:
  5485. description: 角色id
  5486. type: integer
  5487. sort:
  5488. description: 排序
  5489. type: integer
  5490. url:
  5491. description: URL
  5492. type: string
  5493. userid:
  5494. description: 用户id
  5495. type: integer
  5496. type: object
  5497. models.ErmcpRoleMenuEx:
  5498. properties:
  5499. menu:
  5500. $ref: '#/definitions/models.ErmcpRoleMenu'
  5501. description: 父级菜单
  5502. subMenu:
  5503. description: 子级菜单
  5504. items:
  5505. $ref: '#/definitions/models.ErmcpRoleMenu'
  5506. type: array
  5507. type: object
  5508. models.ErmcpSpotGoodsPrice:
  5509. properties:
  5510. areauserid:
  5511. description: 所属机构id
  5512. type: integer
  5513. brandname:
  5514. description: 品牌名称
  5515. type: string
  5516. currencyid:
  5517. description: 报价货币ID
  5518. type: integer
  5519. enumdicname:
  5520. description: 现货商品单位名称
  5521. type: string
  5522. gbenumdicname:
  5523. description: 品类单位名称
  5524. type: string
  5525. gmunitid:
  5526. description: 品类单位id
  5527. type: integer
  5528. isvalid:
  5529. description: 是否有效 - 0:无效 1:有效
  5530. type: integer
  5531. modelname:
  5532. description: 品类名称
  5533. type: string
  5534. operateid:
  5535. description: 最后操作人
  5536. type: integer
  5537. operatesrc:
  5538. description: 最后操作来源 - 1:管理端 2:终端
  5539. type: integer
  5540. operatetime:
  5541. description: 最后操作时间
  5542. type: string
  5543. operatorname:
  5544. description: 操作人名称
  5545. type: string
  5546. spotgoodsbrandid:
  5547. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5548. type: integer
  5549. spotgoodsmodelid:
  5550. description: 现货品类ID(通用则为0)
  5551. type: integer
  5552. spotgoodsprice:
  5553. description: 现货价格
  5554. type: number
  5555. tradedate:
  5556. description: 交易日(yyyyMMdd)
  5557. type: string
  5558. unitid:
  5559. description: 现货商品单位id
  5560. type: integer
  5561. wrstandardcode:
  5562. description: 现货商品代码
  5563. type: string
  5564. wrstandardid:
  5565. description: 现货商品ID
  5566. type: integer
  5567. wrstandardname:
  5568. description: 现货商品名称
  5569. type: string
  5570. type: object
  5571. models.ErmcpSpotGoodsPriceLog:
  5572. properties:
  5573. areauserid:
  5574. description: 所属机构id
  5575. type: integer
  5576. brandname:
  5577. description: 品牌名称
  5578. type: string
  5579. currencyid:
  5580. description: 报价货币ID
  5581. type: integer
  5582. enumdicname:
  5583. description: 现货商品单位名称
  5584. type: string
  5585. gbenumdicname:
  5586. description: 品类单位名称
  5587. type: string
  5588. gmunitid:
  5589. description: 品类单位id
  5590. type: integer
  5591. logid:
  5592. description: 日志id
  5593. type: integer
  5594. modelname:
  5595. description: 品类名称
  5596. type: string
  5597. operateid:
  5598. description: 最后操作人
  5599. type: integer
  5600. operatesrc:
  5601. description: 最后操作来源 - 1:管理端 2:终端
  5602. type: integer
  5603. operatetime:
  5604. description: 最后操作时间
  5605. type: string
  5606. operatorname:
  5607. description: 操作人名称
  5608. type: string
  5609. spotgoodsbrandid:
  5610. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5611. type: integer
  5612. spotgoodsmodelid:
  5613. description: 现货品类ID(通用则为0)
  5614. type: integer
  5615. spotgoodsprice:
  5616. description: 现货价格
  5617. type: number
  5618. tradedate:
  5619. description: 交易日(yyyyMMdd)
  5620. type: string
  5621. unitid:
  5622. description: 现货商品单位id
  5623. type: integer
  5624. wrstandardcode:
  5625. description: 现货商品代码
  5626. type: string
  5627. wrstandardid:
  5628. description: 现货商品ID
  5629. type: integer
  5630. wrstandardname:
  5631. description: 现货商品名称
  5632. type: string
  5633. type: object
  5634. models.ErmcpTaAccount:
  5635. properties:
  5636. accountid:
  5637. description: 账户id
  5638. type: integer
  5639. accountname:
  5640. description: 账户名称
  5641. type: string
  5642. currencyid:
  5643. description: 币种id
  5644. type: integer
  5645. ismain:
  5646. description: 是否主账户 0-否 1-是
  5647. type: integer
  5648. parentaccountid:
  5649. description: 父账户id
  5650. type: integer
  5651. relateduserid:
  5652. description: 关联userid
  5653. type: integer
  5654. tradestatus:
  5655. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5656. type: integer
  5657. type: object
  5658. models.ErmcpTaAccountEx:
  5659. properties:
  5660. mainAcc:
  5661. $ref: '#/definitions/models.ErmcpTaAccount'
  5662. description: 主账号
  5663. subacclist:
  5664. description: 子账号列表
  5665. items:
  5666. $ref: '#/definitions/models.ErmcpTaAccount'
  5667. type: array
  5668. type: object
  5669. models.ErmcpTaAccountInfo:
  5670. properties:
  5671. accountid:
  5672. description: 资金账户ID
  5673. type: integer
  5674. accountname:
  5675. description: 账户名称
  5676. type: string
  5677. balance:
  5678. description: 期初余额
  5679. type: number
  5680. capitalbalance:
  5681. description: 本金余额[外部子账户实际出入金余额]
  5682. type: number
  5683. closepl:
  5684. description: 今日平仓盈亏
  5685. type: number
  5686. creditdecrease:
  5687. description: 今日授信减少
  5688. type: number
  5689. creditincrease:
  5690. description: 今日授信增加
  5691. type: number
  5692. curdebt:
  5693. description: 期末欠款
  5694. type: number
  5695. currencyid:
  5696. description: 货币ID
  5697. type: integer
  5698. currentbalance:
  5699. description: 期末余额
  5700. type: number
  5701. freezecharge:
  5702. description: 手续费冻结
  5703. type: number
  5704. freezemargin:
  5705. description: 冻结保证金
  5706. type: number
  5707. fromaccountid:
  5708. description: 所属上级账户
  5709. type: integer
  5710. inamount:
  5711. description: 今日入金金额(包括三方入金)
  5712. type: number
  5713. ismain:
  5714. description: 是否母账号 0:不是母账户 1:是母账户
  5715. type: integer
  5716. mortgagecredit:
  5717. description: 授信金额
  5718. type: number
  5719. oridebt:
  5720. description: 期初欠款
  5721. type: number
  5722. orifreezecharge:
  5723. description: 期初手续费冻结
  5724. type: number
  5725. orifreezemargin:
  5726. description: 期初冻结保证金
  5727. type: number
  5728. orimortgagecredit:
  5729. description: 期初授信金额
  5730. type: number
  5731. oriothercredit:
  5732. description: 期初其它授信金额
  5733. type: number
  5734. oriotherfreezemargin:
  5735. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5736. type: number
  5737. orioutamountfreeze:
  5738. description: 期初出金冻结
  5739. type: number
  5740. oriusedmargin:
  5741. description: 期初占用保证金
  5742. type: number
  5743. othercredit:
  5744. description: 其它授信金额
  5745. type: number
  5746. othercreditdecrease:
  5747. description: 今日其它授信减少
  5748. type: number
  5749. othercreditincrease:
  5750. description: 今日其它授信增加
  5751. type: number
  5752. otherfreezemargin:
  5753. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5754. type: number
  5755. outamount:
  5756. description: 今日出金金额(包括三方出金)
  5757. type: number
  5758. outamountfreeze:
  5759. description: 出金冻结
  5760. type: number
  5761. outthreshold:
  5762. description: 出金阈值
  5763. type: number
  5764. parentaccountid:
  5765. description: 所属根账号
  5766. type: integer
  5767. paycharge:
  5768. description: 今日手续费支出
  5769. type: number
  5770. relateduserid:
  5771. description: 关联用户
  5772. type: integer
  5773. signstatus:
  5774. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5775. type: integer
  5776. sublevelpath:
  5777. description: 账号层级路径(逗号分隔,首尾加逗号)
  5778. type: string
  5779. taaccounttype:
  5780. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5781. type: integer
  5782. thirdinamount:
  5783. description: 今日三方入金
  5784. type: number
  5785. thirdoutamount:
  5786. description: 今日三方出金
  5787. type: number
  5788. tradestatus:
  5789. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5790. type: integer
  5791. transferamount:
  5792. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5793. type: number
  5794. usedmargin:
  5795. description: 占用保证金
  5796. type: number
  5797. userid:
  5798. description: 用户ID
  5799. type: integer
  5800. type: object
  5801. models.ErmcpTradeConfigTMP:
  5802. properties:
  5803. areauserid:
  5804. description: 所属机构
  5805. type: integer
  5806. basiccurrencyid:
  5807. description: 基本币种ID[汇率] - 目标币种
  5808. type: integer
  5809. mainaccountid:
  5810. description: 主账户ID
  5811. type: integer
  5812. modifierid:
  5813. description: 修改人
  5814. type: integer
  5815. remark:
  5816. description: 备注
  5817. type: string
  5818. tradeconfigtmpid:
  5819. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5820. type: integer
  5821. tradeconfigtmpname:
  5822. description: 交易配置模板名称
  5823. type: string
  5824. tradeconfigtmptype:
  5825. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5826. type: integer
  5827. updatetime:
  5828. description: 更新时间
  5829. type: string
  5830. type: object
  5831. models.ErmcpWrstandard:
  5832. properties:
  5833. areauserid:
  5834. description: 所属机构
  5835. type: integer
  5836. createtime:
  5837. description: 创建时间
  5838. type: string
  5839. creatorid:
  5840. description: 创建人
  5841. type: integer
  5842. deliverygoodsid:
  5843. description: 品种ID
  5844. type: integer
  5845. enumdicname:
  5846. description: 单位名称
  5847. type: string
  5848. isvalid:
  5849. description: 是否有效 0-无效(停用) 1-有效(正常)
  5850. type: integer
  5851. minivalue:
  5852. description: 最小变动值
  5853. type: integer
  5854. minivaluedp:
  5855. description: 最小变动值小数位
  5856. type: integer
  5857. realminivalue:
  5858. description: 实际最小变动值
  5859. type: integer
  5860. realminivaluedp:
  5861. description: 实际最小变动值小数位
  5862. type: integer
  5863. remark:
  5864. description: 备注
  5865. type: string
  5866. unitid:
  5867. description: 单位ID
  5868. type: integer
  5869. updatetime:
  5870. description: 更新时间
  5871. type: string
  5872. wrstandardcode:
  5873. description: 现货商品代码
  5874. type: string
  5875. wrstandardid:
  5876. description: 现货商品ID(SEQ_WRSTANDARD)
  5877. type: integer
  5878. wrstandardname:
  5879. description: 现货商品名称
  5880. type: string
  5881. type: object
  5882. models.Externalexchange:
  5883. properties:
  5884. autoid:
  5885. description: AutoID - SEQ_EXTERNALEXCHANGE
  5886. type: integer
  5887. exchangefullname:
  5888. description: 外部交易所全称
  5889. type: string
  5890. exexchangecode:
  5891. description: 外部交易所代码
  5892. type: string
  5893. exexchangename:
  5894. description: 外部交易所名称(简称)
  5895. type: string
  5896. ismarketprice:
  5897. description: 是否支持市价 - 0:不支持 1:支持
  5898. type: integer
  5899. quotegear:
  5900. description: 行情档位(1-10)
  5901. type: integer
  5902. showbrokerflag:
  5903. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5904. type: integer
  5905. updatetime:
  5906. description: 更新时间
  5907. type: string
  5908. required:
  5909. - autoid
  5910. type: object
  5911. models.Funcmenulist:
  5912. properties:
  5913. iconame:
  5914. description: 菜单图标
  5915. type: string
  5916. menutype:
  5917. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  5918. type: integer
  5919. parentcode:
  5920. description: 上级资源代码
  5921. type: string
  5922. remark:
  5923. description: 备注
  5924. type: string
  5925. resourcecode:
  5926. description: 资源代码
  5927. type: string
  5928. resourcelevel:
  5929. description: 级别 1-一级 2-二级 3-三级 4-四级
  5930. type: integer
  5931. resourcename:
  5932. description: 资源名
  5933. type: string
  5934. sort:
  5935. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  5936. type: integer
  5937. url:
  5938. description: URL
  5939. type: string
  5940. required:
  5941. - resourcecode
  5942. type: object
  5943. models.Goods:
  5944. properties:
  5945. agreeunit:
  5946. description: 合约单位
  5947. type: number
  5948. auditaccountid:
  5949. description: 审核操作员账号
  5950. type: integer
  5951. audittime:
  5952. description: 审核时间
  5953. type: string
  5954. cancelaccountid:
  5955. description: 注销操作员账号
  5956. type: integer
  5957. canceltime:
  5958. description: 注销时间
  5959. type: string
  5960. closepricemode:
  5961. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5962. type: integer
  5963. closepriceparam:
  5964. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5965. type: number
  5966. createtime:
  5967. description: 创建时间
  5968. type: string
  5969. creatorid:
  5970. description: 创建人
  5971. type: integer
  5972. currencyid:
  5973. description: 报价货币ID
  5974. type: integer
  5975. cutmode:
  5976. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5977. type: integer
  5978. decimalplace:
  5979. description: 报价小数位
  5980. type: integer
  5981. delistingdate:
  5982. description: 商品退市时间(状态:退市) -- 已作废
  5983. type: string
  5984. delistingmode:
  5985. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5986. type: integer
  5987. deliveryflag:
  5988. description: 交割标志 - 0:不可交割 1:可交割
  5989. type: integer
  5990. forceclosemode:
  5991. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5992. type: integer
  5993. forceclosevalue:
  5994. description: 定期强平参数 [收益权]
  5995. type: integer
  5996. goodscode:
  5997. description: 商品代码(内部)
  5998. type: string
  5999. goodscurrencyid:
  6000. description: 合约货币ID
  6001. type: integer
  6002. goodsgroupid:
  6003. description: 所属商品组ID
  6004. type: integer
  6005. goodsid:
  6006. description: 商品ID(自增ID SEQ_GOODS)
  6007. type: integer
  6008. goodsname:
  6009. description: 商品名称
  6010. type: string
  6011. goodsquotetype:
  6012. description: '合约报价类型: 1-直接报价 2-间接报价'
  6013. type: integer
  6014. goodsstatus:
  6015. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6016. type: integer
  6017. goodstradetype:
  6018. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6019. type: integer
  6020. goodunitid:
  6021. description: 报价单位ID
  6022. type: integer
  6023. hasquoter:
  6024. description: 是否有报价商 - 0:无报价商 1:有报价商
  6025. type: integer
  6026. hqprotecttime:
  6027. description: 行情保护时间(秒)
  6028. type: integer
  6029. innerdealmode:
  6030. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6031. type: integer
  6032. isbuylimited:
  6033. description: 是否限制建仓量 - 0:不限制 1:限制
  6034. type: integer
  6035. lasttradedate:
  6036. description: 最后交易日期(状态:待退市)
  6037. type: string
  6038. listingdate:
  6039. description: 交易开始日期
  6040. type: string
  6041. marketid:
  6042. description: 所属市场ID
  6043. type: integer
  6044. modifierid:
  6045. description: 修改人
  6046. type: integer
  6047. modifystatus:
  6048. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6049. type: integer
  6050. modifytime:
  6051. description: 修改时间
  6052. type: string
  6053. outerdealmode:
  6054. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6055. type: integer
  6056. outgoodscode:
  6057. description: 商品代码(外部)
  6058. type: string
  6059. qtydecimalplace:
  6060. description: 成交量小数位
  6061. type: integer
  6062. quotegear:
  6063. description: 行情档位(1-10)
  6064. type: integer
  6065. quoteminunit:
  6066. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6067. type: integer
  6068. quoteshowtype:
  6069. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6070. type: integer
  6071. quoteshowtypeinterval:
  6072. description: 行情报价间隔时间(秒)(成交价时为0)
  6073. type: integer
  6074. remark:
  6075. description: 备注
  6076. type: string
  6077. required:
  6078. - goodscode
  6079. - goodsid
  6080. - goodsname
  6081. - marketid
  6082. type: object
  6083. models.GoodsBrand:
  6084. properties:
  6085. brandid:
  6086. description: 品牌ID
  6087. type: integer
  6088. brandname:
  6089. description: 品牌名称
  6090. type: string
  6091. isvalid:
  6092. description: 是否有效 - 0:无效 1:有效
  6093. type: integer
  6094. type: object
  6095. models.GoodsIDAndName:
  6096. properties:
  6097. goodscode:
  6098. description: 商品代码(内部)
  6099. type: string
  6100. goodsid:
  6101. description: 商品ID(自增ID SEQ_GOODS)
  6102. type: integer
  6103. goodsname:
  6104. description: 商品名称
  6105. type: string
  6106. marketid:
  6107. description: 所属市场ID
  6108. type: integer
  6109. required:
  6110. - goodscode
  6111. - goodsid
  6112. - goodsname
  6113. - marketid
  6114. type: object
  6115. models.GoodsTypeModel:
  6116. properties:
  6117. convertfactor:
  6118. description: 标仓系数
  6119. type: number
  6120. modelid:
  6121. description: 型号ID
  6122. type: integer
  6123. modelname:
  6124. description: 型号名称
  6125. type: string
  6126. updatetime:
  6127. description: 更新时间
  6128. type: string
  6129. type: object
  6130. models.Goodsgroup:
  6131. properties:
  6132. agreeunit:
  6133. description: 合约单位
  6134. type: number
  6135. canshort:
  6136. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6137. type: integer
  6138. closepricemode:
  6139. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6140. type: integer
  6141. closepriceparam:
  6142. description: 强平最新价浮动比例 - 方式为2时使用
  6143. type: number
  6144. createtime:
  6145. description: 创建时间
  6146. type: string
  6147. creatorid:
  6148. description: 创建人
  6149. type: integer
  6150. currencyid:
  6151. description: 报价货币ID
  6152. type: integer
  6153. decimalplace:
  6154. description: 报价小数位
  6155. type: integer
  6156. exercisetype:
  6157. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6158. type: integer
  6159. exexchangeid:
  6160. description: 外部交易所ID[通道交易]
  6161. type: integer
  6162. goodsgroupid:
  6163. description: 商品组ID(自增ID)
  6164. type: integer
  6165. goodsgroupname:
  6166. description: 商品组名称
  6167. type: string
  6168. goodsgroupstatus:
  6169. description: 商品组状态 - 1:正常 2:注销
  6170. type: integer
  6171. goodunitid:
  6172. description: 报价单位ID
  6173. type: integer
  6174. innerdealmode:
  6175. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6176. type: integer
  6177. isbuylimited:
  6178. description: 是否限制建仓量 - 0:不限制 1:限制
  6179. type: integer
  6180. marketid:
  6181. description: 所属市场ID
  6182. type: integer
  6183. modifierid:
  6184. description: 修改人
  6185. type: integer
  6186. modifytime:
  6187. description: 修改时间
  6188. type: string
  6189. outerdealmode:
  6190. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6191. type: integer
  6192. outergroupcode:
  6193. description: 外部商品组代码[通道交易]
  6194. type: string
  6195. premiumdecimalplace:
  6196. description: 权利金小数位[场外期权]
  6197. type: integer
  6198. premiumspreadalgorithm:
  6199. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6200. type: integer
  6201. premiumspreadvalue:
  6202. description: 权利金点差值[场外期权]
  6203. type: number
  6204. qtydecimalplace:
  6205. description: 成交量小数位
  6206. type: integer
  6207. quotegear:
  6208. description: 行情档位(1-10)
  6209. type: integer
  6210. quoteminunit:
  6211. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6212. type: integer
  6213. quoterid:
  6214. description: 报价商ID[场外期权]
  6215. type: integer
  6216. quotesourcegroupid:
  6217. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6218. type: integer
  6219. syncgoodsqty:
  6220. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6221. type: integer
  6222. required:
  6223. - goodsgroupid
  6224. - goodsgroupname
  6225. - goodsgroupstatus
  6226. - marketid
  6227. type: object
  6228. models.Goodssortbypreposition:
  6229. properties:
  6230. goodscode:
  6231. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6232. type: string
  6233. goodsgroupcode:
  6234. description: 品种代码
  6235. type: string
  6236. prepositionqty:
  6237. description: 昨持仓量
  6238. type: integer
  6239. sortindex:
  6240. description: 排序
  6241. type: integer
  6242. tradedate:
  6243. description: 交易日
  6244. type: string
  6245. updatetime:
  6246. description: 更新时间
  6247. type: string
  6248. required:
  6249. - goodscode
  6250. - tradedate
  6251. type: object
  6252. models.Hedgeinnerholderdetail:
  6253. properties:
  6254. accountid:
  6255. description: 账号ID
  6256. type: integer
  6257. buyorsell:
  6258. description: 方向 - 0:买 1:卖
  6259. type: integer
  6260. freezeqty:
  6261. description: 冻结数量 - 按单平使用
  6262. type: integer
  6263. goodsid:
  6264. description: 商品ID
  6265. type: integer
  6266. holderamount:
  6267. description: 持仓金额 [商品币种]
  6268. type: number
  6269. holderdays:
  6270. description: 剩余冻结天数
  6271. type: integer
  6272. holderprice:
  6273. description: 持仓价格
  6274. type: number
  6275. holderqty:
  6276. description: 持仓数量
  6277. type: integer
  6278. marketid:
  6279. description: 市场ID
  6280. type: integer
  6281. openprice:
  6282. description: 建仓价格
  6283. type: number
  6284. openqty:
  6285. description: 建仓数量
  6286. type: integer
  6287. parentaccountid:
  6288. description: 所属母账户
  6289. type: integer
  6290. releaseamount:
  6291. description: 释放持仓金额[商品币种]
  6292. type: number
  6293. tradeamount:
  6294. description: 成交金额[账户]
  6295. type: number
  6296. tradedate:
  6297. description: 交易日(yyyyMMdd)
  6298. type: string
  6299. tradeid:
  6300. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6301. type: string
  6302. tradetime:
  6303. description: 交易时间
  6304. type: string
  6305. required:
  6306. - buyorsell
  6307. - tradeid
  6308. type: object
  6309. models.HsbyBuyMyPayOrder:
  6310. properties:
  6311. agreeunit:
  6312. description: 合约单位
  6313. type: number
  6314. buyaccountid:
  6315. description: 买方账号ID[报价币种]
  6316. type: integer
  6317. buyorderid:
  6318. description: 买方委托单号
  6319. type: string
  6320. createtime:
  6321. description: 创建时间
  6322. type: string
  6323. currencysign:
  6324. description: 货币符号
  6325. type: string
  6326. decimalplace:
  6327. description: 报价小数位
  6328. type: integer
  6329. goodscode:
  6330. description: 商品代码(内部)
  6331. type: string
  6332. goodsid:
  6333. description: 商品ID
  6334. type: integer
  6335. goodsname:
  6336. description: 商品名称
  6337. type: string
  6338. marketid:
  6339. description: 市场ID
  6340. type: integer
  6341. offamount:
  6342. description: 优惠金额
  6343. type: number
  6344. originalamount:
  6345. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6346. type: number
  6347. payamount:
  6348. description: 支付金额 = TradeAmount + TradeCharge
  6349. type: number
  6350. payflag:
  6351. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6352. type: integer
  6353. paylimitedtime:
  6354. description: 支付期限
  6355. type: string
  6356. paytime:
  6357. description: 付款时间
  6358. type: string
  6359. picurls1:
  6360. description: 预售商品介绍图片[多张用逗号分隔]
  6361. type: string
  6362. picurls2:
  6363. description: 挂牌商品介绍图片[多张用逗号分隔]
  6364. type: string
  6365. sellaccountid:
  6366. description: 卖方账号ID[报价币种]
  6367. type: integer
  6368. sellorderid:
  6369. description: 卖方委托单号
  6370. type: string
  6371. tradeamount:
  6372. description: 成交金额
  6373. type: number
  6374. tradecharge:
  6375. description: 成交手续费(买方)
  6376. type: number
  6377. tradedate:
  6378. description: 交易日(yyyyMMdd)
  6379. type: string
  6380. tradeid:
  6381. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6382. type: string
  6383. trademode:
  6384. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6385. 21:竞拍-大宗式 22:受托竞价
  6386. type: integer
  6387. tradeprice:
  6388. description: 成交价格
  6389. type: number
  6390. tradeqty:
  6391. description: 成交数量
  6392. type: integer
  6393. vendorname1:
  6394. description: 预售商品供应商名称
  6395. type: string
  6396. vendorname2:
  6397. description: 挂牌商品供应商名称
  6398. type: string
  6399. required:
  6400. - goodscode
  6401. - goodsname
  6402. - tradeid
  6403. - trademode
  6404. type: object
  6405. models.HsbyBuyMyTradeDetail:
  6406. properties:
  6407. accountid:
  6408. description: 账户ID[报价币种]
  6409. type: integer
  6410. agreeunit:
  6411. description: 合约单位
  6412. type: number
  6413. amount:
  6414. description: 金额 = 价格 * 数量 * 合约单位
  6415. type: number
  6416. buyorsell:
  6417. description: 买卖 - 0:买 1:卖
  6418. type: integer
  6419. currencysign:
  6420. description: 货币符号
  6421. type: string
  6422. decimalplace:
  6423. description: 报价小数位
  6424. type: integer
  6425. goodscode:
  6426. description: 商品代码(内部)
  6427. type: string
  6428. goodsid:
  6429. description: 商品ID
  6430. type: integer
  6431. goodsname:
  6432. description: 商品名称
  6433. type: string
  6434. marketid:
  6435. description: 市场ID
  6436. type: integer
  6437. orderamount:
  6438. description: 委托金额
  6439. type: number
  6440. orderid:
  6441. description: 单号(成交单号)
  6442. type: string
  6443. picurls1:
  6444. description: 预售商品介绍图片[多张用逗号分隔]
  6445. type: string
  6446. picurls2:
  6447. description: 挂牌商品介绍图片[多张用逗号分隔]
  6448. type: string
  6449. price:
  6450. description: 价格
  6451. type: number
  6452. qty:
  6453. description: 数量
  6454. type: integer
  6455. time:
  6456. description: 时间
  6457. type: string
  6458. trademode:
  6459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6460. 21:竞拍-大宗式 22:受托竞价
  6461. type: integer
  6462. vendorname1:
  6463. description: 预售商品供应商名称
  6464. type: string
  6465. vendorname2:
  6466. description: 挂牌商品供应商名称
  6467. type: string
  6468. required:
  6469. - accountid
  6470. - buyorsell
  6471. - goodscode
  6472. - goodsid
  6473. - goodsname
  6474. - marketid
  6475. - orderid
  6476. - qty
  6477. - time
  6478. - trademode
  6479. type: object
  6480. models.HsbyGoodsOrderDetail:
  6481. properties:
  6482. buyorsell:
  6483. description: 买卖 - 0:买 1:卖
  6484. type: integer
  6485. currencysign:
  6486. description: 货币符号
  6487. type: string
  6488. customername:
  6489. description: 客户名称(企业名称),已脱敏
  6490. type: string
  6491. enableqty:
  6492. description: 可用数量
  6493. type: integer
  6494. goodunit:
  6495. description: 报价单位
  6496. type: string
  6497. orderid:
  6498. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6499. type: string
  6500. orderprice:
  6501. description: 委托价格
  6502. type: number
  6503. ordertime:
  6504. description: 委托时间
  6505. type: string
  6506. required:
  6507. - buyorsell
  6508. - orderid
  6509. - ordertime
  6510. type: object
  6511. models.HsbyListingGoodsDetail:
  6512. properties:
  6513. agreeunit:
  6514. description: 合约单位
  6515. type: number
  6516. buymaxqty:
  6517. description: 购买上限 [71] - 0为不限
  6518. type: integer
  6519. currency:
  6520. description: 货币
  6521. type: string
  6522. currencysign:
  6523. description: 货币符号
  6524. type: string
  6525. decimalplace:
  6526. description: 报价小数位
  6527. type: integer
  6528. desccityid:
  6529. description: 目的地(市)ID
  6530. type: integer
  6531. descprovinceid:
  6532. description: 目的地(省)ID
  6533. type: integer
  6534. goodscode:
  6535. description: 商品代码(内部)
  6536. type: string
  6537. goodsdesc:
  6538. description: 商品详情
  6539. type: string
  6540. goodsid:
  6541. description: 商品ID(自增ID SEQ_GOODS)
  6542. type: integer
  6543. goodsname:
  6544. description: 商品名称
  6545. type: string
  6546. goodsprice:
  6547. description: 商品价格
  6548. type: number
  6549. hotindex:
  6550. description: 景点热度
  6551. type: integer
  6552. last:
  6553. description: 现价
  6554. type: number
  6555. limitdown:
  6556. description: 跌停价
  6557. type: number
  6558. limitup:
  6559. description: 涨停价
  6560. type: number
  6561. lotsize:
  6562. description: 手数最小变动单位
  6563. type: integer
  6564. marketid:
  6565. description: 所属市场ID
  6566. type: integer
  6567. picurls:
  6568. description: 介绍图片[多张用逗号分隔]
  6569. type: string
  6570. quoteminunit:
  6571. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6572. type: integer
  6573. stepvalue:
  6574. description: 价格最小变动单位
  6575. type: number
  6576. trademode:
  6577. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6578. 21:竞拍-大宗式 22:受托竞价
  6579. type: integer
  6580. vendorattr:
  6581. description: 供应商附件(多张,逗号分隔)
  6582. type: string
  6583. vendorname:
  6584. description: 供应商名称
  6585. type: string
  6586. vendorphone:
  6587. description: 供应商客服电话
  6588. type: string
  6589. videourls:
  6590. description: 介绍视频[多张用逗号分隔]
  6591. type: string
  6592. required:
  6593. - goodscode
  6594. - goodsid
  6595. - goodsname
  6596. - marketid
  6597. - trademode
  6598. type: object
  6599. models.HsbyMarketGoods:
  6600. properties:
  6601. accountid:
  6602. description: 账户ID[报价币种]
  6603. type: integer
  6604. agreeunit:
  6605. description: 合约单位
  6606. type: number
  6607. buyorsell:
  6608. description: 买卖 - 0:买 1:卖
  6609. type: integer
  6610. categoryid:
  6611. description: 类别ID(WRCATEGORY)
  6612. type: integer
  6613. currency:
  6614. description: 货币
  6615. type: string
  6616. currencysign:
  6617. description: 货币符号
  6618. type: string
  6619. customername:
  6620. description: 卖家名称
  6621. type: string
  6622. decimalplace:
  6623. description: 报价小数位
  6624. type: integer
  6625. goodscode:
  6626. description: 商品代码(内部)
  6627. type: string
  6628. goodsid:
  6629. description: 商品ID
  6630. type: integer
  6631. goodsname:
  6632. description: 商品名称
  6633. type: string
  6634. goodsprice:
  6635. description: 商品价格
  6636. type: number
  6637. hascoupon:
  6638. description: 是否可用优惠卷
  6639. type: boolean
  6640. hotindex:
  6641. description: 景点热度
  6642. type: integer
  6643. marketid:
  6644. description: 市场ID
  6645. type: integer
  6646. orderid:
  6647. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6648. type: string
  6649. orderprice:
  6650. description: 委托价格
  6651. type: number
  6652. orderstatus:
  6653. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6654. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6655. 16:成交失败违约(荷兰式竞拍专用)
  6656. type: integer
  6657. picurls:
  6658. description: 介绍图片[多张用逗号分隔]
  6659. type: string
  6660. quoteminunit:
  6661. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6662. type: integer
  6663. sellUserID:
  6664. description: 卖方UserID
  6665. type: integer
  6666. trademode:
  6667. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6668. 21:竞拍-大宗式 22:受托竞价
  6669. type: integer
  6670. videourls:
  6671. description: 介绍视频[多张用逗号分隔]
  6672. type: string
  6673. required:
  6674. - accountid
  6675. - buyorsell
  6676. - goodscode
  6677. - goodsid
  6678. - goodsname
  6679. - marketid
  6680. - orderid
  6681. - trademode
  6682. type: object
  6683. models.HsbyMarketGoodsDetail:
  6684. properties:
  6685. accountid:
  6686. description: 账户ID[报价币种]
  6687. type: integer
  6688. agreeunit:
  6689. description: 合约单位
  6690. type: number
  6691. buymaxqty:
  6692. description: 购买上限 [71] - 0为不限
  6693. type: integer
  6694. buyorsell:
  6695. description: 买卖 - 0:买 1:卖
  6696. type: integer
  6697. cancelqty:
  6698. description: 撤单数量
  6699. type: integer
  6700. categoryid:
  6701. description: 类别ID(WRCATEGORY)
  6702. type: integer
  6703. currency:
  6704. description: 货币
  6705. type: string
  6706. currencysign:
  6707. description: 货币符号
  6708. type: string
  6709. customername:
  6710. description: 卖家名称
  6711. type: string
  6712. decimalplace:
  6713. description: 报价小数位
  6714. type: integer
  6715. goodscode:
  6716. description: 商品代码(内部)
  6717. type: string
  6718. goodsdesc:
  6719. description: 商品详情
  6720. type: string
  6721. goodsid:
  6722. description: 商品ID
  6723. type: integer
  6724. goodsname:
  6725. description: 商品名称
  6726. type: string
  6727. goodsprice:
  6728. description: 商品价格
  6729. type: number
  6730. hotindex:
  6731. description: 景点热度
  6732. type: integer
  6733. lotsize:
  6734. description: 手数最小变动单位
  6735. type: integer
  6736. marketid:
  6737. description: 市场ID
  6738. type: integer
  6739. orderid:
  6740. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6741. type: string
  6742. orderprice:
  6743. description: 委托价格
  6744. type: number
  6745. orderqty:
  6746. description: 委托数量
  6747. type: integer
  6748. orderstatus:
  6749. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6750. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6751. 16:成交失败违约(荷兰式竞拍专用)
  6752. type: integer
  6753. picurls:
  6754. description: 介绍图片[多张用逗号分隔]
  6755. type: string
  6756. quoteminunit:
  6757. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6758. type: integer
  6759. sellUserID:
  6760. description: 卖方UserID
  6761. type: integer
  6762. trademode:
  6763. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6764. 21:竞拍-大宗式 22:受托竞价
  6765. type: integer
  6766. tradeqty:
  6767. description: 成交数量
  6768. type: integer
  6769. vendorattr:
  6770. description: 供应商附件(多张,逗号分隔)
  6771. type: string
  6772. vendorname:
  6773. description: 供应商名称
  6774. type: string
  6775. vendorphone:
  6776. description: 供应商客服电话
  6777. type: string
  6778. videourls:
  6779. description: 介绍视频[多张用逗号分隔]
  6780. type: string
  6781. required:
  6782. - accountid
  6783. - buyorsell
  6784. - goodscode
  6785. - goodsid
  6786. - goodsname
  6787. - marketid
  6788. - orderid
  6789. - orderqty
  6790. - trademode
  6791. type: object
  6792. models.HsbyMarketInfo:
  6793. properties:
  6794. marketid:
  6795. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6796. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6797. type: integer
  6798. marketname:
  6799. description: 市场名称
  6800. type: string
  6801. marketstatus:
  6802. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6803. type: integer
  6804. trademode:
  6805. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6806. 21:竞拍-大宗式 22:受托竞价
  6807. type: integer
  6808. required:
  6809. - marketid
  6810. - marketstatus
  6811. - trademode
  6812. type: object
  6813. models.HsbyMyGoods:
  6814. properties:
  6815. accountid:
  6816. description: 账号Id
  6817. type: integer
  6818. agreeunit:
  6819. description: 合约单位
  6820. type: number
  6821. buyaverageprice:
  6822. description: 持仓均价
  6823. type: number
  6824. buycurholderamount:
  6825. description: 买当前持仓总金额[商品币种]
  6826. type: number
  6827. buycurpositionqty:
  6828. description: 买当前持仓总数量
  6829. type: integer
  6830. buymaxqty:
  6831. description: 购买上限 [71] - 0为不限
  6832. type: integer
  6833. currencysign:
  6834. description: 货币符号
  6835. type: string
  6836. decimalplace:
  6837. description: 报价小数位
  6838. type: integer
  6839. enableqty:
  6840. description: 可用数量
  6841. type: integer
  6842. goodscode:
  6843. description: 商品代码(内部)
  6844. type: string
  6845. goodsid:
  6846. description: 商品Id
  6847. type: integer
  6848. goodsname:
  6849. description: 商品名称
  6850. type: string
  6851. goodsprice:
  6852. description: 商品价格
  6853. type: number
  6854. goodsstatus:
  6855. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6856. type: integer
  6857. last:
  6858. description: 现价(仅使用于挂牌点选)
  6859. type: number
  6860. limitdown:
  6861. description: 跌停价(仅使用于挂牌点选)
  6862. type: number
  6863. limitup:
  6864. description: 涨停价(仅使用于挂牌点选)
  6865. type: number
  6866. lotsize:
  6867. description: 手数最小变动单位
  6868. type: integer
  6869. marketid:
  6870. description: 所属市场ID
  6871. type: integer
  6872. picurls:
  6873. description: 介绍图片[多张用逗号分隔]
  6874. type: string
  6875. quoteminunit:
  6876. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6877. type: integer
  6878. stepvalue:
  6879. description: 价格最小变动单位
  6880. type: number
  6881. trademode:
  6882. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6883. 21:竞拍-大宗式 22:受托竞价
  6884. type: integer
  6885. required:
  6886. - accountid
  6887. - goodscode
  6888. - goodsid
  6889. - goodsname
  6890. - marketid
  6891. - trademode
  6892. type: object
  6893. models.HsbyMyPackage:
  6894. properties:
  6895. accountid:
  6896. description: 账户ID
  6897. type: integer
  6898. address:
  6899. description: 提货人详细地址
  6900. type: string
  6901. agreeunit:
  6902. description: 合约单位
  6903. type: number
  6904. amount:
  6905. description: 提货金额
  6906. type: number
  6907. auditer:
  6908. description: 审核人
  6909. type: integer
  6910. audittime:
  6911. description: 审核时间
  6912. type: string
  6913. averageprice:
  6914. description: 均价
  6915. type: number
  6916. cardnum:
  6917. description: 提货人证件号码
  6918. type: string
  6919. cardtypeid:
  6920. description: 提货人证件类型
  6921. type: integer
  6922. checkremark:
  6923. description: 审核备注
  6924. type: string
  6925. currencysign:
  6926. description: 货币符号
  6927. type: string
  6928. decimalplace:
  6929. description: 报价小数位
  6930. type: integer
  6931. goodscode:
  6932. description: 商品代码(内部)
  6933. type: string
  6934. goodsid:
  6935. description: 商品ID
  6936. type: integer
  6937. goodsname:
  6938. description: 商品名称
  6939. type: string
  6940. handlestatus:
  6941. description: 处理状态
  6942. type: integer
  6943. marketid:
  6944. description: 市场ID
  6945. type: integer
  6946. phonenum:
  6947. description: 提货人联系方式
  6948. type: string
  6949. picurls:
  6950. description: 介绍图片[多张用逗号分隔]
  6951. type: string
  6952. qty:
  6953. description: 提货数量
  6954. type: number
  6955. recivername:
  6956. description: 提货人姓名
  6957. type: string
  6958. reqtime:
  6959. description: 更新时间
  6960. type: string
  6961. takemode:
  6962. description: 提货方式 - 2:自提 3:配送
  6963. type: integer
  6964. takeorderid:
  6965. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6966. type: string
  6967. takeorderstatus:
  6968. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6969. type: integer
  6970. takeremark:
  6971. description: 提货备注
  6972. type: string
  6973. tradedate:
  6974. description: 交易日(yyyyMMdd)
  6975. type: string
  6976. trademode:
  6977. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6978. 21:竞拍-大宗式 22:受托竞价
  6979. type: integer
  6980. userid:
  6981. description: 用户ID
  6982. type: integer
  6983. vendorname:
  6984. description: 供应商名称
  6985. type: string
  6986. required:
  6987. - goodscode
  6988. - goodsname
  6989. - takeorderid
  6990. - trademode
  6991. type: object
  6992. models.HsbyPreGoods:
  6993. properties:
  6994. agreeunit:
  6995. description: 合约单位
  6996. type: number
  6997. currency:
  6998. description: 货币
  6999. type: string
  7000. currencysign:
  7001. description: 货币符号
  7002. type: string
  7003. decimalplace:
  7004. description: 报价小数位
  7005. type: integer
  7006. desccityid:
  7007. description: 目的地(市)
  7008. type: integer
  7009. descprovinceid:
  7010. description: 目的地(省)
  7011. type: integer
  7012. enableqty:
  7013. description: 剩余数量
  7014. type: integer
  7015. goodscode:
  7016. description: 商品代码(内部)
  7017. type: string
  7018. goodsid:
  7019. description: 商品ID(自增ID SEQ_GOODS)
  7020. type: integer
  7021. goodsname:
  7022. description: 商品名称
  7023. type: string
  7024. goodsstatus:
  7025. description: 商品状态- 2:未上市 3:上市
  7026. type: integer
  7027. lasttradedate:
  7028. description: 最后交易日期(状态:待退市)
  7029. type: string
  7030. listingdate:
  7031. description: 交易开始日期
  7032. type: string
  7033. marketid:
  7034. description: 所属市场ID
  7035. type: integer
  7036. picurls:
  7037. description: 介绍图片[多张用逗号分隔]
  7038. type: string
  7039. presaledqty:
  7040. description: 已预售量(预售结束时更新)
  7041. type: integer
  7042. presaleqty:
  7043. description: 预售数量
  7044. type: integer
  7045. quoteminunit:
  7046. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7047. type: integer
  7048. refprice:
  7049. description: 参考价格[一口价]
  7050. type: number
  7051. relatedgoodsid:
  7052. description: 关联交易合约ID
  7053. type: integer
  7054. trademode:
  7055. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7056. 21:竞拍-大宗式 22:受托竞价
  7057. type: integer
  7058. videourls:
  7059. description: 介绍视频[多张用逗号分隔]
  7060. type: string
  7061. required:
  7062. - goodscode
  7063. - goodsid
  7064. - goodsname
  7065. - marketid
  7066. - trademode
  7067. type: object
  7068. models.HsbyPreGoodsDetail:
  7069. properties:
  7070. agreeunit:
  7071. description: 合约单位
  7072. type: number
  7073. buymaxqty:
  7074. description: 购买上限 [71] - 0为不限
  7075. type: integer
  7076. currency:
  7077. description: 货币
  7078. type: string
  7079. currencysign:
  7080. description: 货币符号
  7081. type: string
  7082. customername:
  7083. description: 发行单位
  7084. type: string
  7085. decimalplace:
  7086. description: 报价小数位
  7087. type: integer
  7088. desccityid:
  7089. description: 目的地(市)ID
  7090. type: integer
  7091. descprovinceid:
  7092. description: 目的地(省)ID
  7093. type: integer
  7094. enableqty:
  7095. description: 剩余数量
  7096. type: integer
  7097. goodscode:
  7098. description: 商品代码(内部)
  7099. type: string
  7100. goodsdesc:
  7101. description: 商品详情
  7102. type: string
  7103. goodsid:
  7104. description: 商品ID(自增ID SEQ_GOODS)
  7105. type: integer
  7106. goodsname:
  7107. description: 商品名称
  7108. type: string
  7109. goodsstatus:
  7110. description: 商品状态- 2:未上市 3:上市
  7111. type: integer
  7112. goodunit:
  7113. description: 报价单位
  7114. type: string
  7115. lasttradedate:
  7116. description: 最后交易日期(状态:待退市)
  7117. type: string
  7118. listingdate:
  7119. description: 交易开始日期
  7120. type: string
  7121. lotsize:
  7122. description: 手数最小变动单位
  7123. type: integer
  7124. marketid:
  7125. description: 所属市场ID
  7126. type: integer
  7127. picurls:
  7128. description: 介绍图片[多张用逗号分隔]
  7129. type: string
  7130. presaledqty:
  7131. description: 已预售量(预售结束时更新)
  7132. type: integer
  7133. presaleqty:
  7134. description: 预售数量
  7135. type: integer
  7136. quoteminunit:
  7137. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7138. type: integer
  7139. refprice:
  7140. description: 参考价格[一口价]
  7141. type: number
  7142. relatedgoodsid:
  7143. description: 关联交易合约ID
  7144. type: integer
  7145. stepvalue:
  7146. description: 价格最小变动单位
  7147. type: number
  7148. trademode:
  7149. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7150. 21:竞拍-大宗式 22:受托竞价
  7151. type: integer
  7152. vendorattr:
  7153. description: 供应商附件(多张,逗号分隔)
  7154. type: string
  7155. vendorname:
  7156. description: 供应商名称
  7157. type: string
  7158. vendorphone:
  7159. description: 供应商客服电话
  7160. type: string
  7161. videourls:
  7162. description: 介绍视频[多张用逗号分隔]
  7163. type: string
  7164. required:
  7165. - goodscode
  7166. - goodsid
  7167. - goodsname
  7168. - marketid
  7169. - trademode
  7170. type: object
  7171. models.HsbySellCollectionOrder:
  7172. properties:
  7173. agreeunit:
  7174. description: 合约单位
  7175. type: number
  7176. buyaccountid:
  7177. description: 买方账号ID[报价币种]
  7178. type: integer
  7179. buyorderid:
  7180. description: 买方委托单号
  7181. type: string
  7182. createtime:
  7183. description: 创建时间
  7184. type: string
  7185. currencysign:
  7186. description: 货币符号
  7187. type: string
  7188. decimalplace:
  7189. description: 报价小数位
  7190. type: integer
  7191. goodscode:
  7192. description: 商品代码(内部)
  7193. type: string
  7194. goodsid:
  7195. description: 商品ID
  7196. type: integer
  7197. goodsname:
  7198. description: 商品名称
  7199. type: string
  7200. marketid:
  7201. description: 市场ID
  7202. type: integer
  7203. offamount:
  7204. description: 优惠金额
  7205. type: number
  7206. payamount:
  7207. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7208. type: number
  7209. payflag:
  7210. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7211. type: integer
  7212. paylimitedtime:
  7213. description: 支付期限
  7214. type: string
  7215. paytime:
  7216. description: 付款时间
  7217. type: string
  7218. picurls:
  7219. description: 商品介绍图片[多张用逗号分隔]
  7220. type: string
  7221. sellaccountid:
  7222. description: 卖方账号ID[报价币种]
  7223. type: integer
  7224. sellorderid:
  7225. description: 卖方委托单号
  7226. type: string
  7227. tradeamount:
  7228. description: 成交金额
  7229. type: number
  7230. tradecharge:
  7231. description: 成交手续费(买方)
  7232. type: number
  7233. tradedate:
  7234. description: 交易日(yyyyMMdd)
  7235. type: string
  7236. tradeid:
  7237. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7238. type: string
  7239. trademode:
  7240. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7241. 21:竞拍-大宗式 22:受托竞价
  7242. type: integer
  7243. tradeprice:
  7244. description: 成交价格
  7245. type: number
  7246. tradeqty:
  7247. description: 成交数量
  7248. type: integer
  7249. required:
  7250. - goodscode
  7251. - goodsname
  7252. - tradeid
  7253. - trademode
  7254. type: object
  7255. models.HsbySellMyDetail:
  7256. properties:
  7257. accountid:
  7258. description: 账户ID[报价币种]
  7259. type: integer
  7260. agreeunit:
  7261. description: 合约单位
  7262. type: number
  7263. buyorsell:
  7264. description: 买卖 - 0:买 1:卖
  7265. type: integer
  7266. currencysign:
  7267. description: 货币符号
  7268. type: string
  7269. decimalplace:
  7270. description: 报价小数位
  7271. type: integer
  7272. goodscode:
  7273. description: 商品代码(内部)
  7274. type: string
  7275. goodsid:
  7276. description: 商品ID
  7277. type: integer
  7278. goodsname:
  7279. description: 商品名称
  7280. type: string
  7281. marketid:
  7282. description: 市场ID
  7283. type: integer
  7284. orderid:
  7285. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7286. type: string
  7287. ordertype:
  7288. description: 单据类型:0 - 发布中, 1 - 已完成
  7289. type: integer
  7290. picurls:
  7291. description: 介绍图片[多张用逗号分隔]
  7292. type: string
  7293. price:
  7294. description: 价格
  7295. type: number
  7296. qty:
  7297. description: 数量
  7298. type: integer
  7299. time:
  7300. description: 时间
  7301. type: string
  7302. trademode:
  7303. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7304. 21:竞拍-大宗式 22:受托竞价
  7305. type: integer
  7306. vendorname:
  7307. description: 供应商名称
  7308. type: string
  7309. required:
  7310. - accountid
  7311. - buyorsell
  7312. - goodscode
  7313. - goodsid
  7314. - goodsname
  7315. - marketid
  7316. - orderid
  7317. - time
  7318. - trademode
  7319. type: object
  7320. models.HsbyTopGoods:
  7321. properties:
  7322. agreeunit:
  7323. description: 合约单位
  7324. type: number
  7325. currency:
  7326. description: 货币
  7327. type: string
  7328. currencysign:
  7329. description: 货币符号
  7330. type: string
  7331. decimalplace:
  7332. description: 报价小数位
  7333. type: integer
  7334. desccityid:
  7335. description: 目的地(市)
  7336. type: integer
  7337. descprovinceid:
  7338. description: 目的地(省)
  7339. type: integer
  7340. goodscode:
  7341. description: 商品代码(内部)
  7342. type: string
  7343. goodsid:
  7344. description: 商品ID(自增ID SEQ_GOODS)
  7345. type: integer
  7346. goodsname:
  7347. description: 商品名称
  7348. type: string
  7349. hotindex:
  7350. description: 景点热度
  7351. type: integer
  7352. last:
  7353. description: 现价
  7354. type: number
  7355. marketid:
  7356. description: 所属市场ID
  7357. type: integer
  7358. picurls:
  7359. description: 介绍图片[多张用逗号分隔]
  7360. type: string
  7361. quoteminunit:
  7362. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7363. type: integer
  7364. trademode:
  7365. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7366. 21:竞拍-大宗式 22:受托竞价
  7367. type: integer
  7368. videourls:
  7369. description: 介绍视频[多张用逗号分隔]
  7370. type: string
  7371. required:
  7372. - goodscode
  7373. - goodsid
  7374. - goodsname
  7375. - marketid
  7376. - trademode
  7377. type: object
  7378. models.HybsMyBuyOrderDetail:
  7379. properties:
  7380. accountid:
  7381. description: 账户ID[报价币种]
  7382. type: integer
  7383. agreeunit:
  7384. description: 合约单位
  7385. type: number
  7386. buyorsell:
  7387. description: 买卖 - 0:买 1:卖
  7388. type: integer
  7389. cancelqty:
  7390. description: 撤单数量
  7391. type: integer
  7392. currencysign:
  7393. description: 货币符号
  7394. type: string
  7395. decimalplace:
  7396. description: 报价小数位
  7397. type: integer
  7398. goodscode:
  7399. description: 商品代码(内部)
  7400. type: string
  7401. goodsid:
  7402. description: 商品ID
  7403. type: integer
  7404. goodsname:
  7405. description: 商品名称
  7406. type: string
  7407. listingselecttype:
  7408. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7409. type: integer
  7410. marketid:
  7411. description: 市场ID
  7412. type: integer
  7413. mybuystatus:
  7414. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7415. type: integer
  7416. orderamount:
  7417. description: 委托金额
  7418. type: number
  7419. orderid:
  7420. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7421. type: string
  7422. orderprice:
  7423. description: 委托价格
  7424. type: number
  7425. orderqty:
  7426. description: 委托数量
  7427. type: integer
  7428. orderstatus:
  7429. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7430. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7431. 16:成交失败违约(荷兰式竞拍专用)
  7432. type: integer
  7433. ordertime:
  7434. description: 委托时间
  7435. type: string
  7436. picurls1:
  7437. description: 预售商品介绍图片[多张用逗号分隔]
  7438. type: string
  7439. picurls2:
  7440. description: 挂牌商品介绍图片[多张用逗号分隔]
  7441. type: string
  7442. trademode:
  7443. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7444. 21:竞拍-大宗式 22:受托竞价
  7445. type: integer
  7446. tradeqty:
  7447. description: 成交数量
  7448. type: integer
  7449. vendorname1:
  7450. description: 预售商品供应商名称
  7451. type: string
  7452. vendorname2:
  7453. description: 挂牌商品供应商名称
  7454. type: string
  7455. required:
  7456. - accountid
  7457. - buyorsell
  7458. - goodscode
  7459. - goodsid
  7460. - goodsname
  7461. - marketid
  7462. - orderid
  7463. - orderqty
  7464. - ordertime
  7465. - trademode
  7466. type: object
  7467. models.Loginaccount:
  7468. properties:
  7469. canoutin:
  7470. description: 是否可出入金 - 0:不可 1:可
  7471. type: integer
  7472. clientroleid:
  7473. description: 终端角色ID
  7474. type: integer
  7475. haslogined:
  7476. description: 是否已登录 - 0:未登录 1:已登录
  7477. type: integer
  7478. hasupdatedpwd:
  7479. description: 是否已更改密码 - 0:未修改 1:已修改
  7480. type: integer
  7481. lastloginip:
  7482. description: 最新登录地址
  7483. type: string
  7484. lastloginmode:
  7485. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7486. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7487. type: integer
  7488. lastloginremark:
  7489. description: 最新登录描述
  7490. type: string
  7491. lastlogintime:
  7492. description: 最新登录时间
  7493. type: string
  7494. logincode:
  7495. description: 登录代码
  7496. type: string
  7497. loginfailnum:
  7498. description: 连续登录失败次数(登录成功时清零)
  7499. type: integer
  7500. loginid:
  7501. description: 登陆账号
  7502. type: integer
  7503. loginport:
  7504. description: 最新登录端口
  7505. type: integer
  7506. loginstatus:
  7507. description: 登录账号状态 1:正常 2:冻结 3:无效
  7508. type: integer
  7509. loginusertype:
  7510. description: 登录账号类型 - 1:投资者 2:机构交易员
  7511. type: integer
  7512. modifierid:
  7513. description: 修改人
  7514. type: integer
  7515. modifytime:
  7516. description: 修改时间
  7517. type: string
  7518. pwdwrongcount:
  7519. description: 密码错误次数
  7520. type: integer
  7521. taaccountrighttype:
  7522. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7523. type: integer
  7524. unfreezetime:
  7525. description: 账户解冻时间
  7526. type: string
  7527. userid:
  7528. description: 用户ID
  7529. type: integer
  7530. required:
  7531. - loginid
  7532. type: object
  7533. models.MainAccountInfo:
  7534. properties:
  7535. accountid:
  7536. description: 账号id
  7537. type: string
  7538. appid:
  7539. description: AppID
  7540. type: string
  7541. authcode:
  7542. description: 授权码
  7543. type: string
  7544. brokerid:
  7545. description: 经纪商id
  7546. type: string
  7547. fcid:
  7548. description: 期货公司id
  7549. type: integer
  7550. fcname:
  7551. description: 期货公司代码
  7552. type: string
  7553. hedgeaccountcode:
  7554. description: 外部账号代码
  7555. type: string
  7556. hedgeaccountpwd:
  7557. description: 密码
  7558. type: string
  7559. ismain:
  7560. description: 是否主账号
  7561. type: integer
  7562. relateduserid:
  7563. description: 关联用户id
  7564. type: integer
  7565. type: object
  7566. models.Market:
  7567. properties:
  7568. auctionwrtype:
  7569. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7570. type: integer
  7571. canacceptquote:
  7572. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7573. type: integer
  7574. cangoodsexercise:
  7575. description: '[期权]是否可现货行权- 0:否 1:是'
  7576. type: integer
  7577. cangoodsexercisetype:
  7578. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7579. type: integer
  7580. canmanualquotestrike:
  7581. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7582. type: integer
  7583. canmutistage:
  7584. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7585. type: integer
  7586. canpreexercise:
  7587. description: '[期权]是否可预申报- 0:否 1:是'
  7588. type: integer
  7589. clearinterval:
  7590. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7591. type: integer
  7592. contracttmp:
  7593. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7594. type: string
  7595. exchareaid:
  7596. description: 所属交易所,可以没有
  7597. type: integer
  7598. goodstype:
  7599. description: 商品类型 - 1:交易商品 2:仓单商品
  7600. type: integer
  7601. hasrebate:
  7602. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7603. type: integer
  7604. hastradecredit:
  7605. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7606. type: integer
  7607. haswr:
  7608. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7609. type: integer
  7610. isdeductmargin:
  7611. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7612. type: integer
  7613. isrecordsource:
  7614. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7615. type: integer
  7616. isreleasemargin:
  7617. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7618. type: integer
  7619. marginformula:
  7620. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7621. type: integer
  7622. marginformula2:
  7623. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7624. type: integer
  7625. marketid:
  7626. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7627. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7628. type: integer
  7629. marketname:
  7630. description: 市场名称
  7631. type: string
  7632. marketserviceid:
  7633. description: 市场服务ID
  7634. type: integer
  7635. marketstatus:
  7636. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7637. type: integer
  7638. markettype:
  7639. description: 市场类型- 1:非交易服务 2:交易服务
  7640. type: integer
  7641. matchermode:
  7642. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7643. type: integer
  7644. openmethod:
  7645. description: 开盘模式 - 0 自动 1手动
  7646. type: integer
  7647. otcuserid:
  7648. description: 场外期权做市商[场外期权]
  7649. type: integer
  7650. outersynctime:
  7651. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7652. type: string
  7653. pendingflag:
  7654. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7655. type: integer
  7656. pendingtime:
  7657. description: 待开市时间[通道交易-对冲](HH:mm)
  7658. type: string
  7659. performancetempid:
  7660. description: 履约计划模板ID - 作废
  7661. type: integer
  7662. premiumquotemode:
  7663. description: 权利金报价方式 - 1:自动 2:手动
  7664. type: integer
  7665. rebateratio:
  7666. description: 返利比率[竞价式]
  7667. type: number
  7668. reckonorder:
  7669. description: 结算顺序
  7670. type: integer
  7671. reckonpricealgorithm:
  7672. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7673. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7674. type: integer
  7675. reckonpriceparam:
  7676. description: 结算价参数
  7677. type: integer
  7678. reckontime:
  7679. description: 结算时间[通道交易-对冲](HH:mm)
  7680. type: string
  7681. roleprioritytype:
  7682. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7683. type: integer
  7684. selllistingauditflag:
  7685. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7686. type: integer
  7687. trademarkettype:
  7688. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7689. type: integer
  7690. trademode:
  7691. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7692. 21:竞拍-大宗式 22:受托竞价
  7693. type: integer
  7694. tradeproperty:
  7695. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7696. 8:场外期权
  7697. type: integer
  7698. tradetype:
  7699. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7700. type: integer
  7701. required:
  7702. - marketid
  7703. - marketstatus
  7704. - openmethod
  7705. - reckonpricealgorithm
  7706. - trademode
  7707. - tradeproperty
  7708. type: object
  7709. models.Marketrun:
  7710. properties:
  7711. afternexttradedate:
  7712. description: 下下交易日
  7713. type: string
  7714. clearquoteflag:
  7715. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7716. type: integer
  7717. lastreckondate:
  7718. description: 最新交易日(结算成功)
  7719. type: string
  7720. machinedate:
  7721. description: 机器时间
  7722. type: string
  7723. manualflag:
  7724. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7725. type: integer
  7726. marketid:
  7727. description: 市场ID
  7728. type: integer
  7729. nexttradedate:
  7730. description: 下一交易日
  7731. type: string
  7732. pretradedate:
  7733. description: 上一交易日
  7734. type: string
  7735. reckonflag:
  7736. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7737. type: integer
  7738. runstatus:
  7739. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7740. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7741. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7742. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7743. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7744. 62.今日免清算
  7745. type: integer
  7746. sectionid:
  7747. description: 时间段号[多时段时用]
  7748. type: integer
  7749. tradedate:
  7750. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7751. type: string
  7752. tradedate2:
  7753. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7754. type: string
  7755. updatetime:
  7756. description: 更新时间
  7757. type: string
  7758. required:
  7759. - marketid
  7760. - nexttradedate
  7761. - reckonflag
  7762. - runstatus
  7763. - tradedate
  7764. - tradedate2
  7765. type: object
  7766. models.Messageboard:
  7767. properties:
  7768. contactnum:
  7769. description: 联系电话
  7770. type: string
  7771. createtime:
  7772. description: 创建时间
  7773. type: string
  7774. message:
  7775. description: 留言信息
  7776. type: string
  7777. messageboardid:
  7778. description: 留言簿ID(SEQ_MessageBoard)
  7779. type: integer
  7780. userid:
  7781. description: 用户ID
  7782. type: integer
  7783. required:
  7784. - messageboardid
  7785. type: object
  7786. models.MyCoupon:
  7787. properties:
  7788. accountid:
  7789. description: 资金账户ID
  7790. type: integer
  7791. areauserid:
  7792. description: 所属机构
  7793. type: integer
  7794. conditionvalue:
  7795. description: 条件阈值(可为0)
  7796. type: number
  7797. couponcategroy:
  7798. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7799. type: integer
  7800. couponname:
  7801. description: 优惠券名称
  7802. type: string
  7803. coupontypeid:
  7804. description: 优惠券类型ID
  7805. type: string
  7806. couponvalue:
  7807. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7808. type: number
  7809. curfreezeqty:
  7810. description: 期末冻结数量
  7811. type: integer
  7812. curqty:
  7813. description: 期末数量
  7814. type: integer
  7815. isgeneral:
  7816. description: 是否通用券 - 0:否 1:是
  7817. type: integer
  7818. isunusable:
  7819. description: 是否不可用
  7820. type: boolean
  7821. limitedflag:
  7822. description: 是否指定商品 - 0:不限 1:限制
  7823. type: integer
  7824. limitedgoodsids:
  7825. description: 指定商品IDs[逗号分隔,前后加逗号]
  7826. type: string
  7827. orifreezeqty:
  7828. description: 期初冻结数量
  7829. type: integer
  7830. oriqty:
  7831. description: 期初数量
  7832. type: integer
  7833. reasontype:
  7834. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7835. type: integer
  7836. todaydecrease:
  7837. description: 今日减少
  7838. type: integer
  7839. todayincrease:
  7840. description: 今日增加
  7841. type: integer
  7842. userid:
  7843. description: 用户ID
  7844. type: integer
  7845. userscope:
  7846. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7847. type: string
  7848. required:
  7849. - accountid
  7850. - coupontypeid
  7851. type: object
  7852. models.MyCouponHold:
  7853. properties:
  7854. accountid:
  7855. description: 资金账户ID
  7856. type: integer
  7857. conditionvalue:
  7858. description: 条件阈值(可为0)
  7859. type: number
  7860. couponcategroy:
  7861. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7862. type: integer
  7863. couponholdid:
  7864. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7865. type: string
  7866. couponname:
  7867. description: 优惠券名称
  7868. type: string
  7869. coupontypeid:
  7870. description: 优惠券类型ID - SEQ_COUPONTYPE
  7871. type: string
  7872. couponvalue:
  7873. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7874. type: number
  7875. createtime:
  7876. description: 创建时间
  7877. type: string
  7878. enddate:
  7879. description: 结束日期
  7880. type: string
  7881. giveapplyid:
  7882. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  7883. type: integer
  7884. holdstatus:
  7885. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  7886. type: integer
  7887. isgeneral:
  7888. description: 是否通用券 - 0:否 1:是
  7889. type: integer
  7890. limitedflag:
  7891. description: 是否指定商品 - 0:不限 1:限制
  7892. type: integer
  7893. limitedgoodsids:
  7894. description: 指定商品IDs[逗号分隔]
  7895. type: string
  7896. qty:
  7897. description: 数量(按1平铺)
  7898. type: integer
  7899. startdate:
  7900. description: 开始日期
  7901. type: string
  7902. userid:
  7903. description: 用户ID
  7904. type: integer
  7905. userscope:
  7906. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  7907. type: string
  7908. required:
  7909. - couponholdid
  7910. type: object
  7911. models.MyUsedCoupon:
  7912. properties:
  7913. accountid:
  7914. description: 资金账户ID(买方)
  7915. type: integer
  7916. conditionvalue:
  7917. description: 条件阈值(可为0)
  7918. type: number
  7919. couponcategroy:
  7920. description: 种类 - 1:现金券 2:折扣券
  7921. type: integer
  7922. couponname:
  7923. description: 优惠券名称
  7924. type: string
  7925. coupontypeid:
  7926. description: 优惠券类型ID(买方)
  7927. type: string
  7928. couponvalue:
  7929. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  7930. type: number
  7931. createtime:
  7932. description: 创建时间
  7933. type: string
  7934. goodsid:
  7935. description: 商品ID
  7936. type: integer
  7937. handlestatus:
  7938. description: 处理状态
  7939. type: integer
  7940. marketid:
  7941. description: 市场ID
  7942. type: integer
  7943. offamount:
  7944. description: 优惠金额
  7945. type: number
  7946. orderid:
  7947. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7948. type: string
  7949. sellaccountid:
  7950. description: 资金账户ID(卖方)
  7951. type: integer
  7952. tradeamount:
  7953. description: 成交金额
  7954. type: number
  7955. tradeid:
  7956. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7957. type: string
  7958. usedqty:
  7959. description: 使用数量
  7960. type: integer
  7961. required:
  7962. - coupontypeid
  7963. - orderid
  7964. type: object
  7965. models.OperationPrimaryMenu:
  7966. properties:
  7967. Children:
  7968. description: 二级功能菜单
  7969. items:
  7970. $ref: '#/definitions/models.OperationSecondaryMenu'
  7971. type: array
  7972. Key:
  7973. description: 菜单KEY
  7974. type: string
  7975. Label:
  7976. description: 菜单标题
  7977. type: string
  7978. type: object
  7979. models.OperationSecondaryMenu:
  7980. properties:
  7981. Key:
  7982. description: 菜单KEY
  7983. type: string
  7984. Label:
  7985. description: 菜单标题
  7986. type: string
  7987. TabList:
  7988. description: 三级功能菜单
  7989. items:
  7990. $ref: '#/definitions/models.OperationTabMenu'
  7991. type: array
  7992. type: object
  7993. models.OperationTabMenu:
  7994. properties:
  7995. Key:
  7996. description: 菜单KEY
  7997. type: string
  7998. Label:
  7999. description: 菜单标题
  8000. type: string
  8001. type: object
  8002. models.QueryErrorInfosRsp:
  8003. properties:
  8004. description:
  8005. description: 异常描述
  8006. type: string
  8007. errorcode:
  8008. description: 异常代码
  8009. type: string
  8010. errorid:
  8011. description: 异常ID
  8012. type: integer
  8013. modulecode:
  8014. description: 所属模块
  8015. type: string
  8016. operatecode:
  8017. description: 所属操作
  8018. type: string
  8019. rownumber:
  8020. description: 行号
  8021. type: string
  8022. required:
  8023. - errorid
  8024. type: object
  8025. models.QueryHedgeOrderDetailRsp:
  8026. properties:
  8027. accountid:
  8028. description: 账户ID
  8029. type: integer
  8030. buyorsell:
  8031. description: 买卖 - 0:买 1:卖
  8032. type: integer
  8033. cancellogincode:
  8034. description: 撤单人
  8035. type: string
  8036. channelbuildtype:
  8037. description: 开平标志 - 0:无 1:建仓 2:平仓
  8038. type: integer
  8039. channelinnerorderstatus:
  8040. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8041. 9:全部成交
  8042. type: integer
  8043. channeloperatetype:
  8044. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8045. type: integer
  8046. closetype:
  8047. description: 平仓方式 - 0:无 1:平今 2:平昨
  8048. type: integer
  8049. curexchangerate:
  8050. description: 当前汇率
  8051. type: number
  8052. exchangefullname:
  8053. description: 外部交易所全称
  8054. type: string
  8055. goodscode:
  8056. description: 商品代码(内部)
  8057. type: string
  8058. goodsid:
  8059. description: 商品ID
  8060. type: integer
  8061. goodsname:
  8062. description: 商品名称
  8063. type: string
  8064. marketid:
  8065. description: 市场ID
  8066. type: integer
  8067. openfreezemargin:
  8068. description: 冻结保证金(冻结交易金额)
  8069. type: number
  8070. orderid:
  8071. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8072. type: string
  8073. orderlogincode:
  8074. description: 委托人
  8075. type: string
  8076. orderprice:
  8077. description: 委托价格(账户)
  8078. type: number
  8079. orderqty:
  8080. description: 委托数量
  8081. type: integer
  8082. ordertime:
  8083. description: 委托时间
  8084. type: string
  8085. pricemode:
  8086. description: '取价方式 - 1:市价 2: 限价'
  8087. type: integer
  8088. tradedate:
  8089. description: 交易日(yyyyMMdd)
  8090. type: string
  8091. tradeqty:
  8092. description: 成交数量
  8093. type: integer
  8094. type: object
  8095. models.QueryHedgeTradeDetailRsp:
  8096. properties:
  8097. accountid:
  8098. description: 账号ID
  8099. type: integer
  8100. buyorsell:
  8101. description: 方向 - 0:买 1:卖
  8102. type: integer
  8103. channelbuildtype:
  8104. description: 委托单据类型 0:无 1:建仓 2:平仓
  8105. type: integer
  8106. closecharge:
  8107. description: 平仓手续费(账户)
  8108. type: number
  8109. closecharge2:
  8110. description: 平仓手续费(商品)
  8111. type: number
  8112. closepl:
  8113. description: 平仓盈亏(账户)
  8114. type: number
  8115. closepl2:
  8116. description: 平仓盈亏(商品)
  8117. type: number
  8118. closepl3:
  8119. description: 平仓盈亏(账户)(逐笔)
  8120. type: number
  8121. closepl4:
  8122. description: 平仓盈亏(商品)(逐笔)
  8123. type: number
  8124. closetype:
  8125. description: 平仓方式 - 0:无 1:平今 2:平昨
  8126. type: integer
  8127. curexchangerate:
  8128. description: 当前汇率
  8129. type: number
  8130. exchangefullname:
  8131. description: 外部交易所全称
  8132. type: string
  8133. goodscode:
  8134. description: 商品代码(内部)
  8135. type: string
  8136. goodsid:
  8137. description: 商品ID
  8138. type: integer
  8139. goodsname:
  8140. description: 商品名称
  8141. type: string
  8142. marketid:
  8143. description: 市场ID
  8144. type: integer
  8145. opencharge:
  8146. description: 建仓手续费(账户)
  8147. type: number
  8148. opencharge2:
  8149. description: 建仓手续费(商品)
  8150. type: number
  8151. orderid:
  8152. description: 委托单号
  8153. type: string
  8154. orderlogincode:
  8155. description: 委托人
  8156. type: string
  8157. tradeamount:
  8158. description: 成交金额(账户)
  8159. type: number
  8160. tradedate:
  8161. description: 交易日(yyyyMMdd)
  8162. type: string
  8163. tradeid:
  8164. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8165. type: string
  8166. tradeprice:
  8167. description: 成交价格
  8168. type: number
  8169. tradeqty:
  8170. description: 成交数量
  8171. type: integer
  8172. tradetime:
  8173. description: 成交时间
  8174. type: string
  8175. tradetype:
  8176. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8177. type: integer
  8178. type: object
  8179. models.QuotePrimaryMenu:
  8180. properties:
  8181. Index:
  8182. description: 序号
  8183. type: integer
  8184. Key:
  8185. description: 键名
  8186. type: string
  8187. Name:
  8188. description: 菜单名称
  8189. type: string
  8190. SubMenus:
  8191. description: 子菜单
  8192. items:
  8193. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8194. type: array
  8195. SubTitleType:
  8196. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8197. type: integer
  8198. TradeModes:
  8199. description: 包含市场交易类型
  8200. type: string
  8201. type: object
  8202. models.QuoteSecondaryMenu:
  8203. properties:
  8204. ExExchangeCode:
  8205. description: 外部交易所代码
  8206. type: string
  8207. ExExchangeID:
  8208. description: 外部交易所ID
  8209. type: integer
  8210. GoodsGroupIDs:
  8211. description: 商品组ID列表
  8212. items:
  8213. type: integer
  8214. type: array
  8215. Index:
  8216. description: 序号
  8217. type: integer
  8218. MarketID:
  8219. description: 市场ID
  8220. type: integer
  8221. MenuTitle:
  8222. description: 菜单标题(市场名称或外部交易所名称)
  8223. type: string
  8224. TradeMode:
  8225. description: 交易模式
  8226. type: integer
  8227. type: object
  8228. models.RelatedGoodsEx:
  8229. properties:
  8230. goodscode:
  8231. description: 商品代码
  8232. type: string
  8233. goodsid:
  8234. description: 商品id
  8235. type: integer
  8236. goodsname:
  8237. description: 商品名称
  8238. type: string
  8239. type: object
  8240. models.SearchGoods:
  8241. properties:
  8242. goodscode:
  8243. description: 商品代码(内部)
  8244. type: string
  8245. goodsid:
  8246. description: 商品ID(自增ID SEQ_GOODS)
  8247. type: integer
  8248. goodsname:
  8249. description: 商品名称
  8250. type: string
  8251. marketid:
  8252. description: 所属市场ID
  8253. type: integer
  8254. marketname:
  8255. description: 市场名称
  8256. type: string
  8257. trademode:
  8258. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8259. 21:竞拍-大宗式 22:受托竞价
  8260. type: integer
  8261. required:
  8262. - goodscode
  8263. - goodsid
  8264. - goodsname
  8265. - marketid
  8266. - trademode
  8267. type: object
  8268. models.Systemparam:
  8269. properties:
  8270. loginid:
  8271. description: 更新用户账号,登录账号
  8272. type: string
  8273. modifyflag:
  8274. description: 修改标志0 不允许修改 1 允许修改
  8275. type: integer
  8276. paramcode:
  8277. description: 参数代码
  8278. type: string
  8279. paramname:
  8280. description: 参数名
  8281. type: string
  8282. paramtype:
  8283. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8284. type: integer
  8285. paramvalue:
  8286. description: 参数值
  8287. type: string
  8288. paramvalue2:
  8289. description: 参数值(CLOB)
  8290. type: string
  8291. regexpress:
  8292. description: 正则表达式
  8293. type: string
  8294. remark:
  8295. description: 备注
  8296. type: string
  8297. serverip:
  8298. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8299. type: string
  8300. showflag:
  8301. description: 是否显示0 不显示 1 显示
  8302. type: integer
  8303. updatetime:
  8304. description: 更新时间
  8305. type: string
  8306. userid:
  8307. description: 更新用户ID
  8308. type: integer
  8309. required:
  8310. - paramcode
  8311. type: object
  8312. models.Szdz3convertconfig:
  8313. properties:
  8314. canin:
  8315. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8316. type: integer
  8317. canout:
  8318. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8319. type: integer
  8320. converttype:
  8321. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8322. 6:交易转花生米(不设置)
  8323. type: integer
  8324. createtime:
  8325. description: 创建时间
  8326. type: string
  8327. creatorid:
  8328. description: 创建人
  8329. type: integer
  8330. daymaxvalue:
  8331. description: 当日最大转入限制
  8332. type: number
  8333. freezedays:
  8334. description: 冻结天数 [5:花生米转交易]
  8335. type: integer
  8336. innergoodsid:
  8337. description: 内部商品ID[交易]
  8338. type: integer
  8339. inratio:
  8340. description: 目标值
  8341. type: integer
  8342. modifierid:
  8343. description: 修改人
  8344. type: integer
  8345. modifytime:
  8346. description: 修改时间
  8347. type: string
  8348. outergoodscode:
  8349. description: 外部商品代码[JD\PD]
  8350. type: string
  8351. outratio:
  8352. description: 源值
  8353. type: integer
  8354. pddecimalplace:
  8355. description: PD小数位
  8356. type: integer
  8357. timemaxvalue:
  8358. description: 单次最大转入限制
  8359. type: number
  8360. timeminvalue:
  8361. description: 单次最小转入限制
  8362. type: number
  8363. required:
  8364. - converttype
  8365. - innergoodsid
  8366. - outergoodscode
  8367. type: object
  8368. models.Szdz3searchwhitelist:
  8369. properties:
  8370. createtime:
  8371. description: 创建时间
  8372. type: string
  8373. creatorid:
  8374. description: 创建人
  8375. type: integer
  8376. modifierid:
  8377. description: 修改人
  8378. type: integer
  8379. modifytime:
  8380. description: 修改时间
  8381. type: string
  8382. userid:
  8383. description: 用户ID
  8384. type: integer
  8385. required:
  8386. - userid
  8387. type: object
  8388. models.Taaccount:
  8389. properties:
  8390. accountflag:
  8391. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8392. type: integer
  8393. accountid:
  8394. description: 资金账户ID
  8395. type: integer
  8396. accountname:
  8397. description: 账户名称
  8398. type: string
  8399. balance:
  8400. description: 期初余额
  8401. type: number
  8402. capitalbalance:
  8403. description: 本金余额[外部子账户实际出入金余额]
  8404. type: number
  8405. changeflag:
  8406. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8407. type: integer
  8408. changetime:
  8409. description: 账户状态变更时间
  8410. type: string
  8411. closepl:
  8412. description: 今日平仓盈亏
  8413. type: number
  8414. creditdecrease:
  8415. description: 今日授信减少
  8416. type: number
  8417. creditincrease:
  8418. description: 今日授信增加
  8419. type: number
  8420. currencyid:
  8421. description: 货币ID
  8422. type: integer
  8423. currentbalance:
  8424. description: 期末余额
  8425. type: number
  8426. freezecharge:
  8427. description: 手续费冻结
  8428. type: number
  8429. freezemargin:
  8430. description: 冻结保证金
  8431. type: number
  8432. fromaccountid:
  8433. description: 所属上级账户
  8434. type: integer
  8435. inamount:
  8436. description: 今日入金金额(包括三方入金)
  8437. type: number
  8438. ismain:
  8439. description: 是否母账号 0:不是母账户 1:是母账户
  8440. type: integer
  8441. ismarketaccount:
  8442. description: 是否机构接单账号 0:不是 1:是
  8443. type: integer
  8444. isreckonaccount:
  8445. description: 是否机构分润账号 0:不是 1:是
  8446. type: integer
  8447. mortgagecredit:
  8448. description: 授信金额
  8449. type: number
  8450. orifreezecharge:
  8451. description: 期初手续费冻结
  8452. type: number
  8453. orifreezemargin:
  8454. description: 期初冻结保证金
  8455. type: number
  8456. orimortgagecredit:
  8457. description: 期初授信金额
  8458. type: number
  8459. oriothercredit:
  8460. description: 期初其它授信金额
  8461. type: number
  8462. oriotherfreezemargin:
  8463. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8464. type: number
  8465. orioutamountfreeze:
  8466. description: 期初出金冻结
  8467. type: number
  8468. oriusedmargin:
  8469. description: 期初占用保证金
  8470. type: number
  8471. othercredit:
  8472. description: 其它授信金额
  8473. type: number
  8474. othercreditdecrease:
  8475. description: 今日其它授信减少
  8476. type: number
  8477. othercreditincrease:
  8478. description: 今日其它授信增加
  8479. type: number
  8480. otherfreezemargin:
  8481. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8482. type: number
  8483. otherincome:
  8484. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8485. type: number
  8486. otherpay:
  8487. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8488. type: number
  8489. outamount:
  8490. description: 今日出金金额(包括三方出金)
  8491. type: number
  8492. outamountfreeze:
  8493. description: 出金冻结
  8494. type: number
  8495. outthreshold:
  8496. description: 出金阈值
  8497. type: number
  8498. parentaccountid:
  8499. description: 所属根账号
  8500. type: integer
  8501. paycharge:
  8502. description: 今日手续费支出
  8503. type: number
  8504. relatedaccountstatus:
  8505. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8506. type: integer
  8507. relateduserid:
  8508. description: 关联用户
  8509. type: integer
  8510. serivcegroup:
  8511. description: 服务分组
  8512. type: integer
  8513. signstatus:
  8514. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8515. type: integer
  8516. sublevelpath:
  8517. description: 账号层级路径(逗号分隔,首尾加逗号)
  8518. type: string
  8519. taaccounttype:
  8520. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8521. type: integer
  8522. thirdinamount:
  8523. description: 今日三方入金
  8524. type: number
  8525. thirdoutamount:
  8526. description: 今日三方出金
  8527. type: number
  8528. tradestatus:
  8529. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8530. type: integer
  8531. tradestatuschangetime:
  8532. description: 激活时间
  8533. type: string
  8534. transferamount:
  8535. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8536. type: number
  8537. usedmargin:
  8538. description: 占用保证金
  8539. type: number
  8540. userid:
  8541. description: 用户ID
  8542. type: integer
  8543. required:
  8544. - accountid
  8545. - userid
  8546. type: object
  8547. models.Tablecolumnconfig:
  8548. properties:
  8549. aligntype:
  8550. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8551. type: integer
  8552. autoid:
  8553. description: AutoID
  8554. type: integer
  8555. columnfield:
  8556. description: 列字段
  8557. type: string
  8558. columntitle:
  8559. description: 列Title
  8560. type: string
  8561. columnwidth:
  8562. description: 列宽
  8563. type: string
  8564. formatterstring:
  8565. description: 格式化字符
  8566. type: string
  8567. formattertype:
  8568. description: 格式化类型
  8569. type: string
  8570. groupname:
  8571. description: 表头分组名称
  8572. type: string
  8573. isshow:
  8574. description: 是否显示 - 0:不显示 1:显示
  8575. type: integer
  8576. needsummary:
  8577. description: 是否需要汇总 - 0:不需要 1:需要
  8578. type: integer
  8579. orderindex:
  8580. description: 顺序
  8581. type: integer
  8582. remark:
  8583. description: 备注
  8584. type: string
  8585. summarytype:
  8586. description: 汇总类型 - 1:加总 2:最后一个
  8587. type: integer
  8588. tablekey:
  8589. description: 列表Key
  8590. type: string
  8591. required:
  8592. - autoid
  8593. type: object
  8594. models.Useraccount:
  8595. properties:
  8596. accountname:
  8597. description: 账户名称(机构名称)
  8598. type: string
  8599. accountstatus:
  8600. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8601. type: integer
  8602. auditremark:
  8603. description: 审核备注
  8604. type: string
  8605. audittime:
  8606. description: 审核时间
  8607. type: string
  8608. audituserid:
  8609. description: 审核人
  8610. type: integer
  8611. broker:
  8612. description: 所属经纪人ID
  8613. type: integer
  8614. canceltime:
  8615. description: 销户时间
  8616. type: string
  8617. canceluserid:
  8618. description: 销户人
  8619. type: integer
  8620. createtime:
  8621. description: 创建时间
  8622. type: string
  8623. creatorid:
  8624. description: 创建人
  8625. type: integer
  8626. hasauth:
  8627. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8628. type: integer
  8629. isanonymous:
  8630. description: 是否匿名下单 - 0:否 1:是
  8631. type: integer
  8632. maxinvestornum:
  8633. description: 最大用户数(经纪会员下投资者个数)
  8634. type: integer
  8635. memberuserid:
  8636. description: 所属会员ID
  8637. type: integer
  8638. modifierid:
  8639. description: 修改人
  8640. type: integer
  8641. modifyremark:
  8642. description: 变更备注
  8643. type: string
  8644. modifystatus:
  8645. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8646. type: integer
  8647. modifytime:
  8648. description: 修改时间
  8649. type: string
  8650. parentuserid:
  8651. description: 所属机构ID
  8652. type: integer
  8653. reckonaccountid:
  8654. description: 默认结算资金账号ID(机构分润使用) 作废
  8655. type: integer
  8656. refercount:
  8657. description: 推荐总人数
  8658. type: integer
  8659. refereeuserid:
  8660. description: 推荐人ID
  8661. type: integer
  8662. refernum:
  8663. description: 推荐码
  8664. type: string
  8665. subarealevelpath:
  8666. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8667. type: string
  8668. userid:
  8669. description: 用户ID
  8670. type: integer
  8671. usertype:
  8672. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8673. type: integer
  8674. required:
  8675. - userid
  8676. type: object
  8677. models.Userfavoritegoods:
  8678. properties:
  8679. goodsid:
  8680. description: 商品ID
  8681. type: integer
  8682. required:
  8683. - goodsid
  8684. type: object
  8685. models.Userinfo:
  8686. properties:
  8687. address:
  8688. description: 地址
  8689. type: string
  8690. attachment1:
  8691. description: 附件1
  8692. type: string
  8693. attachment2:
  8694. description: 附件2
  8695. type: string
  8696. bankaccount:
  8697. description: 银行帐号 (加密存储)
  8698. type: string
  8699. bankaccountname:
  8700. description: 收款人名称
  8701. type: string
  8702. bankcardfrontphotourl:
  8703. description: 银行卡正面照地址
  8704. type: string
  8705. bankid:
  8706. description: 银行编码
  8707. type: string
  8708. bankname:
  8709. description: 银行名称
  8710. type: string
  8711. biznature:
  8712. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8713. type: integer
  8714. bizscope:
  8715. description: 企业经营范围(企业)
  8716. type: string
  8717. cardbackphotourl:
  8718. description: 证件背面图片地址
  8719. type: string
  8720. cardfrontphotourl:
  8721. description: 证件正面图片地址
  8722. type: string
  8723. cardnum:
  8724. description: 证件号码(加密存储)
  8725. type: string
  8726. cardtypeid:
  8727. description: 证件类型ID
  8728. type: integer
  8729. cityid:
  8730. description: 市
  8731. type: integer
  8732. company:
  8733. description: 公司(个人)
  8734. type: string
  8735. contactname:
  8736. description: 联系人
  8737. type: string
  8738. countryid:
  8739. description: 国家
  8740. type: integer
  8741. createtime:
  8742. description: 创建时间
  8743. type: string
  8744. creatorid:
  8745. description: 创建人
  8746. type: integer
  8747. customername:
  8748. description: 客户名称(企业名称)
  8749. type: string
  8750. districtid:
  8751. description: 地区
  8752. type: integer
  8753. email:
  8754. description: 邮件(加密存储)
  8755. type: string
  8756. fax:
  8757. description: 传真(加密存储)
  8758. type: string
  8759. halfbodyphotourl:
  8760. description: 半身照地址
  8761. type: string
  8762. hasencrypt:
  8763. description: 数据是否已加密 - 0:未加密 1:已加密
  8764. type: integer
  8765. headurl:
  8766. description: 头像地址
  8767. type: string
  8768. legalcardbackphotourl:
  8769. description: 法人身份证背面照地址
  8770. type: string
  8771. legalcardfrontphotourl:
  8772. description: 法人身份证正面照地址
  8773. type: string
  8774. legalpersonname:
  8775. description: 法人姓名(企业)
  8776. type: string
  8777. mobile:
  8778. description: 手机号码(加密存储)
  8779. type: string
  8780. mobile2:
  8781. description: 手机号码[明文-尚志]
  8782. type: string
  8783. modifierid:
  8784. description: 修改人
  8785. type: integer
  8786. modifiertime:
  8787. description: 修改时间
  8788. type: string
  8789. needinvoice:
  8790. description: 是否需要发票 - 0:不需要 1:需要
  8791. type: integer
  8792. nickname:
  8793. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8794. type: string
  8795. openmode:
  8796. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8797. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8798. type: integer
  8799. otherurl:
  8800. description: 其它图片地址[使用分号分隔]
  8801. type: string
  8802. postalcode:
  8803. description: 邮政编码
  8804. type: string
  8805. provinceid:
  8806. description: 省
  8807. type: integer
  8808. qq:
  8809. description: QQ(加密存储
  8810. type: string
  8811. remark:
  8812. description: 备注
  8813. type: string
  8814. sex:
  8815. description: '用户性别 0: 女 1: 男'
  8816. type: integer
  8817. signpdfurl:
  8818. description: 签约pdf文件
  8819. type: string
  8820. telphone:
  8821. description: 联系电话(加密存储)
  8822. type: string
  8823. userid:
  8824. description: 用户ID
  8825. type: integer
  8826. userinfotype:
  8827. description: 用户信息类型 - 1:个人 2:企业
  8828. type: integer
  8829. userstatus:
  8830. description: 用户状态 - 1:正常 2:注销
  8831. type: integer
  8832. usertype:
  8833. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8834. type: integer
  8835. wechat:
  8836. description: 微信(加密存储)
  8837. type: string
  8838. wskhinfo:
  8839. description: 开户申请信息(JSON)
  8840. type: string
  8841. required:
  8842. - userid
  8843. type: object
  8844. models.WRSConverTDetail:
  8845. properties:
  8846. convertratio:
  8847. description: 套保系数
  8848. type: number
  8849. deliverygoodsid:
  8850. description: 现货品种ID
  8851. type: integer
  8852. enumdicname:
  8853. description: 单位名称
  8854. type: string
  8855. goodsunitid:
  8856. description: 套保品种单位id
  8857. type: integer
  8858. middlegoodscode:
  8859. description: 套保品种代码
  8860. type: string
  8861. middlegoodsid:
  8862. description: 套保品种ID
  8863. type: integer
  8864. middlegoodsname:
  8865. description: 套保品种名称
  8866. type: string
  8867. modifytime:
  8868. description: 修改时间
  8869. type: string
  8870. wrstandardid:
  8871. description: 现货商品ID
  8872. type: integer
  8873. type: object
  8874. models.WRStandardInfo:
  8875. properties:
  8876. areauserid:
  8877. description: 所属机构
  8878. type: integer
  8879. convertfactor:
  8880. description: 标仓系数
  8881. type: number
  8882. createtime:
  8883. description: 创建时间
  8884. type: string
  8885. creatorid:
  8886. description: 创建人
  8887. type: integer
  8888. deliverygoodsid:
  8889. description: 品种ID
  8890. type: integer
  8891. deliverygoodsname:
  8892. description: 交割商品名称
  8893. type: string
  8894. factoryitemjson:
  8895. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  8896. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  8897. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  8898. 逗号分隔'
  8899. type: string
  8900. isvalid:
  8901. description: 是否有效 - 0:无效 1:有效
  8902. type: integer
  8903. minivalue:
  8904. description: 最小变动值
  8905. type: integer
  8906. minivaluedp:
  8907. description: 最小变动值小数位
  8908. type: integer
  8909. realminivalue:
  8910. description: 实际最小变动值
  8911. type: integer
  8912. realminivaluedp:
  8913. description: 实际最小变动值小数位
  8914. type: integer
  8915. remark:
  8916. description: 备注
  8917. type: string
  8918. unitid:
  8919. description: 单位ID
  8920. type: integer
  8921. unitname:
  8922. description: 单位
  8923. type: string
  8924. updatetime:
  8925. description: 更新时间
  8926. type: string
  8927. updatorid:
  8928. description: 更新人
  8929. type: integer
  8930. wrsstatus:
  8931. description: 状态 - 作废 - 0:未激活 1:正常
  8932. type: integer
  8933. wrstandardcode:
  8934. description: 现货品类代码
  8935. type: string
  8936. wrstandardid:
  8937. description: 现货品类ID(SEQ_WRSTANDARD)
  8938. type: integer
  8939. wrstandardname:
  8940. description: 现货品类名称
  8941. type: string
  8942. required:
  8943. - wrstandardid
  8944. type: object
  8945. models.Warehouseinfo:
  8946. properties:
  8947. address:
  8948. description: 详细地址
  8949. type: string
  8950. areauserid:
  8951. description: 所属机构
  8952. type: integer
  8953. autoid:
  8954. description: 自增ID
  8955. type: integer
  8956. cityid:
  8957. description: 市
  8958. type: integer
  8959. contactname:
  8960. description: 联系人
  8961. type: string
  8962. contactnum:
  8963. description: 联系电话
  8964. type: string
  8965. countryid:
  8966. description: 国家
  8967. type: integer
  8968. createtime:
  8969. description: 创建时间
  8970. type: string
  8971. districtid:
  8972. description: 区
  8973. type: integer
  8974. hasvideo:
  8975. description: 是否有视频 - 0:无 1:有
  8976. type: integer
  8977. provinceid:
  8978. description: 省
  8979. type: integer
  8980. remark:
  8981. description: 审核备注
  8982. type: string
  8983. videourl:
  8984. description: 视频地址
  8985. type: string
  8986. warehousecode:
  8987. description: 仓库代码
  8988. type: string
  8989. warehousename:
  8990. description: 仓库名称
  8991. type: string
  8992. warehousestatus:
  8993. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  8994. type: integer
  8995. warehousetype:
  8996. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  8997. type: integer
  8998. required:
  8999. - autoid
  9000. - warehousecode
  9001. type: object
  9002. order.QueryHisTradeDetailRsp:
  9003. properties:
  9004. accountid:
  9005. description: 账户ID[报价币种]
  9006. type: integer
  9007. buildtype:
  9008. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9009. type: integer
  9010. buyorsell:
  9011. description: 方向 - 0:买 1:卖
  9012. type: integer
  9013. charge:
  9014. description: 手续费
  9015. type: number
  9016. closecharge:
  9017. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9018. type: number
  9019. closeexchagechargevalue:
  9020. description: 平仓交易所手续费设置值
  9021. type: number
  9022. closefeealgorithm:
  9023. description: 平仓手续费收取方式 1:比率 2:固定
  9024. type: integer
  9025. closememberchargevalue:
  9026. description: 平仓会员手续费设置值
  9027. type: number
  9028. closepl:
  9029. description: 平仓盈亏
  9030. type: number
  9031. closepl2:
  9032. description: 平仓盈亏[逐笔]
  9033. type: number
  9034. closeqty:
  9035. description: 平仓数量(先建后平操作 需要记录)
  9036. type: integer
  9037. creditamount:
  9038. description: 授信金额
  9039. type: number
  9040. gcaccountid:
  9041. description: 账户ID[合约币种]
  9042. type: integer
  9043. goodscode:
  9044. description: 商品代码
  9045. type: string
  9046. goodsid:
  9047. description: 商品ID
  9048. type: integer
  9049. goodsname:
  9050. description: 商品名称
  9051. type: string
  9052. histradedate:
  9053. description: 历史交易日
  9054. type: string
  9055. intclosepl:
  9056. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9057. type: integer
  9058. isconfirmexercise:
  9059. description: 是否确认行权- 0:否 1:是
  9060. type: integer
  9061. ismain:
  9062. description: 是否主单 - 0:不是 1:是
  9063. type: integer
  9064. ispreexercise:
  9065. description: 是否预申报- 0:否 1:是
  9066. type: integer
  9067. isreckoned:
  9068. description: 是否结算 - 0:未结算 1:已结算
  9069. type: integer
  9070. isvaliddata:
  9071. description: 是否有效 - 0:无效 1:有效
  9072. type: integer
  9073. listingselecttype:
  9074. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9075. type: integer
  9076. marketid:
  9077. description: 市场ID
  9078. type: integer
  9079. marketname:
  9080. description: 市场名称
  9081. type: string
  9082. matchaccountid:
  9083. description: 对手账号id
  9084. type: integer
  9085. memberuserid:
  9086. description: 会员id 个人投资者 需要填写
  9087. type: integer
  9088. opencharge:
  9089. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9090. type: number
  9091. openexchagechargevalue:
  9092. description: 建仓交易所手续费设置值
  9093. type: number
  9094. openfeealgorithm:
  9095. description: 建仓手续费收取方式 1:比率 2:固定
  9096. type: integer
  9097. openmemberchargevalue:
  9098. description: 建仓会员手续费设置值
  9099. type: number
  9100. openqty:
  9101. description: 开仓数量(先建后平操作 需要记录)
  9102. type: integer
  9103. optiontype:
  9104. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9105. type: integer
  9106. orderid:
  9107. description: 委托单号
  9108. type: string
  9109. performanceplanid:
  9110. description: 履约计划ID[期权]
  9111. type: integer
  9112. performancestatus:
  9113. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9114. type: integer
  9115. preexerciseprice:
  9116. description: 预申报价格
  9117. type: number
  9118. premium:
  9119. description: 权利金 - [持仓单的权利金]
  9120. type: number
  9121. relatedouttradeid:
  9122. description: 关联外部成交单ID
  9123. type: integer
  9124. status:
  9125. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9126. type: integer
  9127. tradeamount:
  9128. description: 成交金额[账户币种,用于所有权]
  9129. type: number
  9130. tradedate:
  9131. description: 交易日(yyyyMMdd)
  9132. type: string
  9133. tradeid:
  9134. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9135. type: string
  9136. trademode:
  9137. description: 交易模式
  9138. type: integer
  9139. tradeprice:
  9140. description: 成交价格
  9141. type: number
  9142. tradeproperty:
  9143. description: 交易属性
  9144. type: integer
  9145. tradeqty:
  9146. description: 成交数量
  9147. type: integer
  9148. tradetime:
  9149. description: 成交时间
  9150. type: string
  9151. tradetype:
  9152. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9153. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9154. type: integer
  9155. required:
  9156. - accountid
  9157. - buyorsell
  9158. - goodsid
  9159. - histradedate
  9160. - marketid
  9161. - memberuserid
  9162. - orderid
  9163. - tradeamount
  9164. - tradedate
  9165. - tradeid
  9166. - tradeprice
  9167. - tradeqty
  9168. - tradetime
  9169. type: object
  9170. order.QueryHisTradeOrderDetailRsp:
  9171. properties:
  9172. accountid:
  9173. description: 账户ID[报价币种]
  9174. type: integer
  9175. buildtype:
  9176. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9177. type: integer
  9178. buyorsell:
  9179. description: 买卖 - 0:买 1:卖
  9180. type: integer
  9181. cancelorderid:
  9182. description: 撤单单号(撤单时填写)
  9183. type: string
  9184. cancelqty:
  9185. description: 撤单数量
  9186. type: integer
  9187. clientordertime:
  9188. description: 客户端委托时间
  9189. type: string
  9190. clientticket:
  9191. description: 客户端流水号
  9192. type: string
  9193. clienttype:
  9194. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9195. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9196. type: integer
  9197. closeexchagechargevalue:
  9198. description: 平仓交易所手续费设置值
  9199. type: number
  9200. closefeealgorithm:
  9201. description: 平仓手续费收取方式 1:比率 2:固定
  9202. type: integer
  9203. closefreezecharge:
  9204. description: 平仓冻结手续费(先建后平操作,需要记录)
  9205. type: number
  9206. closememberchargevalue:
  9207. description: 平仓会员手续费设置值
  9208. type: number
  9209. closeqty:
  9210. description: 平仓数量(先建后平操作 需要记录)
  9211. type: integer
  9212. closetradeqty:
  9213. description: 平仓成交数量(先建后平操作,需要记录)
  9214. type: integer
  9215. closeunfreezecharge:
  9216. description: 平仓解冻手续费(先建后平操作,需要记录)
  9217. type: number
  9218. delistingtype:
  9219. description: 摘牌类型 - 1:价格最优 2:点选成交
  9220. type: integer
  9221. freezecharge:
  9222. description: 冻结手续费
  9223. type: number
  9224. freezemargin:
  9225. description: 冻结保证金(冻结交易金额)
  9226. type: number
  9227. gcaccountid:
  9228. description: 账户ID[合约币种]
  9229. type: integer
  9230. goodscode:
  9231. description: 商品代码
  9232. type: string
  9233. goodsid:
  9234. description: 商品ID
  9235. type: integer
  9236. goodsname:
  9237. description: 商品名称
  9238. type: string
  9239. histradedate:
  9240. description: 历史交易日
  9241. type: string
  9242. isconfirmexercise:
  9243. description: 是否确认行权- 0:否 1:是
  9244. type: integer
  9245. ispreexercise:
  9246. description: 是否预申报- 0:否 1:是
  9247. type: integer
  9248. isvaliddata:
  9249. description: 是否有效 - 0:无效 1:有效
  9250. type: integer
  9251. listingselecttype:
  9252. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9253. type: integer
  9254. marginalgorithm:
  9255. description: 保证金收取方式 1:比率 2:固定
  9256. type: integer
  9257. marginvalue:
  9258. description: 即市保证金设置值
  9259. type: number
  9260. marketid:
  9261. description: 市场ID
  9262. type: integer
  9263. marketmaxsub:
  9264. description: 市价最大偏移范围
  9265. type: number
  9266. marketname:
  9267. description: 市场名称
  9268. type: string
  9269. memberuserid:
  9270. description: 所属会员UserID
  9271. type: integer
  9272. openexchagechargevalue:
  9273. description: 建仓交易所手续费设置值
  9274. type: number
  9275. openfeealgorithm:
  9276. description: 建仓手续费收取方式 1:比率 2:固定
  9277. type: integer
  9278. openfreezecharge:
  9279. description: 开仓冻结手续费(先建后平操作,需要记录)
  9280. type: number
  9281. openmemberchargevalue:
  9282. description: 建仓会员手续费设置值
  9283. type: number
  9284. openqty:
  9285. description: 开仓数量(先建后平操作,需要记录)
  9286. type: integer
  9287. opentradeqty:
  9288. description: 开仓成交数量(先建后平操作,需要记录)
  9289. type: integer
  9290. openunfreezecharge:
  9291. description: 开仓解冻手续费(先建后平操作,需要记录)
  9292. type: number
  9293. operatetype:
  9294. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9295. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9296. 15:管理端协议转让
  9297. type: integer
  9298. operatorid:
  9299. description: 登录账号(LoginID)
  9300. type: integer
  9301. optiontype:
  9302. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9303. type: integer
  9304. orderid:
  9305. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9306. type: string
  9307. orderprice:
  9308. description: 委托价格
  9309. type: number
  9310. orderqty:
  9311. description: 委托数量
  9312. type: integer
  9313. ordersrc:
  9314. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9315. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9316. type: integer
  9317. orderstatus:
  9318. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9319. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9320. 16:成交失败违约(荷兰式竞拍专用)
  9321. type: integer
  9322. ordertime:
  9323. description: 委托时间
  9324. type: string
  9325. preexerciseprice:
  9326. description: 预申报价格
  9327. type: number
  9328. premium:
  9329. description: 权利金
  9330. type: number
  9331. preorderid:
  9332. description: 关联预埋单号(止盈止损单时填写)
  9333. type: string
  9334. pricemode:
  9335. description: '取价方式 - 1:市价 2: 限价'
  9336. type: integer
  9337. quoteid:
  9338. description: 报价单ID
  9339. type: integer
  9340. relatedid:
  9341. description: 关联单号(交割单)
  9342. type: string
  9343. retcode:
  9344. description: 错误代码
  9345. type: integer
  9346. sessionid:
  9347. description: 会话ID
  9348. type: integer
  9349. tradedate:
  9350. description: 交易日(yyyyMMdd)
  9351. type: string
  9352. trademode:
  9353. description: 交易模式
  9354. type: integer
  9355. tradeproperty:
  9356. description: 交易属性
  9357. type: integer
  9358. tradeqty:
  9359. description: 成交数量
  9360. type: integer
  9361. unfreezecharge:
  9362. description: 解冻手续费
  9363. type: number
  9364. unfreezemargin:
  9365. description: 解冻保证金
  9366. type: number
  9367. updatetime:
  9368. description: 更新时间
  9369. type: string
  9370. uuid:
  9371. description: 发起端唯一id
  9372. type: string
  9373. validtime:
  9374. description: 有效期限
  9375. type: string
  9376. validtype:
  9377. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9378. type: integer
  9379. volumetype:
  9380. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9381. type: integer
  9382. required:
  9383. - accountid
  9384. - buildtype
  9385. - buyorsell
  9386. - goodsid
  9387. - histradedate
  9388. - marketid
  9389. - memberuserid
  9390. - operatetype
  9391. - orderid
  9392. - orderqty
  9393. - ordertime
  9394. - pricemode
  9395. - tradedate
  9396. - validtype
  9397. type: object
  9398. order.QueryTradeDetailRsp:
  9399. properties:
  9400. accountid:
  9401. description: 账户ID[报价币种]
  9402. type: integer
  9403. buildtype:
  9404. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9405. type: integer
  9406. buyorsell:
  9407. description: 方向 - 0:买 1:卖
  9408. type: integer
  9409. charge:
  9410. description: 手续费
  9411. type: number
  9412. closecharge:
  9413. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9414. type: number
  9415. closeexchagechargevalue:
  9416. description: 平仓交易所手续费设置值
  9417. type: number
  9418. closefeealgorithm:
  9419. description: 平仓手续费收取方式 1:比率 2:固定
  9420. type: integer
  9421. closememberchargevalue:
  9422. description: 平仓会员手续费设置值
  9423. type: number
  9424. closepl:
  9425. description: 平仓盈亏
  9426. type: number
  9427. closepl2:
  9428. description: 平仓盈亏[逐笔]
  9429. type: number
  9430. closeqty:
  9431. description: 平仓数量(先建后平操作 需要记录)
  9432. type: integer
  9433. creditamount:
  9434. description: 授信金额
  9435. type: number
  9436. gcaccountid:
  9437. description: 账户ID[合约币种]
  9438. type: integer
  9439. goodscode:
  9440. description: 商品代码
  9441. type: string
  9442. goodsid:
  9443. description: 商品ID
  9444. type: integer
  9445. goodsname:
  9446. description: 商品名称
  9447. type: string
  9448. intclosepl:
  9449. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9450. type: integer
  9451. isconfirmexercise:
  9452. description: 是否确认行权- 0:否 1:是
  9453. type: integer
  9454. ismain:
  9455. description: 是否主单 - 0:不是 1:是
  9456. type: integer
  9457. ispreexercise:
  9458. description: 是否预申报- 0:否 1:是
  9459. type: integer
  9460. isreckoned:
  9461. description: 是否结算 - 0:未结算 1:已结算
  9462. type: integer
  9463. listingselecttype:
  9464. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9465. type: integer
  9466. marketid:
  9467. description: 市场ID
  9468. type: integer
  9469. marketname:
  9470. description: 市场名称
  9471. type: string
  9472. matchaccountid:
  9473. description: 对手账号id
  9474. type: integer
  9475. memberuserid:
  9476. description: 会员id 个人投资者 需要填写
  9477. type: integer
  9478. opencharge:
  9479. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9480. type: number
  9481. openexchagechargevalue:
  9482. description: 建仓交易所手续费设置值
  9483. type: number
  9484. openfeealgorithm:
  9485. description: 建仓手续费收取方式 1:比率 2:固定
  9486. type: integer
  9487. openmemberchargevalue:
  9488. description: 建仓会员手续费设置值
  9489. type: number
  9490. openqty:
  9491. description: 开仓数量(先建后平操作 需要记录)
  9492. type: integer
  9493. optiontype:
  9494. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9495. type: integer
  9496. orderid:
  9497. description: 委托单号
  9498. type: string
  9499. performanceplanid:
  9500. description: 履约计划ID[期权]
  9501. type: integer
  9502. performancestatus:
  9503. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9504. type: integer
  9505. preexerciseprice:
  9506. description: 预申报价格
  9507. type: number
  9508. premium:
  9509. description: 权利金 - [持仓单的权利金]
  9510. type: number
  9511. relatedouttradeid:
  9512. description: 关联外部成交单ID
  9513. type: integer
  9514. status:
  9515. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9516. type: integer
  9517. tradeamount:
  9518. description: 成交金额[账户币种,用于所有权]
  9519. type: number
  9520. tradedate:
  9521. description: 交易日(yyyyMMdd)
  9522. type: string
  9523. tradeid:
  9524. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9525. type: string
  9526. trademode:
  9527. description: 交易模式
  9528. type: integer
  9529. tradeprice:
  9530. description: 成交价格
  9531. type: number
  9532. tradeproperty:
  9533. description: 交易属性
  9534. type: integer
  9535. tradeqty:
  9536. description: 成交数量
  9537. type: integer
  9538. tradetime:
  9539. description: 成交时间
  9540. type: string
  9541. tradetype:
  9542. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9543. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9544. type: integer
  9545. required:
  9546. - accountid
  9547. - buyorsell
  9548. - goodsid
  9549. - marketid
  9550. - memberuserid
  9551. - orderid
  9552. - tradeamount
  9553. - tradedate
  9554. - tradeid
  9555. - tradeprice
  9556. - tradeqty
  9557. - tradetime
  9558. type: object
  9559. order.QueryTradeOrderDetailRsp:
  9560. properties:
  9561. accountid:
  9562. description: 账户ID[报价币种]
  9563. type: integer
  9564. buildtype:
  9565. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9566. type: integer
  9567. buyorsell:
  9568. description: 买卖 - 0:买 1:卖
  9569. type: integer
  9570. cancelorderid:
  9571. description: 撤单单号(撤单时填写)
  9572. type: string
  9573. cancelqty:
  9574. description: 撤单数量
  9575. type: integer
  9576. clienttype:
  9577. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9578. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9579. type: integer
  9580. closefreezecharge:
  9581. description: 平仓冻结手续费(先建后平操作,需要记录)
  9582. type: number
  9583. closeqty:
  9584. description: 平仓数量(先建后平操作 需要记录)
  9585. type: integer
  9586. closetradeqty:
  9587. description: 平仓成交数量(先建后平操作,需要记录)
  9588. type: integer
  9589. closeunfreezecharge:
  9590. description: 平仓解冻手续费(先建后平操作,需要记录)
  9591. type: number
  9592. delistingtype:
  9593. description: 摘牌类型 - 1:价格最优 2:点选成交
  9594. type: integer
  9595. enableqty:
  9596. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9597. type: integer
  9598. freezecharge:
  9599. description: 冻结手续费
  9600. type: number
  9601. freezemargin:
  9602. description: 冻结保证金(冻结交易金额)
  9603. type: number
  9604. goodscode:
  9605. description: 商品代码
  9606. type: string
  9607. goodsid:
  9608. description: 商品ID
  9609. type: integer
  9610. goodsname:
  9611. description: 商品名称
  9612. type: string
  9613. listingselecttype:
  9614. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9615. type: integer
  9616. marketid:
  9617. description: 市场ID
  9618. type: integer
  9619. marketname:
  9620. description: 市场名称
  9621. type: string
  9622. openfreezecharge:
  9623. description: 开仓冻结手续费(先建后平操作,需要记录)
  9624. type: number
  9625. openqty:
  9626. description: 开仓数量(先建后平操作,需要记录)
  9627. type: integer
  9628. opentradeqty:
  9629. description: 开仓成交数量(先建后平操作,需要记录)
  9630. type: integer
  9631. openunfreezecharge:
  9632. description: 开仓解冻手续费(先建后平操作,需要记录)
  9633. type: number
  9634. operatetype:
  9635. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9636. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9637. 15:管理端协议转让
  9638. type: integer
  9639. operatorid:
  9640. description: 登录账号(LoginID)
  9641. type: integer
  9642. orderid:
  9643. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9644. type: string
  9645. orderprice:
  9646. description: 委托价格
  9647. type: number
  9648. orderqty:
  9649. description: 委托数量
  9650. type: integer
  9651. ordersrc:
  9652. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9653. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9654. type: integer
  9655. orderstatus:
  9656. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9657. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9658. 16:成交失败违约(荷兰式竞拍专用)
  9659. type: integer
  9660. ordertime:
  9661. description: 委托时间
  9662. type: string
  9663. preorderid:
  9664. description: 关联预埋单号(止盈止损单时填写)
  9665. type: string
  9666. pricemode:
  9667. description: '取价方式 - 1:市价 2: 限价'
  9668. type: integer
  9669. relatedid:
  9670. description: 关联单号(交割单)
  9671. type: string
  9672. tradedate:
  9673. description: 交易日(yyyyMMdd)
  9674. type: string
  9675. trademode:
  9676. description: 交易模式
  9677. type: integer
  9678. tradeqty:
  9679. description: 成交数量
  9680. type: integer
  9681. unfreezecharge:
  9682. description: 解冻手续费
  9683. type: number
  9684. unfreezemargin:
  9685. description: 解冻保证金
  9686. type: number
  9687. validtime:
  9688. description: 有效期限
  9689. type: string
  9690. validtype:
  9691. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9692. type: integer
  9693. volumetype:
  9694. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9695. type: integer
  9696. required:
  9697. - accountid
  9698. - buildtype
  9699. - buyorsell
  9700. - goodsid
  9701. - marketid
  9702. - operatetype
  9703. - orderqty
  9704. - ordertime
  9705. - pricemode
  9706. - tradedate
  9707. - validtype
  9708. type: object
  9709. order.QueryTradePositionRsp:
  9710. properties:
  9711. accountid:
  9712. description: 资金账户
  9713. type: integer
  9714. agreeunit:
  9715. description: 合约单位
  9716. type: number
  9717. averageprice:
  9718. description: 持仓均价
  9719. type: number
  9720. buyorsell:
  9721. description: 方向 - 0:买 1:卖
  9722. type: integer
  9723. closetotalqty:
  9724. description: 平仓总数量
  9725. type: integer
  9726. curholderamount:
  9727. description: 当前持仓总金额[商品币种]
  9728. type: number
  9729. curpositionqty:
  9730. description: 当前持仓总数量
  9731. type: integer
  9732. currencyid:
  9733. description: 报价货币ID
  9734. type: integer
  9735. curtdposition:
  9736. description: 期末今日头寸
  9737. type: integer
  9738. decimalplace:
  9739. description: 报价小数位
  9740. type: integer
  9741. enableqty:
  9742. description: 可用量
  9743. type: integer
  9744. fretdposition:
  9745. description: 冻结今日头寸
  9746. type: integer
  9747. frozenqty:
  9748. description: 持仓冻结数量
  9749. type: integer
  9750. goodscode:
  9751. description: 商品代码
  9752. type: string
  9753. goodsid:
  9754. description: 商品Id
  9755. type: integer
  9756. goodsname:
  9757. description: 商品名称
  9758. type: string
  9759. goodunit:
  9760. description: 报价单位
  9761. type: string
  9762. goodunitid:
  9763. description: 报价单位ID
  9764. type: integer
  9765. holderamount:
  9766. description: 期初持仓总金额[商品币种]
  9767. type: number
  9768. marketid:
  9769. description: 所属市场ID
  9770. type: integer
  9771. openreqqty:
  9772. description: 开仓申请数量(用于比较最大持仓数量)
  9773. type: integer
  9774. opentotalqty:
  9775. description: 开仓总数量
  9776. type: integer
  9777. otherfrozenqty:
  9778. description: 持仓其他冻结数量(交割冻结)
  9779. type: integer
  9780. positionqty:
  9781. description: 期初持仓数量
  9782. type: integer
  9783. tnqty:
  9784. description: T+N冻结总量
  9785. type: integer
  9786. tnusedqty:
  9787. description: T+N使用量(可以使用T+N的冻结数量)
  9788. type: integer
  9789. trademode:
  9790. description: 交易模式
  9791. type: integer
  9792. usedmargin:
  9793. description: 占用保证金[商品币种]
  9794. type: number
  9795. required:
  9796. - goodsid
  9797. type: object
  9798. quote.HistoryData:
  9799. properties:
  9800. c:
  9801. description: 收盘价
  9802. type: number
  9803. f:
  9804. description: 是否补充数据
  9805. type: boolean
  9806. h:
  9807. description: 最高价
  9808. type: number
  9809. hv:
  9810. description: 持仓量
  9811. type: integer
  9812. l:
  9813. description: 最低价
  9814. type: number
  9815. o:
  9816. description: 开盘价
  9817. type: number
  9818. s:
  9819. description: 结算价,日线周期(包括)以上才有
  9820. type: number
  9821. ts:
  9822. description: 时间
  9823. type: string
  9824. tt:
  9825. description: 总金额
  9826. type: number
  9827. tv:
  9828. description: 总量
  9829. type: integer
  9830. type: object
  9831. quote.HistoryTikData:
  9832. properties:
  9833. AV:
  9834. description: 卖量
  9835. type: integer
  9836. Ask:
  9837. description: 卖价
  9838. type: number
  9839. BV:
  9840. description: 买量
  9841. type: integer
  9842. Bid:
  9843. description: 买价
  9844. type: number
  9845. HI:
  9846. description: 单笔持仓
  9847. type: integer
  9848. HV:
  9849. description: 持仓量
  9850. type: integer
  9851. PE:
  9852. description: 现价
  9853. type: number
  9854. TDR:
  9855. description: 交易方向,0:买 1:卖
  9856. type: integer
  9857. TK:
  9858. description: 交易类型
  9859. type: integer
  9860. TS:
  9861. description: 行情时间文本
  9862. type: string
  9863. TT:
  9864. description: 现金额
  9865. type: number
  9866. Vol:
  9867. description: 现量
  9868. type: integer
  9869. type: object
  9870. quote.QueryQuoteDayRsp:
  9871. properties:
  9872. ask:
  9873. description: 卖1
  9874. type: number
  9875. ask2:
  9876. description: 卖2
  9877. type: number
  9878. ask3:
  9879. description: 卖3
  9880. type: number
  9881. ask4:
  9882. description: 卖4
  9883. type: number
  9884. ask5:
  9885. description: 卖5
  9886. type: number
  9887. ask6:
  9888. description: 卖6
  9889. type: number
  9890. ask7:
  9891. description: 卖7
  9892. type: number
  9893. ask8:
  9894. description: 卖8
  9895. type: number
  9896. ask9:
  9897. description: 卖9
  9898. type: number
  9899. ask10:
  9900. description: 卖10
  9901. type: number
  9902. askorderid:
  9903. description: 卖单号1
  9904. type: integer
  9905. askorderid2:
  9906. description: 卖单号2
  9907. type: integer
  9908. askorderid3:
  9909. description: 卖单号3
  9910. type: integer
  9911. askorderid4:
  9912. description: 卖单号4
  9913. type: integer
  9914. askorderid5:
  9915. description: 卖单号5
  9916. type: integer
  9917. askordervolume:
  9918. description: 卖单量1
  9919. type: integer
  9920. askordervolume2:
  9921. description: 卖单量2
  9922. type: integer
  9923. askordervolume3:
  9924. description: 卖单量3
  9925. type: integer
  9926. askordervolume4:
  9927. description: 卖单量4
  9928. type: integer
  9929. askordervolume5:
  9930. description: 卖单量5
  9931. type: integer
  9932. askordervolume6:
  9933. description: 卖单量6
  9934. type: integer
  9935. askordervolume7:
  9936. description: 卖单量7
  9937. type: integer
  9938. askordervolume8:
  9939. description: 卖单量8
  9940. type: integer
  9941. askordervolume9:
  9942. description: 卖单量9
  9943. type: integer
  9944. askordervolume10:
  9945. description: 卖单量10
  9946. type: integer
  9947. askqueueinfo:
  9948. description: 大利市卖港股用
  9949. type: string
  9950. askvolume:
  9951. description: 卖量1
  9952. type: integer
  9953. askvolume2:
  9954. description: 卖量2
  9955. type: integer
  9956. askvolume3:
  9957. description: 卖量3
  9958. type: integer
  9959. askvolume4:
  9960. description: 卖量4
  9961. type: integer
  9962. askvolume5:
  9963. description: 卖量5
  9964. type: integer
  9965. askvolume6:
  9966. description: 卖量6
  9967. type: integer
  9968. askvolume7:
  9969. description: 卖量7
  9970. type: integer
  9971. askvolume8:
  9972. description: 卖量8
  9973. type: integer
  9974. askvolume9:
  9975. description: 卖量9
  9976. type: integer
  9977. askvolume10:
  9978. description: 卖量10
  9979. type: integer
  9980. averageprice:
  9981. description: 均价
  9982. type: number
  9983. bid:
  9984. description: 买1
  9985. type: number
  9986. bid2:
  9987. description: 买2
  9988. type: number
  9989. bid3:
  9990. description: 买3
  9991. type: number
  9992. bid4:
  9993. description: 买4
  9994. type: number
  9995. bid5:
  9996. description: 买5
  9997. type: number
  9998. bid6:
  9999. description: 买6
  10000. type: number
  10001. bid7:
  10002. description: 买7
  10003. type: number
  10004. bid8:
  10005. description: 买8
  10006. type: number
  10007. bid9:
  10008. description: 买9
  10009. type: number
  10010. bid10:
  10011. description: 买10
  10012. type: number
  10013. bidorderid:
  10014. description: 买单号1
  10015. type: integer
  10016. bidorderid2:
  10017. description: 买单号2
  10018. type: integer
  10019. bidorderid3:
  10020. description: 买单号3
  10021. type: integer
  10022. bidorderid4:
  10023. description: 买单号4
  10024. type: integer
  10025. bidorderid5:
  10026. description: 买单号5
  10027. type: integer
  10028. bidordervolume:
  10029. description: 买单量1
  10030. type: integer
  10031. bidordervolume2:
  10032. description: 买单量2
  10033. type: integer
  10034. bidordervolume3:
  10035. description: 买单量3
  10036. type: integer
  10037. bidordervolume4:
  10038. description: 买单量4
  10039. type: integer
  10040. bidordervolume5:
  10041. description: 买单量5
  10042. type: integer
  10043. bidordervolume6:
  10044. description: 买单量6
  10045. type: integer
  10046. bidordervolume7:
  10047. description: 买单量7
  10048. type: integer
  10049. bidordervolume8:
  10050. description: 买单量8
  10051. type: integer
  10052. bidordervolume9:
  10053. description: 买单量9
  10054. type: integer
  10055. bidordervolume10:
  10056. description: 买单量10
  10057. type: integer
  10058. bidqueueinfo:
  10059. description: 大利市买港股用
  10060. type: string
  10061. bidvolume:
  10062. description: 买量1
  10063. type: integer
  10064. bidvolume2:
  10065. description: 买量2
  10066. type: integer
  10067. bidvolume3:
  10068. description: 买量3
  10069. type: integer
  10070. bidvolume4:
  10071. description: 买量4
  10072. type: integer
  10073. bidvolume5:
  10074. description: 买量5
  10075. type: integer
  10076. bidvolume6:
  10077. description: 买量6
  10078. type: integer
  10079. bidvolume7:
  10080. description: 买量7
  10081. type: integer
  10082. bidvolume8:
  10083. description: 买量8
  10084. type: integer
  10085. bidvolume9:
  10086. description: 买量9
  10087. type: integer
  10088. bidvolume10:
  10089. description: 买量10
  10090. type: integer
  10091. calloptionpremiums:
  10092. description: 认购期权1
  10093. type: integer
  10094. calloptionpremiums2:
  10095. description: 认购期权2
  10096. type: integer
  10097. calloptionpremiums3:
  10098. description: 认购期权3
  10099. type: integer
  10100. calloptionpremiums4:
  10101. description: 认购期权4
  10102. type: integer
  10103. calloptionpremiums5:
  10104. description: 认购期权5
  10105. type: integer
  10106. cleartime:
  10107. description: 清盘时间
  10108. type: integer
  10109. exchangecode:
  10110. description: 交易所代码
  10111. type: integer
  10112. exchangedate:
  10113. description: 交易日
  10114. type: integer
  10115. goodscode:
  10116. description: 商品代码
  10117. type: string
  10118. grepmarketprice:
  10119. description: 暗盘价 港股专用
  10120. type: number
  10121. highest:
  10122. description: 最高价
  10123. type: number
  10124. holdincrement:
  10125. description: 单笔持仓
  10126. type: integer
  10127. holdvolume:
  10128. description: 持仓
  10129. type: integer
  10130. iep:
  10131. description: 平衡价 港股专用
  10132. type: number
  10133. iev:
  10134. description: 平衡量 港股专用
  10135. type: number
  10136. inventory:
  10137. description: 库存
  10138. type: integer
  10139. iscleared:
  10140. description: 是否清盘标志
  10141. type: integer
  10142. issettled:
  10143. description: 是否结算标志
  10144. type: integer
  10145. last:
  10146. description: 最新价
  10147. type: number
  10148. lastlot:
  10149. description: 最新成交手数
  10150. type: integer
  10151. lasttime:
  10152. description: 行情时间(只有现价变化行情时间才变化)
  10153. type: string
  10154. lastturnover:
  10155. description: 最新成交金额
  10156. type: number
  10157. lastvolume:
  10158. description: 最新成交量
  10159. type: integer
  10160. limitdown:
  10161. description: 跌停价
  10162. type: number
  10163. limitup:
  10164. description: 涨停价
  10165. type: number
  10166. lowest:
  10167. description: 最低价
  10168. type: number
  10169. nontotalholdervolume:
  10170. description: 非交易持仓量
  10171. type: integer
  10172. nontotallot:
  10173. description: 非交易总手数
  10174. type: integer
  10175. nontotalturnover:
  10176. description: 非交易总金额
  10177. type: integer
  10178. nontotalvolume:
  10179. description: 非交易总量
  10180. type: integer
  10181. opened:
  10182. description: 开盘价
  10183. type: number
  10184. opentime:
  10185. description: 开盘时间
  10186. type: string
  10187. orderid:
  10188. description: 序号
  10189. type: integer
  10190. preclose:
  10191. description: 昨收
  10192. type: number
  10193. preholdvolume:
  10194. description: 昨持仓
  10195. type: integer
  10196. presettle:
  10197. description: 昨结价
  10198. type: number
  10199. publictradetype:
  10200. description: 公共交易标志类型 港股专用
  10201. type: string
  10202. putoptionpremiums:
  10203. description: 认沽期权1
  10204. type: integer
  10205. putoptionpremiums2:
  10206. description: 认沽期权2
  10207. type: integer
  10208. putoptionpremiums3:
  10209. description: 认沽期权3
  10210. type: integer
  10211. putoptionpremiums4:
  10212. description: 认沽期权4
  10213. type: integer
  10214. putoptionpremiums5:
  10215. description: 认沽期权5
  10216. type: integer
  10217. settle:
  10218. description: 结算价
  10219. type: number
  10220. strikeprice:
  10221. description: 发行价
  10222. type: number
  10223. totalaskvolume:
  10224. description: 内盘
  10225. type: integer
  10226. totalbidvolume:
  10227. description: 外盘
  10228. type: integer
  10229. totallot:
  10230. description: 总手数
  10231. type: integer
  10232. totalturnover:
  10233. description: 总金额
  10234. type: number
  10235. totalvolume:
  10236. description: 总量
  10237. type: integer
  10238. utclasttime:
  10239. description: utc的行情时间
  10240. type: string
  10241. type: object
  10242. quote.QueryTSDataRsp:
  10243. properties:
  10244. Count:
  10245. description: 交易日应有数据个数
  10246. type: integer
  10247. decimalPlace:
  10248. description: 小数位
  10249. type: integer
  10250. endTime:
  10251. description: 结束时间
  10252. type: string
  10253. goodsCode:
  10254. description: 商品代码
  10255. type: string
  10256. historyDatas:
  10257. description: 历史数据
  10258. items:
  10259. $ref: '#/definitions/quote.HistoryData'
  10260. type: array
  10261. outGoodsCode:
  10262. description: 外部商品代码
  10263. type: string
  10264. preSettle:
  10265. description: 昨结价
  10266. type: number
  10267. runSteps:
  10268. description: 交易日开休市计划
  10269. items:
  10270. $ref: '#/definitions/quote.TSDataRunStep'
  10271. type: array
  10272. startTime:
  10273. description: 开始时间
  10274. type: string
  10275. tradeDate:
  10276. description: 交易日
  10277. type: string
  10278. type: object
  10279. quote.TSDataRunStep:
  10280. properties:
  10281. end:
  10282. description: 真实结束时间
  10283. type: string
  10284. endflag:
  10285. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10286. type: integer
  10287. endtime:
  10288. description: 结束时间(HH:mm)
  10289. type: string
  10290. endweekday:
  10291. description: 结束周几
  10292. type: integer
  10293. groupid:
  10294. description: 分组ID
  10295. type: integer
  10296. runstep:
  10297. description: 运行阶段 - 2:连续交易
  10298. type: integer
  10299. sectionid:
  10300. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10301. 结束时间=结算时间 结束周几=结算周几
  10302. type: integer
  10303. start:
  10304. description: 真实开始时间
  10305. type: string
  10306. startflag:
  10307. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10308. type: integer
  10309. starttime:
  10310. description: 起始时间(HH:mm)
  10311. type: string
  10312. startweekday:
  10313. description: 起始周几
  10314. type: integer
  10315. tradeweekday:
  10316. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10317. type: integer
  10318. type: object
  10319. szdz.QueryConvertLogRsp:
  10320. properties:
  10321. accountid:
  10322. description: 资金账户ID
  10323. type: integer
  10324. clientticket:
  10325. description: 客户端流水号
  10326. type: string
  10327. converttype:
  10328. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10329. type: integer
  10330. createtime:
  10331. description: 记账时间
  10332. type: string
  10333. daymaxvalue:
  10334. description: 配置当日最大转入限制
  10335. type: number
  10336. daymaxvalue2:
  10337. description: 配置当日最大转入限制(转入)
  10338. type: number
  10339. goodscode:
  10340. description: 商品代码
  10341. type: string
  10342. goodsname:
  10343. description: 商品名称
  10344. type: string
  10345. handlestatus:
  10346. description: 处理状态
  10347. type: integer
  10348. innergoodsid:
  10349. description: 内部商品ID
  10350. type: integer
  10351. inratio:
  10352. description: 配置转入比值
  10353. type: integer
  10354. invalue:
  10355. description: 目标值
  10356. type: number
  10357. logid:
  10358. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10359. type: integer
  10360. mobile:
  10361. description: 手机号码(加密存储)
  10362. type: string
  10363. outergoodscode:
  10364. description: 外部商品代码[JD\PD]
  10365. type: string
  10366. outratio:
  10367. description: 配置转出比值
  10368. type: integer
  10369. outvalue:
  10370. description: 源值
  10371. type: number
  10372. pddecimalplace:
  10373. description: PD小数位
  10374. type: integer
  10375. qty:
  10376. description: 数量
  10377. type: string
  10378. remark:
  10379. description: 备注
  10380. type: string
  10381. sessionid:
  10382. description: 会话ID
  10383. type: integer
  10384. timemaxvalue:
  10385. description: 配置单次最大转入限制
  10386. type: number
  10387. timemaxvalue2:
  10388. description: 配置单次最大转入限制(转入)
  10389. type: number
  10390. timeminvalue:
  10391. description: 配置单次最小数量限制
  10392. type: number
  10393. timeminvalue2:
  10394. description: 配置单次最小数量限制(转入)
  10395. type: number
  10396. tradedate:
  10397. description: 交易日(yyyyMMdd)
  10398. type: string
  10399. userid:
  10400. description: 用户ID
  10401. type: integer
  10402. required:
  10403. - logid
  10404. type: object
  10405. szdz.QueryGoodsPickupRsp:
  10406. properties:
  10407. accountid:
  10408. description: 账户ID
  10409. type: integer
  10410. address:
  10411. description: 提货人详细地址
  10412. type: string
  10413. auditer:
  10414. description: 审核人
  10415. type: integer
  10416. audittime:
  10417. description: 审核时间
  10418. type: string
  10419. cardnum:
  10420. description: 提货人证件号码
  10421. type: string
  10422. cardtypeid:
  10423. description: 提货人证件类型
  10424. type: integer
  10425. checkremark:
  10426. description: 审核备注
  10427. type: string
  10428. goodscode:
  10429. description: 商品代码
  10430. type: string
  10431. goodsid:
  10432. description: 商品ID
  10433. type: integer
  10434. goodsname:
  10435. description: 商品名称
  10436. type: string
  10437. handlestatus:
  10438. description: 处理状态
  10439. type: integer
  10440. marketid:
  10441. description: 市场ID
  10442. type: integer
  10443. phonenum:
  10444. description: 提货人联系方式
  10445. type: string
  10446. qty:
  10447. description: 提货数量
  10448. type: number
  10449. recivername:
  10450. description: 提货人姓名
  10451. type: string
  10452. reqtime:
  10453. description: 更新时间
  10454. type: string
  10455. takemode:
  10456. description: 提货方式 - 2:自提 3:配送
  10457. type: integer
  10458. takeorderid:
  10459. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10460. type: string
  10461. takeorderstatus:
  10462. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10463. type: integer
  10464. takeremark:
  10465. description: 提货备注
  10466. type: string
  10467. tradedate:
  10468. description: 交易日(yyyyMMdd)
  10469. type: string
  10470. userid:
  10471. description: 用户ID
  10472. type: integer
  10473. required:
  10474. - takeorderid
  10475. type: object
  10476. szdz.QueryRecieptOrderRsp:
  10477. properties:
  10478. accountName:
  10479. description: 所属账号名称(已脱敏)
  10480. type: string
  10481. accountid:
  10482. description: 资金账号
  10483. type: integer
  10484. buyorsell:
  10485. description: 方向 - 0:买 1:卖
  10486. type: integer
  10487. enableqty:
  10488. description: 可摘数量
  10489. type: integer
  10490. goodscode:
  10491. description: 商品代码
  10492. type: string
  10493. goodsid:
  10494. description: 商品ID
  10495. type: integer
  10496. goodsname:
  10497. description: 商品名称
  10498. type: string
  10499. orderid:
  10500. description: 委托单号
  10501. type: string
  10502. orderprice:
  10503. description: 委托价格
  10504. type: number
  10505. ordertime:
  10506. description: 委托时间
  10507. type: string
  10508. tradedate:
  10509. description: 交易日(yyyyMMdd)
  10510. type: string
  10511. required:
  10512. - ordertime
  10513. type: object
  10514. szdz.QuerySZDZTradePositionRsp:
  10515. properties:
  10516. accountid:
  10517. description: 账号Id
  10518. type: integer
  10519. agreeunit:
  10520. description: 合约单位
  10521. type: number
  10522. averageprice:
  10523. description: 持仓均价
  10524. type: number
  10525. buyorsell:
  10526. description: 方向 - 0:买 1:卖
  10527. type: integer
  10528. closetotalqty:
  10529. description: 平仓总数量
  10530. type: integer
  10531. curholderamount:
  10532. description: 当前持仓总金额
  10533. type: number
  10534. curpositionqty:
  10535. description: 当前持仓总数量
  10536. type: integer
  10537. currencyid:
  10538. description: 报价货币ID
  10539. type: integer
  10540. curtdposition:
  10541. description: 期末今日头寸
  10542. type: integer
  10543. decimalplace:
  10544. description: 报价小数位
  10545. type: integer
  10546. enableqty:
  10547. description: 可用量
  10548. type: integer
  10549. fretdposition:
  10550. description: 冻结今日头寸
  10551. type: integer
  10552. frozenqty:
  10553. description: 持仓冻结数量
  10554. type: integer
  10555. goodscode:
  10556. description: 商品代码(内部)
  10557. type: string
  10558. goodsid:
  10559. description: 商品Id
  10560. type: integer
  10561. goodsname:
  10562. description: 商品名称
  10563. type: string
  10564. goodunit:
  10565. description: 报价单位
  10566. type: string
  10567. goodunitid:
  10568. description: 报价单位ID
  10569. type: integer
  10570. holderamount:
  10571. description: 期初持仓总金额
  10572. type: number
  10573. marketid:
  10574. description: 市场ID
  10575. type: integer
  10576. openreqqty:
  10577. description: 开仓申请数量
  10578. type: integer
  10579. opentotalqty:
  10580. description: 开仓总数量
  10581. type: integer
  10582. otherfrozenqty:
  10583. description: 持仓其他冻结数量(交割冻结)
  10584. type: integer
  10585. positionqty:
  10586. description: 期初持仓数量
  10587. type: integer
  10588. szdz3freezqty:
  10589. description: 尚志大宗转换冻结总数量
  10590. type: integer
  10591. tnqty:
  10592. description: T+N冻结总量
  10593. type: integer
  10594. tnusedqty:
  10595. description: T+N使用量
  10596. type: integer
  10597. trademode:
  10598. description: 交易模式
  10599. type: integer
  10600. usedmargin:
  10601. description: 占用保证金
  10602. type: number
  10603. type: object
  10604. taaccount.QueryAmountLogRsp:
  10605. properties:
  10606. OPERATETYPENAME:
  10607. description: 资金操作类型名称
  10608. type: string
  10609. accountid:
  10610. description: 资金账户ID
  10611. type: integer
  10612. agoodscode:
  10613. description: 竞拍商品代码
  10614. type: string
  10615. agoodsname:
  10616. description: 竞拍商品名称
  10617. type: string
  10618. amount:
  10619. description: 资金金额
  10620. type: number
  10621. amountadjusttype:
  10622. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10623. type: integer
  10624. autoid:
  10625. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10626. type: integer
  10627. balance:
  10628. description: 期初余额
  10629. type: number
  10630. businesscode:
  10631. description: 业务编号
  10632. type: integer
  10633. createtime:
  10634. description: 发生时间
  10635. type: string
  10636. currencyid:
  10637. description: 币种ID
  10638. type: integer
  10639. currentbalance:
  10640. description: 期末余额(变动后金额)
  10641. type: number
  10642. dgoodscode:
  10643. description: 交割商品代码
  10644. type: string
  10645. dgoodsname:
  10646. description: 交割商品名称
  10647. type: string
  10648. goodscode:
  10649. description: 商品代码
  10650. type: string
  10651. goodsid:
  10652. description: 商品ID
  10653. type: integer
  10654. goodsname:
  10655. description: 商品名称
  10656. type: string
  10657. marketid:
  10658. description: 市场ID
  10659. type: integer
  10660. marketname:
  10661. description: 市场名称
  10662. type: string
  10663. moneyticket:
  10664. description: 资金流水号:银行端流水号
  10665. type: integer
  10666. operatetype:
  10667. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10668. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10669. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10670. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10671. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10672. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10673. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10674. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10675. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10676. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10677. type: integer
  10678. relationorderid:
  10679. description: 关联单号
  10680. type: string
  10681. remark:
  10682. description: 备注
  10683. type: string
  10684. trademode:
  10685. description: 交易模式
  10686. type: integer
  10687. required:
  10688. - accountid
  10689. - amount
  10690. - amountadjusttype
  10691. - autoid
  10692. - balance
  10693. - createtime
  10694. - currentbalance
  10695. - operatetype
  10696. type: object
  10697. taaccount.QueryHisAmountLogRsp:
  10698. properties:
  10699. OPERATETYPENAME:
  10700. description: 资金操作类型名称
  10701. type: string
  10702. accountid:
  10703. description: 资金账户ID
  10704. type: integer
  10705. agoodscode:
  10706. description: 竞拍商品代码
  10707. type: string
  10708. agoodsname:
  10709. description: 竞拍商品名称
  10710. type: string
  10711. amount:
  10712. description: 资金金额
  10713. type: number
  10714. amountadjusttype:
  10715. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10716. type: integer
  10717. autoid:
  10718. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10719. type: integer
  10720. balance:
  10721. description: 期初余额
  10722. type: number
  10723. businesscode:
  10724. description: 业务编号
  10725. type: integer
  10726. createtime:
  10727. description: 发生时间
  10728. type: string
  10729. currencyid:
  10730. description: 币种ID
  10731. type: integer
  10732. currentbalance:
  10733. description: 期末余额(变动后金额)
  10734. type: number
  10735. dgoodscode:
  10736. description: 交割商品代码
  10737. type: string
  10738. dgoodsname:
  10739. description: 交割商品名称
  10740. type: string
  10741. goodscode:
  10742. description: 商品代码
  10743. type: string
  10744. goodsid:
  10745. description: 商品ID
  10746. type: integer
  10747. goodsname:
  10748. description: 商品名称
  10749. type: string
  10750. histradedate:
  10751. description: 历史交易日
  10752. type: string
  10753. isvaliddata:
  10754. description: 是否有效 - 0:无效 1:有效
  10755. type: integer
  10756. marketid:
  10757. description: 市场ID
  10758. type: integer
  10759. marketname:
  10760. description: 市场名称
  10761. type: string
  10762. moneyticket:
  10763. description: 资金流水号:银行端流水号
  10764. type: integer
  10765. operatetype:
  10766. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10767. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10768. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10769. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10770. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10771. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10772. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10773. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10774. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10775. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10776. type: integer
  10777. relationorderid:
  10778. description: 关联单号
  10779. type: string
  10780. remark:
  10781. description: 备注
  10782. type: string
  10783. trademode:
  10784. description: 交易模式
  10785. type: integer
  10786. required:
  10787. - accountid
  10788. - amount
  10789. - amountadjusttype
  10790. - autoid
  10791. - balance
  10792. - createtime
  10793. - currentbalance
  10794. - histradedate
  10795. - operatetype
  10796. type: object
  10797. trade.QueryRecieptOrderRsp:
  10798. properties:
  10799. accountName:
  10800. description: 所属账号名称(已脱敏)
  10801. type: string
  10802. accountid:
  10803. description: 资金账号
  10804. type: integer
  10805. buyorsell:
  10806. description: 方向 - 0:买 1:卖
  10807. type: integer
  10808. enableqty:
  10809. description: 可摘数量
  10810. type: integer
  10811. goodscode:
  10812. description: 商品代码
  10813. type: string
  10814. goodsid:
  10815. description: 商品ID
  10816. type: integer
  10817. goodsname:
  10818. description: 商品名称
  10819. type: string
  10820. orderid:
  10821. description: 委托单号
  10822. type: string
  10823. orderprice:
  10824. description: 委托价格
  10825. type: number
  10826. ordertime:
  10827. description: 委托时间
  10828. type: string
  10829. tradedate:
  10830. description: 交易日(yyyyMMdd)
  10831. type: string
  10832. required:
  10833. - ordertime
  10834. type: object
  10835. user.LoginQueryRsp:
  10836. properties:
  10837. externalExchanges:
  10838. description: 外部交易所
  10839. items:
  10840. $ref: '#/definitions/models.Externalexchange'
  10841. type: array
  10842. goodsgroups:
  10843. description: 商品组
  10844. items:
  10845. $ref: '#/definitions/models.Goodsgroup'
  10846. type: array
  10847. loginAccount:
  10848. $ref: '#/definitions/models.Loginaccount'
  10849. description: 登录账号
  10850. markets:
  10851. description: 市场
  10852. items:
  10853. $ref: '#/definitions/models.Market'
  10854. type: array
  10855. systemParams:
  10856. description: 系统参数
  10857. items:
  10858. $ref: '#/definitions/models.Systemparam'
  10859. type: array
  10860. userAccount:
  10861. $ref: '#/definitions/models.Useraccount'
  10862. description: 用户账号
  10863. userInfo:
  10864. $ref: '#/definitions/models.Userinfo'
  10865. description: 用户信息
  10866. username:
  10867. description: 用户姓名
  10868. type: string
  10869. type: object
  10870. info:
  10871. contact: {}
  10872. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  10873. termsOfService: http://muchinfo.cn
  10874. title: MTP2.0 查询服务 API
  10875. version: "1.0"
  10876. paths:
  10877. /CPTrade/QueryCPTradeMyBidInfos:
  10878. get:
  10879. parameters:
  10880. - description: 资金账户
  10881. in: query
  10882. name: accountid
  10883. required: true
  10884. type: integer
  10885. - description: 预售市场ID
  10886. in: query
  10887. name: marketid
  10888. type: integer
  10889. - description: 预售商品ID
  10890. in: query
  10891. name: goodsid
  10892. type: integer
  10893. produces:
  10894. - application/json
  10895. responses:
  10896. "200":
  10897. description: OK
  10898. schema:
  10899. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  10900. "500":
  10901. description: Internal Server Error
  10902. schema:
  10903. $ref: '#/definitions/app.Response'
  10904. security:
  10905. - ApiKeyAuth: []
  10906. summary: 查询产能预售我的出价信息
  10907. tags:
  10908. - 产能预售
  10909. /CPTrade/QueryCPTradeOrderDetail:
  10910. get:
  10911. parameters:
  10912. - description: 预售商品ID
  10913. in: query
  10914. name: goodsid
  10915. type: integer
  10916. - description: 预售市场ID
  10917. in: query
  10918. name: marketid
  10919. type: integer
  10920. - description: 预售商品ID列表 - 格式:1,2,3
  10921. in: query
  10922. name: goodsids
  10923. type: string
  10924. produces:
  10925. - application/json
  10926. responses:
  10927. "200":
  10928. description: OK
  10929. schema:
  10930. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  10931. "500":
  10932. description: Internal Server Error
  10933. schema:
  10934. $ref: '#/definitions/app.Response'
  10935. security:
  10936. - ApiKeyAuth: []
  10937. summary: 查询产能预售委托单信息
  10938. tags:
  10939. - 产能预售
  10940. /CPTrade/QueryMyCPTradeGoods:
  10941. get:
  10942. parameters:
  10943. - description: 资金账户
  10944. in: query
  10945. name: accountid
  10946. required: true
  10947. type: integer
  10948. produces:
  10949. - application/json
  10950. responses:
  10951. "200":
  10952. description: OK
  10953. schema:
  10954. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  10955. "500":
  10956. description: Internal Server Error
  10957. schema:
  10958. $ref: '#/definitions/app.Response'
  10959. security:
  10960. - ApiKeyAuth: []
  10961. summary: 查询我的预售信息
  10962. tags:
  10963. - 产能预售
  10964. /CPTrade/QueryPositionCancel:
  10965. get:
  10966. parameters:
  10967. - description: 账户ID
  10968. in: query
  10969. name: userid
  10970. required: true
  10971. type: integer
  10972. - description: 注销ID
  10973. in: query
  10974. name: cancelid
  10975. type: integer
  10976. - description: 资金账户ID
  10977. in: query
  10978. name: accountid
  10979. type: integer
  10980. produces:
  10981. - application/json
  10982. responses:
  10983. "200":
  10984. description: OK
  10985. schema:
  10986. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  10987. "500":
  10988. description: Internal Server Error
  10989. schema:
  10990. $ref: '#/definitions/app.Response'
  10991. security:
  10992. - ApiKeyAuth: []
  10993. summary: 查询远期订单注销申请信息
  10994. tags:
  10995. - 产能预售
  10996. /CPTrade/QueryPreasleApply:
  10997. get:
  10998. parameters:
  10999. - description: 账户ID
  11000. in: query
  11001. name: userid
  11002. required: true
  11003. type: integer
  11004. - description: 申请ID
  11005. in: query
  11006. name: applyid
  11007. type: integer
  11008. - description: 资金账户ID
  11009. in: query
  11010. name: accountid
  11011. type: integer
  11012. produces:
  11013. - application/json
  11014. responses:
  11015. "200":
  11016. description: OK
  11017. schema:
  11018. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11019. "500":
  11020. description: Internal Server Error
  11021. schema:
  11022. $ref: '#/definitions/app.Response'
  11023. security:
  11024. - ApiKeyAuth: []
  11025. summary: 查询产能预售申请信息
  11026. tags:
  11027. - 产能预售
  11028. /CPTrade/QueryPresaleGoodsEx:
  11029. get:
  11030. parameters:
  11031. - description: 预售商品ID
  11032. in: query
  11033. name: goodsid
  11034. type: integer
  11035. - description: 预售市场ID
  11036. in: query
  11037. name: marketid
  11038. type: integer
  11039. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11040. in: query
  11041. name: presalemode
  11042. type: integer
  11043. - description: 预售商品ID列表 - 格式:1,2,3
  11044. in: query
  11045. name: goodsids
  11046. type: string
  11047. - description: 预售商品代码
  11048. in: query
  11049. name: goodscode
  11050. type: string
  11051. produces:
  11052. - application/json
  11053. responses:
  11054. "200":
  11055. description: OK
  11056. schema:
  11057. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11058. "500":
  11059. description: Internal Server Error
  11060. schema:
  11061. $ref: '#/definitions/app.Response'
  11062. security:
  11063. - ApiKeyAuth: []
  11064. summary: 查询产能预售商品扩展信息
  11065. tags:
  11066. - 产能预售
  11067. /CPTrade/QueryUserGoodsData:
  11068. get:
  11069. parameters:
  11070. - description: 资金账户ID
  11071. in: query
  11072. name: accountid
  11073. required: true
  11074. type: integer
  11075. produces:
  11076. - application/json
  11077. responses:
  11078. "200":
  11079. description: OK
  11080. schema:
  11081. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11082. "500":
  11083. description: Internal Server Error
  11084. schema:
  11085. $ref: '#/definitions/app.Response'
  11086. security:
  11087. - ApiKeyAuth: []
  11088. summary: 查询远期订单信息
  11089. tags:
  11090. - 产能预售
  11091. /Common/GetAllEnums:
  11092. get:
  11093. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11094. parameters:
  11095. - description: 起始自增ID
  11096. in: query
  11097. name: autoid
  11098. type: integer
  11099. produces:
  11100. - application/json
  11101. responses:
  11102. "200":
  11103. description: OK
  11104. schema:
  11105. $ref: '#/definitions/models.Enumdicitem'
  11106. "500":
  11107. description: Internal Server Error
  11108. schema:
  11109. $ref: '#/definitions/app.Response'
  11110. summary: 获取所有枚举信息
  11111. tags:
  11112. - 通用服务
  11113. /Common/GetClientMenus:
  11114. get:
  11115. parameters:
  11116. - description: 登录账号
  11117. in: query
  11118. name: loginID
  11119. required: true
  11120. type: integer
  11121. - description: 终端类型,0:PC 1:Mobile
  11122. in: query
  11123. name: clientType
  11124. type: integer
  11125. produces:
  11126. - application/json
  11127. responses:
  11128. "200":
  11129. description: OK
  11130. schema:
  11131. items:
  11132. $ref: '#/definitions/common.ClientMenu'
  11133. type: array
  11134. "500":
  11135. description: Internal Server Error
  11136. schema:
  11137. $ref: '#/definitions/app.Response'
  11138. security:
  11139. - ApiKeyAuth: []
  11140. summary: 获取交易端菜单
  11141. tags:
  11142. - 通用服务
  11143. /Common/GetDivisions:
  11144. get:
  11145. produces:
  11146. - application/json
  11147. responses:
  11148. "200":
  11149. description: OK
  11150. schema:
  11151. $ref: '#/definitions/models.Division'
  11152. "500":
  11153. description: Internal Server Error
  11154. schema:
  11155. $ref: '#/definitions/app.Response'
  11156. summary: 查询区域信息
  11157. tags:
  11158. - 通用服务
  11159. /Common/GetServerTime:
  11160. get:
  11161. produces:
  11162. - application/json
  11163. responses:
  11164. "200":
  11165. description: OK
  11166. schema:
  11167. $ref: '#/definitions/app.Response'
  11168. "500":
  11169. description: Internal Server Error
  11170. schema:
  11171. $ref: '#/definitions/app.Response'
  11172. summary: 获取服务器时间
  11173. tags:
  11174. - 通用服务
  11175. /Common/NoticeReaded:
  11176. post:
  11177. parameters:
  11178. - description: 登录账号
  11179. in: query
  11180. name: loginID
  11181. required: true
  11182. type: integer
  11183. - description: 通知公告ID
  11184. in: query
  11185. name: noticeID
  11186. required: true
  11187. type: integer
  11188. produces:
  11189. - application/json
  11190. responses:
  11191. "200":
  11192. description: OK
  11193. schema:
  11194. $ref: '#/definitions/app.Response'
  11195. "500":
  11196. description: Internal Server Error
  11197. schema:
  11198. $ref: '#/definitions/app.Response'
  11199. security:
  11200. - ApiKeyAuth: []
  11201. summary: 通知公告设置已读请求
  11202. tags:
  11203. - 通用服务
  11204. /Common/QueryErrorInfos:
  11205. get:
  11206. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11207. parameters:
  11208. - description: 起始行号前索引
  11209. in: query
  11210. name: rowNumber
  11211. type: string
  11212. produces:
  11213. - application/json
  11214. responses:
  11215. "200":
  11216. description: OK
  11217. schema:
  11218. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11219. "500":
  11220. description: Internal Server Error
  11221. schema:
  11222. $ref: '#/definitions/app.Response'
  11223. summary: 获取数据库错误信息
  11224. tags:
  11225. - 通用服务
  11226. /Common/QueryImageConfigs:
  11227. get:
  11228. parameters:
  11229. - description: 类型 - 1:App首页轮播 2:我的
  11230. in: query
  11231. name: imageType
  11232. type: integer
  11233. produces:
  11234. - application/json
  11235. responses:
  11236. "200":
  11237. description: OK
  11238. schema:
  11239. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11240. "500":
  11241. description: Internal Server Error
  11242. schema:
  11243. $ref: '#/definitions/app.Response'
  11244. summary: 查询轮播图配置信息
  11245. tags:
  11246. - 通用服务
  11247. /Common/QueryNotice:
  11248. get:
  11249. parameters:
  11250. - description: 页码
  11251. in: query
  11252. name: page
  11253. type: integer
  11254. - description: 每页条数
  11255. in: query
  11256. name: pagesize
  11257. type: integer
  11258. - description: 登录账号
  11259. in: query
  11260. name: loginID
  11261. required: true
  11262. type: integer
  11263. - description: 消息类型 - 1:公告通知 2:系统消息
  11264. in: query
  11265. name: msgType
  11266. type: integer
  11267. - description: 是否只获取未读信息
  11268. in: query
  11269. name: onlyUnRead
  11270. type: boolean
  11271. - description: 自增ID,传入后会返回这个ID后面的记录
  11272. in: query
  11273. name: lastID
  11274. type: integer
  11275. produces:
  11276. - application/json
  11277. responses:
  11278. "200":
  11279. description: OK
  11280. schema:
  11281. $ref: '#/definitions/common.QueryNoticeRsp'
  11282. "500":
  11283. description: Internal Server Error
  11284. schema:
  11285. $ref: '#/definitions/app.Response'
  11286. security:
  11287. - ApiKeyAuth: []
  11288. summary: 通知公告系统消息查询
  11289. tags:
  11290. - 通用服务
  11291. /Common/QueryProvincesAndCities:
  11292. get:
  11293. parameters:
  11294. - description: 省ID
  11295. in: query
  11296. name: provinceID
  11297. type: integer
  11298. produces:
  11299. - application/json
  11300. responses:
  11301. "200":
  11302. description: OK
  11303. schema:
  11304. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11305. "500":
  11306. description: Internal Server Error
  11307. schema:
  11308. $ref: '#/definitions/app.Response'
  11309. summary: 查询省市信息(不包括区)
  11310. tags:
  11311. - 通用服务
  11312. /Common/QueryTableDefine:
  11313. get:
  11314. parameters:
  11315. - description: 表key
  11316. in: query
  11317. name: tableKey
  11318. type: string
  11319. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11320. in: query
  11321. name: tableType
  11322. type: integer
  11323. produces:
  11324. - application/json
  11325. responses:
  11326. "200":
  11327. description: OK
  11328. schema:
  11329. $ref: '#/definitions/common.QueryTableDefineRsp'
  11330. "500":
  11331. description: Internal Server Error
  11332. schema:
  11333. $ref: '#/definitions/app.Response'
  11334. summary: 查询交易端列表头信息
  11335. tags:
  11336. - 通用服务
  11337. /Common/QueryTraderMenu:
  11338. get:
  11339. parameters:
  11340. - description: 登录账号
  11341. in: query
  11342. name: loginid
  11343. required: true
  11344. type: integer
  11345. produces:
  11346. - application/json
  11347. responses:
  11348. "200":
  11349. description: OK
  11350. schema:
  11351. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11352. "500":
  11353. description: Internal Server Error
  11354. schema:
  11355. $ref: '#/definitions/app.Response'
  11356. summary: 查询交易端菜单
  11357. tags:
  11358. - 通用服务
  11359. /Delivery/QueryDeliveryRelation:
  11360. get:
  11361. parameters:
  11362. - description: 商品ID
  11363. in: query
  11364. name: goodsid
  11365. type: integer
  11366. - description: 品种ID
  11367. in: query
  11368. name: deliverygoodsid
  11369. type: integer
  11370. - description: 市场ID
  11371. in: query
  11372. name: marketid
  11373. type: integer
  11374. produces:
  11375. - application/json
  11376. responses:
  11377. "200":
  11378. description: OK
  11379. schema:
  11380. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11381. "500":
  11382. description: Internal Server Error
  11383. schema:
  11384. $ref: '#/definitions/app.Response'
  11385. security:
  11386. - ApiKeyAuth: []
  11387. summary: 查询商品交割关系表
  11388. tags:
  11389. - 交割服务
  11390. /Ermcp/GetErmcpGoods:
  11391. get:
  11392. parameters:
  11393. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11394. in: query
  11395. name: lastUpdateTime
  11396. type: string
  11397. produces:
  11398. - application/json
  11399. responses:
  11400. "200":
  11401. description: OK
  11402. schema:
  11403. $ref: '#/definitions/models.Goods'
  11404. "500":
  11405. description: Internal Server Error
  11406. schema:
  11407. $ref: '#/definitions/app.Response'
  11408. security:
  11409. - ApiKeyAuth: []
  11410. summary: 查询企业风管期货商品信息
  11411. tags:
  11412. - 企业风险管理(app)
  11413. /Ermcp/GetErmcpGoodsSortByPosition:
  11414. get:
  11415. parameters:
  11416. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11417. in: query
  11418. name: sortIndex
  11419. type: string
  11420. produces:
  11421. - application/json
  11422. responses:
  11423. "200":
  11424. description: OK
  11425. schema:
  11426. $ref: '#/definitions/models.Goodssortbypreposition'
  11427. "500":
  11428. description: Internal Server Error
  11429. schema:
  11430. $ref: '#/definitions/app.Response'
  11431. security:
  11432. - ApiKeyAuth: []
  11433. summary: 查询企业风管期货主力、次主力商品信息
  11434. tags:
  11435. - 企业风险管理(app)
  11436. /Ermcp/GetErmcpRoleFuncMenuLists:
  11437. get:
  11438. parameters:
  11439. - description: 登录账号
  11440. in: query
  11441. name: loginID
  11442. required: true
  11443. type: integer
  11444. - description: 模式,0:普通(交易所版本);1:企业风管
  11445. in: query
  11446. name: mode
  11447. type: integer
  11448. produces:
  11449. - application/json
  11450. responses:
  11451. "200":
  11452. description: OK
  11453. schema:
  11454. $ref: '#/definitions/models.Funcmenulist'
  11455. "500":
  11456. description: Internal Server Error
  11457. schema:
  11458. $ref: '#/definitions/app.Response'
  11459. security:
  11460. - ApiKeyAuth: []
  11461. summary: 获取企业风管终端权限
  11462. tags:
  11463. - 企业风险管理(app)
  11464. /Ermcp/QryReportAreaSpotPL:
  11465. get:
  11466. parameters:
  11467. - description: 用户ID
  11468. in: query
  11469. name: userid
  11470. required: true
  11471. type: integer
  11472. - description: 查询类型 1-日报表 2-月报表
  11473. in: query
  11474. name: querytype
  11475. required: true
  11476. type: integer
  11477. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11478. in: query
  11479. name: querydate
  11480. required: true
  11481. type: string
  11482. - description: 现货商品ID
  11483. in: query
  11484. name: wrstandardid
  11485. type: integer
  11486. - description: 品牌ID
  11487. in: query
  11488. name: spotgoodsbrandid
  11489. type: integer
  11490. - description: 型号ID
  11491. in: query
  11492. name: spotgoodsmodelid
  11493. type: integer
  11494. produces:
  11495. - application/json
  11496. responses:
  11497. "200":
  11498. description: OK
  11499. schema:
  11500. items:
  11501. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  11502. type: array
  11503. "500":
  11504. description: Internal Server Error
  11505. schema:
  11506. $ref: '#/definitions/app.Response'
  11507. security:
  11508. - ApiKeyAuth: []
  11509. summary: 查询现货损益报表(现货损益报表)
  11510. tags:
  11511. - 企业风险管理(app)
  11512. /Ermcp/QryReportDayExposure:
  11513. get:
  11514. parameters:
  11515. - description: 用户ID
  11516. in: query
  11517. name: userid
  11518. required: true
  11519. type: integer
  11520. - description: 交易日(格式:yyyyMMdd)
  11521. in: query
  11522. name: tradedate
  11523. required: true
  11524. type: string
  11525. produces:
  11526. - application/json
  11527. responses:
  11528. "200":
  11529. description: OK
  11530. schema:
  11531. items:
  11532. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  11533. type: array
  11534. "500":
  11535. description: Internal Server Error
  11536. schema:
  11537. $ref: '#/definitions/app.Response'
  11538. security:
  11539. - ApiKeyAuth: []
  11540. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  11541. tags:
  11542. - 企业风险管理(app)
  11543. /Ermcp/QryReportDayFinance:
  11544. get:
  11545. parameters:
  11546. - description: 用户ID
  11547. in: query
  11548. name: userid
  11549. required: true
  11550. type: integer
  11551. - description: 交易日(格式:yyyyMMdd)
  11552. in: query
  11553. name: tradedate
  11554. required: true
  11555. type: string
  11556. produces:
  11557. - application/json
  11558. responses:
  11559. "200":
  11560. description: OK
  11561. schema:
  11562. items:
  11563. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  11564. type: array
  11565. "500":
  11566. description: Internal Server Error
  11567. schema:
  11568. $ref: '#/definitions/app.Response'
  11569. security:
  11570. - ApiKeyAuth: []
  11571. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  11572. tags:
  11573. - 企业风险管理(app)
  11574. /Ermcp/QryReportDayFinanceFp:
  11575. get:
  11576. parameters:
  11577. - description: 用户ID
  11578. in: query
  11579. name: userid
  11580. required: true
  11581. type: integer
  11582. - description: 交易日(格式:yyyyMMdd)
  11583. in: query
  11584. name: tradedate
  11585. required: true
  11586. type: string
  11587. produces:
  11588. - application/json
  11589. responses:
  11590. "200":
  11591. description: OK
  11592. schema:
  11593. items:
  11594. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11595. type: array
  11596. "500":
  11597. description: Internal Server Error
  11598. schema:
  11599. $ref: '#/definitions/app.Response'
  11600. security:
  11601. - ApiKeyAuth: []
  11602. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  11603. tags:
  11604. - 企业风险管理(app)
  11605. /Ermcp/QryReportDayFinanceKx:
  11606. get:
  11607. parameters:
  11608. - description: 用户ID
  11609. in: query
  11610. name: userid
  11611. required: true
  11612. type: integer
  11613. - description: 交易日(格式:yyyyMMdd)
  11614. in: query
  11615. name: tradedate
  11616. required: true
  11617. type: string
  11618. produces:
  11619. - application/json
  11620. responses:
  11621. "200":
  11622. description: OK
  11623. schema:
  11624. items:
  11625. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11626. type: array
  11627. "500":
  11628. description: Internal Server Error
  11629. schema:
  11630. $ref: '#/definitions/app.Response'
  11631. security:
  11632. - ApiKeyAuth: []
  11633. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  11634. tags:
  11635. - 企业风险管理(app)
  11636. /Ermcp/QryReportDaySpot:
  11637. get:
  11638. parameters:
  11639. - description: 用户ID
  11640. in: query
  11641. name: userid
  11642. required: true
  11643. type: integer
  11644. - description: 交易日(格式:yyyyMMdd)
  11645. in: query
  11646. name: tradedate
  11647. required: true
  11648. type: string
  11649. produces:
  11650. - application/json
  11651. responses:
  11652. "200":
  11653. description: OK
  11654. schema:
  11655. items:
  11656. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  11657. type: array
  11658. "500":
  11659. description: Internal Server Error
  11660. schema:
  11661. $ref: '#/definitions/app.Response'
  11662. security:
  11663. - ApiKeyAuth: []
  11664. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  11665. tags:
  11666. - 企业风险管理(app)
  11667. /Ermcp/QryReportDaySpotDetail:
  11668. get:
  11669. parameters:
  11670. - description: 用户ID
  11671. in: query
  11672. name: userid
  11673. required: true
  11674. type: integer
  11675. - description: 现货商品id
  11676. in: query
  11677. name: wrstandardid
  11678. required: true
  11679. type: integer
  11680. - description: 交易日(格式:yyyyMMdd)
  11681. in: query
  11682. name: tradedate
  11683. required: true
  11684. type: string
  11685. produces:
  11686. - application/json
  11687. responses:
  11688. "200":
  11689. description: OK
  11690. schema:
  11691. items:
  11692. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  11693. type: array
  11694. "500":
  11695. description: Internal Server Error
  11696. schema:
  11697. $ref: '#/definitions/app.Response'
  11698. security:
  11699. - ApiKeyAuth: []
  11700. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  11701. tags:
  11702. - 企业风险管理(app)
  11703. /Ermcp/QryReportMonthFinance:
  11704. get:
  11705. parameters:
  11706. - description: 用户ID
  11707. in: query
  11708. name: userid
  11709. required: true
  11710. type: integer
  11711. - description: 周期时间:月(格式:yyyyMM)
  11712. in: query
  11713. name: cycletime
  11714. required: true
  11715. type: string
  11716. produces:
  11717. - application/json
  11718. responses:
  11719. "200":
  11720. description: OK
  11721. schema:
  11722. items:
  11723. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  11724. type: array
  11725. "500":
  11726. description: Internal Server Error
  11727. schema:
  11728. $ref: '#/definitions/app.Response'
  11729. security:
  11730. - ApiKeyAuth: []
  11731. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  11732. tags:
  11733. - 企业风险管理(app)
  11734. /Ermcp/QryReportMonthSpot:
  11735. get:
  11736. parameters:
  11737. - description: 用户ID
  11738. in: query
  11739. name: userid
  11740. required: true
  11741. type: integer
  11742. - description: 周期时间:月(格式:yyyyMM)
  11743. in: query
  11744. name: cycletime
  11745. required: true
  11746. type: string
  11747. produces:
  11748. - application/json
  11749. responses:
  11750. "200":
  11751. description: OK
  11752. schema:
  11753. items:
  11754. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  11755. type: array
  11756. "500":
  11757. description: Internal Server Error
  11758. schema:
  11759. $ref: '#/definitions/app.Response'
  11760. security:
  11761. - ApiKeyAuth: []
  11762. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  11763. tags:
  11764. - 企业风险管理(app)
  11765. /Ermcp/QryReportMonthSpotDetail:
  11766. get:
  11767. parameters:
  11768. - description: 用户ID
  11769. in: query
  11770. name: userid
  11771. required: true
  11772. type: integer
  11773. - description: 现货商品id
  11774. in: query
  11775. name: wrstandardid
  11776. required: true
  11777. type: integer
  11778. - description: 周期时间:月(格式:yyyyMM)
  11779. in: query
  11780. name: cycletime
  11781. required: true
  11782. type: string
  11783. produces:
  11784. - application/json
  11785. responses:
  11786. "200":
  11787. description: OK
  11788. schema:
  11789. items:
  11790. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  11791. type: array
  11792. "500":
  11793. description: Internal Server Error
  11794. schema:
  11795. $ref: '#/definitions/app.Response'
  11796. security:
  11797. - ApiKeyAuth: []
  11798. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  11799. tags:
  11800. - 企业风险管理(app)
  11801. /Ermcp/QueryAccMgrBizGroupSet:
  11802. get:
  11803. parameters:
  11804. - description: 用户ID
  11805. in: query
  11806. name: userid
  11807. required: true
  11808. type: integer
  11809. produces:
  11810. - application/json
  11811. responses:
  11812. "200":
  11813. description: OK
  11814. schema:
  11815. items:
  11816. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11817. type: array
  11818. "500":
  11819. description: Internal Server Error
  11820. schema:
  11821. $ref: '#/definitions/app.Response'
  11822. security:
  11823. - ApiKeyAuth: []
  11824. summary: 查询业务类型分组(账户管理/账户设置)
  11825. tags:
  11826. - 企业风险管理(app)
  11827. /Ermcp/QueryAccMgrLoginUser:
  11828. get:
  11829. parameters:
  11830. - description: 用户ID
  11831. in: query
  11832. name: userid
  11833. required: true
  11834. type: integer
  11835. produces:
  11836. - application/json
  11837. responses:
  11838. "200":
  11839. description: OK
  11840. schema:
  11841. items:
  11842. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11843. type: array
  11844. "500":
  11845. description: Internal Server Error
  11846. schema:
  11847. $ref: '#/definitions/app.Response'
  11848. security:
  11849. - ApiKeyAuth: []
  11850. summary: 查询账户管理登录账号(账户管理/登录账号)
  11851. tags:
  11852. - 企业风险管理(app)
  11853. /Ermcp/QueryAccMgrMainAccountInfo:
  11854. get:
  11855. parameters:
  11856. - description: 用户ID
  11857. in: query
  11858. name: userid
  11859. type: integer
  11860. - description: 主账号id
  11861. in: query
  11862. name: accountid
  11863. type: integer
  11864. produces:
  11865. - application/json
  11866. responses:
  11867. "200":
  11868. description: OK
  11869. schema:
  11870. items:
  11871. $ref: '#/definitions/models.MainAccountInfo'
  11872. type: array
  11873. "500":
  11874. description: Internal Server Error
  11875. schema:
  11876. $ref: '#/definitions/app.Response'
  11877. security:
  11878. - ApiKeyAuth: []
  11879. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11880. tags:
  11881. - 企业风险管理(app)
  11882. /Ermcp/QueryAccMgrRole:
  11883. get:
  11884. parameters:
  11885. - description: 用户ID
  11886. in: query
  11887. name: userid
  11888. required: true
  11889. type: integer
  11890. produces:
  11891. - application/json
  11892. responses:
  11893. "200":
  11894. description: OK
  11895. schema:
  11896. items:
  11897. $ref: '#/definitions/models.ErmcpRole'
  11898. type: array
  11899. "500":
  11900. description: Internal Server Error
  11901. schema:
  11902. $ref: '#/definitions/app.Response'
  11903. security:
  11904. - ApiKeyAuth: []
  11905. summary: 查询账户管理角色设置(账户管理/角色设置)
  11906. tags:
  11907. - 企业风险管理(app)
  11908. /Ermcp/QueryAccMgrRoleMenu:
  11909. get:
  11910. parameters:
  11911. - description: 用户ID
  11912. in: query
  11913. name: userid
  11914. required: true
  11915. type: integer
  11916. - description: 角色id(可多个,逗号隔开)
  11917. in: query
  11918. name: roleid
  11919. type: string
  11920. produces:
  11921. - application/json
  11922. responses:
  11923. "200":
  11924. description: OK
  11925. schema:
  11926. items:
  11927. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11928. type: array
  11929. "500":
  11930. description: Internal Server Error
  11931. schema:
  11932. $ref: '#/definitions/app.Response'
  11933. security:
  11934. - ApiKeyAuth: []
  11935. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11936. tags:
  11937. - 企业风险管理(app)
  11938. /Ermcp/QueryAccMgrTaAccountInfo:
  11939. get:
  11940. parameters:
  11941. - description: 用户ID
  11942. in: query
  11943. name: userid
  11944. required: true
  11945. type: integer
  11946. - description: 账号id
  11947. in: query
  11948. name: accountid
  11949. type: integer
  11950. produces:
  11951. - application/json
  11952. responses:
  11953. "200":
  11954. description: OK
  11955. schema:
  11956. items:
  11957. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11958. type: array
  11959. "500":
  11960. description: Internal Server Error
  11961. schema:
  11962. $ref: '#/definitions/app.Response'
  11963. security:
  11964. - ApiKeyAuth: []
  11965. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11966. tags:
  11967. - 企业风险管理(app)
  11968. /Ermcp/QueryAccMgrTaaccount:
  11969. get:
  11970. parameters:
  11971. - description: 用户ID
  11972. in: query
  11973. name: userid
  11974. required: true
  11975. type: integer
  11976. produces:
  11977. - application/json
  11978. responses:
  11979. "200":
  11980. description: OK
  11981. schema:
  11982. items:
  11983. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11984. type: array
  11985. "500":
  11986. description: Internal Server Error
  11987. schema:
  11988. $ref: '#/definitions/app.Response'
  11989. security:
  11990. - ApiKeyAuth: []
  11991. summary: 查询账户管理期货账号(账户管理/期货账号)
  11992. tags:
  11993. - 企业风险管理(app)
  11994. /Ermcp/QueryAreaStock:
  11995. get:
  11996. parameters:
  11997. - description: 用户ID
  11998. in: query
  11999. name: userid
  12000. required: true
  12001. type: integer
  12002. produces:
  12003. - application/json
  12004. responses:
  12005. "200":
  12006. description: OK
  12007. schema:
  12008. items:
  12009. $ref: '#/definitions/models.ErmcpAreaStock'
  12010. type: array
  12011. "500":
  12012. description: Internal Server Error
  12013. schema:
  12014. $ref: '#/definitions/app.Response'
  12015. security:
  12016. - ApiKeyAuth: []
  12017. summary: 查询机构库存(库存管理/当前库存)
  12018. tags:
  12019. - 企业风险管理(app)
  12020. /Ermcp/QueryAreaStockApply:
  12021. get:
  12022. parameters:
  12023. - description: 用户ID
  12024. in: query
  12025. name: userid
  12026. required: true
  12027. type: integer
  12028. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  12029. in: query
  12030. name: inouttype
  12031. type: string
  12032. - description: 合同ID
  12033. in: query
  12034. name: spotcontractid
  12035. type: integer
  12036. - description: 现货商品ID
  12037. in: query
  12038. name: wrstandardid
  12039. type: integer
  12040. - description: 品牌ID
  12041. in: query
  12042. name: spotgoodsbrandid
  12043. type: integer
  12044. - description: 型号ID
  12045. in: query
  12046. name: spotgoodsmodelid
  12047. type: integer
  12048. - description: 仓库ID
  12049. in: query
  12050. name: warehouseinfoid
  12051. type: integer
  12052. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12053. in: query
  12054. name: applystatus
  12055. type: string
  12056. produces:
  12057. - application/json
  12058. responses:
  12059. "200":
  12060. description: OK
  12061. schema:
  12062. items:
  12063. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  12064. type: array
  12065. "500":
  12066. description: Internal Server Error
  12067. schema:
  12068. $ref: '#/definitions/app.Response'
  12069. security:
  12070. - ApiKeyAuth: []
  12071. summary: 查询库存申请(出入库记录|库存审核)
  12072. tags:
  12073. - 企业风险管理(app)
  12074. /Ermcp/QueryAreaStockApplySum:
  12075. get:
  12076. parameters:
  12077. - description: 合同ID
  12078. in: query
  12079. name: spotcontractid
  12080. type: integer
  12081. produces:
  12082. - application/json
  12083. responses:
  12084. "200":
  12085. description: OK
  12086. schema:
  12087. items:
  12088. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  12089. type: array
  12090. "500":
  12091. description: Internal Server Error
  12092. schema:
  12093. $ref: '#/definitions/app.Response'
  12094. security:
  12095. - ApiKeyAuth: []
  12096. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  12097. tags:
  12098. - 企业风险管理(app)
  12099. /Ermcp/QueryAreaStockReport:
  12100. get:
  12101. parameters:
  12102. - description: 用户ID
  12103. in: query
  12104. name: userid
  12105. required: true
  12106. type: integer
  12107. - description: 查询类型 1-日报表 2-月报表
  12108. in: query
  12109. name: querytype
  12110. required: true
  12111. type: integer
  12112. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12113. in: query
  12114. name: querydate
  12115. required: true
  12116. type: string
  12117. - description: 现货商品ID
  12118. in: query
  12119. name: wrstandardid
  12120. type: integer
  12121. - description: 品牌ID
  12122. in: query
  12123. name: spotgoodsbrandid
  12124. type: integer
  12125. - description: 型号ID
  12126. in: query
  12127. name: spotgoodsmodelid
  12128. type: integer
  12129. - description: 仓库ID
  12130. in: query
  12131. name: warehouseinfoid
  12132. type: integer
  12133. produces:
  12134. - application/json
  12135. responses:
  12136. "200":
  12137. description: OK
  12138. schema:
  12139. items:
  12140. $ref: '#/definitions/models.ErmcpAreaStockReport'
  12141. type: array
  12142. "500":
  12143. description: Internal Server Error
  12144. schema:
  12145. $ref: '#/definitions/app.Response'
  12146. security:
  12147. - ApiKeyAuth: []
  12148. summary: 查询库存报表
  12149. tags:
  12150. - 企业风险管理(app)
  12151. /Ermcp/QueryAreaStockReportDetail:
  12152. get:
  12153. parameters:
  12154. - description: 用户ID
  12155. in: query
  12156. name: userid
  12157. required: true
  12158. type: integer
  12159. - description: 查询类型 1-日报表明细 2-月报表明细
  12160. in: query
  12161. name: querytype
  12162. required: true
  12163. type: integer
  12164. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  12165. in: query
  12166. name: detailtype
  12167. required: true
  12168. type: integer
  12169. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12170. in: query
  12171. name: querydate
  12172. required: true
  12173. type: string
  12174. - description: 现货商品ID
  12175. in: query
  12176. name: wrstandardid
  12177. type: integer
  12178. - description: 品牌ID
  12179. in: query
  12180. name: spotgoodsbrandid
  12181. type: integer
  12182. - description: 型号ID
  12183. in: query
  12184. name: spotgoodsmodelid
  12185. type: integer
  12186. - description: 仓库ID
  12187. in: query
  12188. name: warehouseinfoid
  12189. type: integer
  12190. produces:
  12191. - application/json
  12192. responses:
  12193. "200":
  12194. description: OK
  12195. schema:
  12196. items:
  12197. $ref: '#/definitions/models.ErmcpAreaStockApply'
  12198. type: array
  12199. "500":
  12200. description: Internal Server Error
  12201. schema:
  12202. $ref: '#/definitions/app.Response'
  12203. security:
  12204. - ApiKeyAuth: []
  12205. summary: 查询库存报表明细
  12206. tags:
  12207. - 企业风险管理(app)
  12208. /Ermcp/QueryAvaildGoodsGroup:
  12209. get:
  12210. parameters:
  12211. - description: 所属机构ID
  12212. in: query
  12213. name: userid
  12214. required: true
  12215. type: integer
  12216. produces:
  12217. - application/json
  12218. responses:
  12219. "200":
  12220. description: OK
  12221. schema:
  12222. items:
  12223. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12224. type: array
  12225. "500":
  12226. description: Internal Server Error
  12227. schema:
  12228. $ref: '#/definitions/app.Response'
  12229. security:
  12230. - ApiKeyAuth: []
  12231. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12232. tags:
  12233. - 企业风险管理(app)
  12234. /Ermcp/QueryBusinessDj:
  12235. get:
  12236. parameters:
  12237. - description: 用户ID
  12238. in: query
  12239. name: UserId
  12240. required: true
  12241. type: integer
  12242. - description: 现货合同ID, 不填则查所有
  12243. in: query
  12244. name: relatedid
  12245. type: string
  12246. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12247. in: query
  12248. name: applystatus
  12249. type: string
  12250. produces:
  12251. - application/json
  12252. responses:
  12253. "200":
  12254. description: OK
  12255. schema:
  12256. items:
  12257. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12258. type: array
  12259. "500":
  12260. description: Internal Server Error
  12261. schema:
  12262. $ref: '#/definitions/app.Response'
  12263. security:
  12264. - ApiKeyAuth: []
  12265. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12266. tags:
  12267. - 企业风险管理(app)
  12268. /Ermcp/QueryBusinessFp:
  12269. get:
  12270. parameters:
  12271. - description: 用户ID
  12272. in: query
  12273. name: UserId
  12274. required: true
  12275. type: integer
  12276. - description: 现货合同ID, 不填则查所有
  12277. in: query
  12278. name: relatedid
  12279. type: string
  12280. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12281. in: query
  12282. name: applystatus
  12283. type: string
  12284. produces:
  12285. - application/json
  12286. responses:
  12287. "200":
  12288. description: OK
  12289. schema:
  12290. items:
  12291. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12292. type: array
  12293. "500":
  12294. description: Internal Server Error
  12295. schema:
  12296. $ref: '#/definitions/app.Response'
  12297. security:
  12298. - ApiKeyAuth: []
  12299. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12300. tags:
  12301. - 企业风险管理(app)
  12302. /Ermcp/QueryBusinessJs:
  12303. get:
  12304. parameters:
  12305. - description: 用户ID
  12306. in: query
  12307. name: UserId
  12308. required: true
  12309. type: integer
  12310. - description: 现货合同ID, 不填则查所有
  12311. in: query
  12312. name: relatedid
  12313. type: string
  12314. - description: 操作申请id
  12315. in: query
  12316. name: operateapplyid
  12317. type: string
  12318. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12319. in: query
  12320. name: applystatus
  12321. type: string
  12322. produces:
  12323. - application/json
  12324. responses:
  12325. "200":
  12326. description: OK
  12327. schema:
  12328. items:
  12329. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12330. type: array
  12331. "500":
  12332. description: Internal Server Error
  12333. schema:
  12334. $ref: '#/definitions/app.Response'
  12335. security:
  12336. - ApiKeyAuth: []
  12337. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12338. tags:
  12339. - 企业风险管理(app)
  12340. /Ermcp/QueryBusinessJsEx:
  12341. get:
  12342. parameters:
  12343. - description: 用户ID
  12344. in: query
  12345. name: UserId
  12346. required: true
  12347. type: integer
  12348. - description: 现货合同ID, 不填则查所有
  12349. in: query
  12350. name: relatedid
  12351. type: string
  12352. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12353. in: query
  12354. name: applystatus
  12355. type: string
  12356. produces:
  12357. - application/json
  12358. responses:
  12359. "200":
  12360. description: OK
  12361. schema:
  12362. items:
  12363. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12364. type: array
  12365. "500":
  12366. description: Internal Server Error
  12367. schema:
  12368. $ref: '#/definitions/app.Response'
  12369. security:
  12370. - ApiKeyAuth: []
  12371. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12372. tags:
  12373. - 企业风险管理(app)
  12374. /Ermcp/QueryBusinessKx:
  12375. get:
  12376. parameters:
  12377. - description: 用户ID
  12378. in: query
  12379. name: UserId
  12380. required: true
  12381. type: integer
  12382. - description: 现货合同ID, 不填则查所有
  12383. in: query
  12384. name: relatedid
  12385. type: string
  12386. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12387. in: query
  12388. name: applystatus
  12389. type: string
  12390. produces:
  12391. - application/json
  12392. responses:
  12393. "200":
  12394. description: OK
  12395. schema:
  12396. items:
  12397. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12398. type: array
  12399. "500":
  12400. description: Internal Server Error
  12401. schema:
  12402. $ref: '#/definitions/app.Response'
  12403. security:
  12404. - ApiKeyAuth: []
  12405. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12406. tags:
  12407. - 企业风险管理(app)
  12408. /Ermcp/QueryChangeLog:
  12409. get:
  12410. parameters:
  12411. - description: 合同ID
  12412. in: query
  12413. name: RelatedId
  12414. required: true
  12415. type: string
  12416. produces:
  12417. - application/json
  12418. responses:
  12419. "200":
  12420. description: OK
  12421. schema:
  12422. items:
  12423. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12424. type: array
  12425. "500":
  12426. description: Internal Server Error
  12427. schema:
  12428. $ref: '#/definitions/app.Response'
  12429. security:
  12430. - ApiKeyAuth: []
  12431. summary: 查询变更记录
  12432. tags:
  12433. - 企业风险管理(app)
  12434. /Ermcp/QueryContract:
  12435. get:
  12436. parameters:
  12437. - description: 用户ID
  12438. in: query
  12439. name: userId
  12440. required: true
  12441. type: integer
  12442. - description: 合同类型 1-采购, -1-销售
  12443. in: query
  12444. name: contracttype
  12445. required: true
  12446. type: integer
  12447. - description: 查询类型 1-全部 2-待点价 3-履约结算
  12448. in: query
  12449. name: querytype
  12450. required: true
  12451. type: integer
  12452. - description: 合同ID(SpotContractId)
  12453. in: query
  12454. name: contractid
  12455. type: string
  12456. produces:
  12457. - application/json
  12458. responses:
  12459. "200":
  12460. description: OK
  12461. schema:
  12462. items:
  12463. $ref: '#/definitions/ermcp.QryErmcpRsp'
  12464. type: array
  12465. "500":
  12466. description: Internal Server Error
  12467. schema:
  12468. $ref: '#/definitions/app.Response'
  12469. security:
  12470. - ApiKeyAuth: []
  12471. summary: 查询合同(采购和销售)
  12472. tags:
  12473. - 企业风险管理(app)
  12474. /Ermcp/QueryErmcpHisOrderDetails:
  12475. get:
  12476. parameters:
  12477. - description: 资金账户ID
  12478. in: query
  12479. name: accountID
  12480. required: true
  12481. type: integer
  12482. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12483. in: query
  12484. name: startDate
  12485. type: string
  12486. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12487. in: query
  12488. name: endDate
  12489. type: string
  12490. produces:
  12491. - application/json
  12492. responses:
  12493. "200":
  12494. description: OK
  12495. schema:
  12496. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12497. "500":
  12498. description: Internal Server Error
  12499. schema:
  12500. $ref: '#/definitions/app.Response'
  12501. security:
  12502. - ApiKeyAuth: []
  12503. summary: 获取企业风管期货历史委托单信息
  12504. tags:
  12505. - 企业风险管理(app)
  12506. /Ermcp/QueryErmcpHisTradeDetails:
  12507. get:
  12508. parameters:
  12509. - description: 资金账户ID
  12510. in: query
  12511. name: accountID
  12512. required: true
  12513. type: integer
  12514. - description: 商品ID
  12515. in: query
  12516. name: goodsID
  12517. type: integer
  12518. - description: 买卖方向,0:买 1:卖
  12519. in: query
  12520. name: buyOrSell
  12521. type: integer
  12522. - description: 关联委托单号
  12523. in: query
  12524. name: orderID
  12525. type: integer
  12526. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12527. in: query
  12528. name: startDate
  12529. type: string
  12530. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12531. in: query
  12532. name: endDate
  12533. type: string
  12534. produces:
  12535. - application/json
  12536. responses:
  12537. "200":
  12538. description: OK
  12539. schema:
  12540. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12541. "500":
  12542. description: Internal Server Error
  12543. schema:
  12544. $ref: '#/definitions/app.Response'
  12545. security:
  12546. - ApiKeyAuth: []
  12547. summary: 获取企业风管期货历史成交单信息
  12548. tags:
  12549. - 企业风险管理(app)
  12550. /Ermcp/QueryErmcpInnerHolderDetails:
  12551. get:
  12552. parameters:
  12553. - description: 资金账户ID
  12554. in: query
  12555. name: accountID
  12556. required: true
  12557. type: integer
  12558. - description: 商品ID
  12559. in: query
  12560. name: goodsID
  12561. type: integer
  12562. - description: 买卖方向,0:买 1:卖
  12563. in: query
  12564. name: buyOrSell
  12565. type: integer
  12566. produces:
  12567. - application/json
  12568. responses:
  12569. "200":
  12570. description: OK
  12571. schema:
  12572. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12573. "500":
  12574. description: Internal Server Error
  12575. schema:
  12576. $ref: '#/definitions/app.Response'
  12577. security:
  12578. - ApiKeyAuth: []
  12579. summary: 获取企业风管期货内部持仓单信息
  12580. tags:
  12581. - 企业风险管理(app)
  12582. /Ermcp/QueryErmcpOrderDetails:
  12583. get:
  12584. parameters:
  12585. - description: 资金账户ID
  12586. in: query
  12587. name: accountID
  12588. required: true
  12589. type: integer
  12590. produces:
  12591. - application/json
  12592. responses:
  12593. "200":
  12594. description: OK
  12595. schema:
  12596. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12597. "500":
  12598. description: Internal Server Error
  12599. schema:
  12600. $ref: '#/definitions/app.Response'
  12601. security:
  12602. - ApiKeyAuth: []
  12603. summary: 获取企业风管期货委托单信息
  12604. tags:
  12605. - 企业风险管理(app)
  12606. /Ermcp/QueryErmcpTradeDetails:
  12607. get:
  12608. parameters:
  12609. - description: 资金账户ID
  12610. in: query
  12611. name: accountID
  12612. required: true
  12613. type: integer
  12614. - description: 商品ID
  12615. in: query
  12616. name: goodsID
  12617. type: integer
  12618. - description: 买卖方向,0:买 1:卖
  12619. in: query
  12620. name: buyOrSell
  12621. type: integer
  12622. - description: 关联委托单号
  12623. in: query
  12624. name: orderID
  12625. type: integer
  12626. produces:
  12627. - application/json
  12628. responses:
  12629. "200":
  12630. description: OK
  12631. schema:
  12632. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12633. "500":
  12634. description: Internal Server Error
  12635. schema:
  12636. $ref: '#/definitions/app.Response'
  12637. security:
  12638. - ApiKeyAuth: []
  12639. summary: 获取企业风管期货成交单信息
  12640. tags:
  12641. - 企业风险管理(app)
  12642. /Ermcp/QueryErmcpTradePosition:
  12643. get:
  12644. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12645. parameters:
  12646. - description: 资金账户ID
  12647. in: query
  12648. name: accountID
  12649. required: true
  12650. type: integer
  12651. - description: 所属市场ID
  12652. in: query
  12653. name: marketID
  12654. type: integer
  12655. produces:
  12656. - application/json
  12657. responses:
  12658. "200":
  12659. description: OK
  12660. schema:
  12661. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12662. "500":
  12663. description: Internal Server Error
  12664. schema:
  12665. $ref: '#/definitions/app.Response'
  12666. security:
  12667. - ApiKeyAuth: []
  12668. summary: 获取企业风管期货持仓头寸信息
  12669. tags:
  12670. - 企业风险管理(app)
  12671. /Ermcp/QueryExposureDetail:
  12672. get:
  12673. parameters:
  12674. - description: 所属机构ID
  12675. in: query
  12676. name: areaUserId
  12677. required: true
  12678. type: integer
  12679. - description: 套保商品
  12680. in: query
  12681. name: middleGoodsId
  12682. required: true
  12683. type: integer
  12684. produces:
  12685. - application/json
  12686. responses:
  12687. "200":
  12688. description: OK
  12689. schema:
  12690. items:
  12691. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12692. type: array
  12693. "500":
  12694. description: Internal Server Error
  12695. schema:
  12696. $ref: '#/definitions/app.Response'
  12697. security:
  12698. - ApiKeyAuth: []
  12699. summary: 查询敞口现货明细
  12700. tags:
  12701. - 企业风险管理(app)
  12702. /Ermcp/QueryExposureHedgePosition:
  12703. get:
  12704. parameters:
  12705. - description: 所属机构ID
  12706. in: query
  12707. name: areaUserId
  12708. required: true
  12709. type: integer
  12710. produces:
  12711. - application/json
  12712. responses:
  12713. "200":
  12714. description: OK
  12715. schema:
  12716. items:
  12717. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12718. type: array
  12719. "500":
  12720. description: Internal Server Error
  12721. schema:
  12722. $ref: '#/definitions/app.Response'
  12723. security:
  12724. - ApiKeyAuth: []
  12725. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12726. tags:
  12727. - 企业风险管理(app)
  12728. /Ermcp/QueryExposureHedgePositionDetail:
  12729. get:
  12730. parameters:
  12731. - description: 所属机构ID
  12732. in: query
  12733. name: areaUserId
  12734. required: true
  12735. type: integer
  12736. - description: 商品id
  12737. in: query
  12738. name: goodsId
  12739. required: true
  12740. type: integer
  12741. produces:
  12742. - application/json
  12743. responses:
  12744. "200":
  12745. description: OK
  12746. schema:
  12747. items:
  12748. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12749. type: array
  12750. "500":
  12751. description: Internal Server Error
  12752. schema:
  12753. $ref: '#/definitions/app.Response'
  12754. security:
  12755. - ApiKeyAuth: []
  12756. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12757. tags:
  12758. - 企业风险管理(app)
  12759. /Ermcp/QueryExposureSpot:
  12760. get:
  12761. parameters:
  12762. - description: 所属机构ID
  12763. in: query
  12764. name: areaUserId
  12765. required: true
  12766. type: integer
  12767. produces:
  12768. - application/json
  12769. responses:
  12770. "200":
  12771. description: OK
  12772. schema:
  12773. items:
  12774. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12775. type: array
  12776. "500":
  12777. description: Internal Server Error
  12778. schema:
  12779. $ref: '#/definitions/app.Response'
  12780. security:
  12781. - ApiKeyAuth: []
  12782. summary: 查询敞口现货头寸(敞口/现货头寸)
  12783. tags:
  12784. - 企业风险管理(app)
  12785. /Ermcp/QueryExposureSpotDetail:
  12786. get:
  12787. parameters:
  12788. - description: 所属机构ID
  12789. in: query
  12790. name: areaUserId
  12791. required: true
  12792. type: integer
  12793. - description: 现货品种ID
  12794. in: query
  12795. name: wrstandardId
  12796. required: true
  12797. type: integer
  12798. produces:
  12799. - application/json
  12800. responses:
  12801. "200":
  12802. description: OK
  12803. schema:
  12804. items:
  12805. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12806. type: array
  12807. "500":
  12808. description: Internal Server Error
  12809. schema:
  12810. $ref: '#/definitions/app.Response'
  12811. security:
  12812. - ApiKeyAuth: []
  12813. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12814. tags:
  12815. - 企业风险管理(app)
  12816. /Ermcp/QueryFuturesCompany:
  12817. get:
  12818. produces:
  12819. - application/json
  12820. responses:
  12821. "200":
  12822. description: OK
  12823. schema:
  12824. items:
  12825. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12826. type: array
  12827. "500":
  12828. description: Internal Server Error
  12829. schema:
  12830. $ref: '#/definitions/app.Response'
  12831. security:
  12832. - ApiKeyAuth: []
  12833. summary: 查询期货公司
  12834. tags:
  12835. - 企业风险管理(app)
  12836. /Ermcp/QueryGGConvertConfig:
  12837. get:
  12838. parameters:
  12839. - description: 品种id(不填则查所有)
  12840. in: query
  12841. name: goodsgroupid
  12842. type: integer
  12843. produces:
  12844. - application/json
  12845. responses:
  12846. "200":
  12847. description: OK
  12848. schema:
  12849. items:
  12850. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12851. type: array
  12852. "500":
  12853. description: Internal Server Error
  12854. schema:
  12855. $ref: '#/definitions/app.Response'
  12856. security:
  12857. - ApiKeyAuth: []
  12858. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12859. tags:
  12860. - 企业风险管理(app)
  12861. /Ermcp/QueryGoodsBrand:
  12862. get:
  12863. parameters:
  12864. - description: 用户ID
  12865. in: query
  12866. name: userid
  12867. required: true
  12868. type: integer
  12869. - description: 现货商品ID
  12870. in: query
  12871. name: wrstandardid
  12872. type: integer
  12873. produces:
  12874. - application/json
  12875. responses:
  12876. "200":
  12877. description: OK
  12878. schema:
  12879. items:
  12880. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12881. type: array
  12882. "500":
  12883. description: Internal Server Error
  12884. schema:
  12885. $ref: '#/definitions/app.Response'
  12886. security:
  12887. - ApiKeyAuth: []
  12888. summary: 查询商品品牌
  12889. tags:
  12890. - 企业风险管理(app)
  12891. /Ermcp/QueryGoodsModel:
  12892. get:
  12893. parameters:
  12894. - description: 用户ID
  12895. in: query
  12896. name: userid
  12897. required: true
  12898. type: integer
  12899. produces:
  12900. - application/json
  12901. responses:
  12902. "200":
  12903. description: OK
  12904. schema:
  12905. items:
  12906. $ref: '#/definitions/models.ErmcpGoodsModel'
  12907. type: array
  12908. "500":
  12909. description: Internal Server Error
  12910. schema:
  12911. $ref: '#/definitions/app.Response'
  12912. security:
  12913. - ApiKeyAuth: []
  12914. summary: 查询商品型号
  12915. tags:
  12916. - 企业风险管理(app)
  12917. /Ermcp/QueryHedgePlan:
  12918. get:
  12919. parameters:
  12920. - description: 用户ID
  12921. in: query
  12922. name: userId
  12923. required: true
  12924. type: integer
  12925. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  12926. in: query
  12927. name: HedgePlanStatus
  12928. required: true
  12929. type: string
  12930. produces:
  12931. - application/json
  12932. responses:
  12933. "200":
  12934. description: OK
  12935. schema:
  12936. items:
  12937. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  12938. type: array
  12939. "500":
  12940. description: Internal Server Error
  12941. schema:
  12942. $ref: '#/definitions/app.Response'
  12943. security:
  12944. - ApiKeyAuth: []
  12945. summary: 查询套保计划
  12946. tags:
  12947. - 企业风险管理(app)
  12948. /Ermcp/QueryHisExposure:
  12949. get:
  12950. parameters:
  12951. - description: 所属机构ID
  12952. in: query
  12953. name: areaUserId
  12954. required: true
  12955. type: integer
  12956. - description: 每个品种记录数
  12957. in: query
  12958. name: lastNum
  12959. required: true
  12960. type: integer
  12961. produces:
  12962. - application/json
  12963. responses:
  12964. "200":
  12965. description: OK
  12966. schema:
  12967. items:
  12968. $ref: '#/definitions/ermcp.HisExposureRsp'
  12969. type: array
  12970. "500":
  12971. description: Internal Server Error
  12972. schema:
  12973. $ref: '#/definitions/app.Response'
  12974. security:
  12975. - ApiKeyAuth: []
  12976. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12977. tags:
  12978. - 企业风险管理(app)
  12979. /Ermcp/QueryMiddleGoods:
  12980. get:
  12981. parameters:
  12982. - description: 所属机构ID
  12983. in: query
  12984. name: userid
  12985. required: true
  12986. type: integer
  12987. - description: 状态 0-停用 1-正常
  12988. in: query
  12989. name: status
  12990. required: true
  12991. type: integer
  12992. produces:
  12993. - application/json
  12994. responses:
  12995. "200":
  12996. description: OK
  12997. schema:
  12998. items:
  12999. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13000. type: array
  13001. "500":
  13002. description: Internal Server Error
  13003. schema:
  13004. $ref: '#/definitions/app.Response'
  13005. security:
  13006. - ApiKeyAuth: []
  13007. summary: 查询套保品种(菜单:套保品种)
  13008. tags:
  13009. - 企业风险管理(app)
  13010. /Ermcp/QueryMiddleGoodsChangeLog:
  13011. get:
  13012. parameters:
  13013. - description: 所属机构ID
  13014. in: query
  13015. name: userid
  13016. required: true
  13017. type: integer
  13018. - description: 套保品种id
  13019. in: query
  13020. name: middlegoodsid
  13021. required: true
  13022. type: integer
  13023. produces:
  13024. - application/json
  13025. responses:
  13026. "200":
  13027. description: OK
  13028. schema:
  13029. items:
  13030. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13031. type: array
  13032. "500":
  13033. description: Internal Server Error
  13034. schema:
  13035. $ref: '#/definitions/app.Response'
  13036. security:
  13037. - ApiKeyAuth: []
  13038. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13039. tags:
  13040. - 企业风险管理(app)
  13041. /Ermcp/QueryMiddleGoodsDetail:
  13042. get:
  13043. parameters:
  13044. - description: 所属机构ID
  13045. in: query
  13046. name: userid
  13047. required: true
  13048. type: integer
  13049. - description: 套保品种id
  13050. in: query
  13051. name: middlegoodsid
  13052. type: integer
  13053. produces:
  13054. - application/json
  13055. responses:
  13056. "200":
  13057. description: OK
  13058. schema:
  13059. items:
  13060. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13061. type: array
  13062. "500":
  13063. description: Internal Server Error
  13064. schema:
  13065. $ref: '#/definitions/app.Response'
  13066. security:
  13067. - ApiKeyAuth: []
  13068. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13069. tags:
  13070. - 企业风险管理(app)
  13071. /Ermcp/QueryPendingAuditInfo:
  13072. get:
  13073. parameters:
  13074. - description: 用户ID
  13075. in: query
  13076. name: UserId
  13077. required: true
  13078. type: integer
  13079. produces:
  13080. - application/json
  13081. responses:
  13082. "200":
  13083. description: OK
  13084. schema:
  13085. items:
  13086. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13087. type: array
  13088. "500":
  13089. description: Internal Server Error
  13090. schema:
  13091. $ref: '#/definitions/app.Response'
  13092. security:
  13093. - ApiKeyAuth: []
  13094. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13095. tags:
  13096. - 企业风险管理(app)
  13097. /Ermcp/QueryRealtimeExposure:
  13098. get:
  13099. parameters:
  13100. - description: 所属机构ID
  13101. in: query
  13102. name: AreaUserID
  13103. required: true
  13104. type: integer
  13105. produces:
  13106. - application/json
  13107. responses:
  13108. "200":
  13109. description: OK
  13110. schema:
  13111. items:
  13112. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13113. type: array
  13114. "500":
  13115. description: Internal Server Error
  13116. schema:
  13117. $ref: '#/definitions/app.Response'
  13118. security:
  13119. - ApiKeyAuth: []
  13120. summary: 查询实时敞口
  13121. tags:
  13122. - 企业风险管理(app)
  13123. /Ermcp/QueryRealtimeExposurePosition:
  13124. get:
  13125. parameters:
  13126. - description: 所属机构ID
  13127. in: query
  13128. name: areaUserId
  13129. required: true
  13130. type: integer
  13131. - description: 套保商品ID
  13132. in: query
  13133. name: middleGoodsId
  13134. required: true
  13135. type: integer
  13136. produces:
  13137. - application/json
  13138. responses:
  13139. "200":
  13140. description: OK
  13141. schema:
  13142. items:
  13143. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13144. type: array
  13145. "500":
  13146. description: Internal Server Error
  13147. schema:
  13148. $ref: '#/definitions/app.Response'
  13149. security:
  13150. - ApiKeyAuth: []
  13151. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13152. tags:
  13153. - 企业风险管理(app)
  13154. /Ermcp/QuerySpotContract:
  13155. get:
  13156. parameters:
  13157. - description: 用户ID
  13158. in: query
  13159. name: userId
  13160. required: true
  13161. type: integer
  13162. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13163. in: query
  13164. name: QueryType
  13165. required: true
  13166. type: integer
  13167. produces:
  13168. - application/json
  13169. responses:
  13170. "200":
  13171. description: OK
  13172. schema:
  13173. items:
  13174. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  13175. type: array
  13176. "500":
  13177. description: Internal Server Error
  13178. schema:
  13179. $ref: '#/definitions/app.Response'
  13180. security:
  13181. - ApiKeyAuth: []
  13182. summary: 查询现货合同(对应现货合同菜单)
  13183. tags:
  13184. - 企业风险管理(app)
  13185. /Ermcp/QuerySpotGoodsPrice:
  13186. get:
  13187. parameters:
  13188. - description: 用户ID
  13189. in: query
  13190. name: userid
  13191. required: true
  13192. type: integer
  13193. produces:
  13194. - application/json
  13195. responses:
  13196. "200":
  13197. description: OK
  13198. schema:
  13199. items:
  13200. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  13201. type: array
  13202. "500":
  13203. description: Internal Server Error
  13204. schema:
  13205. $ref: '#/definitions/app.Response'
  13206. security:
  13207. - ApiKeyAuth: []
  13208. summary: 查询现货市价(现货市价)
  13209. tags:
  13210. - 企业风险管理(app)
  13211. /Ermcp/QuerySpotGoodsPriceLog:
  13212. get:
  13213. parameters:
  13214. - description: 用户ID
  13215. in: query
  13216. name: userid
  13217. required: true
  13218. type: integer
  13219. - description: 现货商品ID
  13220. in: query
  13221. name: wrstandardid
  13222. required: true
  13223. type: integer
  13224. produces:
  13225. - application/json
  13226. responses:
  13227. "200":
  13228. description: OK
  13229. schema:
  13230. items:
  13231. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  13232. type: array
  13233. "500":
  13234. description: Internal Server Error
  13235. schema:
  13236. $ref: '#/definitions/app.Response'
  13237. security:
  13238. - ApiKeyAuth: []
  13239. summary: 查询现货市价详情(现货市价/详情)
  13240. tags:
  13241. - 企业风险管理(app)
  13242. /Ermcp/QueryTradeConfigTMP:
  13243. get:
  13244. parameters:
  13245. - description: 所属机构id
  13246. in: query
  13247. name: areauserid
  13248. required: true
  13249. type: integer
  13250. produces:
  13251. - application/json
  13252. responses:
  13253. "200":
  13254. description: OK
  13255. schema:
  13256. items:
  13257. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13258. type: array
  13259. "500":
  13260. description: Internal Server Error
  13261. schema:
  13262. $ref: '#/definitions/app.Response'
  13263. security:
  13264. - ApiKeyAuth: []
  13265. summary: 查询交易模板配置
  13266. tags:
  13267. - 企业风险管理(app)
  13268. /Ermcp/QueryUserInfo:
  13269. get:
  13270. parameters:
  13271. - description: 所属机构用户ID
  13272. in: query
  13273. name: MemberUserID
  13274. required: true
  13275. type: integer
  13276. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13277. in: query
  13278. name: queryType
  13279. required: true
  13280. type: integer
  13281. produces:
  13282. - application/json
  13283. responses:
  13284. "200":
  13285. description: OK
  13286. schema:
  13287. items:
  13288. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13289. type: array
  13290. "500":
  13291. description: Internal Server Error
  13292. schema:
  13293. $ref: '#/definitions/app.Response'
  13294. security:
  13295. - ApiKeyAuth: []
  13296. summary: 查询客户资料
  13297. tags:
  13298. - 企业风险管理(app)
  13299. /Ermcp/QueryWarehouseInfo:
  13300. get:
  13301. parameters:
  13302. - description: 用户ID
  13303. in: query
  13304. name: userid
  13305. required: true
  13306. type: integer
  13307. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13308. in: query
  13309. name: status
  13310. type: string
  13311. produces:
  13312. - application/json
  13313. responses:
  13314. "200":
  13315. description: OK
  13316. schema:
  13317. items:
  13318. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13319. type: array
  13320. "500":
  13321. description: Internal Server Error
  13322. schema:
  13323. $ref: '#/definitions/app.Response'
  13324. security:
  13325. - ApiKeyAuth: []
  13326. summary: 查询仓库信息
  13327. tags:
  13328. - 企业风险管理(app)
  13329. /Ermcp/QueryWrStandard:
  13330. get:
  13331. parameters:
  13332. - description: 所属机构ID
  13333. in: query
  13334. name: userid
  13335. required: true
  13336. type: integer
  13337. - description: 状态 0-停用 1-正常
  13338. in: query
  13339. name: status
  13340. required: true
  13341. type: integer
  13342. produces:
  13343. - application/json
  13344. responses:
  13345. "200":
  13346. description: OK
  13347. schema:
  13348. items:
  13349. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  13350. type: array
  13351. "500":
  13352. description: Internal Server Error
  13353. schema:
  13354. $ref: '#/definitions/app.Response'
  13355. security:
  13356. - ApiKeyAuth: []
  13357. summary: 查询现货商品
  13358. tags:
  13359. - 企业风险管理(app)
  13360. /Ermcp/QueryWrStandardDetail:
  13361. get:
  13362. parameters:
  13363. - description: 所属机构ID
  13364. in: query
  13365. name: userid
  13366. required: true
  13367. type: integer
  13368. - description: 现货商品ID
  13369. in: query
  13370. name: wrstandardid
  13371. type: integer
  13372. - description: 可不填, 1-查询关联交易商品
  13373. in: query
  13374. name: goods
  13375. type: integer
  13376. produces:
  13377. - application/json
  13378. responses:
  13379. "200":
  13380. description: OK
  13381. schema:
  13382. items:
  13383. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  13384. type: array
  13385. "500":
  13386. description: Internal Server Error
  13387. schema:
  13388. $ref: '#/definitions/app.Response'
  13389. security:
  13390. - ApiKeyAuth: []
  13391. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  13392. tags:
  13393. - 企业风险管理(app)
  13394. /Erms2/QueryArbitrageStrategy:
  13395. get:
  13396. parameters:
  13397. - description: 账户ID
  13398. in: query
  13399. name: userid
  13400. required: true
  13401. type: integer
  13402. - description: 商品组ID(品种ID)
  13403. in: query
  13404. name: goodsgroupid
  13405. type: string
  13406. produces:
  13407. - application/json
  13408. responses:
  13409. "200":
  13410. description: OK
  13411. schema:
  13412. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13413. "500":
  13414. description: Internal Server Error
  13415. schema:
  13416. $ref: '#/definitions/app.Response'
  13417. security:
  13418. - ApiKeyAuth: []
  13419. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13420. tags:
  13421. - 风险管理
  13422. /Erms2/QueryInnerTradeDetail:
  13423. get:
  13424. parameters:
  13425. - description: 资金账户
  13426. in: query
  13427. name: accountid
  13428. required: true
  13429. type: integer
  13430. produces:
  13431. - application/json
  13432. responses:
  13433. "200":
  13434. description: OK
  13435. schema:
  13436. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13437. "500":
  13438. description: Internal Server Error
  13439. schema:
  13440. $ref: '#/definitions/app.Response'
  13441. security:
  13442. - ApiKeyAuth: []
  13443. summary: 查询内部成交单信息
  13444. tags:
  13445. - 风险管理
  13446. /Erms2/QuerySpotContract:
  13447. get:
  13448. parameters:
  13449. - description: 策略申请ID
  13450. in: query
  13451. name: asapplyid
  13452. required: true
  13453. type: integer
  13454. - description: 现货合同ID
  13455. in: query
  13456. name: spotcontractid
  13457. type: integer
  13458. produces:
  13459. - application/json
  13460. responses:
  13461. "200":
  13462. description: OK
  13463. schema:
  13464. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13465. "500":
  13466. description: Internal Server Error
  13467. schema:
  13468. $ref: '#/definitions/app.Response'
  13469. security:
  13470. - ApiKeyAuth: []
  13471. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13472. tags:
  13473. - 风险管理
  13474. /Erms3/AddErms2ASApply:
  13475. post:
  13476. parameters:
  13477. - description: 申请参数
  13478. in: body
  13479. name: jsonBody
  13480. required: true
  13481. schema:
  13482. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13483. produces:
  13484. - application/json
  13485. responses:
  13486. "200":
  13487. description: OK
  13488. schema:
  13489. $ref: '#/definitions/app.Response'
  13490. "500":
  13491. description: Internal Server Error
  13492. schema:
  13493. $ref: '#/definitions/app.Response'
  13494. security:
  13495. - ApiKeyAuth: []
  13496. summary: 新增期现套利业务申请
  13497. tags:
  13498. - 风险管理v3
  13499. /Erms3/AddErms2SpotTradeApply:
  13500. post:
  13501. parameters:
  13502. - description: 申请参数
  13503. in: body
  13504. name: jsonBody
  13505. required: true
  13506. schema:
  13507. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13508. produces:
  13509. - application/json
  13510. responses:
  13511. "200":
  13512. description: OK
  13513. schema:
  13514. $ref: '#/definitions/app.Response'
  13515. "500":
  13516. description: Internal Server Error
  13517. schema:
  13518. $ref: '#/definitions/app.Response'
  13519. security:
  13520. - ApiKeyAuth: []
  13521. summary: 新增现货贸易业务申请
  13522. tags:
  13523. - 风险管理v3
  13524. /Erms3/AddSpotContractApply:
  13525. post:
  13526. parameters:
  13527. - description: 申请参数
  13528. in: body
  13529. name: jsonBody
  13530. required: true
  13531. schema:
  13532. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13533. produces:
  13534. - application/json
  13535. responses:
  13536. "200":
  13537. description: OK
  13538. schema:
  13539. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13540. "500":
  13541. description: Internal Server Error
  13542. schema:
  13543. $ref: '#/definitions/app.Response'
  13544. security:
  13545. - ApiKeyAuth: []
  13546. summary: 新增现货合同申请
  13547. tags:
  13548. - 风险管理v3
  13549. /Erms3/AddUserInfoApply:
  13550. post:
  13551. parameters:
  13552. - description: 用户信息
  13553. in: body
  13554. name: jsonBody
  13555. required: true
  13556. schema:
  13557. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13558. produces:
  13559. - application/json
  13560. responses:
  13561. "200":
  13562. description: OK
  13563. schema:
  13564. $ref: '#/definitions/app.Response'
  13565. "500":
  13566. description: Internal Server Error
  13567. schema:
  13568. $ref: '#/definitions/app.Response'
  13569. security:
  13570. - ApiKeyAuth: []
  13571. summary: 新增客户申请
  13572. tags:
  13573. - 风险管理v3
  13574. /Erms3/ModifyUserInfoApply:
  13575. post:
  13576. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13577. int, "userstate": 2 }'
  13578. parameters:
  13579. - description: 用户信息
  13580. in: body
  13581. name: jsonBody
  13582. required: true
  13583. schema:
  13584. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13585. produces:
  13586. - application/json
  13587. responses:
  13588. "200":
  13589. description: OK
  13590. schema:
  13591. $ref: '#/definitions/app.Response'
  13592. "500":
  13593. description: Internal Server Error
  13594. schema:
  13595. $ref: '#/definitions/app.Response'
  13596. security:
  13597. - ApiKeyAuth: []
  13598. summary: 修改客户申请
  13599. tags:
  13600. - 风险管理v3
  13601. /Erms3/QueryBusinessInfo:
  13602. get:
  13603. parameters:
  13604. - description: 资金账号ID列表,用逗号分隔
  13605. in: query
  13606. name: accountids
  13607. required: true
  13608. type: string
  13609. - description: 状态,0为未结束 1为已结束
  13610. in: query
  13611. name: status
  13612. required: true
  13613. type: integer
  13614. produces:
  13615. - application/json
  13616. responses:
  13617. "200":
  13618. description: OK
  13619. schema:
  13620. items:
  13621. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13622. type: array
  13623. "500":
  13624. description: Internal Server Error
  13625. schema:
  13626. $ref: '#/definitions/app.Response'
  13627. security:
  13628. - ApiKeyAuth: []
  13629. summary: 查询业务表单数据
  13630. tags:
  13631. - 风险管理v3
  13632. /Erms3/QueryPendingAuditContract:
  13633. get:
  13634. parameters:
  13635. - description: 资金账号ID列表,逗号隔开
  13636. in: query
  13637. name: accountids
  13638. required: true
  13639. type: string
  13640. - description: 合同类型 1-采购 -1-销售
  13641. in: query
  13642. name: contracttype
  13643. required: true
  13644. type: integer
  13645. - description: 合同模式 1-普通 2-回购
  13646. in: query
  13647. name: contractmode
  13648. required: true
  13649. type: integer
  13650. produces:
  13651. - application/json
  13652. responses:
  13653. "200":
  13654. description: OK
  13655. schema:
  13656. items:
  13657. $ref: '#/definitions/erms3.QryAuditContractRsp'
  13658. type: array
  13659. "500":
  13660. description: Internal Server Error
  13661. schema:
  13662. $ref: '#/definitions/app.Response'
  13663. security:
  13664. - ApiKeyAuth: []
  13665. summary: 查询待审核合同
  13666. tags:
  13667. - 风险管理v3
  13668. /Erms3/QueryPendingBusiness:
  13669. get:
  13670. parameters:
  13671. - description: 资金账号ID列表,逗号隔开
  13672. in: query
  13673. name: accountids
  13674. required: true
  13675. type: string
  13676. produces:
  13677. - application/json
  13678. responses:
  13679. "200":
  13680. description: OK
  13681. schema:
  13682. items:
  13683. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13684. type: array
  13685. "500":
  13686. description: Internal Server Error
  13687. schema:
  13688. $ref: '#/definitions/app.Response'
  13689. security:
  13690. - ApiKeyAuth: []
  13691. summary: 查询待审核基差贸易业务
  13692. tags:
  13693. - 风险管理v3
  13694. /Erms3/QuerySpotContractAppleForm:
  13695. get:
  13696. parameters:
  13697. - description: 登录账号
  13698. in: query
  13699. name: loginID
  13700. required: true
  13701. type: integer
  13702. produces:
  13703. - application/json
  13704. responses:
  13705. "200":
  13706. description: OK
  13707. schema:
  13708. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  13709. "500":
  13710. description: Internal Server Error
  13711. schema:
  13712. $ref: '#/definitions/app.Response'
  13713. security:
  13714. - ApiKeyAuth: []
  13715. summary: 查询合同申请表单数据
  13716. tags:
  13717. - 风险管理v3
  13718. /Erms3/QuerySpotContractDetail:
  13719. get:
  13720. parameters:
  13721. - description: 资金账号ID列表,用逗号分隔
  13722. in: query
  13723. name: accountids
  13724. required: true
  13725. type: string
  13726. - description: 合同类型,1为采购合同 -1为销售合同
  13727. in: query
  13728. name: contracttype
  13729. required: true
  13730. type: integer
  13731. - description: 合同模式,1为普通合同 2为回购销售合同
  13732. in: query
  13733. name: contractmode
  13734. required: true
  13735. type: integer
  13736. - description: 状态,0为履约中 1为已完成
  13737. in: query
  13738. name: status
  13739. required: true
  13740. type: integer
  13741. produces:
  13742. - application/json
  13743. responses:
  13744. "200":
  13745. description: OK
  13746. schema:
  13747. items:
  13748. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  13749. type: array
  13750. "500":
  13751. description: Internal Server Error
  13752. schema:
  13753. $ref: '#/definitions/app.Response'
  13754. security:
  13755. - ApiKeyAuth: []
  13756. summary: 查询合同详细信息
  13757. tags:
  13758. - 风险管理v3
  13759. /Erms3/QueryUserInfoApplies:
  13760. get:
  13761. parameters:
  13762. - description: 页码
  13763. in: query
  13764. name: page
  13765. type: integer
  13766. - description: 每页条数
  13767. in: query
  13768. name: pagesize
  13769. type: integer
  13770. - description: 客户名称,支持模糊查询
  13771. in: query
  13772. name: userName
  13773. type: string
  13774. produces:
  13775. - application/json
  13776. responses:
  13777. "200":
  13778. description: OK
  13779. schema:
  13780. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  13781. "500":
  13782. description: Internal Server Error
  13783. schema:
  13784. $ref: '#/definitions/app.Response'
  13785. security:
  13786. - ApiKeyAuth: []
  13787. summary: 客户申请信息查询
  13788. tags:
  13789. - 风险管理v3
  13790. /Erms3/QueryUserInfos:
  13791. get:
  13792. parameters:
  13793. - description: 页码
  13794. in: query
  13795. name: page
  13796. type: integer
  13797. - description: 每页条数
  13798. in: query
  13799. name: pagesize
  13800. type: integer
  13801. - description: 客户名称,支持模糊查询
  13802. in: query
  13803. name: userName
  13804. type: string
  13805. produces:
  13806. - application/json
  13807. responses:
  13808. "200":
  13809. description: OK
  13810. schema:
  13811. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  13812. "500":
  13813. description: Internal Server Error
  13814. schema:
  13815. $ref: '#/definitions/app.Response'
  13816. security:
  13817. - ApiKeyAuth: []
  13818. summary: 客户信息查询
  13819. tags:
  13820. - 风险管理v3
  13821. /HSBY/GetHsbyMyCount:
  13822. get:
  13823. description: 说明: 不包括已完成的数量。
  13824. parameters:
  13825. - description: 资金账户列表,格式:1,2,3
  13826. in: query
  13827. name: accountIDs
  13828. required: true
  13829. type: string
  13830. produces:
  13831. - application/json
  13832. responses:
  13833. "200":
  13834. description: OK
  13835. schema:
  13836. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  13837. "500":
  13838. description: Internal Server Error
  13839. schema:
  13840. $ref: '#/definitions/app.Response'
  13841. security:
  13842. - ApiKeyAuth: []
  13843. summary: 获取我的订单与包裹数量
  13844. tags:
  13845. - 定制【海商报业】
  13846. /HSBY/QueryClientFixedADConfigs:
  13847. get:
  13848. produces:
  13849. - application/json
  13850. responses:
  13851. "200":
  13852. description: OK
  13853. schema:
  13854. $ref: '#/definitions/models.Clientfixedadconfig'
  13855. "500":
  13856. description: Internal Server Error
  13857. schema:
  13858. $ref: '#/definitions/app.Response'
  13859. security:
  13860. - ApiKeyAuth: []
  13861. summary: 获取终端固定广告配置
  13862. tags:
  13863. - 定制【海商报业】
  13864. /HSBY/QueryHsbyBuyMyTradeDetail:
  13865. get:
  13866. parameters:
  13867. - description: 页码
  13868. in: query
  13869. name: page
  13870. type: integer
  13871. - description: 每页条数
  13872. in: query
  13873. name: pagesize
  13874. type: integer
  13875. - description: 资金账户列表,格式:1,2,3
  13876. in: query
  13877. name: accountIDs
  13878. required: true
  13879. type: string
  13880. produces:
  13881. - application/json
  13882. responses:
  13883. "200":
  13884. description: OK
  13885. schema:
  13886. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  13887. "500":
  13888. description: Internal Server Error
  13889. schema:
  13890. $ref: '#/definitions/app.Response'
  13891. security:
  13892. - ApiKeyAuth: []
  13893. summary: 查询"我的订单 - 已完成"单据信息
  13894. tags:
  13895. - 定制【海商报业】
  13896. /HSBY/QueryHsbyGoodsOrderDetails:
  13897. get:
  13898. description: 说明:查询结果已按委托价格和委托时间排序
  13899. parameters:
  13900. - description: 商品ID
  13901. in: query
  13902. name: goodsID
  13903. required: true
  13904. type: integer
  13905. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  13906. in: query
  13907. name: accountIDs
  13908. type: string
  13909. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  13910. in: query
  13911. name: buyOrSell
  13912. type: integer
  13913. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  13914. in: query
  13915. name: price
  13916. type: number
  13917. - description: 档位,不传则默认为3档
  13918. in: query
  13919. name: speed
  13920. type: integer
  13921. produces:
  13922. - application/json
  13923. responses:
  13924. "200":
  13925. description: OK
  13926. schema:
  13927. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  13928. "500":
  13929. description: Internal Server Error
  13930. schema:
  13931. $ref: '#/definitions/app.Response'
  13932. security:
  13933. - ApiKeyAuth: []
  13934. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  13935. tags:
  13936. - 定制【海商报业】
  13937. /HSBY/QueryHsbyListingGoodsDetail:
  13938. get:
  13939. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  13940. parameters:
  13941. - description: 商品ID
  13942. in: query
  13943. name: goodsID
  13944. required: true
  13945. type: integer
  13946. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  13947. in: query
  13948. name: accountID
  13949. type: integer
  13950. produces:
  13951. - application/json
  13952. responses:
  13953. "200":
  13954. description: OK
  13955. schema:
  13956. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  13957. "500":
  13958. description: Internal Server Error
  13959. schema:
  13960. $ref: '#/definitions/app.Response'
  13961. security:
  13962. - ApiKeyAuth: []
  13963. summary: 查询二级市场(挂牌点选)商品信息详情
  13964. tags:
  13965. - 定制【海商报业】
  13966. /HSBY/QueryHsbyMarketGoodsDetail:
  13967. get:
  13968. parameters:
  13969. - description: 委托单号
  13970. in: query
  13971. name: orderID
  13972. required: true
  13973. type: integer
  13974. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  13975. in: query
  13976. name: accountID
  13977. type: integer
  13978. produces:
  13979. - application/json
  13980. responses:
  13981. "200":
  13982. description: OK
  13983. schema:
  13984. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  13985. "500":
  13986. description: Internal Server Error
  13987. schema:
  13988. $ref: '#/definitions/app.Response'
  13989. security:
  13990. - ApiKeyAuth: []
  13991. summary: 查询三级市场(商城)商品信息详情
  13992. tags:
  13993. - 定制【海商报业】
  13994. /HSBY/QueryHsbyMarketGoodses:
  13995. get:
  13996. parameters:
  13997. - description: 页码
  13998. in: query
  13999. name: page
  14000. type: integer
  14001. - description: 每页条数
  14002. in: query
  14003. name: pagesize
  14004. type: integer
  14005. - description: 市场ID列表,格式:1,2,3
  14006. in: query
  14007. name: marketIDs
  14008. required: true
  14009. type: string
  14010. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14011. in: query
  14012. name: accountID
  14013. required: true
  14014. type: integer
  14015. - description: 类别ID
  14016. in: query
  14017. name: categoryID
  14018. type: integer
  14019. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14020. in: query
  14021. name: goodsIDs
  14022. type: string
  14023. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14024. in: query
  14025. name: couponTypeID
  14026. type: integer
  14027. produces:
  14028. - application/json
  14029. responses:
  14030. "200":
  14031. description: OK
  14032. schema:
  14033. $ref: '#/definitions/models.HsbyMarketGoods'
  14034. "500":
  14035. description: Internal Server Error
  14036. schema:
  14037. $ref: '#/definitions/app.Response'
  14038. security:
  14039. - ApiKeyAuth: []
  14040. summary: 查询特卖商品列表(三级商城)
  14041. tags:
  14042. - 定制【海商报业】
  14043. /HSBY/QueryHsbyMarkets:
  14044. get:
  14045. produces:
  14046. - application/json
  14047. responses:
  14048. "200":
  14049. description: OK
  14050. schema:
  14051. $ref: '#/definitions/models.HsbyMarketInfo'
  14052. "500":
  14053. description: Internal Server Error
  14054. schema:
  14055. $ref: '#/definitions/app.Response'
  14056. security:
  14057. - ApiKeyAuth: []
  14058. summary: 查询海商报业相关市场信息
  14059. tags:
  14060. - 定制【海商报业】
  14061. /HSBY/QueryHsbyMyBuyOrderDetails:
  14062. get:
  14063. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14064. parameters:
  14065. - description: 资金账户列表,格式:1,2,3
  14066. in: query
  14067. name: accountIDs
  14068. required: true
  14069. type: string
  14070. produces:
  14071. - application/json
  14072. responses:
  14073. "200":
  14074. description: OK
  14075. schema:
  14076. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14077. "500":
  14078. description: Internal Server Error
  14079. schema:
  14080. $ref: '#/definitions/app.Response'
  14081. security:
  14082. - ApiKeyAuth: []
  14083. summary: 查询“我的订单”信息
  14084. tags:
  14085. - 定制【海商报业】
  14086. /HSBY/QueryHsbyMyGoods:
  14087. get:
  14088. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14089. parameters:
  14090. - description: 资金账户列表,格式:1,2,3
  14091. in: query
  14092. name: accountIDs
  14093. required: true
  14094. type: string
  14095. produces:
  14096. - application/json
  14097. responses:
  14098. "200":
  14099. description: OK
  14100. schema:
  14101. $ref: '#/definitions/models.HsbyMyGoods'
  14102. "500":
  14103. description: Internal Server Error
  14104. schema:
  14105. $ref: '#/definitions/app.Response'
  14106. security:
  14107. - ApiKeyAuth: []
  14108. summary: 查询“我的商品”信息
  14109. tags:
  14110. - 定制【海商报业】
  14111. /HSBY/QueryHsbyMyPackages:
  14112. get:
  14113. parameters:
  14114. - description: 资金账户列表,格式:1,2,3
  14115. in: query
  14116. name: accountIDs
  14117. required: true
  14118. type: string
  14119. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14120. in: query
  14121. name: takeOrderStatus
  14122. type: integer
  14123. produces:
  14124. - application/json
  14125. responses:
  14126. "200":
  14127. description: OK
  14128. schema:
  14129. $ref: '#/definitions/models.HsbyMyPackage'
  14130. "500":
  14131. description: Internal Server Error
  14132. schema:
  14133. $ref: '#/definitions/app.Response'
  14134. security:
  14135. - ApiKeyAuth: []
  14136. summary: 查询我的包裹信息
  14137. tags:
  14138. - 定制【海商报业】
  14139. /HSBY/QueryHsbyPreGoodsDetail:
  14140. get:
  14141. parameters:
  14142. - description: 商品ID
  14143. in: query
  14144. name: goodsID
  14145. required: true
  14146. type: integer
  14147. - description: 资金账户,主要用于获取预售商品购买上限
  14148. in: query
  14149. name: accountID
  14150. type: integer
  14151. produces:
  14152. - application/json
  14153. responses:
  14154. "200":
  14155. description: OK
  14156. schema:
  14157. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14158. "500":
  14159. description: Internal Server Error
  14160. schema:
  14161. $ref: '#/definitions/app.Response'
  14162. security:
  14163. - ApiKeyAuth: []
  14164. summary: 查询一级市场(预售)商品信息详情
  14165. tags:
  14166. - 定制【海商报业】
  14167. /HSBY/QueryHsbyPreGoodses:
  14168. get:
  14169. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14170. parameters:
  14171. - description: 页码
  14172. in: query
  14173. name: page
  14174. type: integer
  14175. - description: 每页条数
  14176. in: query
  14177. name: pagesize
  14178. type: integer
  14179. - description: 市场ID列表,格式:1,2,3
  14180. in: query
  14181. name: marketIDs
  14182. required: true
  14183. type: string
  14184. - description: 目的地(省)ID
  14185. in: query
  14186. name: descProvinceID
  14187. type: integer
  14188. - description: 目的地(市)ID
  14189. in: query
  14190. name: descCityID
  14191. type: integer
  14192. produces:
  14193. - application/json
  14194. responses:
  14195. "200":
  14196. description: OK
  14197. schema:
  14198. $ref: '#/definitions/models.HsbyPreGoods'
  14199. "500":
  14200. description: Internal Server Error
  14201. schema:
  14202. $ref: '#/definitions/app.Response'
  14203. security:
  14204. - ApiKeyAuth: []
  14205. summary: 查询新品上市商品列表(一级市场预售)
  14206. tags:
  14207. - 定制【海商报业】
  14208. /HSBY/QueryHsbySellMyDetails:
  14209. get:
  14210. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14211. parameters:
  14212. - description: 页码
  14213. in: query
  14214. name: page
  14215. type: integer
  14216. - description: 每页条数
  14217. in: query
  14218. name: pagesize
  14219. type: integer
  14220. - description: 资金账户列表,格式:1,2,3
  14221. in: query
  14222. name: accountIDs
  14223. required: true
  14224. type: string
  14225. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14226. in: query
  14227. name: orderType
  14228. type: integer
  14229. produces:
  14230. - application/json
  14231. responses:
  14232. "200":
  14233. description: OK
  14234. schema:
  14235. $ref: '#/definitions/models.HsbySellMyDetail'
  14236. "500":
  14237. description: Internal Server Error
  14238. schema:
  14239. $ref: '#/definitions/app.Response'
  14240. security:
  14241. - ApiKeyAuth: []
  14242. summary: 查询"我的闲置"单据信息
  14243. tags:
  14244. - 定制【海商报业】
  14245. /HSBY/QueryHsbyTopGoodses:
  14246. get:
  14247. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14248. parameters:
  14249. - description: 页码
  14250. in: query
  14251. name: page
  14252. type: integer
  14253. - description: 每页条数
  14254. in: query
  14255. name: pagesize
  14256. type: integer
  14257. - description: 市场ID列表,格式:1,2,3
  14258. in: query
  14259. name: marketIDs
  14260. required: true
  14261. type: string
  14262. - description: 目的地(省)ID
  14263. in: query
  14264. name: descProvinceID
  14265. type: integer
  14266. - description: 目的地(市)ID
  14267. in: query
  14268. name: descCityID
  14269. type: integer
  14270. produces:
  14271. - application/json
  14272. responses:
  14273. "200":
  14274. description: OK
  14275. schema:
  14276. $ref: '#/definitions/models.HsbyTopGoods'
  14277. "500":
  14278. description: Internal Server Error
  14279. schema:
  14280. $ref: '#/definitions/app.Response'
  14281. security:
  14282. - ApiKeyAuth: []
  14283. summary: 查询热卖商品列表(二级市场挂牌点选)
  14284. tags:
  14285. - 定制【海商报业】
  14286. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14287. get:
  14288. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14289. parameters:
  14290. - description: 商品ID
  14291. in: query
  14292. name: goodsID
  14293. required: true
  14294. type: integer
  14295. produces:
  14296. - application/json
  14297. responses:
  14298. "200":
  14299. description: OK
  14300. schema:
  14301. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14302. "500":
  14303. description: Internal Server Error
  14304. schema:
  14305. $ref: '#/definitions/app.Response'
  14306. security:
  14307. - ApiKeyAuth: []
  14308. summary: 查询游客三级市场(商城)商品信息详情
  14309. tags:
  14310. - 定制【海商报业】
  14311. /HSBY/QueryHsbyVisitorMarketGoodses:
  14312. get:
  14313. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14314. parameters:
  14315. - description: 页码
  14316. in: query
  14317. name: page
  14318. type: integer
  14319. - description: 每页条数
  14320. in: query
  14321. name: pagesize
  14322. type: integer
  14323. - description: 市场ID列表,格式:1,2,3
  14324. in: query
  14325. name: marketIDs
  14326. required: true
  14327. type: string
  14328. - description: 类别ID
  14329. in: query
  14330. name: categoryID
  14331. type: integer
  14332. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14333. in: query
  14334. name: goodsIDs
  14335. type: string
  14336. produces:
  14337. - application/json
  14338. responses:
  14339. "200":
  14340. description: OK
  14341. schema:
  14342. $ref: '#/definitions/models.HsbyMarketGoods'
  14343. "500":
  14344. description: Internal Server Error
  14345. schema:
  14346. $ref: '#/definitions/app.Response'
  14347. security:
  14348. - ApiKeyAuth: []
  14349. summary: 查询游客特卖商品列表(三级商城)
  14350. tags:
  14351. - 定制【海商报业】
  14352. /HSBY/QueryMyCollectionOrders:
  14353. get:
  14354. parameters:
  14355. - description: 页码
  14356. in: query
  14357. name: page
  14358. type: integer
  14359. - description: 每页条数
  14360. in: query
  14361. name: pagesize
  14362. type: integer
  14363. - description: 资金账户,格式:1,2,3
  14364. in: query
  14365. name: accountIDs
  14366. required: true
  14367. type: string
  14368. produces:
  14369. - application/json
  14370. responses:
  14371. "200":
  14372. description: OK
  14373. schema:
  14374. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14375. "500":
  14376. description: Internal Server Error
  14377. schema:
  14378. $ref: '#/definitions/app.Response'
  14379. security:
  14380. - ApiKeyAuth: []
  14381. summary: 我的闲置中收款信息查询
  14382. tags:
  14383. - 定制【海商报业】
  14384. /HSBY/QueryMyCouponHolds:
  14385. get:
  14386. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14387. parameters:
  14388. - description: 资金账户列表,格式:1,2,3
  14389. in: query
  14390. name: accountIDs
  14391. required: true
  14392. type: string
  14393. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14394. in: query
  14395. name: holdStatus
  14396. type: string
  14397. produces:
  14398. - application/json
  14399. responses:
  14400. "200":
  14401. description: OK
  14402. schema:
  14403. $ref: '#/definitions/models.MyCouponHold'
  14404. "500":
  14405. description: Internal Server Error
  14406. schema:
  14407. $ref: '#/definitions/app.Response'
  14408. security:
  14409. - ApiKeyAuth: []
  14410. summary: 我的优惠卷持仓查询
  14411. tags:
  14412. - 定制【海商报业】
  14413. /HSBY/QueryMyCoupons:
  14414. get:
  14415. parameters:
  14416. - description: 资金账户列表,格式:1,2,3
  14417. in: query
  14418. name: accountIDs
  14419. required: true
  14420. type: string
  14421. - description: 商品ID, 一般与sellUserID配套传入
  14422. in: query
  14423. name: goodsID
  14424. type: integer
  14425. - description: 卖方UserID
  14426. in: query
  14427. name: sellUserID
  14428. type: integer
  14429. produces:
  14430. - application/json
  14431. responses:
  14432. "200":
  14433. description: OK
  14434. schema:
  14435. $ref: '#/definitions/models.MyCoupon'
  14436. "500":
  14437. description: Internal Server Error
  14438. schema:
  14439. $ref: '#/definitions/app.Response'
  14440. security:
  14441. - ApiKeyAuth: []
  14442. summary: 我的优惠卷查询
  14443. tags:
  14444. - 定制【海商报业】
  14445. /HSBY/QueryMyPayOrders:
  14446. get:
  14447. parameters:
  14448. - description: 页码
  14449. in: query
  14450. name: page
  14451. type: integer
  14452. - description: 每页条数
  14453. in: query
  14454. name: pagesize
  14455. type: integer
  14456. - description: 资金账户列表,格式:1,2,3
  14457. in: query
  14458. name: accountIDs
  14459. required: true
  14460. type: string
  14461. - description: 买方委托单号
  14462. in: query
  14463. name: buyOrderID
  14464. type: integer
  14465. - description: 卖方委托单号
  14466. in: query
  14467. name: sellOrderID
  14468. type: integer
  14469. produces:
  14470. - application/json
  14471. responses:
  14472. "200":
  14473. description: OK
  14474. schema:
  14475. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14476. "500":
  14477. description: Internal Server Error
  14478. schema:
  14479. $ref: '#/definitions/app.Response'
  14480. security:
  14481. - ApiKeyAuth: []
  14482. summary: 获取我的订单中待付款信息
  14483. tags:
  14484. - 定制【海商报业】
  14485. /HSBY/QueryMyUsedCoupon:
  14486. get:
  14487. parameters:
  14488. - description: 资金账户列表,格式:1,2,3
  14489. in: query
  14490. name: accountIDs
  14491. required: true
  14492. type: string
  14493. produces:
  14494. - application/json
  14495. responses:
  14496. "200":
  14497. description: OK
  14498. schema:
  14499. $ref: '#/definitions/models.MyUsedCoupon'
  14500. "500":
  14501. description: Internal Server Error
  14502. schema:
  14503. $ref: '#/definitions/app.Response'
  14504. security:
  14505. - ApiKeyAuth: []
  14506. summary: 已使用优惠卷查询
  14507. tags:
  14508. - 定制【海商报业】
  14509. /HSBY/QueryProvincesAndCities:
  14510. get:
  14511. description: 查询结果只包括二级市场商品已关连的省市信息。
  14512. parameters:
  14513. - description: 省ID
  14514. in: query
  14515. name: provinceID
  14516. type: integer
  14517. produces:
  14518. - application/json
  14519. responses:
  14520. "200":
  14521. description: OK
  14522. schema:
  14523. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14524. "500":
  14525. description: Internal Server Error
  14526. schema:
  14527. $ref: '#/definitions/app.Response'
  14528. security:
  14529. - ApiKeyAuth: []
  14530. summary: 查询省市信息(不包括区)
  14531. tags:
  14532. - 定制【海商报业】
  14533. /HSBY/SetHsbyMyPackagesStatus:
  14534. post:
  14535. parameters:
  14536. - description: 提货单号
  14537. in: query
  14538. name: takeOrderID
  14539. required: true
  14540. type: string
  14541. - description: 资金账号
  14542. in: query
  14543. name: accountID
  14544. required: true
  14545. type: integer
  14546. produces:
  14547. - application/json
  14548. responses:
  14549. "200":
  14550. description: OK
  14551. schema:
  14552. $ref: '#/definitions/app.Response'
  14553. "500":
  14554. description: Internal Server Error
  14555. schema:
  14556. $ref: '#/definitions/app.Response'
  14557. security:
  14558. - ApiKeyAuth: []
  14559. summary: 设置我的包裹已收货状态
  14560. tags:
  14561. - 定制【海商报业】
  14562. /Market/QueryGoodsesByLoginID:
  14563. get:
  14564. parameters:
  14565. - description: 登录账号
  14566. in: query
  14567. name: loginID
  14568. required: true
  14569. type: integer
  14570. - description: 市场ID列表,格式:1,2,3
  14571. in: query
  14572. name: marketIDs
  14573. type: string
  14574. produces:
  14575. - application/json
  14576. responses:
  14577. "200":
  14578. description: OK
  14579. schema:
  14580. $ref: '#/definitions/models.Goods'
  14581. "500":
  14582. description: Internal Server Error
  14583. schema:
  14584. $ref: '#/definitions/app.Response'
  14585. security:
  14586. - ApiKeyAuth: []
  14587. summary: 获取登录账号有权限的商品信息
  14588. tags:
  14589. - 通用市场
  14590. /Market/QueryMarketRun:
  14591. get:
  14592. parameters:
  14593. - description: 市场ID,不传返回所有
  14594. in: query
  14595. name: marketID
  14596. type: integer
  14597. produces:
  14598. - application/json
  14599. responses:
  14600. "200":
  14601. description: OK
  14602. schema:
  14603. $ref: '#/definitions/models.Marketrun'
  14604. "500":
  14605. description: Internal Server Error
  14606. schema:
  14607. $ref: '#/definitions/app.Response'
  14608. security:
  14609. - ApiKeyAuth: []
  14610. summary: 查询市场运行信息
  14611. tags:
  14612. - 通用市场
  14613. /Market/QueryMarketsByLoginID:
  14614. get:
  14615. parameters:
  14616. - description: 登录账号
  14617. in: query
  14618. name: loginID
  14619. required: true
  14620. type: integer
  14621. produces:
  14622. - application/json
  14623. responses:
  14624. "200":
  14625. description: OK
  14626. schema:
  14627. $ref: '#/definitions/models.Market'
  14628. "500":
  14629. description: Internal Server Error
  14630. schema:
  14631. $ref: '#/definitions/app.Response'
  14632. security:
  14633. - ApiKeyAuth: []
  14634. summary: 获取登录账号有权限的市场信息
  14635. tags:
  14636. - 通用市场
  14637. /Order/QueryHisTradeDetail:
  14638. get:
  14639. parameters:
  14640. - description: 资金账户 - 格式:1,2,3
  14641. in: query
  14642. name: accountID
  14643. required: true
  14644. type: string
  14645. - description: 成交单号
  14646. in: query
  14647. name: tradeID
  14648. type: integer
  14649. - description: 委托单号
  14650. in: query
  14651. name: orderID
  14652. type: integer
  14653. - description: 交易模式 - 格式:1,2,3
  14654. in: query
  14655. name: tradeMode
  14656. type: string
  14657. - description: 委托单据类型
  14658. in: query
  14659. name: buildType
  14660. type: integer
  14661. - description: 成交类别 - 格式:1,2,3
  14662. in: query
  14663. name: tradeType
  14664. type: string
  14665. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14666. in: query
  14667. name: startDate
  14668. type: string
  14669. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14670. in: query
  14671. name: endDate
  14672. type: string
  14673. produces:
  14674. - application/json
  14675. responses:
  14676. "200":
  14677. description: OK
  14678. schema:
  14679. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14680. "500":
  14681. description: Internal Server Error
  14682. schema:
  14683. $ref: '#/definitions/app.Response'
  14684. security:
  14685. - ApiKeyAuth: []
  14686. summary: 历史成交单查询(合约市场)
  14687. tags:
  14688. - 通用单据
  14689. /Order/QueryHisTradeOrderDetail:
  14690. get:
  14691. parameters:
  14692. - description: 资金账户 - 格式:1,2,3
  14693. in: query
  14694. name: accountID
  14695. required: true
  14696. type: string
  14697. - description: 交易模式 - 格式:1,2,3
  14698. in: query
  14699. name: tradeMode
  14700. type: string
  14701. - description: 委托状态 - 格式:1,2,3
  14702. in: query
  14703. name: orderStatus
  14704. type: string
  14705. - description: 委托单号
  14706. in: query
  14707. name: orderID
  14708. type: integer
  14709. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14710. in: query
  14711. name: startDate
  14712. type: string
  14713. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14714. in: query
  14715. name: endDate
  14716. type: string
  14717. produces:
  14718. - application/json
  14719. responses:
  14720. "200":
  14721. description: OK
  14722. schema:
  14723. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  14724. "500":
  14725. description: Internal Server Error
  14726. schema:
  14727. $ref: '#/definitions/app.Response'
  14728. security:
  14729. - ApiKeyAuth: []
  14730. summary: 历史委托单查询请求(合约市场)
  14731. tags:
  14732. - 通用单据
  14733. /Order/QueryTradeDetail:
  14734. get:
  14735. parameters:
  14736. - description: 资金账户 - 格式:1,2,3
  14737. in: query
  14738. name: accountID
  14739. required: true
  14740. type: string
  14741. - description: 成交单号
  14742. in: query
  14743. name: tradeID
  14744. type: integer
  14745. - description: 委托单号
  14746. in: query
  14747. name: orderID
  14748. type: integer
  14749. - description: 交易模式 - 格式:1,2,3
  14750. in: query
  14751. name: tradeMode
  14752. type: string
  14753. - description: 委托单据类型
  14754. in: query
  14755. name: buildType
  14756. type: integer
  14757. - description: 成交类别 - 格式:1,2,3
  14758. in: query
  14759. name: tradeType
  14760. type: string
  14761. produces:
  14762. - application/json
  14763. responses:
  14764. "200":
  14765. description: OK
  14766. schema:
  14767. $ref: '#/definitions/order.QueryTradeDetailRsp'
  14768. "500":
  14769. description: Internal Server Error
  14770. schema:
  14771. $ref: '#/definitions/app.Response'
  14772. security:
  14773. - ApiKeyAuth: []
  14774. summary: 成交单查询(合约市场)
  14775. tags:
  14776. - 通用单据
  14777. /Order/QueryTradeOrderDetail:
  14778. get:
  14779. parameters:
  14780. - description: 资金账户 - 格式:1,2,3
  14781. in: query
  14782. name: accountID
  14783. required: true
  14784. type: string
  14785. - description: 交易模式 - 格式:1,2,3
  14786. in: query
  14787. name: tradeMode
  14788. type: string
  14789. - description: 委托状态 - 格式:1,2,3
  14790. in: query
  14791. name: orderStatus
  14792. type: string
  14793. - description: 委托单号
  14794. in: query
  14795. name: orderID
  14796. type: integer
  14797. produces:
  14798. - application/json
  14799. responses:
  14800. "200":
  14801. description: OK
  14802. schema:
  14803. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  14804. "500":
  14805. description: Internal Server Error
  14806. schema:
  14807. $ref: '#/definitions/app.Response'
  14808. security:
  14809. - ApiKeyAuth: []
  14810. summary: 委托单查询请求(合约市场)
  14811. tags:
  14812. - 通用单据
  14813. /Order/QueryTradePosition:
  14814. get:
  14815. parameters:
  14816. - description: 资金账户 - 格式:1,2,3
  14817. in: query
  14818. name: accountID
  14819. required: true
  14820. type: string
  14821. - description: 交易模式 - 格式:1,2,3
  14822. in: query
  14823. name: tradeMode
  14824. type: string
  14825. produces:
  14826. - application/json
  14827. responses:
  14828. "200":
  14829. description: OK
  14830. schema:
  14831. $ref: '#/definitions/order.QueryTradePositionRsp'
  14832. "500":
  14833. description: Internal Server Error
  14834. schema:
  14835. $ref: '#/definitions/app.Response'
  14836. security:
  14837. - ApiKeyAuth: []
  14838. summary: 持仓汇总查询(合约市场)
  14839. tags:
  14840. - 通用单据
  14841. /Quote/QueryHistoryDatas:
  14842. get:
  14843. parameters:
  14844. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  14845. 日线'
  14846. in: query
  14847. name: cycleType
  14848. required: true
  14849. type: integer
  14850. - description: 商品代码
  14851. in: query
  14852. name: goodsCode
  14853. required: true
  14854. type: string
  14855. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14856. in: query
  14857. name: startTime
  14858. type: string
  14859. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14860. in: query
  14861. name: endTime
  14862. type: string
  14863. - description: 条数
  14864. in: query
  14865. name: count
  14866. type: integer
  14867. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14868. in: query
  14869. name: isAsc
  14870. type: boolean
  14871. produces:
  14872. - application/json
  14873. responses:
  14874. "200":
  14875. description: OK
  14876. schema:
  14877. $ref: '#/definitions/quote.HistoryData'
  14878. "500":
  14879. description: Internal Server Error
  14880. schema:
  14881. $ref: '#/definitions/app.Response'
  14882. security:
  14883. - ApiKeyAuth: []
  14884. summary: 查询行情历史数据
  14885. tags:
  14886. - 行情服务
  14887. /Quote/QueryHistoryTikDatas:
  14888. get:
  14889. parameters:
  14890. - description: 商品代码
  14891. in: query
  14892. name: goodsCode
  14893. required: true
  14894. type: string
  14895. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14896. in: query
  14897. name: startTime
  14898. type: string
  14899. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14900. in: query
  14901. name: endTime
  14902. type: string
  14903. - description: 条数
  14904. in: query
  14905. name: count
  14906. type: integer
  14907. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14908. in: query
  14909. name: isAsc
  14910. type: boolean
  14911. produces:
  14912. - application/json
  14913. responses:
  14914. "200":
  14915. description: OK
  14916. schema:
  14917. $ref: '#/definitions/quote.HistoryTikData'
  14918. "500":
  14919. description: Internal Server Error
  14920. schema:
  14921. $ref: '#/definitions/app.Response'
  14922. security:
  14923. - ApiKeyAuth: []
  14924. summary: 查询行情Tik数据
  14925. tags:
  14926. - 行情服务
  14927. /Quote/QueryQuoteDay:
  14928. get:
  14929. parameters:
  14930. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  14931. in: query
  14932. name: goodsCodes
  14933. required: true
  14934. type: string
  14935. produces:
  14936. - application/json
  14937. responses:
  14938. "200":
  14939. description: OK
  14940. schema:
  14941. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  14942. "500":
  14943. description: Internal Server Error
  14944. schema:
  14945. $ref: '#/definitions/app.Response'
  14946. security:
  14947. - ApiKeyAuth: []
  14948. summary: 获取商品盘面信息
  14949. tags:
  14950. - 行情服务
  14951. /Quote/QueryTSData:
  14952. get:
  14953. parameters:
  14954. - description: 商品代码
  14955. in: query
  14956. name: goodsCode
  14957. required: true
  14958. type: string
  14959. produces:
  14960. - application/json
  14961. responses:
  14962. "200":
  14963. description: OK
  14964. schema:
  14965. $ref: '#/definitions/quote.QueryTSDataRsp'
  14966. "500":
  14967. description: Internal Server Error
  14968. schema:
  14969. $ref: '#/definitions/app.Response'
  14970. security:
  14971. - ApiKeyAuth: []
  14972. summary: 分时图数据查询
  14973. tags:
  14974. - 行情服务
  14975. /SZDZ/QueryConvertConfig:
  14976. get:
  14977. parameters:
  14978. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14979. 6:交易转花生米(不设置)
  14980. in: query
  14981. name: convertType
  14982. type: integer
  14983. - description: 外部商品代码[JD\PD]
  14984. in: query
  14985. name: outerGoodsCode
  14986. type: string
  14987. - description: 内部商品ID列表[交易],格式:1,2,3
  14988. in: query
  14989. name: innerGoodsIDs
  14990. type: string
  14991. produces:
  14992. - application/json
  14993. responses:
  14994. "200":
  14995. description: OK
  14996. schema:
  14997. $ref: '#/definitions/models.Szdz3convertconfig'
  14998. "500":
  14999. description: Internal Server Error
  15000. schema:
  15001. $ref: '#/definitions/app.Response'
  15002. security:
  15003. - ApiKeyAuth: []
  15004. summary: 查询交易系统转换设置
  15005. tags:
  15006. - 定制【尚志大宗】
  15007. /SZDZ/QueryConvertLog:
  15008. get:
  15009. parameters:
  15010. - description: 资金账户 - 格式:1,2,3
  15011. in: query
  15012. name: accountID
  15013. required: true
  15014. type: string
  15015. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15016. in: query
  15017. name: startDate
  15018. type: string
  15019. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15020. in: query
  15021. name: endDate
  15022. type: string
  15023. produces:
  15024. - application/json
  15025. responses:
  15026. "200":
  15027. description: OK
  15028. schema:
  15029. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15030. "500":
  15031. description: Internal Server Error
  15032. schema:
  15033. $ref: '#/definitions/app.Response'
  15034. security:
  15035. - ApiKeyAuth: []
  15036. summary: 交易系统转换流水查询
  15037. tags:
  15038. - 定制【尚志大宗】
  15039. /SZDZ/QueryGoodsPickup:
  15040. get:
  15041. parameters:
  15042. - description: 资金账户 - 格式:1,2,3
  15043. in: query
  15044. name: accountID
  15045. required: true
  15046. type: string
  15047. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15048. in: query
  15049. name: takeOrderStatus
  15050. type: integer
  15051. produces:
  15052. - application/json
  15053. responses:
  15054. "200":
  15055. description: OK
  15056. schema:
  15057. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15058. "500":
  15059. description: Internal Server Error
  15060. schema:
  15061. $ref: '#/definitions/app.Response'
  15062. security:
  15063. - ApiKeyAuth: []
  15064. summary: 商品提货单查询
  15065. tags:
  15066. - 定制【尚志大宗】
  15067. /SZDZ/QueryRecieptOrder:
  15068. get:
  15069. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15070. parameters:
  15071. - description: 页码
  15072. in: query
  15073. name: page
  15074. type: integer
  15075. - description: 每页条数
  15076. in: query
  15077. name: pagesize
  15078. type: integer
  15079. - description: 商品ID
  15080. in: query
  15081. name: goodsID
  15082. required: true
  15083. type: integer
  15084. - description: 所属账户名称
  15085. in: query
  15086. name: accountName
  15087. type: string
  15088. - description: 市场ID
  15089. in: query
  15090. name: marketID
  15091. type: integer
  15092. - description: 方向 - 0:买 1:卖
  15093. in: query
  15094. name: buyorsell
  15095. required: true
  15096. type: integer
  15097. produces:
  15098. - application/json
  15099. responses:
  15100. "200":
  15101. description: OK
  15102. schema:
  15103. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15104. "500":
  15105. description: Internal Server Error
  15106. schema:
  15107. $ref: '#/definitions/app.Response'
  15108. security:
  15109. - ApiKeyAuth: []
  15110. summary: 点选挂牌委托单据查询(摘牌大厅)
  15111. tags:
  15112. - 定制【尚志大宗】
  15113. /SZDZ/QuerySZDZTradePosition:
  15114. get:
  15115. parameters:
  15116. - description: 资金账户
  15117. in: query
  15118. name: accountID
  15119. required: true
  15120. type: integer
  15121. produces:
  15122. - application/json
  15123. responses:
  15124. "200":
  15125. description: OK
  15126. schema:
  15127. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  15128. "500":
  15129. description: Internal Server Error
  15130. schema:
  15131. $ref: '#/definitions/app.Response'
  15132. security:
  15133. - ApiKeyAuth: []
  15134. summary: 持仓汇总查询(尚志大宗)
  15135. tags:
  15136. - 定制【尚志大宗】
  15137. /SZDZ/SearchWhite:
  15138. get:
  15139. parameters:
  15140. - description: 用户ID
  15141. in: query
  15142. name: userID
  15143. required: true
  15144. type: integer
  15145. produces:
  15146. - application/json
  15147. responses:
  15148. "200":
  15149. description: OK
  15150. schema:
  15151. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15152. "500":
  15153. description: Internal Server Error
  15154. schema:
  15155. $ref: '#/definitions/app.Response'
  15156. security:
  15157. - ApiKeyAuth: []
  15158. summary: 搜索白名单
  15159. tags:
  15160. - 定制【尚志大宗】
  15161. /Search/SearchGoodses:
  15162. get:
  15163. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15164. parameters:
  15165. - description: 检索内容
  15166. in: query
  15167. name: content
  15168. required: true
  15169. type: string
  15170. - description: 交易模式,格式:1,2,3
  15171. in: query
  15172. name: tradeModes
  15173. type: string
  15174. produces:
  15175. - application/json
  15176. responses:
  15177. "200":
  15178. description: OK
  15179. schema:
  15180. $ref: '#/definitions/models.SearchGoods'
  15181. "500":
  15182. description: Internal Server Error
  15183. schema:
  15184. $ref: '#/definitions/app.Response'
  15185. summary: 检索商品信息
  15186. tags:
  15187. - 检索服务
  15188. /TaAccount/GetTaAccounts:
  15189. get:
  15190. parameters:
  15191. - description: 登录账户
  15192. in: query
  15193. name: loginID
  15194. required: true
  15195. type: integer
  15196. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15197. in: query
  15198. name: taAccountType
  15199. type: integer
  15200. produces:
  15201. - application/json
  15202. responses:
  15203. "200":
  15204. description: OK
  15205. schema:
  15206. $ref: '#/definitions/models.Taaccount'
  15207. "500":
  15208. description: Internal Server Error
  15209. schema:
  15210. $ref: '#/definitions/app.Response'
  15211. security:
  15212. - ApiKeyAuth: []
  15213. summary: 获取资金账户信息
  15214. tags:
  15215. - 资金账户
  15216. /TaAccount/QueryAmountLog:
  15217. get:
  15218. parameters:
  15219. - description: 页码
  15220. in: query
  15221. name: page
  15222. type: integer
  15223. - description: 每页条数
  15224. in: query
  15225. name: pagesize
  15226. type: integer
  15227. - description: 资金账户 - 格式:1,2,3
  15228. in: query
  15229. name: accountID
  15230. required: true
  15231. type: string
  15232. - description: 资金操作类型 - 格式:1,2,3
  15233. in: query
  15234. name: OperateType
  15235. type: string
  15236. produces:
  15237. - application/json
  15238. responses:
  15239. "200":
  15240. description: OK
  15241. schema:
  15242. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15243. "500":
  15244. description: Internal Server Error
  15245. schema:
  15246. $ref: '#/definitions/app.Response'
  15247. security:
  15248. - ApiKeyAuth: []
  15249. summary: 资金流水查询(当前)
  15250. tags:
  15251. - 资金账户
  15252. /TaAccount/QueryHisAmountLog:
  15253. get:
  15254. parameters:
  15255. - description: 页码
  15256. in: query
  15257. name: page
  15258. type: integer
  15259. - description: 每页条数
  15260. in: query
  15261. name: pagesize
  15262. type: integer
  15263. - description: 资金账户 - 格式:1,2,3
  15264. in: query
  15265. name: accountID
  15266. required: true
  15267. type: string
  15268. - description: 资金操作类型 - 格式:1,2,3
  15269. in: query
  15270. name: OperateType
  15271. type: string
  15272. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15273. in: query
  15274. name: startDate
  15275. type: string
  15276. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15277. in: query
  15278. name: endDate
  15279. type: string
  15280. produces:
  15281. - application/json
  15282. responses:
  15283. "200":
  15284. description: OK
  15285. schema:
  15286. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15287. "500":
  15288. description: Internal Server Error
  15289. schema:
  15290. $ref: '#/definitions/app.Response'
  15291. security:
  15292. - ApiKeyAuth: []
  15293. summary: 资金流水查询(历史)
  15294. tags:
  15295. - 资金账户
  15296. /Trade/QueryRecieptOrder:
  15297. get:
  15298. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15299. parameters:
  15300. - description: 页码
  15301. in: query
  15302. name: page
  15303. type: integer
  15304. - description: 每页条数
  15305. in: query
  15306. name: pagesize
  15307. type: integer
  15308. - description: 商品ID
  15309. in: query
  15310. name: goodsID
  15311. required: true
  15312. type: integer
  15313. - description: 所属账户名称
  15314. in: query
  15315. name: accountName
  15316. type: string
  15317. - description: 市场ID
  15318. in: query
  15319. name: marketID
  15320. type: integer
  15321. - description: 方向 - 0:买 1:卖
  15322. in: query
  15323. name: buyorsell
  15324. required: true
  15325. type: integer
  15326. produces:
  15327. - application/json
  15328. responses:
  15329. "200":
  15330. description: OK
  15331. schema:
  15332. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15333. "500":
  15334. description: Internal Server Error
  15335. schema:
  15336. $ref: '#/definitions/app.Response'
  15337. security:
  15338. - ApiKeyAuth: []
  15339. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15340. tags:
  15341. - 通用交易
  15342. /User/AddMessageBoard:
  15343. post:
  15344. parameters:
  15345. - description: 用户ID
  15346. in: query
  15347. name: userID
  15348. required: true
  15349. type: integer
  15350. - description: 留言信息
  15351. in: query
  15352. name: message
  15353. required: true
  15354. type: string
  15355. - description: 联系电话
  15356. in: query
  15357. name: contactNum
  15358. required: true
  15359. type: string
  15360. produces:
  15361. - application/json
  15362. responses:
  15363. "200":
  15364. description: OK
  15365. schema:
  15366. $ref: '#/definitions/app.Response'
  15367. "500":
  15368. description: Internal Server Error
  15369. schema:
  15370. $ref: '#/definitions/app.Response'
  15371. security:
  15372. - ApiKeyAuth: []
  15373. summary: 添加用户留言板信息
  15374. tags:
  15375. - 用户信息
  15376. /User/AddUserFavoriteGoods:
  15377. post:
  15378. parameters:
  15379. - description: 用户ID
  15380. in: query
  15381. name: userID
  15382. required: true
  15383. type: integer
  15384. - description: 商品ID
  15385. in: query
  15386. name: goodsID
  15387. required: true
  15388. type: integer
  15389. produces:
  15390. - application/json
  15391. responses:
  15392. "200":
  15393. description: OK
  15394. schema:
  15395. $ref: '#/definitions/app.Response'
  15396. "500":
  15397. description: Internal Server Error
  15398. schema:
  15399. $ref: '#/definitions/app.Response'
  15400. security:
  15401. - ApiKeyAuth: []
  15402. summary: 添加用户商品收藏信息
  15403. tags:
  15404. - 用户信息
  15405. /User/GetLoginID:
  15406. get:
  15407. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15408. parameters:
  15409. - description: 登录代码
  15410. in: query
  15411. name: username
  15412. required: true
  15413. type: string
  15414. produces:
  15415. - application/json
  15416. responses:
  15417. "200":
  15418. description: OK
  15419. schema:
  15420. $ref: '#/definitions/app.Response'
  15421. "500":
  15422. description: Internal Server Error
  15423. schema:
  15424. $ref: '#/definitions/app.Response'
  15425. summary: 获取登录ID
  15426. tags:
  15427. - 用户信息
  15428. /User/GetUserAccount:
  15429. get:
  15430. parameters:
  15431. - description: 用户ID
  15432. in: query
  15433. name: userID
  15434. required: true
  15435. type: integer
  15436. produces:
  15437. - application/json
  15438. responses:
  15439. "200":
  15440. description: OK
  15441. schema:
  15442. $ref: '#/definitions/models.Useraccount'
  15443. "500":
  15444. description: Internal Server Error
  15445. schema:
  15446. $ref: '#/definitions/app.Response'
  15447. security:
  15448. - ApiKeyAuth: []
  15449. summary: 获取用户账号信息
  15450. tags:
  15451. - 用户信息
  15452. /User/GetUserAuthStatus:
  15453. get:
  15454. parameters:
  15455. - description: 用户ID
  15456. in: query
  15457. name: userID
  15458. required: true
  15459. type: integer
  15460. produces:
  15461. - application/json
  15462. responses:
  15463. "200":
  15464. description: OK
  15465. schema:
  15466. $ref: '#/definitions/app.Response'
  15467. "500":
  15468. description: Internal Server Error
  15469. schema:
  15470. $ref: '#/definitions/app.Response'
  15471. security:
  15472. - ApiKeyAuth: []
  15473. summary: 获取用户实名认证状态
  15474. tags:
  15475. - 用户信息
  15476. /User/LoginQuery:
  15477. get:
  15478. parameters:
  15479. - description: 登录账号
  15480. in: query
  15481. name: loginID
  15482. required: true
  15483. type: integer
  15484. produces:
  15485. - application/json
  15486. responses:
  15487. "200":
  15488. description: OK
  15489. schema:
  15490. $ref: '#/definitions/user.LoginQueryRsp'
  15491. "500":
  15492. description: Internal Server Error
  15493. schema:
  15494. $ref: '#/definitions/app.Response'
  15495. security:
  15496. - ApiKeyAuth: []
  15497. summary: 账户登录后信息查询
  15498. tags:
  15499. - 用户信息
  15500. /User/QueryMessageBoard:
  15501. get:
  15502. parameters:
  15503. - description: 用户ID
  15504. in: query
  15505. name: userID
  15506. required: true
  15507. type: integer
  15508. produces:
  15509. - application/json
  15510. responses:
  15511. "200":
  15512. description: OK
  15513. schema:
  15514. $ref: '#/definitions/models.Messageboard'
  15515. "500":
  15516. description: Internal Server Error
  15517. schema:
  15518. $ref: '#/definitions/app.Response'
  15519. security:
  15520. - ApiKeyAuth: []
  15521. summary: 获取用户留言板信息
  15522. tags:
  15523. - 用户信息
  15524. /User/QueryUserFavoriteGoodses:
  15525. get:
  15526. parameters:
  15527. - description: 用户ID
  15528. in: query
  15529. name: userID
  15530. required: true
  15531. type: integer
  15532. produces:
  15533. - application/json
  15534. responses:
  15535. "200":
  15536. description: OK
  15537. schema:
  15538. $ref: '#/definitions/models.Userfavoritegoods'
  15539. "500":
  15540. description: Internal Server Error
  15541. schema:
  15542. $ref: '#/definitions/app.Response'
  15543. security:
  15544. - ApiKeyAuth: []
  15545. summary: 获取用户商品收藏信息
  15546. tags:
  15547. - 用户信息
  15548. /User/QueryUserInfo:
  15549. get:
  15550. parameters:
  15551. - description: 用户ID
  15552. in: query
  15553. name: userID
  15554. required: true
  15555. type: integer
  15556. - description: 是否解密
  15557. in: query
  15558. name: isDecrypt
  15559. type: boolean
  15560. produces:
  15561. - application/json
  15562. responses:
  15563. "200":
  15564. description: OK
  15565. schema:
  15566. $ref: '#/definitions/models.Userinfo'
  15567. "500":
  15568. description: Internal Server Error
  15569. schema:
  15570. $ref: '#/definitions/app.Response'
  15571. security:
  15572. - ApiKeyAuth: []
  15573. summary: 获取用户信息
  15574. tags:
  15575. - 用户信息
  15576. /User/QueryUserReferNum:
  15577. get:
  15578. parameters:
  15579. - description: 用户ID
  15580. in: query
  15581. name: userID
  15582. required: true
  15583. type: integer
  15584. produces:
  15585. - application/json
  15586. responses:
  15587. "200":
  15588. description: OK
  15589. schema:
  15590. $ref: '#/definitions/app.Response'
  15591. "500":
  15592. description: Internal Server Error
  15593. schema:
  15594. $ref: '#/definitions/app.Response'
  15595. summary: 获取用户邀请码
  15596. tags:
  15597. - 用户信息
  15598. /User/RemoveUserFavoriteGoods:
  15599. post:
  15600. parameters:
  15601. - description: 用户ID
  15602. in: query
  15603. name: userID
  15604. required: true
  15605. type: integer
  15606. - description: 商品ID
  15607. in: query
  15608. name: goodsID
  15609. required: true
  15610. type: integer
  15611. produces:
  15612. - application/json
  15613. responses:
  15614. "200":
  15615. description: OK
  15616. schema:
  15617. $ref: '#/definitions/app.Response'
  15618. "500":
  15619. description: Internal Server Error
  15620. schema:
  15621. $ref: '#/definitions/app.Response'
  15622. security:
  15623. - ApiKeyAuth: []
  15624. summary: 移除用户商品收藏信息
  15625. tags:
  15626. - 用户信息
  15627. /User/UpdateUserAccountStatus:
  15628. post:
  15629. parameters:
  15630. - description: 用户ID
  15631. in: query
  15632. name: userID
  15633. required: true
  15634. type: integer
  15635. - description: 账户状态 - 4:正常 6:注销(停用)
  15636. in: query
  15637. name: accountStatus
  15638. required: true
  15639. type: integer
  15640. produces:
  15641. - application/json
  15642. responses:
  15643. "200":
  15644. description: OK
  15645. schema:
  15646. $ref: '#/definitions/app.Response'
  15647. "500":
  15648. description: Internal Server Error
  15649. schema:
  15650. $ref: '#/definitions/app.Response'
  15651. security:
  15652. - ApiKeyAuth: []
  15653. summary: 更新用户状态
  15654. tags:
  15655. - 用户信息
  15656. /WRTrade/GetAllDeliveryGoods:
  15657. get:
  15658. produces:
  15659. - application/json
  15660. - application/json
  15661. responses:
  15662. "200":
  15663. description: OK
  15664. schema:
  15665. $ref: '#/definitions/app.Response'
  15666. "500":
  15667. description: Internal Server Error
  15668. schema:
  15669. $ref: '#/definitions/app.Response'
  15670. security:
  15671. - ApiKeyAuth: []
  15672. - ApiKeyAuth: []
  15673. summary: 获取带仓单分类的种类信息
  15674. tags:
  15675. - 仓单贸易
  15676. - 仓单贸易
  15677. securityDefinitions:
  15678. ApiKeyAuth:
  15679. in: header
  15680. name: Authorization
  15681. type: apiKey
  15682. swagger: "2.0"