swagger.yaml 439 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3Contract:
  3076. properties:
  3077. amount:
  3078. description: 金额 [1:一口价、3:暂定价]
  3079. type: number
  3080. attachment:
  3081. description: 附件
  3082. type: string
  3083. auditremark:
  3084. description: 审核意见
  3085. type: string
  3086. audittime:
  3087. description: 审核时间
  3088. type: string
  3089. brandname:
  3090. description: 品牌名称
  3091. type: string
  3092. buyuserid:
  3093. description: 采购方ID
  3094. type: integer
  3095. buyusername:
  3096. description: 采购方名称
  3097. type: string
  3098. contracctstatus:
  3099. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3100. type: integer
  3101. contractmargin:
  3102. description: 合同保证金
  3103. type: number
  3104. contractno:
  3105. description: 现货合同编号
  3106. type: string
  3107. contracttype:
  3108. description: 现货合同类型 - 1:采购 -1:销售
  3109. type: integer
  3110. convertfactor:
  3111. description: 标仓系数(品类)
  3112. type: number
  3113. createtime:
  3114. description: 创建时间
  3115. type: string
  3116. deliveryenddate:
  3117. description: 交收期(结束)
  3118. type: string
  3119. deliverygoodscode:
  3120. description: 现货品种代码
  3121. type: string
  3122. deliverygoodsid:
  3123. description: 现货品种ID
  3124. type: integer
  3125. deliverygoodsname:
  3126. description: 现货品种名称
  3127. type: string
  3128. deliverystartdate:
  3129. description: 交收期(开始)
  3130. type: string
  3131. enddate:
  3132. description: 点价结束日期 [2:点价 3:暂定价]
  3133. type: string
  3134. enumdicname:
  3135. description: 单位名称
  3136. type: string
  3137. goodscode:
  3138. description: 点价合约代码
  3139. type: string
  3140. goodsid:
  3141. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3142. type: integer
  3143. goodsname:
  3144. description: 点价商品名称
  3145. type: string
  3146. margin:
  3147. description: 当前保证金
  3148. type: number
  3149. price:
  3150. description: 价格\暂定价 [1:一口价、3:暂定价]
  3151. type: number
  3152. pricemove:
  3153. description: 升贴水 [2:点价 3:暂定价]
  3154. type: number
  3155. pricetype:
  3156. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3157. type: integer
  3158. producttype:
  3159. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3160. type: integer
  3161. qty:
  3162. description: 数量
  3163. type: number
  3164. remark:
  3165. description: 备注
  3166. type: string
  3167. selluserid:
  3168. description: 销售方ID
  3169. type: integer
  3170. sellusername:
  3171. description: 销售方名称
  3172. type: string
  3173. spotcontractid:
  3174. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3175. type: string
  3176. spotgoodsbrandid:
  3177. description: 现货品牌ID(DGFactoryItem表的ID)
  3178. type: integer
  3179. spotgoodsdesc:
  3180. description: 商品型号
  3181. type: string
  3182. startdate:
  3183. description: 点价开始日期 [2:点价 3:暂定价]
  3184. type: string
  3185. unitid:
  3186. description: 单位id(取品类上的单位id)
  3187. type: integer
  3188. updatetime:
  3189. description: 更新时间
  3190. type: string
  3191. userid:
  3192. description: 所属机构ID
  3193. type: integer
  3194. wrstandardcode:
  3195. description: 品类代码
  3196. type: string
  3197. wrstandardid:
  3198. description: 品类ID
  3199. type: integer
  3200. wrstandardname:
  3201. description: 品类名称
  3202. type: string
  3203. type: object
  3204. models.Ermcp3SellBuyContract:
  3205. properties:
  3206. accountname:
  3207. description: 账户名称
  3208. type: string
  3209. attachment:
  3210. description: 附件
  3211. type: string
  3212. audittime:
  3213. description: 审核时间
  3214. type: string
  3215. brandname:
  3216. description: 品牌名称
  3217. type: string
  3218. contracctstatus:
  3219. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3220. type: integer
  3221. contractmargin:
  3222. description: 合同保证金
  3223. type: number
  3224. contractno:
  3225. description: 合同编号
  3226. type: string
  3227. contracttype:
  3228. description: 合同类型 1-采购, -1-销售
  3229. type: integer
  3230. convertfactor:
  3231. description: 标仓系数(品类)
  3232. type: number
  3233. createtime:
  3234. description: 创建时间
  3235. type: string
  3236. daikaiamount:
  3237. description: 应收(开)票额
  3238. type: number
  3239. deliveryenddate:
  3240. description: 交割结束日
  3241. type: string
  3242. deliverygoodscode:
  3243. description: 现货品种代码
  3244. type: string
  3245. deliverygoodsid:
  3246. description: 现货商品ID
  3247. type: integer
  3248. deliverygoodsname:
  3249. description: 现货品种名称
  3250. type: string
  3251. deliverystartdate:
  3252. description: 交割开始日
  3253. type: string
  3254. enddate:
  3255. description: 点价结束日
  3256. type: string
  3257. enumdicname:
  3258. description: 单位名称
  3259. type: string
  3260. goodscode:
  3261. description: 点价商品代码
  3262. type: string
  3263. goodsid:
  3264. description: 点价商品ID
  3265. type: integer
  3266. goodsname:
  3267. description: 点价商品名称
  3268. type: string
  3269. invoiceamount:
  3270. description: 已开票额
  3271. type: number
  3272. loanamount:
  3273. description: 贷款总额=已定价额+调整金额
  3274. type: number
  3275. margin:
  3276. description: 保证金
  3277. type: number
  3278. payamount:
  3279. description: 已收付额(收款或付款)
  3280. type: number
  3281. preinvoiceamount:
  3282. description: 预收(开)票额
  3283. type: number
  3284. prepayamount:
  3285. description: 预收付额
  3286. type: number
  3287. price:
  3288. description: 价格
  3289. type: number
  3290. pricedamount:
  3291. description: 已定价额
  3292. type: number
  3293. pricedavg:
  3294. description: 已点均价
  3295. type: number
  3296. pricedqty:
  3297. description: 已定价量
  3298. type: number
  3299. pricemove:
  3300. description: 升贴水
  3301. type: number
  3302. pricetype:
  3303. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3304. type: integer
  3305. producttype:
  3306. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3307. type: integer
  3308. qty:
  3309. description: 合同量
  3310. type: number
  3311. reckonadjustamount:
  3312. description: 调整金额
  3313. type: number
  3314. reckonedamount:
  3315. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  3316. type: number
  3317. reckonotheramount:
  3318. description: 其它费用
  3319. type: number
  3320. reckonrealqty:
  3321. description: 已确定量
  3322. type: number
  3323. remark:
  3324. description: 备注
  3325. type: string
  3326. spotcontractid:
  3327. description: 合同ID
  3328. type: string
  3329. spotgoodsbrandid:
  3330. description: 现货品牌ID(DGFactoryItem表的ID)
  3331. type: integer
  3332. spotgoodsdesc:
  3333. description: 商品型号(商品规格)
  3334. type: string
  3335. startdate:
  3336. description: 点价开始日
  3337. type: string
  3338. totalamount:
  3339. description: 合计总额
  3340. type: number
  3341. unpayamount:
  3342. description: 应收付款额(应支付或应收款)
  3343. type: number
  3344. unpricedqty:
  3345. description: 未定价量
  3346. type: number
  3347. unsureqty:
  3348. description: 未确定量
  3349. type: number
  3350. userid:
  3351. description: 机构ID
  3352. type: integer
  3353. wrstandardcode:
  3354. description: 品类代码
  3355. type: string
  3356. wrstandardid:
  3357. description: 品类ID
  3358. type: integer
  3359. wrstandardname:
  3360. description: 品类名称
  3361. type: string
  3362. type: object
  3363. models.ErmcpAreaSpotDetailModel:
  3364. properties:
  3365. contracttype:
  3366. description: 合同类型 1-采购 -1-销售
  3367. type: integer
  3368. createtime:
  3369. description: 创建时间
  3370. type: string
  3371. enumdicname:
  3372. description: 现货商品单位名称
  3373. type: string
  3374. logtype:
  3375. description: 记录类型 1-套保 2-现货合同
  3376. type: integer
  3377. qty:
  3378. description: 数量
  3379. type: number
  3380. recordname:
  3381. description: 类型名称
  3382. type: string
  3383. relatedid:
  3384. description: 套保计划ID/现货合同ID
  3385. type: string
  3386. relatedno:
  3387. description: 编号
  3388. type: string
  3389. strtime:
  3390. description: 时间
  3391. type: string
  3392. wrstandardcode:
  3393. description: 现货商品代码
  3394. type: string
  3395. wrstandardname:
  3396. description: 现货商品名称
  3397. type: string
  3398. type: object
  3399. models.ErmcpAreaStock:
  3400. properties:
  3401. brandname:
  3402. description: 品牌名称
  3403. type: string
  3404. curstock:
  3405. description: 期末库存量(今日量)
  3406. type: number
  3407. deliverygoodsid:
  3408. description: 现货品种ID
  3409. type: integer
  3410. enumdicname:
  3411. description: 单位名称
  3412. type: string
  3413. modelname:
  3414. description: 型号名称
  3415. type: string
  3416. oristock:
  3417. description: 期初库存量(昨日量)
  3418. type: number
  3419. spotgoodsbrandid:
  3420. description: 现货品牌ID
  3421. type: integer
  3422. spotgoodsmodelid:
  3423. description: 现货型号ID
  3424. type: integer
  3425. todaybuyinqty:
  3426. description: 今日采购入库量
  3427. type: number
  3428. todayproduceinqty:
  3429. description: 今日生产入库量
  3430. type: number
  3431. todayproduceoutqty:
  3432. description: 今日生产出库量
  3433. type: number
  3434. todayselloutqty:
  3435. description: 今日销售出库量
  3436. type: number
  3437. unitid:
  3438. description: 单位id
  3439. type: integer
  3440. updatetime:
  3441. description: 更新时间
  3442. type: string
  3443. userid:
  3444. description: 机构ID
  3445. type: integer
  3446. username:
  3447. description: 机构名称
  3448. type: string
  3449. warehousecode:
  3450. description: 仓库代码
  3451. type: string
  3452. warehouseinfoid:
  3453. description: 仓库ID
  3454. type: string
  3455. warehousename:
  3456. description: 仓库名称
  3457. type: string
  3458. warehousetype:
  3459. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3460. type: integer
  3461. wrstandardcode:
  3462. description: 现货商品代码
  3463. type: string
  3464. wrstandardid:
  3465. description: 现货商品ID
  3466. type: string
  3467. wrstandardname:
  3468. description: 现货商品名称
  3469. type: string
  3470. type: object
  3471. models.ErmcpAreaStockApply:
  3472. properties:
  3473. applyid:
  3474. description: 申请人
  3475. type: integer
  3476. applyname:
  3477. description: 申请人名称
  3478. type: string
  3479. applyremark:
  3480. description: 申请备注
  3481. type: string
  3482. applysrc:
  3483. description: 申请来源 - 1:管理端 2:终端
  3484. type: integer
  3485. applystatus:
  3486. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3487. type: integer
  3488. applytime:
  3489. description: 申请时间
  3490. type: string
  3491. auditid:
  3492. description: 审核人
  3493. type: integer
  3494. auditname:
  3495. description: 审核人名称
  3496. type: string
  3497. auditremark:
  3498. description: 审核备注
  3499. type: string
  3500. auditsrc:
  3501. description: 审核来源 - 1:管理端 2:终端
  3502. type: integer
  3503. audittime:
  3504. description: 审核时间
  3505. type: string
  3506. audittradedate:
  3507. description: 审核交易日(yyyyMMdd)
  3508. type: string
  3509. brandname:
  3510. description: 品牌名称
  3511. type: string
  3512. buyuserid:
  3513. description: 采购方userid
  3514. type: integer
  3515. buyusername:
  3516. description: 采购方名称
  3517. type: string
  3518. contractno:
  3519. description: 合同编号
  3520. type: string
  3521. contractqty:
  3522. description: 合同量
  3523. type: number
  3524. contracttype:
  3525. description: 现货合同类型 - 1:采购 -1:销售
  3526. type: integer
  3527. deliverygoodsid:
  3528. description: 现货品种ID
  3529. type: integer
  3530. enumdicname:
  3531. description: 现货商品单位名称
  3532. type: string
  3533. inoutapplyid:
  3534. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3535. type: string
  3536. inouttype:
  3537. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3538. type: integer
  3539. modelname:
  3540. description: 型号名称
  3541. type: string
  3542. pricetype:
  3543. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3544. type: integer
  3545. qty:
  3546. description: 数量
  3547. type: number
  3548. selluserid:
  3549. description: 销售方userid
  3550. type: integer
  3551. sellusername:
  3552. description: 销售方名称
  3553. type: string
  3554. spotcontractid:
  3555. description: 关联现货合同ID
  3556. type: string
  3557. spotgoodsbrandid:
  3558. description: 现货品牌ID
  3559. type: integer
  3560. spotgoodsmodelid:
  3561. description: 现货型号ID
  3562. type: integer
  3563. unitid:
  3564. description: 单位id
  3565. type: integer
  3566. userid:
  3567. description: 机构ID
  3568. type: integer
  3569. warehousecode:
  3570. description: 仓库代码
  3571. type: string
  3572. warehouseinfoid:
  3573. description: 现货仓库ID
  3574. type: string
  3575. warehousename:
  3576. description: 仓库名称
  3577. type: string
  3578. warehousetype:
  3579. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3580. type: integer
  3581. wrstandardcode:
  3582. description: 现货商品代码
  3583. type: string
  3584. wrstandardid:
  3585. description: 现货商品ID
  3586. type: string
  3587. wrstandardname:
  3588. description: 现货商品名称
  3589. type: string
  3590. type: object
  3591. models.ErmcpAreaStockApplySum:
  3592. properties:
  3593. brandname:
  3594. description: 品牌名称
  3595. type: string
  3596. inouttype:
  3597. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3598. type: integer
  3599. modelname:
  3600. description: 型号名称
  3601. type: string
  3602. spotcontractid:
  3603. description: 关联现货合同ID
  3604. type: string
  3605. spotgoodsbrandid:
  3606. description: 品牌id
  3607. type: integer
  3608. spotgoodsmodelid:
  3609. description: 型号id
  3610. type: integer
  3611. totalqty:
  3612. description: 总数量
  3613. type: number
  3614. type: object
  3615. models.ErmcpAreaStockReport:
  3616. properties:
  3617. brandname:
  3618. description: 品牌名称
  3619. type: string
  3620. curstock:
  3621. description: 期末库存量
  3622. type: number
  3623. deliverygoodsid:
  3624. description: 现货品种ID
  3625. type: integer
  3626. enumdicname:
  3627. description: 单位名称
  3628. type: string
  3629. modelname:
  3630. description: 型号名称
  3631. type: string
  3632. oristock:
  3633. description: 期初库存量
  3634. type: number
  3635. spotgoodsbrandid:
  3636. description: 现货品牌ID
  3637. type: integer
  3638. spotgoodsmodelid:
  3639. description: 现货型号ID
  3640. type: integer
  3641. todaybuyinqty:
  3642. description: 今日采购入库量
  3643. type: number
  3644. todayproduceinqty:
  3645. description: 今日生产入库量
  3646. type: number
  3647. todayproduceoutqty:
  3648. description: 今日生产出库量
  3649. type: number
  3650. todayselloutqty:
  3651. description: 今日销售出库量
  3652. type: number
  3653. unitid:
  3654. description: 单位id
  3655. type: integer
  3656. updatetime:
  3657. description: 更新时间
  3658. type: string
  3659. userid:
  3660. description: 机构ID
  3661. type: integer
  3662. username:
  3663. description: 机构名称
  3664. type: string
  3665. warehousecode:
  3666. description: 仓库代码
  3667. type: string
  3668. warehouseinfoid:
  3669. description: 仓库ID
  3670. type: string
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. warehousetype:
  3675. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3676. type: integer
  3677. wrstandardcode:
  3678. description: 现货商品代码
  3679. type: string
  3680. wrstandardid:
  3681. description: 现货商品ID
  3682. type: string
  3683. wrstandardname:
  3684. description: 现货商品名称
  3685. type: string
  3686. type: object
  3687. models.ErmcpAvalidGoodsGroupModel:
  3688. properties:
  3689. goodsgroupid:
  3690. description: 期货品种id
  3691. type: integer
  3692. goodsgroupname:
  3693. description: 期货品种名称
  3694. type: string
  3695. goodunitid:
  3696. description: 品种单位id
  3697. type: integer
  3698. goodunitname:
  3699. description: 品种单位名称
  3700. type: string
  3701. outergroupcode:
  3702. description: 期货品种代码
  3703. type: string
  3704. type: object
  3705. models.ErmcpBizGroupEx:
  3706. properties:
  3707. acclist:
  3708. description: 账号列表
  3709. items:
  3710. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  3711. type: array
  3712. bizgroupid:
  3713. description: 业务分组id
  3714. type: integer
  3715. biztype:
  3716. description: 业务类型 1-套保 2-套利
  3717. type: integer
  3718. wrlist:
  3719. description: 现货商品表
  3720. items:
  3721. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  3722. type: array
  3723. type: object
  3724. models.ErmcpBizGroupSpotGoods:
  3725. properties:
  3726. areauserid:
  3727. description: 所属机构id
  3728. type: integer
  3729. bizgroupid:
  3730. description: 分组id
  3731. type: integer
  3732. biztype:
  3733. description: 业务类型 1-套保 2-套利
  3734. type: integer
  3735. deliverygoodscode:
  3736. description: 现货商品代码
  3737. type: string
  3738. deliverygoodsid:
  3739. description: 现货商品id
  3740. type: integer
  3741. deliverygoodsname:
  3742. description: 现货商品名称
  3743. type: string
  3744. unitid:
  3745. description: 现货商品单位id
  3746. type: integer
  3747. type: object
  3748. models.ErmcpBizGroupTaAccount:
  3749. properties:
  3750. accountid:
  3751. description: 账号id
  3752. type: string
  3753. accountname:
  3754. description: 账号名称
  3755. type: string
  3756. areauserid:
  3757. description: 所属机构id
  3758. type: integer
  3759. bizgroupid:
  3760. description: 业务分组id
  3761. type: integer
  3762. ismain:
  3763. description: 是否主账号 1-是 0-否
  3764. type: integer
  3765. type: object
  3766. models.ErmcpBrand:
  3767. properties:
  3768. brandid:
  3769. description: 品牌id
  3770. type: integer
  3771. brandname:
  3772. description: 品牌名称
  3773. type: string
  3774. deliverygoodsid:
  3775. description: 品种ID
  3776. type: integer
  3777. type: object
  3778. models.ErmcpDeliveryGoods:
  3779. properties:
  3780. agreeunit:
  3781. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  3782. type: integer
  3783. areauserid:
  3784. description: 所属机构
  3785. type: integer
  3786. auditflag:
  3787. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  3788. type: integer
  3789. categoryid:
  3790. description: 类别ID(SEQ_WRCATEGORY)
  3791. type: integer
  3792. deliverygoodscode:
  3793. description: 现货品种代码
  3794. type: string
  3795. deliverygoodsid:
  3796. description: 现货品种ID(SEQ_DELIVERYGOODS)
  3797. type: integer
  3798. deliverygoodsname:
  3799. description: 现货品种名称
  3800. type: string
  3801. deliverygoodstype:
  3802. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  3803. type: integer
  3804. dgstatus:
  3805. description: 品种状态 - 作废 - 0:未激活 1:正常
  3806. type: integer
  3807. enumdicname:
  3808. description: 现货品种单位名称
  3809. type: string
  3810. goodsunitid:
  3811. description: 现货品种单位ID
  3812. type: integer
  3813. isvalid:
  3814. description: 是否有效 - 0:无效 1:有效
  3815. type: integer
  3816. qtydecimalplace:
  3817. description: 成交量小数位
  3818. type: integer
  3819. standardqty:
  3820. description: 标准数量(库位数量) [标准品特有]
  3821. type: integer
  3822. standardqtyrange:
  3823. description: 标准数量偏差范围 [标准品特有]
  3824. type: integer
  3825. type: object
  3826. models.ErmcpDeliveryGoodsDetail:
  3827. properties:
  3828. data:
  3829. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  3830. description: 现货商品基本信息(交割品种)
  3831. type: object
  3832. gblist:
  3833. description: 品牌列表
  3834. items:
  3835. $ref: '#/definitions/models.ErmcpBrand'
  3836. type: array
  3837. gmlist:
  3838. description: 品类列表(仓单标准)
  3839. items:
  3840. $ref: '#/definitions/models.ErmcpWrstandard'
  3841. type: array
  3842. goodslist:
  3843. description: 关联交易商品列表
  3844. items:
  3845. $ref: '#/definitions/models.ErmcpRelatedGoods'
  3846. type: array
  3847. wrslist:
  3848. description: 套保信息列表
  3849. items:
  3850. $ref: '#/definitions/models.WRSConverTDetail'
  3851. type: array
  3852. type: object
  3853. models.ErmcpExposureDetailModel:
  3854. properties:
  3855. areauserid:
  3856. description: 机构ID
  3857. type: integer
  3858. changeQty:
  3859. description: 套保变动量
  3860. type: number
  3861. contracttype:
  3862. description: 现货合同类型 - 1:采购 -1:销售
  3863. type: integer
  3864. convertfactor:
  3865. description: 标仓系数
  3866. type: number
  3867. convertratio:
  3868. description: 套保系数
  3869. type: number
  3870. createtime:
  3871. description: 时间
  3872. type: string
  3873. enumdicname:
  3874. description: 现货商品单位名称
  3875. type: string
  3876. logtype:
  3877. description: 类型 - 1:套保计划 2:现货合同
  3878. type: integer
  3879. middlegoodsId:
  3880. description: 套保商品id
  3881. type: integer
  3882. middlegoodscode:
  3883. description: 套保商品代码
  3884. type: string
  3885. middlegoodsname:
  3886. description: 套保商品名称
  3887. type: string
  3888. qty:
  3889. description: 数量
  3890. type: number
  3891. relateNo:
  3892. description: 现货合同/套保计划编号
  3893. type: string
  3894. wrstandardcode:
  3895. description: 现货商品代码
  3896. type: string
  3897. wrstandardid:
  3898. description: 现货商品ID
  3899. type: integer
  3900. wrstandardname:
  3901. description: 现货商品名称
  3902. type: string
  3903. type: object
  3904. models.ErmcpExposurePostion:
  3905. properties:
  3906. agreeunit:
  3907. description: 合约单位
  3908. type: string
  3909. areauserid:
  3910. description: 所属机构id
  3911. type: integer
  3912. convertratio:
  3913. description: 期货品种系数(折算系数)
  3914. type: number
  3915. curqty:
  3916. description: 当前持仓
  3917. type: integer
  3918. diffhedgeqty:
  3919. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3920. type: number
  3921. diffqty:
  3922. description: 持仓变动量=当前持仓-昨日持仓
  3923. type: integer
  3924. goodscode:
  3925. description: 商品代码
  3926. type: string
  3927. goodsid:
  3928. description: 商品id
  3929. type: integer
  3930. goodsname:
  3931. description: 商品名称
  3932. type: string
  3933. middlegoodsid:
  3934. description: 套保商品id
  3935. type: integer
  3936. ydqty:
  3937. description: 昨日持仓
  3938. type: integer
  3939. type: object
  3940. models.ErmcpFuturesCompany:
  3941. properties:
  3942. brokerid:
  3943. description: 经纪公司代码
  3944. type: string
  3945. channeladdress:
  3946. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  3947. type: string
  3948. channelid:
  3949. description: 对冲渠道ID
  3950. type: string
  3951. createtime:
  3952. description: 创建时间
  3953. type: string
  3954. creatorid:
  3955. description: 创建人
  3956. type: string
  3957. fcid:
  3958. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  3959. type: integer
  3960. fcname:
  3961. description: 期货公司名称
  3962. type: string
  3963. isvalid:
  3964. description: 是否有效 - 0:无效 1:有效
  3965. type: integer
  3966. mhpaddress:
  3967. description: MHP服务地址(IP:Port)
  3968. type: string
  3969. riskrulegroupid:
  3970. description: 风控规则组ID
  3971. type: string
  3972. tradefeetmpid:
  3973. description: 手续费模板ID[TradeConfigTmpType为2]
  3974. type: string
  3975. trademargintmpid:
  3976. description: 保证金模板ID [TradeConfigTmpType为1]
  3977. type: string
  3978. traderatetmpid:
  3979. description: 汇率模板ID[TradeConfigTmpType为3]
  3980. type: string
  3981. updatetime:
  3982. description: 更新时间
  3983. type: string
  3984. updatorid:
  3985. description: 更新人
  3986. type: string
  3987. type: object
  3988. models.ErmcpGGConvertCfg:
  3989. properties:
  3990. convertratio:
  3991. description: 折算系数
  3992. type: number
  3993. destgoodsgroupid:
  3994. description: 目标品种ID
  3995. type: integer
  3996. dstcode:
  3997. description: 目录品种代码
  3998. type: string
  3999. dstexchangecode:
  4000. description: 目标期货交易所
  4001. type: string
  4002. dstname:
  4003. description: 目标品种名称
  4004. type: string
  4005. dstunitid:
  4006. description: 目标品种单位ID
  4007. type: integer
  4008. dstunitidname:
  4009. description: 目标品种单位名称
  4010. type: string
  4011. modifytime:
  4012. description: 修改时间
  4013. type: string
  4014. srccode:
  4015. description: 源品种代码
  4016. type: string
  4017. srcexchangecode:
  4018. description: 源期货交易所
  4019. type: string
  4020. srcgoodsgroupid:
  4021. description: 源品种ID
  4022. type: integer
  4023. srcname:
  4024. description: 源品种名称
  4025. type: string
  4026. srcunitid:
  4027. description: 源品种单位ID
  4028. type: integer
  4029. srcunitidname:
  4030. description: 源品种单位名称
  4031. type: string
  4032. type: object
  4033. models.ErmcpGoodsBrand:
  4034. properties:
  4035. areauserid:
  4036. description: 所属机构
  4037. type: integer
  4038. brandid:
  4039. description: BrandID(SEQ_SPOTGOODSBRAND)
  4040. type: integer
  4041. brandname:
  4042. description: 品牌名称
  4043. type: string
  4044. createtime:
  4045. description: 创建时间
  4046. type: string
  4047. creatorid:
  4048. description: 创建人
  4049. type: integer
  4050. creatorsrc:
  4051. description: 创建人来源 - 1:管理端 2:终端
  4052. type: integer
  4053. deliverygoodsid:
  4054. description: 现货品种ID
  4055. type: integer
  4056. isvalid:
  4057. description: 是否有效 - 0:无效 1:有效
  4058. type: integer
  4059. updatetime:
  4060. description: 更新时间
  4061. type: string
  4062. updatorid:
  4063. description: 更新人
  4064. type: integer
  4065. updatorsrc:
  4066. description: 更新人来源 - 1:管理端 2:终端
  4067. type: integer
  4068. wrstandardid:
  4069. description: 现货商品ID
  4070. type: integer
  4071. type: object
  4072. models.ErmcpGoodsModel:
  4073. properties:
  4074. areauserid:
  4075. description: 所属机构
  4076. type: integer
  4077. convertfactor:
  4078. description: 标仓系数
  4079. type: number
  4080. createtime:
  4081. description: 创建时间
  4082. type: string
  4083. creatorid:
  4084. description: 创建人
  4085. type: integer
  4086. creatorsrc:
  4087. description: 创建人来源 - 1:管理端 2:终端
  4088. type: integer
  4089. deliverygoodsid:
  4090. description: 现货品种ID
  4091. type: integer
  4092. isvalid:
  4093. description: 是否有效 - 0:无效 1:有效
  4094. type: integer
  4095. modelid:
  4096. description: ModelID(SEQ_SPOTGOODSMODEL)
  4097. type: integer
  4098. modelname:
  4099. description: 型号名称
  4100. type: string
  4101. updatetime:
  4102. description: 更新时间
  4103. type: string
  4104. updatorid:
  4105. description: 更新人
  4106. type: integer
  4107. updatorsrc:
  4108. description: 更新人来源 - 1:管理端 2:终端
  4109. type: integer
  4110. wrstandardid:
  4111. description: 现货商品ID
  4112. type: integer
  4113. type: object
  4114. models.ErmcpHedgePlan:
  4115. properties:
  4116. areauserid:
  4117. description: 用户ID
  4118. type: integer
  4119. audittime:
  4120. description: 审核时间
  4121. type: string
  4122. contracttype:
  4123. description: 计划类型 - 1:采购 -1:销售
  4124. type: integer
  4125. convertfactor:
  4126. description: 标仓系数
  4127. type: number
  4128. createtime:
  4129. description: 创建时间
  4130. type: string
  4131. deliverygoodsid:
  4132. description: 现货品种ID
  4133. type: integer
  4134. deliverygoodsname:
  4135. description: 现货品种名称
  4136. type: string
  4137. enumdicname:
  4138. description: 单位名称
  4139. type: string
  4140. hedgeplanid:
  4141. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4142. type: string
  4143. hedgeplanno:
  4144. description: 套保计划编号(名称)
  4145. type: string
  4146. hedgeplanstatus:
  4147. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4148. type: integer
  4149. planqty:
  4150. description: 计划数量
  4151. type: number
  4152. plantime:
  4153. description: 计划时间
  4154. type: string
  4155. producttype:
  4156. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4157. type: integer
  4158. remark:
  4159. description: 备注
  4160. type: string
  4161. spotgoodsdesc:
  4162. description: 商品型号
  4163. type: string
  4164. unitid:
  4165. description: 单位id
  4166. type: integer
  4167. updatetime:
  4168. description: 更新时间
  4169. type: string
  4170. wrstandardid:
  4171. description: 现货商品ID
  4172. type: integer
  4173. wrstandardname:
  4174. description: 现货商品名称
  4175. type: string
  4176. type: object
  4177. models.ErmcpHedgePosition:
  4178. properties:
  4179. accountid:
  4180. description: 资金账号[外部母账户]
  4181. type: integer
  4182. curbuyposition:
  4183. description: 期末买头寸
  4184. type: integer
  4185. cursellposition:
  4186. description: 期末卖头寸
  4187. type: integer
  4188. curtdbuyposition:
  4189. description: 期末今日买头寸
  4190. type: integer
  4191. curtdsellposition:
  4192. description: 期末今日卖头寸
  4193. type: integer
  4194. curydbuyposition:
  4195. description: 期末上日买头寸
  4196. type: integer
  4197. curydsellposition:
  4198. description: 期末上日卖头寸
  4199. type: integer
  4200. decreaseqty:
  4201. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  4202. type: integer
  4203. fretdbuyposition:
  4204. description: 冻结今日买头寸
  4205. type: integer
  4206. fretdsellposition:
  4207. description: 冻结今日卖头寸
  4208. type: integer
  4209. freydbuyposition:
  4210. description: 冻结上日买头寸
  4211. type: integer
  4212. freydsellposition:
  4213. description: 冻结上日卖头寸
  4214. type: integer
  4215. goodscode:
  4216. description: 商品代码
  4217. type: string
  4218. goodsid:
  4219. description: 商品id
  4220. type: integer
  4221. goodsname:
  4222. description: 商品名称
  4223. type: string
  4224. hedgeaccountcode:
  4225. description: 对冲账号
  4226. type: string
  4227. hedgegoodsid:
  4228. description: 对冲合约ID
  4229. type: integer
  4230. increaseqty:
  4231. description: 增加数量 = 期末买头寸 - 期初买头寸
  4232. type: integer
  4233. marketid:
  4234. description: 市场ID
  4235. type: integer
  4236. relateduserid:
  4237. description: 关联用户id
  4238. type: integer
  4239. totalcurqty:
  4240. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  4241. type: integer
  4242. totalydqty:
  4243. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  4244. type: integer
  4245. tradedate:
  4246. description: 交易日(yyyyMMdd)
  4247. type: string
  4248. ydbuyposition:
  4249. description: 期初买头寸
  4250. type: integer
  4251. ydsellposition:
  4252. description: 期初卖头寸
  4253. type: integer
  4254. type: object
  4255. models.ErmcpHedgePositionDetail:
  4256. properties:
  4257. buyorsell:
  4258. description: 买卖方向 0-买 1-卖
  4259. type: integer
  4260. channelbuildtype:
  4261. description: 开平方向 1-建仓 2-平仓
  4262. type: integer
  4263. goodscode:
  4264. description: 商品代码
  4265. type: string
  4266. goodsname:
  4267. description: 商品名称
  4268. type: string
  4269. hedgegoodsid:
  4270. description: 商品id
  4271. type: integer
  4272. tradeqty:
  4273. description: 数量(成交数量)
  4274. type: integer
  4275. tradetime:
  4276. description: 时间(成交时间)
  4277. type: string
  4278. type: object
  4279. models.ErmcpHisExposure:
  4280. properties:
  4281. needhedgeexposoure:
  4282. description: 应套保敞口
  4283. type: number
  4284. reckondate:
  4285. description: 日照时期(yyyyMMdd)
  4286. type: string
  4287. totalexposure:
  4288. description: 总敞口
  4289. type: number
  4290. type: object
  4291. models.ErmcpHisExposureS:
  4292. properties:
  4293. data:
  4294. description: 历史敞口
  4295. items:
  4296. $ref: '#/definitions/models.ErmcpHisExposure'
  4297. type: array
  4298. enumdicname:
  4299. description: 单位名称
  4300. type: string
  4301. middlegoodscode:
  4302. description: 套保品种代码
  4303. type: string
  4304. middlegoodsid:
  4305. description: 套保品种ID
  4306. type: integer
  4307. middlegoodsname:
  4308. description: 套保品种名称
  4309. type: string
  4310. type: object
  4311. models.ErmcpLoginUser:
  4312. properties:
  4313. accountname:
  4314. description: 用户名称
  4315. type: string
  4316. clientroleid:
  4317. description: 角色id(usertype=2)
  4318. type: integer
  4319. createtime:
  4320. description: 创建时间
  4321. type: string
  4322. logincode:
  4323. description: 登录代码
  4324. type: string
  4325. loginid:
  4326. description: 登录id(LOGINID)
  4327. type: integer
  4328. loginstatus:
  4329. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  4330. type: integer
  4331. memberuserid:
  4332. description: 所属会员id
  4333. type: integer
  4334. modifytime:
  4335. description: 修改时间
  4336. type: string
  4337. rolename:
  4338. description: 角色名称
  4339. type: string
  4340. rolestatus:
  4341. description: 角色状态 1-启用 2-停用
  4342. type: integer
  4343. roletype:
  4344. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  4345. type: string
  4346. userid:
  4347. description: 用户id
  4348. type: integer
  4349. usertype:
  4350. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4351. type: integer
  4352. type: object
  4353. models.ErmcpLoginUserEx:
  4354. properties:
  4355. roleid:
  4356. description: 角色id
  4357. type: integer
  4358. rolename:
  4359. description: 角色名称
  4360. type: string
  4361. userlist:
  4362. description: 用户列表
  4363. items:
  4364. $ref: '#/definitions/models.ErmcpLoginUser'
  4365. type: array
  4366. usertype:
  4367. description: 用户类型 2-机构 7-企业成员(云平台)
  4368. type: integer
  4369. type: object
  4370. models.ErmcpMiddleGoodsChangeLog:
  4371. properties:
  4372. aftervalue:
  4373. description: 变更后
  4374. type: number
  4375. applyid:
  4376. description: 操作人
  4377. type: integer
  4378. applyname:
  4379. description: 操作人名称
  4380. type: string
  4381. applysrc:
  4382. description: 操作来源 - 1:管理端 2:终端
  4383. type: integer
  4384. beforevalue:
  4385. description: 变更前
  4386. type: number
  4387. changelogtype:
  4388. description: 变更流水类型 - 1:套保比率变更
  4389. type: integer
  4390. handlestatus:
  4391. description: 处理状态
  4392. type: integer
  4393. logdatetime:
  4394. description: 流水日期
  4395. type: string
  4396. logid:
  4397. description: 流水ID
  4398. type: integer
  4399. logremark:
  4400. description: 流水备注
  4401. type: string
  4402. middlegoodsid:
  4403. description: 套保品种ID
  4404. type: integer
  4405. tradedate:
  4406. description: 交易日(yyyyMMdd)
  4407. type: string
  4408. updatetime:
  4409. description: 更新时间
  4410. type: string
  4411. type: object
  4412. models.ErmcpMiddleGoodsDetail:
  4413. properties:
  4414. cvList:
  4415. description: 期货品种折算列表
  4416. items:
  4417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  4418. type: array
  4419. mg:
  4420. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4421. description: 套保品种基本信息
  4422. type: object
  4423. wrcList:
  4424. description: 现货品种列表(现货商品折算配置)
  4425. items:
  4426. $ref: '#/definitions/models.WRSConverTDetail'
  4427. type: array
  4428. type: object
  4429. models.ErmcpMiddleGoodsModel:
  4430. properties:
  4431. areauserid:
  4432. description: 机构用户ID
  4433. type: integer
  4434. createtime:
  4435. description: 修改时间
  4436. type: string
  4437. enumdicname:
  4438. description: 单位名称
  4439. type: string
  4440. evaluateratio:
  4441. description: 估价系数
  4442. type: number
  4443. goodsgroupid:
  4444. description: 关联期货品种ID
  4445. type: integer
  4446. isvalid:
  4447. description: 状态 0-无效(停用) 1-有效(正常)
  4448. type: integer
  4449. middlegoodscode:
  4450. description: 套保品种代码
  4451. type: string
  4452. middlegoodsid:
  4453. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4454. type: integer
  4455. middlegoodsname:
  4456. description: 套保品种名称
  4457. type: string
  4458. modifytime:
  4459. description: 修改时间
  4460. type: string
  4461. needhedgeratio:
  4462. description: 套保比率
  4463. type: number
  4464. qtydecimalplace:
  4465. description: 数量小数位
  4466. type: integer
  4467. relatedgoodsid:
  4468. description: 关联交易商品ID
  4469. type: integer
  4470. relatedgoodstype:
  4471. description: 关联商品类型 - 1:期货合约 2:现货品种
  4472. type: integer
  4473. remark:
  4474. description: 备注
  4475. type: string
  4476. type: object
  4477. models.ErmcpModel:
  4478. properties:
  4479. accountname:
  4480. description: 账户名称
  4481. type: string
  4482. attachment:
  4483. description: 附件
  4484. type: string
  4485. audittime:
  4486. description: 审核时间
  4487. type: string
  4488. brandname:
  4489. description: 品牌名称
  4490. type: string
  4491. contracctstatus:
  4492. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4493. type: integer
  4494. contractmargin:
  4495. description: 合同保证金
  4496. type: number
  4497. contractno:
  4498. description: 合同编号
  4499. type: string
  4500. contracttype:
  4501. description: 合同类型 1-采购, -1-销售
  4502. type: integer
  4503. convertfactor:
  4504. description: 标仓系数
  4505. type: number
  4506. createtime:
  4507. description: 创建时间
  4508. type: string
  4509. daikaiamount:
  4510. description: 应收(开)票额
  4511. type: number
  4512. deliveryenddate:
  4513. description: 交割结束日
  4514. type: string
  4515. deliverygoodscode:
  4516. description: 现货品种代码
  4517. type: string
  4518. deliverygoodsid:
  4519. description: 现货商品ID
  4520. type: integer
  4521. deliverygoodsname:
  4522. description: 现货品种名称
  4523. type: string
  4524. deliverystartdate:
  4525. description: 交割开始日
  4526. type: string
  4527. enddate:
  4528. description: 点价结束日
  4529. type: string
  4530. enumdicname:
  4531. description: 单位名称
  4532. type: string
  4533. goodscode:
  4534. description: 点价商品代码
  4535. type: string
  4536. goodsid:
  4537. description: 点价商品ID
  4538. type: integer
  4539. goodsname:
  4540. description: 点价商品名称
  4541. type: string
  4542. invoiceamount:
  4543. description: 已开票额
  4544. type: number
  4545. loanamount:
  4546. description: 贷款总额=已定价额+调整金额
  4547. type: number
  4548. margin:
  4549. description: 保证金
  4550. type: number
  4551. modelname:
  4552. description: 型号名称
  4553. type: string
  4554. payamount:
  4555. description: 已收付额(收款或付款)
  4556. type: number
  4557. preinvoiceamount:
  4558. description: 预收(开)票额
  4559. type: number
  4560. prepayamount:
  4561. description: 预收付额
  4562. type: number
  4563. price:
  4564. description: 价格
  4565. type: number
  4566. pricedamount:
  4567. description: 已定价额
  4568. type: number
  4569. pricedavg:
  4570. description: 已点均价
  4571. type: number
  4572. pricedqty:
  4573. description: 已定价量
  4574. type: number
  4575. pricemove:
  4576. description: 升贴水
  4577. type: number
  4578. pricetype:
  4579. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4580. type: integer
  4581. producttype:
  4582. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4583. type: integer
  4584. qty:
  4585. description: 合同量
  4586. type: number
  4587. reckonadjustamount:
  4588. description: 调整金额
  4589. type: number
  4590. reckonedamount:
  4591. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4592. type: number
  4593. reckonotheramount:
  4594. description: 其它费用
  4595. type: number
  4596. reckonrealqty:
  4597. description: 已确定量
  4598. type: number
  4599. remark:
  4600. description: 备注
  4601. type: string
  4602. spotcontractid:
  4603. description: 合同ID
  4604. type: string
  4605. spotgoodsbrandid:
  4606. description: 现货品牌ID
  4607. type: integer
  4608. spotgoodsdesc:
  4609. description: 商品型号(商品规格)
  4610. type: string
  4611. spotgoodsmodelid:
  4612. description: 现货型号ID
  4613. type: integer
  4614. startdate:
  4615. description: 点价开始日
  4616. type: string
  4617. totalamount:
  4618. description: 合计总额
  4619. type: number
  4620. unpayamount:
  4621. description: 应收付款额(应支付或应收款)
  4622. type: number
  4623. unpricedqty:
  4624. description: 未定价量
  4625. type: number
  4626. unsureqty:
  4627. description: 未确定量
  4628. type: number
  4629. userid:
  4630. description: 用户ID
  4631. type: integer
  4632. wrstandardcode:
  4633. description: 现货商品代码
  4634. type: string
  4635. wrstandardid:
  4636. description: 现货商品ID
  4637. type: integer
  4638. wrstandardname:
  4639. description: 现货商品名称
  4640. type: string
  4641. type: object
  4642. models.ErmcpOPLogModel:
  4643. properties:
  4644. aftervalue:
  4645. description: 变更后
  4646. type: number
  4647. applyid:
  4648. description: 操作人ID
  4649. type: string
  4650. applyname:
  4651. description: 操作人名称
  4652. type: string
  4653. beforevalue:
  4654. description: 变更前
  4655. type: number
  4656. biztype:
  4657. description: 业务类型 - 1:套保计划 2:现货合同
  4658. type: integer
  4659. contracttype:
  4660. description: 现货合同类型 - 1:采购 -1:销售
  4661. type: integer
  4662. logvalue:
  4663. description: 数值
  4664. type: number
  4665. operatelogtype:
  4666. description: 操作流水类型
  4667. type: integer
  4668. operatelogtypedesc:
  4669. description: 操作流水类型名称
  4670. type: string
  4671. relatedid:
  4672. description: 现货合同ID\套保计划
  4673. type: string
  4674. updatetime:
  4675. description: 更新时间
  4676. type: string
  4677. type: object
  4678. models.ErmcpPendingAudit:
  4679. properties:
  4680. areastockqty:
  4681. description: '待审核数量: 库存申请'
  4682. type: integer
  4683. businessdjqty:
  4684. description: '待审核数量: 点价'
  4685. type: integer
  4686. businessfpqty:
  4687. description: '待审核数量: 发票'
  4688. type: integer
  4689. businessjsqty:
  4690. description: '待审核数量: 结算'
  4691. type: integer
  4692. businesskxqty:
  4693. description: '待审核数量: 款项'
  4694. type: integer
  4695. hedgeplanqty:
  4696. description: '待审核数量: 套保计划'
  4697. type: integer
  4698. spotcontractqty:
  4699. description: '待审核数量: 现货合同'
  4700. type: integer
  4701. userqty:
  4702. description: '待审核数量: 用户'
  4703. type: integer
  4704. type: object
  4705. models.ErmcpRealExposureModel:
  4706. properties:
  4707. AreaUserID:
  4708. description: 所属机构
  4709. type: integer
  4710. BuyFutureQty:
  4711. description: 买入期货数量
  4712. type: number
  4713. BuyPlanQty:
  4714. description: 采购计划数量
  4715. type: number
  4716. BuyPricedQty:
  4717. description: 采购合同已定价数量
  4718. type: number
  4719. MiddleGoodsCode:
  4720. description: 套保品种代码
  4721. type: string
  4722. MiddleGoodsHedgeRatio:
  4723. description: 应套保比例
  4724. type: number
  4725. MiddleGoodsID:
  4726. description: 套保品种
  4727. type: integer
  4728. MiddleGoodsName:
  4729. description: 套保品种名称
  4730. type: string
  4731. NeedHedgeExposoure:
  4732. description: 应套保敞口
  4733. type: number
  4734. NeedHedgeRatio:
  4735. description: 应套保敞口比例
  4736. type: number
  4737. OriBuyFutureQty:
  4738. description: 期初买入期货数量
  4739. type: number
  4740. OriBuyPlanQty:
  4741. description: 期初采购计划数量
  4742. type: number
  4743. OriBuyPricedQty:
  4744. description: 期初采购合同已定价数量
  4745. type: number
  4746. OriSellFutureQty:
  4747. description: 期初卖出期货数量
  4748. type: number
  4749. OriSellPlanQty:
  4750. description: 期初销售计划数量
  4751. type: number
  4752. OriSellPricedQty:
  4753. description: 期初销售合同已定价数量
  4754. type: number
  4755. SellFutureQty:
  4756. description: 卖出期货数量
  4757. type: number
  4758. SellPlanQty:
  4759. description: 销售计划数量
  4760. type: number
  4761. SellPricedQty:
  4762. description: 销售合同已定价数量
  4763. type: number
  4764. TotalExposure:
  4765. description: 总敞口
  4766. type: number
  4767. TotalFutureQty:
  4768. description: 期货数量
  4769. type: number
  4770. TotalHedgeRatio:
  4771. description: 敞口比例
  4772. type: number
  4773. TotalNeedHedgeQty:
  4774. description: 期货应套保量
  4775. type: number
  4776. TotalSpotQty:
  4777. description: 现货数量
  4778. type: number
  4779. diffFutuQty:
  4780. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4781. type: number
  4782. diffSpotQty:
  4783. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4784. type: number
  4785. enumdicname:
  4786. description: 单位名称
  4787. type: string
  4788. oriTotalFutuQty:
  4789. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4790. type: number
  4791. oriTotalSpotQty:
  4792. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4793. type: number
  4794. type: object
  4795. models.ErmcpRelatedGoods:
  4796. properties:
  4797. deliverygoodsid:
  4798. description: 品种ID
  4799. type: integer
  4800. goodscode:
  4801. description: 商品代码
  4802. type: string
  4803. goodsid:
  4804. description: 商品id
  4805. type: integer
  4806. goodsname:
  4807. description: 商品名称
  4808. type: string
  4809. type: object
  4810. models.ErmcpReportAreaSpotPL:
  4811. properties:
  4812. actualpl:
  4813. description: 实际损益
  4814. type: number
  4815. areauserid:
  4816. description: 所属机构
  4817. type: integer
  4818. brandname:
  4819. description: 品牌名称
  4820. type: string
  4821. curamount:
  4822. description: 期末额
  4823. type: number
  4824. curaverageprice:
  4825. description: 期末均价
  4826. type: number
  4827. curbuyamount:
  4828. description: 期末采购总额(采购额)
  4829. type: number
  4830. curbuyqty:
  4831. description: 期末采购总量
  4832. type: number
  4833. curmarketvalue:
  4834. description: 参考市值
  4835. type: number
  4836. curqty:
  4837. description: 期末量
  4838. type: number
  4839. cursellamount:
  4840. description: 期末销售总额(销售额)
  4841. type: number
  4842. cursellqty:
  4843. description: 期末销售总量
  4844. type: number
  4845. curspotprice:
  4846. description: 参考市价
  4847. type: number
  4848. enumdicname:
  4849. description: 现货商品单位名称
  4850. type: string
  4851. floatpl:
  4852. description: 浮动损益
  4853. type: number
  4854. gbenumdicname:
  4855. description: 品类单位名称
  4856. type: string
  4857. gbunitid:
  4858. description: 品类单位id
  4859. type: integer
  4860. modelname:
  4861. description: 品类名称
  4862. type: string
  4863. oriamount:
  4864. description: 期初额
  4865. type: number
  4866. oriaverageprice:
  4867. description: 期初均价
  4868. type: number
  4869. oribuyamount:
  4870. description: 期初采购总额
  4871. type: number
  4872. oribuyqty:
  4873. description: 期初采购总量
  4874. type: number
  4875. oriqty:
  4876. description: 期初量
  4877. type: number
  4878. orisellamount:
  4879. description: 期初销售总额
  4880. type: number
  4881. orisellqty:
  4882. description: 期初销售总量
  4883. type: number
  4884. spotgoodsbrandid:
  4885. description: 现货品牌ID
  4886. type: integer
  4887. spotgoodsmodelid:
  4888. description: 现货品类ID
  4889. type: integer
  4890. todaybuyamount:
  4891. description: 今日采购额
  4892. type: number
  4893. todaybuyaverageprice:
  4894. description: 今日采购均价(采购均价)
  4895. type: number
  4896. todaybuyqty:
  4897. description: 今日采购量(采购增量)
  4898. type: number
  4899. todaysellamount:
  4900. description: 今日销售额
  4901. type: number
  4902. todaysellaverageprice:
  4903. description: 今日销售均价(销售均价)
  4904. type: number
  4905. todaysellqty:
  4906. description: 今日销售量(销售增量)
  4907. type: number
  4908. unitid:
  4909. description: 现货商品单位id
  4910. type: integer
  4911. updatetime:
  4912. description: 更新时间
  4913. type: string
  4914. wrstandardcode:
  4915. description: 现货商品代码
  4916. type: string
  4917. wrstandardid:
  4918. description: 现货商品ID
  4919. type: integer
  4920. wrstandardname:
  4921. description: 现货商品名称
  4922. type: string
  4923. type: object
  4924. models.ErmcpReportDayExposure:
  4925. properties:
  4926. areauserid:
  4927. description: 所属机构
  4928. type: integer
  4929. buyfutureqty:
  4930. description: 买入期货数量
  4931. type: number
  4932. buyplanqty:
  4933. description: 采购计划数量
  4934. type: number
  4935. buypricedqty:
  4936. description: 采购合同已定价数量
  4937. type: number
  4938. diffFutuQty:
  4939. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4940. type: number
  4941. diffSpotQty:
  4942. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4943. type: number
  4944. enumdicname:
  4945. description: 单位名称
  4946. type: string
  4947. middlegoodscode:
  4948. description: 套保品种代码
  4949. type: string
  4950. middlegoodshedgeratio:
  4951. description: 应套保比例
  4952. type: number
  4953. middlegoodsid:
  4954. description: 套保品种ID
  4955. type: integer
  4956. middlegoodsname:
  4957. description: 套保品种名称
  4958. type: string
  4959. needhedgeexposoure:
  4960. description: 应套保敞口
  4961. type: number
  4962. needhedgeratio:
  4963. description: 应套保敞口比例
  4964. type: number
  4965. oriTotalFutuQty:
  4966. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4967. type: number
  4968. oriTotalSpotQty:
  4969. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4970. type: number
  4971. oribuyfutureqty:
  4972. description: 期初买入期货数量
  4973. type: number
  4974. oribuyplanqty:
  4975. description: 期初采购计划数量
  4976. type: number
  4977. oribuypricedqty:
  4978. description: 期初采购合同已定价数量
  4979. type: number
  4980. orisellfutureqty:
  4981. description: 期初卖出期货数量
  4982. type: number
  4983. orisellplanqty:
  4984. description: 期初销售计划数量
  4985. type: number
  4986. orisellpricedqty:
  4987. description: 期初销售合同已定价数量
  4988. type: number
  4989. reckondate:
  4990. description: 日照时期(yyyyMMdd)
  4991. type: string
  4992. sellfutureqty:
  4993. description: 卖出期货数量
  4994. type: number
  4995. sellplanqty:
  4996. description: 销售计划数量
  4997. type: number
  4998. sellpricedqty:
  4999. description: 销售合同已定价数量
  5000. type: number
  5001. totalexposure:
  5002. description: 总敞口
  5003. type: number
  5004. totalfutureqty:
  5005. description: 期货数量
  5006. type: number
  5007. totalhedgeratio:
  5008. description: 敞口比例
  5009. type: number
  5010. totalneedhedgeqty:
  5011. description: 期货应套保量
  5012. type: number
  5013. totalspotqty:
  5014. description: 现货数量
  5015. type: number
  5016. type: object
  5017. models.ErmcpReportDayFR:
  5018. properties:
  5019. areauserid:
  5020. description: 所属机构
  5021. type: integer
  5022. collectinvoiceamount:
  5023. description: 今日开票金额
  5024. type: number
  5025. collectinvoicecount:
  5026. description: 今日开票笔数
  5027. type: integer
  5028. collectmoneyamount:
  5029. description: 今日收款金额
  5030. type: number
  5031. collectmoneycount:
  5032. description: 今日收款笔数
  5033. type: integer
  5034. payinvoiceamount:
  5035. description: 今日收票金额
  5036. type: number
  5037. payinvoicecount:
  5038. description: 今日收票笔数
  5039. type: integer
  5040. paymoneyamount:
  5041. description: 今日付款金额
  5042. type: number
  5043. paymoneycount:
  5044. description: 今日付款笔数
  5045. type: integer
  5046. reckondate:
  5047. description: 日照时期(yyyyMMdd)
  5048. type: string
  5049. updatetime:
  5050. description: 更新时间
  5051. type: string
  5052. type: object
  5053. models.ErmcpReportDaySpot:
  5054. properties:
  5055. areauserid:
  5056. description: 所属机构T
  5057. type: integer
  5058. buyinqty:
  5059. description: 采购入库量
  5060. type: number
  5061. enumdicname:
  5062. description: 现货商品单位名称
  5063. type: string
  5064. reckondate:
  5065. description: 日照时期(yyyyMMdd)
  5066. type: string
  5067. selloutqty:
  5068. description: 销售出库量
  5069. type: number
  5070. todaybuyreckonqty:
  5071. description: 采购确定量
  5072. type: number
  5073. todaysellreckonqty:
  5074. description: 销售确定量
  5075. type: number
  5076. totalbuypricedqty:
  5077. description: 采购定价量 = 期末 - 期初
  5078. type: number
  5079. totalsellpricedqty:
  5080. description: 销售定价量 = 期末 - 期初
  5081. type: number
  5082. wrstandardcode:
  5083. description: 现货商品代码
  5084. type: string
  5085. wrstandardid:
  5086. description: 现货商品ID
  5087. type: integer
  5088. wrstandardname:
  5089. description: 现货商品名称
  5090. type: string
  5091. type: object
  5092. models.ErmcpReportMonSpot:
  5093. properties:
  5094. areauserid:
  5095. description: 所属机构T
  5096. type: integer
  5097. buyinqty:
  5098. description: 采购入库量
  5099. type: number
  5100. cycletime:
  5101. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5102. type: string
  5103. cycletype:
  5104. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5105. type: integer
  5106. enumdicname:
  5107. description: 现货商品单位名称
  5108. type: string
  5109. selloutqty:
  5110. description: 销售出库量
  5111. type: number
  5112. todaybuyreckonqty:
  5113. description: 采购确定量
  5114. type: number
  5115. todaysellreckonqty:
  5116. description: 销售确定量
  5117. type: number
  5118. totalbuypricedqty:
  5119. description: 采购定价量 = 期末 - 期初
  5120. type: number
  5121. totalsellpricedqty:
  5122. description: 销售定价量 = 期末 - 期初
  5123. type: number
  5124. wrstandardcode:
  5125. description: 现货商品代码
  5126. type: string
  5127. wrstandardid:
  5128. description: 现货商品ID
  5129. type: integer
  5130. wrstandardname:
  5131. description: 现货商品名称
  5132. type: string
  5133. type: object
  5134. models.ErmcpReportMonthFR:
  5135. properties:
  5136. areauserid:
  5137. description: 所属机构【原值】
  5138. type: integer
  5139. collectinvoiceamount:
  5140. description: 今日开票金额【汇总】
  5141. type: number
  5142. collectinvoicecount:
  5143. description: 今日开票笔数【汇总】
  5144. type: integer
  5145. collectmoneyamount:
  5146. description: 今日收款金额【汇总】
  5147. type: number
  5148. collectmoneycount:
  5149. description: 今日收款笔数 【汇总】
  5150. type: integer
  5151. cycletime:
  5152. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5153. type: string
  5154. cycletype:
  5155. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5156. type: integer
  5157. dayFr:
  5158. description: 日报表明细
  5159. items:
  5160. $ref: '#/definitions/models.ErmcpReportDayFR'
  5161. type: array
  5162. payinvoiceamount:
  5163. description: 今日收票金额【汇总】
  5164. type: number
  5165. payinvoicecount:
  5166. description: 今日收票笔数【汇总】
  5167. type: integer
  5168. paymoneyamount:
  5169. description: 今日付款金额【汇总】
  5170. type: number
  5171. paymoneycount:
  5172. description: 今日付款笔数【汇总】
  5173. type: integer
  5174. updatetime:
  5175. description: 更新时间
  5176. type: string
  5177. type: object
  5178. models.ErmcpReportOPLog:
  5179. properties:
  5180. applyid:
  5181. description: 操作人
  5182. type: integer
  5183. applyname:
  5184. description: 操作人名称
  5185. type: string
  5186. biztype:
  5187. description: 业务类型 - 1:套保计划 2:现货合同
  5188. type: integer
  5189. brandname:
  5190. description: 品牌名称
  5191. type: string
  5192. contracttype:
  5193. description: 现货合同类型 - 1:采购 -1:销售
  5194. type: integer
  5195. enumdicName:
  5196. description: 单位名称
  5197. type: string
  5198. logdatetime:
  5199. description: 流水日期(时间)
  5200. type: string
  5201. logid:
  5202. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  5203. type: string
  5204. logtypename:
  5205. description: 合同类型(名称)
  5206. type: string
  5207. logvalue:
  5208. description: 数值
  5209. type: string
  5210. modelname:
  5211. description: 型号名称
  5212. type: string
  5213. operatelogtype:
  5214. description: 操作流水类型 -
  5215. type: integer
  5216. optypename:
  5217. description: 流水类型名称
  5218. type: string
  5219. relatedid:
  5220. description: 现货合同ID\套保计划
  5221. type: string
  5222. relatedno:
  5223. description: 合同编号
  5224. type: string
  5225. tradedate:
  5226. description: 交易日(yyyyMMdd)
  5227. type: string
  5228. userid:
  5229. description: 机构ID
  5230. type: integer
  5231. wrstandardcode:
  5232. description: 现货商品代码
  5233. type: string
  5234. wrstandardid:
  5235. description: 现货商品ID
  5236. type: integer
  5237. wrstandardname:
  5238. description: 现货商品名称
  5239. type: string
  5240. type: object
  5241. models.ErmcpRole:
  5242. properties:
  5243. areauserid:
  5244. description: 所属机构
  5245. type: integer
  5246. autoid:
  5247. description: 角色ID(自增ID)
  5248. type: integer
  5249. modifierid:
  5250. description: 修改人(创建人)
  5251. type: integer
  5252. modifiername:
  5253. description: 修改人名称
  5254. type: string
  5255. modifytime:
  5256. description: 修改时间(创建时间)
  5257. type: string
  5258. rolename:
  5259. description: 角色名称
  5260. type: string
  5261. rolestatus:
  5262. description: 角色状态 - 1:启用 2:停用
  5263. type: integer
  5264. roletype:
  5265. description: 角色类型 - 1- 管理端 2- 交易端
  5266. type: integer
  5267. type: object
  5268. models.ErmcpRoleMenu:
  5269. properties:
  5270. iconame:
  5271. description: 菜单图标
  5272. type: string
  5273. menutype:
  5274. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  5275. type: integer
  5276. parentcode:
  5277. description: 上级资源代码
  5278. type: string
  5279. remark:
  5280. description: 菜单备注
  5281. type: string
  5282. resourcecode:
  5283. description: 菜单代码
  5284. type: string
  5285. resourcelevel:
  5286. description: 级别
  5287. type: integer
  5288. resourcename:
  5289. description: 菜单名称
  5290. type: string
  5291. roleid:
  5292. description: 角色id
  5293. type: integer
  5294. sort:
  5295. description: 排序
  5296. type: integer
  5297. url:
  5298. description: URL
  5299. type: string
  5300. userid:
  5301. description: 用户id
  5302. type: integer
  5303. type: object
  5304. models.ErmcpRoleMenuEx:
  5305. properties:
  5306. menu:
  5307. $ref: '#/definitions/models.ErmcpRoleMenu'
  5308. description: 父级菜单
  5309. type: object
  5310. subMenu:
  5311. description: 子级菜单
  5312. items:
  5313. $ref: '#/definitions/models.ErmcpRoleMenu'
  5314. type: array
  5315. type: object
  5316. models.ErmcpSpotContractModel:
  5317. properties:
  5318. amount:
  5319. description: 金额 [1:一口价、3:暂定价]
  5320. type: number
  5321. attachment:
  5322. description: 附件
  5323. type: string
  5324. auditremark:
  5325. description: 审核意见
  5326. type: string
  5327. audittime:
  5328. description: 审核时间
  5329. type: string
  5330. brandname:
  5331. description: 品牌名称
  5332. type: string
  5333. buyuserid:
  5334. description: 采购方ID
  5335. type: integer
  5336. buyusername:
  5337. description: 采购方名称
  5338. type: string
  5339. contracctstatus:
  5340. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5341. type: integer
  5342. contractmargin:
  5343. description: 合同保证金
  5344. type: number
  5345. contractno:
  5346. description: 现货合同编号
  5347. type: string
  5348. contracttype:
  5349. description: 现货合同类型 - 1:采购 -1:销售
  5350. type: integer
  5351. convertfactor:
  5352. description: 标仓系数
  5353. type: number
  5354. createtime:
  5355. description: 创建时间
  5356. type: string
  5357. deliveryenddate:
  5358. description: 交收期(结束)
  5359. type: string
  5360. deliverygoodscode:
  5361. description: 现货品种代码
  5362. type: string
  5363. deliverygoodsid:
  5364. description: 现货品种ID
  5365. type: integer
  5366. deliverygoodsname:
  5367. description: 现货品种名称
  5368. type: string
  5369. deliverystartdate:
  5370. description: 交收期(开始)
  5371. type: string
  5372. enddate:
  5373. description: 点价结束日期 [2:点价 3:暂定价]
  5374. type: string
  5375. enumdicname:
  5376. description: 单位名称
  5377. type: string
  5378. goodscode:
  5379. description: 点价合约代码
  5380. type: string
  5381. goodsid:
  5382. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5383. type: integer
  5384. goodsname:
  5385. description: 点价商品名称
  5386. type: string
  5387. margin:
  5388. description: 当前保证金
  5389. type: number
  5390. modelname:
  5391. description: 型号名称
  5392. type: string
  5393. price:
  5394. description: 价格\暂定价 [1:一口价、3:暂定价]
  5395. type: number
  5396. pricemove:
  5397. description: 升贴水 [2:点价 3:暂定价]
  5398. type: number
  5399. pricetype:
  5400. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5401. type: integer
  5402. producttype:
  5403. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5404. type: integer
  5405. qty:
  5406. description: 数量
  5407. type: number
  5408. remark:
  5409. description: 备注
  5410. type: string
  5411. selluserid:
  5412. description: 销售方ID
  5413. type: integer
  5414. sellusername:
  5415. description: 销售方名称
  5416. type: string
  5417. spotcontractid:
  5418. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5419. type: string
  5420. spotgoodsbrandid:
  5421. description: 现货品牌ID
  5422. type: integer
  5423. spotgoodsdesc:
  5424. description: 商品型号
  5425. type: string
  5426. spotgoodsmodelid:
  5427. description: 现货型号ID
  5428. type: integer
  5429. startdate:
  5430. description: 点价开始日期 [2:点价 3:暂定价]
  5431. type: string
  5432. updatetime:
  5433. description: 更新时间
  5434. type: string
  5435. userid:
  5436. description: 机构ID
  5437. type: integer
  5438. wrstandardcode:
  5439. description: 现货商品代码
  5440. type: string
  5441. wrstandardid:
  5442. description: 现货商品ID
  5443. type: integer
  5444. wrstandardname:
  5445. description: 现货商品名称
  5446. type: string
  5447. type: object
  5448. models.ErmcpSpotGoodsPrice:
  5449. properties:
  5450. areauserid:
  5451. description: 所属机构id
  5452. type: integer
  5453. brandname:
  5454. description: 品牌名称
  5455. type: string
  5456. currencyid:
  5457. description: 报价货币ID
  5458. type: integer
  5459. enumdicname:
  5460. description: 现货商品单位名称
  5461. type: string
  5462. gbenumdicname:
  5463. description: 品类单位名称
  5464. type: string
  5465. gmunitid:
  5466. description: 品类单位id
  5467. type: integer
  5468. isvalid:
  5469. description: 是否有效 - 0:无效 1:有效
  5470. type: integer
  5471. modelname:
  5472. description: 品类名称
  5473. type: string
  5474. operateid:
  5475. description: 最后操作人
  5476. type: integer
  5477. operatesrc:
  5478. description: 最后操作来源 - 1:管理端 2:终端
  5479. type: integer
  5480. operatetime:
  5481. description: 最后操作时间
  5482. type: string
  5483. operatorname:
  5484. description: 操作人名称
  5485. type: string
  5486. spotgoodsbrandid:
  5487. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5488. type: integer
  5489. spotgoodsmodelid:
  5490. description: 现货品类ID(通用则为0)
  5491. type: integer
  5492. spotgoodsprice:
  5493. description: 现货价格
  5494. type: number
  5495. tradedate:
  5496. description: 交易日(yyyyMMdd)
  5497. type: string
  5498. unitid:
  5499. description: 现货商品单位id
  5500. type: integer
  5501. wrstandardcode:
  5502. description: 现货商品代码
  5503. type: string
  5504. wrstandardid:
  5505. description: 现货商品ID
  5506. type: integer
  5507. wrstandardname:
  5508. description: 现货商品名称
  5509. type: string
  5510. type: object
  5511. models.ErmcpSpotGoodsPriceLog:
  5512. properties:
  5513. areauserid:
  5514. description: 所属机构id
  5515. type: integer
  5516. brandname:
  5517. description: 品牌名称
  5518. type: string
  5519. currencyid:
  5520. description: 报价货币ID
  5521. type: integer
  5522. enumdicname:
  5523. description: 现货商品单位名称
  5524. type: string
  5525. gbenumdicname:
  5526. description: 品类单位名称
  5527. type: string
  5528. gmunitid:
  5529. description: 品类单位id
  5530. type: integer
  5531. logid:
  5532. description: 日志id
  5533. type: integer
  5534. modelname:
  5535. description: 品类名称
  5536. type: string
  5537. operateid:
  5538. description: 最后操作人
  5539. type: integer
  5540. operatesrc:
  5541. description: 最后操作来源 - 1:管理端 2:终端
  5542. type: integer
  5543. operatetime:
  5544. description: 最后操作时间
  5545. type: string
  5546. operatorname:
  5547. description: 操作人名称
  5548. type: string
  5549. spotgoodsbrandid:
  5550. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5551. type: integer
  5552. spotgoodsmodelid:
  5553. description: 现货品类ID(通用则为0)
  5554. type: integer
  5555. spotgoodsprice:
  5556. description: 现货价格
  5557. type: number
  5558. tradedate:
  5559. description: 交易日(yyyyMMdd)
  5560. type: string
  5561. unitid:
  5562. description: 现货商品单位id
  5563. type: integer
  5564. wrstandardcode:
  5565. description: 现货商品代码
  5566. type: string
  5567. wrstandardid:
  5568. description: 现货商品ID
  5569. type: integer
  5570. wrstandardname:
  5571. description: 现货商品名称
  5572. type: string
  5573. type: object
  5574. models.ErmcpTaAccount:
  5575. properties:
  5576. accountid:
  5577. description: 账户id
  5578. type: integer
  5579. accountname:
  5580. description: 账户名称
  5581. type: string
  5582. currencyid:
  5583. description: 币种id
  5584. type: integer
  5585. ismain:
  5586. description: 是否主账户 0-否 1-是
  5587. type: integer
  5588. parentaccountid:
  5589. description: 父账户id
  5590. type: integer
  5591. relateduserid:
  5592. description: 关联userid
  5593. type: integer
  5594. tradestatus:
  5595. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5596. type: integer
  5597. type: object
  5598. models.ErmcpTaAccountEx:
  5599. properties:
  5600. mainAcc:
  5601. $ref: '#/definitions/models.ErmcpTaAccount'
  5602. description: 主账号
  5603. type: object
  5604. subacclist:
  5605. description: 子账号列表
  5606. items:
  5607. $ref: '#/definitions/models.ErmcpTaAccount'
  5608. type: array
  5609. type: object
  5610. models.ErmcpTaAccountInfo:
  5611. properties:
  5612. accountid:
  5613. description: 资金账户ID
  5614. type: integer
  5615. accountname:
  5616. description: 账户名称
  5617. type: string
  5618. balance:
  5619. description: 期初余额
  5620. type: number
  5621. capitalbalance:
  5622. description: 本金余额[外部子账户实际出入金余额]
  5623. type: number
  5624. closepl:
  5625. description: 今日平仓盈亏
  5626. type: number
  5627. creditdecrease:
  5628. description: 今日授信减少
  5629. type: number
  5630. creditincrease:
  5631. description: 今日授信增加
  5632. type: number
  5633. curdebt:
  5634. description: 期末欠款
  5635. type: number
  5636. currencyid:
  5637. description: 货币ID
  5638. type: integer
  5639. currentbalance:
  5640. description: 期末余额
  5641. type: number
  5642. freezecharge:
  5643. description: 手续费冻结
  5644. type: number
  5645. freezemargin:
  5646. description: 冻结保证金
  5647. type: number
  5648. fromaccountid:
  5649. description: 所属上级账户
  5650. type: integer
  5651. inamount:
  5652. description: 今日入金金额(包括三方入金)
  5653. type: number
  5654. ismain:
  5655. description: 是否母账号 0:不是母账户 1:是母账户
  5656. type: integer
  5657. mortgagecredit:
  5658. description: 授信金额
  5659. type: number
  5660. oridebt:
  5661. description: 期初欠款
  5662. type: number
  5663. orifreezecharge:
  5664. description: 期初手续费冻结
  5665. type: number
  5666. orifreezemargin:
  5667. description: 期初冻结保证金
  5668. type: number
  5669. orimortgagecredit:
  5670. description: 期初授信金额
  5671. type: number
  5672. oriothercredit:
  5673. description: 期初其它授信金额
  5674. type: number
  5675. oriotherfreezemargin:
  5676. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5677. type: number
  5678. orioutamountfreeze:
  5679. description: 期初出金冻结
  5680. type: number
  5681. oriusedmargin:
  5682. description: 期初占用保证金
  5683. type: number
  5684. othercredit:
  5685. description: 其它授信金额
  5686. type: number
  5687. othercreditdecrease:
  5688. description: 今日其它授信减少
  5689. type: number
  5690. othercreditincrease:
  5691. description: 今日其它授信增加
  5692. type: number
  5693. otherfreezemargin:
  5694. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5695. type: number
  5696. outamount:
  5697. description: 今日出金金额(包括三方出金)
  5698. type: number
  5699. outamountfreeze:
  5700. description: 出金冻结
  5701. type: number
  5702. outthreshold:
  5703. description: 出金阈值
  5704. type: number
  5705. parentaccountid:
  5706. description: 所属根账号
  5707. type: integer
  5708. paycharge:
  5709. description: 今日手续费支出
  5710. type: number
  5711. relateduserid:
  5712. description: 关联用户
  5713. type: integer
  5714. signstatus:
  5715. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5716. type: integer
  5717. sublevelpath:
  5718. description: 账号层级路径(逗号分隔,首尾加逗号)
  5719. type: string
  5720. taaccounttype:
  5721. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5722. type: integer
  5723. thirdinamount:
  5724. description: 今日三方入金
  5725. type: number
  5726. thirdoutamount:
  5727. description: 今日三方出金
  5728. type: number
  5729. tradestatus:
  5730. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5731. type: integer
  5732. transferamount:
  5733. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5734. type: number
  5735. usedmargin:
  5736. description: 占用保证金
  5737. type: number
  5738. userid:
  5739. description: 用户ID
  5740. type: integer
  5741. type: object
  5742. models.ErmcpTradeConfigTMP:
  5743. properties:
  5744. areauserid:
  5745. description: 所属机构
  5746. type: integer
  5747. basiccurrencyid:
  5748. description: 基本币种ID[汇率] - 目标币种
  5749. type: integer
  5750. mainaccountid:
  5751. description: 主账户ID
  5752. type: integer
  5753. modifierid:
  5754. description: 修改人
  5755. type: integer
  5756. remark:
  5757. description: 备注
  5758. type: string
  5759. tradeconfigtmpid:
  5760. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5761. type: integer
  5762. tradeconfigtmpname:
  5763. description: 交易配置模板名称
  5764. type: string
  5765. tradeconfigtmptype:
  5766. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5767. type: integer
  5768. updatetime:
  5769. description: 更新时间
  5770. type: string
  5771. type: object
  5772. models.ErmcpUserModel:
  5773. properties:
  5774. address:
  5775. description: 通讯地址
  5776. type: string
  5777. attachment1:
  5778. description: 附件1
  5779. type: string
  5780. audittime:
  5781. description: 审核时间
  5782. type: string
  5783. cardfrontphotourl:
  5784. description: 证件正面图片地址
  5785. type: string
  5786. cardnum:
  5787. description: 证件号码
  5788. type: string
  5789. cardtype:
  5790. description: 证件类型
  5791. type: integer
  5792. cardtypename:
  5793. description: 证件类型名称
  5794. type: string
  5795. cityid:
  5796. description: 市
  5797. type: integer
  5798. countryid:
  5799. description: 国家
  5800. type: integer
  5801. createtime:
  5802. description: 创建时间
  5803. type: string
  5804. customername:
  5805. description: 企业名称
  5806. type: string
  5807. districtid:
  5808. description: 区域
  5809. type: integer
  5810. memberuserid:
  5811. description: 所属机构ID
  5812. type: integer
  5813. mobile:
  5814. description: 手机号码
  5815. type: string
  5816. modifytime:
  5817. description: 修改时间
  5818. type: string
  5819. nickname:
  5820. description: 昵称
  5821. type: string
  5822. provinceid:
  5823. description: 省
  5824. type: integer
  5825. remark:
  5826. description: 备注
  5827. type: string
  5828. status:
  5829. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5830. type: integer
  5831. statusdesc:
  5832. description: 账户状态中文描述
  5833. type: string
  5834. telphone:
  5835. description: 联系电话
  5836. type: string
  5837. userid:
  5838. description: 用户ID
  5839. type: integer
  5840. userinfotype:
  5841. description: 客户类型
  5842. type: string
  5843. type: object
  5844. models.ErmcpWareHouseInfo:
  5845. properties:
  5846. address:
  5847. description: 详细地址
  5848. type: string
  5849. areauserid:
  5850. description: 所属机构
  5851. type: integer
  5852. autoid:
  5853. description: 自增ID(仓库ID)
  5854. type: integer
  5855. cityid:
  5856. description: 市
  5857. type: integer
  5858. contactname:
  5859. description: 联系人
  5860. type: string
  5861. contactnum:
  5862. description: 联系电话
  5863. type: string
  5864. countryid:
  5865. description: 国家
  5866. type: integer
  5867. createtime:
  5868. description: 创建时间
  5869. type: string
  5870. districtid:
  5871. description: 区
  5872. type: integer
  5873. hasvideo:
  5874. description: 是否有视频 - 0:无 1:有
  5875. type: integer
  5876. provinceid:
  5877. description: 省
  5878. type: integer
  5879. remark:
  5880. description: 审核备注
  5881. type: string
  5882. videourl:
  5883. description: 视频地址
  5884. type: string
  5885. warehousecode:
  5886. description: 仓库代码
  5887. type: string
  5888. warehousename:
  5889. description: 仓库名称
  5890. type: string
  5891. warehousestatus:
  5892. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5893. type: integer
  5894. warehousetype:
  5895. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5896. type: integer
  5897. type: object
  5898. models.ErmcpWrstandDetail:
  5899. properties:
  5900. gbList:
  5901. description: 品牌列表
  5902. items:
  5903. $ref: '#/definitions/models.GoodsBrand'
  5904. type: array
  5905. goodsList:
  5906. description: 关联交易商品列表
  5907. items:
  5908. $ref: '#/definitions/models.RelatedGoodsEx'
  5909. type: array
  5910. gtList:
  5911. description: 型号列表
  5912. items:
  5913. $ref: '#/definitions/models.GoodsTypeModel'
  5914. type: array
  5915. wrd:
  5916. $ref: '#/definitions/models.ErmcpWrstandard'
  5917. description: 基本信息
  5918. type: object
  5919. wrsList:
  5920. description: 套保信息列表
  5921. items:
  5922. $ref: '#/definitions/models.WRSConverTDetail'
  5923. type: array
  5924. type: object
  5925. models.ErmcpWrstandard:
  5926. properties:
  5927. areauserid:
  5928. description: 所属机构
  5929. type: integer
  5930. createtime:
  5931. description: 创建时间
  5932. type: string
  5933. creatorid:
  5934. description: 创建人
  5935. type: integer
  5936. deliverygoodsid:
  5937. description: 品种ID
  5938. type: integer
  5939. enumdicname:
  5940. description: 单位名称
  5941. type: string
  5942. isvalid:
  5943. description: 是否有效 0-无效(停用) 1-有效(正常)
  5944. type: integer
  5945. minivalue:
  5946. description: 最小变动值
  5947. type: integer
  5948. minivaluedp:
  5949. description: 最小变动值小数位
  5950. type: integer
  5951. realminivalue:
  5952. description: 实际最小变动值
  5953. type: integer
  5954. realminivaluedp:
  5955. description: 实际最小变动值小数位
  5956. type: integer
  5957. remark:
  5958. description: 备注
  5959. type: string
  5960. unitid:
  5961. description: 单位ID
  5962. type: integer
  5963. updatetime:
  5964. description: 更新时间
  5965. type: string
  5966. wrstandardcode:
  5967. description: 现货商品代码
  5968. type: string
  5969. wrstandardid:
  5970. description: 现货商品ID(SEQ_WRSTANDARD)
  5971. type: integer
  5972. wrstandardname:
  5973. description: 现货商品名称
  5974. type: string
  5975. type: object
  5976. models.Externalexchange:
  5977. properties:
  5978. autoid:
  5979. description: AutoID - SEQ_EXTERNALEXCHANGE
  5980. type: integer
  5981. exchangefullname:
  5982. description: 外部交易所全称
  5983. type: string
  5984. exexchangecode:
  5985. description: 外部交易所代码
  5986. type: string
  5987. exexchangename:
  5988. description: 外部交易所名称(简称)
  5989. type: string
  5990. ismarketprice:
  5991. description: 是否支持市价 - 0:不支持 1:支持
  5992. type: integer
  5993. quotegear:
  5994. description: 行情档位(1-10)
  5995. type: integer
  5996. showbrokerflag:
  5997. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5998. type: integer
  5999. updatetime:
  6000. description: 更新时间
  6001. type: string
  6002. required:
  6003. - autoid
  6004. type: object
  6005. models.Funcmenulist:
  6006. properties:
  6007. iconame:
  6008. description: 菜单图标
  6009. type: string
  6010. menutype:
  6011. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6012. type: integer
  6013. parentcode:
  6014. description: 上级资源代码
  6015. type: string
  6016. remark:
  6017. description: 备注
  6018. type: string
  6019. resourcecode:
  6020. description: 资源代码
  6021. type: string
  6022. resourcelevel:
  6023. description: 级别 1-一级 2-二级 3-三级 4-四级
  6024. type: integer
  6025. resourcename:
  6026. description: 资源名
  6027. type: string
  6028. sort:
  6029. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6030. type: integer
  6031. url:
  6032. description: URL
  6033. type: string
  6034. required:
  6035. - resourcecode
  6036. type: object
  6037. models.Goods:
  6038. properties:
  6039. agreeunit:
  6040. description: 合约单位
  6041. type: number
  6042. auditaccountid:
  6043. description: 审核操作员账号
  6044. type: integer
  6045. audittime:
  6046. description: 审核时间
  6047. type: string
  6048. cancelaccountid:
  6049. description: 注销操作员账号
  6050. type: integer
  6051. canceltime:
  6052. description: 注销时间
  6053. type: string
  6054. closepricemode:
  6055. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6056. type: integer
  6057. closepriceparam:
  6058. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6059. type: number
  6060. createtime:
  6061. description: 创建时间
  6062. type: string
  6063. creatorid:
  6064. description: 创建人
  6065. type: integer
  6066. currencyid:
  6067. description: 报价货币ID
  6068. type: integer
  6069. cutmode:
  6070. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6071. type: integer
  6072. decimalplace:
  6073. description: 报价小数位
  6074. type: integer
  6075. delistingdate:
  6076. description: 商品退市时间(状态:退市) -- 已作废
  6077. type: string
  6078. delistingmode:
  6079. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6080. type: integer
  6081. deliveryflag:
  6082. description: 交割标志 - 0:不可交割 1:可交割
  6083. type: integer
  6084. forceclosemode:
  6085. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6086. type: integer
  6087. forceclosevalue:
  6088. description: 定期强平参数 [收益权]
  6089. type: integer
  6090. goodscode:
  6091. description: 商品代码(内部)
  6092. type: string
  6093. goodscurrencyid:
  6094. description: 合约货币ID
  6095. type: integer
  6096. goodsgroupid:
  6097. description: 所属商品组ID
  6098. type: integer
  6099. goodsid:
  6100. description: 商品ID(自增ID SEQ_GOODS)
  6101. type: integer
  6102. goodsname:
  6103. description: 商品名称
  6104. type: string
  6105. goodsquotetype:
  6106. description: '合约报价类型: 1-直接报价 2-间接报价'
  6107. type: integer
  6108. goodsstatus:
  6109. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6110. type: integer
  6111. goodstradetype:
  6112. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6113. type: integer
  6114. goodunitid:
  6115. description: 报价单位ID
  6116. type: integer
  6117. hasquoter:
  6118. description: 是否有报价商 - 0:无报价商 1:有报价商
  6119. type: integer
  6120. hqprotecttime:
  6121. description: 行情保护时间(秒)
  6122. type: integer
  6123. innerdealmode:
  6124. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6125. type: integer
  6126. isbuylimited:
  6127. description: 是否限制建仓量 - 0:不限制 1:限制
  6128. type: integer
  6129. lasttradedate:
  6130. description: 最后交易日期(状态:待退市)
  6131. type: string
  6132. listingdate:
  6133. description: 交易开始日期
  6134. type: string
  6135. marketid:
  6136. description: 所属市场ID
  6137. type: integer
  6138. modifierid:
  6139. description: 修改人
  6140. type: integer
  6141. modifystatus:
  6142. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6143. type: integer
  6144. modifytime:
  6145. description: 修改时间
  6146. type: string
  6147. outerdealmode:
  6148. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6149. type: integer
  6150. outgoodscode:
  6151. description: 商品代码(外部)
  6152. type: string
  6153. qtydecimalplace:
  6154. description: 成交量小数位
  6155. type: integer
  6156. quotegear:
  6157. description: 行情档位(1-10)
  6158. type: integer
  6159. quoteminunit:
  6160. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6161. type: integer
  6162. quoteshowtype:
  6163. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6164. type: integer
  6165. quoteshowtypeinterval:
  6166. description: 行情报价间隔时间(秒)(成交价时为0)
  6167. type: integer
  6168. remark:
  6169. description: 备注
  6170. type: string
  6171. required:
  6172. - goodscode
  6173. - goodsid
  6174. - goodsname
  6175. - marketid
  6176. type: object
  6177. models.GoodsBrand:
  6178. properties:
  6179. brandid:
  6180. description: 品牌ID
  6181. type: integer
  6182. brandname:
  6183. description: 品牌名称
  6184. type: string
  6185. isvalid:
  6186. description: 是否有效 - 0:无效 1:有效
  6187. type: integer
  6188. type: object
  6189. models.GoodsIDAndName:
  6190. properties:
  6191. goodscode:
  6192. description: 商品代码(内部)
  6193. type: string
  6194. goodsid:
  6195. description: 商品ID(自增ID SEQ_GOODS)
  6196. type: integer
  6197. goodsname:
  6198. description: 商品名称
  6199. type: string
  6200. marketid:
  6201. description: 所属市场ID
  6202. type: integer
  6203. required:
  6204. - goodscode
  6205. - goodsid
  6206. - goodsname
  6207. - marketid
  6208. type: object
  6209. models.GoodsTypeModel:
  6210. properties:
  6211. convertfactor:
  6212. description: 标仓系数
  6213. type: number
  6214. modelid:
  6215. description: 型号ID
  6216. type: integer
  6217. modelname:
  6218. description: 型号名称
  6219. type: string
  6220. updatetime:
  6221. description: 更新时间
  6222. type: string
  6223. type: object
  6224. models.Goodsgroup:
  6225. properties:
  6226. agreeunit:
  6227. description: 合约单位
  6228. type: number
  6229. canshort:
  6230. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6231. type: integer
  6232. closepricemode:
  6233. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6234. type: integer
  6235. closepriceparam:
  6236. description: 强平最新价浮动比例 - 方式为2时使用
  6237. type: number
  6238. createtime:
  6239. description: 创建时间
  6240. type: string
  6241. creatorid:
  6242. description: 创建人
  6243. type: integer
  6244. currencyid:
  6245. description: 报价货币ID
  6246. type: integer
  6247. decimalplace:
  6248. description: 报价小数位
  6249. type: integer
  6250. exercisetype:
  6251. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6252. type: integer
  6253. exexchangeid:
  6254. description: 外部交易所ID[通道交易]
  6255. type: integer
  6256. goodsgroupid:
  6257. description: 商品组ID(自增ID)
  6258. type: integer
  6259. goodsgroupname:
  6260. description: 商品组名称
  6261. type: string
  6262. goodsgroupstatus:
  6263. description: 商品组状态 - 1:正常 2:注销
  6264. type: integer
  6265. goodunitid:
  6266. description: 报价单位ID
  6267. type: integer
  6268. innerdealmode:
  6269. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6270. type: integer
  6271. isbuylimited:
  6272. description: 是否限制建仓量 - 0:不限制 1:限制
  6273. type: integer
  6274. marketid:
  6275. description: 所属市场ID
  6276. type: integer
  6277. modifierid:
  6278. description: 修改人
  6279. type: integer
  6280. modifytime:
  6281. description: 修改时间
  6282. type: string
  6283. outerdealmode:
  6284. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6285. type: integer
  6286. outergroupcode:
  6287. description: 外部商品组代码[通道交易]
  6288. type: string
  6289. premiumdecimalplace:
  6290. description: 权利金小数位[场外期权]
  6291. type: integer
  6292. premiumspreadalgorithm:
  6293. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6294. type: integer
  6295. premiumspreadvalue:
  6296. description: 权利金点差值[场外期权]
  6297. type: number
  6298. qtydecimalplace:
  6299. description: 成交量小数位
  6300. type: integer
  6301. quotegear:
  6302. description: 行情档位(1-10)
  6303. type: integer
  6304. quoteminunit:
  6305. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6306. type: integer
  6307. quoterid:
  6308. description: 报价商ID[场外期权]
  6309. type: integer
  6310. quotesourcegroupid:
  6311. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6312. type: integer
  6313. syncgoodsqty:
  6314. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6315. type: integer
  6316. required:
  6317. - goodsgroupid
  6318. - goodsgroupname
  6319. - goodsgroupstatus
  6320. - marketid
  6321. type: object
  6322. models.Goodssortbypreposition:
  6323. properties:
  6324. goodscode:
  6325. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6326. type: string
  6327. goodsgroupcode:
  6328. description: 品种代码
  6329. type: string
  6330. prepositionqty:
  6331. description: 昨持仓量
  6332. type: integer
  6333. sortindex:
  6334. description: 排序
  6335. type: integer
  6336. tradedate:
  6337. description: 交易日
  6338. type: string
  6339. updatetime:
  6340. description: 更新时间
  6341. type: string
  6342. required:
  6343. - goodscode
  6344. - tradedate
  6345. type: object
  6346. models.Hedgeinnerholderdetail:
  6347. properties:
  6348. accountid:
  6349. description: 账号ID
  6350. type: integer
  6351. buyorsell:
  6352. description: 方向 - 0:买 1:卖
  6353. type: integer
  6354. freezeqty:
  6355. description: 冻结数量 - 按单平使用
  6356. type: integer
  6357. goodsid:
  6358. description: 商品ID
  6359. type: integer
  6360. holderamount:
  6361. description: 持仓金额 [商品币种]
  6362. type: number
  6363. holderdays:
  6364. description: 剩余冻结天数
  6365. type: integer
  6366. holderprice:
  6367. description: 持仓价格
  6368. type: number
  6369. holderqty:
  6370. description: 持仓数量
  6371. type: integer
  6372. marketid:
  6373. description: 市场ID
  6374. type: integer
  6375. openprice:
  6376. description: 建仓价格
  6377. type: number
  6378. openqty:
  6379. description: 建仓数量
  6380. type: integer
  6381. parentaccountid:
  6382. description: 所属母账户
  6383. type: integer
  6384. releaseamount:
  6385. description: 释放持仓金额[商品币种]
  6386. type: number
  6387. tradeamount:
  6388. description: 成交金额[账户]
  6389. type: number
  6390. tradedate:
  6391. description: 交易日(yyyyMMdd)
  6392. type: string
  6393. tradeid:
  6394. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6395. type: string
  6396. tradetime:
  6397. description: 交易时间
  6398. type: string
  6399. required:
  6400. - buyorsell
  6401. - tradeid
  6402. type: object
  6403. models.HsbyBuyMyPayOrder:
  6404. properties:
  6405. agreeunit:
  6406. description: 合约单位
  6407. type: number
  6408. buyaccountid:
  6409. description: 买方账号ID[报价币种]
  6410. type: integer
  6411. buyorderid:
  6412. description: 买方委托单号
  6413. type: string
  6414. createtime:
  6415. description: 创建时间
  6416. type: string
  6417. currencysign:
  6418. description: 货币符号
  6419. type: string
  6420. decimalplace:
  6421. description: 报价小数位
  6422. type: integer
  6423. goodscode:
  6424. description: 商品代码(内部)
  6425. type: string
  6426. goodsid:
  6427. description: 商品ID
  6428. type: integer
  6429. goodsname:
  6430. description: 商品名称
  6431. type: string
  6432. marketid:
  6433. description: 市场ID
  6434. type: integer
  6435. offamount:
  6436. description: 优惠金额
  6437. type: number
  6438. originalamount:
  6439. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6440. type: number
  6441. payamount:
  6442. description: 支付金额 = TradeAmount + TradeCharge
  6443. type: number
  6444. payflag:
  6445. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6446. type: integer
  6447. paylimitedtime:
  6448. description: 支付期限
  6449. type: string
  6450. paytime:
  6451. description: 付款时间
  6452. type: string
  6453. picurls1:
  6454. description: 预售商品介绍图片[多张用逗号分隔]
  6455. type: string
  6456. picurls2:
  6457. description: 挂牌商品介绍图片[多张用逗号分隔]
  6458. type: string
  6459. sellaccountid:
  6460. description: 卖方账号ID[报价币种]
  6461. type: integer
  6462. sellorderid:
  6463. description: 卖方委托单号
  6464. type: string
  6465. tradeamount:
  6466. description: 成交金额
  6467. type: number
  6468. tradecharge:
  6469. description: 成交手续费(买方)
  6470. type: number
  6471. tradedate:
  6472. description: 交易日(yyyyMMdd)
  6473. type: string
  6474. tradeid:
  6475. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6476. type: string
  6477. trademode:
  6478. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6479. 21:竞拍-大宗式 22:受托竞价
  6480. type: integer
  6481. tradeprice:
  6482. description: 成交价格
  6483. type: number
  6484. tradeqty:
  6485. description: 成交数量
  6486. type: integer
  6487. vendorname1:
  6488. description: 预售商品供应商名称
  6489. type: string
  6490. vendorname2:
  6491. description: 挂牌商品供应商名称
  6492. type: string
  6493. required:
  6494. - goodscode
  6495. - goodsname
  6496. - tradeid
  6497. - trademode
  6498. type: object
  6499. models.HsbyBuyMyTradeDetail:
  6500. properties:
  6501. accountid:
  6502. description: 账户ID[报价币种]
  6503. type: integer
  6504. agreeunit:
  6505. description: 合约单位
  6506. type: number
  6507. amount:
  6508. description: 金额 = 价格 * 数量 * 合约单位
  6509. type: number
  6510. buyorsell:
  6511. description: 买卖 - 0:买 1:卖
  6512. type: integer
  6513. currencysign:
  6514. description: 货币符号
  6515. type: string
  6516. decimalplace:
  6517. description: 报价小数位
  6518. type: integer
  6519. goodscode:
  6520. description: 商品代码(内部)
  6521. type: string
  6522. goodsid:
  6523. description: 商品ID
  6524. type: integer
  6525. goodsname:
  6526. description: 商品名称
  6527. type: string
  6528. marketid:
  6529. description: 市场ID
  6530. type: integer
  6531. orderamount:
  6532. description: 委托金额
  6533. type: number
  6534. orderid:
  6535. description: 单号(成交单号)
  6536. type: string
  6537. picurls1:
  6538. description: 预售商品介绍图片[多张用逗号分隔]
  6539. type: string
  6540. picurls2:
  6541. description: 挂牌商品介绍图片[多张用逗号分隔]
  6542. type: string
  6543. price:
  6544. description: 价格
  6545. type: number
  6546. qty:
  6547. description: 数量
  6548. type: integer
  6549. time:
  6550. description: 时间
  6551. type: string
  6552. trademode:
  6553. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6554. 21:竞拍-大宗式 22:受托竞价
  6555. type: integer
  6556. vendorname1:
  6557. description: 预售商品供应商名称
  6558. type: string
  6559. vendorname2:
  6560. description: 挂牌商品供应商名称
  6561. type: string
  6562. required:
  6563. - accountid
  6564. - buyorsell
  6565. - goodscode
  6566. - goodsid
  6567. - goodsname
  6568. - marketid
  6569. - orderid
  6570. - qty
  6571. - time
  6572. - trademode
  6573. type: object
  6574. models.HsbyGoodsOrderDetail:
  6575. properties:
  6576. buyorsell:
  6577. description: 买卖 - 0:买 1:卖
  6578. type: integer
  6579. currencysign:
  6580. description: 货币符号
  6581. type: string
  6582. customername:
  6583. description: 客户名称(企业名称),已脱敏
  6584. type: string
  6585. enableqty:
  6586. description: 可用数量
  6587. type: integer
  6588. goodunit:
  6589. description: 报价单位
  6590. type: string
  6591. orderid:
  6592. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6593. type: string
  6594. orderprice:
  6595. description: 委托价格
  6596. type: number
  6597. ordertime:
  6598. description: 委托时间
  6599. type: string
  6600. required:
  6601. - buyorsell
  6602. - orderid
  6603. - ordertime
  6604. type: object
  6605. models.HsbyListingGoodsDetail:
  6606. properties:
  6607. agreeunit:
  6608. description: 合约单位
  6609. type: number
  6610. buymaxqty:
  6611. description: 购买上限 [71] - 0为不限
  6612. type: integer
  6613. currency:
  6614. description: 货币
  6615. type: string
  6616. currencysign:
  6617. description: 货币符号
  6618. type: string
  6619. decimalplace:
  6620. description: 报价小数位
  6621. type: integer
  6622. desccityid:
  6623. description: 目的地(市)ID
  6624. type: integer
  6625. descprovinceid:
  6626. description: 目的地(省)ID
  6627. type: integer
  6628. goodscode:
  6629. description: 商品代码(内部)
  6630. type: string
  6631. goodsdesc:
  6632. description: 商品详情
  6633. type: string
  6634. goodsid:
  6635. description: 商品ID(自增ID SEQ_GOODS)
  6636. type: integer
  6637. goodsname:
  6638. description: 商品名称
  6639. type: string
  6640. goodsprice:
  6641. description: 商品价格
  6642. type: number
  6643. hotindex:
  6644. description: 景点热度
  6645. type: integer
  6646. last:
  6647. description: 现价
  6648. type: number
  6649. limitdown:
  6650. description: 跌停价
  6651. type: number
  6652. limitup:
  6653. description: 涨停价
  6654. type: number
  6655. lotsize:
  6656. description: 手数最小变动单位
  6657. type: integer
  6658. marketid:
  6659. description: 所属市场ID
  6660. type: integer
  6661. picurls:
  6662. description: 介绍图片[多张用逗号分隔]
  6663. type: string
  6664. quoteminunit:
  6665. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6666. type: integer
  6667. stepvalue:
  6668. description: 价格最小变动单位
  6669. type: number
  6670. trademode:
  6671. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6672. 21:竞拍-大宗式 22:受托竞价
  6673. type: integer
  6674. vendorattr:
  6675. description: 供应商附件(多张,逗号分隔)
  6676. type: string
  6677. vendorname:
  6678. description: 供应商名称
  6679. type: string
  6680. vendorphone:
  6681. description: 供应商客服电话
  6682. type: string
  6683. videourls:
  6684. description: 介绍视频[多张用逗号分隔]
  6685. type: string
  6686. required:
  6687. - goodscode
  6688. - goodsid
  6689. - goodsname
  6690. - marketid
  6691. - trademode
  6692. type: object
  6693. models.HsbyMarketGoods:
  6694. properties:
  6695. accountid:
  6696. description: 账户ID[报价币种]
  6697. type: integer
  6698. agreeunit:
  6699. description: 合约单位
  6700. type: number
  6701. buyorsell:
  6702. description: 买卖 - 0:买 1:卖
  6703. type: integer
  6704. categoryid:
  6705. description: 类别ID(WRCATEGORY)
  6706. type: integer
  6707. currency:
  6708. description: 货币
  6709. type: string
  6710. currencysign:
  6711. description: 货币符号
  6712. type: string
  6713. customername:
  6714. description: 卖家名称
  6715. type: string
  6716. decimalplace:
  6717. description: 报价小数位
  6718. type: integer
  6719. goodscode:
  6720. description: 商品代码(内部)
  6721. type: string
  6722. goodsid:
  6723. description: 商品ID
  6724. type: integer
  6725. goodsname:
  6726. description: 商品名称
  6727. type: string
  6728. goodsprice:
  6729. description: 商品价格
  6730. type: number
  6731. hascoupon:
  6732. description: 是否可用优惠卷
  6733. type: boolean
  6734. hotindex:
  6735. description: 景点热度
  6736. type: integer
  6737. marketid:
  6738. description: 市场ID
  6739. type: integer
  6740. orderid:
  6741. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6742. type: string
  6743. orderprice:
  6744. description: 委托价格
  6745. type: number
  6746. orderstatus:
  6747. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6748. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6749. 16:成交失败违约(荷兰式竞拍专用)
  6750. type: integer
  6751. picurls:
  6752. description: 介绍图片[多张用逗号分隔]
  6753. type: string
  6754. quoteminunit:
  6755. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6756. type: integer
  6757. sellUserID:
  6758. description: 卖方UserID
  6759. type: integer
  6760. trademode:
  6761. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6762. 21:竞拍-大宗式 22:受托竞价
  6763. type: integer
  6764. videourls:
  6765. description: 介绍视频[多张用逗号分隔]
  6766. type: string
  6767. required:
  6768. - accountid
  6769. - buyorsell
  6770. - goodscode
  6771. - goodsid
  6772. - goodsname
  6773. - marketid
  6774. - orderid
  6775. - trademode
  6776. type: object
  6777. models.HsbyMarketGoodsDetail:
  6778. properties:
  6779. accountid:
  6780. description: 账户ID[报价币种]
  6781. type: integer
  6782. agreeunit:
  6783. description: 合约单位
  6784. type: number
  6785. buymaxqty:
  6786. description: 购买上限 [71] - 0为不限
  6787. type: integer
  6788. buyorsell:
  6789. description: 买卖 - 0:买 1:卖
  6790. type: integer
  6791. cancelqty:
  6792. description: 撤单数量
  6793. type: integer
  6794. categoryid:
  6795. description: 类别ID(WRCATEGORY)
  6796. type: integer
  6797. currency:
  6798. description: 货币
  6799. type: string
  6800. currencysign:
  6801. description: 货币符号
  6802. type: string
  6803. customername:
  6804. description: 卖家名称
  6805. type: string
  6806. decimalplace:
  6807. description: 报价小数位
  6808. type: integer
  6809. goodscode:
  6810. description: 商品代码(内部)
  6811. type: string
  6812. goodsdesc:
  6813. description: 商品详情
  6814. type: string
  6815. goodsid:
  6816. description: 商品ID
  6817. type: integer
  6818. goodsname:
  6819. description: 商品名称
  6820. type: string
  6821. goodsprice:
  6822. description: 商品价格
  6823. type: number
  6824. hotindex:
  6825. description: 景点热度
  6826. type: integer
  6827. lotsize:
  6828. description: 手数最小变动单位
  6829. type: integer
  6830. marketid:
  6831. description: 市场ID
  6832. type: integer
  6833. orderid:
  6834. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6835. type: string
  6836. orderprice:
  6837. description: 委托价格
  6838. type: number
  6839. orderqty:
  6840. description: 委托数量
  6841. type: integer
  6842. orderstatus:
  6843. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6844. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6845. 16:成交失败违约(荷兰式竞拍专用)
  6846. type: integer
  6847. picurls:
  6848. description: 介绍图片[多张用逗号分隔]
  6849. type: string
  6850. quoteminunit:
  6851. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6852. type: integer
  6853. sellUserID:
  6854. description: 卖方UserID
  6855. type: integer
  6856. trademode:
  6857. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6858. 21:竞拍-大宗式 22:受托竞价
  6859. type: integer
  6860. tradeqty:
  6861. description: 成交数量
  6862. type: integer
  6863. vendorattr:
  6864. description: 供应商附件(多张,逗号分隔)
  6865. type: string
  6866. vendorname:
  6867. description: 供应商名称
  6868. type: string
  6869. vendorphone:
  6870. description: 供应商客服电话
  6871. type: string
  6872. videourls:
  6873. description: 介绍视频[多张用逗号分隔]
  6874. type: string
  6875. required:
  6876. - accountid
  6877. - buyorsell
  6878. - goodscode
  6879. - goodsid
  6880. - goodsname
  6881. - marketid
  6882. - orderid
  6883. - orderqty
  6884. - trademode
  6885. type: object
  6886. models.HsbyMarketInfo:
  6887. properties:
  6888. marketid:
  6889. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6890. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6891. type: integer
  6892. marketname:
  6893. description: 市场名称
  6894. type: string
  6895. marketstatus:
  6896. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6897. type: integer
  6898. trademode:
  6899. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6900. 21:竞拍-大宗式 22:受托竞价
  6901. type: integer
  6902. required:
  6903. - marketid
  6904. - marketstatus
  6905. - trademode
  6906. type: object
  6907. models.HsbyMyGoods:
  6908. properties:
  6909. accountid:
  6910. description: 账号Id
  6911. type: integer
  6912. agreeunit:
  6913. description: 合约单位
  6914. type: number
  6915. buyaverageprice:
  6916. description: 持仓均价
  6917. type: number
  6918. buycurholderamount:
  6919. description: 买当前持仓总金额[商品币种]
  6920. type: number
  6921. buycurpositionqty:
  6922. description: 买当前持仓总数量
  6923. type: integer
  6924. buymaxqty:
  6925. description: 购买上限 [71] - 0为不限
  6926. type: integer
  6927. currencysign:
  6928. description: 货币符号
  6929. type: string
  6930. decimalplace:
  6931. description: 报价小数位
  6932. type: integer
  6933. enableqty:
  6934. description: 可用数量
  6935. type: integer
  6936. goodscode:
  6937. description: 商品代码(内部)
  6938. type: string
  6939. goodsid:
  6940. description: 商品Id
  6941. type: integer
  6942. goodsname:
  6943. description: 商品名称
  6944. type: string
  6945. goodsprice:
  6946. description: 商品价格
  6947. type: number
  6948. goodsstatus:
  6949. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6950. type: integer
  6951. last:
  6952. description: 现价(仅使用于挂牌点选)
  6953. type: number
  6954. limitdown:
  6955. description: 跌停价(仅使用于挂牌点选)
  6956. type: number
  6957. limitup:
  6958. description: 涨停价(仅使用于挂牌点选)
  6959. type: number
  6960. lotsize:
  6961. description: 手数最小变动单位
  6962. type: integer
  6963. marketid:
  6964. description: 所属市场ID
  6965. type: integer
  6966. picurls:
  6967. description: 介绍图片[多张用逗号分隔]
  6968. type: string
  6969. quoteminunit:
  6970. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6971. type: integer
  6972. stepvalue:
  6973. description: 价格最小变动单位
  6974. type: number
  6975. trademode:
  6976. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6977. 21:竞拍-大宗式 22:受托竞价
  6978. type: integer
  6979. required:
  6980. - accountid
  6981. - goodscode
  6982. - goodsid
  6983. - goodsname
  6984. - marketid
  6985. - trademode
  6986. type: object
  6987. models.HsbyMyPackage:
  6988. properties:
  6989. accountid:
  6990. description: 账户ID
  6991. type: integer
  6992. address:
  6993. description: 提货人详细地址
  6994. type: string
  6995. agreeunit:
  6996. description: 合约单位
  6997. type: number
  6998. amount:
  6999. description: 提货金额
  7000. type: number
  7001. auditer:
  7002. description: 审核人
  7003. type: integer
  7004. audittime:
  7005. description: 审核时间
  7006. type: string
  7007. averageprice:
  7008. description: 均价
  7009. type: number
  7010. cardnum:
  7011. description: 提货人证件号码
  7012. type: string
  7013. cardtypeid:
  7014. description: 提货人证件类型
  7015. type: integer
  7016. checkremark:
  7017. description: 审核备注
  7018. type: string
  7019. currencysign:
  7020. description: 货币符号
  7021. type: string
  7022. decimalplace:
  7023. description: 报价小数位
  7024. type: integer
  7025. goodscode:
  7026. description: 商品代码(内部)
  7027. type: string
  7028. goodsid:
  7029. description: 商品ID
  7030. type: integer
  7031. goodsname:
  7032. description: 商品名称
  7033. type: string
  7034. handlestatus:
  7035. description: 处理状态
  7036. type: integer
  7037. marketid:
  7038. description: 市场ID
  7039. type: integer
  7040. phonenum:
  7041. description: 提货人联系方式
  7042. type: string
  7043. picurls:
  7044. description: 介绍图片[多张用逗号分隔]
  7045. type: string
  7046. qty:
  7047. description: 提货数量
  7048. type: number
  7049. recivername:
  7050. description: 提货人姓名
  7051. type: string
  7052. reqtime:
  7053. description: 更新时间
  7054. type: string
  7055. takemode:
  7056. description: 提货方式 - 2:自提 3:配送
  7057. type: integer
  7058. takeorderid:
  7059. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7060. type: string
  7061. takeorderstatus:
  7062. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7063. type: integer
  7064. takeremark:
  7065. description: 提货备注
  7066. type: string
  7067. tradedate:
  7068. description: 交易日(yyyyMMdd)
  7069. type: string
  7070. trademode:
  7071. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7072. 21:竞拍-大宗式 22:受托竞价
  7073. type: integer
  7074. userid:
  7075. description: 用户ID
  7076. type: integer
  7077. vendorname:
  7078. description: 供应商名称
  7079. type: string
  7080. required:
  7081. - goodscode
  7082. - goodsname
  7083. - takeorderid
  7084. - trademode
  7085. type: object
  7086. models.HsbyPreGoods:
  7087. properties:
  7088. agreeunit:
  7089. description: 合约单位
  7090. type: number
  7091. currency:
  7092. description: 货币
  7093. type: string
  7094. currencysign:
  7095. description: 货币符号
  7096. type: string
  7097. decimalplace:
  7098. description: 报价小数位
  7099. type: integer
  7100. desccityid:
  7101. description: 目的地(市)
  7102. type: integer
  7103. descprovinceid:
  7104. description: 目的地(省)
  7105. type: integer
  7106. enableqty:
  7107. description: 剩余数量
  7108. type: integer
  7109. goodscode:
  7110. description: 商品代码(内部)
  7111. type: string
  7112. goodsid:
  7113. description: 商品ID(自增ID SEQ_GOODS)
  7114. type: integer
  7115. goodsname:
  7116. description: 商品名称
  7117. type: string
  7118. goodsstatus:
  7119. description: 商品状态- 2:未上市 3:上市
  7120. type: integer
  7121. lasttradedate:
  7122. description: 最后交易日期(状态:待退市)
  7123. type: string
  7124. listingdate:
  7125. description: 交易开始日期
  7126. type: string
  7127. marketid:
  7128. description: 所属市场ID
  7129. type: integer
  7130. picurls:
  7131. description: 介绍图片[多张用逗号分隔]
  7132. type: string
  7133. presaledqty:
  7134. description: 已预售量(预售结束时更新)
  7135. type: integer
  7136. presaleqty:
  7137. description: 预售数量
  7138. type: integer
  7139. quoteminunit:
  7140. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7141. type: integer
  7142. refprice:
  7143. description: 参考价格[一口价]
  7144. type: number
  7145. relatedgoodsid:
  7146. description: 关联交易合约ID
  7147. type: integer
  7148. trademode:
  7149. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7150. 21:竞拍-大宗式 22:受托竞价
  7151. type: integer
  7152. videourls:
  7153. description: 介绍视频[多张用逗号分隔]
  7154. type: string
  7155. required:
  7156. - goodscode
  7157. - goodsid
  7158. - goodsname
  7159. - marketid
  7160. - trademode
  7161. type: object
  7162. models.HsbyPreGoodsDetail:
  7163. properties:
  7164. agreeunit:
  7165. description: 合约单位
  7166. type: number
  7167. buymaxqty:
  7168. description: 购买上限 [71] - 0为不限
  7169. type: integer
  7170. currency:
  7171. description: 货币
  7172. type: string
  7173. currencysign:
  7174. description: 货币符号
  7175. type: string
  7176. customername:
  7177. description: 发行单位
  7178. type: string
  7179. decimalplace:
  7180. description: 报价小数位
  7181. type: integer
  7182. desccityid:
  7183. description: 目的地(市)ID
  7184. type: integer
  7185. descprovinceid:
  7186. description: 目的地(省)ID
  7187. type: integer
  7188. enableqty:
  7189. description: 剩余数量
  7190. type: integer
  7191. goodscode:
  7192. description: 商品代码(内部)
  7193. type: string
  7194. goodsdesc:
  7195. description: 商品详情
  7196. type: string
  7197. goodsid:
  7198. description: 商品ID(自增ID SEQ_GOODS)
  7199. type: integer
  7200. goodsname:
  7201. description: 商品名称
  7202. type: string
  7203. goodsstatus:
  7204. description: 商品状态- 2:未上市 3:上市
  7205. type: integer
  7206. goodunit:
  7207. description: 报价单位
  7208. type: string
  7209. lasttradedate:
  7210. description: 最后交易日期(状态:待退市)
  7211. type: string
  7212. listingdate:
  7213. description: 交易开始日期
  7214. type: string
  7215. lotsize:
  7216. description: 手数最小变动单位
  7217. type: integer
  7218. marketid:
  7219. description: 所属市场ID
  7220. type: integer
  7221. picurls:
  7222. description: 介绍图片[多张用逗号分隔]
  7223. type: string
  7224. presaledqty:
  7225. description: 已预售量(预售结束时更新)
  7226. type: integer
  7227. presaleqty:
  7228. description: 预售数量
  7229. type: integer
  7230. quoteminunit:
  7231. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7232. type: integer
  7233. refprice:
  7234. description: 参考价格[一口价]
  7235. type: number
  7236. relatedgoodsid:
  7237. description: 关联交易合约ID
  7238. type: integer
  7239. stepvalue:
  7240. description: 价格最小变动单位
  7241. type: number
  7242. trademode:
  7243. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7244. 21:竞拍-大宗式 22:受托竞价
  7245. type: integer
  7246. vendorattr:
  7247. description: 供应商附件(多张,逗号分隔)
  7248. type: string
  7249. vendorname:
  7250. description: 供应商名称
  7251. type: string
  7252. vendorphone:
  7253. description: 供应商客服电话
  7254. type: string
  7255. videourls:
  7256. description: 介绍视频[多张用逗号分隔]
  7257. type: string
  7258. required:
  7259. - goodscode
  7260. - goodsid
  7261. - goodsname
  7262. - marketid
  7263. - trademode
  7264. type: object
  7265. models.HsbySellCollectionOrder:
  7266. properties:
  7267. agreeunit:
  7268. description: 合约单位
  7269. type: number
  7270. buyaccountid:
  7271. description: 买方账号ID[报价币种]
  7272. type: integer
  7273. buyorderid:
  7274. description: 买方委托单号
  7275. type: string
  7276. createtime:
  7277. description: 创建时间
  7278. type: string
  7279. currencysign:
  7280. description: 货币符号
  7281. type: string
  7282. decimalplace:
  7283. description: 报价小数位
  7284. type: integer
  7285. goodscode:
  7286. description: 商品代码(内部)
  7287. type: string
  7288. goodsid:
  7289. description: 商品ID
  7290. type: integer
  7291. goodsname:
  7292. description: 商品名称
  7293. type: string
  7294. marketid:
  7295. description: 市场ID
  7296. type: integer
  7297. offamount:
  7298. description: 优惠金额
  7299. type: number
  7300. payamount:
  7301. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7302. type: number
  7303. payflag:
  7304. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7305. type: integer
  7306. paylimitedtime:
  7307. description: 支付期限
  7308. type: string
  7309. paytime:
  7310. description: 付款时间
  7311. type: string
  7312. picurls:
  7313. description: 商品介绍图片[多张用逗号分隔]
  7314. type: string
  7315. sellaccountid:
  7316. description: 卖方账号ID[报价币种]
  7317. type: integer
  7318. sellorderid:
  7319. description: 卖方委托单号
  7320. type: string
  7321. tradeamount:
  7322. description: 成交金额
  7323. type: number
  7324. tradecharge:
  7325. description: 成交手续费(买方)
  7326. type: number
  7327. tradedate:
  7328. description: 交易日(yyyyMMdd)
  7329. type: string
  7330. tradeid:
  7331. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7332. type: string
  7333. trademode:
  7334. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7335. 21:竞拍-大宗式 22:受托竞价
  7336. type: integer
  7337. tradeprice:
  7338. description: 成交价格
  7339. type: number
  7340. tradeqty:
  7341. description: 成交数量
  7342. type: integer
  7343. required:
  7344. - goodscode
  7345. - goodsname
  7346. - tradeid
  7347. - trademode
  7348. type: object
  7349. models.HsbySellMyDetail:
  7350. properties:
  7351. accountid:
  7352. description: 账户ID[报价币种]
  7353. type: integer
  7354. agreeunit:
  7355. description: 合约单位
  7356. type: number
  7357. buyorsell:
  7358. description: 买卖 - 0:买 1:卖
  7359. type: integer
  7360. currencysign:
  7361. description: 货币符号
  7362. type: string
  7363. decimalplace:
  7364. description: 报价小数位
  7365. type: integer
  7366. goodscode:
  7367. description: 商品代码(内部)
  7368. type: string
  7369. goodsid:
  7370. description: 商品ID
  7371. type: integer
  7372. goodsname:
  7373. description: 商品名称
  7374. type: string
  7375. marketid:
  7376. description: 市场ID
  7377. type: integer
  7378. orderid:
  7379. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7380. type: string
  7381. ordertype:
  7382. description: 单据类型:0 - 发布中, 1 - 已完成
  7383. type: integer
  7384. picurls:
  7385. description: 介绍图片[多张用逗号分隔]
  7386. type: string
  7387. price:
  7388. description: 价格
  7389. type: number
  7390. qty:
  7391. description: 数量
  7392. type: integer
  7393. time:
  7394. description: 时间
  7395. type: string
  7396. trademode:
  7397. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7398. 21:竞拍-大宗式 22:受托竞价
  7399. type: integer
  7400. vendorname:
  7401. description: 供应商名称
  7402. type: string
  7403. required:
  7404. - accountid
  7405. - buyorsell
  7406. - goodscode
  7407. - goodsid
  7408. - goodsname
  7409. - marketid
  7410. - orderid
  7411. - time
  7412. - trademode
  7413. type: object
  7414. models.HsbyTopGoods:
  7415. properties:
  7416. agreeunit:
  7417. description: 合约单位
  7418. type: number
  7419. currency:
  7420. description: 货币
  7421. type: string
  7422. currencysign:
  7423. description: 货币符号
  7424. type: string
  7425. decimalplace:
  7426. description: 报价小数位
  7427. type: integer
  7428. desccityid:
  7429. description: 目的地(市)
  7430. type: integer
  7431. descprovinceid:
  7432. description: 目的地(省)
  7433. type: integer
  7434. goodscode:
  7435. description: 商品代码(内部)
  7436. type: string
  7437. goodsid:
  7438. description: 商品ID(自增ID SEQ_GOODS)
  7439. type: integer
  7440. goodsname:
  7441. description: 商品名称
  7442. type: string
  7443. hotindex:
  7444. description: 景点热度
  7445. type: integer
  7446. last:
  7447. description: 现价
  7448. type: number
  7449. marketid:
  7450. description: 所属市场ID
  7451. type: integer
  7452. picurls:
  7453. description: 介绍图片[多张用逗号分隔]
  7454. type: string
  7455. quoteminunit:
  7456. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7457. type: integer
  7458. trademode:
  7459. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7460. 21:竞拍-大宗式 22:受托竞价
  7461. type: integer
  7462. videourls:
  7463. description: 介绍视频[多张用逗号分隔]
  7464. type: string
  7465. required:
  7466. - goodscode
  7467. - goodsid
  7468. - goodsname
  7469. - marketid
  7470. - trademode
  7471. type: object
  7472. models.HybsMyBuyOrderDetail:
  7473. properties:
  7474. accountid:
  7475. description: 账户ID[报价币种]
  7476. type: integer
  7477. agreeunit:
  7478. description: 合约单位
  7479. type: number
  7480. buyorsell:
  7481. description: 买卖 - 0:买 1:卖
  7482. type: integer
  7483. cancelqty:
  7484. description: 撤单数量
  7485. type: integer
  7486. currencysign:
  7487. description: 货币符号
  7488. type: string
  7489. decimalplace:
  7490. description: 报价小数位
  7491. type: integer
  7492. goodscode:
  7493. description: 商品代码(内部)
  7494. type: string
  7495. goodsid:
  7496. description: 商品ID
  7497. type: integer
  7498. goodsname:
  7499. description: 商品名称
  7500. type: string
  7501. listingselecttype:
  7502. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7503. type: integer
  7504. marketid:
  7505. description: 市场ID
  7506. type: integer
  7507. mybuystatus:
  7508. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7509. type: integer
  7510. orderamount:
  7511. description: 委托金额
  7512. type: number
  7513. orderid:
  7514. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7515. type: string
  7516. orderprice:
  7517. description: 委托价格
  7518. type: number
  7519. orderqty:
  7520. description: 委托数量
  7521. type: integer
  7522. orderstatus:
  7523. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7524. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7525. 16:成交失败违约(荷兰式竞拍专用)
  7526. type: integer
  7527. ordertime:
  7528. description: 委托时间
  7529. type: string
  7530. picurls1:
  7531. description: 预售商品介绍图片[多张用逗号分隔]
  7532. type: string
  7533. picurls2:
  7534. description: 挂牌商品介绍图片[多张用逗号分隔]
  7535. type: string
  7536. trademode:
  7537. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7538. 21:竞拍-大宗式 22:受托竞价
  7539. type: integer
  7540. tradeqty:
  7541. description: 成交数量
  7542. type: integer
  7543. vendorname1:
  7544. description: 预售商品供应商名称
  7545. type: string
  7546. vendorname2:
  7547. description: 挂牌商品供应商名称
  7548. type: string
  7549. required:
  7550. - accountid
  7551. - buyorsell
  7552. - goodscode
  7553. - goodsid
  7554. - goodsname
  7555. - marketid
  7556. - orderid
  7557. - orderqty
  7558. - ordertime
  7559. - trademode
  7560. type: object
  7561. models.Loginaccount:
  7562. properties:
  7563. canoutin:
  7564. description: 是否可出入金 - 0:不可 1:可
  7565. type: integer
  7566. clientroleid:
  7567. description: 终端角色ID
  7568. type: integer
  7569. haslogined:
  7570. description: 是否已登录 - 0:未登录 1:已登录
  7571. type: integer
  7572. hasupdatedpwd:
  7573. description: 是否已更改密码 - 0:未修改 1:已修改
  7574. type: integer
  7575. lastloginip:
  7576. description: 最新登录地址
  7577. type: string
  7578. lastloginmode:
  7579. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7580. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7581. type: integer
  7582. lastloginremark:
  7583. description: 最新登录描述
  7584. type: string
  7585. lastlogintime:
  7586. description: 最新登录时间
  7587. type: string
  7588. logincode:
  7589. description: 登录代码
  7590. type: string
  7591. loginfailnum:
  7592. description: 连续登录失败次数(登录成功时清零)
  7593. type: integer
  7594. loginid:
  7595. description: 登陆账号
  7596. type: integer
  7597. loginport:
  7598. description: 最新登录端口
  7599. type: integer
  7600. loginstatus:
  7601. description: 登录账号状态 1:正常 2:冻结 3:无效
  7602. type: integer
  7603. loginusertype:
  7604. description: 登录账号类型 - 1:投资者 2:机构交易员
  7605. type: integer
  7606. modifierid:
  7607. description: 修改人
  7608. type: integer
  7609. modifytime:
  7610. description: 修改时间
  7611. type: string
  7612. pwdwrongcount:
  7613. description: 密码错误次数
  7614. type: integer
  7615. taaccountrighttype:
  7616. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7617. type: integer
  7618. unfreezetime:
  7619. description: 账户解冻时间
  7620. type: string
  7621. userid:
  7622. description: 用户ID
  7623. type: integer
  7624. required:
  7625. - loginid
  7626. type: object
  7627. models.MainAccountInfo:
  7628. properties:
  7629. accountid:
  7630. description: 账号id
  7631. type: string
  7632. appid:
  7633. description: AppID
  7634. type: string
  7635. authcode:
  7636. description: 授权码
  7637. type: string
  7638. brokerid:
  7639. description: 经纪商id
  7640. type: string
  7641. fcid:
  7642. description: 期货公司id
  7643. type: integer
  7644. fcname:
  7645. description: 期货公司代码
  7646. type: string
  7647. hedgeaccountcode:
  7648. description: 外部账号代码
  7649. type: string
  7650. hedgeaccountpwd:
  7651. description: 密码
  7652. type: string
  7653. ismain:
  7654. description: 是否主账号
  7655. type: integer
  7656. relateduserid:
  7657. description: 关联用户id
  7658. type: integer
  7659. type: object
  7660. models.Market:
  7661. properties:
  7662. auctionwrtype:
  7663. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7664. type: integer
  7665. canacceptquote:
  7666. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7667. type: integer
  7668. cangoodsexercise:
  7669. description: '[期权]是否可现货行权- 0:否 1:是'
  7670. type: integer
  7671. cangoodsexercisetype:
  7672. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7673. type: integer
  7674. canmanualquotestrike:
  7675. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7676. type: integer
  7677. canmutistage:
  7678. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7679. type: integer
  7680. canpreexercise:
  7681. description: '[期权]是否可预申报- 0:否 1:是'
  7682. type: integer
  7683. clearinterval:
  7684. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7685. type: integer
  7686. contracttmp:
  7687. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7688. type: string
  7689. exchareaid:
  7690. description: 所属交易所,可以没有
  7691. type: integer
  7692. goodstype:
  7693. description: 商品类型 - 1:交易商品 2:仓单商品
  7694. type: integer
  7695. hasrebate:
  7696. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7697. type: integer
  7698. hastradecredit:
  7699. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7700. type: integer
  7701. haswr:
  7702. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7703. type: integer
  7704. isdeductmargin:
  7705. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7706. type: integer
  7707. isrecordsource:
  7708. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7709. type: integer
  7710. isreleasemargin:
  7711. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7712. type: integer
  7713. marginformula:
  7714. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7715. type: integer
  7716. marginformula2:
  7717. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7718. type: integer
  7719. marketid:
  7720. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7721. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7722. type: integer
  7723. marketname:
  7724. description: 市场名称
  7725. type: string
  7726. marketserviceid:
  7727. description: 市场服务ID
  7728. type: integer
  7729. marketstatus:
  7730. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7731. type: integer
  7732. markettype:
  7733. description: 市场类型- 1:非交易服务 2:交易服务
  7734. type: integer
  7735. matchermode:
  7736. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7737. type: integer
  7738. openmethod:
  7739. description: 开盘模式 - 0 自动 1手动
  7740. type: integer
  7741. otcuserid:
  7742. description: 场外期权做市商[场外期权]
  7743. type: integer
  7744. outersynctime:
  7745. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7746. type: string
  7747. pendingflag:
  7748. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7749. type: integer
  7750. pendingtime:
  7751. description: 待开市时间[通道交易-对冲](HH:mm)
  7752. type: string
  7753. performancetempid:
  7754. description: 履约计划模板ID - 作废
  7755. type: integer
  7756. premiumquotemode:
  7757. description: 权利金报价方式 - 1:自动 2:手动
  7758. type: integer
  7759. rebateratio:
  7760. description: 返利比率[竞价式]
  7761. type: number
  7762. reckonorder:
  7763. description: 结算顺序
  7764. type: integer
  7765. reckonpricealgorithm:
  7766. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7767. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7768. type: integer
  7769. reckonpriceparam:
  7770. description: 结算价参数
  7771. type: integer
  7772. reckontime:
  7773. description: 结算时间[通道交易-对冲](HH:mm)
  7774. type: string
  7775. roleprioritytype:
  7776. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7777. type: integer
  7778. selllistingauditflag:
  7779. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7780. type: integer
  7781. trademarkettype:
  7782. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7783. type: integer
  7784. trademode:
  7785. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7786. 21:竞拍-大宗式 22:受托竞价
  7787. type: integer
  7788. tradeproperty:
  7789. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7790. 8:场外期权
  7791. type: integer
  7792. tradetype:
  7793. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7794. type: integer
  7795. required:
  7796. - marketid
  7797. - marketstatus
  7798. - openmethod
  7799. - reckonpricealgorithm
  7800. - trademode
  7801. - tradeproperty
  7802. type: object
  7803. models.Marketrun:
  7804. properties:
  7805. afternexttradedate:
  7806. description: 下下交易日
  7807. type: string
  7808. clearquoteflag:
  7809. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7810. type: integer
  7811. lastreckondate:
  7812. description: 最新交易日(结算成功)
  7813. type: string
  7814. machinedate:
  7815. description: 机器时间
  7816. type: string
  7817. manualflag:
  7818. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7819. type: integer
  7820. marketid:
  7821. description: 市场ID
  7822. type: integer
  7823. nexttradedate:
  7824. description: 下一交易日
  7825. type: string
  7826. pretradedate:
  7827. description: 上一交易日
  7828. type: string
  7829. reckonflag:
  7830. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7831. type: integer
  7832. runstatus:
  7833. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7834. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7835. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7836. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7837. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7838. 62.今日免清算
  7839. type: integer
  7840. sectionid:
  7841. description: 时间段号[多时段时用]
  7842. type: integer
  7843. tradedate:
  7844. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7845. type: string
  7846. tradedate2:
  7847. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7848. type: string
  7849. updatetime:
  7850. description: 更新时间
  7851. type: string
  7852. required:
  7853. - marketid
  7854. - nexttradedate
  7855. - reckonflag
  7856. - runstatus
  7857. - tradedate
  7858. - tradedate2
  7859. type: object
  7860. models.Messageboard:
  7861. properties:
  7862. contactnum:
  7863. description: 联系电话
  7864. type: string
  7865. createtime:
  7866. description: 创建时间
  7867. type: string
  7868. message:
  7869. description: 留言信息
  7870. type: string
  7871. messageboardid:
  7872. description: 留言簿ID(SEQ_MessageBoard)
  7873. type: integer
  7874. userid:
  7875. description: 用户ID
  7876. type: integer
  7877. required:
  7878. - messageboardid
  7879. type: object
  7880. models.MyCoupon:
  7881. properties:
  7882. accountid:
  7883. description: 资金账户ID
  7884. type: integer
  7885. areauserid:
  7886. description: 所属机构
  7887. type: integer
  7888. conditionvalue:
  7889. description: 条件阈值(可为0)
  7890. type: number
  7891. couponcategroy:
  7892. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7893. type: integer
  7894. couponname:
  7895. description: 优惠券名称
  7896. type: string
  7897. coupontypeid:
  7898. description: 优惠券类型ID
  7899. type: string
  7900. couponvalue:
  7901. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7902. type: number
  7903. curfreezeqty:
  7904. description: 期末冻结数量
  7905. type: integer
  7906. curqty:
  7907. description: 期末数量
  7908. type: integer
  7909. isgeneral:
  7910. description: 是否通用券 - 0:否 1:是
  7911. type: integer
  7912. isunusable:
  7913. description: 是否不可用
  7914. type: boolean
  7915. limitedflag:
  7916. description: 是否指定商品 - 0:不限 1:限制
  7917. type: integer
  7918. limitedgoodsids:
  7919. description: 指定商品IDs[逗号分隔,前后加逗号]
  7920. type: string
  7921. orifreezeqty:
  7922. description: 期初冻结数量
  7923. type: integer
  7924. oriqty:
  7925. description: 期初数量
  7926. type: integer
  7927. reasontype:
  7928. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7929. type: integer
  7930. todaydecrease:
  7931. description: 今日减少
  7932. type: integer
  7933. todayincrease:
  7934. description: 今日增加
  7935. type: integer
  7936. userid:
  7937. description: 用户ID
  7938. type: integer
  7939. userscope:
  7940. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7941. type: string
  7942. required:
  7943. - accountid
  7944. - coupontypeid
  7945. type: object
  7946. models.MyCouponHold:
  7947. properties:
  7948. accountid:
  7949. description: 资金账户ID
  7950. type: integer
  7951. conditionvalue:
  7952. description: 条件阈值(可为0)
  7953. type: number
  7954. couponcategroy:
  7955. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7956. type: integer
  7957. couponholdid:
  7958. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7959. type: string
  7960. couponname:
  7961. description: 优惠券名称
  7962. type: string
  7963. coupontypeid:
  7964. description: 优惠券类型ID - SEQ_COUPONTYPE
  7965. type: string
  7966. couponvalue:
  7967. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7968. type: number
  7969. createtime:
  7970. description: 创建时间
  7971. type: string
  7972. enddate:
  7973. description: 结束日期
  7974. type: string
  7975. giveapplyid:
  7976. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  7977. type: integer
  7978. holdstatus:
  7979. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  7980. type: integer
  7981. isgeneral:
  7982. description: 是否通用券 - 0:否 1:是
  7983. type: integer
  7984. limitedflag:
  7985. description: 是否指定商品 - 0:不限 1:限制
  7986. type: integer
  7987. limitedgoodsids:
  7988. description: 指定商品IDs[逗号分隔]
  7989. type: string
  7990. qty:
  7991. description: 数量(按1平铺)
  7992. type: integer
  7993. startdate:
  7994. description: 开始日期
  7995. type: string
  7996. userid:
  7997. description: 用户ID
  7998. type: integer
  7999. userscope:
  8000. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8001. type: string
  8002. required:
  8003. - couponholdid
  8004. type: object
  8005. models.MyUsedCoupon:
  8006. properties:
  8007. accountid:
  8008. description: 资金账户ID(买方)
  8009. type: integer
  8010. conditionvalue:
  8011. description: 条件阈值(可为0)
  8012. type: number
  8013. couponcategroy:
  8014. description: 种类 - 1:现金券 2:折扣券
  8015. type: integer
  8016. couponname:
  8017. description: 优惠券名称
  8018. type: string
  8019. coupontypeid:
  8020. description: 优惠券类型ID(买方)
  8021. type: string
  8022. couponvalue:
  8023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8024. type: number
  8025. createtime:
  8026. description: 创建时间
  8027. type: string
  8028. goodsid:
  8029. description: 商品ID
  8030. type: integer
  8031. handlestatus:
  8032. description: 处理状态
  8033. type: integer
  8034. marketid:
  8035. description: 市场ID
  8036. type: integer
  8037. offamount:
  8038. description: 优惠金额
  8039. type: number
  8040. orderid:
  8041. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8042. type: string
  8043. sellaccountid:
  8044. description: 资金账户ID(卖方)
  8045. type: integer
  8046. tradeamount:
  8047. description: 成交金额
  8048. type: number
  8049. tradeid:
  8050. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8051. type: string
  8052. usedqty:
  8053. description: 使用数量
  8054. type: integer
  8055. required:
  8056. - coupontypeid
  8057. - orderid
  8058. type: object
  8059. models.OperationPrimaryMenu:
  8060. properties:
  8061. Children:
  8062. description: 二级功能菜单
  8063. items:
  8064. $ref: '#/definitions/models.OperationSecondaryMenu'
  8065. type: array
  8066. Key:
  8067. description: 菜单KEY
  8068. type: string
  8069. Label:
  8070. description: 菜单标题
  8071. type: string
  8072. type: object
  8073. models.OperationSecondaryMenu:
  8074. properties:
  8075. Key:
  8076. description: 菜单KEY
  8077. type: string
  8078. Label:
  8079. description: 菜单标题
  8080. type: string
  8081. TabList:
  8082. description: 三级功能菜单
  8083. items:
  8084. $ref: '#/definitions/models.OperationTabMenu'
  8085. type: array
  8086. type: object
  8087. models.OperationTabMenu:
  8088. properties:
  8089. Key:
  8090. description: 菜单KEY
  8091. type: string
  8092. Label:
  8093. description: 菜单标题
  8094. type: string
  8095. type: object
  8096. models.PendingAuditBizModel:
  8097. properties:
  8098. accountid:
  8099. description: 现货账户
  8100. type: string
  8101. areaname:
  8102. description: 所属部门
  8103. type: string
  8104. bizid:
  8105. description: 业务ID
  8106. type: string
  8107. bizname:
  8108. description: 业务名称
  8109. type: string
  8110. status:
  8111. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8112. type: integer
  8113. type:
  8114. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8115. type: integer
  8116. type: object
  8117. models.QueryErrorInfosRsp:
  8118. properties:
  8119. description:
  8120. description: 异常描述
  8121. type: string
  8122. errorcode:
  8123. description: 异常代码
  8124. type: string
  8125. errorid:
  8126. description: 异常ID
  8127. type: integer
  8128. modulecode:
  8129. description: 所属模块
  8130. type: string
  8131. operatecode:
  8132. description: 所属操作
  8133. type: string
  8134. rownumber:
  8135. description: 行号
  8136. type: string
  8137. required:
  8138. - errorid
  8139. type: object
  8140. models.QueryHedgeOrderDetailRsp:
  8141. properties:
  8142. accountid:
  8143. description: 账户ID
  8144. type: integer
  8145. buyorsell:
  8146. description: 买卖 - 0:买 1:卖
  8147. type: integer
  8148. cancellogincode:
  8149. description: 撤单人
  8150. type: string
  8151. channelbuildtype:
  8152. description: 开平标志 - 0:无 1:建仓 2:平仓
  8153. type: integer
  8154. channelinnerorderstatus:
  8155. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8156. 9:全部成交
  8157. type: integer
  8158. channeloperatetype:
  8159. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8160. type: integer
  8161. closetype:
  8162. description: 平仓方式 - 0:无 1:平今 2:平昨
  8163. type: integer
  8164. curexchangerate:
  8165. description: 当前汇率
  8166. type: number
  8167. exchangefullname:
  8168. description: 外部交易所全称
  8169. type: string
  8170. goodscode:
  8171. description: 商品代码(内部)
  8172. type: string
  8173. goodsid:
  8174. description: 商品ID
  8175. type: integer
  8176. goodsname:
  8177. description: 商品名称
  8178. type: string
  8179. marketid:
  8180. description: 市场ID
  8181. type: integer
  8182. openfreezemargin:
  8183. description: 冻结保证金(冻结交易金额)
  8184. type: number
  8185. orderid:
  8186. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8187. type: string
  8188. orderlogincode:
  8189. description: 委托人
  8190. type: string
  8191. orderprice:
  8192. description: 委托价格(账户)
  8193. type: number
  8194. orderqty:
  8195. description: 委托数量
  8196. type: integer
  8197. ordertime:
  8198. description: 委托时间
  8199. type: string
  8200. pricemode:
  8201. description: '取价方式 - 1:市价 2: 限价'
  8202. type: integer
  8203. tradedate:
  8204. description: 交易日(yyyyMMdd)
  8205. type: string
  8206. tradeqty:
  8207. description: 成交数量
  8208. type: integer
  8209. type: object
  8210. models.QueryHedgeTradeDetailRsp:
  8211. properties:
  8212. accountid:
  8213. description: 账号ID
  8214. type: integer
  8215. buyorsell:
  8216. description: 方向 - 0:买 1:卖
  8217. type: integer
  8218. channelbuildtype:
  8219. description: 委托单据类型 0:无 1:建仓 2:平仓
  8220. type: integer
  8221. closecharge:
  8222. description: 平仓手续费(账户)
  8223. type: number
  8224. closecharge2:
  8225. description: 平仓手续费(商品)
  8226. type: number
  8227. closepl:
  8228. description: 平仓盈亏(账户)
  8229. type: number
  8230. closepl2:
  8231. description: 平仓盈亏(商品)
  8232. type: number
  8233. closepl3:
  8234. description: 平仓盈亏(账户)(逐笔)
  8235. type: number
  8236. closepl4:
  8237. description: 平仓盈亏(商品)(逐笔)
  8238. type: number
  8239. closetype:
  8240. description: 平仓方式 - 0:无 1:平今 2:平昨
  8241. type: integer
  8242. curexchangerate:
  8243. description: 当前汇率
  8244. type: number
  8245. exchangefullname:
  8246. description: 外部交易所全称
  8247. type: string
  8248. goodscode:
  8249. description: 商品代码(内部)
  8250. type: string
  8251. goodsid:
  8252. description: 商品ID
  8253. type: integer
  8254. goodsname:
  8255. description: 商品名称
  8256. type: string
  8257. marketid:
  8258. description: 市场ID
  8259. type: integer
  8260. opencharge:
  8261. description: 建仓手续费(账户)
  8262. type: number
  8263. opencharge2:
  8264. description: 建仓手续费(商品)
  8265. type: number
  8266. orderid:
  8267. description: 委托单号
  8268. type: string
  8269. orderlogincode:
  8270. description: 委托人
  8271. type: string
  8272. tradeamount:
  8273. description: 成交金额(账户)
  8274. type: number
  8275. tradedate:
  8276. description: 交易日(yyyyMMdd)
  8277. type: string
  8278. tradeid:
  8279. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8280. type: string
  8281. tradeprice:
  8282. description: 成交价格
  8283. type: number
  8284. tradeqty:
  8285. description: 成交数量
  8286. type: integer
  8287. tradetime:
  8288. description: 成交时间
  8289. type: string
  8290. tradetype:
  8291. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8292. type: integer
  8293. type: object
  8294. models.QuotePrimaryMenu:
  8295. properties:
  8296. Index:
  8297. description: 序号
  8298. type: integer
  8299. Key:
  8300. description: 键名
  8301. type: string
  8302. Name:
  8303. description: 菜单名称
  8304. type: string
  8305. SubMenus:
  8306. description: 子菜单
  8307. items:
  8308. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8309. type: array
  8310. SubTitleType:
  8311. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8312. type: integer
  8313. TradeModes:
  8314. description: 包含市场交易类型
  8315. type: string
  8316. type: object
  8317. models.QuoteSecondaryMenu:
  8318. properties:
  8319. ExExchangeCode:
  8320. description: 外部交易所代码
  8321. type: string
  8322. ExExchangeID:
  8323. description: 外部交易所ID
  8324. type: integer
  8325. GoodsGroupIDs:
  8326. description: 商品组ID列表
  8327. items:
  8328. type: integer
  8329. type: array
  8330. Index:
  8331. description: 序号
  8332. type: integer
  8333. MarketID:
  8334. description: 市场ID
  8335. type: integer
  8336. MenuTitle:
  8337. description: 菜单标题(市场名称或外部交易所名称)
  8338. type: string
  8339. TradeMode:
  8340. description: 交易模式
  8341. type: integer
  8342. type: object
  8343. models.RelatedGoodsEx:
  8344. properties:
  8345. goodscode:
  8346. description: 商品代码
  8347. type: string
  8348. goodsid:
  8349. description: 商品id
  8350. type: integer
  8351. goodsname:
  8352. description: 商品名称
  8353. type: string
  8354. type: object
  8355. models.SearchGoods:
  8356. properties:
  8357. goodscode:
  8358. description: 商品代码(内部)
  8359. type: string
  8360. goodsid:
  8361. description: 商品ID(自增ID SEQ_GOODS)
  8362. type: integer
  8363. goodsname:
  8364. description: 商品名称
  8365. type: string
  8366. marketid:
  8367. description: 所属市场ID
  8368. type: integer
  8369. marketname:
  8370. description: 市场名称
  8371. type: string
  8372. trademode:
  8373. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8374. 21:竞拍-大宗式 22:受托竞价
  8375. type: integer
  8376. required:
  8377. - goodscode
  8378. - goodsid
  8379. - goodsname
  8380. - marketid
  8381. - trademode
  8382. type: object
  8383. models.Systemparam:
  8384. properties:
  8385. loginid:
  8386. description: 更新用户账号,登录账号
  8387. type: string
  8388. modifyflag:
  8389. description: 修改标志0 不允许修改 1 允许修改
  8390. type: integer
  8391. paramcode:
  8392. description: 参数代码
  8393. type: string
  8394. paramname:
  8395. description: 参数名
  8396. type: string
  8397. paramtype:
  8398. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8399. type: integer
  8400. paramvalue:
  8401. description: 参数值
  8402. type: string
  8403. paramvalue2:
  8404. description: 参数值(CLOB)
  8405. type: string
  8406. regexpress:
  8407. description: 正则表达式
  8408. type: string
  8409. remark:
  8410. description: 备注
  8411. type: string
  8412. serverip:
  8413. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8414. type: string
  8415. showflag:
  8416. description: 是否显示0 不显示 1 显示
  8417. type: integer
  8418. updatetime:
  8419. description: 更新时间
  8420. type: string
  8421. userid:
  8422. description: 更新用户ID
  8423. type: integer
  8424. required:
  8425. - paramcode
  8426. type: object
  8427. models.Szdz3convertconfig:
  8428. properties:
  8429. canin:
  8430. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8431. type: integer
  8432. canout:
  8433. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8434. type: integer
  8435. converttype:
  8436. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8437. 6:交易转花生米(不设置)
  8438. type: integer
  8439. createtime:
  8440. description: 创建时间
  8441. type: string
  8442. creatorid:
  8443. description: 创建人
  8444. type: integer
  8445. daymaxvalue:
  8446. description: 当日最大转入限制
  8447. type: number
  8448. freezedays:
  8449. description: 冻结天数 [5:花生米转交易]
  8450. type: integer
  8451. innergoodsid:
  8452. description: 内部商品ID[交易]
  8453. type: integer
  8454. inratio:
  8455. description: 目标值
  8456. type: integer
  8457. modifierid:
  8458. description: 修改人
  8459. type: integer
  8460. modifytime:
  8461. description: 修改时间
  8462. type: string
  8463. outergoodscode:
  8464. description: 外部商品代码[JD\PD]
  8465. type: string
  8466. outratio:
  8467. description: 源值
  8468. type: integer
  8469. pddecimalplace:
  8470. description: PD小数位
  8471. type: integer
  8472. timemaxvalue:
  8473. description: 单次最大转入限制
  8474. type: number
  8475. timeminvalue:
  8476. description: 单次最小转入限制
  8477. type: number
  8478. required:
  8479. - converttype
  8480. - innergoodsid
  8481. - outergoodscode
  8482. type: object
  8483. models.Szdz3searchwhitelist:
  8484. properties:
  8485. createtime:
  8486. description: 创建时间
  8487. type: string
  8488. creatorid:
  8489. description: 创建人
  8490. type: integer
  8491. modifierid:
  8492. description: 修改人
  8493. type: integer
  8494. modifytime:
  8495. description: 修改时间
  8496. type: string
  8497. userid:
  8498. description: 用户ID
  8499. type: integer
  8500. required:
  8501. - userid
  8502. type: object
  8503. models.Taaccount:
  8504. properties:
  8505. accountflag:
  8506. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8507. type: integer
  8508. accountid:
  8509. description: 资金账户ID
  8510. type: integer
  8511. accountname:
  8512. description: 账户名称
  8513. type: string
  8514. balance:
  8515. description: 期初余额
  8516. type: number
  8517. capitalbalance:
  8518. description: 本金余额[外部子账户实际出入金余额]
  8519. type: number
  8520. changeflag:
  8521. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8522. type: integer
  8523. changetime:
  8524. description: 账户状态变更时间
  8525. type: string
  8526. closepl:
  8527. description: 今日平仓盈亏
  8528. type: number
  8529. creditdecrease:
  8530. description: 今日授信减少
  8531. type: number
  8532. creditincrease:
  8533. description: 今日授信增加
  8534. type: number
  8535. currencyid:
  8536. description: 货币ID
  8537. type: integer
  8538. currentbalance:
  8539. description: 期末余额
  8540. type: number
  8541. freezecharge:
  8542. description: 手续费冻结
  8543. type: number
  8544. freezemargin:
  8545. description: 冻结保证金
  8546. type: number
  8547. fromaccountid:
  8548. description: 所属上级账户
  8549. type: integer
  8550. inamount:
  8551. description: 今日入金金额(包括三方入金)
  8552. type: number
  8553. ismain:
  8554. description: 是否母账号 0:不是母账户 1:是母账户
  8555. type: integer
  8556. ismarketaccount:
  8557. description: 是否机构接单账号 0:不是 1:是
  8558. type: integer
  8559. isreckonaccount:
  8560. description: 是否机构分润账号 0:不是 1:是
  8561. type: integer
  8562. mortgagecredit:
  8563. description: 授信金额
  8564. type: number
  8565. orifreezecharge:
  8566. description: 期初手续费冻结
  8567. type: number
  8568. orifreezemargin:
  8569. description: 期初冻结保证金
  8570. type: number
  8571. orimortgagecredit:
  8572. description: 期初授信金额
  8573. type: number
  8574. oriothercredit:
  8575. description: 期初其它授信金额
  8576. type: number
  8577. oriotherfreezemargin:
  8578. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8579. type: number
  8580. orioutamountfreeze:
  8581. description: 期初出金冻结
  8582. type: number
  8583. oriusedmargin:
  8584. description: 期初占用保证金
  8585. type: number
  8586. othercredit:
  8587. description: 其它授信金额
  8588. type: number
  8589. othercreditdecrease:
  8590. description: 今日其它授信减少
  8591. type: number
  8592. othercreditincrease:
  8593. description: 今日其它授信增加
  8594. type: number
  8595. otherfreezemargin:
  8596. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8597. type: number
  8598. otherincome:
  8599. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8600. type: number
  8601. otherpay:
  8602. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8603. type: number
  8604. outamount:
  8605. description: 今日出金金额(包括三方出金)
  8606. type: number
  8607. outamountfreeze:
  8608. description: 出金冻结
  8609. type: number
  8610. outthreshold:
  8611. description: 出金阈值
  8612. type: number
  8613. parentaccountid:
  8614. description: 所属根账号
  8615. type: integer
  8616. paycharge:
  8617. description: 今日手续费支出
  8618. type: number
  8619. relatedaccountstatus:
  8620. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8621. type: integer
  8622. relateduserid:
  8623. description: 关联用户
  8624. type: integer
  8625. serivcegroup:
  8626. description: 服务分组
  8627. type: integer
  8628. signstatus:
  8629. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8630. type: integer
  8631. sublevelpath:
  8632. description: 账号层级路径(逗号分隔,首尾加逗号)
  8633. type: string
  8634. taaccounttype:
  8635. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8636. type: integer
  8637. thirdinamount:
  8638. description: 今日三方入金
  8639. type: number
  8640. thirdoutamount:
  8641. description: 今日三方出金
  8642. type: number
  8643. tradestatus:
  8644. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8645. type: integer
  8646. tradestatuschangetime:
  8647. description: 激活时间
  8648. type: string
  8649. transferamount:
  8650. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8651. type: number
  8652. usedmargin:
  8653. description: 占用保证金
  8654. type: number
  8655. userid:
  8656. description: 用户ID
  8657. type: integer
  8658. required:
  8659. - accountid
  8660. - userid
  8661. type: object
  8662. models.Tablecolumnconfig:
  8663. properties:
  8664. aligntype:
  8665. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8666. type: integer
  8667. autoid:
  8668. description: AutoID
  8669. type: integer
  8670. columnfield:
  8671. description: 列字段
  8672. type: string
  8673. columntitle:
  8674. description: 列Title
  8675. type: string
  8676. columnwidth:
  8677. description: 列宽
  8678. type: string
  8679. formatterstring:
  8680. description: 格式化字符
  8681. type: string
  8682. formattertype:
  8683. description: 格式化类型
  8684. type: string
  8685. groupname:
  8686. description: 表头分组名称
  8687. type: string
  8688. isshow:
  8689. description: 是否显示 - 0:不显示 1:显示
  8690. type: integer
  8691. needsummary:
  8692. description: 是否需要汇总 - 0:不需要 1:需要
  8693. type: integer
  8694. orderindex:
  8695. description: 顺序
  8696. type: integer
  8697. remark:
  8698. description: 备注
  8699. type: string
  8700. summarytype:
  8701. description: 汇总类型 - 1:加总 2:最后一个
  8702. type: integer
  8703. tablekey:
  8704. description: 列表Key
  8705. type: string
  8706. required:
  8707. - autoid
  8708. type: object
  8709. models.Useraccount:
  8710. properties:
  8711. accountname:
  8712. description: 账户名称(机构名称)
  8713. type: string
  8714. accountstatus:
  8715. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8716. type: integer
  8717. auditremark:
  8718. description: 审核备注
  8719. type: string
  8720. audittime:
  8721. description: 审核时间
  8722. type: string
  8723. audituserid:
  8724. description: 审核人
  8725. type: integer
  8726. broker:
  8727. description: 所属经纪人ID
  8728. type: integer
  8729. canceltime:
  8730. description: 销户时间
  8731. type: string
  8732. canceluserid:
  8733. description: 销户人
  8734. type: integer
  8735. createtime:
  8736. description: 创建时间
  8737. type: string
  8738. creatorid:
  8739. description: 创建人
  8740. type: integer
  8741. hasauth:
  8742. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8743. type: integer
  8744. isanonymous:
  8745. description: 是否匿名下单 - 0:否 1:是
  8746. type: integer
  8747. maxinvestornum:
  8748. description: 最大用户数(经纪会员下投资者个数)
  8749. type: integer
  8750. memberuserid:
  8751. description: 所属会员ID
  8752. type: integer
  8753. modifierid:
  8754. description: 修改人
  8755. type: integer
  8756. modifyremark:
  8757. description: 变更备注
  8758. type: string
  8759. modifystatus:
  8760. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8761. type: integer
  8762. modifytime:
  8763. description: 修改时间
  8764. type: string
  8765. parentuserid:
  8766. description: 所属机构ID
  8767. type: integer
  8768. reckonaccountid:
  8769. description: 默认结算资金账号ID(机构分润使用) 作废
  8770. type: integer
  8771. refercount:
  8772. description: 推荐总人数
  8773. type: integer
  8774. refereeuserid:
  8775. description: 推荐人ID
  8776. type: integer
  8777. refernum:
  8778. description: 推荐码
  8779. type: string
  8780. subarealevelpath:
  8781. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8782. type: string
  8783. userid:
  8784. description: 用户ID
  8785. type: integer
  8786. usertype:
  8787. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8788. type: integer
  8789. required:
  8790. - userid
  8791. type: object
  8792. models.Userfavoritegoods:
  8793. properties:
  8794. goodsid:
  8795. description: 商品ID
  8796. type: integer
  8797. required:
  8798. - goodsid
  8799. type: object
  8800. models.Userinfo:
  8801. properties:
  8802. address:
  8803. description: 地址
  8804. type: string
  8805. attachment1:
  8806. description: 附件1
  8807. type: string
  8808. attachment2:
  8809. description: 附件2
  8810. type: string
  8811. bankaccount:
  8812. description: 银行帐号 (加密存储)
  8813. type: string
  8814. bankaccountname:
  8815. description: 收款人名称
  8816. type: string
  8817. bankcardfrontphotourl:
  8818. description: 银行卡正面照地址
  8819. type: string
  8820. bankid:
  8821. description: 银行编码
  8822. type: string
  8823. bankname:
  8824. description: 银行名称
  8825. type: string
  8826. biznature:
  8827. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8828. type: integer
  8829. bizscope:
  8830. description: 企业经营范围(企业)
  8831. type: string
  8832. cardbackphotourl:
  8833. description: 证件背面图片地址
  8834. type: string
  8835. cardfrontphotourl:
  8836. description: 证件正面图片地址
  8837. type: string
  8838. cardnum:
  8839. description: 证件号码(加密存储)
  8840. type: string
  8841. cardtypeid:
  8842. description: 证件类型ID
  8843. type: integer
  8844. cityid:
  8845. description: 市
  8846. type: integer
  8847. company:
  8848. description: 公司(个人)
  8849. type: string
  8850. contactname:
  8851. description: 联系人
  8852. type: string
  8853. countryid:
  8854. description: 国家
  8855. type: integer
  8856. createtime:
  8857. description: 创建时间
  8858. type: string
  8859. creatorid:
  8860. description: 创建人
  8861. type: integer
  8862. customername:
  8863. description: 客户名称(企业名称)
  8864. type: string
  8865. districtid:
  8866. description: 地区
  8867. type: integer
  8868. email:
  8869. description: 邮件(加密存储)
  8870. type: string
  8871. fax:
  8872. description: 传真(加密存储)
  8873. type: string
  8874. halfbodyphotourl:
  8875. description: 半身照地址
  8876. type: string
  8877. hasencrypt:
  8878. description: 数据是否已加密 - 0:未加密 1:已加密
  8879. type: integer
  8880. headurl:
  8881. description: 头像地址
  8882. type: string
  8883. legalcardbackphotourl:
  8884. description: 法人身份证背面照地址
  8885. type: string
  8886. legalcardfrontphotourl:
  8887. description: 法人身份证正面照地址
  8888. type: string
  8889. legalpersonname:
  8890. description: 法人姓名(企业)
  8891. type: string
  8892. mobile:
  8893. description: 手机号码(加密存储)
  8894. type: string
  8895. mobile2:
  8896. description: 手机号码[明文-尚志]
  8897. type: string
  8898. modifierid:
  8899. description: 修改人
  8900. type: integer
  8901. modifiertime:
  8902. description: 修改时间
  8903. type: string
  8904. needinvoice:
  8905. description: 是否需要发票 - 0:不需要 1:需要
  8906. type: integer
  8907. nickname:
  8908. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8909. type: string
  8910. openmode:
  8911. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8912. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8913. type: integer
  8914. otherurl:
  8915. description: 其它图片地址[使用分号分隔]
  8916. type: string
  8917. postalcode:
  8918. description: 邮政编码
  8919. type: string
  8920. provinceid:
  8921. description: 省
  8922. type: integer
  8923. qq:
  8924. description: QQ(加密存储
  8925. type: string
  8926. remark:
  8927. description: 备注
  8928. type: string
  8929. sex:
  8930. description: '用户性别 0: 女 1: 男'
  8931. type: integer
  8932. signpdfurl:
  8933. description: 签约pdf文件
  8934. type: string
  8935. telphone:
  8936. description: 联系电话(加密存储)
  8937. type: string
  8938. userid:
  8939. description: 用户ID
  8940. type: integer
  8941. userinfotype:
  8942. description: 用户信息类型 - 1:个人 2:企业
  8943. type: integer
  8944. userstatus:
  8945. description: 用户状态 - 1:正常 2:注销
  8946. type: integer
  8947. usertype:
  8948. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8949. type: integer
  8950. wechat:
  8951. description: 微信(加密存储)
  8952. type: string
  8953. wskhinfo:
  8954. description: 开户申请信息(JSON)
  8955. type: string
  8956. required:
  8957. - userid
  8958. type: object
  8959. models.WRCategoryTree:
  8960. properties:
  8961. areauserid:
  8962. description: 所属机构
  8963. type: integer
  8964. categorydesc:
  8965. description: 类别描述
  8966. type: string
  8967. categoryid:
  8968. description: 类别ID(SEQ_WRCATEGORY)
  8969. type: integer
  8970. categoryname:
  8971. description: 类别名称
  8972. type: string
  8973. iconurl:
  8974. description: 图标地址
  8975. type: string
  8976. orderindex:
  8977. description: 顺序
  8978. type: integer
  8979. parentcategoryid:
  8980. description: 父类别ID
  8981. type: integer
  8982. subcategory:
  8983. description: 子分类
  8984. items:
  8985. $ref: '#/definitions/models.WRCategoryTree'
  8986. type: array
  8987. required:
  8988. - categoryid
  8989. type: object
  8990. models.WRSConverTDetail:
  8991. properties:
  8992. convertratio:
  8993. description: 套保系数
  8994. type: number
  8995. deliverygoodscode:
  8996. description: 现货商品代码
  8997. type: string
  8998. deliverygoodsid:
  8999. description: 现货品种ID
  9000. type: integer
  9001. deliverygoodsname:
  9002. description: 现货商品名称
  9003. type: string
  9004. enumdicname:
  9005. description: 单位名称
  9006. type: string
  9007. goodsunitid:
  9008. description: 套保品种单位id
  9009. type: integer
  9010. middlegoodscode:
  9011. description: 套保品种代码
  9012. type: string
  9013. middlegoodsid:
  9014. description: 套保品种ID
  9015. type: integer
  9016. middlegoodsname:
  9017. description: 套保品种名称
  9018. type: string
  9019. modifytime:
  9020. description: 修改时间
  9021. type: string
  9022. wrstandardid:
  9023. description: 品类ID
  9024. type: integer
  9025. type: object
  9026. models.WRStandardInfo:
  9027. properties:
  9028. createtime:
  9029. description: 创建时间
  9030. type: string
  9031. creatorid:
  9032. description: 创建人
  9033. type: integer
  9034. deliverygoodsid:
  9035. description: 品种ID
  9036. type: integer
  9037. deliverygoodsname:
  9038. description: 交割商品名称
  9039. type: string
  9040. factoryitemjson:
  9041. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9042. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9043. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9044. 逗号分隔'
  9045. type: string
  9046. isvalid:
  9047. description: 是否有效 - 0:无效 1:有效
  9048. type: integer
  9049. minivalue:
  9050. description: 最小变动值
  9051. type: integer
  9052. minivaluedp:
  9053. description: 最小变动值小数位
  9054. type: integer
  9055. realminivalue:
  9056. description: 实际最小变动值
  9057. type: integer
  9058. realminivaluedp:
  9059. description: 实际最小变动值小数位
  9060. type: integer
  9061. unitid:
  9062. description: 单位ID
  9063. type: integer
  9064. unitname:
  9065. description: 单位
  9066. type: string
  9067. updatetime:
  9068. description: 更新时间
  9069. type: string
  9070. updatorid:
  9071. description: 更新人
  9072. type: integer
  9073. wrsstatus:
  9074. description: 状态 - 作废 - 0:未激活 1:正常
  9075. type: integer
  9076. wrstandardcode:
  9077. description: 仓单标准代码
  9078. type: string
  9079. wrstandardid:
  9080. description: 仓单标准ID(SEQ_WRSTANDARD)
  9081. type: integer
  9082. wrstandardname:
  9083. description: 仓单标准名称
  9084. type: string
  9085. required:
  9086. - wrstandardid
  9087. type: object
  9088. models.Warehouseinfo:
  9089. properties:
  9090. address:
  9091. description: 详细地址
  9092. type: string
  9093. areauserid:
  9094. description: 所属机构
  9095. type: integer
  9096. autoid:
  9097. description: 自增ID
  9098. type: integer
  9099. cityid:
  9100. description: 市
  9101. type: integer
  9102. contactname:
  9103. description: 联系人
  9104. type: string
  9105. contactnum:
  9106. description: 联系电话
  9107. type: string
  9108. countryid:
  9109. description: 国家
  9110. type: integer
  9111. createtime:
  9112. description: 创建时间
  9113. type: string
  9114. districtid:
  9115. description: 区
  9116. type: integer
  9117. hasvideo:
  9118. description: 是否有视频 - 0:无 1:有
  9119. type: integer
  9120. provinceid:
  9121. description: 省
  9122. type: integer
  9123. remark:
  9124. description: 审核备注
  9125. type: string
  9126. videourl:
  9127. description: 视频地址
  9128. type: string
  9129. warehousecode:
  9130. description: 仓库代码
  9131. type: string
  9132. warehousename:
  9133. description: 仓库名称
  9134. type: string
  9135. warehousestatus:
  9136. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9137. type: integer
  9138. warehousetype:
  9139. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9140. type: integer
  9141. required:
  9142. - autoid
  9143. - warehousecode
  9144. type: object
  9145. order.QueryHisTradeDetailRsp:
  9146. properties:
  9147. accountid:
  9148. description: 账户ID[报价币种]
  9149. type: integer
  9150. buildtype:
  9151. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9152. type: integer
  9153. buyorsell:
  9154. description: 方向 - 0:买 1:卖
  9155. type: integer
  9156. charge:
  9157. description: 手续费
  9158. type: number
  9159. closecharge:
  9160. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9161. type: number
  9162. closeexchagechargevalue:
  9163. description: 平仓交易所手续费设置值
  9164. type: number
  9165. closefeealgorithm:
  9166. description: 平仓手续费收取方式 1:比率 2:固定
  9167. type: integer
  9168. closememberchargevalue:
  9169. description: 平仓会员手续费设置值
  9170. type: number
  9171. closepl:
  9172. description: 平仓盈亏
  9173. type: number
  9174. closepl2:
  9175. description: 平仓盈亏[逐笔]
  9176. type: number
  9177. closeqty:
  9178. description: 平仓数量(先建后平操作 需要记录)
  9179. type: integer
  9180. creditamount:
  9181. description: 授信金额
  9182. type: number
  9183. gcaccountid:
  9184. description: 账户ID[合约币种]
  9185. type: integer
  9186. goodscode:
  9187. description: 商品代码
  9188. type: string
  9189. goodsid:
  9190. description: 商品ID
  9191. type: integer
  9192. goodsname:
  9193. description: 商品名称
  9194. type: string
  9195. histradedate:
  9196. description: 历史交易日
  9197. type: string
  9198. intclosepl:
  9199. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9200. type: integer
  9201. isconfirmexercise:
  9202. description: 是否确认行权- 0:否 1:是
  9203. type: integer
  9204. ismain:
  9205. description: 是否主单 - 0:不是 1:是
  9206. type: integer
  9207. ispreexercise:
  9208. description: 是否预申报- 0:否 1:是
  9209. type: integer
  9210. isreckoned:
  9211. description: 是否结算 - 0:未结算 1:已结算
  9212. type: integer
  9213. isvaliddata:
  9214. description: 是否有效 - 0:无效 1:有效
  9215. type: integer
  9216. listingselecttype:
  9217. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9218. type: integer
  9219. marketid:
  9220. description: 市场ID
  9221. type: integer
  9222. marketname:
  9223. description: 市场名称
  9224. type: string
  9225. matchaccountid:
  9226. description: 对手账号id
  9227. type: integer
  9228. memberuserid:
  9229. description: 会员id 个人投资者 需要填写
  9230. type: integer
  9231. opencharge:
  9232. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9233. type: number
  9234. openexchagechargevalue:
  9235. description: 建仓交易所手续费设置值
  9236. type: number
  9237. openfeealgorithm:
  9238. description: 建仓手续费收取方式 1:比率 2:固定
  9239. type: integer
  9240. openmemberchargevalue:
  9241. description: 建仓会员手续费设置值
  9242. type: number
  9243. openqty:
  9244. description: 开仓数量(先建后平操作 需要记录)
  9245. type: integer
  9246. optiontype:
  9247. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9248. type: integer
  9249. orderid:
  9250. description: 委托单号
  9251. type: string
  9252. performanceplanid:
  9253. description: 履约计划ID[期权]
  9254. type: integer
  9255. performancestatus:
  9256. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9257. type: integer
  9258. preexerciseprice:
  9259. description: 预申报价格
  9260. type: number
  9261. premium:
  9262. description: 权利金 - [持仓单的权利金]
  9263. type: number
  9264. relatedouttradeid:
  9265. description: 关联外部成交单ID
  9266. type: integer
  9267. status:
  9268. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9269. type: integer
  9270. tradeamount:
  9271. description: 成交金额[账户币种,用于所有权]
  9272. type: number
  9273. tradedate:
  9274. description: 交易日(yyyyMMdd)
  9275. type: string
  9276. tradeid:
  9277. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9278. type: string
  9279. trademode:
  9280. description: 交易模式
  9281. type: integer
  9282. tradeprice:
  9283. description: 成交价格
  9284. type: number
  9285. tradeproperty:
  9286. description: 交易属性
  9287. type: integer
  9288. tradeqty:
  9289. description: 成交数量
  9290. type: integer
  9291. tradetime:
  9292. description: 成交时间
  9293. type: string
  9294. tradetype:
  9295. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9296. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9297. type: integer
  9298. required:
  9299. - accountid
  9300. - buyorsell
  9301. - goodsid
  9302. - histradedate
  9303. - marketid
  9304. - memberuserid
  9305. - orderid
  9306. - tradeamount
  9307. - tradedate
  9308. - tradeid
  9309. - tradeprice
  9310. - tradeqty
  9311. - tradetime
  9312. type: object
  9313. order.QueryHisTradeOrderDetailRsp:
  9314. properties:
  9315. accountid:
  9316. description: 账户ID[报价币种]
  9317. type: integer
  9318. buildtype:
  9319. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9320. type: integer
  9321. buyorsell:
  9322. description: 买卖 - 0:买 1:卖
  9323. type: integer
  9324. cancelorderid:
  9325. description: 撤单单号(撤单时填写)
  9326. type: string
  9327. cancelqty:
  9328. description: 撤单数量
  9329. type: integer
  9330. clientordertime:
  9331. description: 客户端委托时间
  9332. type: string
  9333. clientticket:
  9334. description: 客户端流水号
  9335. type: string
  9336. clienttype:
  9337. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9338. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9339. type: integer
  9340. closeexchagechargevalue:
  9341. description: 平仓交易所手续费设置值
  9342. type: number
  9343. closefeealgorithm:
  9344. description: 平仓手续费收取方式 1:比率 2:固定
  9345. type: integer
  9346. closefreezecharge:
  9347. description: 平仓冻结手续费(先建后平操作,需要记录)
  9348. type: number
  9349. closememberchargevalue:
  9350. description: 平仓会员手续费设置值
  9351. type: number
  9352. closeqty:
  9353. description: 平仓数量(先建后平操作 需要记录)
  9354. type: integer
  9355. closetradeqty:
  9356. description: 平仓成交数量(先建后平操作,需要记录)
  9357. type: integer
  9358. closeunfreezecharge:
  9359. description: 平仓解冻手续费(先建后平操作,需要记录)
  9360. type: number
  9361. delistingtype:
  9362. description: 摘牌类型 - 1:价格最优 2:点选成交
  9363. type: integer
  9364. freezecharge:
  9365. description: 冻结手续费
  9366. type: number
  9367. freezemargin:
  9368. description: 冻结保证金(冻结交易金额)
  9369. type: number
  9370. gcaccountid:
  9371. description: 账户ID[合约币种]
  9372. type: integer
  9373. goodscode:
  9374. description: 商品代码
  9375. type: string
  9376. goodsid:
  9377. description: 商品ID
  9378. type: integer
  9379. goodsname:
  9380. description: 商品名称
  9381. type: string
  9382. histradedate:
  9383. description: 历史交易日
  9384. type: string
  9385. isconfirmexercise:
  9386. description: 是否确认行权- 0:否 1:是
  9387. type: integer
  9388. ispreexercise:
  9389. description: 是否预申报- 0:否 1:是
  9390. type: integer
  9391. isvaliddata:
  9392. description: 是否有效 - 0:无效 1:有效
  9393. type: integer
  9394. listingselecttype:
  9395. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9396. type: integer
  9397. marginalgorithm:
  9398. description: 保证金收取方式 1:比率 2:固定
  9399. type: integer
  9400. marginvalue:
  9401. description: 即市保证金设置值
  9402. type: number
  9403. marketid:
  9404. description: 市场ID
  9405. type: integer
  9406. marketmaxsub:
  9407. description: 市价最大偏移范围
  9408. type: number
  9409. marketname:
  9410. description: 市场名称
  9411. type: string
  9412. memberuserid:
  9413. description: 所属会员UserID
  9414. type: integer
  9415. openexchagechargevalue:
  9416. description: 建仓交易所手续费设置值
  9417. type: number
  9418. openfeealgorithm:
  9419. description: 建仓手续费收取方式 1:比率 2:固定
  9420. type: integer
  9421. openfreezecharge:
  9422. description: 开仓冻结手续费(先建后平操作,需要记录)
  9423. type: number
  9424. openmemberchargevalue:
  9425. description: 建仓会员手续费设置值
  9426. type: number
  9427. openqty:
  9428. description: 开仓数量(先建后平操作,需要记录)
  9429. type: integer
  9430. opentradeqty:
  9431. description: 开仓成交数量(先建后平操作,需要记录)
  9432. type: integer
  9433. openunfreezecharge:
  9434. description: 开仓解冻手续费(先建后平操作,需要记录)
  9435. type: number
  9436. operatetype:
  9437. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9438. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9439. 15:管理端协议转让
  9440. type: integer
  9441. operatorid:
  9442. description: 登录账号(LoginID)
  9443. type: integer
  9444. optiontype:
  9445. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9446. type: integer
  9447. orderid:
  9448. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9449. type: string
  9450. orderprice:
  9451. description: 委托价格
  9452. type: number
  9453. orderqty:
  9454. description: 委托数量
  9455. type: integer
  9456. ordersrc:
  9457. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9458. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9459. type: integer
  9460. orderstatus:
  9461. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9462. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9463. 16:成交失败违约(荷兰式竞拍专用)
  9464. type: integer
  9465. ordertime:
  9466. description: 委托时间
  9467. type: string
  9468. preexerciseprice:
  9469. description: 预申报价格
  9470. type: number
  9471. premium:
  9472. description: 权利金
  9473. type: number
  9474. preorderid:
  9475. description: 关联预埋单号(止盈止损单时填写)
  9476. type: string
  9477. pricemode:
  9478. description: '取价方式 - 1:市价 2: 限价'
  9479. type: integer
  9480. quoteid:
  9481. description: 报价单ID
  9482. type: integer
  9483. relatedid:
  9484. description: 关联单号(交割单)
  9485. type: string
  9486. retcode:
  9487. description: 错误代码
  9488. type: integer
  9489. sessionid:
  9490. description: 会话ID
  9491. type: integer
  9492. tradedate:
  9493. description: 交易日(yyyyMMdd)
  9494. type: string
  9495. trademode:
  9496. description: 交易模式
  9497. type: integer
  9498. tradeproperty:
  9499. description: 交易属性
  9500. type: integer
  9501. tradeqty:
  9502. description: 成交数量
  9503. type: integer
  9504. unfreezecharge:
  9505. description: 解冻手续费
  9506. type: number
  9507. unfreezemargin:
  9508. description: 解冻保证金
  9509. type: number
  9510. updatetime:
  9511. description: 更新时间
  9512. type: string
  9513. uuid:
  9514. description: 发起端唯一id
  9515. type: string
  9516. validtime:
  9517. description: 有效期限
  9518. type: string
  9519. validtype:
  9520. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9521. type: integer
  9522. volumetype:
  9523. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9524. type: integer
  9525. required:
  9526. - accountid
  9527. - buildtype
  9528. - buyorsell
  9529. - goodsid
  9530. - histradedate
  9531. - marketid
  9532. - memberuserid
  9533. - operatetype
  9534. - orderid
  9535. - orderqty
  9536. - ordertime
  9537. - pricemode
  9538. - tradedate
  9539. - validtype
  9540. type: object
  9541. order.QueryTradeDetailRsp:
  9542. properties:
  9543. accountid:
  9544. description: 账户ID[报价币种]
  9545. type: integer
  9546. buildtype:
  9547. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9548. type: integer
  9549. buyorsell:
  9550. description: 方向 - 0:买 1:卖
  9551. type: integer
  9552. charge:
  9553. description: 手续费
  9554. type: number
  9555. closecharge:
  9556. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9557. type: number
  9558. closeexchagechargevalue:
  9559. description: 平仓交易所手续费设置值
  9560. type: number
  9561. closefeealgorithm:
  9562. description: 平仓手续费收取方式 1:比率 2:固定
  9563. type: integer
  9564. closememberchargevalue:
  9565. description: 平仓会员手续费设置值
  9566. type: number
  9567. closepl:
  9568. description: 平仓盈亏
  9569. type: number
  9570. closepl2:
  9571. description: 平仓盈亏[逐笔]
  9572. type: number
  9573. closeqty:
  9574. description: 平仓数量(先建后平操作 需要记录)
  9575. type: integer
  9576. creditamount:
  9577. description: 授信金额
  9578. type: number
  9579. gcaccountid:
  9580. description: 账户ID[合约币种]
  9581. type: integer
  9582. goodscode:
  9583. description: 商品代码
  9584. type: string
  9585. goodsid:
  9586. description: 商品ID
  9587. type: integer
  9588. goodsname:
  9589. description: 商品名称
  9590. type: string
  9591. intclosepl:
  9592. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9593. type: integer
  9594. isconfirmexercise:
  9595. description: 是否确认行权- 0:否 1:是
  9596. type: integer
  9597. ismain:
  9598. description: 是否主单 - 0:不是 1:是
  9599. type: integer
  9600. ispreexercise:
  9601. description: 是否预申报- 0:否 1:是
  9602. type: integer
  9603. isreckoned:
  9604. description: 是否结算 - 0:未结算 1:已结算
  9605. type: integer
  9606. listingselecttype:
  9607. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9608. type: integer
  9609. marketid:
  9610. description: 市场ID
  9611. type: integer
  9612. marketname:
  9613. description: 市场名称
  9614. type: string
  9615. matchaccountid:
  9616. description: 对手账号id
  9617. type: integer
  9618. memberuserid:
  9619. description: 会员id 个人投资者 需要填写
  9620. type: integer
  9621. opencharge:
  9622. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9623. type: number
  9624. openexchagechargevalue:
  9625. description: 建仓交易所手续费设置值
  9626. type: number
  9627. openfeealgorithm:
  9628. description: 建仓手续费收取方式 1:比率 2:固定
  9629. type: integer
  9630. openmemberchargevalue:
  9631. description: 建仓会员手续费设置值
  9632. type: number
  9633. openqty:
  9634. description: 开仓数量(先建后平操作 需要记录)
  9635. type: integer
  9636. optiontype:
  9637. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9638. type: integer
  9639. orderid:
  9640. description: 委托单号
  9641. type: string
  9642. performanceplanid:
  9643. description: 履约计划ID[期权]
  9644. type: integer
  9645. performancestatus:
  9646. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9647. type: integer
  9648. preexerciseprice:
  9649. description: 预申报价格
  9650. type: number
  9651. premium:
  9652. description: 权利金 - [持仓单的权利金]
  9653. type: number
  9654. relatedouttradeid:
  9655. description: 关联外部成交单ID
  9656. type: integer
  9657. status:
  9658. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9659. type: integer
  9660. tradeamount:
  9661. description: 成交金额[账户币种,用于所有权]
  9662. type: number
  9663. tradedate:
  9664. description: 交易日(yyyyMMdd)
  9665. type: string
  9666. tradeid:
  9667. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9668. type: string
  9669. trademode:
  9670. description: 交易模式
  9671. type: integer
  9672. tradeprice:
  9673. description: 成交价格
  9674. type: number
  9675. tradeproperty:
  9676. description: 交易属性
  9677. type: integer
  9678. tradeqty:
  9679. description: 成交数量
  9680. type: integer
  9681. tradetime:
  9682. description: 成交时间
  9683. type: string
  9684. tradetype:
  9685. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9686. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9687. type: integer
  9688. required:
  9689. - accountid
  9690. - buyorsell
  9691. - goodsid
  9692. - marketid
  9693. - memberuserid
  9694. - orderid
  9695. - tradeamount
  9696. - tradedate
  9697. - tradeid
  9698. - tradeprice
  9699. - tradeqty
  9700. - tradetime
  9701. type: object
  9702. order.QueryTradeOrderDetailRsp:
  9703. properties:
  9704. accountid:
  9705. description: 账户ID[报价币种]
  9706. type: integer
  9707. buildtype:
  9708. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9709. type: integer
  9710. buyorsell:
  9711. description: 买卖 - 0:买 1:卖
  9712. type: integer
  9713. cancelorderid:
  9714. description: 撤单单号(撤单时填写)
  9715. type: string
  9716. cancelqty:
  9717. description: 撤单数量
  9718. type: integer
  9719. clienttype:
  9720. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9721. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9722. type: integer
  9723. closefreezecharge:
  9724. description: 平仓冻结手续费(先建后平操作,需要记录)
  9725. type: number
  9726. closeqty:
  9727. description: 平仓数量(先建后平操作 需要记录)
  9728. type: integer
  9729. closetradeqty:
  9730. description: 平仓成交数量(先建后平操作,需要记录)
  9731. type: integer
  9732. closeunfreezecharge:
  9733. description: 平仓解冻手续费(先建后平操作,需要记录)
  9734. type: number
  9735. delistingtype:
  9736. description: 摘牌类型 - 1:价格最优 2:点选成交
  9737. type: integer
  9738. enableqty:
  9739. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9740. type: integer
  9741. freezecharge:
  9742. description: 冻结手续费
  9743. type: number
  9744. freezemargin:
  9745. description: 冻结保证金(冻结交易金额)
  9746. type: number
  9747. goodscode:
  9748. description: 商品代码
  9749. type: string
  9750. goodsid:
  9751. description: 商品ID
  9752. type: integer
  9753. goodsname:
  9754. description: 商品名称
  9755. type: string
  9756. listingselecttype:
  9757. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9758. type: integer
  9759. marketid:
  9760. description: 市场ID
  9761. type: integer
  9762. marketname:
  9763. description: 市场名称
  9764. type: string
  9765. openfreezecharge:
  9766. description: 开仓冻结手续费(先建后平操作,需要记录)
  9767. type: number
  9768. openqty:
  9769. description: 开仓数量(先建后平操作,需要记录)
  9770. type: integer
  9771. opentradeqty:
  9772. description: 开仓成交数量(先建后平操作,需要记录)
  9773. type: integer
  9774. openunfreezecharge:
  9775. description: 开仓解冻手续费(先建后平操作,需要记录)
  9776. type: number
  9777. operatetype:
  9778. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9779. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9780. 15:管理端协议转让
  9781. type: integer
  9782. operatorid:
  9783. description: 登录账号(LoginID)
  9784. type: integer
  9785. orderid:
  9786. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9787. type: string
  9788. orderprice:
  9789. description: 委托价格
  9790. type: number
  9791. orderqty:
  9792. description: 委托数量
  9793. type: integer
  9794. ordersrc:
  9795. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9796. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9797. type: integer
  9798. orderstatus:
  9799. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9800. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9801. 16:成交失败违约(荷兰式竞拍专用)
  9802. type: integer
  9803. ordertime:
  9804. description: 委托时间
  9805. type: string
  9806. preorderid:
  9807. description: 关联预埋单号(止盈止损单时填写)
  9808. type: string
  9809. pricemode:
  9810. description: '取价方式 - 1:市价 2: 限价'
  9811. type: integer
  9812. relatedid:
  9813. description: 关联单号(交割单)
  9814. type: string
  9815. tradedate:
  9816. description: 交易日(yyyyMMdd)
  9817. type: string
  9818. trademode:
  9819. description: 交易模式
  9820. type: integer
  9821. tradeqty:
  9822. description: 成交数量
  9823. type: integer
  9824. unfreezecharge:
  9825. description: 解冻手续费
  9826. type: number
  9827. unfreezemargin:
  9828. description: 解冻保证金
  9829. type: number
  9830. validtime:
  9831. description: 有效期限
  9832. type: string
  9833. validtype:
  9834. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9835. type: integer
  9836. volumetype:
  9837. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9838. type: integer
  9839. required:
  9840. - accountid
  9841. - buildtype
  9842. - buyorsell
  9843. - goodsid
  9844. - marketid
  9845. - operatetype
  9846. - orderqty
  9847. - ordertime
  9848. - pricemode
  9849. - tradedate
  9850. - validtype
  9851. type: object
  9852. order.QueryTradePositionRsp:
  9853. properties:
  9854. accountid:
  9855. description: 资金账户
  9856. type: integer
  9857. agreeunit:
  9858. description: 合约单位
  9859. type: number
  9860. averageprice:
  9861. description: 持仓均价
  9862. type: number
  9863. buyorsell:
  9864. description: 方向 - 0:买 1:卖
  9865. type: integer
  9866. closetotalqty:
  9867. description: 平仓总数量
  9868. type: integer
  9869. curholderamount:
  9870. description: 当前持仓总金额[商品币种]
  9871. type: number
  9872. curpositionqty:
  9873. description: 当前持仓总数量
  9874. type: integer
  9875. currencyid:
  9876. description: 报价货币ID
  9877. type: integer
  9878. curtdposition:
  9879. description: 期末今日头寸
  9880. type: integer
  9881. decimalplace:
  9882. description: 报价小数位
  9883. type: integer
  9884. enableqty:
  9885. description: 可用量
  9886. type: integer
  9887. fretdposition:
  9888. description: 冻结今日头寸
  9889. type: integer
  9890. frozenqty:
  9891. description: 持仓冻结数量
  9892. type: integer
  9893. goodscode:
  9894. description: 商品代码
  9895. type: string
  9896. goodsid:
  9897. description: 商品Id
  9898. type: integer
  9899. goodsname:
  9900. description: 商品名称
  9901. type: string
  9902. goodunit:
  9903. description: 报价单位
  9904. type: string
  9905. goodunitid:
  9906. description: 报价单位ID
  9907. type: integer
  9908. holderamount:
  9909. description: 期初持仓总金额[商品币种]
  9910. type: number
  9911. marketid:
  9912. description: 所属市场ID
  9913. type: integer
  9914. openreqqty:
  9915. description: 开仓申请数量(用于比较最大持仓数量)
  9916. type: integer
  9917. opentotalqty:
  9918. description: 开仓总数量
  9919. type: integer
  9920. otherfrozenqty:
  9921. description: 持仓其他冻结数量(交割冻结)
  9922. type: integer
  9923. positionqty:
  9924. description: 期初持仓数量
  9925. type: integer
  9926. tnqty:
  9927. description: T+N冻结总量
  9928. type: integer
  9929. tnusedqty:
  9930. description: T+N使用量(可以使用T+N的冻结数量)
  9931. type: integer
  9932. trademode:
  9933. description: 交易模式
  9934. type: integer
  9935. usedmargin:
  9936. description: 占用保证金[商品币种]
  9937. type: number
  9938. required:
  9939. - goodsid
  9940. type: object
  9941. quote.HistoryData:
  9942. properties:
  9943. c:
  9944. description: 收盘价
  9945. type: number
  9946. f:
  9947. description: 是否补充数据
  9948. type: boolean
  9949. h:
  9950. description: 最高价
  9951. type: number
  9952. hv:
  9953. description: 持仓量
  9954. type: integer
  9955. l:
  9956. description: 最低价
  9957. type: number
  9958. o:
  9959. description: 开盘价
  9960. type: number
  9961. s:
  9962. description: 结算价,日线周期(包括)以上才有
  9963. type: number
  9964. ts:
  9965. description: 时间
  9966. type: string
  9967. tt:
  9968. description: 总金额
  9969. type: number
  9970. tv:
  9971. description: 总量
  9972. type: integer
  9973. type: object
  9974. quote.HistoryTikData:
  9975. properties:
  9976. AV:
  9977. description: 卖量
  9978. type: integer
  9979. Ask:
  9980. description: 卖价
  9981. type: number
  9982. BV:
  9983. description: 买量
  9984. type: integer
  9985. Bid:
  9986. description: 买价
  9987. type: number
  9988. HI:
  9989. description: 单笔持仓
  9990. type: integer
  9991. HV:
  9992. description: 持仓量
  9993. type: integer
  9994. PE:
  9995. description: 现价
  9996. type: number
  9997. TDR:
  9998. description: 交易方向,0:买 1:卖
  9999. type: integer
  10000. TK:
  10001. description: 交易类型
  10002. type: integer
  10003. TS:
  10004. description: 行情时间文本
  10005. type: string
  10006. TT:
  10007. description: 现金额
  10008. type: number
  10009. Vol:
  10010. description: 现量
  10011. type: integer
  10012. type: object
  10013. quote.QueryQuoteDayRsp:
  10014. properties:
  10015. ask:
  10016. description: 卖1
  10017. type: number
  10018. ask2:
  10019. description: 卖2
  10020. type: number
  10021. ask3:
  10022. description: 卖3
  10023. type: number
  10024. ask4:
  10025. description: 卖4
  10026. type: number
  10027. ask5:
  10028. description: 卖5
  10029. type: number
  10030. ask6:
  10031. description: 卖6
  10032. type: number
  10033. ask7:
  10034. description: 卖7
  10035. type: number
  10036. ask8:
  10037. description: 卖8
  10038. type: number
  10039. ask9:
  10040. description: 卖9
  10041. type: number
  10042. ask10:
  10043. description: 卖10
  10044. type: number
  10045. askorderid:
  10046. description: 卖单号1
  10047. type: integer
  10048. askorderid2:
  10049. description: 卖单号2
  10050. type: integer
  10051. askorderid3:
  10052. description: 卖单号3
  10053. type: integer
  10054. askorderid4:
  10055. description: 卖单号4
  10056. type: integer
  10057. askorderid5:
  10058. description: 卖单号5
  10059. type: integer
  10060. askordervolume:
  10061. description: 卖单量1
  10062. type: integer
  10063. askordervolume2:
  10064. description: 卖单量2
  10065. type: integer
  10066. askordervolume3:
  10067. description: 卖单量3
  10068. type: integer
  10069. askordervolume4:
  10070. description: 卖单量4
  10071. type: integer
  10072. askordervolume5:
  10073. description: 卖单量5
  10074. type: integer
  10075. askordervolume6:
  10076. description: 卖单量6
  10077. type: integer
  10078. askordervolume7:
  10079. description: 卖单量7
  10080. type: integer
  10081. askordervolume8:
  10082. description: 卖单量8
  10083. type: integer
  10084. askordervolume9:
  10085. description: 卖单量9
  10086. type: integer
  10087. askordervolume10:
  10088. description: 卖单量10
  10089. type: integer
  10090. askqueueinfo:
  10091. description: 大利市卖港股用
  10092. type: string
  10093. askvolume:
  10094. description: 卖量1
  10095. type: integer
  10096. askvolume2:
  10097. description: 卖量2
  10098. type: integer
  10099. askvolume3:
  10100. description: 卖量3
  10101. type: integer
  10102. askvolume4:
  10103. description: 卖量4
  10104. type: integer
  10105. askvolume5:
  10106. description: 卖量5
  10107. type: integer
  10108. askvolume6:
  10109. description: 卖量6
  10110. type: integer
  10111. askvolume7:
  10112. description: 卖量7
  10113. type: integer
  10114. askvolume8:
  10115. description: 卖量8
  10116. type: integer
  10117. askvolume9:
  10118. description: 卖量9
  10119. type: integer
  10120. askvolume10:
  10121. description: 卖量10
  10122. type: integer
  10123. averageprice:
  10124. description: 均价
  10125. type: number
  10126. bid:
  10127. description: 买1
  10128. type: number
  10129. bid2:
  10130. description: 买2
  10131. type: number
  10132. bid3:
  10133. description: 买3
  10134. type: number
  10135. bid4:
  10136. description: 买4
  10137. type: number
  10138. bid5:
  10139. description: 买5
  10140. type: number
  10141. bid6:
  10142. description: 买6
  10143. type: number
  10144. bid7:
  10145. description: 买7
  10146. type: number
  10147. bid8:
  10148. description: 买8
  10149. type: number
  10150. bid9:
  10151. description: 买9
  10152. type: number
  10153. bid10:
  10154. description: 买10
  10155. type: number
  10156. bidorderid:
  10157. description: 买单号1
  10158. type: integer
  10159. bidorderid2:
  10160. description: 买单号2
  10161. type: integer
  10162. bidorderid3:
  10163. description: 买单号3
  10164. type: integer
  10165. bidorderid4:
  10166. description: 买单号4
  10167. type: integer
  10168. bidorderid5:
  10169. description: 买单号5
  10170. type: integer
  10171. bidordervolume:
  10172. description: 买单量1
  10173. type: integer
  10174. bidordervolume2:
  10175. description: 买单量2
  10176. type: integer
  10177. bidordervolume3:
  10178. description: 买单量3
  10179. type: integer
  10180. bidordervolume4:
  10181. description: 买单量4
  10182. type: integer
  10183. bidordervolume5:
  10184. description: 买单量5
  10185. type: integer
  10186. bidordervolume6:
  10187. description: 买单量6
  10188. type: integer
  10189. bidordervolume7:
  10190. description: 买单量7
  10191. type: integer
  10192. bidordervolume8:
  10193. description: 买单量8
  10194. type: integer
  10195. bidordervolume9:
  10196. description: 买单量9
  10197. type: integer
  10198. bidordervolume10:
  10199. description: 买单量10
  10200. type: integer
  10201. bidqueueinfo:
  10202. description: 大利市买港股用
  10203. type: string
  10204. bidvolume:
  10205. description: 买量1
  10206. type: integer
  10207. bidvolume2:
  10208. description: 买量2
  10209. type: integer
  10210. bidvolume3:
  10211. description: 买量3
  10212. type: integer
  10213. bidvolume4:
  10214. description: 买量4
  10215. type: integer
  10216. bidvolume5:
  10217. description: 买量5
  10218. type: integer
  10219. bidvolume6:
  10220. description: 买量6
  10221. type: integer
  10222. bidvolume7:
  10223. description: 买量7
  10224. type: integer
  10225. bidvolume8:
  10226. description: 买量8
  10227. type: integer
  10228. bidvolume9:
  10229. description: 买量9
  10230. type: integer
  10231. bidvolume10:
  10232. description: 买量10
  10233. type: integer
  10234. calloptionpremiums:
  10235. description: 认购期权1
  10236. type: integer
  10237. calloptionpremiums2:
  10238. description: 认购期权2
  10239. type: integer
  10240. calloptionpremiums3:
  10241. description: 认购期权3
  10242. type: integer
  10243. calloptionpremiums4:
  10244. description: 认购期权4
  10245. type: integer
  10246. calloptionpremiums5:
  10247. description: 认购期权5
  10248. type: integer
  10249. cleartime:
  10250. description: 清盘时间
  10251. type: integer
  10252. exchangecode:
  10253. description: 交易所代码
  10254. type: integer
  10255. exchangedate:
  10256. description: 交易日
  10257. type: integer
  10258. goodscode:
  10259. description: 商品代码
  10260. type: string
  10261. grepmarketprice:
  10262. description: 暗盘价 港股专用
  10263. type: number
  10264. highest:
  10265. description: 最高价
  10266. type: number
  10267. holdincrement:
  10268. description: 单笔持仓
  10269. type: integer
  10270. holdvolume:
  10271. description: 持仓
  10272. type: integer
  10273. iep:
  10274. description: 平衡价 港股专用
  10275. type: number
  10276. iev:
  10277. description: 平衡量 港股专用
  10278. type: number
  10279. inventory:
  10280. description: 库存
  10281. type: integer
  10282. iscleared:
  10283. description: 是否清盘标志
  10284. type: integer
  10285. issettled:
  10286. description: 是否结算标志
  10287. type: integer
  10288. last:
  10289. description: 最新价
  10290. type: number
  10291. lastlot:
  10292. description: 最新成交手数
  10293. type: integer
  10294. lasttime:
  10295. description: 行情时间(只有现价变化行情时间才变化)
  10296. type: string
  10297. lastturnover:
  10298. description: 最新成交金额
  10299. type: number
  10300. lastvolume:
  10301. description: 最新成交量
  10302. type: integer
  10303. limitdown:
  10304. description: 跌停价
  10305. type: number
  10306. limitup:
  10307. description: 涨停价
  10308. type: number
  10309. lowest:
  10310. description: 最低价
  10311. type: number
  10312. nontotalholdervolume:
  10313. description: 非交易持仓量
  10314. type: integer
  10315. nontotallot:
  10316. description: 非交易总手数
  10317. type: integer
  10318. nontotalturnover:
  10319. description: 非交易总金额
  10320. type: integer
  10321. nontotalvolume:
  10322. description: 非交易总量
  10323. type: integer
  10324. opened:
  10325. description: 开盘价
  10326. type: number
  10327. opentime:
  10328. description: 开盘时间
  10329. type: string
  10330. orderid:
  10331. description: 序号
  10332. type: integer
  10333. preclose:
  10334. description: 昨收
  10335. type: number
  10336. preholdvolume:
  10337. description: 昨持仓
  10338. type: integer
  10339. presettle:
  10340. description: 昨结价
  10341. type: number
  10342. publictradetype:
  10343. description: 公共交易标志类型 港股专用
  10344. type: string
  10345. putoptionpremiums:
  10346. description: 认沽期权1
  10347. type: integer
  10348. putoptionpremiums2:
  10349. description: 认沽期权2
  10350. type: integer
  10351. putoptionpremiums3:
  10352. description: 认沽期权3
  10353. type: integer
  10354. putoptionpremiums4:
  10355. description: 认沽期权4
  10356. type: integer
  10357. putoptionpremiums5:
  10358. description: 认沽期权5
  10359. type: integer
  10360. settle:
  10361. description: 结算价
  10362. type: number
  10363. strikeprice:
  10364. description: 发行价
  10365. type: number
  10366. totalaskvolume:
  10367. description: 内盘
  10368. type: integer
  10369. totalbidvolume:
  10370. description: 外盘
  10371. type: integer
  10372. totallot:
  10373. description: 总手数
  10374. type: integer
  10375. totalturnover:
  10376. description: 总金额
  10377. type: number
  10378. totalvolume:
  10379. description: 总量
  10380. type: integer
  10381. utclasttime:
  10382. description: utc的行情时间
  10383. type: string
  10384. type: object
  10385. quote.QueryTSDataRsp:
  10386. properties:
  10387. Count:
  10388. description: 交易日应有数据个数
  10389. type: integer
  10390. decimalPlace:
  10391. description: 小数位
  10392. type: integer
  10393. endTime:
  10394. description: 结束时间
  10395. type: string
  10396. goodsCode:
  10397. description: 商品代码
  10398. type: string
  10399. historyDatas:
  10400. description: 历史数据
  10401. items:
  10402. $ref: '#/definitions/quote.HistoryData'
  10403. type: array
  10404. outGoodsCode:
  10405. description: 外部商品代码
  10406. type: string
  10407. preSettle:
  10408. description: 昨结价
  10409. type: number
  10410. runSteps:
  10411. description: 交易日开休市计划
  10412. items:
  10413. $ref: '#/definitions/quote.TSDataRunStep'
  10414. type: array
  10415. startTime:
  10416. description: 开始时间
  10417. type: string
  10418. tradeDate:
  10419. description: 交易日
  10420. type: string
  10421. type: object
  10422. quote.TSDataRunStep:
  10423. properties:
  10424. end:
  10425. description: 真实结束时间
  10426. type: string
  10427. endflag:
  10428. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10429. type: integer
  10430. endtime:
  10431. description: 结束时间(HH:mm)
  10432. type: string
  10433. endweekday:
  10434. description: 结束周几
  10435. type: integer
  10436. groupid:
  10437. description: 分组ID
  10438. type: integer
  10439. runstep:
  10440. description: 运行阶段 - 2:连续交易
  10441. type: integer
  10442. sectionid:
  10443. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10444. 结束时间=结算时间 结束周几=结算周几
  10445. type: integer
  10446. start:
  10447. description: 真实开始时间
  10448. type: string
  10449. startflag:
  10450. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10451. type: integer
  10452. starttime:
  10453. description: 起始时间(HH:mm)
  10454. type: string
  10455. startweekday:
  10456. description: 起始周几
  10457. type: integer
  10458. tradeweekday:
  10459. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10460. type: integer
  10461. type: object
  10462. szdz.QueryConvertLogRsp:
  10463. properties:
  10464. accountid:
  10465. description: 资金账户ID
  10466. type: integer
  10467. clientticket:
  10468. description: 客户端流水号
  10469. type: string
  10470. converttype:
  10471. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10472. type: integer
  10473. createtime:
  10474. description: 记账时间
  10475. type: string
  10476. daymaxvalue:
  10477. description: 配置当日最大转入限制
  10478. type: number
  10479. daymaxvalue2:
  10480. description: 配置当日最大转入限制(转入)
  10481. type: number
  10482. goodscode:
  10483. description: 商品代码
  10484. type: string
  10485. goodsname:
  10486. description: 商品名称
  10487. type: string
  10488. handlestatus:
  10489. description: 处理状态
  10490. type: integer
  10491. innergoodsid:
  10492. description: 内部商品ID
  10493. type: integer
  10494. inratio:
  10495. description: 配置转入比值
  10496. type: integer
  10497. invalue:
  10498. description: 目标值
  10499. type: number
  10500. logid:
  10501. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10502. type: integer
  10503. mobile:
  10504. description: 手机号码(加密存储)
  10505. type: string
  10506. outergoodscode:
  10507. description: 外部商品代码[JD\PD]
  10508. type: string
  10509. outratio:
  10510. description: 配置转出比值
  10511. type: integer
  10512. outvalue:
  10513. description: 源值
  10514. type: number
  10515. pddecimalplace:
  10516. description: PD小数位
  10517. type: integer
  10518. qty:
  10519. description: 数量
  10520. type: string
  10521. remark:
  10522. description: 备注
  10523. type: string
  10524. sessionid:
  10525. description: 会话ID
  10526. type: integer
  10527. timemaxvalue:
  10528. description: 配置单次最大转入限制
  10529. type: number
  10530. timemaxvalue2:
  10531. description: 配置单次最大转入限制(转入)
  10532. type: number
  10533. timeminvalue:
  10534. description: 配置单次最小数量限制
  10535. type: number
  10536. timeminvalue2:
  10537. description: 配置单次最小数量限制(转入)
  10538. type: number
  10539. tradedate:
  10540. description: 交易日(yyyyMMdd)
  10541. type: string
  10542. userid:
  10543. description: 用户ID
  10544. type: integer
  10545. required:
  10546. - logid
  10547. type: object
  10548. szdz.QueryGoodsPickupRsp:
  10549. properties:
  10550. accountid:
  10551. description: 账户ID
  10552. type: integer
  10553. address:
  10554. description: 提货人详细地址
  10555. type: string
  10556. auditer:
  10557. description: 审核人
  10558. type: integer
  10559. audittime:
  10560. description: 审核时间
  10561. type: string
  10562. cardnum:
  10563. description: 提货人证件号码
  10564. type: string
  10565. cardtypeid:
  10566. description: 提货人证件类型
  10567. type: integer
  10568. checkremark:
  10569. description: 审核备注
  10570. type: string
  10571. goodscode:
  10572. description: 商品代码
  10573. type: string
  10574. goodsid:
  10575. description: 商品ID
  10576. type: integer
  10577. goodsname:
  10578. description: 商品名称
  10579. type: string
  10580. handlestatus:
  10581. description: 处理状态
  10582. type: integer
  10583. marketid:
  10584. description: 市场ID
  10585. type: integer
  10586. phonenum:
  10587. description: 提货人联系方式
  10588. type: string
  10589. qty:
  10590. description: 提货数量
  10591. type: number
  10592. recivername:
  10593. description: 提货人姓名
  10594. type: string
  10595. reqtime:
  10596. description: 更新时间
  10597. type: string
  10598. takemode:
  10599. description: 提货方式 - 2:自提 3:配送
  10600. type: integer
  10601. takeorderid:
  10602. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10603. type: string
  10604. takeorderstatus:
  10605. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10606. type: integer
  10607. takeremark:
  10608. description: 提货备注
  10609. type: string
  10610. tradedate:
  10611. description: 交易日(yyyyMMdd)
  10612. type: string
  10613. userid:
  10614. description: 用户ID
  10615. type: integer
  10616. required:
  10617. - takeorderid
  10618. type: object
  10619. szdz.QueryRecieptOrderRsp:
  10620. properties:
  10621. accountName:
  10622. description: 所属账号名称(已脱敏)
  10623. type: string
  10624. accountid:
  10625. description: 资金账号
  10626. type: integer
  10627. buyorsell:
  10628. description: 方向 - 0:买 1:卖
  10629. type: integer
  10630. enableqty:
  10631. description: 可摘数量
  10632. type: integer
  10633. goodscode:
  10634. description: 商品代码
  10635. type: string
  10636. goodsid:
  10637. description: 商品ID
  10638. type: integer
  10639. goodsname:
  10640. description: 商品名称
  10641. type: string
  10642. orderid:
  10643. description: 委托单号
  10644. type: string
  10645. orderprice:
  10646. description: 委托价格
  10647. type: number
  10648. ordertime:
  10649. description: 委托时间
  10650. type: string
  10651. tradedate:
  10652. description: 交易日(yyyyMMdd)
  10653. type: string
  10654. required:
  10655. - ordertime
  10656. type: object
  10657. szdz.QuerySZDZTradePositionRsp:
  10658. properties:
  10659. accountid:
  10660. description: 账号Id
  10661. type: integer
  10662. agreeunit:
  10663. description: 合约单位
  10664. type: number
  10665. averageprice:
  10666. description: 持仓均价
  10667. type: number
  10668. buyorsell:
  10669. description: 方向 - 0:买 1:卖
  10670. type: integer
  10671. closetotalqty:
  10672. description: 平仓总数量
  10673. type: integer
  10674. curholderamount:
  10675. description: 当前持仓总金额
  10676. type: number
  10677. curpositionqty:
  10678. description: 当前持仓总数量
  10679. type: integer
  10680. currencyid:
  10681. description: 报价货币ID
  10682. type: integer
  10683. curtdposition:
  10684. description: 期末今日头寸
  10685. type: integer
  10686. decimalplace:
  10687. description: 报价小数位
  10688. type: integer
  10689. enableqty:
  10690. description: 可用量
  10691. type: integer
  10692. fretdposition:
  10693. description: 冻结今日头寸
  10694. type: integer
  10695. frozenqty:
  10696. description: 持仓冻结数量
  10697. type: integer
  10698. goodscode:
  10699. description: 商品代码(内部)
  10700. type: string
  10701. goodsid:
  10702. description: 商品Id
  10703. type: integer
  10704. goodsname:
  10705. description: 商品名称
  10706. type: string
  10707. goodunit:
  10708. description: 报价单位
  10709. type: string
  10710. goodunitid:
  10711. description: 报价单位ID
  10712. type: integer
  10713. holderamount:
  10714. description: 期初持仓总金额
  10715. type: number
  10716. marketid:
  10717. description: 市场ID
  10718. type: integer
  10719. openreqqty:
  10720. description: 开仓申请数量
  10721. type: integer
  10722. opentotalqty:
  10723. description: 开仓总数量
  10724. type: integer
  10725. otherfrozenqty:
  10726. description: 持仓其他冻结数量(交割冻结)
  10727. type: integer
  10728. positionqty:
  10729. description: 期初持仓数量
  10730. type: integer
  10731. szdz3freezqty:
  10732. description: 尚志大宗转换冻结总数量
  10733. type: integer
  10734. tnqty:
  10735. description: T+N冻结总量
  10736. type: integer
  10737. tnusedqty:
  10738. description: T+N使用量
  10739. type: integer
  10740. trademode:
  10741. description: 交易模式
  10742. type: integer
  10743. usedmargin:
  10744. description: 占用保证金
  10745. type: number
  10746. type: object
  10747. taaccount.QueryAmountLogRsp:
  10748. properties:
  10749. OPERATETYPENAME:
  10750. description: 资金操作类型名称
  10751. type: string
  10752. accountid:
  10753. description: 资金账户ID
  10754. type: integer
  10755. agoodscode:
  10756. description: 竞拍商品代码
  10757. type: string
  10758. agoodsname:
  10759. description: 竞拍商品名称
  10760. type: string
  10761. amount:
  10762. description: 资金金额
  10763. type: number
  10764. amountadjusttype:
  10765. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10766. type: integer
  10767. autoid:
  10768. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10769. type: integer
  10770. balance:
  10771. description: 期初余额
  10772. type: number
  10773. businesscode:
  10774. description: 业务编号
  10775. type: integer
  10776. createtime:
  10777. description: 发生时间
  10778. type: string
  10779. currencyid:
  10780. description: 币种ID
  10781. type: integer
  10782. currentbalance:
  10783. description: 期末余额(变动后金额)
  10784. type: number
  10785. dgoodscode:
  10786. description: 交割商品代码
  10787. type: string
  10788. dgoodsname:
  10789. description: 交割商品名称
  10790. type: string
  10791. goodscode:
  10792. description: 商品代码
  10793. type: string
  10794. goodsid:
  10795. description: 商品ID
  10796. type: integer
  10797. goodsname:
  10798. description: 商品名称
  10799. type: string
  10800. marketid:
  10801. description: 市场ID
  10802. type: integer
  10803. marketname:
  10804. description: 市场名称
  10805. type: string
  10806. moneyticket:
  10807. description: 资金流水号:银行端流水号
  10808. type: integer
  10809. operatetype:
  10810. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10811. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10812. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10813. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10814. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10815. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10816. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10817. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10818. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10819. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10820. type: integer
  10821. relationorderid:
  10822. description: 关联单号
  10823. type: string
  10824. remark:
  10825. description: 备注
  10826. type: string
  10827. trademode:
  10828. description: 交易模式
  10829. type: integer
  10830. required:
  10831. - accountid
  10832. - amount
  10833. - amountadjusttype
  10834. - autoid
  10835. - balance
  10836. - createtime
  10837. - currentbalance
  10838. - operatetype
  10839. type: object
  10840. taaccount.QueryHisAmountLogRsp:
  10841. properties:
  10842. OPERATETYPENAME:
  10843. description: 资金操作类型名称
  10844. type: string
  10845. accountid:
  10846. description: 资金账户ID
  10847. type: integer
  10848. agoodscode:
  10849. description: 竞拍商品代码
  10850. type: string
  10851. agoodsname:
  10852. description: 竞拍商品名称
  10853. type: string
  10854. amount:
  10855. description: 资金金额
  10856. type: number
  10857. amountadjusttype:
  10858. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10859. type: integer
  10860. autoid:
  10861. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10862. type: integer
  10863. balance:
  10864. description: 期初余额
  10865. type: number
  10866. businesscode:
  10867. description: 业务编号
  10868. type: integer
  10869. createtime:
  10870. description: 发生时间
  10871. type: string
  10872. currencyid:
  10873. description: 币种ID
  10874. type: integer
  10875. currentbalance:
  10876. description: 期末余额(变动后金额)
  10877. type: number
  10878. dgoodscode:
  10879. description: 交割商品代码
  10880. type: string
  10881. dgoodsname:
  10882. description: 交割商品名称
  10883. type: string
  10884. goodscode:
  10885. description: 商品代码
  10886. type: string
  10887. goodsid:
  10888. description: 商品ID
  10889. type: integer
  10890. goodsname:
  10891. description: 商品名称
  10892. type: string
  10893. histradedate:
  10894. description: 历史交易日
  10895. type: string
  10896. isvaliddata:
  10897. description: 是否有效 - 0:无效 1:有效
  10898. type: integer
  10899. marketid:
  10900. description: 市场ID
  10901. type: integer
  10902. marketname:
  10903. description: 市场名称
  10904. type: string
  10905. moneyticket:
  10906. description: 资金流水号:银行端流水号
  10907. type: integer
  10908. operatetype:
  10909. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10910. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10911. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10912. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10913. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10914. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10915. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10916. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10917. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10918. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10919. type: integer
  10920. relationorderid:
  10921. description: 关联单号
  10922. type: string
  10923. remark:
  10924. description: 备注
  10925. type: string
  10926. trademode:
  10927. description: 交易模式
  10928. type: integer
  10929. required:
  10930. - accountid
  10931. - amount
  10932. - amountadjusttype
  10933. - autoid
  10934. - balance
  10935. - createtime
  10936. - currentbalance
  10937. - histradedate
  10938. - operatetype
  10939. type: object
  10940. trade.QueryRecieptOrderRsp:
  10941. properties:
  10942. accountName:
  10943. description: 所属账号名称(已脱敏)
  10944. type: string
  10945. accountid:
  10946. description: 资金账号
  10947. type: integer
  10948. buyorsell:
  10949. description: 方向 - 0:买 1:卖
  10950. type: integer
  10951. enableqty:
  10952. description: 可摘数量
  10953. type: integer
  10954. goodscode:
  10955. description: 商品代码
  10956. type: string
  10957. goodsid:
  10958. description: 商品ID
  10959. type: integer
  10960. goodsname:
  10961. description: 商品名称
  10962. type: string
  10963. orderid:
  10964. description: 委托单号
  10965. type: string
  10966. orderprice:
  10967. description: 委托价格
  10968. type: number
  10969. ordertime:
  10970. description: 委托时间
  10971. type: string
  10972. tradedate:
  10973. description: 交易日(yyyyMMdd)
  10974. type: string
  10975. required:
  10976. - ordertime
  10977. type: object
  10978. user.LoginQueryRsp:
  10979. properties:
  10980. externalExchanges:
  10981. description: 外部交易所
  10982. items:
  10983. $ref: '#/definitions/models.Externalexchange'
  10984. type: array
  10985. goodsgroups:
  10986. description: 商品组
  10987. items:
  10988. $ref: '#/definitions/models.Goodsgroup'
  10989. type: array
  10990. loginAccount:
  10991. $ref: '#/definitions/models.Loginaccount'
  10992. description: 登录账号
  10993. type: object
  10994. markets:
  10995. description: 市场
  10996. items:
  10997. $ref: '#/definitions/models.Market'
  10998. type: array
  10999. systemParams:
  11000. description: 系统参数
  11001. items:
  11002. $ref: '#/definitions/models.Systemparam'
  11003. type: array
  11004. userAccount:
  11005. $ref: '#/definitions/models.Useraccount'
  11006. description: 用户账号
  11007. type: object
  11008. userInfo:
  11009. $ref: '#/definitions/models.Userinfo'
  11010. description: 用户信息
  11011. type: object
  11012. username:
  11013. description: 用户姓名
  11014. type: string
  11015. type: object
  11016. info:
  11017. contact: {}
  11018. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11019. license: {}
  11020. termsOfService: http://muchinfo.cn
  11021. title: MTP2.0 查询服务 API
  11022. version: "1.0"
  11023. paths:
  11024. /CPTrade/QueryCPTradeMyBidInfos:
  11025. get:
  11026. parameters:
  11027. - description: 资金账户
  11028. in: query
  11029. name: accountid
  11030. required: true
  11031. type: integer
  11032. - description: 预售市场ID
  11033. in: query
  11034. name: marketid
  11035. type: integer
  11036. - description: 预售商品ID
  11037. in: query
  11038. name: goodsid
  11039. type: integer
  11040. produces:
  11041. - application/json
  11042. responses:
  11043. "200":
  11044. description: OK
  11045. schema:
  11046. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11047. "500":
  11048. description: Internal Server Error
  11049. schema:
  11050. $ref: '#/definitions/app.Response'
  11051. security:
  11052. - ApiKeyAuth: []
  11053. summary: 查询产能预售我的出价信息
  11054. tags:
  11055. - 产能预售
  11056. /CPTrade/QueryCPTradeOrderDetail:
  11057. get:
  11058. parameters:
  11059. - description: 预售商品ID
  11060. in: query
  11061. name: goodsid
  11062. type: integer
  11063. - description: 预售市场ID
  11064. in: query
  11065. name: marketid
  11066. type: integer
  11067. - description: 预售商品ID列表 - 格式:1,2,3
  11068. in: query
  11069. name: goodsids
  11070. type: string
  11071. produces:
  11072. - application/json
  11073. responses:
  11074. "200":
  11075. description: OK
  11076. schema:
  11077. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11078. "500":
  11079. description: Internal Server Error
  11080. schema:
  11081. $ref: '#/definitions/app.Response'
  11082. security:
  11083. - ApiKeyAuth: []
  11084. summary: 查询产能预售委托单信息
  11085. tags:
  11086. - 产能预售
  11087. /CPTrade/QueryMyCPTradeGoods:
  11088. get:
  11089. parameters:
  11090. - description: 资金账户
  11091. in: query
  11092. name: accountid
  11093. required: true
  11094. type: integer
  11095. produces:
  11096. - application/json
  11097. responses:
  11098. "200":
  11099. description: OK
  11100. schema:
  11101. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11102. "500":
  11103. description: Internal Server Error
  11104. schema:
  11105. $ref: '#/definitions/app.Response'
  11106. security:
  11107. - ApiKeyAuth: []
  11108. summary: 查询我的预售信息
  11109. tags:
  11110. - 产能预售
  11111. /CPTrade/QueryPositionCancel:
  11112. get:
  11113. parameters:
  11114. - description: 账户ID
  11115. in: query
  11116. name: userid
  11117. required: true
  11118. type: integer
  11119. - description: 注销ID
  11120. in: query
  11121. name: cancelid
  11122. type: integer
  11123. - description: 资金账户ID
  11124. in: query
  11125. name: accountid
  11126. type: integer
  11127. produces:
  11128. - application/json
  11129. responses:
  11130. "200":
  11131. description: OK
  11132. schema:
  11133. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11134. "500":
  11135. description: Internal Server Error
  11136. schema:
  11137. $ref: '#/definitions/app.Response'
  11138. security:
  11139. - ApiKeyAuth: []
  11140. summary: 查询远期订单注销申请信息
  11141. tags:
  11142. - 产能预售
  11143. /CPTrade/QueryPreasleApply:
  11144. get:
  11145. parameters:
  11146. - description: 账户ID
  11147. in: query
  11148. name: userid
  11149. required: true
  11150. type: integer
  11151. - description: 申请ID
  11152. in: query
  11153. name: applyid
  11154. type: integer
  11155. - description: 资金账户ID
  11156. in: query
  11157. name: accountid
  11158. type: integer
  11159. produces:
  11160. - application/json
  11161. responses:
  11162. "200":
  11163. description: OK
  11164. schema:
  11165. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11166. "500":
  11167. description: Internal Server Error
  11168. schema:
  11169. $ref: '#/definitions/app.Response'
  11170. security:
  11171. - ApiKeyAuth: []
  11172. summary: 查询产能预售申请信息
  11173. tags:
  11174. - 产能预售
  11175. /CPTrade/QueryPresaleGoodsEx:
  11176. get:
  11177. parameters:
  11178. - description: 预售商品ID
  11179. in: query
  11180. name: goodsid
  11181. type: integer
  11182. - description: 预售市场ID
  11183. in: query
  11184. name: marketid
  11185. type: integer
  11186. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11187. in: query
  11188. name: presalemode
  11189. type: integer
  11190. - description: 预售商品ID列表 - 格式:1,2,3
  11191. in: query
  11192. name: goodsids
  11193. type: string
  11194. - description: 预售商品代码
  11195. in: query
  11196. name: goodscode
  11197. type: string
  11198. produces:
  11199. - application/json
  11200. responses:
  11201. "200":
  11202. description: OK
  11203. schema:
  11204. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11205. "500":
  11206. description: Internal Server Error
  11207. schema:
  11208. $ref: '#/definitions/app.Response'
  11209. security:
  11210. - ApiKeyAuth: []
  11211. summary: 查询产能预售商品扩展信息
  11212. tags:
  11213. - 产能预售
  11214. /CPTrade/QueryUserGoodsData:
  11215. get:
  11216. parameters:
  11217. - description: 资金账户ID
  11218. in: query
  11219. name: accountid
  11220. required: true
  11221. type: integer
  11222. produces:
  11223. - application/json
  11224. responses:
  11225. "200":
  11226. description: OK
  11227. schema:
  11228. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11229. "500":
  11230. description: Internal Server Error
  11231. schema:
  11232. $ref: '#/definitions/app.Response'
  11233. security:
  11234. - ApiKeyAuth: []
  11235. summary: 查询远期订单信息
  11236. tags:
  11237. - 产能预售
  11238. /Common/GetAllEnums:
  11239. get:
  11240. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11241. parameters:
  11242. - description: 起始自增ID
  11243. in: query
  11244. name: autoid
  11245. type: integer
  11246. produces:
  11247. - application/json
  11248. responses:
  11249. "200":
  11250. description: OK
  11251. schema:
  11252. $ref: '#/definitions/models.Enumdicitem'
  11253. "500":
  11254. description: Internal Server Error
  11255. schema:
  11256. $ref: '#/definitions/app.Response'
  11257. summary: 获取所有枚举信息
  11258. tags:
  11259. - 通用服务
  11260. /Common/GetClientMenus:
  11261. get:
  11262. parameters:
  11263. - description: 登录账号
  11264. in: query
  11265. name: loginID
  11266. required: true
  11267. type: integer
  11268. - description: 终端类型,0:PC 1:Mobile
  11269. in: query
  11270. name: clientType
  11271. type: integer
  11272. produces:
  11273. - application/json
  11274. responses:
  11275. "200":
  11276. description: OK
  11277. schema:
  11278. items:
  11279. $ref: '#/definitions/common.ClientMenu'
  11280. type: array
  11281. "500":
  11282. description: Internal Server Error
  11283. schema:
  11284. $ref: '#/definitions/app.Response'
  11285. security:
  11286. - ApiKeyAuth: []
  11287. summary: 获取交易端菜单
  11288. tags:
  11289. - 通用服务
  11290. /Common/GetDivisions:
  11291. get:
  11292. produces:
  11293. - application/json
  11294. responses:
  11295. "200":
  11296. description: OK
  11297. schema:
  11298. $ref: '#/definitions/models.Division'
  11299. "500":
  11300. description: Internal Server Error
  11301. schema:
  11302. $ref: '#/definitions/app.Response'
  11303. summary: 查询区域信息
  11304. tags:
  11305. - 通用服务
  11306. /Common/GetServerTime:
  11307. get:
  11308. produces:
  11309. - application/json
  11310. responses:
  11311. "200":
  11312. description: OK
  11313. schema:
  11314. $ref: '#/definitions/app.Response'
  11315. "500":
  11316. description: Internal Server Error
  11317. schema:
  11318. $ref: '#/definitions/app.Response'
  11319. summary: 获取服务器时间
  11320. tags:
  11321. - 通用服务
  11322. /Common/NoticeReaded:
  11323. post:
  11324. parameters:
  11325. - description: 登录账号
  11326. in: query
  11327. name: loginID
  11328. required: true
  11329. type: integer
  11330. - description: 通知公告ID
  11331. in: query
  11332. name: noticeID
  11333. required: true
  11334. type: integer
  11335. produces:
  11336. - application/json
  11337. responses:
  11338. "200":
  11339. description: OK
  11340. schema:
  11341. $ref: '#/definitions/app.Response'
  11342. "500":
  11343. description: Internal Server Error
  11344. schema:
  11345. $ref: '#/definitions/app.Response'
  11346. security:
  11347. - ApiKeyAuth: []
  11348. summary: 通知公告设置已读请求
  11349. tags:
  11350. - 通用服务
  11351. /Common/QueryErrorInfos:
  11352. get:
  11353. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11354. parameters:
  11355. - description: 起始行号前索引
  11356. in: query
  11357. name: rowNumber
  11358. type: string
  11359. produces:
  11360. - application/json
  11361. responses:
  11362. "200":
  11363. description: OK
  11364. schema:
  11365. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11366. "500":
  11367. description: Internal Server Error
  11368. schema:
  11369. $ref: '#/definitions/app.Response'
  11370. summary: 获取数据库错误信息
  11371. tags:
  11372. - 通用服务
  11373. /Common/QueryImageConfigs:
  11374. get:
  11375. parameters:
  11376. - description: 类型 - 1:App首页轮播 2:我的
  11377. in: query
  11378. name: imageType
  11379. type: integer
  11380. produces:
  11381. - application/json
  11382. responses:
  11383. "200":
  11384. description: OK
  11385. schema:
  11386. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11387. "500":
  11388. description: Internal Server Error
  11389. schema:
  11390. $ref: '#/definitions/app.Response'
  11391. summary: 查询轮播图配置信息
  11392. tags:
  11393. - 通用服务
  11394. /Common/QueryNotice:
  11395. get:
  11396. parameters:
  11397. - description: 页码
  11398. in: query
  11399. name: page
  11400. type: integer
  11401. - description: 每页条数
  11402. in: query
  11403. name: pagesize
  11404. type: integer
  11405. - description: 登录账号
  11406. in: query
  11407. name: loginID
  11408. required: true
  11409. type: integer
  11410. - description: 消息类型 - 1:公告通知 2:系统消息
  11411. in: query
  11412. name: msgType
  11413. type: integer
  11414. - description: 是否只获取未读信息
  11415. in: query
  11416. name: onlyUnRead
  11417. type: boolean
  11418. - description: 自增ID,传入后会返回这个ID后面的记录
  11419. in: query
  11420. name: lastID
  11421. type: integer
  11422. produces:
  11423. - application/json
  11424. responses:
  11425. "200":
  11426. description: OK
  11427. schema:
  11428. $ref: '#/definitions/common.QueryNoticeRsp'
  11429. "500":
  11430. description: Internal Server Error
  11431. schema:
  11432. $ref: '#/definitions/app.Response'
  11433. security:
  11434. - ApiKeyAuth: []
  11435. summary: 通知公告系统消息查询
  11436. tags:
  11437. - 通用服务
  11438. /Common/QueryProvincesAndCities:
  11439. get:
  11440. parameters:
  11441. - description: 省ID
  11442. in: query
  11443. name: provinceID
  11444. type: integer
  11445. produces:
  11446. - application/json
  11447. responses:
  11448. "200":
  11449. description: OK
  11450. schema:
  11451. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11452. "500":
  11453. description: Internal Server Error
  11454. schema:
  11455. $ref: '#/definitions/app.Response'
  11456. summary: 查询省市信息(不包括区)
  11457. tags:
  11458. - 通用服务
  11459. /Common/QueryTableDefine:
  11460. get:
  11461. parameters:
  11462. - description: 表key
  11463. in: query
  11464. name: tableKey
  11465. type: string
  11466. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11467. in: query
  11468. name: tableType
  11469. type: integer
  11470. produces:
  11471. - application/json
  11472. responses:
  11473. "200":
  11474. description: OK
  11475. schema:
  11476. $ref: '#/definitions/common.QueryTableDefineRsp'
  11477. "500":
  11478. description: Internal Server Error
  11479. schema:
  11480. $ref: '#/definitions/app.Response'
  11481. summary: 查询交易端列表头信息
  11482. tags:
  11483. - 通用服务
  11484. /Common/QueryTraderMenu:
  11485. get:
  11486. parameters:
  11487. - description: 登录账号
  11488. in: query
  11489. name: loginid
  11490. required: true
  11491. type: integer
  11492. produces:
  11493. - application/json
  11494. responses:
  11495. "200":
  11496. description: OK
  11497. schema:
  11498. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11499. "500":
  11500. description: Internal Server Error
  11501. schema:
  11502. $ref: '#/definitions/app.Response'
  11503. summary: 查询交易端菜单
  11504. tags:
  11505. - 通用服务
  11506. /Delivery/QueryDeliveryRelation:
  11507. get:
  11508. parameters:
  11509. - description: 商品ID
  11510. in: query
  11511. name: goodsid
  11512. type: integer
  11513. - description: 品种ID
  11514. in: query
  11515. name: deliverygoodsid
  11516. type: integer
  11517. - description: 市场ID
  11518. in: query
  11519. name: marketid
  11520. type: integer
  11521. produces:
  11522. - application/json
  11523. responses:
  11524. "200":
  11525. description: OK
  11526. schema:
  11527. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11528. "500":
  11529. description: Internal Server Error
  11530. schema:
  11531. $ref: '#/definitions/app.Response'
  11532. security:
  11533. - ApiKeyAuth: []
  11534. summary: 查询商品交割关系表
  11535. tags:
  11536. - 交割服务
  11537. /Ermcp/GetErmcpGoods:
  11538. get:
  11539. parameters:
  11540. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11541. in: query
  11542. name: lastUpdateTime
  11543. type: string
  11544. produces:
  11545. - application/json
  11546. responses:
  11547. "200":
  11548. description: OK
  11549. schema:
  11550. $ref: '#/definitions/models.Goods'
  11551. "500":
  11552. description: Internal Server Error
  11553. schema:
  11554. $ref: '#/definitions/app.Response'
  11555. security:
  11556. - ApiKeyAuth: []
  11557. summary: 查询企业风管期货商品信息
  11558. tags:
  11559. - 企业风险管理(app)
  11560. /Ermcp/GetErmcpGoodsSortByPosition:
  11561. get:
  11562. parameters:
  11563. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11564. in: query
  11565. name: sortIndex
  11566. type: string
  11567. produces:
  11568. - application/json
  11569. responses:
  11570. "200":
  11571. description: OK
  11572. schema:
  11573. $ref: '#/definitions/models.Goodssortbypreposition'
  11574. "500":
  11575. description: Internal Server Error
  11576. schema:
  11577. $ref: '#/definitions/app.Response'
  11578. security:
  11579. - ApiKeyAuth: []
  11580. summary: 查询企业风管期货主力、次主力商品信息
  11581. tags:
  11582. - 企业风险管理(app)
  11583. /Ermcp/GetErmcpRoleFuncMenuLists:
  11584. get:
  11585. parameters:
  11586. - description: 登录账号
  11587. in: query
  11588. name: loginID
  11589. required: true
  11590. type: integer
  11591. produces:
  11592. - application/json
  11593. responses:
  11594. "200":
  11595. description: OK
  11596. schema:
  11597. $ref: '#/definitions/models.Funcmenulist'
  11598. "500":
  11599. description: Internal Server Error
  11600. schema:
  11601. $ref: '#/definitions/app.Response'
  11602. security:
  11603. - ApiKeyAuth: []
  11604. summary: 获取企业风管终端权限
  11605. tags:
  11606. - 企业风险管理(app)
  11607. /Ermcp/QryReportAreaSpotPL:
  11608. get:
  11609. parameters:
  11610. - description: 用户ID
  11611. in: query
  11612. name: userid
  11613. required: true
  11614. type: integer
  11615. - description: 查询类型 1-日报表 2-月报表
  11616. in: query
  11617. name: querytype
  11618. required: true
  11619. type: integer
  11620. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11621. in: query
  11622. name: querydate
  11623. required: true
  11624. type: string
  11625. - description: 现货商品ID
  11626. in: query
  11627. name: wrstandardid
  11628. type: integer
  11629. - description: 品牌ID
  11630. in: query
  11631. name: spotgoodsbrandid
  11632. type: integer
  11633. - description: 型号ID
  11634. in: query
  11635. name: spotgoodsmodelid
  11636. type: integer
  11637. produces:
  11638. - application/json
  11639. responses:
  11640. "200":
  11641. description: OK
  11642. schema:
  11643. items:
  11644. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  11645. type: array
  11646. "500":
  11647. description: Internal Server Error
  11648. schema:
  11649. $ref: '#/definitions/app.Response'
  11650. security:
  11651. - ApiKeyAuth: []
  11652. summary: 查询现货损益报表(现货损益报表)
  11653. tags:
  11654. - 企业风险管理(app)
  11655. /Ermcp/QryReportDayExposure:
  11656. get:
  11657. parameters:
  11658. - description: 用户ID
  11659. in: query
  11660. name: userid
  11661. required: true
  11662. type: integer
  11663. - description: 交易日(格式:yyyyMMdd)
  11664. in: query
  11665. name: tradedate
  11666. required: true
  11667. type: string
  11668. produces:
  11669. - application/json
  11670. responses:
  11671. "200":
  11672. description: OK
  11673. schema:
  11674. items:
  11675. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  11676. type: array
  11677. "500":
  11678. description: Internal Server Error
  11679. schema:
  11680. $ref: '#/definitions/app.Response'
  11681. security:
  11682. - ApiKeyAuth: []
  11683. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  11684. tags:
  11685. - 企业风险管理(app)
  11686. /Ermcp/QryReportDayFinance:
  11687. get:
  11688. parameters:
  11689. - description: 用户ID
  11690. in: query
  11691. name: userid
  11692. required: true
  11693. type: integer
  11694. - description: 交易日(格式:yyyyMMdd)
  11695. in: query
  11696. name: tradedate
  11697. required: true
  11698. type: string
  11699. produces:
  11700. - application/json
  11701. responses:
  11702. "200":
  11703. description: OK
  11704. schema:
  11705. items:
  11706. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  11707. type: array
  11708. "500":
  11709. description: Internal Server Error
  11710. schema:
  11711. $ref: '#/definitions/app.Response'
  11712. security:
  11713. - ApiKeyAuth: []
  11714. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  11715. tags:
  11716. - 企业风险管理(app)
  11717. /Ermcp/QryReportDayFinanceFp:
  11718. get:
  11719. parameters:
  11720. - description: 用户ID
  11721. in: query
  11722. name: userid
  11723. required: true
  11724. type: integer
  11725. - description: 交易日(格式:yyyyMMdd)
  11726. in: query
  11727. name: tradedate
  11728. required: true
  11729. type: string
  11730. produces:
  11731. - application/json
  11732. responses:
  11733. "200":
  11734. description: OK
  11735. schema:
  11736. items:
  11737. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11738. type: array
  11739. "500":
  11740. description: Internal Server Error
  11741. schema:
  11742. $ref: '#/definitions/app.Response'
  11743. security:
  11744. - ApiKeyAuth: []
  11745. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  11746. tags:
  11747. - 企业风险管理(app)
  11748. /Ermcp/QryReportDayFinanceKx:
  11749. get:
  11750. parameters:
  11751. - description: 用户ID
  11752. in: query
  11753. name: userid
  11754. required: true
  11755. type: integer
  11756. - description: 交易日(格式:yyyyMMdd)
  11757. in: query
  11758. name: tradedate
  11759. required: true
  11760. type: string
  11761. produces:
  11762. - application/json
  11763. responses:
  11764. "200":
  11765. description: OK
  11766. schema:
  11767. items:
  11768. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11769. type: array
  11770. "500":
  11771. description: Internal Server Error
  11772. schema:
  11773. $ref: '#/definitions/app.Response'
  11774. security:
  11775. - ApiKeyAuth: []
  11776. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  11777. tags:
  11778. - 企业风险管理(app)
  11779. /Ermcp/QryReportDaySpot:
  11780. get:
  11781. parameters:
  11782. - description: 用户ID
  11783. in: query
  11784. name: userid
  11785. required: true
  11786. type: integer
  11787. - description: 交易日(格式:yyyyMMdd)
  11788. in: query
  11789. name: tradedate
  11790. required: true
  11791. type: string
  11792. produces:
  11793. - application/json
  11794. responses:
  11795. "200":
  11796. description: OK
  11797. schema:
  11798. items:
  11799. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  11800. type: array
  11801. "500":
  11802. description: Internal Server Error
  11803. schema:
  11804. $ref: '#/definitions/app.Response'
  11805. security:
  11806. - ApiKeyAuth: []
  11807. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  11808. tags:
  11809. - 企业风险管理(app)
  11810. /Ermcp/QryReportDaySpotDetail:
  11811. get:
  11812. parameters:
  11813. - description: 用户ID
  11814. in: query
  11815. name: userid
  11816. required: true
  11817. type: integer
  11818. - description: 现货商品id
  11819. in: query
  11820. name: wrstandardid
  11821. required: true
  11822. type: integer
  11823. - description: 交易日(格式:yyyyMMdd)
  11824. in: query
  11825. name: tradedate
  11826. required: true
  11827. type: string
  11828. produces:
  11829. - application/json
  11830. responses:
  11831. "200":
  11832. description: OK
  11833. schema:
  11834. items:
  11835. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  11836. type: array
  11837. "500":
  11838. description: Internal Server Error
  11839. schema:
  11840. $ref: '#/definitions/app.Response'
  11841. security:
  11842. - ApiKeyAuth: []
  11843. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  11844. tags:
  11845. - 企业风险管理(app)
  11846. /Ermcp/QryReportMonthFinance:
  11847. get:
  11848. parameters:
  11849. - description: 用户ID
  11850. in: query
  11851. name: userid
  11852. required: true
  11853. type: integer
  11854. - description: 周期时间:月(格式:yyyyMM)
  11855. in: query
  11856. name: cycletime
  11857. required: true
  11858. type: string
  11859. produces:
  11860. - application/json
  11861. responses:
  11862. "200":
  11863. description: OK
  11864. schema:
  11865. items:
  11866. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  11867. type: array
  11868. "500":
  11869. description: Internal Server Error
  11870. schema:
  11871. $ref: '#/definitions/app.Response'
  11872. security:
  11873. - ApiKeyAuth: []
  11874. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  11875. tags:
  11876. - 企业风险管理(app)
  11877. /Ermcp/QryReportMonthSpot:
  11878. get:
  11879. parameters:
  11880. - description: 用户ID
  11881. in: query
  11882. name: userid
  11883. required: true
  11884. type: integer
  11885. - description: 周期时间:月(格式:yyyyMM)
  11886. in: query
  11887. name: cycletime
  11888. required: true
  11889. type: string
  11890. produces:
  11891. - application/json
  11892. responses:
  11893. "200":
  11894. description: OK
  11895. schema:
  11896. items:
  11897. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  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/QryReportMonthSpotDetail:
  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: wrstandardid
  11919. required: true
  11920. type: integer
  11921. - description: 周期时间:月(格式:yyyyMM)
  11922. in: query
  11923. name: cycletime
  11924. required: true
  11925. type: string
  11926. produces:
  11927. - application/json
  11928. responses:
  11929. "200":
  11930. description: OK
  11931. schema:
  11932. items:
  11933. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  11934. type: array
  11935. "500":
  11936. description: Internal Server Error
  11937. schema:
  11938. $ref: '#/definitions/app.Response'
  11939. security:
  11940. - ApiKeyAuth: []
  11941. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  11942. tags:
  11943. - 企业风险管理(app)
  11944. /Ermcp/QueryAccMgrBizGroupSet:
  11945. get:
  11946. parameters:
  11947. - description: 用户ID
  11948. in: query
  11949. name: userid
  11950. required: true
  11951. type: integer
  11952. produces:
  11953. - application/json
  11954. responses:
  11955. "200":
  11956. description: OK
  11957. schema:
  11958. items:
  11959. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11960. type: array
  11961. "500":
  11962. description: Internal Server Error
  11963. schema:
  11964. $ref: '#/definitions/app.Response'
  11965. security:
  11966. - ApiKeyAuth: []
  11967. summary: 查询业务类型分组(账户管理/账户设置)
  11968. tags:
  11969. - 企业风险管理(app)
  11970. /Ermcp/QueryAccMgrLoginUser:
  11971. get:
  11972. parameters:
  11973. - description: 用户ID
  11974. in: query
  11975. name: userid
  11976. required: true
  11977. type: integer
  11978. produces:
  11979. - application/json
  11980. responses:
  11981. "200":
  11982. description: OK
  11983. schema:
  11984. items:
  11985. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11986. type: array
  11987. "500":
  11988. description: Internal Server Error
  11989. schema:
  11990. $ref: '#/definitions/app.Response'
  11991. security:
  11992. - ApiKeyAuth: []
  11993. summary: 查询账户管理登录账号(账户管理/登录账号)
  11994. tags:
  11995. - 企业风险管理(app)
  11996. /Ermcp/QueryAccMgrMainAccountInfo:
  11997. get:
  11998. parameters:
  11999. - description: 用户ID
  12000. in: query
  12001. name: userid
  12002. type: integer
  12003. - description: 主账号id
  12004. in: query
  12005. name: accountid
  12006. type: integer
  12007. produces:
  12008. - application/json
  12009. responses:
  12010. "200":
  12011. description: OK
  12012. schema:
  12013. items:
  12014. $ref: '#/definitions/models.MainAccountInfo'
  12015. type: array
  12016. "500":
  12017. description: Internal Server Error
  12018. schema:
  12019. $ref: '#/definitions/app.Response'
  12020. security:
  12021. - ApiKeyAuth: []
  12022. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12023. tags:
  12024. - 企业风险管理(app)
  12025. /Ermcp/QueryAccMgrRole:
  12026. get:
  12027. parameters:
  12028. - description: 用户ID
  12029. in: query
  12030. name: userid
  12031. required: true
  12032. type: integer
  12033. produces:
  12034. - application/json
  12035. responses:
  12036. "200":
  12037. description: OK
  12038. schema:
  12039. items:
  12040. $ref: '#/definitions/models.ErmcpRole'
  12041. type: array
  12042. "500":
  12043. description: Internal Server Error
  12044. schema:
  12045. $ref: '#/definitions/app.Response'
  12046. security:
  12047. - ApiKeyAuth: []
  12048. summary: 查询账户管理角色设置(账户管理/角色设置)
  12049. tags:
  12050. - 企业风险管理(app)
  12051. /Ermcp/QueryAccMgrRoleMenu:
  12052. get:
  12053. parameters:
  12054. - description: 用户ID
  12055. in: query
  12056. name: userid
  12057. required: true
  12058. type: integer
  12059. - description: 角色id(可多个,逗号隔开)
  12060. in: query
  12061. name: roleid
  12062. type: string
  12063. produces:
  12064. - application/json
  12065. responses:
  12066. "200":
  12067. description: OK
  12068. schema:
  12069. items:
  12070. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12071. type: array
  12072. "500":
  12073. description: Internal Server Error
  12074. schema:
  12075. $ref: '#/definitions/app.Response'
  12076. security:
  12077. - ApiKeyAuth: []
  12078. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12079. tags:
  12080. - 企业风险管理(app)
  12081. /Ermcp/QueryAccMgrTaAccountInfo:
  12082. get:
  12083. parameters:
  12084. - description: 用户ID
  12085. in: query
  12086. name: userid
  12087. required: true
  12088. type: integer
  12089. - description: 账号id
  12090. in: query
  12091. name: accountid
  12092. type: integer
  12093. produces:
  12094. - application/json
  12095. responses:
  12096. "200":
  12097. description: OK
  12098. schema:
  12099. items:
  12100. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12101. type: array
  12102. "500":
  12103. description: Internal Server Error
  12104. schema:
  12105. $ref: '#/definitions/app.Response'
  12106. security:
  12107. - ApiKeyAuth: []
  12108. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12109. tags:
  12110. - 企业风险管理(app)
  12111. /Ermcp/QueryAccMgrTaaccount:
  12112. get:
  12113. parameters:
  12114. - description: 用户ID
  12115. in: query
  12116. name: userid
  12117. required: true
  12118. type: integer
  12119. produces:
  12120. - application/json
  12121. responses:
  12122. "200":
  12123. description: OK
  12124. schema:
  12125. items:
  12126. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12127. type: array
  12128. "500":
  12129. description: Internal Server Error
  12130. schema:
  12131. $ref: '#/definitions/app.Response'
  12132. security:
  12133. - ApiKeyAuth: []
  12134. summary: 查询账户管理期货账号(账户管理/期货账号)
  12135. tags:
  12136. - 企业风险管理(app)
  12137. /Ermcp/QueryAreaStock:
  12138. get:
  12139. parameters:
  12140. - description: 用户ID
  12141. in: query
  12142. name: userid
  12143. required: true
  12144. type: integer
  12145. produces:
  12146. - application/json
  12147. responses:
  12148. "200":
  12149. description: OK
  12150. schema:
  12151. items:
  12152. $ref: '#/definitions/models.ErmcpAreaStock'
  12153. type: array
  12154. "500":
  12155. description: Internal Server Error
  12156. schema:
  12157. $ref: '#/definitions/app.Response'
  12158. security:
  12159. - ApiKeyAuth: []
  12160. summary: 查询机构库存(库存管理/当前库存)
  12161. tags:
  12162. - 企业风险管理(app)
  12163. /Ermcp/QueryAreaStockApply:
  12164. get:
  12165. parameters:
  12166. - description: 用户ID
  12167. in: query
  12168. name: userid
  12169. required: true
  12170. type: integer
  12171. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  12172. in: query
  12173. name: inouttype
  12174. type: string
  12175. - description: 合同ID
  12176. in: query
  12177. name: spotcontractid
  12178. type: integer
  12179. - description: 现货商品ID
  12180. in: query
  12181. name: wrstandardid
  12182. type: integer
  12183. - description: 品牌ID
  12184. in: query
  12185. name: spotgoodsbrandid
  12186. type: integer
  12187. - description: 型号ID
  12188. in: query
  12189. name: spotgoodsmodelid
  12190. type: integer
  12191. - description: 仓库ID
  12192. in: query
  12193. name: warehouseinfoid
  12194. type: integer
  12195. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12196. in: query
  12197. name: applystatus
  12198. type: string
  12199. produces:
  12200. - application/json
  12201. responses:
  12202. "200":
  12203. description: OK
  12204. schema:
  12205. items:
  12206. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  12207. type: array
  12208. "500":
  12209. description: Internal Server Error
  12210. schema:
  12211. $ref: '#/definitions/app.Response'
  12212. security:
  12213. - ApiKeyAuth: []
  12214. summary: 查询库存申请(出入库记录|库存审核)
  12215. tags:
  12216. - 企业风险管理(app)
  12217. /Ermcp/QueryAreaStockApplySum:
  12218. get:
  12219. parameters:
  12220. - description: 合同ID
  12221. in: query
  12222. name: spotcontractid
  12223. type: integer
  12224. produces:
  12225. - application/json
  12226. responses:
  12227. "200":
  12228. description: OK
  12229. schema:
  12230. items:
  12231. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  12232. type: array
  12233. "500":
  12234. description: Internal Server Error
  12235. schema:
  12236. $ref: '#/definitions/app.Response'
  12237. security:
  12238. - ApiKeyAuth: []
  12239. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  12240. tags:
  12241. - 企业风险管理(app)
  12242. /Ermcp/QueryAreaStockReport:
  12243. get:
  12244. parameters:
  12245. - description: 用户ID
  12246. in: query
  12247. name: userid
  12248. required: true
  12249. type: integer
  12250. - description: 查询类型 1-日报表 2-月报表
  12251. in: query
  12252. name: querytype
  12253. required: true
  12254. type: integer
  12255. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12256. in: query
  12257. name: querydate
  12258. required: true
  12259. type: string
  12260. - description: 现货商品ID
  12261. in: query
  12262. name: wrstandardid
  12263. type: integer
  12264. - description: 品牌ID
  12265. in: query
  12266. name: spotgoodsbrandid
  12267. type: integer
  12268. - description: 型号ID
  12269. in: query
  12270. name: spotgoodsmodelid
  12271. type: integer
  12272. - description: 仓库ID
  12273. in: query
  12274. name: warehouseinfoid
  12275. type: integer
  12276. produces:
  12277. - application/json
  12278. responses:
  12279. "200":
  12280. description: OK
  12281. schema:
  12282. items:
  12283. $ref: '#/definitions/models.ErmcpAreaStockReport'
  12284. type: array
  12285. "500":
  12286. description: Internal Server Error
  12287. schema:
  12288. $ref: '#/definitions/app.Response'
  12289. security:
  12290. - ApiKeyAuth: []
  12291. summary: 查询库存报表
  12292. tags:
  12293. - 企业风险管理(app)
  12294. /Ermcp/QueryAreaStockReportDetail:
  12295. get:
  12296. parameters:
  12297. - description: 用户ID
  12298. in: query
  12299. name: userid
  12300. required: true
  12301. type: integer
  12302. - description: 查询类型 1-日报表明细 2-月报表明细
  12303. in: query
  12304. name: querytype
  12305. required: true
  12306. type: integer
  12307. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  12308. in: query
  12309. name: detailtype
  12310. required: true
  12311. type: integer
  12312. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12313. in: query
  12314. name: querydate
  12315. required: true
  12316. type: string
  12317. - description: 现货商品ID
  12318. in: query
  12319. name: wrstandardid
  12320. type: integer
  12321. - description: 品牌ID
  12322. in: query
  12323. name: spotgoodsbrandid
  12324. type: integer
  12325. - description: 型号ID
  12326. in: query
  12327. name: spotgoodsmodelid
  12328. type: integer
  12329. - description: 仓库ID
  12330. in: query
  12331. name: warehouseinfoid
  12332. type: integer
  12333. produces:
  12334. - application/json
  12335. responses:
  12336. "200":
  12337. description: OK
  12338. schema:
  12339. items:
  12340. $ref: '#/definitions/models.ErmcpAreaStockApply'
  12341. type: array
  12342. "500":
  12343. description: Internal Server Error
  12344. schema:
  12345. $ref: '#/definitions/app.Response'
  12346. security:
  12347. - ApiKeyAuth: []
  12348. summary: 查询库存报表明细
  12349. tags:
  12350. - 企业风险管理(app)
  12351. /Ermcp/QueryAvaildGoodsGroup:
  12352. get:
  12353. parameters:
  12354. - description: 所属机构ID
  12355. in: query
  12356. name: userid
  12357. required: true
  12358. type: integer
  12359. produces:
  12360. - application/json
  12361. responses:
  12362. "200":
  12363. description: OK
  12364. schema:
  12365. items:
  12366. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12367. type: array
  12368. "500":
  12369. description: Internal Server Error
  12370. schema:
  12371. $ref: '#/definitions/app.Response'
  12372. security:
  12373. - ApiKeyAuth: []
  12374. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12375. tags:
  12376. - 企业风险管理(app)
  12377. /Ermcp/QueryBusinessDj:
  12378. get:
  12379. parameters:
  12380. - description: 用户ID
  12381. in: query
  12382. name: UserId
  12383. required: true
  12384. type: integer
  12385. - description: 现货合同ID, 不填则查所有
  12386. in: query
  12387. name: relatedid
  12388. type: string
  12389. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12390. in: query
  12391. name: applystatus
  12392. type: string
  12393. produces:
  12394. - application/json
  12395. responses:
  12396. "200":
  12397. description: OK
  12398. schema:
  12399. items:
  12400. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12401. type: array
  12402. "500":
  12403. description: Internal Server Error
  12404. schema:
  12405. $ref: '#/definitions/app.Response'
  12406. security:
  12407. - ApiKeyAuth: []
  12408. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12409. tags:
  12410. - 企业风险管理(app)
  12411. /Ermcp/QueryBusinessFp:
  12412. get:
  12413. parameters:
  12414. - description: 用户ID
  12415. in: query
  12416. name: UserId
  12417. required: true
  12418. type: integer
  12419. - description: 现货合同ID, 不填则查所有
  12420. in: query
  12421. name: relatedid
  12422. type: string
  12423. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12424. in: query
  12425. name: applystatus
  12426. type: string
  12427. produces:
  12428. - application/json
  12429. responses:
  12430. "200":
  12431. description: OK
  12432. schema:
  12433. items:
  12434. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12435. type: array
  12436. "500":
  12437. description: Internal Server Error
  12438. schema:
  12439. $ref: '#/definitions/app.Response'
  12440. security:
  12441. - ApiKeyAuth: []
  12442. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12443. tags:
  12444. - 企业风险管理(app)
  12445. /Ermcp/QueryBusinessJs:
  12446. get:
  12447. parameters:
  12448. - description: 用户ID
  12449. in: query
  12450. name: UserId
  12451. required: true
  12452. type: integer
  12453. - description: 现货合同ID, 不填则查所有
  12454. in: query
  12455. name: relatedid
  12456. type: string
  12457. - description: 操作申请id
  12458. in: query
  12459. name: operateapplyid
  12460. type: string
  12461. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12462. in: query
  12463. name: applystatus
  12464. type: string
  12465. produces:
  12466. - application/json
  12467. responses:
  12468. "200":
  12469. description: OK
  12470. schema:
  12471. items:
  12472. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12473. type: array
  12474. "500":
  12475. description: Internal Server Error
  12476. schema:
  12477. $ref: '#/definitions/app.Response'
  12478. security:
  12479. - ApiKeyAuth: []
  12480. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12481. tags:
  12482. - 企业风险管理(app)
  12483. /Ermcp/QueryBusinessJsEx:
  12484. get:
  12485. parameters:
  12486. - description: 用户ID
  12487. in: query
  12488. name: UserId
  12489. required: true
  12490. type: integer
  12491. - description: 现货合同ID, 不填则查所有
  12492. in: query
  12493. name: relatedid
  12494. type: string
  12495. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12496. in: query
  12497. name: applystatus
  12498. type: string
  12499. produces:
  12500. - application/json
  12501. responses:
  12502. "200":
  12503. description: OK
  12504. schema:
  12505. items:
  12506. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12507. type: array
  12508. "500":
  12509. description: Internal Server Error
  12510. schema:
  12511. $ref: '#/definitions/app.Response'
  12512. security:
  12513. - ApiKeyAuth: []
  12514. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12515. tags:
  12516. - 企业风险管理(app)
  12517. /Ermcp/QueryBusinessKx:
  12518. get:
  12519. parameters:
  12520. - description: 用户ID
  12521. in: query
  12522. name: UserId
  12523. required: true
  12524. type: integer
  12525. - description: 现货合同ID, 不填则查所有
  12526. in: query
  12527. name: relatedid
  12528. type: string
  12529. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12530. in: query
  12531. name: applystatus
  12532. type: string
  12533. produces:
  12534. - application/json
  12535. responses:
  12536. "200":
  12537. description: OK
  12538. schema:
  12539. items:
  12540. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12541. type: array
  12542. "500":
  12543. description: Internal Server Error
  12544. schema:
  12545. $ref: '#/definitions/app.Response'
  12546. security:
  12547. - ApiKeyAuth: []
  12548. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12549. tags:
  12550. - 企业风险管理(app)
  12551. /Ermcp/QueryChangeLog:
  12552. get:
  12553. parameters:
  12554. - description: 合同ID
  12555. in: query
  12556. name: RelatedId
  12557. required: true
  12558. type: string
  12559. produces:
  12560. - application/json
  12561. responses:
  12562. "200":
  12563. description: OK
  12564. schema:
  12565. items:
  12566. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12567. type: array
  12568. "500":
  12569. description: Internal Server Error
  12570. schema:
  12571. $ref: '#/definitions/app.Response'
  12572. security:
  12573. - ApiKeyAuth: []
  12574. summary: 查询变更记录
  12575. tags:
  12576. - 企业风险管理(app)
  12577. /Ermcp/QueryContract:
  12578. get:
  12579. parameters:
  12580. - description: 用户ID
  12581. in: query
  12582. name: userId
  12583. required: true
  12584. type: integer
  12585. - description: 合同类型 1-采购, -1-销售
  12586. in: query
  12587. name: contracttype
  12588. required: true
  12589. type: integer
  12590. - description: 查询类型 1-全部 2-待点价 3-履约结算
  12591. in: query
  12592. name: querytype
  12593. required: true
  12594. type: integer
  12595. - description: 合同ID(SpotContractId)
  12596. in: query
  12597. name: contractid
  12598. type: string
  12599. produces:
  12600. - application/json
  12601. responses:
  12602. "200":
  12603. description: OK
  12604. schema:
  12605. items:
  12606. $ref: '#/definitions/ermcp.QryErmcpRsp'
  12607. type: array
  12608. "500":
  12609. description: Internal Server Error
  12610. schema:
  12611. $ref: '#/definitions/app.Response'
  12612. security:
  12613. - ApiKeyAuth: []
  12614. summary: 查询合同(采购和销售)
  12615. tags:
  12616. - 企业风险管理(app)
  12617. /Ermcp/QueryErmcpHisOrderDetails:
  12618. get:
  12619. parameters:
  12620. - description: 资金账户ID
  12621. in: query
  12622. name: accountID
  12623. required: true
  12624. type: integer
  12625. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12626. in: query
  12627. name: startDate
  12628. type: string
  12629. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12630. in: query
  12631. name: endDate
  12632. type: string
  12633. produces:
  12634. - application/json
  12635. responses:
  12636. "200":
  12637. description: OK
  12638. schema:
  12639. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12640. "500":
  12641. description: Internal Server Error
  12642. schema:
  12643. $ref: '#/definitions/app.Response'
  12644. security:
  12645. - ApiKeyAuth: []
  12646. summary: 获取企业风管期货历史委托单信息
  12647. tags:
  12648. - 企业风险管理(app)
  12649. /Ermcp/QueryErmcpHisTradeDetails:
  12650. get:
  12651. parameters:
  12652. - description: 资金账户ID
  12653. in: query
  12654. name: accountID
  12655. required: true
  12656. type: integer
  12657. - description: 商品ID
  12658. in: query
  12659. name: goodsID
  12660. type: integer
  12661. - description: 买卖方向,0:买 1:卖
  12662. in: query
  12663. name: buyOrSell
  12664. type: integer
  12665. - description: 关联委托单号
  12666. in: query
  12667. name: orderID
  12668. type: integer
  12669. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12670. in: query
  12671. name: startDate
  12672. type: string
  12673. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12674. in: query
  12675. name: endDate
  12676. type: string
  12677. produces:
  12678. - application/json
  12679. responses:
  12680. "200":
  12681. description: OK
  12682. schema:
  12683. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12684. "500":
  12685. description: Internal Server Error
  12686. schema:
  12687. $ref: '#/definitions/app.Response'
  12688. security:
  12689. - ApiKeyAuth: []
  12690. summary: 获取企业风管期货历史成交单信息
  12691. tags:
  12692. - 企业风险管理(app)
  12693. /Ermcp/QueryErmcpInnerHolderDetails:
  12694. get:
  12695. parameters:
  12696. - description: 资金账户ID
  12697. in: query
  12698. name: accountID
  12699. required: true
  12700. type: integer
  12701. - description: 商品ID
  12702. in: query
  12703. name: goodsID
  12704. type: integer
  12705. - description: 买卖方向,0:买 1:卖
  12706. in: query
  12707. name: buyOrSell
  12708. type: integer
  12709. produces:
  12710. - application/json
  12711. responses:
  12712. "200":
  12713. description: OK
  12714. schema:
  12715. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12716. "500":
  12717. description: Internal Server Error
  12718. schema:
  12719. $ref: '#/definitions/app.Response'
  12720. security:
  12721. - ApiKeyAuth: []
  12722. summary: 获取企业风管期货内部持仓单信息
  12723. tags:
  12724. - 企业风险管理(app)
  12725. /Ermcp/QueryErmcpOrderDetails:
  12726. get:
  12727. parameters:
  12728. - description: 资金账户ID
  12729. in: query
  12730. name: accountID
  12731. required: true
  12732. type: integer
  12733. produces:
  12734. - application/json
  12735. responses:
  12736. "200":
  12737. description: OK
  12738. schema:
  12739. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12740. "500":
  12741. description: Internal Server Error
  12742. schema:
  12743. $ref: '#/definitions/app.Response'
  12744. security:
  12745. - ApiKeyAuth: []
  12746. summary: 获取企业风管期货委托单信息
  12747. tags:
  12748. - 企业风险管理(app)
  12749. /Ermcp/QueryErmcpTradeDetails:
  12750. get:
  12751. parameters:
  12752. - description: 资金账户ID
  12753. in: query
  12754. name: accountID
  12755. required: true
  12756. type: integer
  12757. - description: 商品ID
  12758. in: query
  12759. name: goodsID
  12760. type: integer
  12761. - description: 买卖方向,0:买 1:卖
  12762. in: query
  12763. name: buyOrSell
  12764. type: integer
  12765. - description: 关联委托单号
  12766. in: query
  12767. name: orderID
  12768. type: integer
  12769. produces:
  12770. - application/json
  12771. responses:
  12772. "200":
  12773. description: OK
  12774. schema:
  12775. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  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/QueryErmcpTradePosition:
  12786. get:
  12787. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12788. parameters:
  12789. - description: 资金账户ID
  12790. in: query
  12791. name: accountID
  12792. required: true
  12793. type: integer
  12794. - description: 所属市场ID
  12795. in: query
  12796. name: marketID
  12797. type: integer
  12798. produces:
  12799. - application/json
  12800. responses:
  12801. "200":
  12802. description: OK
  12803. schema:
  12804. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12805. "500":
  12806. description: Internal Server Error
  12807. schema:
  12808. $ref: '#/definitions/app.Response'
  12809. security:
  12810. - ApiKeyAuth: []
  12811. summary: 获取企业风管期货持仓头寸信息
  12812. tags:
  12813. - 企业风险管理(app)
  12814. /Ermcp/QueryExposureDetail:
  12815. get:
  12816. parameters:
  12817. - description: 所属机构ID
  12818. in: query
  12819. name: areaUserId
  12820. required: true
  12821. type: integer
  12822. - description: 套保商品
  12823. in: query
  12824. name: middleGoodsId
  12825. required: true
  12826. type: integer
  12827. produces:
  12828. - application/json
  12829. responses:
  12830. "200":
  12831. description: OK
  12832. schema:
  12833. items:
  12834. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12835. type: array
  12836. "500":
  12837. description: Internal Server Error
  12838. schema:
  12839. $ref: '#/definitions/app.Response'
  12840. security:
  12841. - ApiKeyAuth: []
  12842. summary: 查询敞口现货明细
  12843. tags:
  12844. - 企业风险管理(app)
  12845. /Ermcp/QueryExposureHedgePosition:
  12846. get:
  12847. parameters:
  12848. - description: 所属机构ID
  12849. in: query
  12850. name: areaUserId
  12851. required: true
  12852. type: integer
  12853. produces:
  12854. - application/json
  12855. responses:
  12856. "200":
  12857. description: OK
  12858. schema:
  12859. items:
  12860. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12861. type: array
  12862. "500":
  12863. description: Internal Server Error
  12864. schema:
  12865. $ref: '#/definitions/app.Response'
  12866. security:
  12867. - ApiKeyAuth: []
  12868. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12869. tags:
  12870. - 企业风险管理(app)
  12871. /Ermcp/QueryExposureHedgePositionDetail:
  12872. get:
  12873. parameters:
  12874. - description: 所属机构ID
  12875. in: query
  12876. name: areaUserId
  12877. required: true
  12878. type: integer
  12879. - description: 商品id
  12880. in: query
  12881. name: goodsId
  12882. required: true
  12883. type: integer
  12884. produces:
  12885. - application/json
  12886. responses:
  12887. "200":
  12888. description: OK
  12889. schema:
  12890. items:
  12891. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12892. type: array
  12893. "500":
  12894. description: Internal Server Error
  12895. schema:
  12896. $ref: '#/definitions/app.Response'
  12897. security:
  12898. - ApiKeyAuth: []
  12899. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12900. tags:
  12901. - 企业风险管理(app)
  12902. /Ermcp/QueryExposureSpot:
  12903. get:
  12904. parameters:
  12905. - description: 所属机构ID
  12906. in: query
  12907. name: areaUserId
  12908. required: true
  12909. type: integer
  12910. produces:
  12911. - application/json
  12912. responses:
  12913. "200":
  12914. description: OK
  12915. schema:
  12916. items:
  12917. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12918. type: array
  12919. "500":
  12920. description: Internal Server Error
  12921. schema:
  12922. $ref: '#/definitions/app.Response'
  12923. security:
  12924. - ApiKeyAuth: []
  12925. summary: 查询敞口现货头寸(敞口/现货头寸)
  12926. tags:
  12927. - 企业风险管理(app)
  12928. /Ermcp/QueryExposureSpotDetail:
  12929. get:
  12930. parameters:
  12931. - description: 所属机构ID
  12932. in: query
  12933. name: areaUserId
  12934. required: true
  12935. type: integer
  12936. - description: 现货品种ID
  12937. in: query
  12938. name: wrstandardId
  12939. required: true
  12940. type: integer
  12941. produces:
  12942. - application/json
  12943. responses:
  12944. "200":
  12945. description: OK
  12946. schema:
  12947. items:
  12948. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12949. type: array
  12950. "500":
  12951. description: Internal Server Error
  12952. schema:
  12953. $ref: '#/definitions/app.Response'
  12954. security:
  12955. - ApiKeyAuth: []
  12956. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12957. tags:
  12958. - 企业风险管理(app)
  12959. /Ermcp/QueryFuturesCompany:
  12960. get:
  12961. produces:
  12962. - application/json
  12963. responses:
  12964. "200":
  12965. description: OK
  12966. schema:
  12967. items:
  12968. $ref: '#/definitions/models.ErmcpFuturesCompany'
  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/QueryGGConvertConfig:
  12980. get:
  12981. parameters:
  12982. - description: 品种id(不填则查所有)
  12983. in: query
  12984. name: goodsgroupid
  12985. type: integer
  12986. produces:
  12987. - application/json
  12988. responses:
  12989. "200":
  12990. description: OK
  12991. schema:
  12992. items:
  12993. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12994. type: array
  12995. "500":
  12996. description: Internal Server Error
  12997. schema:
  12998. $ref: '#/definitions/app.Response'
  12999. security:
  13000. - ApiKeyAuth: []
  13001. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13002. tags:
  13003. - 企业风险管理(app)
  13004. /Ermcp/QueryGoodsBrand:
  13005. get:
  13006. parameters:
  13007. - description: 用户ID
  13008. in: query
  13009. name: userid
  13010. required: true
  13011. type: integer
  13012. - description: 现货商品ID
  13013. in: query
  13014. name: wrstandardid
  13015. type: integer
  13016. produces:
  13017. - application/json
  13018. responses:
  13019. "200":
  13020. description: OK
  13021. schema:
  13022. items:
  13023. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13024. type: array
  13025. "500":
  13026. description: Internal Server Error
  13027. schema:
  13028. $ref: '#/definitions/app.Response'
  13029. security:
  13030. - ApiKeyAuth: []
  13031. summary: 查询商品品牌
  13032. tags:
  13033. - 企业风险管理(app)
  13034. /Ermcp/QueryGoodsModel:
  13035. get:
  13036. parameters:
  13037. - description: 用户ID
  13038. in: query
  13039. name: userid
  13040. required: true
  13041. type: integer
  13042. produces:
  13043. - application/json
  13044. responses:
  13045. "200":
  13046. description: OK
  13047. schema:
  13048. items:
  13049. $ref: '#/definitions/models.ErmcpGoodsModel'
  13050. type: array
  13051. "500":
  13052. description: Internal Server Error
  13053. schema:
  13054. $ref: '#/definitions/app.Response'
  13055. security:
  13056. - ApiKeyAuth: []
  13057. summary: 查询商品型号
  13058. tags:
  13059. - 企业风险管理(app)
  13060. /Ermcp/QueryHedgePlan:
  13061. get:
  13062. parameters:
  13063. - description: 用户ID
  13064. in: query
  13065. name: userId
  13066. required: true
  13067. type: integer
  13068. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13069. in: query
  13070. name: HedgePlanStatus
  13071. required: true
  13072. type: string
  13073. produces:
  13074. - application/json
  13075. responses:
  13076. "200":
  13077. description: OK
  13078. schema:
  13079. items:
  13080. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  13081. type: array
  13082. "500":
  13083. description: Internal Server Error
  13084. schema:
  13085. $ref: '#/definitions/app.Response'
  13086. security:
  13087. - ApiKeyAuth: []
  13088. summary: 查询套保计划
  13089. tags:
  13090. - 企业风险管理(app)
  13091. /Ermcp/QueryHisExposure:
  13092. get:
  13093. parameters:
  13094. - description: 所属机构ID
  13095. in: query
  13096. name: areaUserId
  13097. required: true
  13098. type: integer
  13099. - description: 每个品种记录数
  13100. in: query
  13101. name: lastNum
  13102. required: true
  13103. type: integer
  13104. produces:
  13105. - application/json
  13106. responses:
  13107. "200":
  13108. description: OK
  13109. schema:
  13110. items:
  13111. $ref: '#/definitions/ermcp.HisExposureRsp'
  13112. type: array
  13113. "500":
  13114. description: Internal Server Error
  13115. schema:
  13116. $ref: '#/definitions/app.Response'
  13117. security:
  13118. - ApiKeyAuth: []
  13119. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13120. tags:
  13121. - 企业风险管理(app)
  13122. /Ermcp/QueryMiddleGoods:
  13123. get:
  13124. parameters:
  13125. - description: 所属机构ID
  13126. in: query
  13127. name: userid
  13128. required: true
  13129. type: integer
  13130. - description: 状态 0-停用 1-正常
  13131. in: query
  13132. name: status
  13133. required: true
  13134. type: integer
  13135. produces:
  13136. - application/json
  13137. responses:
  13138. "200":
  13139. description: OK
  13140. schema:
  13141. items:
  13142. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13143. type: array
  13144. "500":
  13145. description: Internal Server Error
  13146. schema:
  13147. $ref: '#/definitions/app.Response'
  13148. security:
  13149. - ApiKeyAuth: []
  13150. summary: 查询套保品种(菜单:套保品种)
  13151. tags:
  13152. - 企业风险管理(app)
  13153. /Ermcp/QueryMiddleGoodsChangeLog:
  13154. get:
  13155. parameters:
  13156. - description: 所属机构ID
  13157. in: query
  13158. name: userid
  13159. required: true
  13160. type: integer
  13161. - description: 套保品种id
  13162. in: query
  13163. name: middlegoodsid
  13164. required: true
  13165. type: integer
  13166. produces:
  13167. - application/json
  13168. responses:
  13169. "200":
  13170. description: OK
  13171. schema:
  13172. items:
  13173. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13174. type: array
  13175. "500":
  13176. description: Internal Server Error
  13177. schema:
  13178. $ref: '#/definitions/app.Response'
  13179. security:
  13180. - ApiKeyAuth: []
  13181. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13182. tags:
  13183. - 企业风险管理(app)
  13184. /Ermcp/QueryMiddleGoodsDetail:
  13185. get:
  13186. parameters:
  13187. - description: 所属机构ID
  13188. in: query
  13189. name: userid
  13190. required: true
  13191. type: integer
  13192. - description: 套保品种id
  13193. in: query
  13194. name: middlegoodsid
  13195. type: integer
  13196. produces:
  13197. - application/json
  13198. responses:
  13199. "200":
  13200. description: OK
  13201. schema:
  13202. items:
  13203. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13204. type: array
  13205. "500":
  13206. description: Internal Server Error
  13207. schema:
  13208. $ref: '#/definitions/app.Response'
  13209. security:
  13210. - ApiKeyAuth: []
  13211. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13212. tags:
  13213. - 企业风险管理(app)
  13214. /Ermcp/QueryPendingAuditInfo:
  13215. get:
  13216. parameters:
  13217. - description: 用户ID
  13218. in: query
  13219. name: UserId
  13220. required: true
  13221. type: integer
  13222. produces:
  13223. - application/json
  13224. responses:
  13225. "200":
  13226. description: OK
  13227. schema:
  13228. items:
  13229. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13230. type: array
  13231. "500":
  13232. description: Internal Server Error
  13233. schema:
  13234. $ref: '#/definitions/app.Response'
  13235. security:
  13236. - ApiKeyAuth: []
  13237. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13238. tags:
  13239. - 企业风险管理(app)
  13240. /Ermcp/QueryRealtimeExposure:
  13241. get:
  13242. parameters:
  13243. - description: 所属机构ID
  13244. in: query
  13245. name: AreaUserID
  13246. required: true
  13247. type: integer
  13248. produces:
  13249. - application/json
  13250. responses:
  13251. "200":
  13252. description: OK
  13253. schema:
  13254. items:
  13255. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13256. type: array
  13257. "500":
  13258. description: Internal Server Error
  13259. schema:
  13260. $ref: '#/definitions/app.Response'
  13261. security:
  13262. - ApiKeyAuth: []
  13263. summary: 查询实时敞口
  13264. tags:
  13265. - 企业风险管理(app)
  13266. /Ermcp/QueryRealtimeExposurePosition:
  13267. get:
  13268. parameters:
  13269. - description: 所属机构ID
  13270. in: query
  13271. name: areaUserId
  13272. required: true
  13273. type: integer
  13274. - description: 套保商品ID
  13275. in: query
  13276. name: middleGoodsId
  13277. required: true
  13278. type: integer
  13279. produces:
  13280. - application/json
  13281. responses:
  13282. "200":
  13283. description: OK
  13284. schema:
  13285. items:
  13286. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13287. type: array
  13288. "500":
  13289. description: Internal Server Error
  13290. schema:
  13291. $ref: '#/definitions/app.Response'
  13292. security:
  13293. - ApiKeyAuth: []
  13294. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13295. tags:
  13296. - 企业风险管理(app)
  13297. /Ermcp/QuerySpotContract:
  13298. get:
  13299. parameters:
  13300. - description: 用户ID
  13301. in: query
  13302. name: userId
  13303. required: true
  13304. type: integer
  13305. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  13306. in: query
  13307. name: QueryType
  13308. required: true
  13309. type: integer
  13310. produces:
  13311. - application/json
  13312. responses:
  13313. "200":
  13314. description: OK
  13315. schema:
  13316. items:
  13317. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  13318. type: array
  13319. "500":
  13320. description: Internal Server Error
  13321. schema:
  13322. $ref: '#/definitions/app.Response'
  13323. security:
  13324. - ApiKeyAuth: []
  13325. summary: 查询现货合同(对应现货合同菜单)
  13326. tags:
  13327. - 企业风险管理(app)
  13328. /Ermcp/QuerySpotGoodsPrice:
  13329. get:
  13330. parameters:
  13331. - description: 用户ID
  13332. in: query
  13333. name: userid
  13334. required: true
  13335. type: integer
  13336. produces:
  13337. - application/json
  13338. responses:
  13339. "200":
  13340. description: OK
  13341. schema:
  13342. items:
  13343. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  13344. type: array
  13345. "500":
  13346. description: Internal Server Error
  13347. schema:
  13348. $ref: '#/definitions/app.Response'
  13349. security:
  13350. - ApiKeyAuth: []
  13351. summary: 查询现货市价(现货市价)
  13352. tags:
  13353. - 企业风险管理(app)
  13354. /Ermcp/QuerySpotGoodsPriceLog:
  13355. get:
  13356. parameters:
  13357. - description: 用户ID
  13358. in: query
  13359. name: userid
  13360. required: true
  13361. type: integer
  13362. - description: 现货商品ID
  13363. in: query
  13364. name: wrstandardid
  13365. required: true
  13366. type: integer
  13367. produces:
  13368. - application/json
  13369. responses:
  13370. "200":
  13371. description: OK
  13372. schema:
  13373. items:
  13374. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  13375. type: array
  13376. "500":
  13377. description: Internal Server Error
  13378. schema:
  13379. $ref: '#/definitions/app.Response'
  13380. security:
  13381. - ApiKeyAuth: []
  13382. summary: 查询现货市价详情(现货市价/详情)
  13383. tags:
  13384. - 企业风险管理(app)
  13385. /Ermcp/QueryTradeConfigTMP:
  13386. get:
  13387. parameters:
  13388. - description: 所属机构id
  13389. in: query
  13390. name: areauserid
  13391. required: true
  13392. type: integer
  13393. produces:
  13394. - application/json
  13395. responses:
  13396. "200":
  13397. description: OK
  13398. schema:
  13399. items:
  13400. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13401. type: array
  13402. "500":
  13403. description: Internal Server Error
  13404. schema:
  13405. $ref: '#/definitions/app.Response'
  13406. security:
  13407. - ApiKeyAuth: []
  13408. summary: 查询交易模板配置
  13409. tags:
  13410. - 企业风险管理(app)
  13411. /Ermcp/QueryUserInfo:
  13412. get:
  13413. parameters:
  13414. - description: 所属机构用户ID
  13415. in: query
  13416. name: MemberUserID
  13417. required: true
  13418. type: integer
  13419. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13420. in: query
  13421. name: queryType
  13422. required: true
  13423. type: integer
  13424. produces:
  13425. - application/json
  13426. responses:
  13427. "200":
  13428. description: OK
  13429. schema:
  13430. items:
  13431. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13432. type: array
  13433. "500":
  13434. description: Internal Server Error
  13435. schema:
  13436. $ref: '#/definitions/app.Response'
  13437. security:
  13438. - ApiKeyAuth: []
  13439. summary: 查询客户资料
  13440. tags:
  13441. - 企业风险管理(app)
  13442. /Ermcp/QueryWarehouseInfo:
  13443. get:
  13444. parameters:
  13445. - description: 用户ID
  13446. in: query
  13447. name: userid
  13448. required: true
  13449. type: integer
  13450. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13451. in: query
  13452. name: status
  13453. type: string
  13454. produces:
  13455. - application/json
  13456. responses:
  13457. "200":
  13458. description: OK
  13459. schema:
  13460. items:
  13461. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13462. type: array
  13463. "500":
  13464. description: Internal Server Error
  13465. schema:
  13466. $ref: '#/definitions/app.Response'
  13467. security:
  13468. - ApiKeyAuth: []
  13469. summary: 查询仓库信息
  13470. tags:
  13471. - 企业风险管理(app)
  13472. /Ermcp/QueryWrStandard:
  13473. get:
  13474. parameters:
  13475. - description: 所属机构ID
  13476. in: query
  13477. name: userid
  13478. required: true
  13479. type: integer
  13480. - description: 状态 0-停用 1-正常
  13481. in: query
  13482. name: status
  13483. required: true
  13484. type: integer
  13485. produces:
  13486. - application/json
  13487. responses:
  13488. "200":
  13489. description: OK
  13490. schema:
  13491. items:
  13492. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  13493. type: array
  13494. "500":
  13495. description: Internal Server Error
  13496. schema:
  13497. $ref: '#/definitions/app.Response'
  13498. security:
  13499. - ApiKeyAuth: []
  13500. summary: 查询现货商品
  13501. tags:
  13502. - 企业风险管理(app)
  13503. /Ermcp/QueryWrStandardDetail:
  13504. get:
  13505. parameters:
  13506. - description: 所属机构ID
  13507. in: query
  13508. name: userid
  13509. required: true
  13510. type: integer
  13511. - description: 现货商品ID
  13512. in: query
  13513. name: wrstandardid
  13514. type: integer
  13515. - description: 可不填, 1-查询关联交易商品
  13516. in: query
  13517. name: goods
  13518. type: integer
  13519. produces:
  13520. - application/json
  13521. responses:
  13522. "200":
  13523. description: OK
  13524. schema:
  13525. items:
  13526. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  13527. type: array
  13528. "500":
  13529. description: Internal Server Error
  13530. schema:
  13531. $ref: '#/definitions/app.Response'
  13532. security:
  13533. - ApiKeyAuth: []
  13534. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  13535. tags:
  13536. - 企业风险管理(app)
  13537. /Ermcp3/QueryDeliveryGoods:
  13538. get:
  13539. parameters:
  13540. - description: 所属机构id
  13541. in: query
  13542. name: areauserid
  13543. required: true
  13544. type: integer
  13545. - description: 排除已配置的现货商品 1-排除
  13546. in: query
  13547. name: excludecfg
  13548. type: integer
  13549. produces:
  13550. - application/json
  13551. responses:
  13552. "200":
  13553. description: OK
  13554. schema:
  13555. items:
  13556. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13557. type: array
  13558. "500":
  13559. description: Internal Server Error
  13560. schema:
  13561. $ref: '#/definitions/app.Response'
  13562. security:
  13563. - ApiKeyAuth: []
  13564. summary: 查询现货商品
  13565. tags:
  13566. - 企业风险管理v3(app)
  13567. /Ermcp3/QueryDeliveryGoodsDetail:
  13568. get:
  13569. parameters:
  13570. - description: 所属机构id
  13571. in: query
  13572. name: areauserid
  13573. required: true
  13574. type: integer
  13575. - description: 现货商品id
  13576. in: query
  13577. name: deliverygoodsid
  13578. type: integer
  13579. - description: 是否查询关联交易商品 1-查询
  13580. in: query
  13581. name: qrytradegoods
  13582. type: integer
  13583. produces:
  13584. - application/json
  13585. responses:
  13586. "200":
  13587. description: OK
  13588. schema:
  13589. items:
  13590. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  13591. type: array
  13592. "500":
  13593. description: Internal Server Error
  13594. schema:
  13595. $ref: '#/definitions/app.Response'
  13596. security:
  13597. - ApiKeyAuth: []
  13598. summary: 查询现货商品详情
  13599. tags:
  13600. - 企业风险管理v3(app)
  13601. /Ermcp3/QuerySpotContract:
  13602. get:
  13603. parameters:
  13604. - description: 所属机构ID
  13605. in: query
  13606. name: areauserid
  13607. required: true
  13608. type: integer
  13609. - description: 合同类型 1-采购, -1-销售
  13610. in: query
  13611. name: contracttype
  13612. required: true
  13613. type: integer
  13614. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13615. in: query
  13616. name: querytype
  13617. required: true
  13618. type: integer
  13619. - description: 用户ID
  13620. in: query
  13621. name: userid
  13622. type: integer
  13623. - description: 用户类型 2-机构 7-企业成员
  13624. in: query
  13625. name: usertype
  13626. type: integer
  13627. - description: 合同ID(SpotContractId)
  13628. in: query
  13629. name: contractid
  13630. type: string
  13631. produces:
  13632. - application/json
  13633. responses:
  13634. "200":
  13635. description: OK
  13636. schema:
  13637. items:
  13638. $ref: '#/definitions/models.Ermcp3Contract'
  13639. type: array
  13640. "500":
  13641. description: Internal Server Error
  13642. schema:
  13643. $ref: '#/definitions/app.Response'
  13644. security:
  13645. - ApiKeyAuth: []
  13646. summary: 查询现货合同
  13647. tags:
  13648. - 企业风险管理v3(app)
  13649. /Ermcp3/QuerySpotContractBS:
  13650. get:
  13651. parameters:
  13652. - description: 所属机构ID
  13653. in: query
  13654. name: areauserid
  13655. required: true
  13656. type: integer
  13657. - description: 合同类型 1-采购, -1-销售
  13658. in: query
  13659. name: contracttype
  13660. required: true
  13661. type: integer
  13662. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  13663. in: query
  13664. name: querytype
  13665. required: true
  13666. type: integer
  13667. - description: 用户ID
  13668. in: query
  13669. name: userid
  13670. type: integer
  13671. - description: 用户类型 2-机构 7-企业成员
  13672. in: query
  13673. name: usertype
  13674. type: integer
  13675. - description: 合同ID(SpotContractId)
  13676. in: query
  13677. name: contractid
  13678. type: string
  13679. produces:
  13680. - application/json
  13681. responses:
  13682. "200":
  13683. description: OK
  13684. schema:
  13685. items:
  13686. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  13687. type: array
  13688. "500":
  13689. description: Internal Server Error
  13690. schema:
  13691. $ref: '#/definitions/app.Response'
  13692. security:
  13693. - ApiKeyAuth: []
  13694. summary: 查询合同(采购/销售)
  13695. tags:
  13696. - 企业风险管理v3(app)
  13697. /Erms2/QueryArbitrageStrategy:
  13698. get:
  13699. parameters:
  13700. - description: 账户ID
  13701. in: query
  13702. name: userid
  13703. required: true
  13704. type: integer
  13705. - description: 商品组ID(品种ID)
  13706. in: query
  13707. name: goodsgroupid
  13708. type: string
  13709. produces:
  13710. - application/json
  13711. responses:
  13712. "200":
  13713. description: OK
  13714. schema:
  13715. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13716. "500":
  13717. description: Internal Server Error
  13718. schema:
  13719. $ref: '#/definitions/app.Response'
  13720. security:
  13721. - ApiKeyAuth: []
  13722. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13723. tags:
  13724. - 风险管理
  13725. /Erms2/QueryInnerTradeDetail:
  13726. get:
  13727. parameters:
  13728. - description: 资金账户
  13729. in: query
  13730. name: accountid
  13731. required: true
  13732. type: integer
  13733. produces:
  13734. - application/json
  13735. responses:
  13736. "200":
  13737. description: OK
  13738. schema:
  13739. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13740. "500":
  13741. description: Internal Server Error
  13742. schema:
  13743. $ref: '#/definitions/app.Response'
  13744. security:
  13745. - ApiKeyAuth: []
  13746. summary: 查询内部成交单信息
  13747. tags:
  13748. - 风险管理
  13749. /Erms2/QuerySpotContract:
  13750. get:
  13751. parameters:
  13752. - description: 策略申请ID
  13753. in: query
  13754. name: asapplyid
  13755. required: true
  13756. type: integer
  13757. - description: 现货合同ID
  13758. in: query
  13759. name: spotcontractid
  13760. type: integer
  13761. produces:
  13762. - application/json
  13763. responses:
  13764. "200":
  13765. description: OK
  13766. schema:
  13767. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13768. "500":
  13769. description: Internal Server Error
  13770. schema:
  13771. $ref: '#/definitions/app.Response'
  13772. security:
  13773. - ApiKeyAuth: []
  13774. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13775. tags:
  13776. - 风险管理
  13777. /Erms3/AddErms2ASApply:
  13778. post:
  13779. parameters:
  13780. - description: 申请参数
  13781. in: body
  13782. name: jsonBody
  13783. required: true
  13784. schema:
  13785. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13786. produces:
  13787. - application/json
  13788. responses:
  13789. "200":
  13790. description: OK
  13791. schema:
  13792. $ref: '#/definitions/app.Response'
  13793. "500":
  13794. description: Internal Server Error
  13795. schema:
  13796. $ref: '#/definitions/app.Response'
  13797. security:
  13798. - ApiKeyAuth: []
  13799. summary: 新增期现套利业务申请
  13800. tags:
  13801. - 风险管理v3
  13802. /Erms3/AddErms2SpotTradeApply:
  13803. post:
  13804. parameters:
  13805. - description: 申请参数
  13806. in: body
  13807. name: jsonBody
  13808. required: true
  13809. schema:
  13810. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13811. produces:
  13812. - application/json
  13813. responses:
  13814. "200":
  13815. description: OK
  13816. schema:
  13817. $ref: '#/definitions/app.Response'
  13818. "500":
  13819. description: Internal Server Error
  13820. schema:
  13821. $ref: '#/definitions/app.Response'
  13822. security:
  13823. - ApiKeyAuth: []
  13824. summary: 新增现货贸易业务申请
  13825. tags:
  13826. - 风险管理v3
  13827. /Erms3/AddSpotContractApply:
  13828. post:
  13829. parameters:
  13830. - description: 申请参数
  13831. in: body
  13832. name: jsonBody
  13833. required: true
  13834. schema:
  13835. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13836. produces:
  13837. - application/json
  13838. responses:
  13839. "200":
  13840. description: OK
  13841. schema:
  13842. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13843. "500":
  13844. description: Internal Server Error
  13845. schema:
  13846. $ref: '#/definitions/app.Response'
  13847. security:
  13848. - ApiKeyAuth: []
  13849. summary: 新增现货合同申请
  13850. tags:
  13851. - 风险管理v3
  13852. /Erms3/AddUserInfoApply:
  13853. post:
  13854. parameters:
  13855. - description: 用户信息
  13856. in: body
  13857. name: jsonBody
  13858. required: true
  13859. schema:
  13860. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13861. produces:
  13862. - application/json
  13863. responses:
  13864. "200":
  13865. description: OK
  13866. schema:
  13867. $ref: '#/definitions/app.Response'
  13868. "500":
  13869. description: Internal Server Error
  13870. schema:
  13871. $ref: '#/definitions/app.Response'
  13872. security:
  13873. - ApiKeyAuth: []
  13874. summary: 新增客户申请
  13875. tags:
  13876. - 风险管理v3
  13877. /Erms3/ModifyUserInfoApply:
  13878. post:
  13879. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13880. int, "userstate": 2 }'
  13881. parameters:
  13882. - description: 用户信息
  13883. in: body
  13884. name: jsonBody
  13885. required: true
  13886. schema:
  13887. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13888. produces:
  13889. - application/json
  13890. responses:
  13891. "200":
  13892. description: OK
  13893. schema:
  13894. $ref: '#/definitions/app.Response'
  13895. "500":
  13896. description: Internal Server Error
  13897. schema:
  13898. $ref: '#/definitions/app.Response'
  13899. security:
  13900. - ApiKeyAuth: []
  13901. summary: 修改客户申请
  13902. tags:
  13903. - 风险管理v3
  13904. /Erms3/QueryBusinessInfo:
  13905. get:
  13906. parameters:
  13907. - description: 资金账号ID列表,用逗号分隔
  13908. in: query
  13909. name: accountids
  13910. required: true
  13911. type: string
  13912. - description: 状态,0为未结束 1为已结束
  13913. in: query
  13914. name: status
  13915. required: true
  13916. type: integer
  13917. produces:
  13918. - application/json
  13919. responses:
  13920. "200":
  13921. description: OK
  13922. schema:
  13923. items:
  13924. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13925. type: array
  13926. "500":
  13927. description: Internal Server Error
  13928. schema:
  13929. $ref: '#/definitions/app.Response'
  13930. security:
  13931. - ApiKeyAuth: []
  13932. summary: 查询业务表单数据
  13933. tags:
  13934. - 风险管理v3
  13935. /Erms3/QueryPendingAuditContract:
  13936. get:
  13937. parameters:
  13938. - description: 资金账号ID列表,逗号隔开
  13939. in: query
  13940. name: accountids
  13941. required: true
  13942. type: string
  13943. - description: 合同类型 1-采购 -1-销售
  13944. in: query
  13945. name: contracttype
  13946. required: true
  13947. type: integer
  13948. - description: 合同模式 1-普通 2-回购
  13949. in: query
  13950. name: contractmode
  13951. required: true
  13952. type: integer
  13953. produces:
  13954. - application/json
  13955. responses:
  13956. "200":
  13957. description: OK
  13958. schema:
  13959. items:
  13960. $ref: '#/definitions/erms3.QryAuditContractRsp'
  13961. type: array
  13962. "500":
  13963. description: Internal Server Error
  13964. schema:
  13965. $ref: '#/definitions/app.Response'
  13966. security:
  13967. - ApiKeyAuth: []
  13968. summary: 查询待审核合同
  13969. tags:
  13970. - 风险管理v3
  13971. /Erms3/QueryPendingBusiness:
  13972. get:
  13973. parameters:
  13974. - description: 资金账号ID列表,逗号隔开
  13975. in: query
  13976. name: accountids
  13977. required: true
  13978. type: string
  13979. produces:
  13980. - application/json
  13981. responses:
  13982. "200":
  13983. description: OK
  13984. schema:
  13985. items:
  13986. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13987. type: array
  13988. "500":
  13989. description: Internal Server Error
  13990. schema:
  13991. $ref: '#/definitions/app.Response'
  13992. security:
  13993. - ApiKeyAuth: []
  13994. summary: 查询待审核基差贸易业务
  13995. tags:
  13996. - 风险管理v3
  13997. /Erms3/QuerySpotContractAppleForm:
  13998. get:
  13999. parameters:
  14000. - description: 登录账号
  14001. in: query
  14002. name: loginID
  14003. required: true
  14004. type: integer
  14005. produces:
  14006. - application/json
  14007. responses:
  14008. "200":
  14009. description: OK
  14010. schema:
  14011. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14012. "500":
  14013. description: Internal Server Error
  14014. schema:
  14015. $ref: '#/definitions/app.Response'
  14016. security:
  14017. - ApiKeyAuth: []
  14018. summary: 查询合同申请表单数据
  14019. tags:
  14020. - 风险管理v3
  14021. /Erms3/QuerySpotContractDetail:
  14022. get:
  14023. parameters:
  14024. - description: 资金账号ID列表,用逗号分隔
  14025. in: query
  14026. name: accountids
  14027. required: true
  14028. type: string
  14029. - description: 合同类型,1为采购合同 -1为销售合同
  14030. in: query
  14031. name: contracttype
  14032. required: true
  14033. type: integer
  14034. - description: 合同模式,1为普通合同 2为回购销售合同
  14035. in: query
  14036. name: contractmode
  14037. required: true
  14038. type: integer
  14039. - description: 状态,0为履约中 1为已完成
  14040. in: query
  14041. name: status
  14042. required: true
  14043. type: integer
  14044. produces:
  14045. - application/json
  14046. responses:
  14047. "200":
  14048. description: OK
  14049. schema:
  14050. items:
  14051. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14052. type: array
  14053. "500":
  14054. description: Internal Server Error
  14055. schema:
  14056. $ref: '#/definitions/app.Response'
  14057. security:
  14058. - ApiKeyAuth: []
  14059. summary: 查询合同详细信息
  14060. tags:
  14061. - 风险管理v3
  14062. /Erms3/QueryUserInfoApplies:
  14063. get:
  14064. parameters:
  14065. - description: 页码
  14066. in: query
  14067. name: page
  14068. type: integer
  14069. - description: 每页条数
  14070. in: query
  14071. name: pagesize
  14072. type: integer
  14073. - description: 客户名称,支持模糊查询
  14074. in: query
  14075. name: userName
  14076. type: string
  14077. produces:
  14078. - application/json
  14079. responses:
  14080. "200":
  14081. description: OK
  14082. schema:
  14083. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14084. "500":
  14085. description: Internal Server Error
  14086. schema:
  14087. $ref: '#/definitions/app.Response'
  14088. security:
  14089. - ApiKeyAuth: []
  14090. summary: 客户申请信息查询
  14091. tags:
  14092. - 风险管理v3
  14093. /Erms3/QueryUserInfos:
  14094. get:
  14095. parameters:
  14096. - description: 页码
  14097. in: query
  14098. name: page
  14099. type: integer
  14100. - description: 每页条数
  14101. in: query
  14102. name: pagesize
  14103. type: integer
  14104. - description: 客户名称,支持模糊查询
  14105. in: query
  14106. name: userName
  14107. type: string
  14108. produces:
  14109. - application/json
  14110. responses:
  14111. "200":
  14112. description: OK
  14113. schema:
  14114. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14115. "500":
  14116. description: Internal Server Error
  14117. schema:
  14118. $ref: '#/definitions/app.Response'
  14119. security:
  14120. - ApiKeyAuth: []
  14121. summary: 客户信息查询
  14122. tags:
  14123. - 风险管理v3
  14124. /HSBY/GetHsbyMyCount:
  14125. get:
  14126. description: 说明: 不包括已完成的数量。
  14127. parameters:
  14128. - description: 资金账户列表,格式:1,2,3
  14129. in: query
  14130. name: accountIDs
  14131. required: true
  14132. type: string
  14133. produces:
  14134. - application/json
  14135. responses:
  14136. "200":
  14137. description: OK
  14138. schema:
  14139. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14140. "500":
  14141. description: Internal Server Error
  14142. schema:
  14143. $ref: '#/definitions/app.Response'
  14144. security:
  14145. - ApiKeyAuth: []
  14146. summary: 获取我的订单与包裹数量
  14147. tags:
  14148. - 定制【海商报业】
  14149. /HSBY/QueryClientFixedADConfigs:
  14150. get:
  14151. produces:
  14152. - application/json
  14153. responses:
  14154. "200":
  14155. description: OK
  14156. schema:
  14157. $ref: '#/definitions/models.Clientfixedadconfig'
  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/QueryHsbyBuyMyTradeDetail:
  14168. get:
  14169. parameters:
  14170. - description: 页码
  14171. in: query
  14172. name: page
  14173. type: integer
  14174. - description: 每页条数
  14175. in: query
  14176. name: pagesize
  14177. type: integer
  14178. - description: 资金账户列表,格式:1,2,3
  14179. in: query
  14180. name: accountIDs
  14181. required: true
  14182. type: string
  14183. produces:
  14184. - application/json
  14185. responses:
  14186. "200":
  14187. description: OK
  14188. schema:
  14189. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14190. "500":
  14191. description: Internal Server Error
  14192. schema:
  14193. $ref: '#/definitions/app.Response'
  14194. security:
  14195. - ApiKeyAuth: []
  14196. summary: 查询"我的订单 - 已完成"单据信息
  14197. tags:
  14198. - 定制【海商报业】
  14199. /HSBY/QueryHsbyGoodsOrderDetails:
  14200. get:
  14201. description: 说明:查询结果已按委托价格和委托时间排序
  14202. parameters:
  14203. - description: 商品ID
  14204. in: query
  14205. name: goodsID
  14206. required: true
  14207. type: integer
  14208. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14209. in: query
  14210. name: accountIDs
  14211. type: string
  14212. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14213. in: query
  14214. name: buyOrSell
  14215. type: integer
  14216. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14217. in: query
  14218. name: price
  14219. type: number
  14220. - description: 档位,不传则默认为3档
  14221. in: query
  14222. name: speed
  14223. type: integer
  14224. produces:
  14225. - application/json
  14226. responses:
  14227. "200":
  14228. description: OK
  14229. schema:
  14230. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14231. "500":
  14232. description: Internal Server Error
  14233. schema:
  14234. $ref: '#/definitions/app.Response'
  14235. security:
  14236. - ApiKeyAuth: []
  14237. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  14238. tags:
  14239. - 定制【海商报业】
  14240. /HSBY/QueryHsbyListingGoodsDetail:
  14241. get:
  14242. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  14243. parameters:
  14244. - description: 商品ID
  14245. in: query
  14246. name: goodsID
  14247. required: true
  14248. type: integer
  14249. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  14250. in: query
  14251. name: accountID
  14252. type: integer
  14253. produces:
  14254. - application/json
  14255. responses:
  14256. "200":
  14257. description: OK
  14258. schema:
  14259. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  14260. "500":
  14261. description: Internal Server Error
  14262. schema:
  14263. $ref: '#/definitions/app.Response'
  14264. security:
  14265. - ApiKeyAuth: []
  14266. summary: 查询二级市场(挂牌点选)商品信息详情
  14267. tags:
  14268. - 定制【海商报业】
  14269. /HSBY/QueryHsbyMarketGoodsDetail:
  14270. get:
  14271. parameters:
  14272. - description: 委托单号
  14273. in: query
  14274. name: orderID
  14275. required: true
  14276. type: integer
  14277. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  14278. in: query
  14279. name: accountID
  14280. type: integer
  14281. produces:
  14282. - application/json
  14283. responses:
  14284. "200":
  14285. description: OK
  14286. schema:
  14287. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14288. "500":
  14289. description: Internal Server Error
  14290. schema:
  14291. $ref: '#/definitions/app.Response'
  14292. security:
  14293. - ApiKeyAuth: []
  14294. summary: 查询三级市场(商城)商品信息详情
  14295. tags:
  14296. - 定制【海商报业】
  14297. /HSBY/QueryHsbyMarketGoodses:
  14298. get:
  14299. parameters:
  14300. - description: 页码
  14301. in: query
  14302. name: page
  14303. type: integer
  14304. - description: 每页条数
  14305. in: query
  14306. name: pagesize
  14307. type: integer
  14308. - description: 市场ID列表,格式:1,2,3
  14309. in: query
  14310. name: marketIDs
  14311. required: true
  14312. type: string
  14313. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  14314. in: query
  14315. name: accountID
  14316. required: true
  14317. type: integer
  14318. - description: 类别ID
  14319. in: query
  14320. name: categoryID
  14321. type: integer
  14322. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14323. in: query
  14324. name: goodsIDs
  14325. type: string
  14326. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  14327. in: query
  14328. name: couponTypeID
  14329. type: integer
  14330. produces:
  14331. - application/json
  14332. responses:
  14333. "200":
  14334. description: OK
  14335. schema:
  14336. $ref: '#/definitions/models.HsbyMarketGoods'
  14337. "500":
  14338. description: Internal Server Error
  14339. schema:
  14340. $ref: '#/definitions/app.Response'
  14341. security:
  14342. - ApiKeyAuth: []
  14343. summary: 查询特卖商品列表(三级商城)
  14344. tags:
  14345. - 定制【海商报业】
  14346. /HSBY/QueryHsbyMarkets:
  14347. get:
  14348. produces:
  14349. - application/json
  14350. responses:
  14351. "200":
  14352. description: OK
  14353. schema:
  14354. $ref: '#/definitions/models.HsbyMarketInfo'
  14355. "500":
  14356. description: Internal Server Error
  14357. schema:
  14358. $ref: '#/definitions/app.Response'
  14359. security:
  14360. - ApiKeyAuth: []
  14361. summary: 查询海商报业相关市场信息
  14362. tags:
  14363. - 定制【海商报业】
  14364. /HSBY/QueryHsbyMyBuyOrderDetails:
  14365. get:
  14366. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  14367. parameters:
  14368. - description: 资金账户列表,格式:1,2,3
  14369. in: query
  14370. name: accountIDs
  14371. required: true
  14372. type: string
  14373. produces:
  14374. - application/json
  14375. responses:
  14376. "200":
  14377. description: OK
  14378. schema:
  14379. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  14380. "500":
  14381. description: Internal Server Error
  14382. schema:
  14383. $ref: '#/definitions/app.Response'
  14384. security:
  14385. - ApiKeyAuth: []
  14386. summary: 查询“我的订单”信息
  14387. tags:
  14388. - 定制【海商报业】
  14389. /HSBY/QueryHsbyMyGoods:
  14390. get:
  14391. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  14392. parameters:
  14393. - description: 资金账户列表,格式:1,2,3
  14394. in: query
  14395. name: accountIDs
  14396. required: true
  14397. type: string
  14398. produces:
  14399. - application/json
  14400. responses:
  14401. "200":
  14402. description: OK
  14403. schema:
  14404. $ref: '#/definitions/models.HsbyMyGoods'
  14405. "500":
  14406. description: Internal Server Error
  14407. schema:
  14408. $ref: '#/definitions/app.Response'
  14409. security:
  14410. - ApiKeyAuth: []
  14411. summary: 查询“我的商品”信息
  14412. tags:
  14413. - 定制【海商报业】
  14414. /HSBY/QueryHsbyMyPackages:
  14415. get:
  14416. parameters:
  14417. - description: 资金账户列表,格式:1,2,3
  14418. in: query
  14419. name: accountIDs
  14420. required: true
  14421. type: string
  14422. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14423. in: query
  14424. name: takeOrderStatus
  14425. type: integer
  14426. produces:
  14427. - application/json
  14428. responses:
  14429. "200":
  14430. description: OK
  14431. schema:
  14432. $ref: '#/definitions/models.HsbyMyPackage'
  14433. "500":
  14434. description: Internal Server Error
  14435. schema:
  14436. $ref: '#/definitions/app.Response'
  14437. security:
  14438. - ApiKeyAuth: []
  14439. summary: 查询我的包裹信息
  14440. tags:
  14441. - 定制【海商报业】
  14442. /HSBY/QueryHsbyPreGoodsDetail:
  14443. get:
  14444. parameters:
  14445. - description: 商品ID
  14446. in: query
  14447. name: goodsID
  14448. required: true
  14449. type: integer
  14450. - description: 资金账户,主要用于获取预售商品购买上限
  14451. in: query
  14452. name: accountID
  14453. type: integer
  14454. produces:
  14455. - application/json
  14456. responses:
  14457. "200":
  14458. description: OK
  14459. schema:
  14460. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14461. "500":
  14462. description: Internal Server Error
  14463. schema:
  14464. $ref: '#/definitions/app.Response'
  14465. security:
  14466. - ApiKeyAuth: []
  14467. summary: 查询一级市场(预售)商品信息详情
  14468. tags:
  14469. - 定制【海商报业】
  14470. /HSBY/QueryHsbyPreGoodses:
  14471. get:
  14472. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14473. parameters:
  14474. - description: 页码
  14475. in: query
  14476. name: page
  14477. type: integer
  14478. - description: 每页条数
  14479. in: query
  14480. name: pagesize
  14481. type: integer
  14482. - description: 市场ID列表,格式:1,2,3
  14483. in: query
  14484. name: marketIDs
  14485. required: true
  14486. type: string
  14487. - description: 目的地(省)ID
  14488. in: query
  14489. name: descProvinceID
  14490. type: integer
  14491. - description: 目的地(市)ID
  14492. in: query
  14493. name: descCityID
  14494. type: integer
  14495. produces:
  14496. - application/json
  14497. responses:
  14498. "200":
  14499. description: OK
  14500. schema:
  14501. $ref: '#/definitions/models.HsbyPreGoods'
  14502. "500":
  14503. description: Internal Server Error
  14504. schema:
  14505. $ref: '#/definitions/app.Response'
  14506. security:
  14507. - ApiKeyAuth: []
  14508. summary: 查询新品上市商品列表(一级市场预售)
  14509. tags:
  14510. - 定制【海商报业】
  14511. /HSBY/QueryHsbySellMyDetails:
  14512. get:
  14513. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14514. parameters:
  14515. - description: 页码
  14516. in: query
  14517. name: page
  14518. type: integer
  14519. - description: 每页条数
  14520. in: query
  14521. name: pagesize
  14522. type: integer
  14523. - description: 资金账户列表,格式:1,2,3
  14524. in: query
  14525. name: accountIDs
  14526. required: true
  14527. type: string
  14528. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14529. in: query
  14530. name: orderType
  14531. type: integer
  14532. produces:
  14533. - application/json
  14534. responses:
  14535. "200":
  14536. description: OK
  14537. schema:
  14538. $ref: '#/definitions/models.HsbySellMyDetail'
  14539. "500":
  14540. description: Internal Server Error
  14541. schema:
  14542. $ref: '#/definitions/app.Response'
  14543. security:
  14544. - ApiKeyAuth: []
  14545. summary: 查询"我的闲置"单据信息
  14546. tags:
  14547. - 定制【海商报业】
  14548. /HSBY/QueryHsbyTopGoodses:
  14549. get:
  14550. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14551. parameters:
  14552. - description: 页码
  14553. in: query
  14554. name: page
  14555. type: integer
  14556. - description: 每页条数
  14557. in: query
  14558. name: pagesize
  14559. type: integer
  14560. - description: 市场ID列表,格式:1,2,3
  14561. in: query
  14562. name: marketIDs
  14563. required: true
  14564. type: string
  14565. - description: 目的地(省)ID
  14566. in: query
  14567. name: descProvinceID
  14568. type: integer
  14569. - description: 目的地(市)ID
  14570. in: query
  14571. name: descCityID
  14572. type: integer
  14573. produces:
  14574. - application/json
  14575. responses:
  14576. "200":
  14577. description: OK
  14578. schema:
  14579. $ref: '#/definitions/models.HsbyTopGoods'
  14580. "500":
  14581. description: Internal Server Error
  14582. schema:
  14583. $ref: '#/definitions/app.Response'
  14584. security:
  14585. - ApiKeyAuth: []
  14586. summary: 查询热卖商品列表(二级市场挂牌点选)
  14587. tags:
  14588. - 定制【海商报业】
  14589. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14590. get:
  14591. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14592. parameters:
  14593. - description: 商品ID
  14594. in: query
  14595. name: goodsID
  14596. required: true
  14597. type: integer
  14598. produces:
  14599. - application/json
  14600. responses:
  14601. "200":
  14602. description: OK
  14603. schema:
  14604. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14605. "500":
  14606. description: Internal Server Error
  14607. schema:
  14608. $ref: '#/definitions/app.Response'
  14609. security:
  14610. - ApiKeyAuth: []
  14611. summary: 查询游客三级市场(商城)商品信息详情
  14612. tags:
  14613. - 定制【海商报业】
  14614. /HSBY/QueryHsbyVisitorMarketGoodses:
  14615. get:
  14616. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14617. parameters:
  14618. - description: 页码
  14619. in: query
  14620. name: page
  14621. type: integer
  14622. - description: 每页条数
  14623. in: query
  14624. name: pagesize
  14625. type: integer
  14626. - description: 市场ID列表,格式:1,2,3
  14627. in: query
  14628. name: marketIDs
  14629. required: true
  14630. type: string
  14631. - description: 类别ID
  14632. in: query
  14633. name: categoryID
  14634. type: integer
  14635. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14636. in: query
  14637. name: goodsIDs
  14638. type: string
  14639. produces:
  14640. - application/json
  14641. responses:
  14642. "200":
  14643. description: OK
  14644. schema:
  14645. $ref: '#/definitions/models.HsbyMarketGoods'
  14646. "500":
  14647. description: Internal Server Error
  14648. schema:
  14649. $ref: '#/definitions/app.Response'
  14650. security:
  14651. - ApiKeyAuth: []
  14652. summary: 查询游客特卖商品列表(三级商城)
  14653. tags:
  14654. - 定制【海商报业】
  14655. /HSBY/QueryMyCollectionOrders:
  14656. get:
  14657. parameters:
  14658. - description: 页码
  14659. in: query
  14660. name: page
  14661. type: integer
  14662. - description: 每页条数
  14663. in: query
  14664. name: pagesize
  14665. type: integer
  14666. - description: 资金账户,格式:1,2,3
  14667. in: query
  14668. name: accountIDs
  14669. required: true
  14670. type: string
  14671. produces:
  14672. - application/json
  14673. responses:
  14674. "200":
  14675. description: OK
  14676. schema:
  14677. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14678. "500":
  14679. description: Internal Server Error
  14680. schema:
  14681. $ref: '#/definitions/app.Response'
  14682. security:
  14683. - ApiKeyAuth: []
  14684. summary: 我的闲置中收款信息查询
  14685. tags:
  14686. - 定制【海商报业】
  14687. /HSBY/QueryMyCouponHolds:
  14688. get:
  14689. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14690. parameters:
  14691. - description: 资金账户列表,格式:1,2,3
  14692. in: query
  14693. name: accountIDs
  14694. required: true
  14695. type: string
  14696. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14697. in: query
  14698. name: holdStatus
  14699. type: string
  14700. produces:
  14701. - application/json
  14702. responses:
  14703. "200":
  14704. description: OK
  14705. schema:
  14706. $ref: '#/definitions/models.MyCouponHold'
  14707. "500":
  14708. description: Internal Server Error
  14709. schema:
  14710. $ref: '#/definitions/app.Response'
  14711. security:
  14712. - ApiKeyAuth: []
  14713. summary: 我的优惠卷持仓查询
  14714. tags:
  14715. - 定制【海商报业】
  14716. /HSBY/QueryMyCoupons:
  14717. get:
  14718. parameters:
  14719. - description: 资金账户列表,格式:1,2,3
  14720. in: query
  14721. name: accountIDs
  14722. required: true
  14723. type: string
  14724. - description: 商品ID, 一般与sellUserID配套传入
  14725. in: query
  14726. name: goodsID
  14727. type: integer
  14728. - description: 卖方UserID
  14729. in: query
  14730. name: sellUserID
  14731. type: integer
  14732. produces:
  14733. - application/json
  14734. responses:
  14735. "200":
  14736. description: OK
  14737. schema:
  14738. $ref: '#/definitions/models.MyCoupon'
  14739. "500":
  14740. description: Internal Server Error
  14741. schema:
  14742. $ref: '#/definitions/app.Response'
  14743. security:
  14744. - ApiKeyAuth: []
  14745. summary: 我的优惠卷查询
  14746. tags:
  14747. - 定制【海商报业】
  14748. /HSBY/QueryMyPayOrders:
  14749. get:
  14750. parameters:
  14751. - description: 页码
  14752. in: query
  14753. name: page
  14754. type: integer
  14755. - description: 每页条数
  14756. in: query
  14757. name: pagesize
  14758. type: integer
  14759. - description: 资金账户列表,格式:1,2,3
  14760. in: query
  14761. name: accountIDs
  14762. required: true
  14763. type: string
  14764. - description: 买方委托单号
  14765. in: query
  14766. name: buyOrderID
  14767. type: integer
  14768. - description: 卖方委托单号
  14769. in: query
  14770. name: sellOrderID
  14771. type: integer
  14772. produces:
  14773. - application/json
  14774. responses:
  14775. "200":
  14776. description: OK
  14777. schema:
  14778. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14779. "500":
  14780. description: Internal Server Error
  14781. schema:
  14782. $ref: '#/definitions/app.Response'
  14783. security:
  14784. - ApiKeyAuth: []
  14785. summary: 获取我的订单中待付款信息
  14786. tags:
  14787. - 定制【海商报业】
  14788. /HSBY/QueryMyUsedCoupon:
  14789. get:
  14790. parameters:
  14791. - description: 资金账户列表,格式:1,2,3
  14792. in: query
  14793. name: accountIDs
  14794. required: true
  14795. type: string
  14796. produces:
  14797. - application/json
  14798. responses:
  14799. "200":
  14800. description: OK
  14801. schema:
  14802. $ref: '#/definitions/models.MyUsedCoupon'
  14803. "500":
  14804. description: Internal Server Error
  14805. schema:
  14806. $ref: '#/definitions/app.Response'
  14807. security:
  14808. - ApiKeyAuth: []
  14809. summary: 已使用优惠卷查询
  14810. tags:
  14811. - 定制【海商报业】
  14812. /HSBY/QueryProvincesAndCities:
  14813. get:
  14814. description: 查询结果只包括二级市场商品已关连的省市信息。
  14815. parameters:
  14816. - description: 省ID
  14817. in: query
  14818. name: provinceID
  14819. type: integer
  14820. produces:
  14821. - application/json
  14822. responses:
  14823. "200":
  14824. description: OK
  14825. schema:
  14826. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14827. "500":
  14828. description: Internal Server Error
  14829. schema:
  14830. $ref: '#/definitions/app.Response'
  14831. security:
  14832. - ApiKeyAuth: []
  14833. summary: 查询省市信息(不包括区)
  14834. tags:
  14835. - 定制【海商报业】
  14836. /HSBY/SetHsbyMyPackagesStatus:
  14837. post:
  14838. parameters:
  14839. - description: 提货单号
  14840. in: query
  14841. name: takeOrderID
  14842. required: true
  14843. type: string
  14844. - description: 资金账号
  14845. in: query
  14846. name: accountID
  14847. required: true
  14848. type: integer
  14849. produces:
  14850. - application/json
  14851. responses:
  14852. "200":
  14853. description: OK
  14854. schema:
  14855. $ref: '#/definitions/app.Response'
  14856. "500":
  14857. description: Internal Server Error
  14858. schema:
  14859. $ref: '#/definitions/app.Response'
  14860. security:
  14861. - ApiKeyAuth: []
  14862. summary: 设置我的包裹已收货状态
  14863. tags:
  14864. - 定制【海商报业】
  14865. /Market/QueryGoodsesByLoginID:
  14866. get:
  14867. parameters:
  14868. - description: 登录账号
  14869. in: query
  14870. name: loginID
  14871. required: true
  14872. type: integer
  14873. - description: 市场ID列表,格式:1,2,3
  14874. in: query
  14875. name: marketIDs
  14876. type: string
  14877. produces:
  14878. - application/json
  14879. responses:
  14880. "200":
  14881. description: OK
  14882. schema:
  14883. $ref: '#/definitions/models.Goods'
  14884. "500":
  14885. description: Internal Server Error
  14886. schema:
  14887. $ref: '#/definitions/app.Response'
  14888. security:
  14889. - ApiKeyAuth: []
  14890. summary: 获取登录账号有权限的商品信息
  14891. tags:
  14892. - 通用市场
  14893. /Market/QueryMarketRun:
  14894. get:
  14895. parameters:
  14896. - description: 市场ID,不传返回所有
  14897. in: query
  14898. name: marketID
  14899. type: integer
  14900. produces:
  14901. - application/json
  14902. responses:
  14903. "200":
  14904. description: OK
  14905. schema:
  14906. $ref: '#/definitions/models.Marketrun'
  14907. "500":
  14908. description: Internal Server Error
  14909. schema:
  14910. $ref: '#/definitions/app.Response'
  14911. security:
  14912. - ApiKeyAuth: []
  14913. summary: 查询市场运行信息
  14914. tags:
  14915. - 通用市场
  14916. /Market/QueryMarketsByLoginID:
  14917. get:
  14918. parameters:
  14919. - description: 登录账号
  14920. in: query
  14921. name: loginID
  14922. required: true
  14923. type: integer
  14924. produces:
  14925. - application/json
  14926. responses:
  14927. "200":
  14928. description: OK
  14929. schema:
  14930. $ref: '#/definitions/models.Market'
  14931. "500":
  14932. description: Internal Server Error
  14933. schema:
  14934. $ref: '#/definitions/app.Response'
  14935. security:
  14936. - ApiKeyAuth: []
  14937. summary: 获取登录账号有权限的市场信息
  14938. tags:
  14939. - 通用市场
  14940. /Order/QueryHisTradeDetail:
  14941. get:
  14942. parameters:
  14943. - description: 资金账户 - 格式:1,2,3
  14944. in: query
  14945. name: accountID
  14946. required: true
  14947. type: string
  14948. - description: 成交单号
  14949. in: query
  14950. name: tradeID
  14951. type: integer
  14952. - description: 委托单号
  14953. in: query
  14954. name: orderID
  14955. type: integer
  14956. - description: 交易模式 - 格式:1,2,3
  14957. in: query
  14958. name: tradeMode
  14959. type: string
  14960. - description: 委托单据类型
  14961. in: query
  14962. name: buildType
  14963. type: integer
  14964. - description: 成交类别 - 格式:1,2,3
  14965. in: query
  14966. name: tradeType
  14967. type: string
  14968. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14969. in: query
  14970. name: startDate
  14971. type: string
  14972. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14973. in: query
  14974. name: endDate
  14975. type: string
  14976. produces:
  14977. - application/json
  14978. responses:
  14979. "200":
  14980. description: OK
  14981. schema:
  14982. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14983. "500":
  14984. description: Internal Server Error
  14985. schema:
  14986. $ref: '#/definitions/app.Response'
  14987. security:
  14988. - ApiKeyAuth: []
  14989. summary: 历史成交单查询(合约市场)
  14990. tags:
  14991. - 通用单据
  14992. /Order/QueryHisTradeOrderDetail:
  14993. get:
  14994. parameters:
  14995. - description: 资金账户 - 格式:1,2,3
  14996. in: query
  14997. name: accountID
  14998. required: true
  14999. type: string
  15000. - description: 交易模式 - 格式:1,2,3
  15001. in: query
  15002. name: tradeMode
  15003. type: string
  15004. - description: 委托状态 - 格式:1,2,3
  15005. in: query
  15006. name: orderStatus
  15007. type: string
  15008. - description: 委托单号
  15009. in: query
  15010. name: orderID
  15011. type: integer
  15012. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15013. in: query
  15014. name: startDate
  15015. type: string
  15016. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15017. in: query
  15018. name: endDate
  15019. type: string
  15020. produces:
  15021. - application/json
  15022. responses:
  15023. "200":
  15024. description: OK
  15025. schema:
  15026. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15027. "500":
  15028. description: Internal Server Error
  15029. schema:
  15030. $ref: '#/definitions/app.Response'
  15031. security:
  15032. - ApiKeyAuth: []
  15033. summary: 历史委托单查询请求(合约市场)
  15034. tags:
  15035. - 通用单据
  15036. /Order/QueryTradeDetail:
  15037. get:
  15038. parameters:
  15039. - description: 资金账户 - 格式:1,2,3
  15040. in: query
  15041. name: accountID
  15042. required: true
  15043. type: string
  15044. - description: 成交单号
  15045. in: query
  15046. name: tradeID
  15047. type: integer
  15048. - description: 委托单号
  15049. in: query
  15050. name: orderID
  15051. type: integer
  15052. - description: 交易模式 - 格式:1,2,3
  15053. in: query
  15054. name: tradeMode
  15055. type: string
  15056. - description: 委托单据类型
  15057. in: query
  15058. name: buildType
  15059. type: integer
  15060. - description: 成交类别 - 格式:1,2,3
  15061. in: query
  15062. name: tradeType
  15063. type: string
  15064. produces:
  15065. - application/json
  15066. responses:
  15067. "200":
  15068. description: OK
  15069. schema:
  15070. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15071. "500":
  15072. description: Internal Server Error
  15073. schema:
  15074. $ref: '#/definitions/app.Response'
  15075. security:
  15076. - ApiKeyAuth: []
  15077. summary: 成交单查询(合约市场)
  15078. tags:
  15079. - 通用单据
  15080. /Order/QueryTradeOrderDetail:
  15081. get:
  15082. parameters:
  15083. - description: 资金账户 - 格式:1,2,3
  15084. in: query
  15085. name: accountID
  15086. required: true
  15087. type: string
  15088. - description: 交易模式 - 格式:1,2,3
  15089. in: query
  15090. name: tradeMode
  15091. type: string
  15092. - description: 委托状态 - 格式:1,2,3
  15093. in: query
  15094. name: orderStatus
  15095. type: string
  15096. - description: 委托单号
  15097. in: query
  15098. name: orderID
  15099. type: integer
  15100. produces:
  15101. - application/json
  15102. responses:
  15103. "200":
  15104. description: OK
  15105. schema:
  15106. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15107. "500":
  15108. description: Internal Server Error
  15109. schema:
  15110. $ref: '#/definitions/app.Response'
  15111. security:
  15112. - ApiKeyAuth: []
  15113. summary: 委托单查询请求(合约市场)
  15114. tags:
  15115. - 通用单据
  15116. /Order/QueryTradePosition:
  15117. get:
  15118. parameters:
  15119. - description: 资金账户 - 格式:1,2,3
  15120. in: query
  15121. name: accountID
  15122. required: true
  15123. type: string
  15124. - description: 交易模式 - 格式:1,2,3
  15125. in: query
  15126. name: tradeMode
  15127. type: string
  15128. produces:
  15129. - application/json
  15130. responses:
  15131. "200":
  15132. description: OK
  15133. schema:
  15134. $ref: '#/definitions/order.QueryTradePositionRsp'
  15135. "500":
  15136. description: Internal Server Error
  15137. schema:
  15138. $ref: '#/definitions/app.Response'
  15139. security:
  15140. - ApiKeyAuth: []
  15141. summary: 持仓汇总查询(合约市场)
  15142. tags:
  15143. - 通用单据
  15144. /Quote/QueryHistoryDatas:
  15145. get:
  15146. parameters:
  15147. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15148. 日线'
  15149. in: query
  15150. name: cycleType
  15151. required: true
  15152. type: integer
  15153. - description: 商品代码
  15154. in: query
  15155. name: goodsCode
  15156. required: true
  15157. type: string
  15158. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15159. in: query
  15160. name: startTime
  15161. type: string
  15162. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15163. in: query
  15164. name: endTime
  15165. type: string
  15166. - description: 条数
  15167. in: query
  15168. name: count
  15169. type: integer
  15170. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15171. in: query
  15172. name: isAsc
  15173. type: boolean
  15174. produces:
  15175. - application/json
  15176. responses:
  15177. "200":
  15178. description: OK
  15179. schema:
  15180. $ref: '#/definitions/quote.HistoryData'
  15181. "500":
  15182. description: Internal Server Error
  15183. schema:
  15184. $ref: '#/definitions/app.Response'
  15185. security:
  15186. - ApiKeyAuth: []
  15187. summary: 查询行情历史数据
  15188. tags:
  15189. - 行情服务
  15190. /Quote/QueryHistoryTikDatas:
  15191. get:
  15192. parameters:
  15193. - description: 商品代码
  15194. in: query
  15195. name: goodsCode
  15196. required: true
  15197. type: string
  15198. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15199. in: query
  15200. name: startTime
  15201. type: string
  15202. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15203. in: query
  15204. name: endTime
  15205. type: string
  15206. - description: 条数
  15207. in: query
  15208. name: count
  15209. type: integer
  15210. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15211. in: query
  15212. name: isAsc
  15213. type: boolean
  15214. produces:
  15215. - application/json
  15216. responses:
  15217. "200":
  15218. description: OK
  15219. schema:
  15220. $ref: '#/definitions/quote.HistoryTikData'
  15221. "500":
  15222. description: Internal Server Error
  15223. schema:
  15224. $ref: '#/definitions/app.Response'
  15225. security:
  15226. - ApiKeyAuth: []
  15227. summary: 查询行情Tik数据
  15228. tags:
  15229. - 行情服务
  15230. /Quote/QueryQuoteDay:
  15231. get:
  15232. parameters:
  15233. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  15234. in: query
  15235. name: goodsCodes
  15236. required: true
  15237. type: string
  15238. produces:
  15239. - application/json
  15240. responses:
  15241. "200":
  15242. description: OK
  15243. schema:
  15244. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  15245. "500":
  15246. description: Internal Server Error
  15247. schema:
  15248. $ref: '#/definitions/app.Response'
  15249. security:
  15250. - ApiKeyAuth: []
  15251. summary: 获取商品盘面信息
  15252. tags:
  15253. - 行情服务
  15254. /Quote/QueryTSData:
  15255. get:
  15256. parameters:
  15257. - description: 商品代码
  15258. in: query
  15259. name: goodsCode
  15260. required: true
  15261. type: string
  15262. produces:
  15263. - application/json
  15264. responses:
  15265. "200":
  15266. description: OK
  15267. schema:
  15268. $ref: '#/definitions/quote.QueryTSDataRsp'
  15269. "500":
  15270. description: Internal Server Error
  15271. schema:
  15272. $ref: '#/definitions/app.Response'
  15273. security:
  15274. - ApiKeyAuth: []
  15275. summary: 分时图数据查询
  15276. tags:
  15277. - 行情服务
  15278. /SZDZ/QueryConvertConfig:
  15279. get:
  15280. parameters:
  15281. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  15282. 6:交易转花生米(不设置)
  15283. in: query
  15284. name: convertType
  15285. type: integer
  15286. - description: 外部商品代码[JD\PD]
  15287. in: query
  15288. name: outerGoodsCode
  15289. type: string
  15290. - description: 内部商品ID列表[交易],格式:1,2,3
  15291. in: query
  15292. name: innerGoodsIDs
  15293. type: string
  15294. produces:
  15295. - application/json
  15296. responses:
  15297. "200":
  15298. description: OK
  15299. schema:
  15300. $ref: '#/definitions/models.Szdz3convertconfig'
  15301. "500":
  15302. description: Internal Server Error
  15303. schema:
  15304. $ref: '#/definitions/app.Response'
  15305. security:
  15306. - ApiKeyAuth: []
  15307. summary: 查询交易系统转换设置
  15308. tags:
  15309. - 定制【尚志大宗】
  15310. /SZDZ/QueryConvertLog:
  15311. get:
  15312. parameters:
  15313. - description: 资金账户 - 格式:1,2,3
  15314. in: query
  15315. name: accountID
  15316. required: true
  15317. type: string
  15318. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15319. in: query
  15320. name: startDate
  15321. type: string
  15322. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  15323. in: query
  15324. name: endDate
  15325. type: string
  15326. produces:
  15327. - application/json
  15328. responses:
  15329. "200":
  15330. description: OK
  15331. schema:
  15332. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  15333. "500":
  15334. description: Internal Server Error
  15335. schema:
  15336. $ref: '#/definitions/app.Response'
  15337. security:
  15338. - ApiKeyAuth: []
  15339. summary: 交易系统转换流水查询
  15340. tags:
  15341. - 定制【尚志大宗】
  15342. /SZDZ/QueryGoodsPickup:
  15343. get:
  15344. parameters:
  15345. - description: 资金账户 - 格式:1,2,3
  15346. in: query
  15347. name: accountID
  15348. required: true
  15349. type: string
  15350. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15351. in: query
  15352. name: takeOrderStatus
  15353. type: integer
  15354. produces:
  15355. - application/json
  15356. responses:
  15357. "200":
  15358. description: OK
  15359. schema:
  15360. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  15361. "500":
  15362. description: Internal Server Error
  15363. schema:
  15364. $ref: '#/definitions/app.Response'
  15365. security:
  15366. - ApiKeyAuth: []
  15367. summary: 商品提货单查询
  15368. tags:
  15369. - 定制【尚志大宗】
  15370. /SZDZ/QueryRecieptOrder:
  15371. get:
  15372. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15373. parameters:
  15374. - description: 页码
  15375. in: query
  15376. name: page
  15377. type: integer
  15378. - description: 每页条数
  15379. in: query
  15380. name: pagesize
  15381. type: integer
  15382. - description: 商品ID
  15383. in: query
  15384. name: goodsID
  15385. required: true
  15386. type: integer
  15387. - description: 所属账户名称
  15388. in: query
  15389. name: accountName
  15390. type: string
  15391. - description: 市场ID
  15392. in: query
  15393. name: marketID
  15394. type: integer
  15395. - description: 方向 - 0:买 1:卖
  15396. in: query
  15397. name: buyorsell
  15398. required: true
  15399. type: integer
  15400. produces:
  15401. - application/json
  15402. responses:
  15403. "200":
  15404. description: OK
  15405. schema:
  15406. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  15407. "500":
  15408. description: Internal Server Error
  15409. schema:
  15410. $ref: '#/definitions/app.Response'
  15411. security:
  15412. - ApiKeyAuth: []
  15413. summary: 点选挂牌委托单据查询(摘牌大厅)
  15414. tags:
  15415. - 定制【尚志大宗】
  15416. /SZDZ/QuerySZDZTradePosition:
  15417. get:
  15418. parameters:
  15419. - description: 资金账户
  15420. in: query
  15421. name: accountID
  15422. required: true
  15423. type: integer
  15424. produces:
  15425. - application/json
  15426. responses:
  15427. "200":
  15428. description: OK
  15429. schema:
  15430. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  15431. "500":
  15432. description: Internal Server Error
  15433. schema:
  15434. $ref: '#/definitions/app.Response'
  15435. security:
  15436. - ApiKeyAuth: []
  15437. summary: 持仓汇总查询(尚志大宗)
  15438. tags:
  15439. - 定制【尚志大宗】
  15440. /SZDZ/SearchWhite:
  15441. get:
  15442. parameters:
  15443. - description: 用户ID
  15444. in: query
  15445. name: userID
  15446. required: true
  15447. type: integer
  15448. produces:
  15449. - application/json
  15450. responses:
  15451. "200":
  15452. description: OK
  15453. schema:
  15454. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15455. "500":
  15456. description: Internal Server Error
  15457. schema:
  15458. $ref: '#/definitions/app.Response'
  15459. security:
  15460. - ApiKeyAuth: []
  15461. summary: 搜索白名单
  15462. tags:
  15463. - 定制【尚志大宗】
  15464. /Search/SearchGoodses:
  15465. get:
  15466. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15467. parameters:
  15468. - description: 检索内容
  15469. in: query
  15470. name: content
  15471. required: true
  15472. type: string
  15473. - description: 交易模式,格式:1,2,3
  15474. in: query
  15475. name: tradeModes
  15476. type: string
  15477. produces:
  15478. - application/json
  15479. responses:
  15480. "200":
  15481. description: OK
  15482. schema:
  15483. $ref: '#/definitions/models.SearchGoods'
  15484. "500":
  15485. description: Internal Server Error
  15486. schema:
  15487. $ref: '#/definitions/app.Response'
  15488. summary: 检索商品信息
  15489. tags:
  15490. - 检索服务
  15491. /TaAccount/GetTaAccounts:
  15492. get:
  15493. parameters:
  15494. - description: 登录账户
  15495. in: query
  15496. name: loginID
  15497. required: true
  15498. type: integer
  15499. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15500. in: query
  15501. name: taAccountType
  15502. type: integer
  15503. produces:
  15504. - application/json
  15505. responses:
  15506. "200":
  15507. description: OK
  15508. schema:
  15509. $ref: '#/definitions/models.Taaccount'
  15510. "500":
  15511. description: Internal Server Error
  15512. schema:
  15513. $ref: '#/definitions/app.Response'
  15514. security:
  15515. - ApiKeyAuth: []
  15516. summary: 获取资金账户信息
  15517. tags:
  15518. - 资金账户
  15519. /TaAccount/QueryAmountLog:
  15520. get:
  15521. parameters:
  15522. - description: 页码
  15523. in: query
  15524. name: page
  15525. type: integer
  15526. - description: 每页条数
  15527. in: query
  15528. name: pagesize
  15529. type: integer
  15530. - description: 资金账户 - 格式:1,2,3
  15531. in: query
  15532. name: accountID
  15533. required: true
  15534. type: string
  15535. - description: 资金操作类型 - 格式:1,2,3
  15536. in: query
  15537. name: OperateType
  15538. type: string
  15539. produces:
  15540. - application/json
  15541. responses:
  15542. "200":
  15543. description: OK
  15544. schema:
  15545. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15546. "500":
  15547. description: Internal Server Error
  15548. schema:
  15549. $ref: '#/definitions/app.Response'
  15550. security:
  15551. - ApiKeyAuth: []
  15552. summary: 资金流水查询(当前)
  15553. tags:
  15554. - 资金账户
  15555. /TaAccount/QueryHisAmountLog:
  15556. get:
  15557. parameters:
  15558. - description: 页码
  15559. in: query
  15560. name: page
  15561. type: integer
  15562. - description: 每页条数
  15563. in: query
  15564. name: pagesize
  15565. type: integer
  15566. - description: 资金账户 - 格式:1,2,3
  15567. in: query
  15568. name: accountID
  15569. required: true
  15570. type: string
  15571. - description: 资金操作类型 - 格式:1,2,3
  15572. in: query
  15573. name: OperateType
  15574. type: string
  15575. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15576. in: query
  15577. name: startDate
  15578. type: string
  15579. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15580. in: query
  15581. name: endDate
  15582. type: string
  15583. produces:
  15584. - application/json
  15585. responses:
  15586. "200":
  15587. description: OK
  15588. schema:
  15589. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15590. "500":
  15591. description: Internal Server Error
  15592. schema:
  15593. $ref: '#/definitions/app.Response'
  15594. security:
  15595. - ApiKeyAuth: []
  15596. summary: 资金流水查询(历史)
  15597. tags:
  15598. - 资金账户
  15599. /Trade/QueryRecieptOrder:
  15600. get:
  15601. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15602. parameters:
  15603. - description: 页码
  15604. in: query
  15605. name: page
  15606. type: integer
  15607. - description: 每页条数
  15608. in: query
  15609. name: pagesize
  15610. type: integer
  15611. - description: 商品ID
  15612. in: query
  15613. name: goodsID
  15614. required: true
  15615. type: integer
  15616. - description: 所属账户名称
  15617. in: query
  15618. name: accountName
  15619. type: string
  15620. - description: 市场ID
  15621. in: query
  15622. name: marketID
  15623. type: integer
  15624. - description: 方向 - 0:买 1:卖
  15625. in: query
  15626. name: buyorsell
  15627. required: true
  15628. type: integer
  15629. produces:
  15630. - application/json
  15631. responses:
  15632. "200":
  15633. description: OK
  15634. schema:
  15635. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15636. "500":
  15637. description: Internal Server Error
  15638. schema:
  15639. $ref: '#/definitions/app.Response'
  15640. security:
  15641. - ApiKeyAuth: []
  15642. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15643. tags:
  15644. - 通用交易
  15645. /User/AddMessageBoard:
  15646. post:
  15647. parameters:
  15648. - description: 用户ID
  15649. in: query
  15650. name: userID
  15651. required: true
  15652. type: integer
  15653. - description: 留言信息
  15654. in: query
  15655. name: message
  15656. required: true
  15657. type: string
  15658. - description: 联系电话
  15659. in: query
  15660. name: contactNum
  15661. required: true
  15662. type: string
  15663. produces:
  15664. - application/json
  15665. responses:
  15666. "200":
  15667. description: OK
  15668. schema:
  15669. $ref: '#/definitions/app.Response'
  15670. "500":
  15671. description: Internal Server Error
  15672. schema:
  15673. $ref: '#/definitions/app.Response'
  15674. security:
  15675. - ApiKeyAuth: []
  15676. summary: 添加用户留言板信息
  15677. tags:
  15678. - 用户信息
  15679. /User/AddUserFavoriteGoods:
  15680. post:
  15681. parameters:
  15682. - description: 用户ID
  15683. in: query
  15684. name: userID
  15685. required: true
  15686. type: integer
  15687. - description: 商品ID
  15688. in: query
  15689. name: goodsID
  15690. required: true
  15691. type: integer
  15692. produces:
  15693. - application/json
  15694. responses:
  15695. "200":
  15696. description: OK
  15697. schema:
  15698. $ref: '#/definitions/app.Response'
  15699. "500":
  15700. description: Internal Server Error
  15701. schema:
  15702. $ref: '#/definitions/app.Response'
  15703. security:
  15704. - ApiKeyAuth: []
  15705. summary: 添加用户商品收藏信息
  15706. tags:
  15707. - 用户信息
  15708. /User/GetLoginID:
  15709. get:
  15710. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15711. parameters:
  15712. - description: 登录代码
  15713. in: query
  15714. name: username
  15715. required: true
  15716. type: string
  15717. produces:
  15718. - application/json
  15719. responses:
  15720. "200":
  15721. description: OK
  15722. schema:
  15723. $ref: '#/definitions/app.Response'
  15724. "500":
  15725. description: Internal Server Error
  15726. schema:
  15727. $ref: '#/definitions/app.Response'
  15728. summary: 获取登录ID
  15729. tags:
  15730. - 用户信息
  15731. /User/GetUserAccount:
  15732. get:
  15733. parameters:
  15734. - description: 用户ID
  15735. in: query
  15736. name: userID
  15737. required: true
  15738. type: integer
  15739. produces:
  15740. - application/json
  15741. responses:
  15742. "200":
  15743. description: OK
  15744. schema:
  15745. $ref: '#/definitions/models.Useraccount'
  15746. "500":
  15747. description: Internal Server Error
  15748. schema:
  15749. $ref: '#/definitions/app.Response'
  15750. security:
  15751. - ApiKeyAuth: []
  15752. summary: 获取用户账号信息
  15753. tags:
  15754. - 用户信息
  15755. /User/GetUserAuthStatus:
  15756. get:
  15757. parameters:
  15758. - description: 用户ID
  15759. in: query
  15760. name: userID
  15761. required: true
  15762. type: integer
  15763. produces:
  15764. - application/json
  15765. responses:
  15766. "200":
  15767. description: OK
  15768. schema:
  15769. $ref: '#/definitions/app.Response'
  15770. "500":
  15771. description: Internal Server Error
  15772. schema:
  15773. $ref: '#/definitions/app.Response'
  15774. security:
  15775. - ApiKeyAuth: []
  15776. summary: 获取用户实名认证状态
  15777. tags:
  15778. - 用户信息
  15779. /User/LoginQuery:
  15780. get:
  15781. parameters:
  15782. - description: 登录账号
  15783. in: query
  15784. name: loginID
  15785. required: true
  15786. type: integer
  15787. produces:
  15788. - application/json
  15789. responses:
  15790. "200":
  15791. description: OK
  15792. schema:
  15793. $ref: '#/definitions/user.LoginQueryRsp'
  15794. "500":
  15795. description: Internal Server Error
  15796. schema:
  15797. $ref: '#/definitions/app.Response'
  15798. security:
  15799. - ApiKeyAuth: []
  15800. summary: 账户登录后信息查询
  15801. tags:
  15802. - 用户信息
  15803. /User/QueryMessageBoard:
  15804. get:
  15805. parameters:
  15806. - description: 用户ID
  15807. in: query
  15808. name: userID
  15809. required: true
  15810. type: integer
  15811. produces:
  15812. - application/json
  15813. responses:
  15814. "200":
  15815. description: OK
  15816. schema:
  15817. $ref: '#/definitions/models.Messageboard'
  15818. "500":
  15819. description: Internal Server Error
  15820. schema:
  15821. $ref: '#/definitions/app.Response'
  15822. security:
  15823. - ApiKeyAuth: []
  15824. summary: 获取用户留言板信息
  15825. tags:
  15826. - 用户信息
  15827. /User/QueryUserFavoriteGoodses:
  15828. get:
  15829. parameters:
  15830. - description: 用户ID
  15831. in: query
  15832. name: userID
  15833. required: true
  15834. type: integer
  15835. produces:
  15836. - application/json
  15837. responses:
  15838. "200":
  15839. description: OK
  15840. schema:
  15841. $ref: '#/definitions/models.Userfavoritegoods'
  15842. "500":
  15843. description: Internal Server Error
  15844. schema:
  15845. $ref: '#/definitions/app.Response'
  15846. security:
  15847. - ApiKeyAuth: []
  15848. summary: 获取用户商品收藏信息
  15849. tags:
  15850. - 用户信息
  15851. /User/QueryUserInfo:
  15852. get:
  15853. parameters:
  15854. - description: 用户ID
  15855. in: query
  15856. name: userID
  15857. required: true
  15858. type: integer
  15859. - description: 是否解密
  15860. in: query
  15861. name: isDecrypt
  15862. type: boolean
  15863. produces:
  15864. - application/json
  15865. responses:
  15866. "200":
  15867. description: OK
  15868. schema:
  15869. $ref: '#/definitions/models.Userinfo'
  15870. "500":
  15871. description: Internal Server Error
  15872. schema:
  15873. $ref: '#/definitions/app.Response'
  15874. security:
  15875. - ApiKeyAuth: []
  15876. summary: 获取用户信息
  15877. tags:
  15878. - 用户信息
  15879. /User/QueryUserReferNum:
  15880. get:
  15881. parameters:
  15882. - description: 用户ID
  15883. in: query
  15884. name: userID
  15885. required: true
  15886. type: integer
  15887. produces:
  15888. - application/json
  15889. responses:
  15890. "200":
  15891. description: OK
  15892. schema:
  15893. $ref: '#/definitions/app.Response'
  15894. "500":
  15895. description: Internal Server Error
  15896. schema:
  15897. $ref: '#/definitions/app.Response'
  15898. summary: 获取用户邀请码
  15899. tags:
  15900. - 用户信息
  15901. /User/RemoveUserFavoriteGoods:
  15902. post:
  15903. parameters:
  15904. - description: 用户ID
  15905. in: query
  15906. name: userID
  15907. required: true
  15908. type: integer
  15909. - description: 商品ID
  15910. in: query
  15911. name: goodsID
  15912. required: true
  15913. type: integer
  15914. produces:
  15915. - application/json
  15916. responses:
  15917. "200":
  15918. description: OK
  15919. schema:
  15920. $ref: '#/definitions/app.Response'
  15921. "500":
  15922. description: Internal Server Error
  15923. schema:
  15924. $ref: '#/definitions/app.Response'
  15925. security:
  15926. - ApiKeyAuth: []
  15927. summary: 移除用户商品收藏信息
  15928. tags:
  15929. - 用户信息
  15930. /User/UpdateUserAccountStatus:
  15931. post:
  15932. parameters:
  15933. - description: 用户ID
  15934. in: query
  15935. name: userID
  15936. required: true
  15937. type: integer
  15938. - description: 账户状态 - 4:正常 6:注销(停用)
  15939. in: query
  15940. name: accountStatus
  15941. required: true
  15942. type: integer
  15943. produces:
  15944. - application/json
  15945. responses:
  15946. "200":
  15947. description: OK
  15948. schema:
  15949. $ref: '#/definitions/app.Response'
  15950. "500":
  15951. description: Internal Server Error
  15952. schema:
  15953. $ref: '#/definitions/app.Response'
  15954. security:
  15955. - ApiKeyAuth: []
  15956. summary: 更新用户状态
  15957. tags:
  15958. - 用户信息
  15959. /WR/GetWRCategoryInfo:
  15960. get:
  15961. produces:
  15962. - application/json
  15963. responses:
  15964. "200":
  15965. description: OK
  15966. schema:
  15967. $ref: '#/definitions/models.WRCategoryTree'
  15968. "500":
  15969. description: Internal Server Error
  15970. schema:
  15971. $ref: '#/definitions/app.Response'
  15972. summary: 获取现货分类信息
  15973. tags:
  15974. - 仓单服务
  15975. /WRTrade/GetAllDeliveryGoods:
  15976. get:
  15977. produces:
  15978. - application/json
  15979. - application/json
  15980. responses:
  15981. "200":
  15982. description: OK
  15983. schema:
  15984. $ref: '#/definitions/app.Response'
  15985. "500":
  15986. description: Internal Server Error
  15987. schema:
  15988. $ref: '#/definitions/app.Response'
  15989. security:
  15990. - ApiKeyAuth: []
  15991. - ApiKeyAuth: []
  15992. summary: 获取带仓单分类的种类信息
  15993. tags:
  15994. - 仓单贸易
  15995. - 仓单贸易
  15996. securityDefinitions:
  15997. ApiKeyAuth:
  15998. in: header
  15999. name: Authorization
  16000. type: apiKey
  16001. swagger: "2.0"