swagger.yaml 473 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. common.QueryTableDefineRsp:
  168. properties:
  169. columns:
  170. description: 列头信息数组
  171. items:
  172. $ref: '#/definitions/models.Tablecolumnconfig'
  173. type: array
  174. remark:
  175. description: Remark
  176. type: string
  177. tabelmenu:
  178. description: 列表菜单
  179. type: string
  180. tablekey:
  181. description: 列表Key
  182. type: string
  183. tablename:
  184. description: 列表名称
  185. type: string
  186. tabletype:
  187. description: 列表类型 - 1:管理端 2:终端
  188. type: integer
  189. required:
  190. - tablekey
  191. type: object
  192. common.QueryTraderMenuRsp:
  193. properties:
  194. OperationMenu:
  195. description: 功能菜单
  196. items:
  197. $ref: '#/definitions/models.OperationPrimaryMenu'
  198. type: array
  199. QuoteMenu:
  200. description: 报价牌分类菜单
  201. items:
  202. $ref: '#/definitions/models.QuotePrimaryMenu'
  203. type: array
  204. type: object
  205. cptrade.Cptradepositioncancel:
  206. properties:
  207. accountid:
  208. description: 申请人账户ID
  209. type: integer
  210. applystatus:
  211. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  212. type: integer
  213. applytime:
  214. description: 申请时间
  215. type: string
  216. cancelid:
  217. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  218. type: integer
  219. cancelqty:
  220. description: 注销数量
  221. type: integer
  222. createtime:
  223. description: 创建时间
  224. type: string
  225. creatorid:
  226. description: 创建人ID
  227. type: integer
  228. creatorname:
  229. description: 创建人
  230. type: string
  231. goodscode:
  232. description: 订单商品代码
  233. type: string
  234. goodsid:
  235. description: 商品ID
  236. type: integer
  237. goodsname:
  238. description: 订单商品名称
  239. type: string
  240. goodunit:
  241. description: 报价单位
  242. type: string
  243. handlestatus:
  244. description: 处理状态
  245. type: integer
  246. marketid:
  247. description: 市场ID
  248. type: integer
  249. marketname:
  250. description: 市场名称
  251. type: string
  252. tradedate:
  253. description: 交易日(yyyyMMdd)
  254. type: string
  255. userid:
  256. description: 申请人ID
  257. type: integer
  258. required:
  259. - cancelid
  260. type: object
  261. cptrade.Cptradepresaleapply:
  262. properties:
  263. accountid:
  264. description: 申请人账户ID
  265. type: integer
  266. applyid:
  267. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  268. type: integer
  269. applyremark:
  270. description: 申请备注
  271. type: string
  272. applystatus:
  273. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  274. type: integer
  275. applytime:
  276. description: 申请时间
  277. type: string
  278. attachmenturl:
  279. description: 附件地址
  280. type: string
  281. endtime:
  282. description: 预售结束时间
  283. type: string
  284. goodscode:
  285. description: 商品代码
  286. type: string
  287. goodsid:
  288. description: 商品ID
  289. type: integer
  290. goodsname:
  291. description: 商品名称
  292. type: string
  293. goodunit:
  294. description: 报价单位
  295. type: string
  296. handlestatus:
  297. description: 处理状态
  298. type: integer
  299. marketid:
  300. description: 预售市场ID
  301. type: integer
  302. marketname:
  303. description: 预售市场名称
  304. type: string
  305. presaleqty:
  306. description: 预售数量
  307. type: integer
  308. relatedgoodscode:
  309. description: 关联交易合约代码
  310. type: string
  311. relatedgoodsid:
  312. description: 关联交易合约ID
  313. type: integer
  314. relatedgoodsname:
  315. description: 关联交易合约名称
  316. type: string
  317. starttime:
  318. description: 预售开始时间
  319. type: string
  320. tradedate:
  321. description: 交易日(yyyyMMdd)
  322. type: string
  323. trademode:
  324. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  325. type: integer
  326. userid:
  327. description: 申请人ID
  328. type: integer
  329. required:
  330. - applyid
  331. type: object
  332. cptrade.Cptradeusergoodsdata:
  333. properties:
  334. EnabledQty:
  335. description: 可用量
  336. type: integer
  337. GoodsCode:
  338. description: 订单商品代码
  339. type: string
  340. GoodsName:
  341. description: 订单商品名称
  342. type: string
  343. WRStandardCode:
  344. description: 仓单标准代码
  345. type: string
  346. WRStandardName:
  347. description: 仓单标准名称
  348. type: string
  349. accountid:
  350. description: 账户ID
  351. type: integer
  352. cancelqty:
  353. description: 注销量
  354. type: integer
  355. curpresaleqty:
  356. description: 当前预售量
  357. type: integer
  358. deliveryqty:
  359. description: 交割量
  360. type: integer
  361. freezeamount:
  362. description: 冻结金额
  363. type: number
  364. goodsid:
  365. description: 商品ID
  366. type: integer
  367. goodunit:
  368. description: 报价单位
  369. type: string
  370. hasspotfreeze:
  371. description: 是否有现货冻结 - 0:否 1:有
  372. type: integer
  373. inqty:
  374. description: 转入量(总数量)
  375. type: integer
  376. marketid:
  377. description: 市场ID
  378. type: integer
  379. presaledamount:
  380. description: 已预售总金额
  381. type: integer
  382. presaledqty:
  383. description: 已预售量
  384. type: integer
  385. userid:
  386. description: 用户ID
  387. type: integer
  388. wrstandardid:
  389. description: 仓单标准ID
  390. type: integer
  391. required:
  392. - accountid
  393. - goodsid
  394. type: object
  395. cptrade.QueryCPTradeMyBidRsp:
  396. properties:
  397. accountid:
  398. description: 账户ID[报价币种]
  399. type: integer
  400. goodsid:
  401. description: 商品ID
  402. type: integer
  403. goodunit:
  404. description: 报价单位
  405. type: string
  406. marketid:
  407. description: 市场ID
  408. type: integer
  409. orderid:
  410. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  411. type: integer
  412. orderprice:
  413. description: 委托价格
  414. type: number
  415. orderqty:
  416. description: 委托数量
  417. type: integer
  418. ordertime:
  419. description: 委托时间
  420. type: string
  421. ordertotalprice:
  422. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  423. type: number
  424. ordertotalweight:
  425. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  426. type: integer
  427. totaltotalprice:
  428. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  429. type: number
  430. tradeprice:
  431. description: 成交价格
  432. type: number
  433. tradeqty:
  434. description: 成交数量
  435. type: integer
  436. required:
  437. - accountid
  438. - goodsid
  439. - marketid
  440. - orderid
  441. - orderqty
  442. - ordertime
  443. - tradeprice
  444. - tradeqty
  445. type: object
  446. cptrade.QueryCPTradeOrderDetailRsq:
  447. properties:
  448. accountid:
  449. description: 账户ID[报价币种]
  450. type: integer
  451. buildtype:
  452. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  453. type: integer
  454. buyorsell:
  455. description: 买卖 - 0:买 1:卖
  456. type: integer
  457. cancelorderid:
  458. description: 撤单单号(撤单时填写)
  459. type: integer
  460. cancelqty:
  461. description: 撤单数量
  462. type: integer
  463. clientordertime:
  464. description: 客户端委托时间
  465. type: string
  466. clientticket:
  467. description: 客户端流水号
  468. type: string
  469. clienttype:
  470. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  471. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  472. type: integer
  473. closeexchagechargevalue:
  474. description: 平仓交易所手续费设置值
  475. type: number
  476. closefeealgorithm:
  477. description: 平仓手续费收取方式 1:比率 2:固定
  478. type: integer
  479. closefreezecharge:
  480. description: 平仓冻结手续费(先建后平操作,需要记录)
  481. type: number
  482. closememberchargevalue:
  483. description: 平仓会员手续费设置值
  484. type: number
  485. closeqty:
  486. description: 平仓数量(先建后平操作 需要记录)
  487. type: integer
  488. closetradeqty:
  489. description: 平仓成交数量(先建后平操作,需要记录)
  490. type: integer
  491. closeunfreezecharge:
  492. description: 平仓解冻手续费(先建后平操作,需要记录)
  493. type: number
  494. delistingtype:
  495. description: 摘牌类型 - 1:价格最优 2:点选成交
  496. type: integer
  497. freezecharge:
  498. description: 冻结手续费
  499. type: number
  500. freezemargin:
  501. description: 冻结保证金(冻结交易金额)
  502. type: number
  503. gcaccountid:
  504. description: 账户ID[合约币种]
  505. type: integer
  506. goodsid:
  507. description: 商品ID
  508. type: integer
  509. isconfirmexercise:
  510. description: 是否确认行权- 0:否 1:是
  511. type: integer
  512. ispreexercise:
  513. description: 是否预申报- 0:否 1:是
  514. type: integer
  515. listingselecttype:
  516. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  517. type: integer
  518. marginalgorithm:
  519. description: 保证金收取方式 1:比率 2:固定
  520. type: integer
  521. marginvalue:
  522. description: 即市保证金设置值
  523. type: number
  524. marketid:
  525. description: 市场ID
  526. type: integer
  527. marketmaxsub:
  528. description: 市价最大偏移范围
  529. type: number
  530. memberuserid:
  531. description: 所属会员UserID
  532. type: integer
  533. openexchagechargevalue:
  534. description: 建仓交易所手续费设置值
  535. type: number
  536. openfeealgorithm:
  537. description: 建仓手续费收取方式 1:比率 2:固定
  538. type: integer
  539. openfreezecharge:
  540. description: 开仓冻结手续费(先建后平操作,需要记录)
  541. type: number
  542. openmemberchargevalue:
  543. description: 建仓会员手续费设置值
  544. type: number
  545. openqty:
  546. description: 开仓数量(先建后平操作,需要记录)
  547. type: integer
  548. opentradeqty:
  549. description: 开仓成交数量(先建后平操作,需要记录)
  550. type: integer
  551. openunfreezecharge:
  552. description: 开仓解冻手续费(先建后平操作,需要记录)
  553. type: number
  554. operatetype:
  555. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  556. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  557. 15:管理端协议转让
  558. type: integer
  559. operatorid:
  560. description: 登录账号(LoginID)
  561. type: integer
  562. optiontype:
  563. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  564. type: integer
  565. orderprice:
  566. description: 委托价格
  567. type: number
  568. orderqty:
  569. description: 委托数量
  570. type: integer
  571. ordersrc:
  572. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  573. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  574. type: integer
  575. orderstatus:
  576. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  577. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  578. 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. goodscode:
  856. description: 商品代码
  857. type: string
  858. goodsid:
  859. description: 交易合约ID
  860. type: integer
  861. goodsname:
  862. description: 商品名称
  863. type: string
  864. marketid:
  865. description: 市场ID
  866. type: integer
  867. mindeliveryqty:
  868. description: 最小交割系数(K)
  869. type: integer
  870. p2deliveryprice:
  871. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  872. type: number
  873. p2deliveryratio:
  874. description: P2合约系数(p)
  875. type: integer
  876. p2goodsid:
  877. description: P2合约ID
  878. type: integer
  879. p2pricemode:
  880. description: P2合约价格方式 - 1:商品价 2:固定值
  881. type: integer
  882. pdeliveryprice:
  883. description: P合约价格(商品价时填写0,固定值时填写固定值)
  884. type: number
  885. pdeliveryratio:
  886. description: P合约系数(n)
  887. type: integer
  888. pgoodsid:
  889. description: P合约ID
  890. type: integer
  891. ppricemode:
  892. description: P合约价格方式 - 1:商品价 2:固定值
  893. type: integer
  894. rratio:
  895. description: 兑换系数(R)
  896. type: integer
  897. rratio1:
  898. description: 兑换系数(交易合约)(R1)
  899. type: integer
  900. rratio2:
  901. description: 兑换系数(仓单标准)(R2)
  902. type: integer
  903. selltemplateid:
  904. description: 卖履约计划模板ID
  905. type: integer
  906. wrstandardid:
  907. description: 仓单标准ID
  908. type: integer
  909. xdeliveryratio:
  910. description: 交易合约系数(m)
  911. type: integer
  912. required:
  913. - begindate
  914. - enddate
  915. - goodsid
  916. - mindeliveryqty
  917. - xdeliveryratio
  918. type: object
  919. ermcp.ExposureDetailRsp:
  920. properties:
  921. areauserid:
  922. description: 机构ID
  923. type: integer
  924. changeQty:
  925. description: 套保变动量
  926. type: number
  927. contracttype:
  928. description: 现货合同类型 - 1:采购 -1:销售
  929. type: integer
  930. convertfactor:
  931. description: 标仓系数
  932. type: number
  933. convertratio:
  934. description: 套保系数
  935. type: number
  936. createtime:
  937. description: 时间
  938. type: string
  939. enumdicname:
  940. description: 现货商品单位名称
  941. type: string
  942. logtype:
  943. description: 类型 - 1:套保计划 2:现货合同
  944. type: integer
  945. middlegoodsId:
  946. description: 套保商品id
  947. type: integer
  948. middlegoodscode:
  949. description: 套保商品代码
  950. type: string
  951. middlegoodsname:
  952. description: 套保商品名称
  953. type: string
  954. qty:
  955. description: 数量
  956. type: number
  957. relateNo:
  958. description: 现货合同/套保计划编号
  959. type: string
  960. wrstandardcode:
  961. description: 现货商品代码
  962. type: string
  963. wrstandardid:
  964. description: 现货商品ID
  965. type: integer
  966. wrstandardname:
  967. description: 现货商品名称
  968. type: string
  969. type: object
  970. ermcp.ExposureHedgePosDetailRsp:
  971. properties:
  972. buyorsell:
  973. description: 买卖方向 0-买 1-卖
  974. type: integer
  975. channelbuildtype:
  976. description: 开平方向 1-建仓 2-平仓
  977. type: integer
  978. goodscode:
  979. description: 商品代码
  980. type: string
  981. goodsname:
  982. description: 商品名称
  983. type: string
  984. hedgegoodsid:
  985. description: 商品id
  986. type: integer
  987. tradeqty:
  988. description: 数量(成交数量)
  989. type: integer
  990. tradetime:
  991. description: 时间(成交时间)
  992. type: string
  993. type: object
  994. ermcp.ExposureHedgePositionRsp:
  995. properties:
  996. accountid:
  997. description: 资金账号[外部母账户]
  998. type: integer
  999. curbuyposition:
  1000. description: 期末买头寸
  1001. type: integer
  1002. cursellposition:
  1003. description: 期末卖头寸
  1004. type: integer
  1005. curtdbuyposition:
  1006. description: 期末今日买头寸
  1007. type: integer
  1008. curtdsellposition:
  1009. description: 期末今日卖头寸
  1010. type: integer
  1011. curydbuyposition:
  1012. description: 期末上日买头寸
  1013. type: integer
  1014. curydsellposition:
  1015. description: 期末上日卖头寸
  1016. type: integer
  1017. decreaseqty:
  1018. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1019. type: integer
  1020. fretdbuyposition:
  1021. description: 冻结今日买头寸
  1022. type: integer
  1023. fretdsellposition:
  1024. description: 冻结今日卖头寸
  1025. type: integer
  1026. freydbuyposition:
  1027. description: 冻结上日买头寸
  1028. type: integer
  1029. freydsellposition:
  1030. description: 冻结上日卖头寸
  1031. type: integer
  1032. goodscode:
  1033. description: 商品代码
  1034. type: string
  1035. goodsid:
  1036. description: 商品id
  1037. type: integer
  1038. goodsname:
  1039. description: 商品名称
  1040. type: string
  1041. hedgeaccountcode:
  1042. description: 对冲账号
  1043. type: string
  1044. hedgegoodsid:
  1045. description: 对冲合约ID
  1046. type: integer
  1047. increaseqty:
  1048. description: 增加数量 = 期末买头寸 - 期初买头寸
  1049. type: integer
  1050. marketid:
  1051. description: 市场ID
  1052. type: integer
  1053. relateduserid:
  1054. description: 关联用户id
  1055. type: integer
  1056. totalcurqty:
  1057. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1058. type: integer
  1059. totalydqty:
  1060. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1061. type: integer
  1062. tradedate:
  1063. description: 交易日(yyyyMMdd)
  1064. type: string
  1065. ydbuyposition:
  1066. description: 期初买头寸
  1067. type: integer
  1068. ydsellposition:
  1069. description: 期初卖头寸
  1070. type: integer
  1071. type: object
  1072. ermcp.ExposureSpotDetailRsp:
  1073. properties:
  1074. contracttype:
  1075. description: 合同类型 1-采购 -1-销售
  1076. type: integer
  1077. createtime:
  1078. description: 创建时间
  1079. type: string
  1080. enumdicname:
  1081. description: 现货商品单位名称
  1082. type: string
  1083. logtype:
  1084. description: 记录类型 1-套保 2-现货合同
  1085. type: integer
  1086. qty:
  1087. description: 数量
  1088. type: number
  1089. recordname:
  1090. description: 类型名称
  1091. type: string
  1092. relatedid:
  1093. description: 套保计划ID/现货合同ID
  1094. type: string
  1095. relatedno:
  1096. description: 编号
  1097. type: string
  1098. strtime:
  1099. description: 时间
  1100. type: string
  1101. wrstandardcode:
  1102. description: 现货商品代码
  1103. type: string
  1104. wrstandardname:
  1105. description: 现货商品名称
  1106. type: string
  1107. type: object
  1108. ermcp.ExposureSpotRsp:
  1109. properties:
  1110. areauserid:
  1111. description: 所属机构
  1112. type: integer
  1113. decreaseqty:
  1114. description: 减少数量=-(销售已定价数量+采购计划数量)
  1115. type: number
  1116. increaseqty:
  1117. description: 增加数量=销售计划数量+采购已定价数量
  1118. type: number
  1119. oritoalspotqty:
  1120. description: 昨日数量
  1121. type: number
  1122. totalspotqty:
  1123. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1124. type: number
  1125. updatetime:
  1126. description: 更新时间
  1127. type: string
  1128. wrstandardcode:
  1129. description: 现货品种代码
  1130. type: string
  1131. wrstandardid:
  1132. description: 现货商品ID
  1133. type: integer
  1134. wrstandardname:
  1135. description: 现货品种
  1136. type: string
  1137. type: object
  1138. ermcp.HisExposureRsp:
  1139. properties:
  1140. data:
  1141. description: 历史敞口
  1142. items:
  1143. $ref: '#/definitions/models.ErmcpHisExposure'
  1144. type: array
  1145. enumdicname:
  1146. description: 单位名称
  1147. type: string
  1148. middlegoodscode:
  1149. description: 套保品种代码
  1150. type: string
  1151. middlegoodsid:
  1152. description: 套保品种ID
  1153. type: integer
  1154. middlegoodsname:
  1155. description: 套保品种名称
  1156. type: string
  1157. type: object
  1158. ermcp.PendingAuditCntRsp:
  1159. properties:
  1160. areastockqty:
  1161. description: '待审核数量: 库存申请'
  1162. type: integer
  1163. businessdjqty:
  1164. description: '待审核数量: 点价'
  1165. type: integer
  1166. businessfpqty:
  1167. description: '待审核数量: 发票'
  1168. type: integer
  1169. businessjsqty:
  1170. description: '待审核数量: 结算'
  1171. type: integer
  1172. businesskxqty:
  1173. description: '待审核数量: 款项'
  1174. type: integer
  1175. hedgeplanqty:
  1176. description: '待审核数量: 套保计划'
  1177. type: integer
  1178. spotcontractqty:
  1179. description: '待审核数量: 现货合同'
  1180. type: integer
  1181. userqty:
  1182. description: '待审核数量: 用户'
  1183. type: integer
  1184. type: object
  1185. ermcp.QryAreaStockApplyRsp:
  1186. properties:
  1187. applyid:
  1188. description: 申请人
  1189. type: integer
  1190. applyname:
  1191. description: 申请人名称
  1192. type: string
  1193. applyremark:
  1194. description: 申请备注
  1195. type: string
  1196. applysrc:
  1197. description: 申请来源 - 1:管理端 2:终端
  1198. type: integer
  1199. applystatus:
  1200. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1201. type: integer
  1202. applytime:
  1203. description: 申请时间
  1204. type: string
  1205. auditid:
  1206. description: 审核人
  1207. type: integer
  1208. auditname:
  1209. description: 审核人名称
  1210. type: string
  1211. auditremark:
  1212. description: 审核备注
  1213. type: string
  1214. auditsrc:
  1215. description: 审核来源 - 1:管理端 2:终端
  1216. type: integer
  1217. audittime:
  1218. description: 审核时间
  1219. type: string
  1220. audittradedate:
  1221. description: 审核交易日(yyyyMMdd)
  1222. type: string
  1223. brandname:
  1224. description: 品牌名称
  1225. type: string
  1226. buyuserid:
  1227. description: 采购方userid
  1228. type: integer
  1229. buyusername:
  1230. description: 采购方名称
  1231. type: string
  1232. contractno:
  1233. description: 合同编号
  1234. type: string
  1235. contractqty:
  1236. description: 合同量
  1237. type: number
  1238. contracttype:
  1239. description: 现货合同类型 - 1:采购 -1:销售
  1240. type: integer
  1241. deliverygoodsid:
  1242. description: 现货品种ID
  1243. type: integer
  1244. enumdicname:
  1245. description: 现货商品单位名称
  1246. type: string
  1247. inoutapplyid:
  1248. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  1249. type: string
  1250. inouttype:
  1251. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  1252. type: integer
  1253. modelname:
  1254. description: 型号名称
  1255. type: string
  1256. pricetype:
  1257. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1258. type: integer
  1259. qty:
  1260. description: 数量
  1261. type: number
  1262. selluserid:
  1263. description: 销售方userid
  1264. type: integer
  1265. sellusername:
  1266. description: 销售方名称
  1267. type: string
  1268. spotcontractid:
  1269. description: 关联现货合同ID
  1270. type: string
  1271. spotgoodsbrandid:
  1272. description: 现货品牌ID
  1273. type: integer
  1274. spotgoodsmodelid:
  1275. description: 现货型号ID
  1276. type: integer
  1277. unitid:
  1278. description: 单位id
  1279. type: integer
  1280. userid:
  1281. description: 机构ID
  1282. type: integer
  1283. warehousecode:
  1284. description: 仓库代码
  1285. type: string
  1286. warehouseinfoid:
  1287. description: 现货仓库ID
  1288. type: string
  1289. warehousename:
  1290. description: 仓库名称
  1291. type: string
  1292. warehousetype:
  1293. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 现货商品代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 现货商品ID
  1300. type: string
  1301. wrstandardname:
  1302. description: 现货商品名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryAvalidGPRsp:
  1306. properties:
  1307. goodsgroupid:
  1308. description: 期货品种id
  1309. type: integer
  1310. goodsgroupname:
  1311. description: 期货品种名称
  1312. type: string
  1313. goodunitid:
  1314. description: 品种单位id
  1315. type: integer
  1316. goodunitname:
  1317. description: 品种单位名称
  1318. type: string
  1319. outergroupcode:
  1320. description: 期货品种代码
  1321. type: string
  1322. type: object
  1323. ermcp.QryBusinessDjRsp:
  1324. properties:
  1325. amount:
  1326. description: 点价金额=(点价价格+升贴水)*点价数量
  1327. type: number
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deliverygoodscode:
  1365. description: 现货品种代码
  1366. type: string
  1367. deliverygoodsid:
  1368. description: 现货商品ID
  1369. type: integer
  1370. deliverygoodsname:
  1371. description: 现货品种名称
  1372. type: string
  1373. enumdicname:
  1374. description: 单位名称
  1375. type: string
  1376. goodscode:
  1377. description: 点价合约
  1378. type: string
  1379. goodsname:
  1380. description: 商品名称
  1381. type: string
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. pricedPrice:
  1389. description: 点价价格(非必填)
  1390. type: number
  1391. pricedQty:
  1392. description: 点价数量(非必填)
  1393. type: number
  1394. pricemove:
  1395. description: 升贴水
  1396. type: number
  1397. pricetype:
  1398. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1399. type: integer
  1400. relatedid:
  1401. description: 现货合同ID
  1402. type: string
  1403. sellusername:
  1404. description: 销售方名字
  1405. type: string
  1406. userid:
  1407. description: 用户ID
  1408. type: integer
  1409. wrstandardcode:
  1410. description: 品类代码
  1411. type: string
  1412. wrstandardid:
  1413. description: 品类id
  1414. type: integer
  1415. wrstandardname:
  1416. description: 品类名称
  1417. type: string
  1418. type: object
  1419. ermcp.QryBussinessFpRsp:
  1420. properties:
  1421. applyid:
  1422. description: 申请人
  1423. type: string
  1424. applyname:
  1425. description: 申请人名称
  1426. type: string
  1427. applystatus:
  1428. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1429. type: integer
  1430. applytime:
  1431. description: 申请时间
  1432. type: string
  1433. attachurl:
  1434. description: 附件
  1435. type: string
  1436. auditid:
  1437. description: 审核人ID
  1438. type: string
  1439. auditname:
  1440. description: 审核人名称
  1441. type: string
  1442. audittime:
  1443. description: 审核时间
  1444. type: string
  1445. buyusername:
  1446. description: 采购方名称
  1447. type: string
  1448. contractno:
  1449. description: 合同编号
  1450. type: string
  1451. contractstatus:
  1452. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1453. type: integer
  1454. contracttype:
  1455. description: 现货合同类型 - 1:采购 -1:销售
  1456. type: integer
  1457. deliverygoodscode:
  1458. description: 现货品种代码
  1459. type: string
  1460. deliverygoodsid:
  1461. description: 现货商品ID
  1462. type: integer
  1463. deliverygoodsname:
  1464. description: 现货品种名称
  1465. type: string
  1466. enumdicname:
  1467. description: 单位名称
  1468. type: string
  1469. goodscode:
  1470. description: 点价合约
  1471. type: string
  1472. goodsname:
  1473. description: 商品名称
  1474. type: string
  1475. invoiceAmount:
  1476. description: 已开收票金额(销售为开票,采购为收票)
  1477. type: number
  1478. operateapplyid:
  1479. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1480. type: string
  1481. operateapplytype:
  1482. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1483. type: integer
  1484. pricemove:
  1485. description: 升贴水
  1486. type: number
  1487. pricetype:
  1488. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1489. type: integer
  1490. relatedid:
  1491. description: 现货合同ID
  1492. type: string
  1493. sellusername:
  1494. description: 销售方名字
  1495. type: string
  1496. userid:
  1497. description: 用户ID
  1498. type: integer
  1499. wrstandardcode:
  1500. description: 品类代码
  1501. type: string
  1502. wrstandardid:
  1503. description: 品类id
  1504. type: integer
  1505. wrstandardname:
  1506. description: 品类名称
  1507. type: string
  1508. type: object
  1509. ermcp.QryBussinessJsExRsp:
  1510. properties:
  1511. applyid:
  1512. description: 申请人
  1513. type: string
  1514. applyname:
  1515. description: 申请人名称
  1516. type: string
  1517. applystatus:
  1518. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1519. type: integer
  1520. applytime:
  1521. description: 申请时间
  1522. type: string
  1523. attachurl:
  1524. description: 附件
  1525. type: string
  1526. auditid:
  1527. description: 审核人ID
  1528. type: string
  1529. auditname:
  1530. description: 审核人名称
  1531. type: string
  1532. audittime:
  1533. description: 审核时间
  1534. type: string
  1535. buyusername:
  1536. description: 采购方名称
  1537. type: string
  1538. contractno:
  1539. description: 合同编号
  1540. type: string
  1541. contractstatus:
  1542. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1543. type: integer
  1544. contracttype:
  1545. description: 现货合同类型 - 1:采购 -1:销售
  1546. type: integer
  1547. deliverygoodscode:
  1548. description: 现货品种代码
  1549. type: string
  1550. deliverygoodsid:
  1551. description: 现货商品ID
  1552. type: integer
  1553. deliverygoodsname:
  1554. description: 现货品种名称
  1555. type: string
  1556. enumdicname:
  1557. description: 单位名称
  1558. type: string
  1559. goodscode:
  1560. description: 点价合约
  1561. type: string
  1562. goodsname:
  1563. description: 商品名称
  1564. type: string
  1565. operateapplyid:
  1566. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1567. type: string
  1568. operateapplytype:
  1569. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1570. type: integer
  1571. pricemove:
  1572. description: 升贴水
  1573. type: number
  1574. pricetype:
  1575. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1576. type: integer
  1577. reckontype:
  1578. description: 结算类型
  1579. type: string
  1580. reckonvalue:
  1581. description: 值
  1582. type: number
  1583. relatedid:
  1584. description: 现货合同ID
  1585. type: string
  1586. sellusername:
  1587. description: 销售方名字
  1588. type: string
  1589. userid:
  1590. description: 用户ID
  1591. type: integer
  1592. wrstandardcode:
  1593. description: 品类代码
  1594. type: string
  1595. wrstandardid:
  1596. description: 品类id
  1597. type: integer
  1598. wrstandardname:
  1599. description: 品类名称
  1600. type: string
  1601. type: object
  1602. ermcp.QryBussinessJsRsp:
  1603. properties:
  1604. addmargin:
  1605. description: 追加保证金(非必填)
  1606. type: number
  1607. applyid:
  1608. description: 申请人
  1609. type: string
  1610. applyname:
  1611. description: 申请人名称
  1612. type: string
  1613. applystatus:
  1614. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1615. type: integer
  1616. applytime:
  1617. description: 申请时间
  1618. type: string
  1619. attachurl:
  1620. description: 附件
  1621. type: string
  1622. auditid:
  1623. description: 审核人ID
  1624. type: string
  1625. auditname:
  1626. description: 审核人名称
  1627. type: string
  1628. audittime:
  1629. description: 审核时间
  1630. type: string
  1631. buyusername:
  1632. description: 采购方名称
  1633. type: string
  1634. contractno:
  1635. description: 合同编号
  1636. type: string
  1637. contractstatus:
  1638. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1639. type: integer
  1640. contracttype:
  1641. description: 现货合同类型 - 1:采购 -1:销售
  1642. type: integer
  1643. decmargin:
  1644. description: 减少保证金(非必填)
  1645. type: number
  1646. deliverygoodscode:
  1647. description: 现货品种代码
  1648. type: string
  1649. deliverygoodsid:
  1650. description: 现货商品ID
  1651. type: integer
  1652. deliverygoodsname:
  1653. description: 现货品种名称
  1654. type: string
  1655. enumdicname:
  1656. description: 单位名称
  1657. type: string
  1658. goodscode:
  1659. description: 点价合约
  1660. type: string
  1661. goodsname:
  1662. description: 商品名称
  1663. type: string
  1664. operateapplyid:
  1665. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1666. type: string
  1667. operateapplytype:
  1668. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1669. type: integer
  1670. pricemove:
  1671. description: 升贴水
  1672. type: number
  1673. pricetype:
  1674. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1675. type: integer
  1676. reckonadjustamount:
  1677. description: 结算调整金额(非必填)
  1678. type: number
  1679. reckonosamount:
  1680. description: 结算溢短金额(非必填)
  1681. type: number
  1682. reckonotheramount:
  1683. description: 结算其他费用(非必填)
  1684. type: number
  1685. reckonrealqty:
  1686. description: 结算实际数量(非必填)
  1687. type: number
  1688. relatedid:
  1689. description: 现货合同ID
  1690. type: string
  1691. sellusername:
  1692. description: 销售方名字
  1693. type: string
  1694. userid:
  1695. description: 用户ID
  1696. type: integer
  1697. wrstandardcode:
  1698. description: 品类代码
  1699. type: string
  1700. wrstandardid:
  1701. description: 品类id
  1702. type: integer
  1703. wrstandardname:
  1704. description: 品类名称
  1705. type: string
  1706. type: object
  1707. ermcp.QryBussinessKxRsp:
  1708. properties:
  1709. applyid:
  1710. description: 申请人
  1711. type: string
  1712. applyname:
  1713. description: 申请人名称
  1714. type: string
  1715. applystatus:
  1716. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1717. type: integer
  1718. applytime:
  1719. description: 申请时间
  1720. type: string
  1721. attachurl:
  1722. description: 附件
  1723. type: string
  1724. auditid:
  1725. description: 审核人ID
  1726. type: string
  1727. auditname:
  1728. description: 审核人名称
  1729. type: string
  1730. audittime:
  1731. description: 审核时间
  1732. type: string
  1733. buyusername:
  1734. description: 采购方名称
  1735. type: string
  1736. contractno:
  1737. description: 合同编号
  1738. type: string
  1739. contractstatus:
  1740. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1741. type: integer
  1742. contracttype:
  1743. description: 现货合同类型 - 1:采购 -1:销售
  1744. type: integer
  1745. deductamount:
  1746. description: 退款(非必填)
  1747. type: number
  1748. deliverygoodscode:
  1749. description: 现货品种代码
  1750. type: string
  1751. deliverygoodsid:
  1752. description: 现货商品ID
  1753. type: integer
  1754. deliverygoodsname:
  1755. description: 现货品种名称
  1756. type: string
  1757. enumdicname:
  1758. description: 单位名称
  1759. type: string
  1760. goodscode:
  1761. description: 点价合约
  1762. type: string
  1763. goodsname:
  1764. description: 商品名称
  1765. type: string
  1766. kxtype:
  1767. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1768. type: integer
  1769. operateapplyid:
  1770. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1771. type: string
  1772. operateapplytype:
  1773. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1774. type: integer
  1775. payamount:
  1776. description: 收付款(非必填)
  1777. type: number
  1778. pricemove:
  1779. description: 升贴水
  1780. type: number
  1781. pricetype:
  1782. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1783. type: integer
  1784. relatedid:
  1785. description: 现货合同ID
  1786. type: string
  1787. sellusername:
  1788. description: 销售方名字
  1789. type: string
  1790. userid:
  1791. description: 用户ID
  1792. type: integer
  1793. wrstandardcode:
  1794. description: 品类代码
  1795. type: string
  1796. wrstandardid:
  1797. description: 品类id
  1798. type: integer
  1799. wrstandardname:
  1800. description: 品类名称
  1801. type: string
  1802. type: object
  1803. ermcp.QryErmcpRsp:
  1804. properties:
  1805. accountname:
  1806. description: 账户名称
  1807. type: string
  1808. attachment:
  1809. description: 附件
  1810. type: string
  1811. audittime:
  1812. description: 审核时间
  1813. type: string
  1814. brandname:
  1815. description: 品牌名称
  1816. type: string
  1817. contracctstatus:
  1818. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1819. type: integer
  1820. contractmargin:
  1821. description: 合同保证金
  1822. type: number
  1823. contractno:
  1824. description: 合同编号
  1825. type: string
  1826. contracttype:
  1827. description: 合同类型 1-采购, -1-销售
  1828. type: integer
  1829. convertfactor:
  1830. description: 标仓系数
  1831. type: number
  1832. createtime:
  1833. description: 创建时间
  1834. type: string
  1835. daikaiamount:
  1836. description: 应收(开)票额
  1837. type: number
  1838. deliveryenddate:
  1839. description: 交割结束日
  1840. type: string
  1841. deliverygoodscode:
  1842. description: 现货品种代码
  1843. type: string
  1844. deliverygoodsid:
  1845. description: 现货商品ID
  1846. type: integer
  1847. deliverygoodsname:
  1848. description: 现货品种名称
  1849. type: string
  1850. deliverystartdate:
  1851. description: 交割开始日
  1852. type: string
  1853. enddate:
  1854. description: 点价结束日
  1855. type: string
  1856. enumdicname:
  1857. description: 单位名称
  1858. type: string
  1859. goodscode:
  1860. description: 点价商品代码
  1861. type: string
  1862. goodsid:
  1863. description: 点价商品ID
  1864. type: integer
  1865. goodsname:
  1866. description: 点价商品名称
  1867. type: string
  1868. invoiceamount:
  1869. description: 已开票额
  1870. type: number
  1871. loanamount:
  1872. description: 贷款总额=已定价额+调整金额
  1873. type: number
  1874. margin:
  1875. description: 保证金
  1876. type: number
  1877. modelname:
  1878. description: 型号名称
  1879. type: string
  1880. payamount:
  1881. description: 已收付额(收款或付款)
  1882. type: number
  1883. preinvoiceamount:
  1884. description: 预收(开)票额
  1885. type: number
  1886. prepayamount:
  1887. description: 预收付额
  1888. type: number
  1889. price:
  1890. description: 价格
  1891. type: number
  1892. pricedamount:
  1893. description: 已定价额
  1894. type: number
  1895. pricedavg:
  1896. description: 已点均价
  1897. type: number
  1898. pricedqty:
  1899. description: 已定价量
  1900. type: number
  1901. pricemove:
  1902. description: 升贴水
  1903. type: number
  1904. pricetype:
  1905. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1906. type: integer
  1907. producttype:
  1908. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1909. type: integer
  1910. qty:
  1911. description: 合同量
  1912. type: number
  1913. reckonadjustamount:
  1914. description: 调整金额
  1915. type: number
  1916. reckonedamount:
  1917. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  1918. type: number
  1919. reckonotheramount:
  1920. description: 其它费用
  1921. type: number
  1922. reckonrealqty:
  1923. description: 已确定量
  1924. type: number
  1925. remark:
  1926. description: 备注
  1927. type: string
  1928. spotcontractid:
  1929. description: 合同ID
  1930. type: string
  1931. spotgoodsbrandid:
  1932. description: 现货品牌ID
  1933. type: integer
  1934. spotgoodsdesc:
  1935. description: 商品型号(商品规格)
  1936. type: string
  1937. spotgoodsmodelid:
  1938. description: 现货型号ID
  1939. type: integer
  1940. startdate:
  1941. description: 点价开始日
  1942. type: string
  1943. totalamount:
  1944. description: 合计总额
  1945. type: number
  1946. unpayamount:
  1947. description: 应收付款额(应支付或应收款)
  1948. type: number
  1949. unpricedqty:
  1950. description: 未定价量
  1951. type: number
  1952. unsureqty:
  1953. description: 未确定量
  1954. type: number
  1955. userid:
  1956. description: 用户ID
  1957. type: integer
  1958. wrstandardcode:
  1959. description: 现货商品代码
  1960. type: string
  1961. wrstandardid:
  1962. description: 现货商品ID
  1963. type: integer
  1964. wrstandardname:
  1965. description: 现货商品名称
  1966. type: string
  1967. type: object
  1968. ermcp.QryGGCovertCfgRsp:
  1969. properties:
  1970. convertratio:
  1971. description: 折算系数
  1972. type: number
  1973. destgoodsgroupid:
  1974. description: 目标品种ID
  1975. type: integer
  1976. dstcode:
  1977. description: 目录品种代码
  1978. type: string
  1979. dstexchangecode:
  1980. description: 目标期货交易所
  1981. type: string
  1982. dstname:
  1983. description: 目标品种名称
  1984. type: string
  1985. dstunitid:
  1986. description: 目标品种单位ID
  1987. type: integer
  1988. dstunitidname:
  1989. description: 目标品种单位名称
  1990. type: string
  1991. modifytime:
  1992. description: 修改时间
  1993. type: string
  1994. srccode:
  1995. description: 源品种代码
  1996. type: string
  1997. srcexchangecode:
  1998. description: 源期货交易所
  1999. type: string
  2000. srcgoodsgroupid:
  2001. description: 源品种ID
  2002. type: integer
  2003. srcname:
  2004. description: 源品种名称
  2005. type: string
  2006. srcunitid:
  2007. description: 源品种单位ID
  2008. type: integer
  2009. srcunitidname:
  2010. description: 源品种单位名称
  2011. type: string
  2012. type: object
  2013. ermcp.QryHedgePlanRsp:
  2014. properties:
  2015. areauserid:
  2016. description: 用户ID
  2017. type: integer
  2018. audittime:
  2019. description: 审核时间
  2020. type: string
  2021. contracttype:
  2022. description: 计划类型 - 1:采购 -1:销售
  2023. type: integer
  2024. convertfactor:
  2025. description: 标仓系数
  2026. type: number
  2027. createtime:
  2028. description: 创建时间
  2029. type: string
  2030. deliverygoodsid:
  2031. description: 现货品种ID
  2032. type: integer
  2033. deliverygoodsname:
  2034. description: 现货品种名称
  2035. type: string
  2036. enumdicname:
  2037. description: 单位名称
  2038. type: string
  2039. hedgeplanid:
  2040. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2041. type: string
  2042. hedgeplanno:
  2043. description: 套保计划编号(名称)
  2044. type: string
  2045. hedgeplanstatus:
  2046. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2047. type: integer
  2048. planqty:
  2049. description: 计划数量
  2050. type: number
  2051. plantime:
  2052. description: 计划时间
  2053. type: string
  2054. producttype:
  2055. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2056. type: integer
  2057. remark:
  2058. description: 备注
  2059. type: string
  2060. spotgoodsdesc:
  2061. description: 商品型号
  2062. type: string
  2063. unitid:
  2064. description: 单位id
  2065. type: integer
  2066. updatetime:
  2067. description: 更新时间
  2068. type: string
  2069. wrstandardid:
  2070. description: 现货商品ID
  2071. type: integer
  2072. wrstandardname:
  2073. description: 现货商品名称
  2074. type: string
  2075. type: object
  2076. ermcp.QryMGChangeLogRsp:
  2077. properties:
  2078. aftervalue:
  2079. description: 变更后
  2080. type: number
  2081. applyid:
  2082. description: 操作人
  2083. type: integer
  2084. applyname:
  2085. description: 操作人名称
  2086. type: string
  2087. applysrc:
  2088. description: 操作来源 - 1:管理端 2:终端
  2089. type: integer
  2090. beforevalue:
  2091. description: 变更前
  2092. type: number
  2093. changelogtype:
  2094. description: 变更流水类型 - 1:套保比率变更
  2095. type: integer
  2096. handlestatus:
  2097. description: 处理状态
  2098. type: integer
  2099. logdatetime:
  2100. description: 流水日期
  2101. type: string
  2102. logid:
  2103. description: 流水ID
  2104. type: integer
  2105. logremark:
  2106. description: 流水备注
  2107. type: string
  2108. middlegoodsid:
  2109. description: 套保品种ID
  2110. type: integer
  2111. tradedate:
  2112. description: 交易日(yyyyMMdd)
  2113. type: string
  2114. updatetime:
  2115. description: 更新时间
  2116. type: string
  2117. type: object
  2118. ermcp.QryMiddleGoodsDetailRsp:
  2119. properties:
  2120. cvList:
  2121. description: 期货品种折算列表
  2122. items:
  2123. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  2124. type: array
  2125. mg:
  2126. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  2127. description: 套保品种基本信息
  2128. wrcList:
  2129. description: 现货品种列表(现货商品折算配置)
  2130. items:
  2131. $ref: '#/definitions/models.WRSConverTDetail'
  2132. type: array
  2133. type: object
  2134. ermcp.QryMiddleGoodsRsp:
  2135. properties:
  2136. areauserid:
  2137. description: 机构用户ID
  2138. type: integer
  2139. createtime:
  2140. description: 修改时间
  2141. type: string
  2142. enumdicname:
  2143. description: 单位名称
  2144. type: string
  2145. evaluateratio:
  2146. description: 估价系数
  2147. type: number
  2148. goodsgroupid:
  2149. description: 关联期货品种ID
  2150. type: integer
  2151. isvalid:
  2152. description: 状态 0-无效(停用) 1-有效(正常)
  2153. type: integer
  2154. middlegoodscode:
  2155. description: 套保品种代码
  2156. type: string
  2157. middlegoodsid:
  2158. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2159. type: integer
  2160. middlegoodsname:
  2161. description: 套保品种名称
  2162. type: string
  2163. modifytime:
  2164. description: 修改时间
  2165. type: string
  2166. needhedgeratio:
  2167. description: 套保比率
  2168. type: number
  2169. qtydecimalplace:
  2170. description: 数量小数位
  2171. type: integer
  2172. relatedgoodsid:
  2173. description: 关联交易商品ID
  2174. type: integer
  2175. relatedgoodstype:
  2176. description: 关联商品类型 - 1:期货合约 2:现货品种
  2177. type: integer
  2178. remark:
  2179. description: 备注
  2180. type: string
  2181. type: object
  2182. ermcp.QryOPLogRsp:
  2183. properties:
  2184. aftervalue:
  2185. description: 变更后
  2186. type: number
  2187. applyid:
  2188. description: 操作人ID
  2189. type: string
  2190. applyname:
  2191. description: 操作人名称
  2192. type: string
  2193. beforevalue:
  2194. description: 变更前
  2195. type: number
  2196. biztype:
  2197. description: 业务类型 - 1:套保计划 2:现货合同
  2198. type: integer
  2199. contracttype:
  2200. description: 现货合同类型 - 1:采购 -1:销售
  2201. type: integer
  2202. logvalue:
  2203. description: 数值
  2204. type: number
  2205. operatelogtype:
  2206. description: 操作流水类型
  2207. type: integer
  2208. operatelogtypedesc:
  2209. description: 操作流水类型名称
  2210. type: string
  2211. relatedid:
  2212. description: 现货合同ID\套保计划
  2213. type: string
  2214. updatetime:
  2215. description: 更新时间
  2216. type: string
  2217. type: object
  2218. ermcp.QryReportDaySpotDetailRsp:
  2219. properties:
  2220. applyid:
  2221. description: 操作人
  2222. type: integer
  2223. applyname:
  2224. description: 操作人名称
  2225. type: string
  2226. biztype:
  2227. description: 业务类型 - 1:套保计划 2:现货合同
  2228. type: integer
  2229. brandname:
  2230. description: 品牌名称
  2231. type: string
  2232. contracttype:
  2233. description: 现货合同类型 - 1:采购 -1:销售
  2234. type: integer
  2235. enumdicName:
  2236. description: 单位名称
  2237. type: string
  2238. logdatetime:
  2239. description: 流水日期(时间)
  2240. type: string
  2241. logid:
  2242. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2243. type: string
  2244. logtypename:
  2245. description: 合同类型(名称)
  2246. type: string
  2247. logvalue:
  2248. description: 数值
  2249. type: string
  2250. modelname:
  2251. description: 型号名称
  2252. type: string
  2253. operatelogtype:
  2254. description: 操作流水类型 -
  2255. type: integer
  2256. optypename:
  2257. description: 流水类型名称
  2258. type: string
  2259. relatedid:
  2260. description: 现货合同ID\套保计划
  2261. type: string
  2262. relatedno:
  2263. description: 合同编号
  2264. type: string
  2265. tradedate:
  2266. description: 交易日(yyyyMMdd)
  2267. type: string
  2268. userid:
  2269. description: 机构ID
  2270. type: integer
  2271. wrstandardcode:
  2272. description: 现货商品代码
  2273. type: string
  2274. wrstandardid:
  2275. description: 现货商品ID
  2276. type: integer
  2277. wrstandardname:
  2278. description: 现货商品名称
  2279. type: string
  2280. type: object
  2281. ermcp.QryReportExposureDayRsp:
  2282. properties:
  2283. areauserid:
  2284. description: 所属机构
  2285. type: integer
  2286. buyfutureqty:
  2287. description: 买入期货数量
  2288. type: number
  2289. buyplanqty:
  2290. description: 采购计划数量
  2291. type: number
  2292. buypricedqty:
  2293. description: 采购合同已定价数量
  2294. type: number
  2295. diffFutuQty:
  2296. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2297. type: number
  2298. diffSpotQty:
  2299. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2300. type: number
  2301. enumdicname:
  2302. description: 单位名称
  2303. type: string
  2304. middlegoodscode:
  2305. description: 套保品种代码
  2306. type: string
  2307. middlegoodshedgeratio:
  2308. description: 应套保比例
  2309. type: number
  2310. middlegoodsid:
  2311. description: 套保品种ID
  2312. type: integer
  2313. middlegoodsname:
  2314. description: 套保品种名称
  2315. type: string
  2316. needhedgeexposoure:
  2317. description: 应套保敞口
  2318. type: number
  2319. needhedgeratio:
  2320. description: 应套保敞口比例
  2321. type: number
  2322. oriTotalFutuQty:
  2323. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2324. type: number
  2325. oriTotalSpotQty:
  2326. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2327. type: number
  2328. oribuyfutureqty:
  2329. description: 期初买入期货数量
  2330. type: number
  2331. oribuyplanqty:
  2332. description: 期初采购计划数量
  2333. type: number
  2334. oribuypricedqty:
  2335. description: 期初采购合同已定价数量
  2336. type: number
  2337. orisellfutureqty:
  2338. description: 期初卖出期货数量
  2339. type: number
  2340. orisellplanqty:
  2341. description: 期初销售计划数量
  2342. type: number
  2343. orisellpricedqty:
  2344. description: 期初销售合同已定价数量
  2345. type: number
  2346. reckondate:
  2347. description: 日照时期(yyyyMMdd)
  2348. type: string
  2349. sellfutureqty:
  2350. description: 卖出期货数量
  2351. type: number
  2352. sellplanqty:
  2353. description: 销售计划数量
  2354. type: number
  2355. sellpricedqty:
  2356. description: 销售合同已定价数量
  2357. type: number
  2358. totalexposure:
  2359. description: 总敞口
  2360. type: number
  2361. totalfutureqty:
  2362. description: 期货数量
  2363. type: number
  2364. totalhedgeratio:
  2365. description: 敞口比例
  2366. type: number
  2367. totalneedhedgeqty:
  2368. description: 期货应套保量
  2369. type: number
  2370. totalspotqty:
  2371. description: 现货数量
  2372. type: number
  2373. type: object
  2374. ermcp.QryReportFinanceDayRsp:
  2375. properties:
  2376. areauserid:
  2377. description: 所属机构
  2378. type: integer
  2379. collectinvoiceamount:
  2380. description: 今日开票金额
  2381. type: number
  2382. collectinvoicecount:
  2383. description: 今日开票笔数
  2384. type: integer
  2385. collectmoneyamount:
  2386. description: 今日收款金额
  2387. type: number
  2388. collectmoneycount:
  2389. description: 今日收款笔数
  2390. type: integer
  2391. payinvoiceamount:
  2392. description: 今日收票金额
  2393. type: number
  2394. payinvoicecount:
  2395. description: 今日收票笔数
  2396. type: integer
  2397. paymoneyamount:
  2398. description: 今日付款金额
  2399. type: number
  2400. paymoneycount:
  2401. description: 今日付款笔数
  2402. type: integer
  2403. reckondate:
  2404. description: 日照时期(yyyyMMdd)
  2405. type: string
  2406. updatetime:
  2407. description: 更新时间
  2408. type: string
  2409. type: object
  2410. ermcp.QryReportFinanceKxRsp:
  2411. properties:
  2412. applyid:
  2413. description: 操作人
  2414. type: integer
  2415. applyname:
  2416. description: 操作人名称
  2417. type: string
  2418. biztype:
  2419. description: 业务类型 - 1:套保计划 2:现货合同
  2420. type: integer
  2421. brandname:
  2422. description: 品牌名称
  2423. type: string
  2424. contracttype:
  2425. description: 现货合同类型 - 1:采购 -1:销售
  2426. type: integer
  2427. enumdicName:
  2428. description: 单位名称
  2429. type: string
  2430. logdatetime:
  2431. description: 流水日期(时间)
  2432. type: string
  2433. logid:
  2434. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2435. type: string
  2436. logtypename:
  2437. description: 合同类型(名称)
  2438. type: string
  2439. logvalue:
  2440. description: 数值
  2441. type: string
  2442. modelname:
  2443. description: 型号名称
  2444. type: string
  2445. operatelogtype:
  2446. description: 操作流水类型 -
  2447. type: integer
  2448. optypename:
  2449. description: 流水类型名称
  2450. type: string
  2451. relatedid:
  2452. description: 现货合同ID\套保计划
  2453. type: string
  2454. relatedno:
  2455. description: 合同编号
  2456. type: string
  2457. tradedate:
  2458. description: 交易日(yyyyMMdd)
  2459. type: string
  2460. userid:
  2461. description: 机构ID
  2462. type: integer
  2463. wrstandardcode:
  2464. description: 现货商品代码
  2465. type: string
  2466. wrstandardid:
  2467. description: 现货商品ID
  2468. type: integer
  2469. wrstandardname:
  2470. description: 现货商品名称
  2471. type: string
  2472. type: object
  2473. ermcp.QryReportFinanceMonRsp:
  2474. properties:
  2475. areauserid:
  2476. description: 所属机构【原值】
  2477. type: integer
  2478. collectinvoiceamount:
  2479. description: 今日开票金额【汇总】
  2480. type: number
  2481. collectinvoicecount:
  2482. description: 今日开票笔数【汇总】
  2483. type: integer
  2484. collectmoneyamount:
  2485. description: 今日收款金额【汇总】
  2486. type: number
  2487. collectmoneycount:
  2488. description: 今日收款笔数 【汇总】
  2489. type: integer
  2490. cycletime:
  2491. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2492. type: string
  2493. cycletype:
  2494. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2495. type: integer
  2496. dayFr:
  2497. description: 日报表明细
  2498. items:
  2499. $ref: '#/definitions/models.ErmcpReportDayFR'
  2500. type: array
  2501. payinvoiceamount:
  2502. description: 今日收票金额【汇总】
  2503. type: number
  2504. payinvoicecount:
  2505. description: 今日收票笔数【汇总】
  2506. type: integer
  2507. paymoneyamount:
  2508. description: 今日付款金额【汇总】
  2509. type: number
  2510. paymoneycount:
  2511. description: 今日付款笔数【汇总】
  2512. type: integer
  2513. updatetime:
  2514. description: 更新时间
  2515. type: string
  2516. type: object
  2517. ermcp.QryReportSpotDayRsp:
  2518. properties:
  2519. areauserid:
  2520. description: 所属机构T
  2521. type: integer
  2522. buyinqty:
  2523. description: 采购入库量
  2524. type: number
  2525. enumdicname:
  2526. description: 现货商品单位名称
  2527. type: string
  2528. reckondate:
  2529. description: 日照时期(yyyyMMdd)
  2530. type: string
  2531. selloutqty:
  2532. description: 销售出库量
  2533. type: number
  2534. todaybuyreckonqty:
  2535. description: 采购确定量
  2536. type: number
  2537. todaysellreckonqty:
  2538. description: 销售确定量
  2539. type: number
  2540. totalbuypricedqty:
  2541. description: 采购定价量 = 期末 - 期初
  2542. type: number
  2543. totalsellpricedqty:
  2544. description: 销售定价量 = 期末 - 期初
  2545. type: number
  2546. wrstandardcode:
  2547. description: 现货商品代码
  2548. type: string
  2549. wrstandardid:
  2550. description: 现货商品ID
  2551. type: integer
  2552. wrstandardname:
  2553. description: 现货商品名称
  2554. type: string
  2555. type: object
  2556. ermcp.QryReportSpotMonRsp:
  2557. properties:
  2558. areauserid:
  2559. description: 所属机构T
  2560. type: integer
  2561. buyinqty:
  2562. description: 采购入库量
  2563. type: number
  2564. cycletime:
  2565. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2566. type: string
  2567. cycletype:
  2568. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2569. type: integer
  2570. enumdicname:
  2571. description: 现货商品单位名称
  2572. type: string
  2573. selloutqty:
  2574. description: 销售出库量
  2575. type: number
  2576. todaybuyreckonqty:
  2577. description: 采购确定量
  2578. type: number
  2579. todaysellreckonqty:
  2580. description: 销售确定量
  2581. type: number
  2582. totalbuypricedqty:
  2583. description: 采购定价量 = 期末 - 期初
  2584. type: number
  2585. totalsellpricedqty:
  2586. description: 销售定价量 = 期末 - 期初
  2587. type: number
  2588. wrstandardcode:
  2589. description: 现货商品代码
  2590. type: string
  2591. wrstandardid:
  2592. description: 现货商品ID
  2593. type: integer
  2594. wrstandardname:
  2595. description: 现货商品名称
  2596. type: string
  2597. type: object
  2598. ermcp.QryReportSpotMonthDetailRsp:
  2599. properties:
  2600. areauserid:
  2601. description: 所属机构T
  2602. type: integer
  2603. buyinqty:
  2604. description: 采购入库量
  2605. type: number
  2606. enumdicname:
  2607. description: 现货商品单位名称
  2608. type: string
  2609. reckondate:
  2610. description: 日照时期(yyyyMMdd)
  2611. type: string
  2612. selloutqty:
  2613. description: 销售出库量
  2614. type: number
  2615. todaybuyreckonqty:
  2616. description: 采购确定量
  2617. type: number
  2618. todaysellreckonqty:
  2619. description: 销售确定量
  2620. type: number
  2621. totalbuypricedqty:
  2622. description: 采购定价量 = 期末 - 期初
  2623. type: number
  2624. totalsellpricedqty:
  2625. description: 销售定价量 = 期末 - 期初
  2626. type: number
  2627. wrstandardcode:
  2628. description: 现货商品代码
  2629. type: string
  2630. wrstandardid:
  2631. description: 现货商品ID
  2632. type: integer
  2633. wrstandardname:
  2634. description: 现货商品名称
  2635. type: string
  2636. type: object
  2637. ermcp.QrySpotContractRsp:
  2638. properties:
  2639. amount:
  2640. description: 金额 [1:一口价、3:暂定价]
  2641. type: number
  2642. attachment:
  2643. description: 附件
  2644. type: string
  2645. auditremark:
  2646. description: 审核意见
  2647. type: string
  2648. audittime:
  2649. description: 审核时间
  2650. type: string
  2651. brandname:
  2652. description: 品牌名称
  2653. type: string
  2654. buyuserid:
  2655. description: 采购方ID
  2656. type: integer
  2657. buyusername:
  2658. description: 采购方名称
  2659. type: string
  2660. contracctstatus:
  2661. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2662. type: integer
  2663. contractmargin:
  2664. description: 合同保证金
  2665. type: number
  2666. contractno:
  2667. description: 现货合同编号
  2668. type: string
  2669. contracttype:
  2670. description: 现货合同类型 - 1:采购 -1:销售
  2671. type: integer
  2672. convertfactor:
  2673. description: 标仓系数
  2674. type: number
  2675. createtime:
  2676. description: 创建时间
  2677. type: string
  2678. deliveryenddate:
  2679. description: 交收期(结束)
  2680. type: string
  2681. deliverygoodscode:
  2682. description: 现货品种代码
  2683. type: string
  2684. deliverygoodsid:
  2685. description: 现货品种ID
  2686. type: integer
  2687. deliverygoodsname:
  2688. description: 现货品种名称
  2689. type: string
  2690. deliverystartdate:
  2691. description: 交收期(开始)
  2692. type: string
  2693. enddate:
  2694. description: 点价结束日期 [2:点价 3:暂定价]
  2695. type: string
  2696. enumdicname:
  2697. description: 单位名称
  2698. type: string
  2699. goodscode:
  2700. description: 点价合约代码
  2701. type: string
  2702. goodsid:
  2703. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2704. type: integer
  2705. goodsname:
  2706. description: 点价商品名称
  2707. type: string
  2708. margin:
  2709. description: 当前保证金
  2710. type: number
  2711. modelname:
  2712. description: 型号名称
  2713. type: string
  2714. price:
  2715. description: 价格\暂定价 [1:一口价、3:暂定价]
  2716. type: number
  2717. pricemove:
  2718. description: 升贴水 [2:点价 3:暂定价]
  2719. type: number
  2720. pricetype:
  2721. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2722. type: integer
  2723. producttype:
  2724. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2725. type: integer
  2726. qty:
  2727. description: 数量
  2728. type: number
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. selluserid:
  2733. description: 销售方ID
  2734. type: integer
  2735. sellusername:
  2736. description: 销售方名称
  2737. type: string
  2738. spotcontractid:
  2739. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2740. type: string
  2741. spotgoodsbrandid:
  2742. description: 现货品牌ID
  2743. type: integer
  2744. spotgoodsdesc:
  2745. description: 商品型号
  2746. type: string
  2747. spotgoodsmodelid:
  2748. description: 现货型号ID
  2749. type: integer
  2750. startdate:
  2751. description: 点价开始日期 [2:点价 3:暂定价]
  2752. type: string
  2753. updatetime:
  2754. description: 更新时间
  2755. type: string
  2756. userid:
  2757. description: 机构ID
  2758. type: integer
  2759. wrstandardcode:
  2760. description: 现货商品代码
  2761. type: string
  2762. wrstandardid:
  2763. description: 现货商品ID
  2764. type: integer
  2765. wrstandardname:
  2766. description: 现货商品名称
  2767. type: string
  2768. type: object
  2769. ermcp.QryUserInfoRsp:
  2770. properties:
  2771. address:
  2772. description: 通讯地址
  2773. type: string
  2774. attachment1:
  2775. description: 附件1
  2776. type: string
  2777. audittime:
  2778. description: 审核时间
  2779. type: string
  2780. cardfrontphotourl:
  2781. description: 证件正面图片地址
  2782. type: string
  2783. cardnum:
  2784. description: 证件号码
  2785. type: string
  2786. cardtype:
  2787. description: 证件类型
  2788. type: integer
  2789. cardtypename:
  2790. description: 证件类型名称
  2791. type: string
  2792. cityid:
  2793. description: 市
  2794. type: integer
  2795. countryid:
  2796. description: 国家
  2797. type: integer
  2798. createtime:
  2799. description: 创建时间
  2800. type: string
  2801. customername:
  2802. description: 企业名称
  2803. type: string
  2804. districtid:
  2805. description: 区域
  2806. type: integer
  2807. memberuserid:
  2808. description: 所属机构ID
  2809. type: integer
  2810. mobile:
  2811. description: 手机号码
  2812. type: string
  2813. modifytime:
  2814. description: 修改时间
  2815. type: string
  2816. nickname:
  2817. description: 昵称
  2818. type: string
  2819. provinceid:
  2820. description: 省
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. status:
  2826. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2827. type: integer
  2828. statusdesc:
  2829. description: 账户状态中文描述
  2830. type: string
  2831. telphone:
  2832. description: 联系电话
  2833. type: string
  2834. userid:
  2835. description: 用户ID
  2836. type: integer
  2837. userinfotype:
  2838. description: 客户类型
  2839. type: string
  2840. type: object
  2841. ermcp.QryWarehouseRsp:
  2842. properties:
  2843. address:
  2844. description: 详细地址
  2845. type: string
  2846. areauserid:
  2847. description: 所属机构
  2848. type: integer
  2849. autoid:
  2850. description: 自增ID(仓库ID)
  2851. type: integer
  2852. cityid:
  2853. description: 市
  2854. type: integer
  2855. contactname:
  2856. description: 联系人
  2857. type: string
  2858. contactnum:
  2859. description: 联系电话
  2860. type: string
  2861. countryid:
  2862. description: 国家
  2863. type: integer
  2864. createtime:
  2865. description: 创建时间
  2866. type: string
  2867. districtid:
  2868. description: 区
  2869. type: integer
  2870. hasvideo:
  2871. description: 是否有视频 - 0:无 1:有
  2872. type: integer
  2873. provinceid:
  2874. description: 省
  2875. type: integer
  2876. remark:
  2877. description: 审核备注
  2878. type: string
  2879. videourl:
  2880. description: 视频地址
  2881. type: string
  2882. warehousecode:
  2883. description: 仓库代码
  2884. type: string
  2885. warehousename:
  2886. description: 仓库名称
  2887. type: string
  2888. warehousestatus:
  2889. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2890. type: integer
  2891. warehousetype:
  2892. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2893. type: integer
  2894. type: object
  2895. ermcp.QryWrStandardDetailRsp:
  2896. properties:
  2897. gbList:
  2898. description: 品牌列表
  2899. items:
  2900. $ref: '#/definitions/models.GoodsBrand'
  2901. type: array
  2902. goodsList:
  2903. description: 关联交易商品列表
  2904. items:
  2905. $ref: '#/definitions/models.RelatedGoodsEx'
  2906. type: array
  2907. gtList:
  2908. description: 型号列表
  2909. items:
  2910. $ref: '#/definitions/models.GoodsTypeModel'
  2911. type: array
  2912. wrd:
  2913. $ref: '#/definitions/models.ErmcpWrstandard'
  2914. description: 基本信息
  2915. wrsList:
  2916. description: 套保信息列表
  2917. items:
  2918. $ref: '#/definitions/models.WRSConverTDetail'
  2919. type: array
  2920. type: object
  2921. ermcp.QryWrStandardRsp:
  2922. properties:
  2923. areauserid:
  2924. description: 所属机构
  2925. type: integer
  2926. createtime:
  2927. description: 创建时间
  2928. type: string
  2929. creatorid:
  2930. description: 创建人
  2931. type: integer
  2932. deliverygoodsid:
  2933. description: 品种ID
  2934. type: integer
  2935. enumdicname:
  2936. description: 单位名称
  2937. type: string
  2938. isvalid:
  2939. description: 是否有效 0-无效(停用) 1-有效(正常)
  2940. type: integer
  2941. minivalue:
  2942. description: 最小变动值
  2943. type: integer
  2944. minivaluedp:
  2945. description: 最小变动值小数位
  2946. type: integer
  2947. realminivalue:
  2948. description: 实际最小变动值
  2949. type: integer
  2950. realminivaluedp:
  2951. description: 实际最小变动值小数位
  2952. type: integer
  2953. remark:
  2954. description: 备注
  2955. type: string
  2956. unitid:
  2957. description: 单位ID
  2958. type: integer
  2959. updatetime:
  2960. description: 更新时间
  2961. type: string
  2962. wrstandardcode:
  2963. description: 现货商品代码
  2964. type: string
  2965. wrstandardid:
  2966. description: 现货商品ID(SEQ_WRSTANDARD)
  2967. type: integer
  2968. wrstandardname:
  2969. description: 现货商品名称
  2970. type: string
  2971. type: object
  2972. ermcp.QueryAreaStockApplySumRsp:
  2973. properties:
  2974. brandname:
  2975. description: 品牌名称
  2976. type: string
  2977. inouttype:
  2978. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  2979. type: integer
  2980. modelname:
  2981. description: 型号名称
  2982. type: string
  2983. spotcontractid:
  2984. description: 关联现货合同ID
  2985. type: string
  2986. spotgoodsbrandid:
  2987. description: 品牌id
  2988. type: integer
  2989. spotgoodsmodelid:
  2990. description: 型号id
  2991. type: integer
  2992. totalqty:
  2993. description: 总数量
  2994. type: number
  2995. type: object
  2996. ermcp.QueryErmcpTradePositionRsp:
  2997. properties:
  2998. agreeunit:
  2999. description: 合约单位
  3000. type: number
  3001. buyorsell:
  3002. description: 方向 - 0:买 1:卖
  3003. type: integer
  3004. curpositionqty:
  3005. description: 持仓(总仓数量, 期末头寸)
  3006. type: integer
  3007. curtdposition:
  3008. description: 今仓数量(期末今日头寸)
  3009. type: integer
  3010. curtdpositionenabled:
  3011. description: 今仓可用
  3012. type: integer
  3013. decimalplace:
  3014. description: 报价小数位
  3015. type: integer
  3016. enableqty:
  3017. description: 可用(总仓可用)
  3018. type: integer
  3019. exexchangename:
  3020. description: 外部交易所名称
  3021. type: string
  3022. goodscode:
  3023. description: 商品代码(内部)
  3024. type: string
  3025. goodsid:
  3026. description: 商品ID(自增ID SEQ_GOODS)
  3027. type: integer
  3028. goodsname:
  3029. description: 商品名称
  3030. type: string
  3031. last:
  3032. description: 现价
  3033. type: number
  3034. marketid:
  3035. description: 所属市场ID
  3036. type: integer
  3037. openaverageprice:
  3038. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  3039. type: number
  3040. opencost:
  3041. description: 开仓成本
  3042. type: number
  3043. openpl:
  3044. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  3045. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3046. type: number
  3047. outgoodscode:
  3048. description: 商品代码(外部)
  3049. type: string
  3050. positionaverageprice:
  3051. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  3052. type: number
  3053. positioncost:
  3054. description: 持仓成本
  3055. type: number
  3056. positionpl:
  3057. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  3058. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  3059. type: number
  3060. positionplrate:
  3061. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  3062. type: number
  3063. usedmargin:
  3064. description: 占用保证金
  3065. type: number
  3066. type: object
  3067. ermcp.RealtimeExposurePositionRsp:
  3068. properties:
  3069. agreeunit:
  3070. description: 合约单位
  3071. type: string
  3072. areauserid:
  3073. description: 所属机构id
  3074. type: integer
  3075. convertratio:
  3076. description: 期货品种系数(折算系数)
  3077. type: number
  3078. curqty:
  3079. description: 当前持仓
  3080. type: integer
  3081. diffhedgeqty:
  3082. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3083. type: number
  3084. diffqty:
  3085. description: 持仓变动量=当前持仓-昨日持仓
  3086. type: integer
  3087. goodscode:
  3088. description: 商品代码
  3089. type: string
  3090. goodsid:
  3091. description: 商品id
  3092. type: integer
  3093. goodsname:
  3094. description: 商品名称
  3095. type: string
  3096. middlegoodsid:
  3097. description: 套保商品id
  3098. type: integer
  3099. ydqty:
  3100. description: 昨日持仓
  3101. type: integer
  3102. type: object
  3103. ermcp.RealtimeExposureRsp:
  3104. properties:
  3105. AreaUserID:
  3106. description: 所属机构
  3107. type: integer
  3108. BuyFutureQty:
  3109. description: 买入期货数量
  3110. type: number
  3111. BuyPlanQty:
  3112. description: 采购计划数量
  3113. type: number
  3114. BuyPricedQty:
  3115. description: 采购合同已定价数量
  3116. type: number
  3117. MiddleGoodsCode:
  3118. description: 套保品种代码
  3119. type: string
  3120. MiddleGoodsHedgeRatio:
  3121. description: 应套保比例
  3122. type: number
  3123. MiddleGoodsID:
  3124. description: 套保品种
  3125. type: integer
  3126. MiddleGoodsName:
  3127. description: 套保品种名称
  3128. type: string
  3129. NeedHedgeExposoure:
  3130. description: 应套保敞口
  3131. type: number
  3132. NeedHedgeRatio:
  3133. description: 应套保敞口比例
  3134. type: number
  3135. OriBuyFutureQty:
  3136. description: 期初买入期货数量
  3137. type: number
  3138. OriBuyPlanQty:
  3139. description: 期初采购计划数量
  3140. type: number
  3141. OriBuyPricedQty:
  3142. description: 期初采购合同已定价数量
  3143. type: number
  3144. OriSellFutureQty:
  3145. description: 期初卖出期货数量
  3146. type: number
  3147. OriSellPlanQty:
  3148. description: 期初销售计划数量
  3149. type: number
  3150. OriSellPricedQty:
  3151. description: 期初销售合同已定价数量
  3152. type: number
  3153. SellFutureQty:
  3154. description: 卖出期货数量
  3155. type: number
  3156. SellPlanQty:
  3157. description: 销售计划数量
  3158. type: number
  3159. SellPricedQty:
  3160. description: 销售合同已定价数量
  3161. type: number
  3162. TotalExposure:
  3163. description: 总敞口
  3164. type: number
  3165. TotalFutureQty:
  3166. description: 期货数量
  3167. type: number
  3168. TotalHedgeRatio:
  3169. description: 敞口比例
  3170. type: number
  3171. TotalNeedHedgeQty:
  3172. description: 期货应套保量
  3173. type: number
  3174. TotalSpotQty:
  3175. description: 现货数量
  3176. type: number
  3177. diffFutuQty:
  3178. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  3179. type: number
  3180. diffSpotQty:
  3181. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  3182. type: number
  3183. enumdicname:
  3184. description: 单位名称
  3185. type: string
  3186. oriTotalFutuQty:
  3187. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  3188. type: number
  3189. oriTotalSpotQty:
  3190. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  3191. type: number
  3192. type: object
  3193. erms2.QueryArbitrageStrategyRsp:
  3194. properties:
  3195. applybasis:
  3196. description: 申请基差
  3197. type: number
  3198. asapplyid:
  3199. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  3200. type: string
  3201. asname:
  3202. description: 策略名称
  3203. type: string
  3204. asno:
  3205. description: 策略编号
  3206. type: string
  3207. basischangepl:
  3208. description: 基差变动损益[结算更新]
  3209. type: number
  3210. biztype:
  3211. description: 业务类型 - 1:正向套利 -1:反向套利
  3212. type: integer
  3213. closetradedate:
  3214. description: 完结交易日(yyyyMMdd)
  3215. type: string
  3216. curbasis:
  3217. description: 当前基差[结算更新]
  3218. type: number
  3219. deliverygoodsid:
  3220. description: 现货品种ID
  3221. type: integer
  3222. futureavgprice:
  3223. description: 期货建仓均价
  3224. type: number
  3225. futurecloseamount:
  3226. description: 期货平仓金额
  3227. type: number
  3228. futurecloseqty:
  3229. description: 期货平仓数量
  3230. type: number
  3231. futureopenamount:
  3232. description: 期货开仓金额
  3233. type: number
  3234. futureopenqty:
  3235. description: 期货开仓数量
  3236. type: number
  3237. futurepl:
  3238. description: 期货总盈亏[结算更新]
  3239. type: number
  3240. futureqty:
  3241. description: 期货持仓数量
  3242. type: number
  3243. futurequote:
  3244. description: 期货额度
  3245. type: number
  3246. goodsgroupid:
  3247. description: 期货品种ID
  3248. type: integer
  3249. marketid:
  3250. description: 市场ID
  3251. type: integer
  3252. netexposure:
  3253. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  3254. type: number
  3255. netexposurepl:
  3256. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  3257. type: number
  3258. netexposurerate:
  3259. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  3260. type: number
  3261. openbasis:
  3262. description: 建仓基差
  3263. type: number
  3264. pricedspotqty:
  3265. description: 已定价现货数量
  3266. type: number
  3267. pricedspotqtynotax:
  3268. description: 已定价现货不含税数量
  3269. type: number
  3270. remark:
  3271. description: 备注
  3272. type: string
  3273. spotavgprice:
  3274. description: 现货均价
  3275. type: number
  3276. spotbuyamount:
  3277. description: 现货采购金额
  3278. type: number
  3279. spotbuyqty:
  3280. description: 现货采购数量
  3281. type: number
  3282. spotpl:
  3283. description: 现货总盈亏[结算更新]
  3284. type: number
  3285. spotquota:
  3286. description: 现货额度
  3287. type: number
  3288. spotsellamount:
  3289. description: 现货销售金额
  3290. type: number
  3291. spotsellqty:
  3292. description: 现货销售数量
  3293. type: number
  3294. spotusedquota:
  3295. description: 现货占用资金
  3296. type: number
  3297. strategystatus:
  3298. description: 策略状态 - 0:未结束 1:已结束
  3299. type: integer
  3300. totalpl:
  3301. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  3302. type: number
  3303. tradedate:
  3304. description: 交易日(yyyyMMdd)
  3305. type: string
  3306. updatetime:
  3307. description: 更新时间
  3308. type: string
  3309. usedquota:
  3310. description: 已占用资金
  3311. type: number
  3312. userid:
  3313. description: 所属机构
  3314. type: integer
  3315. required:
  3316. - asapplyid
  3317. type: object
  3318. erms2.QueryInnerTradeDetailRsp:
  3319. properties:
  3320. accountid:
  3321. description: 账号ID
  3322. type: integer
  3323. agreeunit:
  3324. description: 合约单位
  3325. type: number
  3326. asapplyid:
  3327. description: 策略申请ID
  3328. type: integer
  3329. asname:
  3330. description: 策略名称
  3331. type: string
  3332. asno:
  3333. description: 策略编号
  3334. type: string
  3335. buyorsell:
  3336. description: 方向 - 0:买 1:卖
  3337. type: integer
  3338. channelbuildtype:
  3339. description: 委托单据类型 0:无 1:建仓 2:平仓
  3340. type: integer
  3341. closetype:
  3342. description: 平仓方式 - 0:无 1:平今 2:平昨
  3343. type: integer
  3344. decimalplace:
  3345. description: 报价小数位
  3346. type: integer
  3347. detailtype:
  3348. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  3349. type: integer
  3350. exexchangecode:
  3351. description: 外部交易所代码
  3352. type: string
  3353. exexchangename:
  3354. description: 外部交易所名称
  3355. type: string
  3356. goodscode:
  3357. description: 商品代码(合约)
  3358. type: string
  3359. goodsgroupid:
  3360. description: 商品组ID(品种ID)
  3361. type: integer
  3362. goodsgroupname:
  3363. description: 商品组名称(品种)
  3364. type: string
  3365. goodsid:
  3366. description: 商品ID
  3367. type: integer
  3368. goodsname:
  3369. description: 商品名称(合约)
  3370. type: string
  3371. goodunit:
  3372. description: 报价单位
  3373. type: string
  3374. marketid:
  3375. description: 市场ID
  3376. type: integer
  3377. orderid:
  3378. description: 委托单号
  3379. type: string
  3380. outgoodscode:
  3381. description: 商品代码(外部)
  3382. type: string
  3383. relatedouttradeid:
  3384. description: 关联外部成交单ID
  3385. type: string
  3386. remark:
  3387. description: 备注
  3388. type: string
  3389. spotcontractid:
  3390. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  3391. type: integer
  3392. spotcontractno:
  3393. description: 现货合同编号
  3394. type: string
  3395. tradeid:
  3396. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3397. type: string
  3398. tradeprice:
  3399. description: 成交价格
  3400. type: number
  3401. tradeqty:
  3402. description: 成交数量
  3403. type: integer
  3404. tradetime:
  3405. description: 成交时间
  3406. type: string
  3407. updatetime:
  3408. description: 更新时间
  3409. type: string
  3410. required:
  3411. - asapplyid
  3412. - buyorsell
  3413. - goodscode
  3414. - goodsgroupid
  3415. - goodsgroupname
  3416. - goodsname
  3417. - tradeid
  3418. type: object
  3419. erms2.QuerySpotContractRsp:
  3420. properties:
  3421. accountid:
  3422. description: 资金账户ID
  3423. type: integer
  3424. areauserid:
  3425. description: 所属机构
  3426. type: integer
  3427. closedate:
  3428. description: 终止日期
  3429. type: string
  3430. closeremark:
  3431. description: 结束备注
  3432. type: string
  3433. closetradedate:
  3434. description: 完结交易日(yyyyMMdd)
  3435. type: string
  3436. closetype:
  3437. description: 终止类型 - 1:违约 2:提前终止
  3438. type: integer
  3439. contractamount:
  3440. description: 合同金额
  3441. type: number
  3442. contractattachment:
  3443. description: 合同附件
  3444. type: string
  3445. contractno:
  3446. description: 现货合同编号
  3447. type: string
  3448. contractqty:
  3449. description: 合同数量(数值) (用于计算)
  3450. type: number
  3451. contractqtychar:
  3452. description: 合同数量\已订价数量 (用于显示)
  3453. type: string
  3454. contractstatus:
  3455. description: 合同状态 - 0:未结束 1:已结束
  3456. type: integer
  3457. contracttype:
  3458. description: 现货合同类型 - 1:采购合同 -1:销售合同
  3459. type: integer
  3460. customeraccountid:
  3461. description: 客户资金账户ID
  3462. type: integer
  3463. customeruserid:
  3464. description: 客户ID
  3465. type: integer
  3466. deliverygoodsdesc:
  3467. description: 品种说明
  3468. type: string
  3469. deliverygoodsid:
  3470. description: 现货品种ID
  3471. type: integer
  3472. handlestatus:
  3473. description: 处理状态
  3474. type: integer
  3475. invoiceatt:
  3476. description: 发票附件
  3477. type: string
  3478. invoicedatetime:
  3479. description: 开收票更新时间
  3480. type: string
  3481. invoiceopentime:
  3482. description: 开票时间
  3483. type: string
  3484. invoiceremark:
  3485. description: 发票备注
  3486. type: string
  3487. invoicestatus:
  3488. description: 开收票状态 - 0:未开票 1:已开票
  3489. type: integer
  3490. lastdate:
  3491. description: 交货时间
  3492. type: string
  3493. marketid:
  3494. description: 市场ID
  3495. type: integer
  3496. paydatetime:
  3497. description: 收付款更新时间
  3498. type: string
  3499. payremark:
  3500. description: 收付款备注
  3501. type: string
  3502. paystatus:
  3503. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  3504. type: integer
  3505. positionqty:
  3506. description: 头寸数量 - 合同数量去小数部分
  3507. type: integer
  3508. producttype:
  3509. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3510. type: integer
  3511. relatedqty:
  3512. description: 已关联数量
  3513. type: number
  3514. relatedstatus:
  3515. description: 关联完结状态 - 0:未结束 1:已结束
  3516. type: integer
  3517. remark:
  3518. description: 备注
  3519. type: string
  3520. signdate:
  3521. description: 签订日期
  3522. type: string
  3523. spotcontractid:
  3524. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  3525. type: string
  3526. spotdatetime:
  3527. description: 收发货更新时间
  3528. type: string
  3529. spotprice:
  3530. description: 价格
  3531. type: number
  3532. spotremark:
  3533. description: 收发货备注
  3534. type: string
  3535. spotstatus:
  3536. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3537. type: integer
  3538. tradedate:
  3539. description: 交易日(yyyyMMdd)
  3540. type: string
  3541. userid:
  3542. description: 业务员用户ID
  3543. type: integer
  3544. warehouseid:
  3545. description: 仓库ID
  3546. type: integer
  3547. wrfactortypeid:
  3548. description: 仓单要素类型ID
  3549. type: integer
  3550. wrstandardid:
  3551. description: 仓单标准ID(SEQ_WRSTANDARD)
  3552. type: integer
  3553. required:
  3554. - spotcontractid
  3555. type: object
  3556. erms3.AddErms2ASApplyReq:
  3557. properties:
  3558. applybasis:
  3559. description: 申请基差
  3560. type: number
  3561. applystatus:
  3562. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3563. type: integer
  3564. asapplyid:
  3565. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3566. type: integer
  3567. asname:
  3568. description: 策略名称
  3569. type: string
  3570. asno:
  3571. description: 策略编号
  3572. type: string
  3573. auditid:
  3574. description: 审核人
  3575. type: integer
  3576. auditremark:
  3577. description: 审核备注
  3578. type: string
  3579. audittime:
  3580. description: 审核时间
  3581. type: string
  3582. biztype:
  3583. description: 业务类型 - 1:正向套利 2:反向套利
  3584. type: integer
  3585. createtime:
  3586. description: 创建时间
  3587. type: string
  3588. creatorid:
  3589. description: 创建人
  3590. type: integer
  3591. deliverygoodsid:
  3592. description: 现货品种ID
  3593. type: integer
  3594. futurequote:
  3595. description: 期货额度
  3596. type: number
  3597. goodsgroupid:
  3598. description: 期货品种ID
  3599. type: integer
  3600. marketid:
  3601. description: 市场ID
  3602. type: integer
  3603. remark:
  3604. description: 备注
  3605. type: string
  3606. spotquota:
  3607. description: 现货额度
  3608. type: number
  3609. tradedate:
  3610. description: 交易日(yyyyMMdd)
  3611. type: string
  3612. userid:
  3613. description: 所属机构
  3614. type: integer
  3615. required:
  3616. - asapplyid
  3617. type: object
  3618. erms3.AddErms2SpotTradeApplyReq:
  3619. properties:
  3620. applyjsondetail:
  3621. description: 申请明细(JSON)
  3622. type: string
  3623. applystatus:
  3624. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3625. type: integer
  3626. areauserid:
  3627. description: 所属机构
  3628. type: integer
  3629. auditid:
  3630. description: 审核人
  3631. type: integer
  3632. auditremark:
  3633. description: 审核备注
  3634. type: string
  3635. audittime:
  3636. description: 审核时间
  3637. type: string
  3638. createtime:
  3639. description: 创建时间
  3640. type: string
  3641. creatorid:
  3642. description: 创建人
  3643. type: integer
  3644. deliverygoodsid:
  3645. description: 现货品种ID
  3646. type: integer
  3647. futureaccountid:
  3648. description: 期货资金账户
  3649. type: integer
  3650. goodsgroupid:
  3651. description: 期货品种
  3652. type: integer
  3653. marketid:
  3654. description: 市场ID
  3655. type: integer
  3656. remark:
  3657. description: 备注
  3658. type: string
  3659. spotaccountid:
  3660. description: 现货资金账户
  3661. type: integer
  3662. spottradeid:
  3663. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3664. type: integer
  3665. spottradename:
  3666. description: 业务名称
  3667. type: string
  3668. spottradeno:
  3669. description: 业务编号
  3670. type: string
  3671. tradedate:
  3672. description: 交易日(yyyyMMdd)
  3673. type: string
  3674. wrstandardid:
  3675. description: 仓单标准ID
  3676. type: integer
  3677. required:
  3678. - spottradeid
  3679. type: object
  3680. erms3.AddSpotContractApplyReq:
  3681. properties:
  3682. accountid:
  3683. description: 资金账户ID
  3684. type: integer
  3685. areauserid:
  3686. description: 所属机构
  3687. type: integer
  3688. contractattachment:
  3689. description: 合同附件
  3690. type: string
  3691. contractno:
  3692. description: 现货合同编号
  3693. type: string
  3694. contracttype:
  3695. description: 现货合同类型 - 1:采购 -1:销售
  3696. type: integer
  3697. creatorid:
  3698. description: 申请人
  3699. type: integer
  3700. customeraccountid:
  3701. description: 客户资金账户ID
  3702. type: integer
  3703. customeruserid:
  3704. description: 客户ID
  3705. type: integer
  3706. details:
  3707. description: 明细
  3708. items:
  3709. $ref: '#/definitions/erms3.SoptContractDetail'
  3710. type: array
  3711. orimargin:
  3712. description: 初始保证金
  3713. type: number
  3714. remark:
  3715. description: 备注
  3716. type: string
  3717. signdate:
  3718. description: 签订日期
  3719. type: string
  3720. required:
  3721. - accountid
  3722. - areauserid
  3723. - contractno
  3724. - contracttype
  3725. - customeraccountid
  3726. - customeruserid
  3727. - details
  3728. - orimargin
  3729. - signdate
  3730. type: object
  3731. erms3.AddSpotContractApplyRsp:
  3732. properties:
  3733. contractno:
  3734. description: 现货合同编号
  3735. type: string
  3736. spotcontractid:
  3737. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3738. type: integer
  3739. required:
  3740. - contractno
  3741. type: object
  3742. erms3.AddUserInfoApplyReq:
  3743. properties:
  3744. accountid:
  3745. description: 交易系统帐号Id (加密存储)
  3746. type: integer
  3747. areacode:
  3748. description: 机构代码
  3749. type: string
  3750. areaid:
  3751. description: 机构Id
  3752. type: integer
  3753. attachment1:
  3754. description: 附件1
  3755. type: string
  3756. attachment2:
  3757. description: 附件2
  3758. type: string
  3759. attachment3:
  3760. description: 附件3
  3761. type: string
  3762. attachment4:
  3763. description: 附件4
  3764. type: string
  3765. attachment5:
  3766. description: 附件5
  3767. type: string
  3768. auditedby:
  3769. description: 审核人
  3770. type: string
  3771. auditime:
  3772. description: 审核时间
  3773. type: string
  3774. bankaccount:
  3775. description: 银行帐号 (加密存储)
  3776. type: string
  3777. bankaccountname:
  3778. description: 收款人名称
  3779. type: string
  3780. bankcardbackphotourl:
  3781. description: 银行卡背面照地址
  3782. type: string
  3783. bankcardfrontphotourl:
  3784. description: 银行卡正面照地址
  3785. type: string
  3786. bankid:
  3787. description: 银行编码
  3788. type: string
  3789. bankname:
  3790. description: 银行名称
  3791. type: string
  3792. bankpictureurl:
  3793. description: 银行卡正面地址
  3794. type: string
  3795. biznature:
  3796. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3797. type: integer
  3798. bizscope:
  3799. description: 企业经营范围(企业)
  3800. type: string
  3801. biztype:
  3802. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3803. type: integer
  3804. brokerid:
  3805. description: 经纪人ID(加密存储)
  3806. type: string
  3807. cardaddress:
  3808. description: 证件地址 (加密存储)
  3809. type: string
  3810. cardbackphotourl:
  3811. description: 背面证件照地址
  3812. type: string
  3813. cardfrontphotourl:
  3814. description: 正面证件照地址
  3815. type: string
  3816. cardnum:
  3817. description: 证件号码 (加密存储)
  3818. type: string
  3819. cardtype:
  3820. description: 证件类型
  3821. type: integer
  3822. cityid:
  3823. description: 市
  3824. type: integer
  3825. company:
  3826. description: 公司(个人)
  3827. type: string
  3828. contactcardbackphotourl:
  3829. description: 联系人证件背面图片地址
  3830. type: string
  3831. contactcardfrontphotourl:
  3832. description: 联系人证件正面图片地址
  3833. type: string
  3834. contactname:
  3835. description: 联系人
  3836. type: string
  3837. countryid:
  3838. description: 国家
  3839. type: integer
  3840. createtime:
  3841. description: 开户申请时间
  3842. type: string
  3843. cusbankid:
  3844. description: 签约类型
  3845. type: string
  3846. cusbankname:
  3847. description: 签约类型名称
  3848. type: string
  3849. customername:
  3850. description: 客户名称(企业名称)
  3851. type: string
  3852. districtid:
  3853. description: 地区
  3854. type: integer
  3855. email:
  3856. description: Email地址(加密存储)
  3857. type: string
  3858. halfbodyphotourl:
  3859. description: 半身照地址
  3860. type: string
  3861. headurl:
  3862. description: 头像地址
  3863. type: string
  3864. ipaddress:
  3865. description: IP地址
  3866. type: string
  3867. isvalidate:
  3868. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3869. type: string
  3870. legalcardbackphotourl:
  3871. description: 法人身份证背面照地址
  3872. type: string
  3873. legalcardfrontphotourl:
  3874. description: 法人身份证正面照地址
  3875. type: string
  3876. legalpersonname:
  3877. description: 法人姓名(企业)
  3878. type: string
  3879. logincode:
  3880. description: 登录帐号 (加密存储)
  3881. type: string
  3882. memberareaid:
  3883. description: 所属会员ID
  3884. type: integer
  3885. mobile2:
  3886. description: 手机号码[明文-尚志]
  3887. type: string
  3888. mobilephone:
  3889. description: 手机号码 (加密存储)
  3890. type: string
  3891. modifiedby:
  3892. description: 修改人帐号
  3893. type: integer
  3894. modifiedtime:
  3895. description: 修改时间
  3896. type: string
  3897. nickname:
  3898. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3899. type: string
  3900. openmode:
  3901. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3902. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3903. type: integer
  3904. otherurl:
  3905. description: 其它图片地址[使用分号分隔]
  3906. type: string
  3907. postalcode:
  3908. description: 邮政编码
  3909. type: string
  3910. provinceid:
  3911. description: 省
  3912. type: integer
  3913. proxystatementurl:
  3914. description: 授权委托书
  3915. type: string
  3916. qq:
  3917. description: QQ(加密存储
  3918. type: string
  3919. referral:
  3920. description: 推荐人编码
  3921. type: string
  3922. remark:
  3923. description: 备注
  3924. type: string
  3925. removebeforestatus:
  3926. description: REMOVEBEFORESTATUS
  3927. type: integer
  3928. sex:
  3929. description: 性别 - 0:女 1:男
  3930. type: integer
  3931. signedstatus:
  3932. description: 账户一号签签约状态
  3933. type: integer
  3934. signpdfurl:
  3935. description: 签约pdf文件
  3936. type: string
  3937. subbranch:
  3938. description: 开户支行
  3939. type: string
  3940. telphone:
  3941. description: 联系电话(加密存储)
  3942. type: string
  3943. userid:
  3944. description: 用户ID(自增ID)
  3945. type: integer
  3946. userinfotype:
  3947. description: 用户信息类型 - 1:个人 2:企业
  3948. type: integer
  3949. username:
  3950. description: 用户姓名
  3951. type: string
  3952. userstate:
  3953. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3954. type: integer
  3955. usertype:
  3956. description: 用户类型 - 1:投资者 2:机构
  3957. type: integer
  3958. videourl:
  3959. description: 视频地址
  3960. type: string
  3961. wechat:
  3962. description: 微信号 (加密存储)
  3963. type: string
  3964. required:
  3965. - userid
  3966. type: object
  3967. erms3.CustomerInfo:
  3968. properties:
  3969. accountids:
  3970. description: 资金账户ID列表
  3971. items:
  3972. type: integer
  3973. type: array
  3974. customername:
  3975. description: 名称(企业名称)
  3976. type: string
  3977. mobile:
  3978. description: 手机号码
  3979. type: string
  3980. userid:
  3981. description: 用户ID
  3982. type: integer
  3983. required:
  3984. - userid
  3985. type: object
  3986. erms3.ModifyUserInfoApplyReq:
  3987. properties:
  3988. accountid:
  3989. description: 交易系统帐号Id (加密存储)
  3990. type: integer
  3991. areacode:
  3992. description: 机构代码
  3993. type: string
  3994. areaid:
  3995. description: 机构Id
  3996. type: integer
  3997. attachment1:
  3998. description: 附件1
  3999. type: string
  4000. attachment2:
  4001. description: 附件2
  4002. type: string
  4003. attachment3:
  4004. description: 附件3
  4005. type: string
  4006. attachment4:
  4007. description: 附件4
  4008. type: string
  4009. attachment5:
  4010. description: 附件5
  4011. type: string
  4012. auditedby:
  4013. description: 审核人
  4014. type: string
  4015. auditime:
  4016. description: 审核时间
  4017. type: string
  4018. bankaccount:
  4019. description: 银行帐号 (加密存储)
  4020. type: string
  4021. bankaccountname:
  4022. description: 收款人名称
  4023. type: string
  4024. bankcardbackphotourl:
  4025. description: 银行卡背面照地址
  4026. type: string
  4027. bankcardfrontphotourl:
  4028. description: 银行卡正面照地址
  4029. type: string
  4030. bankid:
  4031. description: 银行编码
  4032. type: string
  4033. bankname:
  4034. description: 银行名称
  4035. type: string
  4036. bankpictureurl:
  4037. description: 银行卡正面地址
  4038. type: string
  4039. biznature:
  4040. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4041. type: integer
  4042. bizscope:
  4043. description: 企业经营范围(企业)
  4044. type: string
  4045. biztype:
  4046. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  4047. type: integer
  4048. brokerid:
  4049. description: 经纪人ID(加密存储)
  4050. type: string
  4051. cardaddress:
  4052. description: 证件地址 (加密存储)
  4053. type: string
  4054. cardbackphotourl:
  4055. description: 背面证件照地址
  4056. type: string
  4057. cardfrontphotourl:
  4058. description: 正面证件照地址
  4059. type: string
  4060. cardnum:
  4061. description: 证件号码 (加密存储)
  4062. type: string
  4063. cardtype:
  4064. description: 证件类型
  4065. type: integer
  4066. cityid:
  4067. description: 市
  4068. type: integer
  4069. company:
  4070. description: 公司(个人)
  4071. type: string
  4072. contactcardbackphotourl:
  4073. description: 联系人证件背面图片地址
  4074. type: string
  4075. contactcardfrontphotourl:
  4076. description: 联系人证件正面图片地址
  4077. type: string
  4078. contactname:
  4079. description: 联系人
  4080. type: string
  4081. countryid:
  4082. description: 国家
  4083. type: integer
  4084. createtime:
  4085. description: 开户申请时间
  4086. type: string
  4087. cusbankid:
  4088. description: 签约类型
  4089. type: string
  4090. cusbankname:
  4091. description: 签约类型名称
  4092. type: string
  4093. customername:
  4094. description: 客户名称(企业名称)
  4095. type: string
  4096. districtid:
  4097. description: 地区
  4098. type: integer
  4099. email:
  4100. description: Email地址(加密存储)
  4101. type: string
  4102. halfbodyphotourl:
  4103. description: 半身照地址
  4104. type: string
  4105. headurl:
  4106. description: 头像地址
  4107. type: string
  4108. ipaddress:
  4109. description: IP地址
  4110. type: string
  4111. isvalidate:
  4112. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  4113. type: string
  4114. legalcardbackphotourl:
  4115. description: 法人身份证背面照地址
  4116. type: string
  4117. legalcardfrontphotourl:
  4118. description: 法人身份证正面照地址
  4119. type: string
  4120. legalpersonname:
  4121. description: 法人姓名(企业)
  4122. type: string
  4123. logincode:
  4124. description: 登录帐号 (加密存储)
  4125. type: string
  4126. memberareaid:
  4127. description: 所属会员ID
  4128. type: integer
  4129. mobile2:
  4130. description: 手机号码[明文-尚志]
  4131. type: string
  4132. mobilephone:
  4133. description: 手机号码 (加密存储)
  4134. type: string
  4135. modifiedby:
  4136. description: 修改人帐号
  4137. type: integer
  4138. modifiedtime:
  4139. description: 修改时间
  4140. type: string
  4141. nickname:
  4142. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  4143. type: string
  4144. openmode:
  4145. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  4146. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  4147. type: integer
  4148. otherurl:
  4149. description: 其它图片地址[使用分号分隔]
  4150. type: string
  4151. postalcode:
  4152. description: 邮政编码
  4153. type: string
  4154. provinceid:
  4155. description: 省
  4156. type: integer
  4157. proxystatementurl:
  4158. description: 授权委托书
  4159. type: string
  4160. qq:
  4161. description: QQ(加密存储
  4162. type: string
  4163. referral:
  4164. description: 推荐人编码
  4165. type: string
  4166. remark:
  4167. description: 备注
  4168. type: string
  4169. removebeforestatus:
  4170. description: REMOVEBEFORESTATUS
  4171. type: integer
  4172. sex:
  4173. description: 性别 - 0:女 1:男
  4174. type: integer
  4175. signedstatus:
  4176. description: 账户一号签签约状态
  4177. type: integer
  4178. signpdfurl:
  4179. description: 签约pdf文件
  4180. type: string
  4181. subbranch:
  4182. description: 开户支行
  4183. type: string
  4184. telphone:
  4185. description: 联系电话(加密存储)
  4186. type: string
  4187. userid:
  4188. description: 用户ID(自增ID)
  4189. type: integer
  4190. userinfotype:
  4191. description: 用户信息类型 - 1:个人 2:企业
  4192. type: integer
  4193. username:
  4194. description: 用户姓名
  4195. type: string
  4196. userstate:
  4197. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4198. type: integer
  4199. usertype:
  4200. description: 用户类型 - 1:投资者 2:机构
  4201. type: integer
  4202. videourl:
  4203. description: 视频地址
  4204. type: string
  4205. wechat:
  4206. description: 微信号 (加密存储)
  4207. type: string
  4208. required:
  4209. - userid
  4210. type: object
  4211. erms3.QryAuditContractRsp:
  4212. properties:
  4213. accountid:
  4214. description: 交易员ID
  4215. type: string
  4216. applystatus:
  4217. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4218. type: integer
  4219. curdeliveryqty:
  4220. description: 未交收量
  4221. type: integer
  4222. customername:
  4223. description: 采购方ID
  4224. type: string
  4225. deliverygoodsid:
  4226. description: 品种ID
  4227. type: string
  4228. deliveryqty:
  4229. description: 交收量
  4230. type: integer
  4231. enumdicname:
  4232. description: 单位名称
  4233. type: string
  4234. matchaccountid:
  4235. description: 业务员ID
  4236. type: string
  4237. matchcustomername:
  4238. description: 销售方ID
  4239. type: string
  4240. pricedqty:
  4241. description: 定价量
  4242. type: number
  4243. signdate:
  4244. description: 签订日期
  4245. type: string
  4246. spotcontractid:
  4247. description: 合同ID
  4248. type: string
  4249. totaldqty:
  4250. description: 合同量
  4251. type: number
  4252. unpricedqty:
  4253. description: 未定价量
  4254. type: number
  4255. wrstandardname:
  4256. description: 商品名称
  4257. type: string
  4258. required:
  4259. - matchcustomername
  4260. - spotcontractid
  4261. type: object
  4262. erms3.QryPendingBizRsp:
  4263. properties:
  4264. accountid:
  4265. description: 现货账户
  4266. type: string
  4267. areaname:
  4268. description: 所属部门
  4269. type: string
  4270. bizid:
  4271. description: 业务ID
  4272. type: string
  4273. bizname:
  4274. description: 业务名称
  4275. type: string
  4276. status:
  4277. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4278. type: integer
  4279. type:
  4280. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4281. type: integer
  4282. type: object
  4283. erms3.QueryBusinessInfoRsp:
  4284. properties:
  4285. businessid:
  4286. description: 业务ID.
  4287. type: integer
  4288. buyamount:
  4289. description: 采购额.
  4290. type: number
  4291. buyqty:
  4292. description: 采购量.
  4293. type: string
  4294. futurepl:
  4295. description: 期货盈亏.
  4296. type: number
  4297. futureqty:
  4298. description: 期货敞口.
  4299. type: string
  4300. goodsid:
  4301. description: 商品名称/商品代码.
  4302. type: string
  4303. hedgingqty:
  4304. description: 套保量.
  4305. type: string
  4306. sellamount:
  4307. description: 销售额.
  4308. type: number
  4309. sellqty:
  4310. description: 销售量.
  4311. type: string
  4312. spotmarketvalue:
  4313. description: 现货市值.
  4314. type: number
  4315. spotpl:
  4316. description: 浮动权益.
  4317. type: number
  4318. spotqty:
  4319. description: 现货量.
  4320. type: string
  4321. statu:
  4322. description: 状态,0-未结束 1-已结束.
  4323. type: integer
  4324. totalpl:
  4325. description: 总盈亏.
  4326. type: number
  4327. totalqty:
  4328. description: 总敞口.
  4329. type: string
  4330. type:
  4331. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  4332. type: integer
  4333. type: object
  4334. erms3.QuerySpotContractAppleFormRsp:
  4335. properties:
  4336. goodses:
  4337. description: 合约列表
  4338. items:
  4339. $ref: '#/definitions/models.GoodsIDAndName'
  4340. type: array
  4341. oppositeusers:
  4342. description: 对方账号列表
  4343. items:
  4344. $ref: '#/definitions/erms3.CustomerInfo'
  4345. type: array
  4346. ouruser:
  4347. $ref: '#/definitions/erms3.CustomerInfo'
  4348. description: 我方账号
  4349. warehouseinfos:
  4350. description: 仓库信息列表
  4351. items:
  4352. $ref: '#/definitions/models.Warehouseinfo'
  4353. type: array
  4354. wrstandards:
  4355. description: 仓单标准列表
  4356. items:
  4357. $ref: '#/definitions/models.WRStandardInfo'
  4358. type: array
  4359. type: object
  4360. erms3.QuerySpotContractInfoRsp:
  4361. properties:
  4362. accountid:
  4363. description: 表示交易员ID.
  4364. type: integer
  4365. curdeliveryqty:
  4366. description: 表示未交收量.
  4367. type: number
  4368. customername:
  4369. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  4370. type: string
  4371. deliverygoodsid:
  4372. description: 表示品种ID.
  4373. type: string
  4374. deliveryqty:
  4375. description: 表示交收量.
  4376. type: number
  4377. matchaccountid:
  4378. description: 表示业务员ID.
  4379. type: integer
  4380. matchcustomername:
  4381. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  4382. type: string
  4383. priceqty:
  4384. description: 表示定价量.
  4385. type: number
  4386. relatedbizid:
  4387. description: 表示业务ID.
  4388. type: string
  4389. signdate:
  4390. description: 表示签订日期.
  4391. type: string
  4392. spotcontractid:
  4393. description: 合同ID
  4394. type: string
  4395. status:
  4396. description: 表示状态,0-履约中 1-已完成.
  4397. type: integer
  4398. totalqty:
  4399. description: 表示合同量.
  4400. type: number
  4401. unpricedqty:
  4402. description: 表示未定价量.
  4403. type: number
  4404. wrstandardname:
  4405. description: 表示商品ID.
  4406. type: string
  4407. type: object
  4408. erms3.QueryUserInfoAppliesRsp:
  4409. properties:
  4410. biznature:
  4411. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4412. type: integer
  4413. contactname:
  4414. description: 联系人
  4415. type: string
  4416. createtime:
  4417. description: 开户申请时间
  4418. type: string
  4419. userid:
  4420. description: 用户ID(自增ID)
  4421. type: integer
  4422. userinfotype:
  4423. description: 用户信息类型 - 1:个人 2:企业
  4424. type: integer
  4425. username:
  4426. description: 用户姓名
  4427. type: string
  4428. userstate:
  4429. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  4430. type: integer
  4431. required:
  4432. - userid
  4433. type: object
  4434. erms3.QueryUserInfosRsp:
  4435. properties:
  4436. biznature:
  4437. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4438. type: integer
  4439. contactname:
  4440. description: 联系人
  4441. type: string
  4442. customername:
  4443. description: 客户名称(企业名称)
  4444. type: string
  4445. userid:
  4446. description: 用户ID
  4447. type: integer
  4448. userinfotype:
  4449. description: 用户信息类型 - 1:个人 2:企业
  4450. type: integer
  4451. userstatus:
  4452. description: 用户状态 - 1:正常 2:注销
  4453. type: integer
  4454. required:
  4455. - userid
  4456. type: object
  4457. erms3.SoptContractDetail:
  4458. properties:
  4459. deliverygoodsdesc:
  4460. description: 现货品种说明
  4461. type: string
  4462. deliverygoodsid:
  4463. description: 现货品种ID
  4464. type: integer
  4465. deliverygoodsname:
  4466. description: 现货品种名称
  4467. type: string
  4468. pointdesc:
  4469. description: 点价描述
  4470. type: string
  4471. producttype:
  4472. description: 产品类型 1:标准仓单 2:等标 3:非标
  4473. type: integer
  4474. producttypename:
  4475. description: 产品类型名称
  4476. type: string
  4477. spotPointOrderVoList:
  4478. description: 点价列表
  4479. items:
  4480. $ref: '#/definitions/erms3.SpotPointOrder'
  4481. type: array
  4482. spotPriceOrderList:
  4483. description: 定价列表
  4484. items:
  4485. $ref: '#/definitions/erms3.SpotPriceOrder'
  4486. type: array
  4487. unitname:
  4488. description: 单位名称
  4489. type: string
  4490. warehouseid:
  4491. description: 仓库ID
  4492. type: integer
  4493. warehousename:
  4494. description: 仓库名称
  4495. type: string
  4496. wrstandardid:
  4497. description: 交易标的ID
  4498. type: integer
  4499. wrstandardname:
  4500. description: 交易标的名称
  4501. type: string
  4502. required:
  4503. - deliverygoodsid
  4504. - producttype
  4505. - unitname
  4506. - warehouseid
  4507. - wrstandardid
  4508. - wrstandardname
  4509. type: object
  4510. erms3.SpotPointOrder:
  4511. properties:
  4512. basic:
  4513. description: 基差
  4514. type: number
  4515. deliveryenddate:
  4516. description: 交收结束日期
  4517. type: string
  4518. deliverystartdate:
  4519. description: 交收开始日期
  4520. type: string
  4521. enddate:
  4522. description: 点价结束日期
  4523. type: string
  4524. goodsid:
  4525. description: 商品ID
  4526. type: integer
  4527. goodsname:
  4528. description: 商品名称
  4529. type: string
  4530. qty:
  4531. description: 数量
  4532. type: number
  4533. startdate:
  4534. description: 点价开始日期
  4535. type: string
  4536. required:
  4537. - basic
  4538. - goodsid
  4539. - qty
  4540. type: object
  4541. erms3.SpotPriceOrder:
  4542. properties:
  4543. amount:
  4544. description: 金额
  4545. type: number
  4546. deliveryenddate:
  4547. description: 交收结束日期
  4548. type: string
  4549. deliverystartdate:
  4550. description: 交收开始日期
  4551. type: string
  4552. price:
  4553. description: 价格
  4554. type: number
  4555. qty:
  4556. description: 数量
  4557. type: number
  4558. required:
  4559. - amount
  4560. - price
  4561. - qty
  4562. type: object
  4563. hsby.GetHsbyMyCountRsp:
  4564. properties:
  4565. myCouponCount:
  4566. description: 我的优惠卷数量
  4567. type: integer
  4568. myOrderDetailListingCount:
  4569. description: 我的订单求购中数量
  4570. type: integer
  4571. myOrderDetailPreCount:
  4572. description: 我的订单抢购中数量
  4573. type: integer
  4574. myPackageUnReceiveCount:
  4575. description: 我的包裹待收货数量
  4576. type: integer
  4577. myPackageUnSendCount:
  4578. description: 我的包裹待发货数量
  4579. type: integer
  4580. myPayOrderCount:
  4581. description: 我的订单待付款数量
  4582. type: integer
  4583. type: object
  4584. hsby.QueryProvincesAndCitiesRsp:
  4585. properties:
  4586. cities:
  4587. description: 市
  4588. items:
  4589. $ref: '#/definitions/models.Division'
  4590. type: array
  4591. province:
  4592. $ref: '#/definitions/models.Division'
  4593. description: 省
  4594. type: object
  4595. models.Clientfixedadconfig:
  4596. properties:
  4597. adsort:
  4598. description: 排序
  4599. type: integer
  4600. adtype:
  4601. description: 广告位类型 - 1:新品抢购(HSBY)
  4602. type: integer
  4603. areauserid:
  4604. description: 所属机构ID
  4605. type: integer
  4606. createdate:
  4607. description: 创建时间
  4608. type: string
  4609. creatorid:
  4610. description: 创建人
  4611. type: integer
  4612. imagepath:
  4613. description: 图片
  4614. type: string
  4615. isshow:
  4616. description: 是否展示 - 0:不展示 1:展示
  4617. type: integer
  4618. modifierid:
  4619. description: 操作人
  4620. type: integer
  4621. recsize:
  4622. description: 推荐尺寸
  4623. type: string
  4624. title:
  4625. description: 标题
  4626. type: string
  4627. updatedate:
  4628. description: 更新时间
  4629. type: string
  4630. urlcontent:
  4631. description: 链接(地址或商品ID)
  4632. type: string
  4633. urltype:
  4634. description: 链接类型 - 1:直接地址 2:商品ID
  4635. type: integer
  4636. required:
  4637. - adsort
  4638. - adtype
  4639. type: object
  4640. models.Division:
  4641. properties:
  4642. autoid:
  4643. description: 自增ID
  4644. type: integer
  4645. divisioncode:
  4646. description: 行政代码
  4647. type: string
  4648. divisionlevel:
  4649. description: 行政级别
  4650. type: string
  4651. divisionname:
  4652. description: 行政名称
  4653. type: string
  4654. modifierid:
  4655. description: 修改人
  4656. type: integer
  4657. modifytime:
  4658. description: 修改时间
  4659. type: string
  4660. parentcode:
  4661. description: 上级行政代码
  4662. type: string
  4663. pathname:
  4664. description: 路径名称
  4665. type: string
  4666. postcode:
  4667. description: 邮政编码
  4668. type: string
  4669. separablename:
  4670. description: 可拆分的全称
  4671. type: string
  4672. shortcode:
  4673. description: 地区简码
  4674. type: string
  4675. required:
  4676. - autoid
  4677. - divisioncode
  4678. type: object
  4679. models.Enumdicitem:
  4680. properties:
  4681. autoid:
  4682. description: 自增ID
  4683. type: integer
  4684. bankmappedvalue:
  4685. description: 银行服务对应值
  4686. type: string
  4687. enumdiccode:
  4688. description: 所属枚举代码
  4689. type: string
  4690. enumdicid:
  4691. description: 所属枚举ID
  4692. type: integer
  4693. enumdicname:
  4694. description: 枚举项名称
  4695. type: string
  4696. enumitemname:
  4697. description: 枚举项值
  4698. type: integer
  4699. enumitemstatus:
  4700. description: 枚举项状态 - 1.启用 2.不启用
  4701. type: integer
  4702. enumitemvalue:
  4703. description: 通用值 - [币种通用简写]
  4704. type: string
  4705. param1:
  4706. description: 参数1[币种:币种小数位]
  4707. type: string
  4708. param2:
  4709. description: 参数1[币种:币种显示单位]
  4710. type: string
  4711. remark:
  4712. description: 备注
  4713. type: string
  4714. required:
  4715. - autoid
  4716. - enumdiccode
  4717. - enumdicid
  4718. - enumitemname
  4719. type: object
  4720. models.Ermcp3AreaSpot:
  4721. properties:
  4722. areauserid:
  4723. description: 所属机构
  4724. type: integer
  4725. decreaseqty:
  4726. description: 减少数量=-(销售已定价数量+采购计划数量)
  4727. type: number
  4728. deliverygoodscode:
  4729. description: 现货品种代码
  4730. type: string
  4731. deliverygoodsid:
  4732. description: 现货品种id
  4733. type: integer
  4734. deliverygoodsname:
  4735. description: 现货品种名称
  4736. type: string
  4737. increaseqty:
  4738. description: 增加数量=销售计划数量+采购已定价数量
  4739. type: number
  4740. oritoalspotqty:
  4741. description: 昨日数量
  4742. type: number
  4743. totalspotqty:
  4744. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  4745. type: number
  4746. updatetime:
  4747. description: 更新时间
  4748. type: string
  4749. type: object
  4750. models.Ermcp3AreaSpotDetail:
  4751. properties:
  4752. contracttype:
  4753. description: 合同类型 1-采购 -1-销售
  4754. type: integer
  4755. createtime:
  4756. description: 创建时间
  4757. type: string
  4758. deliverygoodscode:
  4759. description: 现货品种代码
  4760. type: string
  4761. deliverygoodsid:
  4762. description: 现货品种id
  4763. type: integer
  4764. deliverygoodsname:
  4765. description: 现货品种名称
  4766. type: string
  4767. enumdicname:
  4768. description: 现货商品单位名称
  4769. type: string
  4770. logtype:
  4771. description: 记录类型 1-套保 2-现货合同
  4772. type: integer
  4773. qty:
  4774. description: 数量
  4775. type: number
  4776. recordname:
  4777. description: 类型名称
  4778. type: string
  4779. relatedid:
  4780. description: 套保计划ID/现货合同ID
  4781. type: string
  4782. relatedno:
  4783. description: 编号
  4784. type: string
  4785. strtime:
  4786. description: 时间
  4787. type: string
  4788. type: object
  4789. models.Ermcp3Brand:
  4790. properties:
  4791. areauserid:
  4792. description: 用户id
  4793. type: integer
  4794. brandid:
  4795. description: 品牌id
  4796. type: integer
  4797. brandname:
  4798. description: 品牌名称
  4799. type: string
  4800. deliverygoodsid:
  4801. description: 品种ID
  4802. type: integer
  4803. type: object
  4804. models.Ermcp3Contract:
  4805. properties:
  4806. accountid:
  4807. description: 期货账户id
  4808. type: string
  4809. amount:
  4810. description: 金额 [1:一口价、3:暂定价]
  4811. type: number
  4812. attachment:
  4813. description: 附件
  4814. type: string
  4815. auditremark:
  4816. description: 审核意见
  4817. type: string
  4818. audittime:
  4819. description: 审核时间
  4820. type: string
  4821. biztype:
  4822. description: 业务类型 1-套保 2-套利
  4823. type: integer
  4824. brandname:
  4825. description: 品牌名称
  4826. type: string
  4827. buynickname:
  4828. description: 销售方昵称
  4829. type: string
  4830. buyuserid:
  4831. description: 采购方ID
  4832. type: integer
  4833. buyusername:
  4834. description: 采购方名称
  4835. type: string
  4836. contracctstatus:
  4837. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4838. type: integer
  4839. contractmargin:
  4840. description: 合同保证金
  4841. type: number
  4842. contractno:
  4843. description: 现货合同编号
  4844. type: string
  4845. contracttype:
  4846. description: 现货合同类型 - 1:采购 -1:销售
  4847. type: integer
  4848. convertfactor:
  4849. description: 标仓系数(品类)
  4850. type: number
  4851. createtime:
  4852. description: 创建时间
  4853. type: string
  4854. deliveryenddate:
  4855. description: 交收期(结束)
  4856. type: string
  4857. deliverygoodscode:
  4858. description: 现货品种代码
  4859. type: string
  4860. deliverygoodsid:
  4861. description: 现货品种ID
  4862. type: integer
  4863. deliverygoodsname:
  4864. description: 现货品种名称
  4865. type: string
  4866. deliverystartdate:
  4867. description: 交收期(开始)
  4868. type: string
  4869. enddate:
  4870. description: 点价结束日期 [2:点价 3:暂定价]
  4871. type: string
  4872. enumdicname:
  4873. description: 单位名称
  4874. type: string
  4875. goodscode:
  4876. description: 点价合约代码
  4877. type: string
  4878. goodsid:
  4879. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4880. type: integer
  4881. goodsname:
  4882. description: 点价商品名称
  4883. type: string
  4884. margin:
  4885. description: 当前保证金
  4886. type: number
  4887. meruserid:
  4888. description: 业务员id
  4889. type: integer
  4890. meruserlogincode:
  4891. description: 业务员登录代码
  4892. type: string
  4893. price:
  4894. description: 价格\暂定价 [1:一口价、3:暂定价]
  4895. type: number
  4896. pricemove:
  4897. description: 升贴水 [2:点价 3:暂定价]
  4898. type: number
  4899. pricetype:
  4900. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4901. type: integer
  4902. producttype:
  4903. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4904. type: integer
  4905. qty:
  4906. description: 数量
  4907. type: number
  4908. remark:
  4909. description: 备注
  4910. type: string
  4911. saleuserid:
  4912. description: 销售员id
  4913. type: integer
  4914. saleuserlogincode:
  4915. description: 销售员登录代码
  4916. type: string
  4917. sellnickname:
  4918. description: 采购方昵称
  4919. type: string
  4920. selluserid:
  4921. description: 销售方ID
  4922. type: integer
  4923. sellusername:
  4924. description: 销售方名称
  4925. type: string
  4926. spotcontractid:
  4927. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4928. type: string
  4929. spotgoodsbrandid:
  4930. description: 现货品牌ID(DGFactoryItem表的ID)
  4931. type: integer
  4932. spotgoodsdesc:
  4933. description: 商品型号
  4934. type: string
  4935. startdate:
  4936. description: 点价开始日期 [2:点价 3:暂定价]
  4937. type: string
  4938. tradeuserid:
  4939. description: 交易员id
  4940. type: integer
  4941. tradeuserlogincode:
  4942. description: 交易员登录代码
  4943. type: string
  4944. unitid:
  4945. description: 单位id(取品类上的单位id)
  4946. type: integer
  4947. updatetime:
  4948. description: 更新时间
  4949. type: string
  4950. userid:
  4951. description: 所属机构ID
  4952. type: integer
  4953. wrstandardcode:
  4954. description: 品类代码
  4955. type: string
  4956. wrstandardid:
  4957. description: 品类ID
  4958. type: integer
  4959. wrstandardname:
  4960. description: 品类名称
  4961. type: string
  4962. type: object
  4963. models.Ermcp3ExposureDetail:
  4964. properties:
  4965. areauserid:
  4966. description: 机构ID
  4967. type: integer
  4968. changeQty:
  4969. description: 套保变动量
  4970. type: number
  4971. contracttype:
  4972. description: 现货合同类型 - 1:采购 -1:销售
  4973. type: integer
  4974. convertfactor:
  4975. description: 标仓系数
  4976. type: number
  4977. convertratio:
  4978. description: 套保系数
  4979. type: number
  4980. createtime:
  4981. description: 时间
  4982. type: string
  4983. deliverygoodscode:
  4984. description: 现货品种代码
  4985. type: string
  4986. deliverygoodsid:
  4987. description: 现货品种id
  4988. type: integer
  4989. deliverygoodsname:
  4990. description: 现货品种名称
  4991. type: string
  4992. enumdicname:
  4993. description: 现货商品单位名称
  4994. type: string
  4995. logtype:
  4996. description: 类型 - 1:套保计划 2:现货合同
  4997. type: integer
  4998. middlegoodsId:
  4999. description: 套保商品id
  5000. type: integer
  5001. middlegoodscode:
  5002. description: 套保商品代码
  5003. type: string
  5004. middlegoodsname:
  5005. description: 套保商品名称
  5006. type: string
  5007. qty:
  5008. description: 数量
  5009. type: number
  5010. relateNo:
  5011. description: 现货合同/套保计划编号
  5012. type: string
  5013. type: object
  5014. models.Ermcp3ReportAreaSpotPL:
  5015. properties:
  5016. actualpl:
  5017. description: 实际损益
  5018. type: number
  5019. areauserid:
  5020. description: 所属机构
  5021. type: integer
  5022. brandname:
  5023. description: 品牌名称
  5024. type: string
  5025. curamount:
  5026. description: 期末额
  5027. type: number
  5028. curaverageprice:
  5029. description: 期末均价
  5030. type: number
  5031. curbuyamount:
  5032. description: 期末采购总额(采购额)
  5033. type: number
  5034. curbuyqty:
  5035. description: 期末采购总量
  5036. type: number
  5037. curmarketvalue:
  5038. description: 参考市值
  5039. type: number
  5040. curqty:
  5041. description: 期末量
  5042. type: number
  5043. cursellamount:
  5044. description: 期末销售总额(销售额)
  5045. type: number
  5046. cursellqty:
  5047. description: 期末销售总量
  5048. type: number
  5049. curspotprice:
  5050. description: 参考市价
  5051. type: number
  5052. deliverygoodscode:
  5053. description: 现货品种代码
  5054. type: string
  5055. deliverygoodsid:
  5056. description: 现货品种id
  5057. type: integer
  5058. deliverygoodsname:
  5059. description: 现货品种名称
  5060. type: string
  5061. enumdicname:
  5062. description: 现货商品单位名称
  5063. type: string
  5064. floatpl:
  5065. description: 浮动损益
  5066. type: number
  5067. gbenumdicname:
  5068. description: 品类单位名称
  5069. type: string
  5070. gbunitid:
  5071. description: 现货单位id
  5072. type: integer
  5073. modelname:
  5074. description: 品类名称
  5075. type: string
  5076. oriamount:
  5077. description: 期初额
  5078. type: number
  5079. oriaverageprice:
  5080. description: 期初均价
  5081. type: number
  5082. oribuyamount:
  5083. description: 期初采购总额
  5084. type: number
  5085. oribuyqty:
  5086. description: 期初采购总量
  5087. type: number
  5088. oriqty:
  5089. description: 期初量
  5090. type: number
  5091. orisellamount:
  5092. description: 期初销售总额
  5093. type: number
  5094. orisellqty:
  5095. description: 期初销售总量
  5096. type: number
  5097. spotgoodsbrandid:
  5098. description: 现货品牌ID
  5099. type: integer
  5100. todaybuyamount:
  5101. description: 今日采购额
  5102. type: number
  5103. todaybuyaverageprice:
  5104. description: 今日采购均价(采购均价)
  5105. type: number
  5106. todaybuyqty:
  5107. description: 今日采购量(采购增量)
  5108. type: number
  5109. todaysellamount:
  5110. description: 今日销售额
  5111. type: number
  5112. todaysellaverageprice:
  5113. description: 今日销售均价(销售均价)
  5114. type: number
  5115. todaysellqty:
  5116. description: 今日销售量(销售增量)
  5117. type: number
  5118. unitid:
  5119. description: 品类单位id
  5120. type: integer
  5121. updatetime:
  5122. description: 更新时间
  5123. type: string
  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.Ermcp3ReportDaySpot:
  5135. properties:
  5136. areauserid:
  5137. description: 所属机构T
  5138. type: integer
  5139. buyinqty:
  5140. description: 采购入库量
  5141. type: number
  5142. deliverygoodscode:
  5143. description: 现货品种代码
  5144. type: string
  5145. deliverygoodsid:
  5146. description: 现货品种id
  5147. type: integer
  5148. deliverygoodsname:
  5149. description: 现货品种名称
  5150. type: string
  5151. enumdicname:
  5152. description: 现货商品单位名称
  5153. type: string
  5154. reckondate:
  5155. description: 日照时期(yyyyMMdd)
  5156. type: string
  5157. selloutqty:
  5158. description: 销售出库量
  5159. type: number
  5160. todaybuyreckonqty:
  5161. description: 采购确定量
  5162. type: number
  5163. todaysellreckonqty:
  5164. description: 销售确定量
  5165. type: number
  5166. totalbuypricedqty:
  5167. description: 采购定价量 = 期末 - 期初
  5168. type: number
  5169. totalsellpricedqty:
  5170. description: 销售定价量 = 期末 - 期初
  5171. type: number
  5172. type: object
  5173. models.Ermcp3ReportMonSpot:
  5174. properties:
  5175. areauserid:
  5176. description: 所属机构id
  5177. type: integer
  5178. buyinqty:
  5179. description: 采购入库量
  5180. type: number
  5181. cycletime:
  5182. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5183. type: string
  5184. cycletype:
  5185. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5186. type: integer
  5187. deliverygoodscode:
  5188. description: 现货品种代码
  5189. type: string
  5190. deliverygoodsid:
  5191. description: 现货品种id
  5192. type: integer
  5193. deliverygoodsname:
  5194. description: 现货品种名称
  5195. type: string
  5196. enumdicname:
  5197. description: 现货商品单位名称
  5198. type: string
  5199. selloutqty:
  5200. description: 销售出库量
  5201. type: number
  5202. todaybuyreckonqty:
  5203. description: 采购确定量
  5204. type: number
  5205. todaysellreckonqty:
  5206. description: 销售确定量
  5207. type: number
  5208. totalbuypricedqty:
  5209. description: 采购定价量 = 期末 - 期初
  5210. type: number
  5211. totalsellpricedqty:
  5212. description: 销售定价量 = 期末 - 期初
  5213. type: number
  5214. type: object
  5215. models.Ermcp3ReportOPLog:
  5216. properties:
  5217. applyid:
  5218. description: 操作人
  5219. type: integer
  5220. applyname:
  5221. description: 操作人名称
  5222. type: string
  5223. biztype:
  5224. description: 业务类型 - 1:套保计划 2:现货合同
  5225. type: integer
  5226. brandname:
  5227. description: 品牌名称
  5228. type: string
  5229. contracttype:
  5230. description: 现货合同类型 - 1:采购 -1:销售
  5231. type: integer
  5232. deliverygoodscode:
  5233. description: 现货品种代码
  5234. type: string
  5235. deliverygoodsid:
  5236. description: 现货品种id
  5237. type: integer
  5238. deliverygoodsname:
  5239. description: 现货品种名称
  5240. type: string
  5241. enumdicName:
  5242. description: 单位名称
  5243. type: string
  5244. logdatetime:
  5245. description: 流水日期(时间)
  5246. type: string
  5247. logid:
  5248. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  5249. type: string
  5250. logtypename:
  5251. description: 合同类型(名称)
  5252. type: string
  5253. logvalue:
  5254. description: 数值
  5255. type: string
  5256. operatelogtype:
  5257. description: 操作流水类型 -
  5258. type: integer
  5259. optypename:
  5260. description: 流水类型名称
  5261. type: string
  5262. relatedid:
  5263. description: 现货合同ID\套保计划
  5264. type: string
  5265. relatedno:
  5266. description: 合同编号
  5267. type: string
  5268. tradedate:
  5269. description: 交易日(yyyyMMdd)
  5270. type: string
  5271. userid:
  5272. description: 机构ID
  5273. type: integer
  5274. type: object
  5275. models.Ermcp3SellBuyContract:
  5276. properties:
  5277. accountname:
  5278. description: 账户名称
  5279. type: string
  5280. attachment:
  5281. description: 附件
  5282. type: string
  5283. audittime:
  5284. description: 审核时间
  5285. type: string
  5286. brandname:
  5287. description: 品牌名称
  5288. type: string
  5289. contracctstatus:
  5290. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5291. type: integer
  5292. contractmargin:
  5293. description: 合同保证金
  5294. type: number
  5295. contractno:
  5296. description: 合同编号
  5297. type: string
  5298. contracttype:
  5299. description: 合同类型 1-采购, -1-销售
  5300. type: integer
  5301. convertfactor:
  5302. description: 标仓系数(品类)
  5303. type: number
  5304. createtime:
  5305. description: 创建时间
  5306. type: string
  5307. daikaiamount:
  5308. description: 应收(开)票额
  5309. type: number
  5310. deliveryenddate:
  5311. description: 交割结束日
  5312. type: string
  5313. deliverygoodscode:
  5314. description: 现货品种代码
  5315. type: string
  5316. deliverygoodsid:
  5317. description: 现货商品ID
  5318. type: integer
  5319. deliverygoodsname:
  5320. description: 现货品种名称
  5321. type: string
  5322. deliverystartdate:
  5323. description: 交割开始日
  5324. type: string
  5325. enddate:
  5326. description: 点价结束日
  5327. type: string
  5328. enumdicname:
  5329. description: 单位名称
  5330. type: string
  5331. goodscode:
  5332. description: 点价商品代码
  5333. type: string
  5334. goodsid:
  5335. description: 点价商品ID
  5336. type: integer
  5337. goodsname:
  5338. description: 点价商品名称
  5339. type: string
  5340. invoiceamount:
  5341. description: 已开票额
  5342. type: number
  5343. loanamount:
  5344. description: 贷款总额=已定价额+调整金额
  5345. type: number
  5346. margin:
  5347. description: 保证金
  5348. type: number
  5349. payamount:
  5350. description: 已收付额(收款或付款)
  5351. type: number
  5352. preinvoiceamount:
  5353. description: 预收(开)票额
  5354. type: number
  5355. prepayamount:
  5356. description: 预收付额
  5357. type: number
  5358. price:
  5359. description: 价格
  5360. type: number
  5361. pricedamount:
  5362. description: 已定价额
  5363. type: number
  5364. pricedavg:
  5365. description: 已点均价
  5366. type: number
  5367. pricedqty:
  5368. description: 已定价量
  5369. type: number
  5370. pricemove:
  5371. description: 升贴水
  5372. type: number
  5373. pricetype:
  5374. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5375. type: integer
  5376. producttype:
  5377. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5378. type: integer
  5379. qty:
  5380. description: 合同量
  5381. type: number
  5382. reckonadjustamount:
  5383. description: 调整金额
  5384. type: number
  5385. reckonedamount:
  5386. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5387. type: number
  5388. reckonotheramount:
  5389. description: 其它费用
  5390. type: number
  5391. reckonrealqty:
  5392. description: 已确定量
  5393. type: number
  5394. remark:
  5395. description: 备注
  5396. type: string
  5397. spotcontractid:
  5398. description: 合同ID
  5399. type: string
  5400. spotgoodsbrandid:
  5401. description: 现货品牌ID(DGFactoryItem表的ID)
  5402. type: integer
  5403. spotgoodsdesc:
  5404. description: 商品型号(商品规格)
  5405. type: string
  5406. startdate:
  5407. description: 点价开始日
  5408. type: string
  5409. totalamount:
  5410. description: 合计总额
  5411. type: number
  5412. unpayamount:
  5413. description: 应收付款额(应支付或应收款)
  5414. type: number
  5415. unpricedqty:
  5416. description: 未定价量
  5417. type: number
  5418. unsureqty:
  5419. description: 未确定量
  5420. type: number
  5421. userid:
  5422. description: 机构ID
  5423. type: integer
  5424. wrstandardcode:
  5425. description: 品类代码
  5426. type: string
  5427. wrstandardid:
  5428. description: 品类ID
  5429. type: integer
  5430. wrstandardname:
  5431. description: 品类名称
  5432. type: string
  5433. type: object
  5434. models.Ermcp3Wrstandard:
  5435. properties:
  5436. areauserid:
  5437. description: 所属机构
  5438. type: integer
  5439. createtime:
  5440. description: 创建时间
  5441. type: string
  5442. creatorid:
  5443. description: 创建人
  5444. type: integer
  5445. deliverygoodsid:
  5446. description: 现货品种ID
  5447. type: integer
  5448. enumdicname:
  5449. description: 品类单位名称
  5450. type: string
  5451. isvalid:
  5452. description: 是否有效 0-无效(停用) 1-有效(正常)
  5453. type: integer
  5454. minivalue:
  5455. description: 最小变动值
  5456. type: integer
  5457. minivaluedp:
  5458. description: 最小变动值小数位
  5459. type: integer
  5460. realminivalue:
  5461. description: 实际最小变动值
  5462. type: integer
  5463. realminivaluedp:
  5464. description: 实际最小变动值小数位
  5465. type: integer
  5466. remark:
  5467. description: 备注
  5468. type: string
  5469. unitid:
  5470. description: 品类单位ID
  5471. type: integer
  5472. updatetime:
  5473. description: 更新时间
  5474. type: string
  5475. wrstandardcode:
  5476. description: 品类代码
  5477. type: string
  5478. wrstandardid:
  5479. description: 品类ID(SEQ_WRSTANDARD)
  5480. type: integer
  5481. wrstandardname:
  5482. description: 品类名称
  5483. type: string
  5484. type: object
  5485. models.ErmcpAreaStock:
  5486. properties:
  5487. brandname:
  5488. description: 品牌名称
  5489. type: string
  5490. curstock:
  5491. description: 期末库存量(今日量)
  5492. type: number
  5493. deliverygoodsid:
  5494. description: 现货品种ID
  5495. type: integer
  5496. enumdicname:
  5497. description: 单位名称
  5498. type: string
  5499. modelname:
  5500. description: 型号名称
  5501. type: string
  5502. oristock:
  5503. description: 期初库存量(昨日量)
  5504. type: number
  5505. spotgoodsbrandid:
  5506. description: 现货品牌ID
  5507. type: integer
  5508. spotgoodsmodelid:
  5509. description: 现货型号ID
  5510. type: integer
  5511. todaybuyinqty:
  5512. description: 今日采购入库量
  5513. type: number
  5514. todayproduceinqty:
  5515. description: 今日生产入库量
  5516. type: number
  5517. todayproduceoutqty:
  5518. description: 今日生产出库量
  5519. type: number
  5520. todayselloutqty:
  5521. description: 今日销售出库量
  5522. type: number
  5523. unitid:
  5524. description: 单位id
  5525. type: integer
  5526. updatetime:
  5527. description: 更新时间
  5528. type: string
  5529. userid:
  5530. description: 机构ID
  5531. type: integer
  5532. username:
  5533. description: 机构名称
  5534. type: string
  5535. warehousecode:
  5536. description: 仓库代码
  5537. type: string
  5538. warehouseinfoid:
  5539. description: 仓库ID
  5540. type: string
  5541. warehousename:
  5542. description: 仓库名称
  5543. type: string
  5544. warehousetype:
  5545. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5546. type: integer
  5547. wrstandardcode:
  5548. description: 现货商品代码
  5549. type: string
  5550. wrstandardid:
  5551. description: 现货商品ID
  5552. type: string
  5553. wrstandardname:
  5554. description: 现货商品名称
  5555. type: string
  5556. type: object
  5557. models.ErmcpAreaStockApply:
  5558. properties:
  5559. applyid:
  5560. description: 申请人
  5561. type: integer
  5562. applyname:
  5563. description: 申请人名称
  5564. type: string
  5565. applyremark:
  5566. description: 申请备注
  5567. type: string
  5568. applysrc:
  5569. description: 申请来源 - 1:管理端 2:终端
  5570. type: integer
  5571. applystatus:
  5572. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5573. type: integer
  5574. applytime:
  5575. description: 申请时间
  5576. type: string
  5577. auditid:
  5578. description: 审核人
  5579. type: integer
  5580. auditname:
  5581. description: 审核人名称
  5582. type: string
  5583. auditremark:
  5584. description: 审核备注
  5585. type: string
  5586. auditsrc:
  5587. description: 审核来源 - 1:管理端 2:终端
  5588. type: integer
  5589. audittime:
  5590. description: 审核时间
  5591. type: string
  5592. audittradedate:
  5593. description: 审核交易日(yyyyMMdd)
  5594. type: string
  5595. brandname:
  5596. description: 品牌名称
  5597. type: string
  5598. buyuserid:
  5599. description: 采购方userid
  5600. type: integer
  5601. buyusername:
  5602. description: 采购方名称
  5603. type: string
  5604. contractno:
  5605. description: 合同编号
  5606. type: string
  5607. contractqty:
  5608. description: 合同量
  5609. type: number
  5610. contracttype:
  5611. description: 现货合同类型 - 1:采购 -1:销售
  5612. type: integer
  5613. deliverygoodsid:
  5614. description: 现货品种ID
  5615. type: integer
  5616. enumdicname:
  5617. description: 现货商品单位名称
  5618. type: string
  5619. inoutapplyid:
  5620. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  5621. type: string
  5622. inouttype:
  5623. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  5624. type: integer
  5625. modelname:
  5626. description: 型号名称
  5627. type: string
  5628. pricetype:
  5629. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5630. type: integer
  5631. qty:
  5632. description: 数量
  5633. type: number
  5634. selluserid:
  5635. description: 销售方userid
  5636. type: integer
  5637. sellusername:
  5638. description: 销售方名称
  5639. type: string
  5640. spotcontractid:
  5641. description: 关联现货合同ID
  5642. type: string
  5643. spotgoodsbrandid:
  5644. description: 现货品牌ID
  5645. type: integer
  5646. spotgoodsmodelid:
  5647. description: 现货型号ID
  5648. type: integer
  5649. unitid:
  5650. description: 单位id
  5651. type: integer
  5652. userid:
  5653. description: 机构ID
  5654. type: integer
  5655. warehousecode:
  5656. description: 仓库代码
  5657. type: string
  5658. warehouseinfoid:
  5659. description: 现货仓库ID
  5660. type: string
  5661. warehousename:
  5662. description: 仓库名称
  5663. type: string
  5664. warehousetype:
  5665. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5666. type: integer
  5667. wrstandardcode:
  5668. description: 现货商品代码
  5669. type: string
  5670. wrstandardid:
  5671. description: 现货商品ID
  5672. type: string
  5673. wrstandardname:
  5674. description: 现货商品名称
  5675. type: string
  5676. type: object
  5677. models.ErmcpAreaStockReport:
  5678. properties:
  5679. brandname:
  5680. description: 品牌名称
  5681. type: string
  5682. curstock:
  5683. description: 期末库存量
  5684. type: number
  5685. deliverygoodsid:
  5686. description: 现货品种ID
  5687. type: integer
  5688. enumdicname:
  5689. description: 单位名称
  5690. type: string
  5691. modelname:
  5692. description: 型号名称
  5693. type: string
  5694. oristock:
  5695. description: 期初库存量
  5696. type: number
  5697. spotgoodsbrandid:
  5698. description: 现货品牌ID
  5699. type: integer
  5700. spotgoodsmodelid:
  5701. description: 现货型号ID
  5702. type: integer
  5703. todaybuyinqty:
  5704. description: 今日采购入库量
  5705. type: number
  5706. todayproduceinqty:
  5707. description: 今日生产入库量
  5708. type: number
  5709. todayproduceoutqty:
  5710. description: 今日生产出库量
  5711. type: number
  5712. todayselloutqty:
  5713. description: 今日销售出库量
  5714. type: number
  5715. unitid:
  5716. description: 单位id
  5717. type: integer
  5718. updatetime:
  5719. description: 更新时间
  5720. type: string
  5721. userid:
  5722. description: 机构ID
  5723. type: integer
  5724. username:
  5725. description: 机构名称
  5726. type: string
  5727. warehousecode:
  5728. description: 仓库代码
  5729. type: string
  5730. warehouseinfoid:
  5731. description: 仓库ID
  5732. type: string
  5733. warehousename:
  5734. description: 仓库名称
  5735. type: string
  5736. warehousetype:
  5737. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5738. type: integer
  5739. wrstandardcode:
  5740. description: 现货商品代码
  5741. type: string
  5742. wrstandardid:
  5743. description: 现货商品ID
  5744. type: string
  5745. wrstandardname:
  5746. description: 现货商品名称
  5747. type: string
  5748. type: object
  5749. models.ErmcpBizGroupEx:
  5750. properties:
  5751. acclist:
  5752. description: 账号列表
  5753. items:
  5754. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5755. type: array
  5756. bizgroupid:
  5757. description: 业务分组id
  5758. type: integer
  5759. biztype:
  5760. description: 业务类型 1-套保 2-套利
  5761. type: integer
  5762. wrlist:
  5763. description: 现货商品表
  5764. items:
  5765. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5766. type: array
  5767. type: object
  5768. models.ErmcpBizGroupSpotGoods:
  5769. properties:
  5770. areauserid:
  5771. description: 所属机构id
  5772. type: integer
  5773. bizgroupid:
  5774. description: 分组id
  5775. type: integer
  5776. biztype:
  5777. description: 业务类型 1-套保 2-套利
  5778. type: integer
  5779. deliverygoodscode:
  5780. description: 现货商品代码
  5781. type: string
  5782. deliverygoodsid:
  5783. description: 现货商品id
  5784. type: integer
  5785. deliverygoodsname:
  5786. description: 现货商品名称
  5787. type: string
  5788. unitid:
  5789. description: 现货商品单位id
  5790. type: integer
  5791. type: object
  5792. models.ErmcpBizGroupTaAccount:
  5793. properties:
  5794. accountid:
  5795. description: 账号id
  5796. type: string
  5797. accountname:
  5798. description: 账号名称
  5799. type: string
  5800. areauserid:
  5801. description: 所属机构id
  5802. type: integer
  5803. bizgroupid:
  5804. description: 业务分组id
  5805. type: integer
  5806. ismain:
  5807. description: 是否主账号 1-是 0-否
  5808. type: integer
  5809. type: object
  5810. models.ErmcpDGFactoryItem:
  5811. properties:
  5812. areauserid:
  5813. description: 用户id
  5814. type: integer
  5815. deliverygoodsid:
  5816. description: 现货品种ID
  5817. type: integer
  5818. dgfactoryitemid:
  5819. description: 选择项ID(SEQ_DGFACTORYITEM)
  5820. type: integer
  5821. dgfactoryitemtypeid:
  5822. description: 要素项类型
  5823. type: integer
  5824. dgfactoryitemvalue:
  5825. description: 要素项值(类型为仓库时填写仓库名称)
  5826. type: string
  5827. isvalid:
  5828. description: 是否有效 - 0:无效 1:有效
  5829. type: integer
  5830. orderindex:
  5831. description: 顺序
  5832. type: integer
  5833. warehouseid:
  5834. description: 仓库ID(类型为仓库时填写)
  5835. type: integer
  5836. type: object
  5837. models.ErmcpDeliveryGoods:
  5838. properties:
  5839. agreeunit:
  5840. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5841. type: integer
  5842. areauserid:
  5843. description: 所属机构
  5844. type: integer
  5845. auditflag:
  5846. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5847. type: integer
  5848. categoryid:
  5849. description: 类别ID(SEQ_WRCATEGORY)
  5850. type: integer
  5851. deliverygoodscode:
  5852. description: 现货品种代码
  5853. type: string
  5854. deliverygoodsid:
  5855. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5856. type: integer
  5857. deliverygoodsname:
  5858. description: 现货品种名称
  5859. type: string
  5860. deliverygoodstype:
  5861. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5862. type: integer
  5863. dgstatus:
  5864. description: 品种状态 - 作废 - 0:未激活 1:正常
  5865. type: integer
  5866. enumdicname:
  5867. description: 现货品种单位名称
  5868. type: string
  5869. goodsunitid:
  5870. description: 现货品种单位ID
  5871. type: integer
  5872. isvalid:
  5873. description: 是否有效 - 0:无效 1:有效
  5874. type: integer
  5875. qtydecimalplace:
  5876. description: 成交量小数位
  5877. type: integer
  5878. standardqty:
  5879. description: 标准数量(库位数量) [标准品特有]
  5880. type: integer
  5881. standardqtyrange:
  5882. description: 标准数量偏差范围 [标准品特有]
  5883. type: integer
  5884. type: object
  5885. models.ErmcpDeliveryGoodsDetail:
  5886. properties:
  5887. data:
  5888. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5889. description: 现货商品基本信息(交割品种)
  5890. gblist:
  5891. description: 品牌列表
  5892. items:
  5893. $ref: '#/definitions/models.Ermcp3Brand'
  5894. type: array
  5895. gmlist:
  5896. description: 品类列表(仓单标准)
  5897. items:
  5898. $ref: '#/definitions/models.ErmcpWrstandard'
  5899. type: array
  5900. goodslist:
  5901. description: 关联交易商品列表
  5902. items:
  5903. $ref: '#/definitions/models.ErmcpRelatedGoods'
  5904. type: array
  5905. wrslist:
  5906. description: 套保信息列表
  5907. items:
  5908. $ref: '#/definitions/models.WRSConverTDetail'
  5909. type: array
  5910. type: object
  5911. models.ErmcpFuturesCompany:
  5912. properties:
  5913. brokerid:
  5914. description: 经纪公司代码
  5915. type: string
  5916. channeladdress:
  5917. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5918. type: string
  5919. channelid:
  5920. description: 对冲渠道ID
  5921. type: string
  5922. createtime:
  5923. description: 创建时间
  5924. type: string
  5925. creatorid:
  5926. description: 创建人
  5927. type: string
  5928. fcid:
  5929. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5930. type: integer
  5931. fcname:
  5932. description: 期货公司名称
  5933. type: string
  5934. isvalid:
  5935. description: 是否有效 - 0:无效 1:有效
  5936. type: integer
  5937. mhpaddress:
  5938. description: MHP服务地址(IP:Port)
  5939. type: string
  5940. riskrulegroupid:
  5941. description: 风控规则组ID
  5942. type: string
  5943. tradefeetmpid:
  5944. description: 手续费模板ID[TradeConfigTmpType为2]
  5945. type: string
  5946. trademargintmpid:
  5947. description: 保证金模板ID [TradeConfigTmpType为1]
  5948. type: string
  5949. traderatetmpid:
  5950. description: 汇率模板ID[TradeConfigTmpType为3]
  5951. type: string
  5952. updatetime:
  5953. description: 更新时间
  5954. type: string
  5955. updatorid:
  5956. description: 更新人
  5957. type: string
  5958. type: object
  5959. models.ErmcpGGConvertCfg:
  5960. properties:
  5961. convertratio:
  5962. description: 折算系数
  5963. type: number
  5964. destgoodsgroupid:
  5965. description: 目标品种ID
  5966. type: integer
  5967. dstcode:
  5968. description: 目录品种代码
  5969. type: string
  5970. dstexchangecode:
  5971. description: 目标期货交易所
  5972. type: string
  5973. dstname:
  5974. description: 目标品种名称
  5975. type: string
  5976. dstunitid:
  5977. description: 目标品种单位ID
  5978. type: integer
  5979. dstunitidname:
  5980. description: 目标品种单位名称
  5981. type: string
  5982. modifytime:
  5983. description: 修改时间
  5984. type: string
  5985. srccode:
  5986. description: 源品种代码
  5987. type: string
  5988. srcexchangecode:
  5989. description: 源期货交易所
  5990. type: string
  5991. srcgoodsgroupid:
  5992. description: 源品种ID
  5993. type: integer
  5994. srcname:
  5995. description: 源品种名称
  5996. type: string
  5997. srcunitid:
  5998. description: 源品种单位ID
  5999. type: integer
  6000. srcunitidname:
  6001. description: 源品种单位名称
  6002. type: string
  6003. type: object
  6004. models.ErmcpGoodsBrand:
  6005. properties:
  6006. areauserid:
  6007. description: 所属机构
  6008. type: integer
  6009. brandid:
  6010. description: BrandID(SEQ_SPOTGOODSBRAND)
  6011. type: integer
  6012. brandname:
  6013. description: 品牌名称
  6014. type: string
  6015. createtime:
  6016. description: 创建时间
  6017. type: string
  6018. creatorid:
  6019. description: 创建人
  6020. type: integer
  6021. creatorsrc:
  6022. description: 创建人来源 - 1:管理端 2:终端
  6023. type: integer
  6024. deliverygoodsid:
  6025. description: 现货品种ID
  6026. type: integer
  6027. isvalid:
  6028. description: 是否有效 - 0:无效 1:有效
  6029. type: integer
  6030. updatetime:
  6031. description: 更新时间
  6032. type: string
  6033. updatorid:
  6034. description: 更新人
  6035. type: integer
  6036. updatorsrc:
  6037. description: 更新人来源 - 1:管理端 2:终端
  6038. type: integer
  6039. wrstandardid:
  6040. description: 现货商品ID
  6041. type: integer
  6042. type: object
  6043. models.ErmcpGoodsModel:
  6044. properties:
  6045. areauserid:
  6046. description: 所属机构
  6047. type: integer
  6048. convertfactor:
  6049. description: 标仓系数
  6050. type: number
  6051. createtime:
  6052. description: 创建时间
  6053. type: string
  6054. creatorid:
  6055. description: 创建人
  6056. type: integer
  6057. creatorsrc:
  6058. description: 创建人来源 - 1:管理端 2:终端
  6059. type: integer
  6060. deliverygoodsid:
  6061. description: 现货品种ID
  6062. type: integer
  6063. isvalid:
  6064. description: 是否有效 - 0:无效 1:有效
  6065. type: integer
  6066. modelid:
  6067. description: ModelID(SEQ_SPOTGOODSMODEL)
  6068. type: integer
  6069. modelname:
  6070. description: 型号名称
  6071. type: string
  6072. updatetime:
  6073. description: 更新时间
  6074. type: string
  6075. updatorid:
  6076. description: 更新人
  6077. type: integer
  6078. updatorsrc:
  6079. description: 更新人来源 - 1:管理端 2:终端
  6080. type: integer
  6081. wrstandardid:
  6082. description: 现货商品ID
  6083. type: integer
  6084. type: object
  6085. models.ErmcpHisExposure:
  6086. properties:
  6087. needhedgeexposoure:
  6088. description: 应套保敞口
  6089. type: number
  6090. reckondate:
  6091. description: 日照时期(yyyyMMdd)
  6092. type: string
  6093. totalexposure:
  6094. description: 总敞口
  6095. type: number
  6096. type: object
  6097. models.ErmcpLoginUser:
  6098. properties:
  6099. accountname:
  6100. description: 用户名称
  6101. type: string
  6102. clientroleid:
  6103. description: 角色id(usertype=2)
  6104. type: integer
  6105. createtime:
  6106. description: 创建时间
  6107. type: string
  6108. logincode:
  6109. description: 登录代码
  6110. type: string
  6111. loginid:
  6112. description: 登录id(LOGINID)
  6113. type: integer
  6114. loginstatus:
  6115. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6116. type: integer
  6117. memberuserid:
  6118. description: 所属会员id
  6119. type: integer
  6120. modifytime:
  6121. description: 修改时间
  6122. type: string
  6123. rolename:
  6124. description: 角色名称
  6125. type: string
  6126. rolestatus:
  6127. description: 角色状态 1-启用 2-停用
  6128. type: integer
  6129. roletype:
  6130. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6131. type: string
  6132. userid:
  6133. description: 用户id
  6134. type: integer
  6135. usertype:
  6136. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6137. type: integer
  6138. type: object
  6139. models.ErmcpLoginUserEx:
  6140. properties:
  6141. roleid:
  6142. description: 角色id
  6143. type: integer
  6144. rolename:
  6145. description: 角色名称
  6146. type: string
  6147. userlist:
  6148. description: 用户列表
  6149. items:
  6150. $ref: '#/definitions/models.ErmcpLoginUser'
  6151. type: array
  6152. usertype:
  6153. description: 用户类型 2-机构 7-企业成员(云平台)
  6154. type: integer
  6155. type: object
  6156. models.ErmcpMiddleGoodsModel:
  6157. properties:
  6158. areauserid:
  6159. description: 机构用户ID
  6160. type: integer
  6161. createtime:
  6162. description: 修改时间
  6163. type: string
  6164. enumdicname:
  6165. description: 单位名称
  6166. type: string
  6167. evaluateratio:
  6168. description: 估价系数
  6169. type: number
  6170. goodsgroupid:
  6171. description: 关联期货品种ID
  6172. type: integer
  6173. isvalid:
  6174. description: 状态 0-无效(停用) 1-有效(正常)
  6175. type: integer
  6176. middlegoodscode:
  6177. description: 套保品种代码
  6178. type: string
  6179. middlegoodsid:
  6180. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6181. type: integer
  6182. middlegoodsname:
  6183. description: 套保品种名称
  6184. type: string
  6185. modifytime:
  6186. description: 修改时间
  6187. type: string
  6188. needhedgeratio:
  6189. description: 套保比率
  6190. type: number
  6191. qtydecimalplace:
  6192. description: 数量小数位
  6193. type: integer
  6194. relatedgoodsid:
  6195. description: 关联交易商品ID
  6196. type: integer
  6197. relatedgoodstype:
  6198. description: 关联商品类型 - 1:期货合约 2:现货品种
  6199. type: integer
  6200. remark:
  6201. description: 备注
  6202. type: string
  6203. type: object
  6204. models.ErmcpRelatedGoods:
  6205. properties:
  6206. deliverygoodsid:
  6207. description: 品种ID
  6208. type: integer
  6209. goodscode:
  6210. description: 商品代码
  6211. type: string
  6212. goodsid:
  6213. description: 商品id
  6214. type: integer
  6215. goodsname:
  6216. description: 商品名称
  6217. type: string
  6218. type: object
  6219. models.ErmcpReportAreaSpotPL:
  6220. properties:
  6221. actualpl:
  6222. description: 实际损益
  6223. type: number
  6224. areauserid:
  6225. description: 所属机构
  6226. type: integer
  6227. brandname:
  6228. description: 品牌名称
  6229. type: string
  6230. curamount:
  6231. description: 期末额
  6232. type: number
  6233. curaverageprice:
  6234. description: 期末均价
  6235. type: number
  6236. curbuyamount:
  6237. description: 期末采购总额(采购额)
  6238. type: number
  6239. curbuyqty:
  6240. description: 期末采购总量
  6241. type: number
  6242. curmarketvalue:
  6243. description: 参考市值
  6244. type: number
  6245. curqty:
  6246. description: 期末量
  6247. type: number
  6248. cursellamount:
  6249. description: 期末销售总额(销售额)
  6250. type: number
  6251. cursellqty:
  6252. description: 期末销售总量
  6253. type: number
  6254. curspotprice:
  6255. description: 参考市价
  6256. type: number
  6257. enumdicname:
  6258. description: 现货商品单位名称
  6259. type: string
  6260. floatpl:
  6261. description: 浮动损益
  6262. type: number
  6263. gbenumdicname:
  6264. description: 品类单位名称
  6265. type: string
  6266. gbunitid:
  6267. description: 品类单位id
  6268. type: integer
  6269. modelname:
  6270. description: 品类名称
  6271. type: string
  6272. oriamount:
  6273. description: 期初额
  6274. type: number
  6275. oriaverageprice:
  6276. description: 期初均价
  6277. type: number
  6278. oribuyamount:
  6279. description: 期初采购总额
  6280. type: number
  6281. oribuyqty:
  6282. description: 期初采购总量
  6283. type: number
  6284. oriqty:
  6285. description: 期初量
  6286. type: number
  6287. orisellamount:
  6288. description: 期初销售总额
  6289. type: number
  6290. orisellqty:
  6291. description: 期初销售总量
  6292. type: number
  6293. spotgoodsbrandid:
  6294. description: 现货品牌ID
  6295. type: integer
  6296. spotgoodsmodelid:
  6297. description: 现货品类ID
  6298. type: integer
  6299. todaybuyamount:
  6300. description: 今日采购额
  6301. type: number
  6302. todaybuyaverageprice:
  6303. description: 今日采购均价(采购均价)
  6304. type: number
  6305. todaybuyqty:
  6306. description: 今日采购量(采购增量)
  6307. type: number
  6308. todaysellamount:
  6309. description: 今日销售额
  6310. type: number
  6311. todaysellaverageprice:
  6312. description: 今日销售均价(销售均价)
  6313. type: number
  6314. todaysellqty:
  6315. description: 今日销售量(销售增量)
  6316. type: number
  6317. unitid:
  6318. description: 现货商品单位id
  6319. type: integer
  6320. updatetime:
  6321. description: 更新时间
  6322. type: string
  6323. wrstandardcode:
  6324. description: 现货商品代码
  6325. type: string
  6326. wrstandardid:
  6327. description: 现货商品ID
  6328. type: integer
  6329. wrstandardname:
  6330. description: 现货商品名称
  6331. type: string
  6332. type: object
  6333. models.ErmcpReportDayFR:
  6334. properties:
  6335. areauserid:
  6336. description: 所属机构
  6337. type: integer
  6338. collectinvoiceamount:
  6339. description: 今日开票金额
  6340. type: number
  6341. collectinvoicecount:
  6342. description: 今日开票笔数
  6343. type: integer
  6344. collectmoneyamount:
  6345. description: 今日收款金额
  6346. type: number
  6347. collectmoneycount:
  6348. description: 今日收款笔数
  6349. type: integer
  6350. payinvoiceamount:
  6351. description: 今日收票金额
  6352. type: number
  6353. payinvoicecount:
  6354. description: 今日收票笔数
  6355. type: integer
  6356. paymoneyamount:
  6357. description: 今日付款金额
  6358. type: number
  6359. paymoneycount:
  6360. description: 今日付款笔数
  6361. type: integer
  6362. reckondate:
  6363. description: 日照时期(yyyyMMdd)
  6364. type: string
  6365. updatetime:
  6366. description: 更新时间
  6367. type: string
  6368. type: object
  6369. models.ErmcpRole:
  6370. properties:
  6371. areauserid:
  6372. description: 所属机构
  6373. type: integer
  6374. autoid:
  6375. description: 角色ID(自增ID)
  6376. type: integer
  6377. modifierid:
  6378. description: 修改人(创建人)
  6379. type: integer
  6380. modifiername:
  6381. description: 修改人名称
  6382. type: string
  6383. modifytime:
  6384. description: 修改时间(创建时间)
  6385. type: string
  6386. rolename:
  6387. description: 角色名称
  6388. type: string
  6389. rolestatus:
  6390. description: 角色状态 - 1:启用 2:停用
  6391. type: integer
  6392. roletype:
  6393. description: 角色类型 - 1- 管理端 2- 交易端
  6394. type: integer
  6395. type: object
  6396. models.ErmcpRoleMenu:
  6397. properties:
  6398. iconame:
  6399. description: 菜单图标
  6400. type: string
  6401. menutype:
  6402. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6403. type: integer
  6404. parentcode:
  6405. description: 上级资源代码
  6406. type: string
  6407. remark:
  6408. description: 菜单备注
  6409. type: string
  6410. resourcecode:
  6411. description: 菜单代码
  6412. type: string
  6413. resourcelevel:
  6414. description: 级别
  6415. type: integer
  6416. resourcename:
  6417. description: 菜单名称
  6418. type: string
  6419. roleid:
  6420. description: 角色id
  6421. type: integer
  6422. sort:
  6423. description: 排序
  6424. type: integer
  6425. url:
  6426. description: URL
  6427. type: string
  6428. userid:
  6429. description: 用户id
  6430. type: integer
  6431. type: object
  6432. models.ErmcpRoleMenuEx:
  6433. properties:
  6434. menu:
  6435. $ref: '#/definitions/models.ErmcpRoleMenu'
  6436. description: 父级菜单
  6437. subMenu:
  6438. description: 子级菜单
  6439. items:
  6440. $ref: '#/definitions/models.ErmcpRoleMenu'
  6441. type: array
  6442. type: object
  6443. models.ErmcpSpotGoodsPrice:
  6444. properties:
  6445. areauserid:
  6446. description: 所属机构id
  6447. type: integer
  6448. brandname:
  6449. description: 品牌名称
  6450. type: string
  6451. currencyid:
  6452. description: 报价货币ID
  6453. type: integer
  6454. enumdicname:
  6455. description: 现货商品单位名称
  6456. type: string
  6457. gbenumdicname:
  6458. description: 品类单位名称
  6459. type: string
  6460. gmunitid:
  6461. description: 品类单位id
  6462. type: integer
  6463. isvalid:
  6464. description: 是否有效 - 0:无效 1:有效
  6465. type: integer
  6466. modelname:
  6467. description: 品类名称
  6468. type: string
  6469. operateid:
  6470. description: 最后操作人
  6471. type: integer
  6472. operatesrc:
  6473. description: 最后操作来源 - 1:管理端 2:终端
  6474. type: integer
  6475. operatetime:
  6476. description: 最后操作时间
  6477. type: string
  6478. operatorname:
  6479. description: 操作人名称
  6480. type: string
  6481. spotgoodsbrandid:
  6482. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6483. type: integer
  6484. spotgoodsmodelid:
  6485. description: 现货品类ID(通用则为0)
  6486. type: integer
  6487. spotgoodsprice:
  6488. description: 现货价格
  6489. type: number
  6490. tradedate:
  6491. description: 交易日(yyyyMMdd)
  6492. type: string
  6493. unitid:
  6494. description: 现货商品单位id
  6495. type: integer
  6496. wrstandardcode:
  6497. description: 现货商品代码
  6498. type: string
  6499. wrstandardid:
  6500. description: 现货商品ID
  6501. type: integer
  6502. wrstandardname:
  6503. description: 现货商品名称
  6504. type: string
  6505. type: object
  6506. models.ErmcpSpotGoodsPriceLog:
  6507. properties:
  6508. areauserid:
  6509. description: 所属机构id
  6510. type: integer
  6511. brandname:
  6512. description: 品牌名称
  6513. type: string
  6514. currencyid:
  6515. description: 报价货币ID
  6516. type: integer
  6517. enumdicname:
  6518. description: 现货商品单位名称
  6519. type: string
  6520. gbenumdicname:
  6521. description: 品类单位名称
  6522. type: string
  6523. gmunitid:
  6524. description: 品类单位id
  6525. type: integer
  6526. logid:
  6527. description: 日志id
  6528. type: integer
  6529. modelname:
  6530. description: 品类名称
  6531. type: string
  6532. operateid:
  6533. description: 最后操作人
  6534. type: integer
  6535. operatesrc:
  6536. description: 最后操作来源 - 1:管理端 2:终端
  6537. type: integer
  6538. operatetime:
  6539. description: 最后操作时间
  6540. type: string
  6541. operatorname:
  6542. description: 操作人名称
  6543. type: string
  6544. spotgoodsbrandid:
  6545. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6546. type: integer
  6547. spotgoodsmodelid:
  6548. description: 现货品类ID(通用则为0)
  6549. type: integer
  6550. spotgoodsprice:
  6551. description: 现货价格
  6552. type: number
  6553. tradedate:
  6554. description: 交易日(yyyyMMdd)
  6555. type: string
  6556. unitid:
  6557. description: 现货商品单位id
  6558. type: integer
  6559. wrstandardcode:
  6560. description: 现货商品代码
  6561. type: string
  6562. wrstandardid:
  6563. description: 现货商品ID
  6564. type: integer
  6565. wrstandardname:
  6566. description: 现货商品名称
  6567. type: string
  6568. type: object
  6569. models.ErmcpTaAccount:
  6570. properties:
  6571. accountid:
  6572. description: 账户id
  6573. type: integer
  6574. accountname:
  6575. description: 账户名称
  6576. type: string
  6577. currencyid:
  6578. description: 币种id
  6579. type: integer
  6580. ismain:
  6581. description: 是否主账户 0-否 1-是
  6582. type: integer
  6583. parentaccountid:
  6584. description: 父账户id
  6585. type: integer
  6586. relateduserid:
  6587. description: 关联userid
  6588. type: integer
  6589. tradestatus:
  6590. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6591. type: integer
  6592. type: object
  6593. models.ErmcpTaAccountEx:
  6594. properties:
  6595. mainAcc:
  6596. $ref: '#/definitions/models.ErmcpTaAccount'
  6597. description: 主账号
  6598. subacclist:
  6599. description: 子账号列表
  6600. items:
  6601. $ref: '#/definitions/models.ErmcpTaAccount'
  6602. type: array
  6603. type: object
  6604. models.ErmcpTaAccountInfo:
  6605. properties:
  6606. accountid:
  6607. description: 资金账户ID
  6608. type: integer
  6609. accountname:
  6610. description: 账户名称
  6611. type: string
  6612. balance:
  6613. description: 期初余额
  6614. type: number
  6615. capitalbalance:
  6616. description: 本金余额[外部子账户实际出入金余额]
  6617. type: number
  6618. closepl:
  6619. description: 今日平仓盈亏
  6620. type: number
  6621. creditdecrease:
  6622. description: 今日授信减少
  6623. type: number
  6624. creditincrease:
  6625. description: 今日授信增加
  6626. type: number
  6627. curdebt:
  6628. description: 期末欠款
  6629. type: number
  6630. currencyid:
  6631. description: 货币ID
  6632. type: integer
  6633. currentbalance:
  6634. description: 期末余额
  6635. type: number
  6636. freezecharge:
  6637. description: 手续费冻结
  6638. type: number
  6639. freezemargin:
  6640. description: 冻结保证金
  6641. type: number
  6642. fromaccountid:
  6643. description: 所属上级账户
  6644. type: integer
  6645. inamount:
  6646. description: 今日入金金额(包括三方入金)
  6647. type: number
  6648. ismain:
  6649. description: 是否母账号 0:不是母账户 1:是母账户
  6650. type: integer
  6651. mortgagecredit:
  6652. description: 授信金额
  6653. type: number
  6654. oridebt:
  6655. description: 期初欠款
  6656. type: number
  6657. orifreezecharge:
  6658. description: 期初手续费冻结
  6659. type: number
  6660. orifreezemargin:
  6661. description: 期初冻结保证金
  6662. type: number
  6663. orimortgagecredit:
  6664. description: 期初授信金额
  6665. type: number
  6666. oriothercredit:
  6667. description: 期初其它授信金额
  6668. type: number
  6669. oriotherfreezemargin:
  6670. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6671. type: number
  6672. orioutamountfreeze:
  6673. description: 期初出金冻结
  6674. type: number
  6675. oriusedmargin:
  6676. description: 期初占用保证金
  6677. type: number
  6678. othercredit:
  6679. description: 其它授信金额
  6680. type: number
  6681. othercreditdecrease:
  6682. description: 今日其它授信减少
  6683. type: number
  6684. othercreditincrease:
  6685. description: 今日其它授信增加
  6686. type: number
  6687. otherfreezemargin:
  6688. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6689. type: number
  6690. outamount:
  6691. description: 今日出金金额(包括三方出金)
  6692. type: number
  6693. outamountfreeze:
  6694. description: 出金冻结
  6695. type: number
  6696. outthreshold:
  6697. description: 出金阈值
  6698. type: number
  6699. parentaccountid:
  6700. description: 所属根账号
  6701. type: integer
  6702. paycharge:
  6703. description: 今日手续费支出
  6704. type: number
  6705. relateduserid:
  6706. description: 关联用户
  6707. type: integer
  6708. signstatus:
  6709. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6710. type: integer
  6711. sublevelpath:
  6712. description: 账号层级路径(逗号分隔,首尾加逗号)
  6713. type: string
  6714. taaccounttype:
  6715. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6716. type: integer
  6717. thirdinamount:
  6718. description: 今日三方入金
  6719. type: number
  6720. thirdoutamount:
  6721. description: 今日三方出金
  6722. type: number
  6723. tradestatus:
  6724. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6725. type: integer
  6726. transferamount:
  6727. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6728. type: number
  6729. usedmargin:
  6730. description: 占用保证金
  6731. type: number
  6732. userid:
  6733. description: 用户ID
  6734. type: integer
  6735. type: object
  6736. models.ErmcpTradeConfigTMP:
  6737. properties:
  6738. areauserid:
  6739. description: 所属机构
  6740. type: integer
  6741. basiccurrencyid:
  6742. description: 基本币种ID[汇率] - 目标币种
  6743. type: integer
  6744. mainaccountid:
  6745. description: 主账户ID
  6746. type: integer
  6747. modifierid:
  6748. description: 修改人
  6749. type: integer
  6750. remark:
  6751. description: 备注
  6752. type: string
  6753. tradeconfigtmpid:
  6754. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6755. type: integer
  6756. tradeconfigtmpname:
  6757. description: 交易配置模板名称
  6758. type: string
  6759. tradeconfigtmptype:
  6760. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6761. type: integer
  6762. updatetime:
  6763. description: 更新时间
  6764. type: string
  6765. type: object
  6766. models.ErmcpWrstandard:
  6767. properties:
  6768. areauserid:
  6769. description: 所属机构
  6770. type: integer
  6771. createtime:
  6772. description: 创建时间
  6773. type: string
  6774. creatorid:
  6775. description: 创建人
  6776. type: integer
  6777. deliverygoodsid:
  6778. description: 品种ID
  6779. type: integer
  6780. enumdicname:
  6781. description: 单位名称
  6782. type: string
  6783. isvalid:
  6784. description: 是否有效 0-无效(停用) 1-有效(正常)
  6785. type: integer
  6786. minivalue:
  6787. description: 最小变动值
  6788. type: integer
  6789. minivaluedp:
  6790. description: 最小变动值小数位
  6791. type: integer
  6792. realminivalue:
  6793. description: 实际最小变动值
  6794. type: integer
  6795. realminivaluedp:
  6796. description: 实际最小变动值小数位
  6797. type: integer
  6798. remark:
  6799. description: 备注
  6800. type: string
  6801. unitid:
  6802. description: 单位ID
  6803. type: integer
  6804. updatetime:
  6805. description: 更新时间
  6806. type: string
  6807. wrstandardcode:
  6808. description: 现货商品代码
  6809. type: string
  6810. wrstandardid:
  6811. description: 现货商品ID(SEQ_WRSTANDARD)
  6812. type: integer
  6813. wrstandardname:
  6814. description: 现货商品名称
  6815. type: string
  6816. type: object
  6817. models.Externalexchange:
  6818. properties:
  6819. autoid:
  6820. description: AutoID - SEQ_EXTERNALEXCHANGE
  6821. type: integer
  6822. exchangefullname:
  6823. description: 外部交易所全称
  6824. type: string
  6825. exexchangecode:
  6826. description: 外部交易所代码
  6827. type: string
  6828. exexchangename:
  6829. description: 外部交易所名称(简称)
  6830. type: string
  6831. ismarketprice:
  6832. description: 是否支持市价 - 0:不支持 1:支持
  6833. type: integer
  6834. quotegear:
  6835. description: 行情档位(1-10)
  6836. type: integer
  6837. showbrokerflag:
  6838. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6839. type: integer
  6840. updatetime:
  6841. description: 更新时间
  6842. type: string
  6843. required:
  6844. - autoid
  6845. type: object
  6846. models.Funcmenulist:
  6847. properties:
  6848. iconame:
  6849. description: 菜单图标
  6850. type: string
  6851. menutype:
  6852. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6853. type: integer
  6854. parentcode:
  6855. description: 上级资源代码
  6856. type: string
  6857. remark:
  6858. description: 备注
  6859. type: string
  6860. resourcecode:
  6861. description: 资源代码
  6862. type: string
  6863. resourcelevel:
  6864. description: 级别 1-一级 2-二级 3-三级 4-四级
  6865. type: integer
  6866. resourcename:
  6867. description: 资源名
  6868. type: string
  6869. sort:
  6870. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6871. type: integer
  6872. url:
  6873. description: URL
  6874. type: string
  6875. required:
  6876. - resourcecode
  6877. type: object
  6878. models.Goods:
  6879. properties:
  6880. agreeunit:
  6881. description: 合约单位
  6882. type: number
  6883. auditaccountid:
  6884. description: 审核操作员账号
  6885. type: integer
  6886. audittime:
  6887. description: 审核时间
  6888. type: string
  6889. cancelaccountid:
  6890. description: 注销操作员账号
  6891. type: integer
  6892. canceltime:
  6893. description: 注销时间
  6894. type: string
  6895. closepricemode:
  6896. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6897. type: integer
  6898. closepriceparam:
  6899. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6900. type: number
  6901. createtime:
  6902. description: 创建时间
  6903. type: string
  6904. creatorid:
  6905. description: 创建人
  6906. type: integer
  6907. currencyid:
  6908. description: 报价货币ID
  6909. type: integer
  6910. cutmode:
  6911. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6912. type: integer
  6913. decimalplace:
  6914. description: 报价小数位
  6915. type: integer
  6916. delistingdate:
  6917. description: 商品退市时间(状态:退市) -- 已作废
  6918. type: string
  6919. delistingmode:
  6920. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6921. type: integer
  6922. deliveryflag:
  6923. description: 交割标志 - 0:不可交割 1:可交割
  6924. type: integer
  6925. forceclosemode:
  6926. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6927. type: integer
  6928. forceclosevalue:
  6929. description: 定期强平参数 [收益权]
  6930. type: integer
  6931. goodscode:
  6932. description: 商品代码(内部)
  6933. type: string
  6934. goodscurrencyid:
  6935. description: 合约货币ID
  6936. type: integer
  6937. goodsgroupid:
  6938. description: 所属商品组ID
  6939. type: integer
  6940. goodsid:
  6941. description: 商品ID(自增ID SEQ_GOODS)
  6942. type: integer
  6943. goodsname:
  6944. description: 商品名称
  6945. type: string
  6946. goodsquotetype:
  6947. description: '合约报价类型: 1-直接报价 2-间接报价'
  6948. type: integer
  6949. goodsstatus:
  6950. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6951. type: integer
  6952. goodstradetype:
  6953. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6954. type: integer
  6955. goodunitid:
  6956. description: 报价单位ID
  6957. type: integer
  6958. hasquoter:
  6959. description: 是否有报价商 - 0:无报价商 1:有报价商
  6960. type: integer
  6961. hqprotecttime:
  6962. description: 行情保护时间(秒)
  6963. type: integer
  6964. innerdealmode:
  6965. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6966. type: integer
  6967. isbuylimited:
  6968. description: 是否限制建仓量 - 0:不限制 1:限制
  6969. type: integer
  6970. lasttradedate:
  6971. description: 最后交易日期(状态:待退市)
  6972. type: string
  6973. listingdate:
  6974. description: 交易开始日期
  6975. type: string
  6976. marketid:
  6977. description: 所属市场ID
  6978. type: integer
  6979. modifierid:
  6980. description: 修改人
  6981. type: integer
  6982. modifystatus:
  6983. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6984. type: integer
  6985. modifytime:
  6986. description: 修改时间
  6987. type: string
  6988. outerdealmode:
  6989. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6990. type: integer
  6991. outgoodscode:
  6992. description: 商品代码(外部)
  6993. type: string
  6994. qtydecimalplace:
  6995. description: 成交量小数位
  6996. type: integer
  6997. quotegear:
  6998. description: 行情档位(1-10)
  6999. type: integer
  7000. quoteminunit:
  7001. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7002. type: integer
  7003. quoteshowtype:
  7004. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7005. type: integer
  7006. quoteshowtypeinterval:
  7007. description: 行情报价间隔时间(秒)(成交价时为0)
  7008. type: integer
  7009. remark:
  7010. description: 备注
  7011. type: string
  7012. required:
  7013. - goodscode
  7014. - goodsid
  7015. - goodsname
  7016. - marketid
  7017. type: object
  7018. models.GoodsBrand:
  7019. properties:
  7020. brandid:
  7021. description: 品牌ID
  7022. type: integer
  7023. brandname:
  7024. description: 品牌名称
  7025. type: string
  7026. isvalid:
  7027. description: 是否有效 - 0:无效 1:有效
  7028. type: integer
  7029. type: object
  7030. models.GoodsIDAndName:
  7031. properties:
  7032. goodscode:
  7033. description: 商品代码(内部)
  7034. type: string
  7035. goodsid:
  7036. description: 商品ID(自增ID SEQ_GOODS)
  7037. type: integer
  7038. goodsname:
  7039. description: 商品名称
  7040. type: string
  7041. marketid:
  7042. description: 所属市场ID
  7043. type: integer
  7044. required:
  7045. - goodscode
  7046. - goodsid
  7047. - goodsname
  7048. - marketid
  7049. type: object
  7050. models.GoodsTypeModel:
  7051. properties:
  7052. convertfactor:
  7053. description: 标仓系数
  7054. type: number
  7055. modelid:
  7056. description: 型号ID
  7057. type: integer
  7058. modelname:
  7059. description: 型号名称
  7060. type: string
  7061. updatetime:
  7062. description: 更新时间
  7063. type: string
  7064. type: object
  7065. models.Goodsgroup:
  7066. properties:
  7067. agreeunit:
  7068. description: 合约单位
  7069. type: number
  7070. canshort:
  7071. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7072. type: integer
  7073. closepricemode:
  7074. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7075. type: integer
  7076. closepriceparam:
  7077. description: 强平最新价浮动比例 - 方式为2时使用
  7078. type: number
  7079. createtime:
  7080. description: 创建时间
  7081. type: string
  7082. creatorid:
  7083. description: 创建人
  7084. type: integer
  7085. currencyid:
  7086. description: 报价货币ID
  7087. type: integer
  7088. decimalplace:
  7089. description: 报价小数位
  7090. type: integer
  7091. exercisetype:
  7092. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7093. type: integer
  7094. exexchangeid:
  7095. description: 外部交易所ID[通道交易]
  7096. type: integer
  7097. goodsgroupid:
  7098. description: 商品组ID(自增ID)
  7099. type: integer
  7100. goodsgroupname:
  7101. description: 商品组名称
  7102. type: string
  7103. goodsgroupstatus:
  7104. description: 商品组状态 - 1:正常 2:注销
  7105. type: integer
  7106. goodunitid:
  7107. description: 报价单位ID
  7108. type: integer
  7109. innerdealmode:
  7110. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7111. type: integer
  7112. isbuylimited:
  7113. description: 是否限制建仓量 - 0:不限制 1:限制
  7114. type: integer
  7115. marketid:
  7116. description: 所属市场ID
  7117. type: integer
  7118. modifierid:
  7119. description: 修改人
  7120. type: integer
  7121. modifytime:
  7122. description: 修改时间
  7123. type: string
  7124. outerdealmode:
  7125. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7126. type: integer
  7127. outergroupcode:
  7128. description: 外部商品组代码[通道交易]
  7129. type: string
  7130. premiumdecimalplace:
  7131. description: 权利金小数位[场外期权]
  7132. type: integer
  7133. premiumspreadalgorithm:
  7134. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7135. type: integer
  7136. premiumspreadvalue:
  7137. description: 权利金点差值[场外期权]
  7138. type: number
  7139. qtydecimalplace:
  7140. description: 成交量小数位
  7141. type: integer
  7142. quotegear:
  7143. description: 行情档位(1-10)
  7144. type: integer
  7145. quoteminunit:
  7146. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7147. type: integer
  7148. quoterid:
  7149. description: 报价商ID[场外期权]
  7150. type: integer
  7151. quotesourcegroupid:
  7152. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7153. type: integer
  7154. syncgoodsqty:
  7155. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7156. type: integer
  7157. required:
  7158. - goodsgroupid
  7159. - goodsgroupname
  7160. - goodsgroupstatus
  7161. - marketid
  7162. type: object
  7163. models.Goodssortbypreposition:
  7164. properties:
  7165. goodscode:
  7166. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7167. type: string
  7168. goodsgroupcode:
  7169. description: 品种代码
  7170. type: string
  7171. prepositionqty:
  7172. description: 昨持仓量
  7173. type: integer
  7174. sortindex:
  7175. description: 排序
  7176. type: integer
  7177. tradedate:
  7178. description: 交易日
  7179. type: string
  7180. updatetime:
  7181. description: 更新时间
  7182. type: string
  7183. required:
  7184. - goodscode
  7185. - tradedate
  7186. type: object
  7187. models.Hedgeinnerholderdetail:
  7188. properties:
  7189. accountid:
  7190. description: 账号ID
  7191. type: integer
  7192. buyorsell:
  7193. description: 方向 - 0:买 1:卖
  7194. type: integer
  7195. freezeqty:
  7196. description: 冻结数量 - 按单平使用
  7197. type: integer
  7198. goodsid:
  7199. description: 商品ID
  7200. type: integer
  7201. holderamount:
  7202. description: 持仓金额 [商品币种]
  7203. type: number
  7204. holderdays:
  7205. description: 剩余冻结天数
  7206. type: integer
  7207. holderprice:
  7208. description: 持仓价格
  7209. type: number
  7210. holderqty:
  7211. description: 持仓数量
  7212. type: integer
  7213. marketid:
  7214. description: 市场ID
  7215. type: integer
  7216. openprice:
  7217. description: 建仓价格
  7218. type: number
  7219. openqty:
  7220. description: 建仓数量
  7221. type: integer
  7222. parentaccountid:
  7223. description: 所属母账户
  7224. type: integer
  7225. releaseamount:
  7226. description: 释放持仓金额[商品币种]
  7227. type: number
  7228. tradeamount:
  7229. description: 成交金额[账户]
  7230. type: number
  7231. tradedate:
  7232. description: 交易日(yyyyMMdd)
  7233. type: string
  7234. tradeid:
  7235. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7236. type: string
  7237. tradetime:
  7238. description: 交易时间
  7239. type: string
  7240. required:
  7241. - buyorsell
  7242. - tradeid
  7243. type: object
  7244. models.Hedgeoutmainconfig:
  7245. properties:
  7246. accountcurrecnygroup:
  7247. description: 资金账户币种组 [易盛]
  7248. type: string
  7249. accountcurrency:
  7250. description: 资金账户基币 [易盛]
  7251. type: string
  7252. accountid:
  7253. description: 资金账号ID(母账号)
  7254. type: integer
  7255. appid:
  7256. description: AppID
  7257. type: string
  7258. authcode:
  7259. description: 授权码[易盛]
  7260. type: string
  7261. brokerid:
  7262. description: 经纪公司代码
  7263. type: string
  7264. channeladdress:
  7265. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7266. type: string
  7267. channelid:
  7268. description: 对冲渠道ID
  7269. type: integer
  7270. connectflag:
  7271. description: 是否联接外部交易 - 0:不连接 1:连接
  7272. type: integer
  7273. exchangeratecurrencygroup:
  7274. description: 汇率币种组 [易盛]
  7275. type: string
  7276. fcid:
  7277. description: 期货公司ID
  7278. type: integer
  7279. fcname:
  7280. description: 期货公司名称
  7281. type: string
  7282. hedgeaccountcode:
  7283. description: 对冲账号ID
  7284. type: string
  7285. hedgeaccountpwd:
  7286. description: 对冲账号密码
  7287. type: string
  7288. hedgeaccounttype:
  7289. description: 母账号类型 - 1-交易下单 2-跟单
  7290. type: integer
  7291. limitnumber:
  7292. description: 挂单笔数限额
  7293. type: integer
  7294. marketid:
  7295. description: 内部市场ID(母账号的操作
  7296. type: integer
  7297. status:
  7298. description: 渠道账号状态 1-可买入可卖出 2-可卖出不可买入
  7299. type: integer
  7300. userproductinfo:
  7301. description: 客户端产品信息
  7302. type: string
  7303. required:
  7304. - accountid
  7305. type: object
  7306. models.HsbyBuyMyPayOrder:
  7307. properties:
  7308. agreeunit:
  7309. description: 合约单位
  7310. type: number
  7311. buyaccountid:
  7312. description: 买方账号ID[报价币种]
  7313. type: integer
  7314. buyorderid:
  7315. description: 买方委托单号
  7316. type: string
  7317. createtime:
  7318. description: 创建时间
  7319. type: string
  7320. currencysign:
  7321. description: 货币符号
  7322. type: string
  7323. decimalplace:
  7324. description: 报价小数位
  7325. type: integer
  7326. goodscode:
  7327. description: 商品代码(内部)
  7328. type: string
  7329. goodsid:
  7330. description: 商品ID
  7331. type: integer
  7332. goodsname:
  7333. description: 商品名称
  7334. type: string
  7335. marketid:
  7336. description: 市场ID
  7337. type: integer
  7338. offamount:
  7339. description: 优惠金额
  7340. type: number
  7341. originalamount:
  7342. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7343. type: number
  7344. payamount:
  7345. description: 支付金额 = TradeAmount + TradeCharge
  7346. type: number
  7347. payflag:
  7348. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7349. type: integer
  7350. paylimitedtime:
  7351. description: 支付期限
  7352. type: string
  7353. paytime:
  7354. description: 付款时间
  7355. type: string
  7356. picurls1:
  7357. description: 预售商品介绍图片[多张用逗号分隔]
  7358. type: string
  7359. picurls2:
  7360. description: 挂牌商品介绍图片[多张用逗号分隔]
  7361. type: string
  7362. sellaccountid:
  7363. description: 卖方账号ID[报价币种]
  7364. type: integer
  7365. sellorderid:
  7366. description: 卖方委托单号
  7367. type: string
  7368. tradeamount:
  7369. description: 成交金额
  7370. type: number
  7371. tradecharge:
  7372. description: 成交手续费(买方)
  7373. type: number
  7374. tradedate:
  7375. description: 交易日(yyyyMMdd)
  7376. type: string
  7377. tradeid:
  7378. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7379. type: string
  7380. trademode:
  7381. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7382. 21:竞拍-大宗式 22:受托竞价
  7383. type: integer
  7384. tradeprice:
  7385. description: 成交价格
  7386. type: number
  7387. tradeqty:
  7388. description: 成交数量
  7389. type: integer
  7390. vendorname1:
  7391. description: 预售商品供应商名称
  7392. type: string
  7393. vendorname2:
  7394. description: 挂牌商品供应商名称
  7395. type: string
  7396. required:
  7397. - goodscode
  7398. - goodsname
  7399. - tradeid
  7400. - trademode
  7401. type: object
  7402. models.HsbyBuyMyTradeDetail:
  7403. properties:
  7404. accountid:
  7405. description: 账户ID[报价币种]
  7406. type: integer
  7407. agreeunit:
  7408. description: 合约单位
  7409. type: number
  7410. amount:
  7411. description: 金额 = 价格 * 数量 * 合约单位
  7412. type: number
  7413. buyorsell:
  7414. description: 买卖 - 0:买 1:卖
  7415. type: integer
  7416. currencysign:
  7417. description: 货币符号
  7418. type: string
  7419. decimalplace:
  7420. description: 报价小数位
  7421. type: integer
  7422. goodscode:
  7423. description: 商品代码(内部)
  7424. type: string
  7425. goodsid:
  7426. description: 商品ID
  7427. type: integer
  7428. goodsname:
  7429. description: 商品名称
  7430. type: string
  7431. marketid:
  7432. description: 市场ID
  7433. type: integer
  7434. orderamount:
  7435. description: 委托金额
  7436. type: number
  7437. orderid:
  7438. description: 单号(成交单号)
  7439. type: string
  7440. picurls1:
  7441. description: 预售商品介绍图片[多张用逗号分隔]
  7442. type: string
  7443. picurls2:
  7444. description: 挂牌商品介绍图片[多张用逗号分隔]
  7445. type: string
  7446. price:
  7447. description: 价格
  7448. type: number
  7449. qty:
  7450. description: 数量
  7451. type: integer
  7452. time:
  7453. description: 时间
  7454. type: string
  7455. trademode:
  7456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7457. 21:竞拍-大宗式 22:受托竞价
  7458. type: integer
  7459. vendorname1:
  7460. description: 预售商品供应商名称
  7461. type: string
  7462. vendorname2:
  7463. description: 挂牌商品供应商名称
  7464. type: string
  7465. required:
  7466. - accountid
  7467. - buyorsell
  7468. - goodscode
  7469. - goodsid
  7470. - goodsname
  7471. - marketid
  7472. - orderid
  7473. - qty
  7474. - time
  7475. - trademode
  7476. type: object
  7477. models.HsbyGoodsOrderDetail:
  7478. properties:
  7479. buyorsell:
  7480. description: 买卖 - 0:买 1:卖
  7481. type: integer
  7482. currencysign:
  7483. description: 货币符号
  7484. type: string
  7485. customername:
  7486. description: 客户名称(企业名称),已脱敏
  7487. type: string
  7488. enableqty:
  7489. description: 可用数量
  7490. type: integer
  7491. goodunit:
  7492. description: 报价单位
  7493. type: string
  7494. orderid:
  7495. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7496. type: string
  7497. orderprice:
  7498. description: 委托价格
  7499. type: number
  7500. ordertime:
  7501. description: 委托时间
  7502. type: string
  7503. required:
  7504. - buyorsell
  7505. - orderid
  7506. - ordertime
  7507. type: object
  7508. models.HsbyListingGoodsDetail:
  7509. properties:
  7510. agreeunit:
  7511. description: 合约单位
  7512. type: number
  7513. buymaxqty:
  7514. description: 购买上限 [71] - 0为不限
  7515. type: integer
  7516. currency:
  7517. description: 货币
  7518. type: string
  7519. currencysign:
  7520. description: 货币符号
  7521. type: string
  7522. decimalplace:
  7523. description: 报价小数位
  7524. type: integer
  7525. desccityid:
  7526. description: 目的地(市)ID
  7527. type: integer
  7528. descprovinceid:
  7529. description: 目的地(省)ID
  7530. type: integer
  7531. goodscode:
  7532. description: 商品代码(内部)
  7533. type: string
  7534. goodsdesc:
  7535. description: 商品详情
  7536. type: string
  7537. goodsid:
  7538. description: 商品ID(自增ID SEQ_GOODS)
  7539. type: integer
  7540. goodsname:
  7541. description: 商品名称
  7542. type: string
  7543. goodsprice:
  7544. description: 商品价格
  7545. type: number
  7546. hotindex:
  7547. description: 景点热度
  7548. type: integer
  7549. last:
  7550. description: 现价
  7551. type: number
  7552. limitdown:
  7553. description: 跌停价
  7554. type: number
  7555. limitup:
  7556. description: 涨停价
  7557. type: number
  7558. lotsize:
  7559. description: 手数最小变动单位
  7560. type: integer
  7561. marketid:
  7562. description: 所属市场ID
  7563. type: integer
  7564. picurls:
  7565. description: 介绍图片[多张用逗号分隔]
  7566. type: string
  7567. quoteminunit:
  7568. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7569. type: integer
  7570. stepvalue:
  7571. description: 价格最小变动单位
  7572. type: number
  7573. trademode:
  7574. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7575. 21:竞拍-大宗式 22:受托竞价
  7576. type: integer
  7577. vendorattr:
  7578. description: 供应商附件(多张,逗号分隔)
  7579. type: string
  7580. vendorname:
  7581. description: 供应商名称
  7582. type: string
  7583. vendorphone:
  7584. description: 供应商客服电话
  7585. type: string
  7586. videourls:
  7587. description: 介绍视频[多张用逗号分隔]
  7588. type: string
  7589. required:
  7590. - goodscode
  7591. - goodsid
  7592. - goodsname
  7593. - marketid
  7594. - trademode
  7595. type: object
  7596. models.HsbyMarketGoods:
  7597. properties:
  7598. accountid:
  7599. description: 账户ID[报价币种]
  7600. type: integer
  7601. agreeunit:
  7602. description: 合约单位
  7603. type: number
  7604. buyorsell:
  7605. description: 买卖 - 0:买 1:卖
  7606. type: integer
  7607. categoryid:
  7608. description: 类别ID(WRCATEGORY)
  7609. type: integer
  7610. currency:
  7611. description: 货币
  7612. type: string
  7613. currencysign:
  7614. description: 货币符号
  7615. type: string
  7616. customername:
  7617. description: 卖家名称
  7618. type: string
  7619. decimalplace:
  7620. description: 报价小数位
  7621. type: integer
  7622. goodscode:
  7623. description: 商品代码(内部)
  7624. type: string
  7625. goodsid:
  7626. description: 商品ID
  7627. type: integer
  7628. goodsname:
  7629. description: 商品名称
  7630. type: string
  7631. goodsprice:
  7632. description: 商品价格
  7633. type: number
  7634. hascoupon:
  7635. description: 是否可用优惠卷
  7636. type: boolean
  7637. hotindex:
  7638. description: 景点热度
  7639. type: integer
  7640. marketid:
  7641. description: 市场ID
  7642. type: integer
  7643. orderid:
  7644. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7645. type: string
  7646. orderprice:
  7647. description: 委托价格
  7648. type: number
  7649. orderstatus:
  7650. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7651. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7652. 16:成交失败违约(荷兰式竞拍专用)
  7653. type: integer
  7654. picurls:
  7655. description: 介绍图片[多张用逗号分隔]
  7656. type: string
  7657. quoteminunit:
  7658. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7659. type: integer
  7660. sellUserID:
  7661. description: 卖方UserID
  7662. type: integer
  7663. trademode:
  7664. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7665. 21:竞拍-大宗式 22:受托竞价
  7666. type: integer
  7667. videourls:
  7668. description: 介绍视频[多张用逗号分隔]
  7669. type: string
  7670. required:
  7671. - accountid
  7672. - buyorsell
  7673. - goodscode
  7674. - goodsid
  7675. - goodsname
  7676. - marketid
  7677. - orderid
  7678. - trademode
  7679. type: object
  7680. models.HsbyMarketGoodsDetail:
  7681. properties:
  7682. accountid:
  7683. description: 账户ID[报价币种]
  7684. type: integer
  7685. agreeunit:
  7686. description: 合约单位
  7687. type: number
  7688. buymaxqty:
  7689. description: 购买上限 [71] - 0为不限
  7690. type: integer
  7691. buyorsell:
  7692. description: 买卖 - 0:买 1:卖
  7693. type: integer
  7694. cancelqty:
  7695. description: 撤单数量
  7696. type: integer
  7697. categoryid:
  7698. description: 类别ID(WRCATEGORY)
  7699. type: integer
  7700. currency:
  7701. description: 货币
  7702. type: string
  7703. currencysign:
  7704. description: 货币符号
  7705. type: string
  7706. customername:
  7707. description: 卖家名称
  7708. type: string
  7709. decimalplace:
  7710. description: 报价小数位
  7711. type: integer
  7712. goodscode:
  7713. description: 商品代码(内部)
  7714. type: string
  7715. goodsdesc:
  7716. description: 商品详情
  7717. type: string
  7718. goodsid:
  7719. description: 商品ID
  7720. type: integer
  7721. goodsname:
  7722. description: 商品名称
  7723. type: string
  7724. goodsprice:
  7725. description: 商品价格
  7726. type: number
  7727. hotindex:
  7728. description: 景点热度
  7729. type: integer
  7730. lotsize:
  7731. description: 手数最小变动单位
  7732. type: integer
  7733. marketid:
  7734. description: 市场ID
  7735. type: integer
  7736. orderid:
  7737. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7738. type: string
  7739. orderprice:
  7740. description: 委托价格
  7741. type: number
  7742. orderqty:
  7743. description: 委托数量
  7744. type: integer
  7745. orderstatus:
  7746. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7747. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7748. 16:成交失败违约(荷兰式竞拍专用)
  7749. type: integer
  7750. picurls:
  7751. description: 介绍图片[多张用逗号分隔]
  7752. type: string
  7753. quoteminunit:
  7754. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7755. type: integer
  7756. sellUserID:
  7757. description: 卖方UserID
  7758. type: integer
  7759. trademode:
  7760. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7761. 21:竞拍-大宗式 22:受托竞价
  7762. type: integer
  7763. tradeqty:
  7764. description: 成交数量
  7765. type: integer
  7766. vendorattr:
  7767. description: 供应商附件(多张,逗号分隔)
  7768. type: string
  7769. vendorname:
  7770. description: 供应商名称
  7771. type: string
  7772. vendorphone:
  7773. description: 供应商客服电话
  7774. type: string
  7775. videourls:
  7776. description: 介绍视频[多张用逗号分隔]
  7777. type: string
  7778. required:
  7779. - accountid
  7780. - buyorsell
  7781. - goodscode
  7782. - goodsid
  7783. - goodsname
  7784. - marketid
  7785. - orderid
  7786. - orderqty
  7787. - trademode
  7788. type: object
  7789. models.HsbyMarketInfo:
  7790. properties:
  7791. marketid:
  7792. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7793. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7794. type: integer
  7795. marketname:
  7796. description: 市场名称
  7797. type: string
  7798. marketstatus:
  7799. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7800. type: integer
  7801. trademode:
  7802. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7803. 21:竞拍-大宗式 22:受托竞价
  7804. type: integer
  7805. required:
  7806. - marketid
  7807. - marketstatus
  7808. - trademode
  7809. type: object
  7810. models.HsbyMyGoods:
  7811. properties:
  7812. accountid:
  7813. description: 账号Id
  7814. type: integer
  7815. agreeunit:
  7816. description: 合约单位
  7817. type: number
  7818. buyaverageprice:
  7819. description: 持仓均价
  7820. type: number
  7821. buycurholderamount:
  7822. description: 买当前持仓总金额[商品币种]
  7823. type: number
  7824. buycurpositionqty:
  7825. description: 买当前持仓总数量
  7826. type: integer
  7827. buymaxqty:
  7828. description: 购买上限 [71] - 0为不限
  7829. type: integer
  7830. currencysign:
  7831. description: 货币符号
  7832. type: string
  7833. decimalplace:
  7834. description: 报价小数位
  7835. type: integer
  7836. enableqty:
  7837. description: 可用数量
  7838. type: integer
  7839. goodscode:
  7840. description: 商品代码(内部)
  7841. type: string
  7842. goodsid:
  7843. description: 商品Id
  7844. type: integer
  7845. goodsname:
  7846. description: 商品名称
  7847. type: string
  7848. goodsprice:
  7849. description: 商品价格
  7850. type: number
  7851. goodsstatus:
  7852. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7853. type: integer
  7854. last:
  7855. description: 现价(仅使用于挂牌点选)
  7856. type: number
  7857. limitdown:
  7858. description: 跌停价(仅使用于挂牌点选)
  7859. type: number
  7860. limitup:
  7861. description: 涨停价(仅使用于挂牌点选)
  7862. type: number
  7863. lotsize:
  7864. description: 手数最小变动单位
  7865. type: integer
  7866. marketid:
  7867. description: 所属市场ID
  7868. type: integer
  7869. picurls:
  7870. description: 介绍图片[多张用逗号分隔]
  7871. type: string
  7872. quoteminunit:
  7873. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7874. type: integer
  7875. stepvalue:
  7876. description: 价格最小变动单位
  7877. type: number
  7878. trademode:
  7879. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7880. 21:竞拍-大宗式 22:受托竞价
  7881. type: integer
  7882. required:
  7883. - accountid
  7884. - goodscode
  7885. - goodsid
  7886. - goodsname
  7887. - marketid
  7888. - trademode
  7889. type: object
  7890. models.HsbyMyPackage:
  7891. properties:
  7892. accountid:
  7893. description: 账户ID
  7894. type: integer
  7895. address:
  7896. description: 提货人详细地址
  7897. type: string
  7898. agreeunit:
  7899. description: 合约单位
  7900. type: number
  7901. amount:
  7902. description: 提货金额
  7903. type: number
  7904. auditer:
  7905. description: 审核人
  7906. type: integer
  7907. audittime:
  7908. description: 审核时间
  7909. type: string
  7910. averageprice:
  7911. description: 均价
  7912. type: number
  7913. cardnum:
  7914. description: 提货人证件号码
  7915. type: string
  7916. cardtypeid:
  7917. description: 提货人证件类型
  7918. type: integer
  7919. checkremark:
  7920. description: 审核备注
  7921. type: string
  7922. currencysign:
  7923. description: 货币符号
  7924. type: string
  7925. decimalplace:
  7926. description: 报价小数位
  7927. type: integer
  7928. goodscode:
  7929. description: 商品代码(内部)
  7930. type: string
  7931. goodsid:
  7932. description: 商品ID
  7933. type: integer
  7934. goodsname:
  7935. description: 商品名称
  7936. type: string
  7937. handlestatus:
  7938. description: 处理状态
  7939. type: integer
  7940. marketid:
  7941. description: 市场ID
  7942. type: integer
  7943. phonenum:
  7944. description: 提货人联系方式
  7945. type: string
  7946. picurls:
  7947. description: 介绍图片[多张用逗号分隔]
  7948. type: string
  7949. qty:
  7950. description: 提货数量
  7951. type: number
  7952. recivername:
  7953. description: 提货人姓名
  7954. type: string
  7955. reqtime:
  7956. description: 更新时间
  7957. type: string
  7958. takemode:
  7959. description: 提货方式 - 2:自提 3:配送
  7960. type: integer
  7961. takeorderid:
  7962. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7963. type: string
  7964. takeorderstatus:
  7965. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7966. type: integer
  7967. takeremark:
  7968. description: 提货备注
  7969. type: string
  7970. tradedate:
  7971. description: 交易日(yyyyMMdd)
  7972. type: string
  7973. trademode:
  7974. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7975. 21:竞拍-大宗式 22:受托竞价
  7976. type: integer
  7977. userid:
  7978. description: 用户ID
  7979. type: integer
  7980. vendorname:
  7981. description: 供应商名称
  7982. type: string
  7983. required:
  7984. - goodscode
  7985. - goodsname
  7986. - takeorderid
  7987. - trademode
  7988. type: object
  7989. models.HsbyPreGoods:
  7990. properties:
  7991. agreeunit:
  7992. description: 合约单位
  7993. type: number
  7994. currency:
  7995. description: 货币
  7996. type: string
  7997. currencysign:
  7998. description: 货币符号
  7999. type: string
  8000. decimalplace:
  8001. description: 报价小数位
  8002. type: integer
  8003. desccityid:
  8004. description: 目的地(市)
  8005. type: integer
  8006. descprovinceid:
  8007. description: 目的地(省)
  8008. type: integer
  8009. enableqty:
  8010. description: 剩余数量
  8011. type: integer
  8012. goodscode:
  8013. description: 商品代码(内部)
  8014. type: string
  8015. goodsid:
  8016. description: 商品ID(自增ID SEQ_GOODS)
  8017. type: integer
  8018. goodsname:
  8019. description: 商品名称
  8020. type: string
  8021. goodsstatus:
  8022. description: 商品状态- 2:未上市 3:上市
  8023. type: integer
  8024. lasttradedate:
  8025. description: 最后交易日期(状态:待退市)
  8026. type: string
  8027. listingdate:
  8028. description: 交易开始日期
  8029. type: string
  8030. marketid:
  8031. description: 所属市场ID
  8032. type: integer
  8033. picurls:
  8034. description: 介绍图片[多张用逗号分隔]
  8035. type: string
  8036. presaledqty:
  8037. description: 已预售量(预售结束时更新)
  8038. type: integer
  8039. presaleqty:
  8040. description: 预售数量
  8041. type: integer
  8042. quoteminunit:
  8043. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8044. type: integer
  8045. refprice:
  8046. description: 参考价格[一口价]
  8047. type: number
  8048. relatedgoodsid:
  8049. description: 关联交易合约ID
  8050. type: integer
  8051. trademode:
  8052. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8053. 21:竞拍-大宗式 22:受托竞价
  8054. type: integer
  8055. videourls:
  8056. description: 介绍视频[多张用逗号分隔]
  8057. type: string
  8058. required:
  8059. - goodscode
  8060. - goodsid
  8061. - goodsname
  8062. - marketid
  8063. - trademode
  8064. type: object
  8065. models.HsbyPreGoodsDetail:
  8066. properties:
  8067. agreeunit:
  8068. description: 合约单位
  8069. type: number
  8070. buymaxqty:
  8071. description: 购买上限 [71] - 0为不限
  8072. type: integer
  8073. currency:
  8074. description: 货币
  8075. type: string
  8076. currencysign:
  8077. description: 货币符号
  8078. type: string
  8079. customername:
  8080. description: 发行单位
  8081. type: string
  8082. decimalplace:
  8083. description: 报价小数位
  8084. type: integer
  8085. desccityid:
  8086. description: 目的地(市)ID
  8087. type: integer
  8088. descprovinceid:
  8089. description: 目的地(省)ID
  8090. type: integer
  8091. enableqty:
  8092. description: 剩余数量
  8093. type: integer
  8094. goodscode:
  8095. description: 商品代码(内部)
  8096. type: string
  8097. goodsdesc:
  8098. description: 商品详情
  8099. type: string
  8100. goodsid:
  8101. description: 商品ID(自增ID SEQ_GOODS)
  8102. type: integer
  8103. goodsname:
  8104. description: 商品名称
  8105. type: string
  8106. goodsstatus:
  8107. description: 商品状态- 2:未上市 3:上市
  8108. type: integer
  8109. goodunit:
  8110. description: 报价单位
  8111. type: string
  8112. lasttradedate:
  8113. description: 最后交易日期(状态:待退市)
  8114. type: string
  8115. listingdate:
  8116. description: 交易开始日期
  8117. type: string
  8118. lotsize:
  8119. description: 手数最小变动单位
  8120. type: integer
  8121. marketid:
  8122. description: 所属市场ID
  8123. type: integer
  8124. picurls:
  8125. description: 介绍图片[多张用逗号分隔]
  8126. type: string
  8127. presaledqty:
  8128. description: 已预售量(预售结束时更新)
  8129. type: integer
  8130. presaleqty:
  8131. description: 预售数量
  8132. type: integer
  8133. quoteminunit:
  8134. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8135. type: integer
  8136. refprice:
  8137. description: 参考价格[一口价]
  8138. type: number
  8139. relatedgoodsid:
  8140. description: 关联交易合约ID
  8141. type: integer
  8142. stepvalue:
  8143. description: 价格最小变动单位
  8144. type: number
  8145. trademode:
  8146. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8147. 21:竞拍-大宗式 22:受托竞价
  8148. type: integer
  8149. vendorattr:
  8150. description: 供应商附件(多张,逗号分隔)
  8151. type: string
  8152. vendorname:
  8153. description: 供应商名称
  8154. type: string
  8155. vendorphone:
  8156. description: 供应商客服电话
  8157. type: string
  8158. videourls:
  8159. description: 介绍视频[多张用逗号分隔]
  8160. type: string
  8161. required:
  8162. - goodscode
  8163. - goodsid
  8164. - goodsname
  8165. - marketid
  8166. - trademode
  8167. type: object
  8168. models.HsbySellCollectionOrder:
  8169. properties:
  8170. agreeunit:
  8171. description: 合约单位
  8172. type: number
  8173. buyaccountid:
  8174. description: 买方账号ID[报价币种]
  8175. type: integer
  8176. buyorderid:
  8177. description: 买方委托单号
  8178. type: string
  8179. createtime:
  8180. description: 创建时间
  8181. type: string
  8182. currencysign:
  8183. description: 货币符号
  8184. type: string
  8185. decimalplace:
  8186. description: 报价小数位
  8187. type: integer
  8188. goodscode:
  8189. description: 商品代码(内部)
  8190. type: string
  8191. goodsid:
  8192. description: 商品ID
  8193. type: integer
  8194. goodsname:
  8195. description: 商品名称
  8196. type: string
  8197. marketid:
  8198. description: 市场ID
  8199. type: integer
  8200. offamount:
  8201. description: 优惠金额
  8202. type: number
  8203. payamount:
  8204. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8205. type: number
  8206. payflag:
  8207. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8208. type: integer
  8209. paylimitedtime:
  8210. description: 支付期限
  8211. type: string
  8212. paytime:
  8213. description: 付款时间
  8214. type: string
  8215. picurls:
  8216. description: 商品介绍图片[多张用逗号分隔]
  8217. type: string
  8218. sellaccountid:
  8219. description: 卖方账号ID[报价币种]
  8220. type: integer
  8221. sellorderid:
  8222. description: 卖方委托单号
  8223. type: string
  8224. tradeamount:
  8225. description: 成交金额
  8226. type: number
  8227. tradecharge:
  8228. description: 成交手续费(买方)
  8229. type: number
  8230. tradedate:
  8231. description: 交易日(yyyyMMdd)
  8232. type: string
  8233. tradeid:
  8234. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8235. type: string
  8236. trademode:
  8237. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8238. 21:竞拍-大宗式 22:受托竞价
  8239. type: integer
  8240. tradeprice:
  8241. description: 成交价格
  8242. type: number
  8243. tradeqty:
  8244. description: 成交数量
  8245. type: integer
  8246. required:
  8247. - goodscode
  8248. - goodsname
  8249. - tradeid
  8250. - trademode
  8251. type: object
  8252. models.HsbySellMyDetail:
  8253. properties:
  8254. accountid:
  8255. description: 账户ID[报价币种]
  8256. type: integer
  8257. agreeunit:
  8258. description: 合约单位
  8259. type: number
  8260. buyorsell:
  8261. description: 买卖 - 0:买 1:卖
  8262. type: integer
  8263. currencysign:
  8264. description: 货币符号
  8265. type: string
  8266. decimalplace:
  8267. description: 报价小数位
  8268. type: integer
  8269. goodscode:
  8270. description: 商品代码(内部)
  8271. type: string
  8272. goodsid:
  8273. description: 商品ID
  8274. type: integer
  8275. goodsname:
  8276. description: 商品名称
  8277. type: string
  8278. marketid:
  8279. description: 市场ID
  8280. type: integer
  8281. orderid:
  8282. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8283. type: string
  8284. ordertype:
  8285. description: 单据类型:0 - 发布中, 1 - 已完成
  8286. type: integer
  8287. picurls:
  8288. description: 介绍图片[多张用逗号分隔]
  8289. type: string
  8290. price:
  8291. description: 价格
  8292. type: number
  8293. qty:
  8294. description: 数量
  8295. type: integer
  8296. time:
  8297. description: 时间
  8298. type: string
  8299. trademode:
  8300. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8301. 21:竞拍-大宗式 22:受托竞价
  8302. type: integer
  8303. vendorname:
  8304. description: 供应商名称
  8305. type: string
  8306. required:
  8307. - accountid
  8308. - buyorsell
  8309. - goodscode
  8310. - goodsid
  8311. - goodsname
  8312. - marketid
  8313. - orderid
  8314. - time
  8315. - trademode
  8316. type: object
  8317. models.HsbyTopGoods:
  8318. properties:
  8319. agreeunit:
  8320. description: 合约单位
  8321. type: number
  8322. currency:
  8323. description: 货币
  8324. type: string
  8325. currencysign:
  8326. description: 货币符号
  8327. type: string
  8328. decimalplace:
  8329. description: 报价小数位
  8330. type: integer
  8331. desccityid:
  8332. description: 目的地(市)
  8333. type: integer
  8334. descprovinceid:
  8335. description: 目的地(省)
  8336. type: integer
  8337. goodscode:
  8338. description: 商品代码(内部)
  8339. type: string
  8340. goodsid:
  8341. description: 商品ID(自增ID SEQ_GOODS)
  8342. type: integer
  8343. goodsname:
  8344. description: 商品名称
  8345. type: string
  8346. hotindex:
  8347. description: 景点热度
  8348. type: integer
  8349. last:
  8350. description: 现价
  8351. type: number
  8352. marketid:
  8353. description: 所属市场ID
  8354. type: integer
  8355. picurls:
  8356. description: 介绍图片[多张用逗号分隔]
  8357. type: string
  8358. quoteminunit:
  8359. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8360. type: integer
  8361. trademode:
  8362. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8363. 21:竞拍-大宗式 22:受托竞价
  8364. type: integer
  8365. videourls:
  8366. description: 介绍视频[多张用逗号分隔]
  8367. type: string
  8368. required:
  8369. - goodscode
  8370. - goodsid
  8371. - goodsname
  8372. - marketid
  8373. - trademode
  8374. type: object
  8375. models.HybsMyBuyOrderDetail:
  8376. properties:
  8377. accountid:
  8378. description: 账户ID[报价币种]
  8379. type: integer
  8380. agreeunit:
  8381. description: 合约单位
  8382. type: number
  8383. buyorsell:
  8384. description: 买卖 - 0:买 1:卖
  8385. type: integer
  8386. cancelqty:
  8387. description: 撤单数量
  8388. type: integer
  8389. currencysign:
  8390. description: 货币符号
  8391. type: string
  8392. decimalplace:
  8393. description: 报价小数位
  8394. type: integer
  8395. goodscode:
  8396. description: 商品代码(内部)
  8397. type: string
  8398. goodsid:
  8399. description: 商品ID
  8400. type: integer
  8401. goodsname:
  8402. description: 商品名称
  8403. type: string
  8404. listingselecttype:
  8405. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8406. type: integer
  8407. marketid:
  8408. description: 市场ID
  8409. type: integer
  8410. mybuystatus:
  8411. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8412. type: integer
  8413. orderamount:
  8414. description: 委托金额
  8415. type: number
  8416. orderid:
  8417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8418. type: string
  8419. orderprice:
  8420. description: 委托价格
  8421. type: number
  8422. orderqty:
  8423. description: 委托数量
  8424. type: integer
  8425. orderstatus:
  8426. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8427. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8428. 16:成交失败违约(荷兰式竞拍专用)
  8429. type: integer
  8430. ordertime:
  8431. description: 委托时间
  8432. type: string
  8433. picurls1:
  8434. description: 预售商品介绍图片[多张用逗号分隔]
  8435. type: string
  8436. picurls2:
  8437. description: 挂牌商品介绍图片[多张用逗号分隔]
  8438. type: string
  8439. trademode:
  8440. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8441. 21:竞拍-大宗式 22:受托竞价
  8442. type: integer
  8443. tradeqty:
  8444. description: 成交数量
  8445. type: integer
  8446. vendorname1:
  8447. description: 预售商品供应商名称
  8448. type: string
  8449. vendorname2:
  8450. description: 挂牌商品供应商名称
  8451. type: string
  8452. required:
  8453. - accountid
  8454. - buyorsell
  8455. - goodscode
  8456. - goodsid
  8457. - goodsname
  8458. - marketid
  8459. - orderid
  8460. - orderqty
  8461. - ordertime
  8462. - trademode
  8463. type: object
  8464. models.Loginaccount:
  8465. properties:
  8466. canoutin:
  8467. description: 是否可出入金 - 0:不可 1:可
  8468. type: integer
  8469. clientroleid:
  8470. description: 终端角色ID
  8471. type: integer
  8472. haslogined:
  8473. description: 是否已登录 - 0:未登录 1:已登录
  8474. type: integer
  8475. hasupdatedpwd:
  8476. description: 是否已更改密码 - 0:未修改 1:已修改
  8477. type: integer
  8478. lastloginip:
  8479. description: 最新登录地址
  8480. type: string
  8481. lastloginmode:
  8482. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8483. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8484. type: integer
  8485. lastloginremark:
  8486. description: 最新登录描述
  8487. type: string
  8488. lastlogintime:
  8489. description: 最新登录时间
  8490. type: string
  8491. logincode:
  8492. description: 登录代码
  8493. type: string
  8494. loginfailnum:
  8495. description: 连续登录失败次数(登录成功时清零)
  8496. type: integer
  8497. loginid:
  8498. description: 登陆账号
  8499. type: integer
  8500. loginport:
  8501. description: 最新登录端口
  8502. type: integer
  8503. loginstatus:
  8504. description: 登录账号状态 1:正常 2:冻结 3:无效
  8505. type: integer
  8506. loginusertype:
  8507. description: 登录账号类型 - 1:投资者 2:机构交易员
  8508. type: integer
  8509. modifierid:
  8510. description: 修改人
  8511. type: integer
  8512. modifytime:
  8513. description: 修改时间
  8514. type: string
  8515. pwdwrongcount:
  8516. description: 密码错误次数
  8517. type: integer
  8518. taaccountrighttype:
  8519. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8520. type: integer
  8521. unfreezetime:
  8522. description: 账户解冻时间
  8523. type: string
  8524. userid:
  8525. description: 用户ID
  8526. type: integer
  8527. required:
  8528. - loginid
  8529. type: object
  8530. models.MainAccountInfo:
  8531. properties:
  8532. accountid:
  8533. description: 账号id
  8534. type: string
  8535. appid:
  8536. description: AppID
  8537. type: string
  8538. authcode:
  8539. description: 授权码
  8540. type: string
  8541. brokerid:
  8542. description: 经纪商id
  8543. type: string
  8544. fcid:
  8545. description: 期货公司id
  8546. type: integer
  8547. fcname:
  8548. description: 期货公司代码
  8549. type: string
  8550. hedgeaccountcode:
  8551. description: 外部账号代码
  8552. type: string
  8553. hedgeaccountpwd:
  8554. description: 密码
  8555. type: string
  8556. ismain:
  8557. description: 是否主账号
  8558. type: integer
  8559. relateduserid:
  8560. description: 关联用户id
  8561. type: integer
  8562. type: object
  8563. models.Market:
  8564. properties:
  8565. auctionwrtype:
  8566. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8567. type: integer
  8568. canacceptquote:
  8569. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8570. type: integer
  8571. cangoodsexercise:
  8572. description: '[期权]是否可现货行权- 0:否 1:是'
  8573. type: integer
  8574. cangoodsexercisetype:
  8575. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8576. type: integer
  8577. canmanualquotestrike:
  8578. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8579. type: integer
  8580. canmutistage:
  8581. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8582. type: integer
  8583. canpreexercise:
  8584. description: '[期权]是否可预申报- 0:否 1:是'
  8585. type: integer
  8586. clearinterval:
  8587. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8588. type: integer
  8589. contracttmp:
  8590. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8591. type: string
  8592. exchareaid:
  8593. description: 所属交易所,可以没有
  8594. type: integer
  8595. goodstype:
  8596. description: 商品类型 - 1:交易商品 2:仓单商品
  8597. type: integer
  8598. hasrebate:
  8599. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8600. type: integer
  8601. hastradecredit:
  8602. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8603. type: integer
  8604. haswr:
  8605. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8606. type: integer
  8607. isdeductmargin:
  8608. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8609. type: integer
  8610. isrecordsource:
  8611. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8612. type: integer
  8613. isreleasemargin:
  8614. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8615. type: integer
  8616. marginformula:
  8617. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8618. type: integer
  8619. marginformula2:
  8620. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8621. type: integer
  8622. marketid:
  8623. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8624. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8625. type: integer
  8626. marketname:
  8627. description: 市场名称
  8628. type: string
  8629. marketserviceid:
  8630. description: 市场服务ID
  8631. type: integer
  8632. marketstatus:
  8633. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8634. type: integer
  8635. markettype:
  8636. description: 市场类型- 1:非交易服务 2:交易服务
  8637. type: integer
  8638. matchermode:
  8639. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8640. type: integer
  8641. openmethod:
  8642. description: 开盘模式 - 0 自动 1手动
  8643. type: integer
  8644. otcuserid:
  8645. description: 场外期权做市商[场外期权]
  8646. type: integer
  8647. outersynctime:
  8648. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8649. type: string
  8650. pendingflag:
  8651. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8652. type: integer
  8653. pendingtime:
  8654. description: 待开市时间[通道交易-对冲](HH:mm)
  8655. type: string
  8656. performancetempid:
  8657. description: 履约计划模板ID - 作废
  8658. type: integer
  8659. premiumquotemode:
  8660. description: 权利金报价方式 - 1:自动 2:手动
  8661. type: integer
  8662. rebateratio:
  8663. description: 返利比率[竞价式]
  8664. type: number
  8665. reckonorder:
  8666. description: 结算顺序
  8667. type: integer
  8668. reckonpricealgorithm:
  8669. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8670. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8671. type: integer
  8672. reckonpriceparam:
  8673. description: 结算价参数
  8674. type: integer
  8675. reckontime:
  8676. description: 结算时间[通道交易-对冲](HH:mm)
  8677. type: string
  8678. roleprioritytype:
  8679. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8680. type: integer
  8681. selllistingauditflag:
  8682. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8683. type: integer
  8684. trademarkettype:
  8685. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8686. type: integer
  8687. trademode:
  8688. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8689. 21:竞拍-大宗式 22:受托竞价
  8690. type: integer
  8691. tradeproperty:
  8692. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8693. 8:场外期权
  8694. type: integer
  8695. tradetype:
  8696. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8697. type: integer
  8698. required:
  8699. - marketid
  8700. - marketstatus
  8701. - openmethod
  8702. - reckonpricealgorithm
  8703. - trademode
  8704. - tradeproperty
  8705. type: object
  8706. models.Marketrun:
  8707. properties:
  8708. afternexttradedate:
  8709. description: 下下交易日
  8710. type: string
  8711. clearquoteflag:
  8712. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8713. type: integer
  8714. lastreckondate:
  8715. description: 最新交易日(结算成功)
  8716. type: string
  8717. machinedate:
  8718. description: 机器时间
  8719. type: string
  8720. manualflag:
  8721. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8722. type: integer
  8723. marketid:
  8724. description: 市场ID
  8725. type: integer
  8726. nexttradedate:
  8727. description: 下一交易日
  8728. type: string
  8729. pretradedate:
  8730. description: 上一交易日
  8731. type: string
  8732. reckonflag:
  8733. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8734. type: integer
  8735. runstatus:
  8736. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8737. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8738. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8739. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8740. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8741. 62.今日免清算
  8742. type: integer
  8743. sectionid:
  8744. description: 时间段号[多时段时用]
  8745. type: integer
  8746. tradedate:
  8747. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8748. type: string
  8749. tradedate2:
  8750. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8751. type: string
  8752. updatetime:
  8753. description: 更新时间
  8754. type: string
  8755. required:
  8756. - marketid
  8757. - nexttradedate
  8758. - reckonflag
  8759. - runstatus
  8760. - tradedate
  8761. - tradedate2
  8762. type: object
  8763. models.Messageboard:
  8764. properties:
  8765. contactnum:
  8766. description: 联系电话
  8767. type: string
  8768. createtime:
  8769. description: 创建时间
  8770. type: string
  8771. message:
  8772. description: 留言信息
  8773. type: string
  8774. messageboardid:
  8775. description: 留言簿ID(SEQ_MessageBoard)
  8776. type: integer
  8777. userid:
  8778. description: 用户ID
  8779. type: integer
  8780. required:
  8781. - messageboardid
  8782. type: object
  8783. models.MyCoupon:
  8784. properties:
  8785. accountid:
  8786. description: 资金账户ID
  8787. type: integer
  8788. areauserid:
  8789. description: 所属机构
  8790. type: integer
  8791. conditionvalue:
  8792. description: 条件阈值(可为0)
  8793. type: number
  8794. couponcategroy:
  8795. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8796. type: integer
  8797. couponname:
  8798. description: 优惠券名称
  8799. type: string
  8800. coupontypeid:
  8801. description: 优惠券类型ID
  8802. type: string
  8803. couponvalue:
  8804. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8805. type: number
  8806. curfreezeqty:
  8807. description: 期末冻结数量
  8808. type: integer
  8809. curqty:
  8810. description: 期末数量
  8811. type: integer
  8812. isgeneral:
  8813. description: 是否通用券 - 0:否 1:是
  8814. type: integer
  8815. isunusable:
  8816. description: 是否不可用
  8817. type: boolean
  8818. limitedflag:
  8819. description: 是否指定商品 - 0:不限 1:限制
  8820. type: integer
  8821. limitedgoodsids:
  8822. description: 指定商品IDs[逗号分隔,前后加逗号]
  8823. type: string
  8824. orifreezeqty:
  8825. description: 期初冻结数量
  8826. type: integer
  8827. oriqty:
  8828. description: 期初数量
  8829. type: integer
  8830. reasontype:
  8831. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8832. type: integer
  8833. todaydecrease:
  8834. description: 今日减少
  8835. type: integer
  8836. todayincrease:
  8837. description: 今日增加
  8838. type: integer
  8839. userid:
  8840. description: 用户ID
  8841. type: integer
  8842. userscope:
  8843. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8844. type: string
  8845. required:
  8846. - accountid
  8847. - coupontypeid
  8848. type: object
  8849. models.MyCouponHold:
  8850. properties:
  8851. accountid:
  8852. description: 资金账户ID
  8853. type: integer
  8854. conditionvalue:
  8855. description: 条件阈值(可为0)
  8856. type: number
  8857. couponcategroy:
  8858. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8859. type: integer
  8860. couponholdid:
  8861. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8862. type: string
  8863. couponname:
  8864. description: 优惠券名称
  8865. type: string
  8866. coupontypeid:
  8867. description: 优惠券类型ID - SEQ_COUPONTYPE
  8868. type: string
  8869. couponvalue:
  8870. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8871. type: number
  8872. createtime:
  8873. description: 创建时间
  8874. type: string
  8875. enddate:
  8876. description: 结束日期
  8877. type: string
  8878. giveapplyid:
  8879. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8880. type: integer
  8881. holdstatus:
  8882. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8883. type: integer
  8884. isgeneral:
  8885. description: 是否通用券 - 0:否 1:是
  8886. type: integer
  8887. limitedflag:
  8888. description: 是否指定商品 - 0:不限 1:限制
  8889. type: integer
  8890. limitedgoodsids:
  8891. description: 指定商品IDs[逗号分隔]
  8892. type: string
  8893. qty:
  8894. description: 数量(按1平铺)
  8895. type: integer
  8896. startdate:
  8897. description: 开始日期
  8898. type: string
  8899. userid:
  8900. description: 用户ID
  8901. type: integer
  8902. userscope:
  8903. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8904. type: string
  8905. required:
  8906. - couponholdid
  8907. type: object
  8908. models.MyUsedCoupon:
  8909. properties:
  8910. accountid:
  8911. description: 资金账户ID(买方)
  8912. type: integer
  8913. conditionvalue:
  8914. description: 条件阈值(可为0)
  8915. type: number
  8916. couponcategroy:
  8917. description: 种类 - 1:现金券 2:折扣券
  8918. type: integer
  8919. couponname:
  8920. description: 优惠券名称
  8921. type: string
  8922. coupontypeid:
  8923. description: 优惠券类型ID(买方)
  8924. type: string
  8925. couponvalue:
  8926. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8927. type: number
  8928. createtime:
  8929. description: 创建时间
  8930. type: string
  8931. goodsid:
  8932. description: 商品ID
  8933. type: integer
  8934. handlestatus:
  8935. description: 处理状态
  8936. type: integer
  8937. marketid:
  8938. description: 市场ID
  8939. type: integer
  8940. offamount:
  8941. description: 优惠金额
  8942. type: number
  8943. orderid:
  8944. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8945. type: string
  8946. sellaccountid:
  8947. description: 资金账户ID(卖方)
  8948. type: integer
  8949. tradeamount:
  8950. description: 成交金额
  8951. type: number
  8952. tradeid:
  8953. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8954. type: string
  8955. usedqty:
  8956. description: 使用数量
  8957. type: integer
  8958. required:
  8959. - coupontypeid
  8960. - orderid
  8961. type: object
  8962. models.OperationPrimaryMenu:
  8963. properties:
  8964. Children:
  8965. description: 二级功能菜单
  8966. items:
  8967. $ref: '#/definitions/models.OperationSecondaryMenu'
  8968. type: array
  8969. Key:
  8970. description: 菜单KEY
  8971. type: string
  8972. Label:
  8973. description: 菜单标题
  8974. type: string
  8975. type: object
  8976. models.OperationSecondaryMenu:
  8977. properties:
  8978. Key:
  8979. description: 菜单KEY
  8980. type: string
  8981. Label:
  8982. description: 菜单标题
  8983. type: string
  8984. TabList:
  8985. description: 三级功能菜单
  8986. items:
  8987. $ref: '#/definitions/models.OperationTabMenu'
  8988. type: array
  8989. type: object
  8990. models.OperationTabMenu:
  8991. properties:
  8992. Key:
  8993. description: 菜单KEY
  8994. type: string
  8995. Label:
  8996. description: 菜单标题
  8997. type: string
  8998. type: object
  8999. models.QueryErrorInfosRsp:
  9000. properties:
  9001. description:
  9002. description: 异常描述
  9003. type: string
  9004. errorcode:
  9005. description: 异常代码
  9006. type: string
  9007. errorid:
  9008. description: 异常ID
  9009. type: integer
  9010. modulecode:
  9011. description: 所属模块
  9012. type: string
  9013. operatecode:
  9014. description: 所属操作
  9015. type: string
  9016. rownumber:
  9017. description: 行号
  9018. type: string
  9019. required:
  9020. - errorid
  9021. type: object
  9022. models.QueryHedgeOrderDetailRsp:
  9023. properties:
  9024. accountid:
  9025. description: 账户ID
  9026. type: integer
  9027. buyorsell:
  9028. description: 买卖 - 0:买 1:卖
  9029. type: integer
  9030. cancellogincode:
  9031. description: 撤单人
  9032. type: string
  9033. channelbuildtype:
  9034. description: 开平标志 - 0:无 1:建仓 2:平仓
  9035. type: integer
  9036. channelinnerorderstatus:
  9037. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9038. 9:全部成交
  9039. type: integer
  9040. channeloperatetype:
  9041. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9042. type: integer
  9043. closetype:
  9044. description: 平仓方式 - 0:无 1:平今 2:平昨
  9045. type: integer
  9046. curexchangerate:
  9047. description: 当前汇率
  9048. type: number
  9049. exchangefullname:
  9050. description: 外部交易所全称
  9051. type: string
  9052. goodscode:
  9053. description: 商品代码(内部)
  9054. type: string
  9055. goodsid:
  9056. description: 商品ID
  9057. type: integer
  9058. goodsname:
  9059. description: 商品名称
  9060. type: string
  9061. marketid:
  9062. description: 市场ID
  9063. type: integer
  9064. openfreezemargin:
  9065. description: 冻结保证金(冻结交易金额)
  9066. type: number
  9067. orderid:
  9068. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9069. type: string
  9070. orderlogincode:
  9071. description: 委托人
  9072. type: string
  9073. orderprice:
  9074. description: 委托价格(账户)
  9075. type: number
  9076. orderqty:
  9077. description: 委托数量
  9078. type: integer
  9079. ordertime:
  9080. description: 委托时间
  9081. type: string
  9082. pricemode:
  9083. description: '取价方式 - 1:市价 2: 限价'
  9084. type: integer
  9085. tradedate:
  9086. description: 交易日(yyyyMMdd)
  9087. type: string
  9088. tradeqty:
  9089. description: 成交数量
  9090. type: integer
  9091. type: object
  9092. models.QueryHedgeTradeDetailRsp:
  9093. properties:
  9094. accountid:
  9095. description: 账号ID
  9096. type: integer
  9097. buyorsell:
  9098. description: 方向 - 0:买 1:卖
  9099. type: integer
  9100. channelbuildtype:
  9101. description: 委托单据类型 0:无 1:建仓 2:平仓
  9102. type: integer
  9103. closecharge:
  9104. description: 平仓手续费(账户)
  9105. type: number
  9106. closecharge2:
  9107. description: 平仓手续费(商品)
  9108. type: number
  9109. closepl:
  9110. description: 平仓盈亏(账户)
  9111. type: number
  9112. closepl2:
  9113. description: 平仓盈亏(商品)
  9114. type: number
  9115. closepl3:
  9116. description: 平仓盈亏(账户)(逐笔)
  9117. type: number
  9118. closepl4:
  9119. description: 平仓盈亏(商品)(逐笔)
  9120. type: number
  9121. closetype:
  9122. description: 平仓方式 - 0:无 1:平今 2:平昨
  9123. type: integer
  9124. curexchangerate:
  9125. description: 当前汇率
  9126. type: number
  9127. exchangefullname:
  9128. description: 外部交易所全称
  9129. type: string
  9130. goodscode:
  9131. description: 商品代码(内部)
  9132. type: string
  9133. goodsid:
  9134. description: 商品ID
  9135. type: integer
  9136. goodsname:
  9137. description: 商品名称
  9138. type: string
  9139. marketid:
  9140. description: 市场ID
  9141. type: integer
  9142. opencharge:
  9143. description: 建仓手续费(账户)
  9144. type: number
  9145. opencharge2:
  9146. description: 建仓手续费(商品)
  9147. type: number
  9148. orderid:
  9149. description: 委托单号
  9150. type: string
  9151. orderlogincode:
  9152. description: 委托人
  9153. type: string
  9154. tradeamount:
  9155. description: 成交金额(账户)
  9156. type: number
  9157. tradedate:
  9158. description: 交易日(yyyyMMdd)
  9159. type: string
  9160. tradeid:
  9161. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9162. type: string
  9163. tradeprice:
  9164. description: 成交价格
  9165. type: number
  9166. tradeqty:
  9167. description: 成交数量
  9168. type: integer
  9169. tradetime:
  9170. description: 成交时间
  9171. type: string
  9172. tradetype:
  9173. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9174. type: integer
  9175. type: object
  9176. models.QuotePrimaryMenu:
  9177. properties:
  9178. Index:
  9179. description: 序号
  9180. type: integer
  9181. Key:
  9182. description: 键名
  9183. type: string
  9184. Name:
  9185. description: 菜单名称
  9186. type: string
  9187. SubMenus:
  9188. description: 子菜单
  9189. items:
  9190. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9191. type: array
  9192. SubTitleType:
  9193. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9194. type: integer
  9195. TradeModes:
  9196. description: 包含市场交易类型
  9197. type: string
  9198. type: object
  9199. models.QuoteSecondaryMenu:
  9200. properties:
  9201. ExExchangeCode:
  9202. description: 外部交易所代码
  9203. type: string
  9204. ExExchangeID:
  9205. description: 外部交易所ID
  9206. type: integer
  9207. GoodsGroupIDs:
  9208. description: 商品组ID列表
  9209. items:
  9210. type: integer
  9211. type: array
  9212. Index:
  9213. description: 序号
  9214. type: integer
  9215. MarketID:
  9216. description: 市场ID
  9217. type: integer
  9218. MenuTitle:
  9219. description: 菜单标题(市场名称或外部交易所名称)
  9220. type: string
  9221. TradeMode:
  9222. description: 交易模式
  9223. type: integer
  9224. type: object
  9225. models.RelatedGoodsEx:
  9226. properties:
  9227. goodscode:
  9228. description: 商品代码
  9229. type: string
  9230. goodsid:
  9231. description: 商品id
  9232. type: integer
  9233. goodsname:
  9234. description: 商品名称
  9235. type: string
  9236. type: object
  9237. models.SearchGoods:
  9238. properties:
  9239. goodscode:
  9240. description: 商品代码(内部)
  9241. type: string
  9242. goodsid:
  9243. description: 商品ID(自增ID SEQ_GOODS)
  9244. type: integer
  9245. goodsname:
  9246. description: 商品名称
  9247. type: string
  9248. marketid:
  9249. description: 所属市场ID
  9250. type: integer
  9251. marketname:
  9252. description: 市场名称
  9253. type: string
  9254. trademode:
  9255. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9256. 21:竞拍-大宗式 22:受托竞价
  9257. type: integer
  9258. required:
  9259. - goodscode
  9260. - goodsid
  9261. - goodsname
  9262. - marketid
  9263. - trademode
  9264. type: object
  9265. models.Systemparam:
  9266. properties:
  9267. loginid:
  9268. description: 更新用户账号,登录账号
  9269. type: string
  9270. modifyflag:
  9271. description: 修改标志0 不允许修改 1 允许修改
  9272. type: integer
  9273. paramcode:
  9274. description: 参数代码
  9275. type: string
  9276. paramname:
  9277. description: 参数名
  9278. type: string
  9279. paramtype:
  9280. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9281. type: integer
  9282. paramvalue:
  9283. description: 参数值
  9284. type: string
  9285. paramvalue2:
  9286. description: 参数值(CLOB)
  9287. type: string
  9288. regexpress:
  9289. description: 正则表达式
  9290. type: string
  9291. remark:
  9292. description: 备注
  9293. type: string
  9294. serverip:
  9295. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9296. type: string
  9297. showflag:
  9298. description: 是否显示0 不显示 1 显示
  9299. type: integer
  9300. updatetime:
  9301. description: 更新时间
  9302. type: string
  9303. userid:
  9304. description: 更新用户ID
  9305. type: integer
  9306. required:
  9307. - paramcode
  9308. type: object
  9309. models.Szdz3convertconfig:
  9310. properties:
  9311. canin:
  9312. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9313. type: integer
  9314. canout:
  9315. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9316. type: integer
  9317. converttype:
  9318. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9319. 6:交易转花生米(不设置)
  9320. type: integer
  9321. createtime:
  9322. description: 创建时间
  9323. type: string
  9324. creatorid:
  9325. description: 创建人
  9326. type: integer
  9327. daymaxvalue:
  9328. description: 当日最大转入限制
  9329. type: number
  9330. freezedays:
  9331. description: 冻结天数 [5:花生米转交易]
  9332. type: integer
  9333. innergoodsid:
  9334. description: 内部商品ID[交易]
  9335. type: integer
  9336. inratio:
  9337. description: 目标值
  9338. type: integer
  9339. modifierid:
  9340. description: 修改人
  9341. type: integer
  9342. modifytime:
  9343. description: 修改时间
  9344. type: string
  9345. outergoodscode:
  9346. description: 外部商品代码[JD\PD]
  9347. type: string
  9348. outratio:
  9349. description: 源值
  9350. type: integer
  9351. pddecimalplace:
  9352. description: PD小数位
  9353. type: integer
  9354. timemaxvalue:
  9355. description: 单次最大转入限制
  9356. type: number
  9357. timeminvalue:
  9358. description: 单次最小转入限制
  9359. type: number
  9360. required:
  9361. - converttype
  9362. - innergoodsid
  9363. - outergoodscode
  9364. type: object
  9365. models.Szdz3searchwhitelist:
  9366. properties:
  9367. createtime:
  9368. description: 创建时间
  9369. type: string
  9370. creatorid:
  9371. description: 创建人
  9372. type: integer
  9373. modifierid:
  9374. description: 修改人
  9375. type: integer
  9376. modifytime:
  9377. description: 修改时间
  9378. type: string
  9379. userid:
  9380. description: 用户ID
  9381. type: integer
  9382. required:
  9383. - userid
  9384. type: object
  9385. models.Taaccount:
  9386. properties:
  9387. accountflag:
  9388. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9389. type: integer
  9390. accountid:
  9391. description: 资金账户ID
  9392. type: integer
  9393. accountname:
  9394. description: 账户名称
  9395. type: string
  9396. balance:
  9397. description: 期初余额
  9398. type: number
  9399. capitalbalance:
  9400. description: 本金余额[外部子账户实际出入金余额]
  9401. type: number
  9402. changeflag:
  9403. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9404. type: integer
  9405. changetime:
  9406. description: 账户状态变更时间
  9407. type: string
  9408. closepl:
  9409. description: 今日平仓盈亏
  9410. type: number
  9411. creditdecrease:
  9412. description: 今日授信减少
  9413. type: number
  9414. creditincrease:
  9415. description: 今日授信增加
  9416. type: number
  9417. currencyid:
  9418. description: 货币ID
  9419. type: integer
  9420. currentbalance:
  9421. description: 期末余额
  9422. type: number
  9423. freezecharge:
  9424. description: 手续费冻结
  9425. type: number
  9426. freezemargin:
  9427. description: 冻结保证金
  9428. type: number
  9429. fromaccountid:
  9430. description: 所属上级账户
  9431. type: integer
  9432. inamount:
  9433. description: 今日入金金额(包括三方入金)
  9434. type: number
  9435. ismain:
  9436. description: 是否母账号 0:不是母账户 1:是母账户
  9437. type: integer
  9438. ismarketaccount:
  9439. description: 是否机构接单账号 0:不是 1:是
  9440. type: integer
  9441. isreckonaccount:
  9442. description: 是否机构分润账号 0:不是 1:是
  9443. type: integer
  9444. mortgagecredit:
  9445. description: 授信金额
  9446. type: number
  9447. orifreezecharge:
  9448. description: 期初手续费冻结
  9449. type: number
  9450. orifreezemargin:
  9451. description: 期初冻结保证金
  9452. type: number
  9453. orimortgagecredit:
  9454. description: 期初授信金额
  9455. type: number
  9456. oriothercredit:
  9457. description: 期初其它授信金额
  9458. type: number
  9459. oriotherfreezemargin:
  9460. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9461. type: number
  9462. orioutamountfreeze:
  9463. description: 期初出金冻结
  9464. type: number
  9465. oriusedmargin:
  9466. description: 期初占用保证金
  9467. type: number
  9468. othercredit:
  9469. description: 其它授信金额
  9470. type: number
  9471. othercreditdecrease:
  9472. description: 今日其它授信减少
  9473. type: number
  9474. othercreditincrease:
  9475. description: 今日其它授信增加
  9476. type: number
  9477. otherfreezemargin:
  9478. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9479. type: number
  9480. otherincome:
  9481. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9482. type: number
  9483. otherpay:
  9484. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9485. type: number
  9486. outamount:
  9487. description: 今日出金金额(包括三方出金)
  9488. type: number
  9489. outamountfreeze:
  9490. description: 出金冻结
  9491. type: number
  9492. outthreshold:
  9493. description: 出金阈值
  9494. type: number
  9495. parentaccountid:
  9496. description: 所属根账号
  9497. type: integer
  9498. paycharge:
  9499. description: 今日手续费支出
  9500. type: number
  9501. relatedaccountstatus:
  9502. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9503. type: integer
  9504. relateduserid:
  9505. description: 关联用户
  9506. type: integer
  9507. serivcegroup:
  9508. description: 服务分组
  9509. type: integer
  9510. signstatus:
  9511. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9512. type: integer
  9513. sublevelpath:
  9514. description: 账号层级路径(逗号分隔,首尾加逗号)
  9515. type: string
  9516. taaccounttype:
  9517. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9518. type: integer
  9519. thirdinamount:
  9520. description: 今日三方入金
  9521. type: number
  9522. thirdoutamount:
  9523. description: 今日三方出金
  9524. type: number
  9525. tradestatus:
  9526. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9527. type: integer
  9528. tradestatuschangetime:
  9529. description: 激活时间
  9530. type: string
  9531. transferamount:
  9532. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9533. type: number
  9534. usedmargin:
  9535. description: 占用保证金
  9536. type: number
  9537. userid:
  9538. description: 用户ID
  9539. type: integer
  9540. required:
  9541. - accountid
  9542. - userid
  9543. type: object
  9544. models.Tablecolumnconfig:
  9545. properties:
  9546. aligntype:
  9547. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9548. type: integer
  9549. autoid:
  9550. description: AutoID
  9551. type: integer
  9552. columnfield:
  9553. description: 列字段
  9554. type: string
  9555. columntitle:
  9556. description: 列Title
  9557. type: string
  9558. columnwidth:
  9559. description: 列宽
  9560. type: string
  9561. formatterstring:
  9562. description: 格式化字符
  9563. type: string
  9564. formattertype:
  9565. description: 格式化类型
  9566. type: string
  9567. groupname:
  9568. description: 表头分组名称
  9569. type: string
  9570. isshow:
  9571. description: 是否显示 - 0:不显示 1:显示
  9572. type: integer
  9573. needsummary:
  9574. description: 是否需要汇总 - 0:不需要 1:需要
  9575. type: integer
  9576. orderindex:
  9577. description: 顺序
  9578. type: integer
  9579. remark:
  9580. description: 备注
  9581. type: string
  9582. summarytype:
  9583. description: 汇总类型 - 1:加总 2:最后一个
  9584. type: integer
  9585. tablekey:
  9586. description: 列表Key
  9587. type: string
  9588. required:
  9589. - autoid
  9590. type: object
  9591. models.Useraccount:
  9592. properties:
  9593. accountname:
  9594. description: 账户名称(机构名称)
  9595. type: string
  9596. accountstatus:
  9597. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9598. type: integer
  9599. auditremark:
  9600. description: 审核备注
  9601. type: string
  9602. audittime:
  9603. description: 审核时间
  9604. type: string
  9605. audituserid:
  9606. description: 审核人
  9607. type: integer
  9608. broker:
  9609. description: 所属经纪人ID
  9610. type: integer
  9611. canceltime:
  9612. description: 销户时间
  9613. type: string
  9614. canceluserid:
  9615. description: 销户人
  9616. type: integer
  9617. createtime:
  9618. description: 创建时间
  9619. type: string
  9620. creatorid:
  9621. description: 创建人
  9622. type: integer
  9623. hasauth:
  9624. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9625. type: integer
  9626. isanonymous:
  9627. description: 是否匿名下单 - 0:否 1:是
  9628. type: integer
  9629. maxinvestornum:
  9630. description: 最大用户数(经纪会员下投资者个数)
  9631. type: integer
  9632. memberuserid:
  9633. description: 所属会员ID
  9634. type: integer
  9635. modifierid:
  9636. description: 修改人
  9637. type: integer
  9638. modifyremark:
  9639. description: 变更备注
  9640. type: string
  9641. modifystatus:
  9642. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9643. type: integer
  9644. modifytime:
  9645. description: 修改时间
  9646. type: string
  9647. parentuserid:
  9648. description: 所属机构ID
  9649. type: integer
  9650. reckonaccountid:
  9651. description: 默认结算资金账号ID(机构分润使用) 作废
  9652. type: integer
  9653. refercount:
  9654. description: 推荐总人数
  9655. type: integer
  9656. refereeuserid:
  9657. description: 推荐人ID
  9658. type: integer
  9659. refernum:
  9660. description: 推荐码
  9661. type: string
  9662. subarealevelpath:
  9663. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9664. type: string
  9665. userid:
  9666. description: 用户ID
  9667. type: integer
  9668. usertype:
  9669. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9670. type: integer
  9671. required:
  9672. - userid
  9673. type: object
  9674. models.Userfavoritegoods:
  9675. properties:
  9676. goodsid:
  9677. description: 商品ID
  9678. type: integer
  9679. required:
  9680. - goodsid
  9681. type: object
  9682. models.Userinfo:
  9683. properties:
  9684. address:
  9685. description: 地址
  9686. type: string
  9687. attachment1:
  9688. description: 附件1
  9689. type: string
  9690. attachment2:
  9691. description: 附件2
  9692. type: string
  9693. bankaccount:
  9694. description: 银行帐号 (加密存储)
  9695. type: string
  9696. bankaccountname:
  9697. description: 收款人名称
  9698. type: string
  9699. bankcardfrontphotourl:
  9700. description: 银行卡正面照地址
  9701. type: string
  9702. bankid:
  9703. description: 银行编码
  9704. type: string
  9705. bankname:
  9706. description: 银行名称
  9707. type: string
  9708. biznature:
  9709. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9710. type: integer
  9711. bizscope:
  9712. description: 企业经营范围(企业)
  9713. type: string
  9714. cardbackphotourl:
  9715. description: 证件背面图片地址
  9716. type: string
  9717. cardfrontphotourl:
  9718. description: 证件正面图片地址
  9719. type: string
  9720. cardnum:
  9721. description: 证件号码(加密存储)
  9722. type: string
  9723. cardtypeid:
  9724. description: 证件类型ID
  9725. type: integer
  9726. cityid:
  9727. description: 市
  9728. type: integer
  9729. company:
  9730. description: 公司(个人)
  9731. type: string
  9732. contactname:
  9733. description: 联系人
  9734. type: string
  9735. countryid:
  9736. description: 国家
  9737. type: integer
  9738. createtime:
  9739. description: 创建时间
  9740. type: string
  9741. creatorid:
  9742. description: 创建人
  9743. type: integer
  9744. customername:
  9745. description: 客户名称(企业名称)
  9746. type: string
  9747. districtid:
  9748. description: 地区
  9749. type: integer
  9750. email:
  9751. description: 邮件(加密存储)
  9752. type: string
  9753. fax:
  9754. description: 传真(加密存储)
  9755. type: string
  9756. halfbodyphotourl:
  9757. description: 半身照地址
  9758. type: string
  9759. hasencrypt:
  9760. description: 数据是否已加密 - 0:未加密 1:已加密
  9761. type: integer
  9762. headurl:
  9763. description: 头像地址
  9764. type: string
  9765. legalcardbackphotourl:
  9766. description: 法人身份证背面照地址
  9767. type: string
  9768. legalcardfrontphotourl:
  9769. description: 法人身份证正面照地址
  9770. type: string
  9771. legalpersonname:
  9772. description: 法人姓名(企业)
  9773. type: string
  9774. mobile:
  9775. description: 手机号码(加密存储)
  9776. type: string
  9777. mobile2:
  9778. description: 手机号码[明文-尚志]
  9779. type: string
  9780. modifierid:
  9781. description: 修改人
  9782. type: integer
  9783. modifiertime:
  9784. description: 修改时间
  9785. type: string
  9786. needinvoice:
  9787. description: 是否需要发票 - 0:不需要 1:需要
  9788. type: integer
  9789. nickname:
  9790. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9791. type: string
  9792. openmode:
  9793. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9794. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9795. type: integer
  9796. otherurl:
  9797. description: 其它图片地址[使用分号分隔]
  9798. type: string
  9799. postalcode:
  9800. description: 邮政编码
  9801. type: string
  9802. provinceid:
  9803. description: 省
  9804. type: integer
  9805. qq:
  9806. description: QQ(加密存储
  9807. type: string
  9808. remark:
  9809. description: 备注
  9810. type: string
  9811. sex:
  9812. description: '用户性别 0: 女 1: 男'
  9813. type: integer
  9814. signpdfurl:
  9815. description: 签约pdf文件
  9816. type: string
  9817. telphone:
  9818. description: 联系电话(加密存储)
  9819. type: string
  9820. userid:
  9821. description: 用户ID
  9822. type: integer
  9823. userinfotype:
  9824. description: 用户信息类型 - 1:个人 2:企业
  9825. type: integer
  9826. userstatus:
  9827. description: 用户状态 - 1:正常 2:注销
  9828. type: integer
  9829. usertype:
  9830. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9831. type: integer
  9832. wechat:
  9833. description: 微信(加密存储)
  9834. type: string
  9835. wskhinfo:
  9836. description: 开户申请信息(JSON)
  9837. type: string
  9838. required:
  9839. - userid
  9840. type: object
  9841. models.WRSConverTDetail:
  9842. properties:
  9843. convertratio:
  9844. description: 套保系数
  9845. type: number
  9846. deliverygoodscode:
  9847. description: 现货商品代码
  9848. type: string
  9849. deliverygoodsid:
  9850. description: 现货品种ID
  9851. type: integer
  9852. deliverygoodsname:
  9853. description: 现货商品名称
  9854. type: string
  9855. enumdicname:
  9856. description: 单位名称
  9857. type: string
  9858. goodsunitid:
  9859. description: 套保品种单位id
  9860. type: integer
  9861. middlegoodscode:
  9862. description: 套保品种代码
  9863. type: string
  9864. middlegoodsid:
  9865. description: 套保品种ID
  9866. type: integer
  9867. middlegoodsname:
  9868. description: 套保品种名称
  9869. type: string
  9870. modifytime:
  9871. description: 修改时间
  9872. type: string
  9873. wrstandardid:
  9874. description: 品类ID
  9875. type: integer
  9876. type: object
  9877. models.WRStandardInfo:
  9878. properties:
  9879. areauserid:
  9880. description: 所属机构
  9881. type: integer
  9882. convertfactor:
  9883. description: 标仓系数
  9884. type: number
  9885. createtime:
  9886. description: 创建时间
  9887. type: string
  9888. creatorid:
  9889. description: 创建人
  9890. type: integer
  9891. deliverygoodsid:
  9892. description: 品种ID
  9893. type: integer
  9894. deliverygoodsname:
  9895. description: 交割商品名称
  9896. type: string
  9897. factoryitemjson:
  9898. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9899. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9900. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9901. 逗号分隔'
  9902. type: string
  9903. isvalid:
  9904. description: 是否有效 - 0:无效 1:有效
  9905. type: integer
  9906. minivalue:
  9907. description: 最小变动值
  9908. type: integer
  9909. minivaluedp:
  9910. description: 最小变动值小数位
  9911. type: integer
  9912. realminivalue:
  9913. description: 实际最小变动值
  9914. type: integer
  9915. realminivaluedp:
  9916. description: 实际最小变动值小数位
  9917. type: integer
  9918. remark:
  9919. description: 备注
  9920. type: string
  9921. unitid:
  9922. description: 单位ID
  9923. type: integer
  9924. unitname:
  9925. description: 单位
  9926. type: string
  9927. updatetime:
  9928. description: 更新时间
  9929. type: string
  9930. updatorid:
  9931. description: 更新人
  9932. type: integer
  9933. wrsstatus:
  9934. description: 状态 - 作废 - 0:未激活 1:正常
  9935. type: integer
  9936. wrstandardcode:
  9937. description: 现货品类代码
  9938. type: string
  9939. wrstandardid:
  9940. description: 现货品类ID(SEQ_WRSTANDARD)
  9941. type: integer
  9942. wrstandardname:
  9943. description: 现货品类名称
  9944. type: string
  9945. required:
  9946. - wrstandardid
  9947. type: object
  9948. models.Warehouseinfo:
  9949. properties:
  9950. address:
  9951. description: 详细地址
  9952. type: string
  9953. areauserid:
  9954. description: 所属机构
  9955. type: integer
  9956. autoid:
  9957. description: 自增ID
  9958. type: integer
  9959. cityid:
  9960. description: 市
  9961. type: integer
  9962. contactname:
  9963. description: 联系人
  9964. type: string
  9965. contactnum:
  9966. description: 联系电话
  9967. type: string
  9968. countryid:
  9969. description: 国家
  9970. type: integer
  9971. createtime:
  9972. description: 创建时间
  9973. type: string
  9974. districtid:
  9975. description: 区
  9976. type: integer
  9977. hasvideo:
  9978. description: 是否有视频 - 0:无 1:有
  9979. type: integer
  9980. provinceid:
  9981. description: 省
  9982. type: integer
  9983. remark:
  9984. description: 审核备注
  9985. type: string
  9986. videourl:
  9987. description: 视频地址
  9988. type: string
  9989. warehousecode:
  9990. description: 仓库代码
  9991. type: string
  9992. warehousename:
  9993. description: 仓库名称
  9994. type: string
  9995. warehousestatus:
  9996. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9997. type: integer
  9998. warehousetype:
  9999. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10000. type: integer
  10001. required:
  10002. - autoid
  10003. - warehousecode
  10004. type: object
  10005. order.QueryHisTradeDetailRsp:
  10006. properties:
  10007. accountid:
  10008. description: 账户ID[报价币种]
  10009. type: integer
  10010. buildtype:
  10011. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10012. type: integer
  10013. buyorsell:
  10014. description: 方向 - 0:买 1:卖
  10015. type: integer
  10016. charge:
  10017. description: 手续费
  10018. type: number
  10019. closecharge:
  10020. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10021. type: number
  10022. closeexchagechargevalue:
  10023. description: 平仓交易所手续费设置值
  10024. type: number
  10025. closefeealgorithm:
  10026. description: 平仓手续费收取方式 1:比率 2:固定
  10027. type: integer
  10028. closememberchargevalue:
  10029. description: 平仓会员手续费设置值
  10030. type: number
  10031. closepl:
  10032. description: 平仓盈亏
  10033. type: number
  10034. closepl2:
  10035. description: 平仓盈亏[逐笔]
  10036. type: number
  10037. closeqty:
  10038. description: 平仓数量(先建后平操作 需要记录)
  10039. type: integer
  10040. creditamount:
  10041. description: 授信金额
  10042. type: number
  10043. gcaccountid:
  10044. description: 账户ID[合约币种]
  10045. type: integer
  10046. goodscode:
  10047. description: 商品代码
  10048. type: string
  10049. goodsid:
  10050. description: 商品ID
  10051. type: integer
  10052. goodsname:
  10053. description: 商品名称
  10054. type: string
  10055. histradedate:
  10056. description: 历史交易日
  10057. type: string
  10058. intclosepl:
  10059. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10060. type: integer
  10061. isconfirmexercise:
  10062. description: 是否确认行权- 0:否 1:是
  10063. type: integer
  10064. ismain:
  10065. description: 是否主单 - 0:不是 1:是
  10066. type: integer
  10067. ispreexercise:
  10068. description: 是否预申报- 0:否 1:是
  10069. type: integer
  10070. isreckoned:
  10071. description: 是否结算 - 0:未结算 1:已结算
  10072. type: integer
  10073. isvaliddata:
  10074. description: 是否有效 - 0:无效 1:有效
  10075. type: integer
  10076. listingselecttype:
  10077. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10078. type: integer
  10079. marketid:
  10080. description: 市场ID
  10081. type: integer
  10082. marketname:
  10083. description: 市场名称
  10084. type: string
  10085. matchaccountid:
  10086. description: 对手账号id
  10087. type: integer
  10088. memberuserid:
  10089. description: 会员id 个人投资者 需要填写
  10090. type: integer
  10091. opencharge:
  10092. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10093. type: number
  10094. openexchagechargevalue:
  10095. description: 建仓交易所手续费设置值
  10096. type: number
  10097. openfeealgorithm:
  10098. description: 建仓手续费收取方式 1:比率 2:固定
  10099. type: integer
  10100. openmemberchargevalue:
  10101. description: 建仓会员手续费设置值
  10102. type: number
  10103. openqty:
  10104. description: 开仓数量(先建后平操作 需要记录)
  10105. type: integer
  10106. optiontype:
  10107. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10108. type: integer
  10109. orderid:
  10110. description: 委托单号
  10111. type: string
  10112. performanceplanid:
  10113. description: 履约计划ID[期权]
  10114. type: integer
  10115. performancestatus:
  10116. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10117. type: integer
  10118. preexerciseprice:
  10119. description: 预申报价格
  10120. type: number
  10121. premium:
  10122. description: 权利金 - [持仓单的权利金]
  10123. type: number
  10124. relatedouttradeid:
  10125. description: 关联外部成交单ID
  10126. type: integer
  10127. status:
  10128. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10129. type: integer
  10130. tradeamount:
  10131. description: 成交金额[账户币种,用于所有权]
  10132. type: number
  10133. tradedate:
  10134. description: 交易日(yyyyMMdd)
  10135. type: string
  10136. tradeid:
  10137. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10138. type: string
  10139. trademode:
  10140. description: 交易模式
  10141. type: integer
  10142. tradeprice:
  10143. description: 成交价格
  10144. type: number
  10145. tradeproperty:
  10146. description: 交易属性
  10147. type: integer
  10148. tradeqty:
  10149. description: 成交数量
  10150. type: integer
  10151. tradetime:
  10152. description: 成交时间
  10153. type: string
  10154. tradetype:
  10155. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10156. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10157. type: integer
  10158. required:
  10159. - accountid
  10160. - buyorsell
  10161. - goodsid
  10162. - histradedate
  10163. - marketid
  10164. - memberuserid
  10165. - orderid
  10166. - tradeamount
  10167. - tradedate
  10168. - tradeid
  10169. - tradeprice
  10170. - tradeqty
  10171. - tradetime
  10172. type: object
  10173. order.QueryHisTradeOrderDetailRsp:
  10174. properties:
  10175. accountid:
  10176. description: 账户ID[报价币种]
  10177. type: integer
  10178. buildtype:
  10179. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10180. type: integer
  10181. buyorsell:
  10182. description: 买卖 - 0:买 1:卖
  10183. type: integer
  10184. cancelorderid:
  10185. description: 撤单单号(撤单时填写)
  10186. type: string
  10187. cancelqty:
  10188. description: 撤单数量
  10189. type: integer
  10190. clientordertime:
  10191. description: 客户端委托时间
  10192. type: string
  10193. clientticket:
  10194. description: 客户端流水号
  10195. type: string
  10196. clienttype:
  10197. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10198. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10199. type: integer
  10200. closeexchagechargevalue:
  10201. description: 平仓交易所手续费设置值
  10202. type: number
  10203. closefeealgorithm:
  10204. description: 平仓手续费收取方式 1:比率 2:固定
  10205. type: integer
  10206. closefreezecharge:
  10207. description: 平仓冻结手续费(先建后平操作,需要记录)
  10208. type: number
  10209. closememberchargevalue:
  10210. description: 平仓会员手续费设置值
  10211. type: number
  10212. closeqty:
  10213. description: 平仓数量(先建后平操作 需要记录)
  10214. type: integer
  10215. closetradeqty:
  10216. description: 平仓成交数量(先建后平操作,需要记录)
  10217. type: integer
  10218. closeunfreezecharge:
  10219. description: 平仓解冻手续费(先建后平操作,需要记录)
  10220. type: number
  10221. delistingtype:
  10222. description: 摘牌类型 - 1:价格最优 2:点选成交
  10223. type: integer
  10224. freezecharge:
  10225. description: 冻结手续费
  10226. type: number
  10227. freezemargin:
  10228. description: 冻结保证金(冻结交易金额)
  10229. type: number
  10230. gcaccountid:
  10231. description: 账户ID[合约币种]
  10232. type: integer
  10233. goodscode:
  10234. description: 商品代码
  10235. type: string
  10236. goodsid:
  10237. description: 商品ID
  10238. type: integer
  10239. goodsname:
  10240. description: 商品名称
  10241. type: string
  10242. histradedate:
  10243. description: 历史交易日
  10244. type: string
  10245. isconfirmexercise:
  10246. description: 是否确认行权- 0:否 1:是
  10247. type: integer
  10248. ispreexercise:
  10249. description: 是否预申报- 0:否 1:是
  10250. type: integer
  10251. isvaliddata:
  10252. description: 是否有效 - 0:无效 1:有效
  10253. type: integer
  10254. listingselecttype:
  10255. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10256. type: integer
  10257. marginalgorithm:
  10258. description: 保证金收取方式 1:比率 2:固定
  10259. type: integer
  10260. marginvalue:
  10261. description: 即市保证金设置值
  10262. type: number
  10263. marketid:
  10264. description: 市场ID
  10265. type: integer
  10266. marketmaxsub:
  10267. description: 市价最大偏移范围
  10268. type: number
  10269. marketname:
  10270. description: 市场名称
  10271. type: string
  10272. memberuserid:
  10273. description: 所属会员UserID
  10274. type: integer
  10275. openexchagechargevalue:
  10276. description: 建仓交易所手续费设置值
  10277. type: number
  10278. openfeealgorithm:
  10279. description: 建仓手续费收取方式 1:比率 2:固定
  10280. type: integer
  10281. openfreezecharge:
  10282. description: 开仓冻结手续费(先建后平操作,需要记录)
  10283. type: number
  10284. openmemberchargevalue:
  10285. description: 建仓会员手续费设置值
  10286. type: number
  10287. openqty:
  10288. description: 开仓数量(先建后平操作,需要记录)
  10289. type: integer
  10290. opentradeqty:
  10291. description: 开仓成交数量(先建后平操作,需要记录)
  10292. type: integer
  10293. openunfreezecharge:
  10294. description: 开仓解冻手续费(先建后平操作,需要记录)
  10295. type: number
  10296. operatetype:
  10297. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10298. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10299. 15:管理端协议转让
  10300. type: integer
  10301. operatorid:
  10302. description: 登录账号(LoginID)
  10303. type: integer
  10304. optiontype:
  10305. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10306. type: integer
  10307. orderid:
  10308. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10309. type: string
  10310. orderprice:
  10311. description: 委托价格
  10312. type: number
  10313. orderqty:
  10314. description: 委托数量
  10315. type: integer
  10316. ordersrc:
  10317. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10318. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10319. type: integer
  10320. orderstatus:
  10321. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10322. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10323. 16:成交失败违约(荷兰式竞拍专用)
  10324. type: integer
  10325. ordertime:
  10326. description: 委托时间
  10327. type: string
  10328. preexerciseprice:
  10329. description: 预申报价格
  10330. type: number
  10331. premium:
  10332. description: 权利金
  10333. type: number
  10334. preorderid:
  10335. description: 关联预埋单号(止盈止损单时填写)
  10336. type: string
  10337. pricemode:
  10338. description: '取价方式 - 1:市价 2: 限价'
  10339. type: integer
  10340. quoteid:
  10341. description: 报价单ID
  10342. type: integer
  10343. relatedid:
  10344. description: 关联单号(交割单)
  10345. type: string
  10346. retcode:
  10347. description: 错误代码
  10348. type: integer
  10349. sessionid:
  10350. description: 会话ID
  10351. type: integer
  10352. tradedate:
  10353. description: 交易日(yyyyMMdd)
  10354. type: string
  10355. trademode:
  10356. description: 交易模式
  10357. type: integer
  10358. tradeproperty:
  10359. description: 交易属性
  10360. type: integer
  10361. tradeqty:
  10362. description: 成交数量
  10363. type: integer
  10364. unfreezecharge:
  10365. description: 解冻手续费
  10366. type: number
  10367. unfreezemargin:
  10368. description: 解冻保证金
  10369. type: number
  10370. updatetime:
  10371. description: 更新时间
  10372. type: string
  10373. uuid:
  10374. description: 发起端唯一id
  10375. type: string
  10376. validtime:
  10377. description: 有效期限
  10378. type: string
  10379. validtype:
  10380. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10381. type: integer
  10382. volumetype:
  10383. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10384. type: integer
  10385. required:
  10386. - accountid
  10387. - buildtype
  10388. - buyorsell
  10389. - goodsid
  10390. - histradedate
  10391. - marketid
  10392. - memberuserid
  10393. - operatetype
  10394. - orderid
  10395. - orderqty
  10396. - ordertime
  10397. - pricemode
  10398. - tradedate
  10399. - validtype
  10400. type: object
  10401. order.QueryTradeDetailRsp:
  10402. properties:
  10403. accountid:
  10404. description: 账户ID[报价币种]
  10405. type: integer
  10406. buildtype:
  10407. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10408. type: integer
  10409. buyorsell:
  10410. description: 方向 - 0:买 1:卖
  10411. type: integer
  10412. charge:
  10413. description: 手续费
  10414. type: number
  10415. closecharge:
  10416. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10417. type: number
  10418. closeexchagechargevalue:
  10419. description: 平仓交易所手续费设置值
  10420. type: number
  10421. closefeealgorithm:
  10422. description: 平仓手续费收取方式 1:比率 2:固定
  10423. type: integer
  10424. closememberchargevalue:
  10425. description: 平仓会员手续费设置值
  10426. type: number
  10427. closepl:
  10428. description: 平仓盈亏
  10429. type: number
  10430. closepl2:
  10431. description: 平仓盈亏[逐笔]
  10432. type: number
  10433. closeqty:
  10434. description: 平仓数量(先建后平操作 需要记录)
  10435. type: integer
  10436. creditamount:
  10437. description: 授信金额
  10438. type: number
  10439. gcaccountid:
  10440. description: 账户ID[合约币种]
  10441. type: integer
  10442. goodscode:
  10443. description: 商品代码
  10444. type: string
  10445. goodsid:
  10446. description: 商品ID
  10447. type: integer
  10448. goodsname:
  10449. description: 商品名称
  10450. type: string
  10451. intclosepl:
  10452. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10453. type: integer
  10454. isconfirmexercise:
  10455. description: 是否确认行权- 0:否 1:是
  10456. type: integer
  10457. ismain:
  10458. description: 是否主单 - 0:不是 1:是
  10459. type: integer
  10460. ispreexercise:
  10461. description: 是否预申报- 0:否 1:是
  10462. type: integer
  10463. isreckoned:
  10464. description: 是否结算 - 0:未结算 1:已结算
  10465. type: integer
  10466. listingselecttype:
  10467. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10468. type: integer
  10469. marketid:
  10470. description: 市场ID
  10471. type: integer
  10472. marketname:
  10473. description: 市场名称
  10474. type: string
  10475. matchaccountid:
  10476. description: 对手账号id
  10477. type: integer
  10478. memberuserid:
  10479. description: 会员id 个人投资者 需要填写
  10480. type: integer
  10481. opencharge:
  10482. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10483. type: number
  10484. openexchagechargevalue:
  10485. description: 建仓交易所手续费设置值
  10486. type: number
  10487. openfeealgorithm:
  10488. description: 建仓手续费收取方式 1:比率 2:固定
  10489. type: integer
  10490. openmemberchargevalue:
  10491. description: 建仓会员手续费设置值
  10492. type: number
  10493. openqty:
  10494. description: 开仓数量(先建后平操作 需要记录)
  10495. type: integer
  10496. optiontype:
  10497. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10498. type: integer
  10499. orderid:
  10500. description: 委托单号
  10501. type: string
  10502. performanceplanid:
  10503. description: 履约计划ID[期权]
  10504. type: integer
  10505. performancestatus:
  10506. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10507. type: integer
  10508. preexerciseprice:
  10509. description: 预申报价格
  10510. type: number
  10511. premium:
  10512. description: 权利金 - [持仓单的权利金]
  10513. type: number
  10514. relatedouttradeid:
  10515. description: 关联外部成交单ID
  10516. type: integer
  10517. status:
  10518. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10519. type: integer
  10520. tradeamount:
  10521. description: 成交金额[账户币种,用于所有权]
  10522. type: number
  10523. tradedate:
  10524. description: 交易日(yyyyMMdd)
  10525. type: string
  10526. tradeid:
  10527. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10528. type: string
  10529. trademode:
  10530. description: 交易模式
  10531. type: integer
  10532. tradeprice:
  10533. description: 成交价格
  10534. type: number
  10535. tradeproperty:
  10536. description: 交易属性
  10537. type: integer
  10538. tradeqty:
  10539. description: 成交数量
  10540. type: integer
  10541. tradetime:
  10542. description: 成交时间
  10543. type: string
  10544. tradetype:
  10545. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10546. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10547. type: integer
  10548. required:
  10549. - accountid
  10550. - buyorsell
  10551. - goodsid
  10552. - marketid
  10553. - memberuserid
  10554. - orderid
  10555. - tradeamount
  10556. - tradedate
  10557. - tradeid
  10558. - tradeprice
  10559. - tradeqty
  10560. - tradetime
  10561. type: object
  10562. order.QueryTradeOrderDetailRsp:
  10563. properties:
  10564. accountid:
  10565. description: 账户ID[报价币种]
  10566. type: integer
  10567. buildtype:
  10568. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10569. type: integer
  10570. buyorsell:
  10571. description: 买卖 - 0:买 1:卖
  10572. type: integer
  10573. cancelorderid:
  10574. description: 撤单单号(撤单时填写)
  10575. type: string
  10576. cancelqty:
  10577. description: 撤单数量
  10578. type: integer
  10579. clienttype:
  10580. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10581. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10582. type: integer
  10583. closefreezecharge:
  10584. description: 平仓冻结手续费(先建后平操作,需要记录)
  10585. type: number
  10586. closeqty:
  10587. description: 平仓数量(先建后平操作 需要记录)
  10588. type: integer
  10589. closetradeqty:
  10590. description: 平仓成交数量(先建后平操作,需要记录)
  10591. type: integer
  10592. closeunfreezecharge:
  10593. description: 平仓解冻手续费(先建后平操作,需要记录)
  10594. type: number
  10595. delistingtype:
  10596. description: 摘牌类型 - 1:价格最优 2:点选成交
  10597. type: integer
  10598. enableqty:
  10599. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10600. type: integer
  10601. freezecharge:
  10602. description: 冻结手续费
  10603. type: number
  10604. freezemargin:
  10605. description: 冻结保证金(冻结交易金额)
  10606. type: number
  10607. goodscode:
  10608. description: 商品代码
  10609. type: string
  10610. goodsid:
  10611. description: 商品ID
  10612. type: integer
  10613. goodsname:
  10614. description: 商品名称
  10615. type: string
  10616. listingselecttype:
  10617. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10618. type: integer
  10619. marketid:
  10620. description: 市场ID
  10621. type: integer
  10622. marketname:
  10623. description: 市场名称
  10624. type: string
  10625. openfreezecharge:
  10626. description: 开仓冻结手续费(先建后平操作,需要记录)
  10627. type: number
  10628. openqty:
  10629. description: 开仓数量(先建后平操作,需要记录)
  10630. type: integer
  10631. opentradeqty:
  10632. description: 开仓成交数量(先建后平操作,需要记录)
  10633. type: integer
  10634. openunfreezecharge:
  10635. description: 开仓解冻手续费(先建后平操作,需要记录)
  10636. type: number
  10637. operatetype:
  10638. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10639. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10640. 15:管理端协议转让
  10641. type: integer
  10642. operatorid:
  10643. description: 登录账号(LoginID)
  10644. type: integer
  10645. orderid:
  10646. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10647. type: string
  10648. orderprice:
  10649. description: 委托价格
  10650. type: number
  10651. orderqty:
  10652. description: 委托数量
  10653. type: integer
  10654. ordersrc:
  10655. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10656. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10657. type: integer
  10658. orderstatus:
  10659. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10660. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10661. 16:成交失败违约(荷兰式竞拍专用)
  10662. type: integer
  10663. ordertime:
  10664. description: 委托时间
  10665. type: string
  10666. preorderid:
  10667. description: 关联预埋单号(止盈止损单时填写)
  10668. type: string
  10669. pricemode:
  10670. description: '取价方式 - 1:市价 2: 限价'
  10671. type: integer
  10672. relatedid:
  10673. description: 关联单号(交割单)
  10674. type: string
  10675. tradedate:
  10676. description: 交易日(yyyyMMdd)
  10677. type: string
  10678. trademode:
  10679. description: 交易模式
  10680. type: integer
  10681. tradeqty:
  10682. description: 成交数量
  10683. type: integer
  10684. unfreezecharge:
  10685. description: 解冻手续费
  10686. type: number
  10687. unfreezemargin:
  10688. description: 解冻保证金
  10689. type: number
  10690. validtime:
  10691. description: 有效期限
  10692. type: string
  10693. validtype:
  10694. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10695. type: integer
  10696. volumetype:
  10697. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10698. type: integer
  10699. required:
  10700. - accountid
  10701. - buildtype
  10702. - buyorsell
  10703. - goodsid
  10704. - marketid
  10705. - operatetype
  10706. - orderqty
  10707. - ordertime
  10708. - pricemode
  10709. - tradedate
  10710. - validtype
  10711. type: object
  10712. order.QueryTradePositionRsp:
  10713. properties:
  10714. accountid:
  10715. description: 资金账户
  10716. type: integer
  10717. agreeunit:
  10718. description: 合约单位
  10719. type: number
  10720. averageprice:
  10721. description: 持仓均价
  10722. type: number
  10723. buyorsell:
  10724. description: 方向 - 0:买 1:卖
  10725. type: integer
  10726. closetotalqty:
  10727. description: 平仓总数量
  10728. type: integer
  10729. curholderamount:
  10730. description: 当前持仓总金额[商品币种]
  10731. type: number
  10732. curpositionqty:
  10733. description: 当前持仓总数量
  10734. type: integer
  10735. currencyid:
  10736. description: 报价货币ID
  10737. type: integer
  10738. curtdposition:
  10739. description: 期末今日头寸
  10740. type: integer
  10741. decimalplace:
  10742. description: 报价小数位
  10743. type: integer
  10744. enableqty:
  10745. description: 可用量
  10746. type: integer
  10747. fretdposition:
  10748. description: 冻结今日头寸
  10749. type: integer
  10750. frozenqty:
  10751. description: 持仓冻结数量
  10752. type: integer
  10753. goodscode:
  10754. description: 商品代码
  10755. type: string
  10756. goodsid:
  10757. description: 商品Id
  10758. type: integer
  10759. goodsname:
  10760. description: 商品名称
  10761. type: string
  10762. goodunit:
  10763. description: 报价单位
  10764. type: string
  10765. goodunitid:
  10766. description: 报价单位ID
  10767. type: integer
  10768. holderamount:
  10769. description: 期初持仓总金额[商品币种]
  10770. type: number
  10771. marketid:
  10772. description: 所属市场ID
  10773. type: integer
  10774. openreqqty:
  10775. description: 开仓申请数量(用于比较最大持仓数量)
  10776. type: integer
  10777. opentotalqty:
  10778. description: 开仓总数量
  10779. type: integer
  10780. otherfrozenqty:
  10781. description: 持仓其他冻结数量(交割冻结)
  10782. type: integer
  10783. positionqty:
  10784. description: 期初持仓数量
  10785. type: integer
  10786. tnqty:
  10787. description: T+N冻结总量
  10788. type: integer
  10789. tnusedqty:
  10790. description: T+N使用量(可以使用T+N的冻结数量)
  10791. type: integer
  10792. trademode:
  10793. description: 交易模式
  10794. type: integer
  10795. usedmargin:
  10796. description: 占用保证金[商品币种]
  10797. type: number
  10798. required:
  10799. - goodsid
  10800. type: object
  10801. quote.HistoryData:
  10802. properties:
  10803. c:
  10804. description: 收盘价
  10805. type: number
  10806. f:
  10807. description: 是否补充数据
  10808. type: boolean
  10809. h:
  10810. description: 最高价
  10811. type: number
  10812. hv:
  10813. description: 持仓量
  10814. type: integer
  10815. l:
  10816. description: 最低价
  10817. type: number
  10818. o:
  10819. description: 开盘价
  10820. type: number
  10821. s:
  10822. description: 结算价,日线周期(包括)以上才有
  10823. type: number
  10824. ts:
  10825. description: 时间
  10826. type: string
  10827. tt:
  10828. description: 总金额
  10829. type: number
  10830. tv:
  10831. description: 总量
  10832. type: integer
  10833. type: object
  10834. quote.HistoryTikData:
  10835. properties:
  10836. AV:
  10837. description: 卖量
  10838. type: integer
  10839. Ask:
  10840. description: 卖价
  10841. type: number
  10842. BV:
  10843. description: 买量
  10844. type: integer
  10845. Bid:
  10846. description: 买价
  10847. type: number
  10848. HI:
  10849. description: 单笔持仓
  10850. type: integer
  10851. HV:
  10852. description: 持仓量
  10853. type: integer
  10854. PE:
  10855. description: 现价
  10856. type: number
  10857. TDR:
  10858. description: 交易方向,0:买 1:卖
  10859. type: integer
  10860. TK:
  10861. description: 交易类型
  10862. type: integer
  10863. TS:
  10864. description: 行情时间文本
  10865. type: string
  10866. TT:
  10867. description: 现金额
  10868. type: number
  10869. Vol:
  10870. description: 现量
  10871. type: integer
  10872. type: object
  10873. quote.QueryQuoteDayRsp:
  10874. properties:
  10875. ask:
  10876. description: 卖1
  10877. type: number
  10878. ask2:
  10879. description: 卖2
  10880. type: number
  10881. ask3:
  10882. description: 卖3
  10883. type: number
  10884. ask4:
  10885. description: 卖4
  10886. type: number
  10887. ask5:
  10888. description: 卖5
  10889. type: number
  10890. ask6:
  10891. description: 卖6
  10892. type: number
  10893. ask7:
  10894. description: 卖7
  10895. type: number
  10896. ask8:
  10897. description: 卖8
  10898. type: number
  10899. ask9:
  10900. description: 卖9
  10901. type: number
  10902. ask10:
  10903. description: 卖10
  10904. type: number
  10905. askorderid:
  10906. description: 卖单号1
  10907. type: integer
  10908. askorderid2:
  10909. description: 卖单号2
  10910. type: integer
  10911. askorderid3:
  10912. description: 卖单号3
  10913. type: integer
  10914. askorderid4:
  10915. description: 卖单号4
  10916. type: integer
  10917. askorderid5:
  10918. description: 卖单号5
  10919. type: integer
  10920. askordervolume:
  10921. description: 卖单量1
  10922. type: integer
  10923. askordervolume2:
  10924. description: 卖单量2
  10925. type: integer
  10926. askordervolume3:
  10927. description: 卖单量3
  10928. type: integer
  10929. askordervolume4:
  10930. description: 卖单量4
  10931. type: integer
  10932. askordervolume5:
  10933. description: 卖单量5
  10934. type: integer
  10935. askordervolume6:
  10936. description: 卖单量6
  10937. type: integer
  10938. askordervolume7:
  10939. description: 卖单量7
  10940. type: integer
  10941. askordervolume8:
  10942. description: 卖单量8
  10943. type: integer
  10944. askordervolume9:
  10945. description: 卖单量9
  10946. type: integer
  10947. askordervolume10:
  10948. description: 卖单量10
  10949. type: integer
  10950. askqueueinfo:
  10951. description: 大利市卖港股用
  10952. type: string
  10953. askvolume:
  10954. description: 卖量1
  10955. type: integer
  10956. askvolume2:
  10957. description: 卖量2
  10958. type: integer
  10959. askvolume3:
  10960. description: 卖量3
  10961. type: integer
  10962. askvolume4:
  10963. description: 卖量4
  10964. type: integer
  10965. askvolume5:
  10966. description: 卖量5
  10967. type: integer
  10968. askvolume6:
  10969. description: 卖量6
  10970. type: integer
  10971. askvolume7:
  10972. description: 卖量7
  10973. type: integer
  10974. askvolume8:
  10975. description: 卖量8
  10976. type: integer
  10977. askvolume9:
  10978. description: 卖量9
  10979. type: integer
  10980. askvolume10:
  10981. description: 卖量10
  10982. type: integer
  10983. averageprice:
  10984. description: 均价
  10985. type: number
  10986. bid:
  10987. description: 买1
  10988. type: number
  10989. bid2:
  10990. description: 买2
  10991. type: number
  10992. bid3:
  10993. description: 买3
  10994. type: number
  10995. bid4:
  10996. description: 买4
  10997. type: number
  10998. bid5:
  10999. description: 买5
  11000. type: number
  11001. bid6:
  11002. description: 买6
  11003. type: number
  11004. bid7:
  11005. description: 买7
  11006. type: number
  11007. bid8:
  11008. description: 买8
  11009. type: number
  11010. bid9:
  11011. description: 买9
  11012. type: number
  11013. bid10:
  11014. description: 买10
  11015. type: number
  11016. bidorderid:
  11017. description: 买单号1
  11018. type: integer
  11019. bidorderid2:
  11020. description: 买单号2
  11021. type: integer
  11022. bidorderid3:
  11023. description: 买单号3
  11024. type: integer
  11025. bidorderid4:
  11026. description: 买单号4
  11027. type: integer
  11028. bidorderid5:
  11029. description: 买单号5
  11030. type: integer
  11031. bidordervolume:
  11032. description: 买单量1
  11033. type: integer
  11034. bidordervolume2:
  11035. description: 买单量2
  11036. type: integer
  11037. bidordervolume3:
  11038. description: 买单量3
  11039. type: integer
  11040. bidordervolume4:
  11041. description: 买单量4
  11042. type: integer
  11043. bidordervolume5:
  11044. description: 买单量5
  11045. type: integer
  11046. bidordervolume6:
  11047. description: 买单量6
  11048. type: integer
  11049. bidordervolume7:
  11050. description: 买单量7
  11051. type: integer
  11052. bidordervolume8:
  11053. description: 买单量8
  11054. type: integer
  11055. bidordervolume9:
  11056. description: 买单量9
  11057. type: integer
  11058. bidordervolume10:
  11059. description: 买单量10
  11060. type: integer
  11061. bidqueueinfo:
  11062. description: 大利市买港股用
  11063. type: string
  11064. bidvolume:
  11065. description: 买量1
  11066. type: integer
  11067. bidvolume2:
  11068. description: 买量2
  11069. type: integer
  11070. bidvolume3:
  11071. description: 买量3
  11072. type: integer
  11073. bidvolume4:
  11074. description: 买量4
  11075. type: integer
  11076. bidvolume5:
  11077. description: 买量5
  11078. type: integer
  11079. bidvolume6:
  11080. description: 买量6
  11081. type: integer
  11082. bidvolume7:
  11083. description: 买量7
  11084. type: integer
  11085. bidvolume8:
  11086. description: 买量8
  11087. type: integer
  11088. bidvolume9:
  11089. description: 买量9
  11090. type: integer
  11091. bidvolume10:
  11092. description: 买量10
  11093. type: integer
  11094. calloptionpremiums:
  11095. description: 认购期权1
  11096. type: integer
  11097. calloptionpremiums2:
  11098. description: 认购期权2
  11099. type: integer
  11100. calloptionpremiums3:
  11101. description: 认购期权3
  11102. type: integer
  11103. calloptionpremiums4:
  11104. description: 认购期权4
  11105. type: integer
  11106. calloptionpremiums5:
  11107. description: 认购期权5
  11108. type: integer
  11109. cleartime:
  11110. description: 清盘时间
  11111. type: integer
  11112. exchangecode:
  11113. description: 交易所代码
  11114. type: integer
  11115. exchangedate:
  11116. description: 交易日
  11117. type: integer
  11118. goodscode:
  11119. description: 商品代码
  11120. type: string
  11121. grepmarketprice:
  11122. description: 暗盘价 港股专用
  11123. type: number
  11124. highest:
  11125. description: 最高价
  11126. type: number
  11127. holdincrement:
  11128. description: 单笔持仓
  11129. type: integer
  11130. holdvolume:
  11131. description: 持仓
  11132. type: integer
  11133. iep:
  11134. description: 平衡价 港股专用
  11135. type: number
  11136. iev:
  11137. description: 平衡量 港股专用
  11138. type: number
  11139. inventory:
  11140. description: 库存
  11141. type: integer
  11142. iscleared:
  11143. description: 是否清盘标志
  11144. type: integer
  11145. issettled:
  11146. description: 是否结算标志
  11147. type: integer
  11148. last:
  11149. description: 最新价
  11150. type: number
  11151. lastlot:
  11152. description: 最新成交手数
  11153. type: integer
  11154. lasttime:
  11155. description: 行情时间(只有现价变化行情时间才变化)
  11156. type: string
  11157. lastturnover:
  11158. description: 最新成交金额
  11159. type: number
  11160. lastvolume:
  11161. description: 最新成交量
  11162. type: integer
  11163. limitdown:
  11164. description: 跌停价
  11165. type: number
  11166. limitup:
  11167. description: 涨停价
  11168. type: number
  11169. lowest:
  11170. description: 最低价
  11171. type: number
  11172. nontotalholdervolume:
  11173. description: 非交易持仓量
  11174. type: integer
  11175. nontotallot:
  11176. description: 非交易总手数
  11177. type: integer
  11178. nontotalturnover:
  11179. description: 非交易总金额
  11180. type: integer
  11181. nontotalvolume:
  11182. description: 非交易总量
  11183. type: integer
  11184. opened:
  11185. description: 开盘价
  11186. type: number
  11187. opentime:
  11188. description: 开盘时间
  11189. type: string
  11190. orderid:
  11191. description: 序号
  11192. type: integer
  11193. preclose:
  11194. description: 昨收
  11195. type: number
  11196. preholdvolume:
  11197. description: 昨持仓
  11198. type: integer
  11199. presettle:
  11200. description: 昨结价
  11201. type: number
  11202. publictradetype:
  11203. description: 公共交易标志类型 港股专用
  11204. type: string
  11205. putoptionpremiums:
  11206. description: 认沽期权1
  11207. type: integer
  11208. putoptionpremiums2:
  11209. description: 认沽期权2
  11210. type: integer
  11211. putoptionpremiums3:
  11212. description: 认沽期权3
  11213. type: integer
  11214. putoptionpremiums4:
  11215. description: 认沽期权4
  11216. type: integer
  11217. putoptionpremiums5:
  11218. description: 认沽期权5
  11219. type: integer
  11220. settle:
  11221. description: 结算价
  11222. type: number
  11223. strikeprice:
  11224. description: 发行价
  11225. type: number
  11226. totalaskvolume:
  11227. description: 内盘
  11228. type: integer
  11229. totalbidvolume:
  11230. description: 外盘
  11231. type: integer
  11232. totallot:
  11233. description: 总手数
  11234. type: integer
  11235. totalturnover:
  11236. description: 总金额
  11237. type: number
  11238. totalvolume:
  11239. description: 总量
  11240. type: integer
  11241. utclasttime:
  11242. description: utc的行情时间
  11243. type: string
  11244. type: object
  11245. quote.QueryTSDataRsp:
  11246. properties:
  11247. Count:
  11248. description: 交易日应有数据个数
  11249. type: integer
  11250. decimalPlace:
  11251. description: 小数位
  11252. type: integer
  11253. endTime:
  11254. description: 结束时间
  11255. type: string
  11256. goodsCode:
  11257. description: 商品代码
  11258. type: string
  11259. historyDatas:
  11260. description: 历史数据
  11261. items:
  11262. $ref: '#/definitions/quote.HistoryData'
  11263. type: array
  11264. outGoodsCode:
  11265. description: 外部商品代码
  11266. type: string
  11267. preSettle:
  11268. description: 昨结价
  11269. type: number
  11270. runSteps:
  11271. description: 交易日开休市计划
  11272. items:
  11273. $ref: '#/definitions/quote.TSDataRunStep'
  11274. type: array
  11275. startTime:
  11276. description: 开始时间
  11277. type: string
  11278. tradeDate:
  11279. description: 交易日
  11280. type: string
  11281. type: object
  11282. quote.TSDataRunStep:
  11283. properties:
  11284. end:
  11285. description: 真实结束时间
  11286. type: string
  11287. endflag:
  11288. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11289. type: integer
  11290. endtime:
  11291. description: 结束时间(HH:mm)
  11292. type: string
  11293. endweekday:
  11294. description: 结束周几
  11295. type: integer
  11296. groupid:
  11297. description: 分组ID
  11298. type: integer
  11299. runstep:
  11300. description: 运行阶段 - 2:连续交易
  11301. type: integer
  11302. sectionid:
  11303. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11304. 结束时间=结算时间 结束周几=结算周几
  11305. type: integer
  11306. start:
  11307. description: 真实开始时间
  11308. type: string
  11309. startflag:
  11310. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11311. type: integer
  11312. starttime:
  11313. description: 起始时间(HH:mm)
  11314. type: string
  11315. startweekday:
  11316. description: 起始周几
  11317. type: integer
  11318. tradeweekday:
  11319. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11320. type: integer
  11321. type: object
  11322. szdz.QueryConvertLogRsp:
  11323. properties:
  11324. accountid:
  11325. description: 资金账户ID
  11326. type: integer
  11327. clientticket:
  11328. description: 客户端流水号
  11329. type: string
  11330. converttype:
  11331. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11332. type: integer
  11333. createtime:
  11334. description: 记账时间
  11335. type: string
  11336. daymaxvalue:
  11337. description: 配置当日最大转入限制
  11338. type: number
  11339. daymaxvalue2:
  11340. description: 配置当日最大转入限制(转入)
  11341. type: number
  11342. goodscode:
  11343. description: 商品代码
  11344. type: string
  11345. goodsname:
  11346. description: 商品名称
  11347. type: string
  11348. handlestatus:
  11349. description: 处理状态
  11350. type: integer
  11351. innergoodsid:
  11352. description: 内部商品ID
  11353. type: integer
  11354. inratio:
  11355. description: 配置转入比值
  11356. type: integer
  11357. invalue:
  11358. description: 目标值
  11359. type: number
  11360. logid:
  11361. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11362. type: integer
  11363. mobile:
  11364. description: 手机号码(加密存储)
  11365. type: string
  11366. outergoodscode:
  11367. description: 外部商品代码[JD\PD]
  11368. type: string
  11369. outratio:
  11370. description: 配置转出比值
  11371. type: integer
  11372. outvalue:
  11373. description: 源值
  11374. type: number
  11375. pddecimalplace:
  11376. description: PD小数位
  11377. type: integer
  11378. qty:
  11379. description: 数量
  11380. type: string
  11381. remark:
  11382. description: 备注
  11383. type: string
  11384. sessionid:
  11385. description: 会话ID
  11386. type: integer
  11387. timemaxvalue:
  11388. description: 配置单次最大转入限制
  11389. type: number
  11390. timemaxvalue2:
  11391. description: 配置单次最大转入限制(转入)
  11392. type: number
  11393. timeminvalue:
  11394. description: 配置单次最小数量限制
  11395. type: number
  11396. timeminvalue2:
  11397. description: 配置单次最小数量限制(转入)
  11398. type: number
  11399. tradedate:
  11400. description: 交易日(yyyyMMdd)
  11401. type: string
  11402. userid:
  11403. description: 用户ID
  11404. type: integer
  11405. required:
  11406. - logid
  11407. type: object
  11408. szdz.QueryGoodsPickupRsp:
  11409. properties:
  11410. accountid:
  11411. description: 账户ID
  11412. type: integer
  11413. address:
  11414. description: 提货人详细地址
  11415. type: string
  11416. auditer:
  11417. description: 审核人
  11418. type: integer
  11419. audittime:
  11420. description: 审核时间
  11421. type: string
  11422. cardnum:
  11423. description: 提货人证件号码
  11424. type: string
  11425. cardtypeid:
  11426. description: 提货人证件类型
  11427. type: integer
  11428. checkremark:
  11429. description: 审核备注
  11430. type: string
  11431. goodscode:
  11432. description: 商品代码
  11433. type: string
  11434. goodsid:
  11435. description: 商品ID
  11436. type: integer
  11437. goodsname:
  11438. description: 商品名称
  11439. type: string
  11440. handlestatus:
  11441. description: 处理状态
  11442. type: integer
  11443. marketid:
  11444. description: 市场ID
  11445. type: integer
  11446. phonenum:
  11447. description: 提货人联系方式
  11448. type: string
  11449. qty:
  11450. description: 提货数量
  11451. type: number
  11452. recivername:
  11453. description: 提货人姓名
  11454. type: string
  11455. reqtime:
  11456. description: 更新时间
  11457. type: string
  11458. takemode:
  11459. description: 提货方式 - 2:自提 3:配送
  11460. type: integer
  11461. takeorderid:
  11462. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11463. type: string
  11464. takeorderstatus:
  11465. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11466. type: integer
  11467. takeremark:
  11468. description: 提货备注
  11469. type: string
  11470. tradedate:
  11471. description: 交易日(yyyyMMdd)
  11472. type: string
  11473. userid:
  11474. description: 用户ID
  11475. type: integer
  11476. required:
  11477. - takeorderid
  11478. type: object
  11479. szdz.QueryRecieptOrderRsp:
  11480. properties:
  11481. accountName:
  11482. description: 所属账号名称(已脱敏)
  11483. type: string
  11484. accountid:
  11485. description: 资金账号
  11486. type: integer
  11487. buyorsell:
  11488. description: 方向 - 0:买 1:卖
  11489. type: integer
  11490. enableqty:
  11491. description: 可摘数量
  11492. type: integer
  11493. goodscode:
  11494. description: 商品代码
  11495. type: string
  11496. goodsid:
  11497. description: 商品ID
  11498. type: integer
  11499. goodsname:
  11500. description: 商品名称
  11501. type: string
  11502. orderid:
  11503. description: 委托单号
  11504. type: string
  11505. orderprice:
  11506. description: 委托价格
  11507. type: number
  11508. ordertime:
  11509. description: 委托时间
  11510. type: string
  11511. tradedate:
  11512. description: 交易日(yyyyMMdd)
  11513. type: string
  11514. required:
  11515. - ordertime
  11516. type: object
  11517. szdz.QuerySZDZTradePositionRsp:
  11518. properties:
  11519. accountid:
  11520. description: 账号Id
  11521. type: integer
  11522. agreeunit:
  11523. description: 合约单位
  11524. type: number
  11525. averageprice:
  11526. description: 持仓均价
  11527. type: number
  11528. buyorsell:
  11529. description: 方向 - 0:买 1:卖
  11530. type: integer
  11531. closetotalqty:
  11532. description: 平仓总数量
  11533. type: integer
  11534. curholderamount:
  11535. description: 当前持仓总金额
  11536. type: number
  11537. curpositionqty:
  11538. description: 当前持仓总数量
  11539. type: integer
  11540. currencyid:
  11541. description: 报价货币ID
  11542. type: integer
  11543. curtdposition:
  11544. description: 期末今日头寸
  11545. type: integer
  11546. decimalplace:
  11547. description: 报价小数位
  11548. type: integer
  11549. enableqty:
  11550. description: 可用量
  11551. type: integer
  11552. fretdposition:
  11553. description: 冻结今日头寸
  11554. type: integer
  11555. frozenqty:
  11556. description: 持仓冻结数量
  11557. type: integer
  11558. goodscode:
  11559. description: 商品代码(内部)
  11560. type: string
  11561. goodsid:
  11562. description: 商品Id
  11563. type: integer
  11564. goodsname:
  11565. description: 商品名称
  11566. type: string
  11567. goodunit:
  11568. description: 报价单位
  11569. type: string
  11570. goodunitid:
  11571. description: 报价单位ID
  11572. type: integer
  11573. holderamount:
  11574. description: 期初持仓总金额
  11575. type: number
  11576. marketid:
  11577. description: 市场ID
  11578. type: integer
  11579. openreqqty:
  11580. description: 开仓申请数量
  11581. type: integer
  11582. opentotalqty:
  11583. description: 开仓总数量
  11584. type: integer
  11585. otherfrozenqty:
  11586. description: 持仓其他冻结数量(交割冻结)
  11587. type: integer
  11588. positionqty:
  11589. description: 期初持仓数量
  11590. type: integer
  11591. szdz3freezqty:
  11592. description: 尚志大宗转换冻结总数量
  11593. type: integer
  11594. tnqty:
  11595. description: T+N冻结总量
  11596. type: integer
  11597. tnusedqty:
  11598. description: T+N使用量
  11599. type: integer
  11600. trademode:
  11601. description: 交易模式
  11602. type: integer
  11603. usedmargin:
  11604. description: 占用保证金
  11605. type: number
  11606. type: object
  11607. taaccount.QueryAmountLogRsp:
  11608. properties:
  11609. OPERATETYPENAME:
  11610. description: 资金操作类型名称
  11611. type: string
  11612. accountid:
  11613. description: 资金账户ID
  11614. type: integer
  11615. agoodscode:
  11616. description: 竞拍商品代码
  11617. type: string
  11618. agoodsname:
  11619. description: 竞拍商品名称
  11620. type: string
  11621. amount:
  11622. description: 资金金额
  11623. type: number
  11624. amountadjusttype:
  11625. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11626. type: integer
  11627. autoid:
  11628. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11629. type: integer
  11630. balance:
  11631. description: 期初余额
  11632. type: number
  11633. businesscode:
  11634. description: 业务编号
  11635. type: integer
  11636. createtime:
  11637. description: 发生时间
  11638. type: string
  11639. currencyid:
  11640. description: 币种ID
  11641. type: integer
  11642. currentbalance:
  11643. description: 期末余额(变动后金额)
  11644. type: number
  11645. dgoodscode:
  11646. description: 交割商品代码
  11647. type: string
  11648. dgoodsname:
  11649. description: 交割商品名称
  11650. type: string
  11651. goodscode:
  11652. description: 商品代码
  11653. type: string
  11654. goodsid:
  11655. description: 商品ID
  11656. type: integer
  11657. goodsname:
  11658. description: 商品名称
  11659. type: string
  11660. marketid:
  11661. description: 市场ID
  11662. type: integer
  11663. marketname:
  11664. description: 市场名称
  11665. type: string
  11666. moneyticket:
  11667. description: 资金流水号:银行端流水号
  11668. type: integer
  11669. operatetype:
  11670. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11671. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11672. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11673. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11674. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11675. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11676. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11677. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11678. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11679. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11680. type: integer
  11681. relationorderid:
  11682. description: 关联单号
  11683. type: string
  11684. remark:
  11685. description: 备注
  11686. type: string
  11687. trademode:
  11688. description: 交易模式
  11689. type: integer
  11690. required:
  11691. - accountid
  11692. - amount
  11693. - amountadjusttype
  11694. - autoid
  11695. - balance
  11696. - createtime
  11697. - currentbalance
  11698. - operatetype
  11699. type: object
  11700. taaccount.QueryHisAmountLogRsp:
  11701. properties:
  11702. OPERATETYPENAME:
  11703. description: 资金操作类型名称
  11704. type: string
  11705. accountid:
  11706. description: 资金账户ID
  11707. type: integer
  11708. agoodscode:
  11709. description: 竞拍商品代码
  11710. type: string
  11711. agoodsname:
  11712. description: 竞拍商品名称
  11713. type: string
  11714. amount:
  11715. description: 资金金额
  11716. type: number
  11717. amountadjusttype:
  11718. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11719. type: integer
  11720. autoid:
  11721. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11722. type: integer
  11723. balance:
  11724. description: 期初余额
  11725. type: number
  11726. businesscode:
  11727. description: 业务编号
  11728. type: integer
  11729. createtime:
  11730. description: 发生时间
  11731. type: string
  11732. currencyid:
  11733. description: 币种ID
  11734. type: integer
  11735. currentbalance:
  11736. description: 期末余额(变动后金额)
  11737. type: number
  11738. dgoodscode:
  11739. description: 交割商品代码
  11740. type: string
  11741. dgoodsname:
  11742. description: 交割商品名称
  11743. type: string
  11744. goodscode:
  11745. description: 商品代码
  11746. type: string
  11747. goodsid:
  11748. description: 商品ID
  11749. type: integer
  11750. goodsname:
  11751. description: 商品名称
  11752. type: string
  11753. histradedate:
  11754. description: 历史交易日
  11755. type: string
  11756. isvaliddata:
  11757. description: 是否有效 - 0:无效 1:有效
  11758. type: integer
  11759. marketid:
  11760. description: 市场ID
  11761. type: integer
  11762. marketname:
  11763. description: 市场名称
  11764. type: string
  11765. moneyticket:
  11766. description: 资金流水号:银行端流水号
  11767. type: integer
  11768. operatetype:
  11769. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11770. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11771. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11772. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11773. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11774. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11775. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11776. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11777. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11778. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11779. type: integer
  11780. relationorderid:
  11781. description: 关联单号
  11782. type: string
  11783. remark:
  11784. description: 备注
  11785. type: string
  11786. trademode:
  11787. description: 交易模式
  11788. type: integer
  11789. required:
  11790. - accountid
  11791. - amount
  11792. - amountadjusttype
  11793. - autoid
  11794. - balance
  11795. - createtime
  11796. - currentbalance
  11797. - histradedate
  11798. - operatetype
  11799. type: object
  11800. trade.QueryRecieptOrderRsp:
  11801. properties:
  11802. accountName:
  11803. description: 所属账号名称(已脱敏)
  11804. type: string
  11805. accountid:
  11806. description: 资金账号
  11807. type: integer
  11808. buyorsell:
  11809. description: 方向 - 0:买 1:卖
  11810. type: integer
  11811. enableqty:
  11812. description: 可摘数量
  11813. type: integer
  11814. goodscode:
  11815. description: 商品代码
  11816. type: string
  11817. goodsid:
  11818. description: 商品ID
  11819. type: integer
  11820. goodsname:
  11821. description: 商品名称
  11822. type: string
  11823. orderid:
  11824. description: 委托单号
  11825. type: string
  11826. orderprice:
  11827. description: 委托价格
  11828. type: number
  11829. ordertime:
  11830. description: 委托时间
  11831. type: string
  11832. tradedate:
  11833. description: 交易日(yyyyMMdd)
  11834. type: string
  11835. required:
  11836. - ordertime
  11837. type: object
  11838. user.LoginQueryRsp:
  11839. properties:
  11840. externalExchanges:
  11841. description: 外部交易所
  11842. items:
  11843. $ref: '#/definitions/models.Externalexchange'
  11844. type: array
  11845. goodsgroups:
  11846. description: 商品组
  11847. items:
  11848. $ref: '#/definitions/models.Goodsgroup'
  11849. type: array
  11850. loginAccount:
  11851. $ref: '#/definitions/models.Loginaccount'
  11852. description: 登录账号
  11853. markets:
  11854. description: 市场
  11855. items:
  11856. $ref: '#/definitions/models.Market'
  11857. type: array
  11858. systemParams:
  11859. description: 系统参数
  11860. items:
  11861. $ref: '#/definitions/models.Systemparam'
  11862. type: array
  11863. userAccount:
  11864. $ref: '#/definitions/models.Useraccount'
  11865. description: 用户账号
  11866. userInfo:
  11867. $ref: '#/definitions/models.Userinfo'
  11868. description: 用户信息
  11869. username:
  11870. description: 用户姓名
  11871. type: string
  11872. type: object
  11873. info:
  11874. contact: {}
  11875. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11876. termsOfService: http://muchinfo.cn
  11877. title: MTP2.0 查询服务 API
  11878. version: "1.0"
  11879. paths:
  11880. /CPTrade/QueryCPTradeMyBidInfos:
  11881. get:
  11882. parameters:
  11883. - description: 资金账户
  11884. in: query
  11885. name: accountid
  11886. required: true
  11887. type: integer
  11888. - description: 预售市场ID
  11889. in: query
  11890. name: marketid
  11891. type: integer
  11892. - description: 预售商品ID
  11893. in: query
  11894. name: goodsid
  11895. type: integer
  11896. produces:
  11897. - application/json
  11898. responses:
  11899. "200":
  11900. description: OK
  11901. schema:
  11902. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11903. "500":
  11904. description: Internal Server Error
  11905. schema:
  11906. $ref: '#/definitions/app.Response'
  11907. security:
  11908. - ApiKeyAuth: []
  11909. summary: 查询产能预售我的出价信息
  11910. tags:
  11911. - 产能预售
  11912. /CPTrade/QueryCPTradeOrderDetail:
  11913. get:
  11914. parameters:
  11915. - description: 预售商品ID
  11916. in: query
  11917. name: goodsid
  11918. type: integer
  11919. - description: 预售市场ID
  11920. in: query
  11921. name: marketid
  11922. type: integer
  11923. - description: 预售商品ID列表 - 格式:1,2,3
  11924. in: query
  11925. name: goodsids
  11926. type: string
  11927. produces:
  11928. - application/json
  11929. responses:
  11930. "200":
  11931. description: OK
  11932. schema:
  11933. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11934. "500":
  11935. description: Internal Server Error
  11936. schema:
  11937. $ref: '#/definitions/app.Response'
  11938. security:
  11939. - ApiKeyAuth: []
  11940. summary: 查询产能预售委托单信息
  11941. tags:
  11942. - 产能预售
  11943. /CPTrade/QueryMyCPTradeGoods:
  11944. get:
  11945. parameters:
  11946. - description: 资金账户
  11947. in: query
  11948. name: accountid
  11949. required: true
  11950. type: integer
  11951. produces:
  11952. - application/json
  11953. responses:
  11954. "200":
  11955. description: OK
  11956. schema:
  11957. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11958. "500":
  11959. description: Internal Server Error
  11960. schema:
  11961. $ref: '#/definitions/app.Response'
  11962. security:
  11963. - ApiKeyAuth: []
  11964. summary: 查询我的预售信息
  11965. tags:
  11966. - 产能预售
  11967. /CPTrade/QueryPositionCancel:
  11968. get:
  11969. parameters:
  11970. - description: 账户ID
  11971. in: query
  11972. name: userid
  11973. required: true
  11974. type: integer
  11975. - description: 注销ID
  11976. in: query
  11977. name: cancelid
  11978. type: integer
  11979. - description: 资金账户ID
  11980. in: query
  11981. name: accountid
  11982. type: integer
  11983. produces:
  11984. - application/json
  11985. responses:
  11986. "200":
  11987. description: OK
  11988. schema:
  11989. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11990. "500":
  11991. description: Internal Server Error
  11992. schema:
  11993. $ref: '#/definitions/app.Response'
  11994. security:
  11995. - ApiKeyAuth: []
  11996. summary: 查询远期订单注销申请信息
  11997. tags:
  11998. - 产能预售
  11999. /CPTrade/QueryPreasleApply:
  12000. get:
  12001. parameters:
  12002. - description: 账户ID
  12003. in: query
  12004. name: userid
  12005. required: true
  12006. type: integer
  12007. - description: 申请ID
  12008. in: query
  12009. name: applyid
  12010. type: integer
  12011. - description: 资金账户ID
  12012. in: query
  12013. name: accountid
  12014. type: integer
  12015. produces:
  12016. - application/json
  12017. responses:
  12018. "200":
  12019. description: OK
  12020. schema:
  12021. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12022. "500":
  12023. description: Internal Server Error
  12024. schema:
  12025. $ref: '#/definitions/app.Response'
  12026. security:
  12027. - ApiKeyAuth: []
  12028. summary: 查询产能预售申请信息
  12029. tags:
  12030. - 产能预售
  12031. /CPTrade/QueryPresaleGoodsEx:
  12032. get:
  12033. parameters:
  12034. - description: 预售商品ID
  12035. in: query
  12036. name: goodsid
  12037. type: integer
  12038. - description: 预售市场ID
  12039. in: query
  12040. name: marketid
  12041. type: integer
  12042. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12043. in: query
  12044. name: presalemode
  12045. type: integer
  12046. - description: 预售商品ID列表 - 格式:1,2,3
  12047. in: query
  12048. name: goodsids
  12049. type: string
  12050. - description: 预售商品代码
  12051. in: query
  12052. name: goodscode
  12053. type: string
  12054. produces:
  12055. - application/json
  12056. responses:
  12057. "200":
  12058. description: OK
  12059. schema:
  12060. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12061. "500":
  12062. description: Internal Server Error
  12063. schema:
  12064. $ref: '#/definitions/app.Response'
  12065. security:
  12066. - ApiKeyAuth: []
  12067. summary: 查询产能预售商品扩展信息
  12068. tags:
  12069. - 产能预售
  12070. /CPTrade/QueryUserGoodsData:
  12071. get:
  12072. parameters:
  12073. - description: 资金账户ID
  12074. in: query
  12075. name: accountid
  12076. required: true
  12077. type: integer
  12078. produces:
  12079. - application/json
  12080. responses:
  12081. "200":
  12082. description: OK
  12083. schema:
  12084. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12085. "500":
  12086. description: Internal Server Error
  12087. schema:
  12088. $ref: '#/definitions/app.Response'
  12089. security:
  12090. - ApiKeyAuth: []
  12091. summary: 查询远期订单信息
  12092. tags:
  12093. - 产能预售
  12094. /Common/GetAllEnums:
  12095. get:
  12096. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12097. parameters:
  12098. - description: 起始自增ID
  12099. in: query
  12100. name: autoid
  12101. type: integer
  12102. produces:
  12103. - application/json
  12104. responses:
  12105. "200":
  12106. description: OK
  12107. schema:
  12108. $ref: '#/definitions/models.Enumdicitem'
  12109. "500":
  12110. description: Internal Server Error
  12111. schema:
  12112. $ref: '#/definitions/app.Response'
  12113. summary: 获取所有枚举信息
  12114. tags:
  12115. - 通用服务
  12116. /Common/GetClientMenus:
  12117. get:
  12118. parameters:
  12119. - description: 登录账号
  12120. in: query
  12121. name: loginID
  12122. required: true
  12123. type: integer
  12124. - description: 终端类型,0:PC 1:Mobile
  12125. in: query
  12126. name: clientType
  12127. type: integer
  12128. produces:
  12129. - application/json
  12130. responses:
  12131. "200":
  12132. description: OK
  12133. schema:
  12134. items:
  12135. $ref: '#/definitions/common.ClientMenu'
  12136. type: array
  12137. "500":
  12138. description: Internal Server Error
  12139. schema:
  12140. $ref: '#/definitions/app.Response'
  12141. security:
  12142. - ApiKeyAuth: []
  12143. summary: 获取交易端菜单
  12144. tags:
  12145. - 通用服务
  12146. /Common/GetDivisions:
  12147. get:
  12148. produces:
  12149. - application/json
  12150. responses:
  12151. "200":
  12152. description: OK
  12153. schema:
  12154. $ref: '#/definitions/models.Division'
  12155. "500":
  12156. description: Internal Server Error
  12157. schema:
  12158. $ref: '#/definitions/app.Response'
  12159. summary: 查询区域信息
  12160. tags:
  12161. - 通用服务
  12162. /Common/GetServerTime:
  12163. get:
  12164. produces:
  12165. - application/json
  12166. responses:
  12167. "200":
  12168. description: OK
  12169. schema:
  12170. $ref: '#/definitions/app.Response'
  12171. "500":
  12172. description: Internal Server Error
  12173. schema:
  12174. $ref: '#/definitions/app.Response'
  12175. summary: 获取服务器时间
  12176. tags:
  12177. - 通用服务
  12178. /Common/NoticeReaded:
  12179. post:
  12180. parameters:
  12181. - description: 登录账号
  12182. in: query
  12183. name: loginID
  12184. required: true
  12185. type: integer
  12186. - description: 通知公告ID
  12187. in: query
  12188. name: noticeID
  12189. required: true
  12190. type: integer
  12191. produces:
  12192. - application/json
  12193. responses:
  12194. "200":
  12195. description: OK
  12196. schema:
  12197. $ref: '#/definitions/app.Response'
  12198. "500":
  12199. description: Internal Server Error
  12200. schema:
  12201. $ref: '#/definitions/app.Response'
  12202. security:
  12203. - ApiKeyAuth: []
  12204. summary: 通知公告设置已读请求
  12205. tags:
  12206. - 通用服务
  12207. /Common/QueryErrorInfos:
  12208. get:
  12209. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12210. parameters:
  12211. - description: 起始行号前索引
  12212. in: query
  12213. name: rowNumber
  12214. type: string
  12215. produces:
  12216. - application/json
  12217. responses:
  12218. "200":
  12219. description: OK
  12220. schema:
  12221. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12222. "500":
  12223. description: Internal Server Error
  12224. schema:
  12225. $ref: '#/definitions/app.Response'
  12226. summary: 获取数据库错误信息
  12227. tags:
  12228. - 通用服务
  12229. /Common/QueryImageConfigs:
  12230. get:
  12231. parameters:
  12232. - description: 类型 - 1:App首页轮播 2:我的
  12233. in: query
  12234. name: imageType
  12235. type: integer
  12236. produces:
  12237. - application/json
  12238. responses:
  12239. "200":
  12240. description: OK
  12241. schema:
  12242. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12243. "500":
  12244. description: Internal Server Error
  12245. schema:
  12246. $ref: '#/definitions/app.Response'
  12247. summary: 查询轮播图配置信息
  12248. tags:
  12249. - 通用服务
  12250. /Common/QueryNotice:
  12251. get:
  12252. parameters:
  12253. - description: 页码
  12254. in: query
  12255. name: page
  12256. type: integer
  12257. - description: 每页条数
  12258. in: query
  12259. name: pagesize
  12260. type: integer
  12261. - description: 登录账号
  12262. in: query
  12263. name: loginID
  12264. required: true
  12265. type: integer
  12266. - description: 消息类型 - 1:公告通知 2:系统消息
  12267. in: query
  12268. name: msgType
  12269. type: integer
  12270. - description: 是否只获取未读信息
  12271. in: query
  12272. name: onlyUnRead
  12273. type: boolean
  12274. - description: 自增ID,传入后会返回这个ID后面的记录
  12275. in: query
  12276. name: lastID
  12277. type: integer
  12278. produces:
  12279. - application/json
  12280. responses:
  12281. "200":
  12282. description: OK
  12283. schema:
  12284. $ref: '#/definitions/common.QueryNoticeRsp'
  12285. "500":
  12286. description: Internal Server Error
  12287. schema:
  12288. $ref: '#/definitions/app.Response'
  12289. security:
  12290. - ApiKeyAuth: []
  12291. summary: 通知公告系统消息查询
  12292. tags:
  12293. - 通用服务
  12294. /Common/QueryProvincesAndCities:
  12295. get:
  12296. parameters:
  12297. - description: 省ID
  12298. in: query
  12299. name: provinceID
  12300. type: integer
  12301. produces:
  12302. - application/json
  12303. responses:
  12304. "200":
  12305. description: OK
  12306. schema:
  12307. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12308. "500":
  12309. description: Internal Server Error
  12310. schema:
  12311. $ref: '#/definitions/app.Response'
  12312. summary: 查询省市信息(不包括区)
  12313. tags:
  12314. - 通用服务
  12315. /Common/QueryTableDefine:
  12316. get:
  12317. parameters:
  12318. - description: 表key
  12319. in: query
  12320. name: tableKey
  12321. type: string
  12322. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12323. in: query
  12324. name: tableType
  12325. type: integer
  12326. produces:
  12327. - application/json
  12328. responses:
  12329. "200":
  12330. description: OK
  12331. schema:
  12332. $ref: '#/definitions/common.QueryTableDefineRsp'
  12333. "500":
  12334. description: Internal Server Error
  12335. schema:
  12336. $ref: '#/definitions/app.Response'
  12337. summary: 查询交易端列表头信息
  12338. tags:
  12339. - 通用服务
  12340. /Common/QueryTraderMenu:
  12341. get:
  12342. parameters:
  12343. - description: 登录账号
  12344. in: query
  12345. name: loginid
  12346. required: true
  12347. type: integer
  12348. produces:
  12349. - application/json
  12350. responses:
  12351. "200":
  12352. description: OK
  12353. schema:
  12354. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12355. "500":
  12356. description: Internal Server Error
  12357. schema:
  12358. $ref: '#/definitions/app.Response'
  12359. summary: 查询交易端菜单
  12360. tags:
  12361. - 通用服务
  12362. /Delivery/QueryDeliveryRelation:
  12363. get:
  12364. parameters:
  12365. - description: 商品ID
  12366. in: query
  12367. name: goodsid
  12368. type: integer
  12369. - description: 品种ID
  12370. in: query
  12371. name: deliverygoodsid
  12372. type: integer
  12373. - description: 市场ID
  12374. in: query
  12375. name: marketid
  12376. type: integer
  12377. produces:
  12378. - application/json
  12379. responses:
  12380. "200":
  12381. description: OK
  12382. schema:
  12383. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12384. "500":
  12385. description: Internal Server Error
  12386. schema:
  12387. $ref: '#/definitions/app.Response'
  12388. security:
  12389. - ApiKeyAuth: []
  12390. summary: 查询商品交割关系表
  12391. tags:
  12392. - 交割服务
  12393. /Ermcp/GetErmcpGoods:
  12394. get:
  12395. parameters:
  12396. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12397. in: query
  12398. name: lastUpdateTime
  12399. type: string
  12400. produces:
  12401. - application/json
  12402. responses:
  12403. "200":
  12404. description: OK
  12405. schema:
  12406. $ref: '#/definitions/models.Goods'
  12407. "500":
  12408. description: Internal Server Error
  12409. schema:
  12410. $ref: '#/definitions/app.Response'
  12411. security:
  12412. - ApiKeyAuth: []
  12413. summary: 查询企业风管期货商品信息
  12414. tags:
  12415. - 企业风险管理(app)
  12416. /Ermcp/GetErmcpGoodsSortByPosition:
  12417. get:
  12418. parameters:
  12419. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12420. in: query
  12421. name: sortIndex
  12422. type: string
  12423. produces:
  12424. - application/json
  12425. responses:
  12426. "200":
  12427. description: OK
  12428. schema:
  12429. $ref: '#/definitions/models.Goodssortbypreposition'
  12430. "500":
  12431. description: Internal Server Error
  12432. schema:
  12433. $ref: '#/definitions/app.Response'
  12434. security:
  12435. - ApiKeyAuth: []
  12436. summary: 查询企业风管期货主力、次主力商品信息
  12437. tags:
  12438. - 企业风险管理(app)
  12439. /Ermcp/GetErmcpOutAccountStatus:
  12440. get:
  12441. parameters:
  12442. - description: 登录账号
  12443. in: query
  12444. name: loginID
  12445. required: true
  12446. type: integer
  12447. produces:
  12448. - application/json
  12449. responses:
  12450. "200":
  12451. description: OK
  12452. schema:
  12453. $ref: '#/definitions/models.Hedgeoutmainconfig'
  12454. "500":
  12455. description: Internal Server Error
  12456. schema:
  12457. $ref: '#/definitions/app.Response'
  12458. security:
  12459. - ApiKeyAuth: []
  12460. summary: 获取目标登录账号当前对冲账号在线状态
  12461. tags:
  12462. - 企业风险管理(app)
  12463. /Ermcp/GetErmcpRoleFuncMenuLists:
  12464. get:
  12465. parameters:
  12466. - description: 登录账号
  12467. in: query
  12468. name: loginID
  12469. required: true
  12470. type: integer
  12471. produces:
  12472. - application/json
  12473. responses:
  12474. "200":
  12475. description: OK
  12476. schema:
  12477. $ref: '#/definitions/models.Funcmenulist'
  12478. "500":
  12479. description: Internal Server Error
  12480. schema:
  12481. $ref: '#/definitions/app.Response'
  12482. security:
  12483. - ApiKeyAuth: []
  12484. summary: 获取企业风管终端权限
  12485. tags:
  12486. - 企业风险管理(app)
  12487. /Ermcp/QryReportAreaSpotPL:
  12488. get:
  12489. parameters:
  12490. - description: 用户ID
  12491. in: query
  12492. name: userid
  12493. required: true
  12494. type: integer
  12495. - description: 查询类型 1-日报表 2-月报表
  12496. in: query
  12497. name: querytype
  12498. required: true
  12499. type: integer
  12500. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12501. in: query
  12502. name: querydate
  12503. required: true
  12504. type: string
  12505. - description: 现货商品ID
  12506. in: query
  12507. name: wrstandardid
  12508. type: integer
  12509. - description: 品牌ID
  12510. in: query
  12511. name: spotgoodsbrandid
  12512. type: integer
  12513. - description: 型号ID
  12514. in: query
  12515. name: spotgoodsmodelid
  12516. type: integer
  12517. produces:
  12518. - application/json
  12519. responses:
  12520. "200":
  12521. description: OK
  12522. schema:
  12523. items:
  12524. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12525. type: array
  12526. "500":
  12527. description: Internal Server Error
  12528. schema:
  12529. $ref: '#/definitions/app.Response'
  12530. security:
  12531. - ApiKeyAuth: []
  12532. summary: 查询现货损益报表(现货损益报表)
  12533. tags:
  12534. - 企业风险管理(app)
  12535. /Ermcp/QryReportDayExposure:
  12536. get:
  12537. parameters:
  12538. - description: 用户ID
  12539. in: query
  12540. name: userid
  12541. required: true
  12542. type: integer
  12543. - description: 交易日(格式:yyyyMMdd)
  12544. in: query
  12545. name: tradedate
  12546. required: true
  12547. type: string
  12548. produces:
  12549. - application/json
  12550. responses:
  12551. "200":
  12552. description: OK
  12553. schema:
  12554. items:
  12555. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12556. type: array
  12557. "500":
  12558. description: Internal Server Error
  12559. schema:
  12560. $ref: '#/definitions/app.Response'
  12561. security:
  12562. - ApiKeyAuth: []
  12563. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12564. tags:
  12565. - 企业风险管理(app)
  12566. /Ermcp/QryReportDayFinance:
  12567. get:
  12568. parameters:
  12569. - description: 用户ID
  12570. in: query
  12571. name: userid
  12572. required: true
  12573. type: integer
  12574. - description: 交易日(格式:yyyyMMdd)
  12575. in: query
  12576. name: tradedate
  12577. required: true
  12578. type: string
  12579. produces:
  12580. - application/json
  12581. responses:
  12582. "200":
  12583. description: OK
  12584. schema:
  12585. items:
  12586. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12587. type: array
  12588. "500":
  12589. description: Internal Server Error
  12590. schema:
  12591. $ref: '#/definitions/app.Response'
  12592. security:
  12593. - ApiKeyAuth: []
  12594. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12595. tags:
  12596. - 企业风险管理(app)
  12597. /Ermcp/QryReportDayFinanceFp:
  12598. get:
  12599. parameters:
  12600. - description: 用户ID
  12601. in: query
  12602. name: userid
  12603. required: true
  12604. type: integer
  12605. - description: 交易日(格式:yyyyMMdd)
  12606. in: query
  12607. name: tradedate
  12608. required: true
  12609. type: string
  12610. produces:
  12611. - application/json
  12612. responses:
  12613. "200":
  12614. description: OK
  12615. schema:
  12616. items:
  12617. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12618. type: array
  12619. "500":
  12620. description: Internal Server Error
  12621. schema:
  12622. $ref: '#/definitions/app.Response'
  12623. security:
  12624. - ApiKeyAuth: []
  12625. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12626. tags:
  12627. - 企业风险管理(app)
  12628. /Ermcp/QryReportDayFinanceKx:
  12629. get:
  12630. parameters:
  12631. - description: 用户ID
  12632. in: query
  12633. name: userid
  12634. required: true
  12635. type: integer
  12636. - description: 交易日(格式:yyyyMMdd)
  12637. in: query
  12638. name: tradedate
  12639. required: true
  12640. type: string
  12641. produces:
  12642. - application/json
  12643. responses:
  12644. "200":
  12645. description: OK
  12646. schema:
  12647. items:
  12648. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12649. type: array
  12650. "500":
  12651. description: Internal Server Error
  12652. schema:
  12653. $ref: '#/definitions/app.Response'
  12654. security:
  12655. - ApiKeyAuth: []
  12656. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12657. tags:
  12658. - 企业风险管理(app)
  12659. /Ermcp/QryReportDaySpot:
  12660. get:
  12661. parameters:
  12662. - description: 用户ID
  12663. in: query
  12664. name: userid
  12665. required: true
  12666. type: integer
  12667. - description: 交易日(格式:yyyyMMdd)
  12668. in: query
  12669. name: tradedate
  12670. required: true
  12671. type: string
  12672. produces:
  12673. - application/json
  12674. responses:
  12675. "200":
  12676. description: OK
  12677. schema:
  12678. items:
  12679. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  12680. type: array
  12681. "500":
  12682. description: Internal Server Error
  12683. schema:
  12684. $ref: '#/definitions/app.Response'
  12685. security:
  12686. - ApiKeyAuth: []
  12687. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  12688. tags:
  12689. - 企业风险管理(app)
  12690. /Ermcp/QryReportDaySpotDetail:
  12691. get:
  12692. parameters:
  12693. - description: 用户ID
  12694. in: query
  12695. name: userid
  12696. required: true
  12697. type: integer
  12698. - description: 现货商品id
  12699. in: query
  12700. name: wrstandardid
  12701. required: true
  12702. type: integer
  12703. - description: 交易日(格式:yyyyMMdd)
  12704. in: query
  12705. name: tradedate
  12706. required: true
  12707. type: string
  12708. produces:
  12709. - application/json
  12710. responses:
  12711. "200":
  12712. description: OK
  12713. schema:
  12714. items:
  12715. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  12716. type: array
  12717. "500":
  12718. description: Internal Server Error
  12719. schema:
  12720. $ref: '#/definitions/app.Response'
  12721. security:
  12722. - ApiKeyAuth: []
  12723. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  12724. tags:
  12725. - 企业风险管理(app)
  12726. /Ermcp/QryReportMonthFinance:
  12727. get:
  12728. parameters:
  12729. - description: 用户ID
  12730. in: query
  12731. name: userid
  12732. required: true
  12733. type: integer
  12734. - description: 周期时间:月(格式:yyyyMM)
  12735. in: query
  12736. name: cycletime
  12737. required: true
  12738. type: string
  12739. produces:
  12740. - application/json
  12741. responses:
  12742. "200":
  12743. description: OK
  12744. schema:
  12745. items:
  12746. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  12747. type: array
  12748. "500":
  12749. description: Internal Server Error
  12750. schema:
  12751. $ref: '#/definitions/app.Response'
  12752. security:
  12753. - ApiKeyAuth: []
  12754. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  12755. tags:
  12756. - 企业风险管理(app)
  12757. /Ermcp/QryReportMonthSpot:
  12758. get:
  12759. parameters:
  12760. - description: 用户ID
  12761. in: query
  12762. name: userid
  12763. required: true
  12764. type: integer
  12765. - description: 周期时间:月(格式:yyyyMM)
  12766. in: query
  12767. name: cycletime
  12768. required: true
  12769. type: string
  12770. produces:
  12771. - application/json
  12772. responses:
  12773. "200":
  12774. description: OK
  12775. schema:
  12776. items:
  12777. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  12778. type: array
  12779. "500":
  12780. description: Internal Server Error
  12781. schema:
  12782. $ref: '#/definitions/app.Response'
  12783. security:
  12784. - ApiKeyAuth: []
  12785. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  12786. tags:
  12787. - 企业风险管理(app)
  12788. /Ermcp/QryReportMonthSpotDetail:
  12789. get:
  12790. parameters:
  12791. - description: 用户ID
  12792. in: query
  12793. name: userid
  12794. required: true
  12795. type: integer
  12796. - description: 现货商品id
  12797. in: query
  12798. name: wrstandardid
  12799. required: true
  12800. type: integer
  12801. - description: 周期时间:月(格式:yyyyMM)
  12802. in: query
  12803. name: cycletime
  12804. required: true
  12805. type: string
  12806. produces:
  12807. - application/json
  12808. responses:
  12809. "200":
  12810. description: OK
  12811. schema:
  12812. items:
  12813. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  12814. type: array
  12815. "500":
  12816. description: Internal Server Error
  12817. schema:
  12818. $ref: '#/definitions/app.Response'
  12819. security:
  12820. - ApiKeyAuth: []
  12821. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  12822. tags:
  12823. - 企业风险管理(app)
  12824. /Ermcp/QueryAccMgrBizGroupSet:
  12825. get:
  12826. parameters:
  12827. - description: 用户ID
  12828. in: query
  12829. name: userid
  12830. required: true
  12831. type: integer
  12832. produces:
  12833. - application/json
  12834. responses:
  12835. "200":
  12836. description: OK
  12837. schema:
  12838. items:
  12839. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12840. type: array
  12841. "500":
  12842. description: Internal Server Error
  12843. schema:
  12844. $ref: '#/definitions/app.Response'
  12845. security:
  12846. - ApiKeyAuth: []
  12847. summary: 查询业务类型分组(账户管理/账户设置)
  12848. tags:
  12849. - 企业风险管理(app)
  12850. /Ermcp/QueryAccMgrLoginUser:
  12851. get:
  12852. parameters:
  12853. - description: 用户ID
  12854. in: query
  12855. name: userid
  12856. required: true
  12857. type: integer
  12858. produces:
  12859. - application/json
  12860. responses:
  12861. "200":
  12862. description: OK
  12863. schema:
  12864. items:
  12865. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12866. type: array
  12867. "500":
  12868. description: Internal Server Error
  12869. schema:
  12870. $ref: '#/definitions/app.Response'
  12871. security:
  12872. - ApiKeyAuth: []
  12873. summary: 查询账户管理登录账号(账户管理/登录账号)
  12874. tags:
  12875. - 企业风险管理(app)
  12876. /Ermcp/QueryAccMgrMainAccountInfo:
  12877. get:
  12878. parameters:
  12879. - description: 用户ID
  12880. in: query
  12881. name: userid
  12882. type: integer
  12883. - description: 主账号id
  12884. in: query
  12885. name: accountid
  12886. type: integer
  12887. produces:
  12888. - application/json
  12889. responses:
  12890. "200":
  12891. description: OK
  12892. schema:
  12893. items:
  12894. $ref: '#/definitions/models.MainAccountInfo'
  12895. type: array
  12896. "500":
  12897. description: Internal Server Error
  12898. schema:
  12899. $ref: '#/definitions/app.Response'
  12900. security:
  12901. - ApiKeyAuth: []
  12902. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12903. tags:
  12904. - 企业风险管理(app)
  12905. /Ermcp/QueryAccMgrRole:
  12906. get:
  12907. parameters:
  12908. - description: 用户ID
  12909. in: query
  12910. name: userid
  12911. required: true
  12912. type: integer
  12913. produces:
  12914. - application/json
  12915. responses:
  12916. "200":
  12917. description: OK
  12918. schema:
  12919. items:
  12920. $ref: '#/definitions/models.ErmcpRole'
  12921. type: array
  12922. "500":
  12923. description: Internal Server Error
  12924. schema:
  12925. $ref: '#/definitions/app.Response'
  12926. security:
  12927. - ApiKeyAuth: []
  12928. summary: 查询账户管理角色设置(账户管理/角色设置)
  12929. tags:
  12930. - 企业风险管理(app)
  12931. /Ermcp/QueryAccMgrRoleMenu:
  12932. get:
  12933. parameters:
  12934. - description: 用户ID
  12935. in: query
  12936. name: userid
  12937. required: true
  12938. type: integer
  12939. - description: 角色id(可多个,逗号隔开)
  12940. in: query
  12941. name: roleid
  12942. type: string
  12943. produces:
  12944. - application/json
  12945. responses:
  12946. "200":
  12947. description: OK
  12948. schema:
  12949. items:
  12950. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12951. type: array
  12952. "500":
  12953. description: Internal Server Error
  12954. schema:
  12955. $ref: '#/definitions/app.Response'
  12956. security:
  12957. - ApiKeyAuth: []
  12958. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12959. tags:
  12960. - 企业风险管理(app)
  12961. /Ermcp/QueryAccMgrTaAccountInfo:
  12962. get:
  12963. parameters:
  12964. - description: 用户ID
  12965. in: query
  12966. name: userid
  12967. required: true
  12968. type: integer
  12969. - description: 账号id
  12970. in: query
  12971. name: accountid
  12972. type: integer
  12973. produces:
  12974. - application/json
  12975. responses:
  12976. "200":
  12977. description: OK
  12978. schema:
  12979. items:
  12980. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12981. type: array
  12982. "500":
  12983. description: Internal Server Error
  12984. schema:
  12985. $ref: '#/definitions/app.Response'
  12986. security:
  12987. - ApiKeyAuth: []
  12988. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12989. tags:
  12990. - 企业风险管理(app)
  12991. /Ermcp/QueryAccMgrTaaccount:
  12992. get:
  12993. parameters:
  12994. - description: 用户ID
  12995. in: query
  12996. name: userid
  12997. required: true
  12998. type: integer
  12999. produces:
  13000. - application/json
  13001. responses:
  13002. "200":
  13003. description: OK
  13004. schema:
  13005. items:
  13006. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13007. type: array
  13008. "500":
  13009. description: Internal Server Error
  13010. schema:
  13011. $ref: '#/definitions/app.Response'
  13012. security:
  13013. - ApiKeyAuth: []
  13014. summary: 查询账户管理期货账号(账户管理/期货账号)
  13015. tags:
  13016. - 企业风险管理(app)
  13017. /Ermcp/QueryAreaStock:
  13018. get:
  13019. parameters:
  13020. - description: 用户ID
  13021. in: query
  13022. name: userid
  13023. required: true
  13024. type: integer
  13025. produces:
  13026. - application/json
  13027. responses:
  13028. "200":
  13029. description: OK
  13030. schema:
  13031. items:
  13032. $ref: '#/definitions/models.ErmcpAreaStock'
  13033. type: array
  13034. "500":
  13035. description: Internal Server Error
  13036. schema:
  13037. $ref: '#/definitions/app.Response'
  13038. security:
  13039. - ApiKeyAuth: []
  13040. summary: 查询机构库存(库存管理/当前库存)
  13041. tags:
  13042. - 企业风险管理(app)
  13043. /Ermcp/QueryAreaStockApply:
  13044. get:
  13045. parameters:
  13046. - description: 用户ID
  13047. in: query
  13048. name: userid
  13049. required: true
  13050. type: integer
  13051. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13052. in: query
  13053. name: inouttype
  13054. type: string
  13055. - description: 合同ID
  13056. in: query
  13057. name: spotcontractid
  13058. type: integer
  13059. - description: 现货商品ID
  13060. in: query
  13061. name: wrstandardid
  13062. type: integer
  13063. - description: 品牌ID
  13064. in: query
  13065. name: spotgoodsbrandid
  13066. type: integer
  13067. - description: 型号ID
  13068. in: query
  13069. name: spotgoodsmodelid
  13070. type: integer
  13071. - description: 仓库ID
  13072. in: query
  13073. name: warehouseinfoid
  13074. type: integer
  13075. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13076. in: query
  13077. name: applystatus
  13078. type: string
  13079. produces:
  13080. - application/json
  13081. responses:
  13082. "200":
  13083. description: OK
  13084. schema:
  13085. items:
  13086. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13087. type: array
  13088. "500":
  13089. description: Internal Server Error
  13090. schema:
  13091. $ref: '#/definitions/app.Response'
  13092. security:
  13093. - ApiKeyAuth: []
  13094. summary: 查询库存申请(出入库记录|库存审核)
  13095. tags:
  13096. - 企业风险管理(app)
  13097. /Ermcp/QueryAreaStockApplySum:
  13098. get:
  13099. parameters:
  13100. - description: 合同ID
  13101. in: query
  13102. name: spotcontractid
  13103. type: integer
  13104. produces:
  13105. - application/json
  13106. responses:
  13107. "200":
  13108. description: OK
  13109. schema:
  13110. items:
  13111. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  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/QueryAreaStockReport:
  13123. get:
  13124. parameters:
  13125. - description: 用户ID
  13126. in: query
  13127. name: userid
  13128. required: true
  13129. type: integer
  13130. - description: 查询类型 1-日报表 2-月报表
  13131. in: query
  13132. name: querytype
  13133. required: true
  13134. type: integer
  13135. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13136. in: query
  13137. name: querydate
  13138. required: true
  13139. type: string
  13140. - description: 现货商品ID
  13141. in: query
  13142. name: wrstandardid
  13143. type: integer
  13144. - description: 品牌ID
  13145. in: query
  13146. name: spotgoodsbrandid
  13147. type: integer
  13148. - description: 型号ID
  13149. in: query
  13150. name: spotgoodsmodelid
  13151. type: integer
  13152. - description: 仓库ID
  13153. in: query
  13154. name: warehouseinfoid
  13155. type: integer
  13156. produces:
  13157. - application/json
  13158. responses:
  13159. "200":
  13160. description: OK
  13161. schema:
  13162. items:
  13163. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13164. type: array
  13165. "500":
  13166. description: Internal Server Error
  13167. schema:
  13168. $ref: '#/definitions/app.Response'
  13169. security:
  13170. - ApiKeyAuth: []
  13171. summary: 查询库存报表
  13172. tags:
  13173. - 企业风险管理(app)
  13174. /Ermcp/QueryAreaStockReportDetail:
  13175. get:
  13176. parameters:
  13177. - description: 用户ID
  13178. in: query
  13179. name: userid
  13180. required: true
  13181. type: integer
  13182. - description: 查询类型 1-日报表明细 2-月报表明细
  13183. in: query
  13184. name: querytype
  13185. required: true
  13186. type: integer
  13187. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13188. in: query
  13189. name: detailtype
  13190. required: true
  13191. type: integer
  13192. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13193. in: query
  13194. name: querydate
  13195. required: true
  13196. type: string
  13197. - description: 现货商品ID
  13198. in: query
  13199. name: wrstandardid
  13200. type: integer
  13201. - description: 品牌ID
  13202. in: query
  13203. name: spotgoodsbrandid
  13204. type: integer
  13205. - description: 型号ID
  13206. in: query
  13207. name: spotgoodsmodelid
  13208. type: integer
  13209. - description: 仓库ID
  13210. in: query
  13211. name: warehouseinfoid
  13212. type: integer
  13213. produces:
  13214. - application/json
  13215. responses:
  13216. "200":
  13217. description: OK
  13218. schema:
  13219. items:
  13220. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13221. type: array
  13222. "500":
  13223. description: Internal Server Error
  13224. schema:
  13225. $ref: '#/definitions/app.Response'
  13226. security:
  13227. - ApiKeyAuth: []
  13228. summary: 查询库存报表明细
  13229. tags:
  13230. - 企业风险管理(app)
  13231. /Ermcp/QueryAvaildGoodsGroup:
  13232. get:
  13233. parameters:
  13234. - description: 所属机构ID
  13235. in: query
  13236. name: userid
  13237. required: true
  13238. type: integer
  13239. produces:
  13240. - application/json
  13241. responses:
  13242. "200":
  13243. description: OK
  13244. schema:
  13245. items:
  13246. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13247. type: array
  13248. "500":
  13249. description: Internal Server Error
  13250. schema:
  13251. $ref: '#/definitions/app.Response'
  13252. security:
  13253. - ApiKeyAuth: []
  13254. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13255. tags:
  13256. - 企业风险管理(app)
  13257. /Ermcp/QueryBusinessDj:
  13258. get:
  13259. parameters:
  13260. - description: 用户ID
  13261. in: query
  13262. name: UserId
  13263. required: true
  13264. type: integer
  13265. - description: 现货合同ID, 不填则查所有
  13266. in: query
  13267. name: relatedid
  13268. type: string
  13269. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13270. in: query
  13271. name: applystatus
  13272. type: string
  13273. produces:
  13274. - application/json
  13275. responses:
  13276. "200":
  13277. description: OK
  13278. schema:
  13279. items:
  13280. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13281. type: array
  13282. "500":
  13283. description: Internal Server Error
  13284. schema:
  13285. $ref: '#/definitions/app.Response'
  13286. security:
  13287. - ApiKeyAuth: []
  13288. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  13289. tags:
  13290. - 企业风险管理(app)
  13291. /Ermcp/QueryBusinessFp:
  13292. get:
  13293. parameters:
  13294. - description: 用户ID
  13295. in: query
  13296. name: UserId
  13297. required: true
  13298. type: integer
  13299. - description: 现货合同ID, 不填则查所有
  13300. in: query
  13301. name: relatedid
  13302. type: string
  13303. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13304. in: query
  13305. name: applystatus
  13306. type: string
  13307. produces:
  13308. - application/json
  13309. responses:
  13310. "200":
  13311. description: OK
  13312. schema:
  13313. items:
  13314. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13315. type: array
  13316. "500":
  13317. description: Internal Server Error
  13318. schema:
  13319. $ref: '#/definitions/app.Response'
  13320. security:
  13321. - ApiKeyAuth: []
  13322. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13323. tags:
  13324. - 企业风险管理(app)
  13325. /Ermcp/QueryBusinessJs:
  13326. get:
  13327. parameters:
  13328. - description: 用户ID
  13329. in: query
  13330. name: UserId
  13331. required: true
  13332. type: integer
  13333. - description: 现货合同ID, 不填则查所有
  13334. in: query
  13335. name: relatedid
  13336. type: string
  13337. - description: 操作申请id
  13338. in: query
  13339. name: operateapplyid
  13340. type: string
  13341. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13342. in: query
  13343. name: applystatus
  13344. type: string
  13345. produces:
  13346. - application/json
  13347. responses:
  13348. "200":
  13349. description: OK
  13350. schema:
  13351. items:
  13352. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13353. type: array
  13354. "500":
  13355. description: Internal Server Error
  13356. schema:
  13357. $ref: '#/definitions/app.Response'
  13358. security:
  13359. - ApiKeyAuth: []
  13360. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13361. tags:
  13362. - 企业风险管理(app)
  13363. /Ermcp/QueryBusinessJsEx:
  13364. get:
  13365. parameters:
  13366. - description: 用户ID
  13367. in: query
  13368. name: UserId
  13369. required: true
  13370. type: integer
  13371. - description: 现货合同ID, 不填则查所有
  13372. in: query
  13373. name: relatedid
  13374. type: string
  13375. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13376. in: query
  13377. name: applystatus
  13378. type: string
  13379. produces:
  13380. - application/json
  13381. responses:
  13382. "200":
  13383. description: OK
  13384. schema:
  13385. items:
  13386. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13387. type: array
  13388. "500":
  13389. description: Internal Server Error
  13390. schema:
  13391. $ref: '#/definitions/app.Response'
  13392. security:
  13393. - ApiKeyAuth: []
  13394. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13395. tags:
  13396. - 企业风险管理(app)
  13397. /Ermcp/QueryBusinessKx:
  13398. get:
  13399. parameters:
  13400. - description: 用户ID
  13401. in: query
  13402. name: UserId
  13403. required: true
  13404. type: integer
  13405. - description: 现货合同ID, 不填则查所有
  13406. in: query
  13407. name: relatedid
  13408. type: string
  13409. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13410. in: query
  13411. name: applystatus
  13412. type: string
  13413. produces:
  13414. - application/json
  13415. responses:
  13416. "200":
  13417. description: OK
  13418. schema:
  13419. items:
  13420. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13421. type: array
  13422. "500":
  13423. description: Internal Server Error
  13424. schema:
  13425. $ref: '#/definitions/app.Response'
  13426. security:
  13427. - ApiKeyAuth: []
  13428. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13429. tags:
  13430. - 企业风险管理(app)
  13431. /Ermcp/QueryChangeLog:
  13432. get:
  13433. parameters:
  13434. - description: 合同ID
  13435. in: query
  13436. name: RelatedId
  13437. required: true
  13438. type: string
  13439. produces:
  13440. - application/json
  13441. responses:
  13442. "200":
  13443. description: OK
  13444. schema:
  13445. items:
  13446. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13447. type: array
  13448. "500":
  13449. description: Internal Server Error
  13450. schema:
  13451. $ref: '#/definitions/app.Response'
  13452. security:
  13453. - ApiKeyAuth: []
  13454. summary: 查询变更记录
  13455. tags:
  13456. - 企业风险管理(app)
  13457. /Ermcp/QueryContract:
  13458. get:
  13459. parameters:
  13460. - description: 用户ID
  13461. in: query
  13462. name: userId
  13463. required: true
  13464. type: integer
  13465. - description: 合同类型 1-采购, -1-销售
  13466. in: query
  13467. name: contracttype
  13468. required: true
  13469. type: integer
  13470. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13471. in: query
  13472. name: querytype
  13473. required: true
  13474. type: integer
  13475. - description: 合同ID(SpotContractId)
  13476. in: query
  13477. name: contractid
  13478. type: string
  13479. produces:
  13480. - application/json
  13481. responses:
  13482. "200":
  13483. description: OK
  13484. schema:
  13485. items:
  13486. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13487. type: array
  13488. "500":
  13489. description: Internal Server Error
  13490. schema:
  13491. $ref: '#/definitions/app.Response'
  13492. security:
  13493. - ApiKeyAuth: []
  13494. summary: 查询合同(采购和销售)
  13495. tags:
  13496. - 企业风险管理(app)
  13497. /Ermcp/QueryErmcpHisOrderDetails:
  13498. get:
  13499. parameters:
  13500. - description: 资金账户ID
  13501. in: query
  13502. name: accountID
  13503. required: true
  13504. type: integer
  13505. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13506. in: query
  13507. name: startDate
  13508. type: string
  13509. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13510. in: query
  13511. name: endDate
  13512. type: string
  13513. produces:
  13514. - application/json
  13515. responses:
  13516. "200":
  13517. description: OK
  13518. schema:
  13519. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13520. "500":
  13521. description: Internal Server Error
  13522. schema:
  13523. $ref: '#/definitions/app.Response'
  13524. security:
  13525. - ApiKeyAuth: []
  13526. summary: 获取企业风管期货历史委托单信息
  13527. tags:
  13528. - 企业风险管理(app)
  13529. /Ermcp/QueryErmcpHisTradeDetails:
  13530. get:
  13531. parameters:
  13532. - description: 资金账户ID
  13533. in: query
  13534. name: accountID
  13535. required: true
  13536. type: integer
  13537. - description: 商品ID
  13538. in: query
  13539. name: goodsID
  13540. type: integer
  13541. - description: 买卖方向,0:买 1:卖
  13542. in: query
  13543. name: buyOrSell
  13544. type: integer
  13545. - description: 关联委托单号
  13546. in: query
  13547. name: orderID
  13548. type: integer
  13549. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13550. in: query
  13551. name: startDate
  13552. type: string
  13553. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13554. in: query
  13555. name: endDate
  13556. type: string
  13557. produces:
  13558. - application/json
  13559. responses:
  13560. "200":
  13561. description: OK
  13562. schema:
  13563. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13564. "500":
  13565. description: Internal Server Error
  13566. schema:
  13567. $ref: '#/definitions/app.Response'
  13568. security:
  13569. - ApiKeyAuth: []
  13570. summary: 获取企业风管期货历史成交单信息
  13571. tags:
  13572. - 企业风险管理(app)
  13573. /Ermcp/QueryErmcpInnerHolderDetails:
  13574. get:
  13575. parameters:
  13576. - description: 资金账户ID
  13577. in: query
  13578. name: accountID
  13579. required: true
  13580. type: integer
  13581. - description: 商品ID
  13582. in: query
  13583. name: goodsID
  13584. type: integer
  13585. - description: 买卖方向,0:买 1:卖
  13586. in: query
  13587. name: buyOrSell
  13588. type: integer
  13589. produces:
  13590. - application/json
  13591. responses:
  13592. "200":
  13593. description: OK
  13594. schema:
  13595. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13596. "500":
  13597. description: Internal Server Error
  13598. schema:
  13599. $ref: '#/definitions/app.Response'
  13600. security:
  13601. - ApiKeyAuth: []
  13602. summary: 获取企业风管期货内部持仓单信息
  13603. tags:
  13604. - 企业风险管理(app)
  13605. /Ermcp/QueryErmcpOrderDetails:
  13606. get:
  13607. parameters:
  13608. - description: 资金账户ID
  13609. in: query
  13610. name: accountID
  13611. required: true
  13612. type: integer
  13613. produces:
  13614. - application/json
  13615. responses:
  13616. "200":
  13617. description: OK
  13618. schema:
  13619. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13620. "500":
  13621. description: Internal Server Error
  13622. schema:
  13623. $ref: '#/definitions/app.Response'
  13624. security:
  13625. - ApiKeyAuth: []
  13626. summary: 获取企业风管期货委托单信息
  13627. tags:
  13628. - 企业风险管理(app)
  13629. /Ermcp/QueryErmcpTradeDetails:
  13630. get:
  13631. parameters:
  13632. - description: 资金账户ID
  13633. in: query
  13634. name: accountID
  13635. required: true
  13636. type: integer
  13637. - description: 商品ID
  13638. in: query
  13639. name: goodsID
  13640. type: integer
  13641. - description: 买卖方向,0:买 1:卖
  13642. in: query
  13643. name: buyOrSell
  13644. type: integer
  13645. - description: 关联委托单号
  13646. in: query
  13647. name: orderID
  13648. type: integer
  13649. produces:
  13650. - application/json
  13651. responses:
  13652. "200":
  13653. description: OK
  13654. schema:
  13655. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13656. "500":
  13657. description: Internal Server Error
  13658. schema:
  13659. $ref: '#/definitions/app.Response'
  13660. security:
  13661. - ApiKeyAuth: []
  13662. summary: 获取企业风管期货成交单信息
  13663. tags:
  13664. - 企业风险管理(app)
  13665. /Ermcp/QueryErmcpTradePosition:
  13666. get:
  13667. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  13668. parameters:
  13669. - description: 资金账户ID
  13670. in: query
  13671. name: accountID
  13672. required: true
  13673. type: integer
  13674. - description: 所属市场ID
  13675. in: query
  13676. name: marketID
  13677. type: integer
  13678. produces:
  13679. - application/json
  13680. responses:
  13681. "200":
  13682. description: OK
  13683. schema:
  13684. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  13685. "500":
  13686. description: Internal Server Error
  13687. schema:
  13688. $ref: '#/definitions/app.Response'
  13689. security:
  13690. - ApiKeyAuth: []
  13691. summary: 获取企业风管期货持仓头寸信息
  13692. tags:
  13693. - 企业风险管理(app)
  13694. /Ermcp/QueryExposureDetail:
  13695. get:
  13696. parameters:
  13697. - description: 所属机构ID
  13698. in: query
  13699. name: areaUserId
  13700. required: true
  13701. type: integer
  13702. - description: 套保商品
  13703. in: query
  13704. name: middleGoodsId
  13705. required: true
  13706. type: integer
  13707. produces:
  13708. - application/json
  13709. responses:
  13710. "200":
  13711. description: OK
  13712. schema:
  13713. items:
  13714. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  13715. type: array
  13716. "500":
  13717. description: Internal Server Error
  13718. schema:
  13719. $ref: '#/definitions/app.Response'
  13720. security:
  13721. - ApiKeyAuth: []
  13722. summary: 查询敞口现货明细
  13723. tags:
  13724. - 企业风险管理(app)
  13725. /Ermcp/QueryExposureHedgePosition:
  13726. get:
  13727. parameters:
  13728. - description: 所属机构ID
  13729. in: query
  13730. name: areaUserId
  13731. required: true
  13732. type: integer
  13733. produces:
  13734. - application/json
  13735. responses:
  13736. "200":
  13737. description: OK
  13738. schema:
  13739. items:
  13740. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  13741. type: array
  13742. "500":
  13743. description: Internal Server Error
  13744. schema:
  13745. $ref: '#/definitions/app.Response'
  13746. security:
  13747. - ApiKeyAuth: []
  13748. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  13749. tags:
  13750. - 企业风险管理(app)
  13751. /Ermcp/QueryExposureHedgePositionDetail:
  13752. get:
  13753. parameters:
  13754. - description: 所属机构ID
  13755. in: query
  13756. name: areaUserId
  13757. required: true
  13758. type: integer
  13759. - description: 商品id
  13760. in: query
  13761. name: goodsId
  13762. required: true
  13763. type: integer
  13764. produces:
  13765. - application/json
  13766. responses:
  13767. "200":
  13768. description: OK
  13769. schema:
  13770. items:
  13771. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13772. type: array
  13773. "500":
  13774. description: Internal Server Error
  13775. schema:
  13776. $ref: '#/definitions/app.Response'
  13777. security:
  13778. - ApiKeyAuth: []
  13779. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13780. tags:
  13781. - 企业风险管理(app)
  13782. /Ermcp/QueryExposureSpot:
  13783. get:
  13784. parameters:
  13785. - description: 所属机构ID
  13786. in: query
  13787. name: areaUserId
  13788. required: true
  13789. type: integer
  13790. produces:
  13791. - application/json
  13792. responses:
  13793. "200":
  13794. description: OK
  13795. schema:
  13796. items:
  13797. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13798. type: array
  13799. "500":
  13800. description: Internal Server Error
  13801. schema:
  13802. $ref: '#/definitions/app.Response'
  13803. security:
  13804. - ApiKeyAuth: []
  13805. summary: 查询敞口现货头寸(敞口/现货头寸)
  13806. tags:
  13807. - 企业风险管理(app)
  13808. /Ermcp/QueryExposureSpotDetail:
  13809. get:
  13810. parameters:
  13811. - description: 所属机构ID
  13812. in: query
  13813. name: areaUserId
  13814. required: true
  13815. type: integer
  13816. - description: 现货品种ID
  13817. in: query
  13818. name: wrstandardId
  13819. required: true
  13820. type: integer
  13821. produces:
  13822. - application/json
  13823. responses:
  13824. "200":
  13825. description: OK
  13826. schema:
  13827. items:
  13828. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13829. type: array
  13830. "500":
  13831. description: Internal Server Error
  13832. schema:
  13833. $ref: '#/definitions/app.Response'
  13834. security:
  13835. - ApiKeyAuth: []
  13836. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13837. tags:
  13838. - 企业风险管理(app)
  13839. /Ermcp/QueryFuturesCompany:
  13840. get:
  13841. produces:
  13842. - application/json
  13843. responses:
  13844. "200":
  13845. description: OK
  13846. schema:
  13847. items:
  13848. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13849. type: array
  13850. "500":
  13851. description: Internal Server Error
  13852. schema:
  13853. $ref: '#/definitions/app.Response'
  13854. security:
  13855. - ApiKeyAuth: []
  13856. summary: 查询期货公司
  13857. tags:
  13858. - 企业风险管理(app)
  13859. /Ermcp/QueryGGConvertConfig:
  13860. get:
  13861. parameters:
  13862. - description: 品种id(不填则查所有)
  13863. in: query
  13864. name: goodsgroupid
  13865. type: integer
  13866. produces:
  13867. - application/json
  13868. responses:
  13869. "200":
  13870. description: OK
  13871. schema:
  13872. items:
  13873. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13874. type: array
  13875. "500":
  13876. description: Internal Server Error
  13877. schema:
  13878. $ref: '#/definitions/app.Response'
  13879. security:
  13880. - ApiKeyAuth: []
  13881. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13882. tags:
  13883. - 企业风险管理(app)
  13884. /Ermcp/QueryGoodsBrand:
  13885. get:
  13886. parameters:
  13887. - description: 用户ID
  13888. in: query
  13889. name: userid
  13890. required: true
  13891. type: integer
  13892. - description: 现货商品ID
  13893. in: query
  13894. name: wrstandardid
  13895. type: integer
  13896. produces:
  13897. - application/json
  13898. responses:
  13899. "200":
  13900. description: OK
  13901. schema:
  13902. items:
  13903. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13904. type: array
  13905. "500":
  13906. description: Internal Server Error
  13907. schema:
  13908. $ref: '#/definitions/app.Response'
  13909. security:
  13910. - ApiKeyAuth: []
  13911. summary: 查询商品品牌
  13912. tags:
  13913. - 企业风险管理(app)
  13914. /Ermcp/QueryGoodsModel:
  13915. get:
  13916. parameters:
  13917. - description: 用户ID
  13918. in: query
  13919. name: userid
  13920. required: true
  13921. type: integer
  13922. produces:
  13923. - application/json
  13924. responses:
  13925. "200":
  13926. description: OK
  13927. schema:
  13928. items:
  13929. $ref: '#/definitions/models.ErmcpGoodsModel'
  13930. type: array
  13931. "500":
  13932. description: Internal Server Error
  13933. schema:
  13934. $ref: '#/definitions/app.Response'
  13935. security:
  13936. - ApiKeyAuth: []
  13937. summary: 查询商品型号
  13938. tags:
  13939. - 企业风险管理(app)
  13940. /Ermcp/QueryHedgePlan:
  13941. get:
  13942. parameters:
  13943. - description: 用户ID
  13944. in: query
  13945. name: userId
  13946. required: true
  13947. type: integer
  13948. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  13949. in: query
  13950. name: HedgePlanStatus
  13951. required: true
  13952. type: string
  13953. produces:
  13954. - application/json
  13955. responses:
  13956. "200":
  13957. description: OK
  13958. schema:
  13959. items:
  13960. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  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. - 企业风险管理(app)
  13971. /Ermcp/QueryHisExposure:
  13972. get:
  13973. parameters:
  13974. - description: 所属机构ID
  13975. in: query
  13976. name: areaUserId
  13977. required: true
  13978. type: integer
  13979. - description: 每个品种记录数
  13980. in: query
  13981. name: lastNum
  13982. required: true
  13983. type: integer
  13984. produces:
  13985. - application/json
  13986. responses:
  13987. "200":
  13988. description: OK
  13989. schema:
  13990. items:
  13991. $ref: '#/definitions/ermcp.HisExposureRsp'
  13992. type: array
  13993. "500":
  13994. description: Internal Server Error
  13995. schema:
  13996. $ref: '#/definitions/app.Response'
  13997. security:
  13998. - ApiKeyAuth: []
  13999. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14000. tags:
  14001. - 企业风险管理(app)
  14002. /Ermcp/QueryMiddleGoods:
  14003. get:
  14004. parameters:
  14005. - description: 所属机构ID
  14006. in: query
  14007. name: userid
  14008. required: true
  14009. type: integer
  14010. - description: 状态 0-停用 1-正常
  14011. in: query
  14012. name: status
  14013. required: true
  14014. type: integer
  14015. produces:
  14016. - application/json
  14017. responses:
  14018. "200":
  14019. description: OK
  14020. schema:
  14021. items:
  14022. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14023. type: array
  14024. "500":
  14025. description: Internal Server Error
  14026. schema:
  14027. $ref: '#/definitions/app.Response'
  14028. security:
  14029. - ApiKeyAuth: []
  14030. summary: 查询套保品种(菜单:套保品种)
  14031. tags:
  14032. - 企业风险管理(app)
  14033. /Ermcp/QueryMiddleGoodsChangeLog:
  14034. get:
  14035. parameters:
  14036. - description: 所属机构ID
  14037. in: query
  14038. name: userid
  14039. required: true
  14040. type: integer
  14041. - description: 套保品种id
  14042. in: query
  14043. name: middlegoodsid
  14044. required: true
  14045. type: integer
  14046. produces:
  14047. - application/json
  14048. responses:
  14049. "200":
  14050. description: OK
  14051. schema:
  14052. items:
  14053. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14054. type: array
  14055. "500":
  14056. description: Internal Server Error
  14057. schema:
  14058. $ref: '#/definitions/app.Response'
  14059. security:
  14060. - ApiKeyAuth: []
  14061. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14062. tags:
  14063. - 企业风险管理(app)
  14064. /Ermcp/QueryMiddleGoodsDetail:
  14065. get:
  14066. parameters:
  14067. - description: 所属机构ID
  14068. in: query
  14069. name: userid
  14070. required: true
  14071. type: integer
  14072. - description: 套保品种id
  14073. in: query
  14074. name: middlegoodsid
  14075. type: integer
  14076. produces:
  14077. - application/json
  14078. responses:
  14079. "200":
  14080. description: OK
  14081. schema:
  14082. items:
  14083. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14084. type: array
  14085. "500":
  14086. description: Internal Server Error
  14087. schema:
  14088. $ref: '#/definitions/app.Response'
  14089. security:
  14090. - ApiKeyAuth: []
  14091. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14092. tags:
  14093. - 企业风险管理(app)
  14094. /Ermcp/QueryPendingAuditInfo:
  14095. get:
  14096. parameters:
  14097. - description: 用户ID
  14098. in: query
  14099. name: UserId
  14100. required: true
  14101. type: integer
  14102. produces:
  14103. - application/json
  14104. responses:
  14105. "200":
  14106. description: OK
  14107. schema:
  14108. items:
  14109. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14110. type: array
  14111. "500":
  14112. description: Internal Server Error
  14113. schema:
  14114. $ref: '#/definitions/app.Response'
  14115. security:
  14116. - ApiKeyAuth: []
  14117. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14118. tags:
  14119. - 企业风险管理(app)
  14120. /Ermcp/QueryRealtimeExposure:
  14121. get:
  14122. parameters:
  14123. - description: 所属机构ID
  14124. in: query
  14125. name: AreaUserID
  14126. required: true
  14127. type: integer
  14128. produces:
  14129. - application/json
  14130. responses:
  14131. "200":
  14132. description: OK
  14133. schema:
  14134. items:
  14135. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14136. type: array
  14137. "500":
  14138. description: Internal Server Error
  14139. schema:
  14140. $ref: '#/definitions/app.Response'
  14141. security:
  14142. - ApiKeyAuth: []
  14143. summary: 查询实时敞口
  14144. tags:
  14145. - 企业风险管理(app)
  14146. /Ermcp/QueryRealtimeExposurePosition:
  14147. get:
  14148. parameters:
  14149. - description: 所属机构ID
  14150. in: query
  14151. name: areaUserId
  14152. required: true
  14153. type: integer
  14154. - description: 套保商品ID
  14155. in: query
  14156. name: middleGoodsId
  14157. required: true
  14158. type: integer
  14159. produces:
  14160. - application/json
  14161. responses:
  14162. "200":
  14163. description: OK
  14164. schema:
  14165. items:
  14166. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14167. type: array
  14168. "500":
  14169. description: Internal Server Error
  14170. schema:
  14171. $ref: '#/definitions/app.Response'
  14172. security:
  14173. - ApiKeyAuth: []
  14174. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14175. tags:
  14176. - 企业风险管理(app)
  14177. /Ermcp/QuerySpotContract:
  14178. get:
  14179. parameters:
  14180. - description: 用户ID
  14181. in: query
  14182. name: userId
  14183. required: true
  14184. type: integer
  14185. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14186. in: query
  14187. name: QueryType
  14188. required: true
  14189. type: integer
  14190. produces:
  14191. - application/json
  14192. responses:
  14193. "200":
  14194. description: OK
  14195. schema:
  14196. items:
  14197. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14198. type: array
  14199. "500":
  14200. description: Internal Server Error
  14201. schema:
  14202. $ref: '#/definitions/app.Response'
  14203. security:
  14204. - ApiKeyAuth: []
  14205. summary: 查询现货合同(对应现货合同菜单)
  14206. tags:
  14207. - 企业风险管理(app)
  14208. /Ermcp/QuerySpotGoodsPrice:
  14209. get:
  14210. parameters:
  14211. - description: 用户ID
  14212. in: query
  14213. name: userid
  14214. required: true
  14215. type: integer
  14216. produces:
  14217. - application/json
  14218. responses:
  14219. "200":
  14220. description: OK
  14221. schema:
  14222. items:
  14223. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14224. type: array
  14225. "500":
  14226. description: Internal Server Error
  14227. schema:
  14228. $ref: '#/definitions/app.Response'
  14229. security:
  14230. - ApiKeyAuth: []
  14231. summary: 查询现货市价(现货市价)
  14232. tags:
  14233. - 企业风险管理(app)
  14234. /Ermcp/QuerySpotGoodsPriceLog:
  14235. get:
  14236. parameters:
  14237. - description: 用户ID
  14238. in: query
  14239. name: userid
  14240. required: true
  14241. type: integer
  14242. - description: 现货商品ID
  14243. in: query
  14244. name: wrstandardid
  14245. required: true
  14246. type: integer
  14247. produces:
  14248. - application/json
  14249. responses:
  14250. "200":
  14251. description: OK
  14252. schema:
  14253. items:
  14254. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14255. type: array
  14256. "500":
  14257. description: Internal Server Error
  14258. schema:
  14259. $ref: '#/definitions/app.Response'
  14260. security:
  14261. - ApiKeyAuth: []
  14262. summary: 查询现货市价详情(现货市价/详情)
  14263. tags:
  14264. - 企业风险管理(app)
  14265. /Ermcp/QueryTradeConfigTMP:
  14266. get:
  14267. parameters:
  14268. - description: 所属机构id
  14269. in: query
  14270. name: areauserid
  14271. required: true
  14272. type: integer
  14273. produces:
  14274. - application/json
  14275. responses:
  14276. "200":
  14277. description: OK
  14278. schema:
  14279. items:
  14280. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14281. type: array
  14282. "500":
  14283. description: Internal Server Error
  14284. schema:
  14285. $ref: '#/definitions/app.Response'
  14286. security:
  14287. - ApiKeyAuth: []
  14288. summary: 查询交易模板配置
  14289. tags:
  14290. - 企业风险管理(app)
  14291. /Ermcp/QueryUserInfo:
  14292. get:
  14293. parameters:
  14294. - description: 所属机构用户ID
  14295. in: query
  14296. name: MemberUserID
  14297. required: true
  14298. type: integer
  14299. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14300. in: query
  14301. name: queryType
  14302. required: true
  14303. type: integer
  14304. produces:
  14305. - application/json
  14306. responses:
  14307. "200":
  14308. description: OK
  14309. schema:
  14310. items:
  14311. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14312. type: array
  14313. "500":
  14314. description: Internal Server Error
  14315. schema:
  14316. $ref: '#/definitions/app.Response'
  14317. security:
  14318. - ApiKeyAuth: []
  14319. summary: 查询客户资料
  14320. tags:
  14321. - 企业风险管理(app)
  14322. /Ermcp/QueryWarehouseInfo:
  14323. get:
  14324. parameters:
  14325. - description: 用户ID
  14326. in: query
  14327. name: userid
  14328. required: true
  14329. type: integer
  14330. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14331. in: query
  14332. name: status
  14333. type: string
  14334. produces:
  14335. - application/json
  14336. responses:
  14337. "200":
  14338. description: OK
  14339. schema:
  14340. items:
  14341. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14342. type: array
  14343. "500":
  14344. description: Internal Server Error
  14345. schema:
  14346. $ref: '#/definitions/app.Response'
  14347. security:
  14348. - ApiKeyAuth: []
  14349. summary: 查询仓库信息
  14350. tags:
  14351. - 企业风险管理(app)
  14352. /Ermcp/QueryWrStandard:
  14353. get:
  14354. parameters:
  14355. - description: 所属机构ID
  14356. in: query
  14357. name: userid
  14358. required: true
  14359. type: integer
  14360. - description: 状态 0-停用 1-正常
  14361. in: query
  14362. name: status
  14363. required: true
  14364. type: integer
  14365. produces:
  14366. - application/json
  14367. responses:
  14368. "200":
  14369. description: OK
  14370. schema:
  14371. items:
  14372. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14373. type: array
  14374. "500":
  14375. description: Internal Server Error
  14376. schema:
  14377. $ref: '#/definitions/app.Response'
  14378. security:
  14379. - ApiKeyAuth: []
  14380. summary: 查询现货商品
  14381. tags:
  14382. - 企业风险管理(app)
  14383. /Ermcp/QueryWrStandardDetail:
  14384. get:
  14385. parameters:
  14386. - description: 所属机构ID
  14387. in: query
  14388. name: userid
  14389. required: true
  14390. type: integer
  14391. - description: 现货商品ID
  14392. in: query
  14393. name: wrstandardid
  14394. type: integer
  14395. - description: 可不填, 1-查询关联交易商品
  14396. in: query
  14397. name: goods
  14398. type: integer
  14399. produces:
  14400. - application/json
  14401. responses:
  14402. "200":
  14403. description: OK
  14404. schema:
  14405. items:
  14406. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14407. type: array
  14408. "500":
  14409. description: Internal Server Error
  14410. schema:
  14411. $ref: '#/definitions/app.Response'
  14412. security:
  14413. - ApiKeyAuth: []
  14414. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14415. tags:
  14416. - 企业风险管理(app)
  14417. /Ermcp3/QryReportAreaSpotPL:
  14418. get:
  14419. parameters:
  14420. - description: 用户ID
  14421. in: query
  14422. name: userid
  14423. required: true
  14424. type: integer
  14425. - description: 查询类型 1-日报表 2-月报表
  14426. in: query
  14427. name: querytype
  14428. required: true
  14429. type: integer
  14430. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14431. in: query
  14432. name: querydate
  14433. required: true
  14434. type: string
  14435. - description: 现货商品ID
  14436. in: query
  14437. name: deliverygoodsid
  14438. type: integer
  14439. - description: 品牌ID
  14440. in: query
  14441. name: spotgoodsbrandid
  14442. type: integer
  14443. - description: 品类ID
  14444. in: query
  14445. name: wrstandardid
  14446. type: integer
  14447. produces:
  14448. - application/json
  14449. responses:
  14450. "200":
  14451. description: OK
  14452. schema:
  14453. items:
  14454. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14455. type: array
  14456. "500":
  14457. description: Internal Server Error
  14458. schema:
  14459. $ref: '#/definitions/app.Response'
  14460. security:
  14461. - ApiKeyAuth: []
  14462. summary: 查询现货损益报表(现货损益报表)
  14463. tags:
  14464. - 企业风险管理v3(app)
  14465. /Ermcp3/QryReportDayFinanceFp:
  14466. get:
  14467. parameters:
  14468. - description: 用户ID
  14469. in: query
  14470. name: userid
  14471. required: true
  14472. type: integer
  14473. - description: 交易日(格式:yyyyMMdd)
  14474. in: query
  14475. name: tradedate
  14476. required: true
  14477. type: string
  14478. produces:
  14479. - application/json
  14480. responses:
  14481. "200":
  14482. description: OK
  14483. schema:
  14484. items:
  14485. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14486. type: array
  14487. "500":
  14488. description: Internal Server Error
  14489. schema:
  14490. $ref: '#/definitions/app.Response'
  14491. security:
  14492. - ApiKeyAuth: []
  14493. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14494. tags:
  14495. - 企业风险管理v3(app)
  14496. /Ermcp3/QryReportDayFinanceKx:
  14497. get:
  14498. parameters:
  14499. - description: 用户ID
  14500. in: query
  14501. name: userid
  14502. required: true
  14503. type: integer
  14504. - description: 交易日(格式:yyyyMMdd)
  14505. in: query
  14506. name: tradedate
  14507. required: true
  14508. type: string
  14509. produces:
  14510. - application/json
  14511. responses:
  14512. "200":
  14513. description: OK
  14514. schema:
  14515. items:
  14516. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14517. type: array
  14518. "500":
  14519. description: Internal Server Error
  14520. schema:
  14521. $ref: '#/definitions/app.Response'
  14522. security:
  14523. - ApiKeyAuth: []
  14524. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14525. tags:
  14526. - 企业风险管理v3(app)
  14527. /Ermcp3/QryReportDaySpot:
  14528. get:
  14529. parameters:
  14530. - description: 用户ID
  14531. in: query
  14532. name: userid
  14533. required: true
  14534. type: integer
  14535. - description: 交易日(格式:yyyyMMdd)
  14536. in: query
  14537. name: tradedate
  14538. required: true
  14539. type: string
  14540. produces:
  14541. - application/json
  14542. responses:
  14543. "200":
  14544. description: OK
  14545. schema:
  14546. items:
  14547. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14548. type: array
  14549. "500":
  14550. description: Internal Server Error
  14551. schema:
  14552. $ref: '#/definitions/app.Response'
  14553. security:
  14554. - ApiKeyAuth: []
  14555. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14556. tags:
  14557. - 企业风险管理v3(app)
  14558. /Ermcp3/QryReportDaySpotDetail:
  14559. get:
  14560. parameters:
  14561. - description: 用户ID
  14562. in: query
  14563. name: userid
  14564. required: true
  14565. type: integer
  14566. - description: 现货商品id
  14567. in: query
  14568. name: deliverygoodsid
  14569. required: true
  14570. type: integer
  14571. - description: 交易日(格式:yyyyMMdd)
  14572. in: query
  14573. name: tradedate
  14574. required: true
  14575. type: string
  14576. produces:
  14577. - application/json
  14578. responses:
  14579. "200":
  14580. description: OK
  14581. schema:
  14582. items:
  14583. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14584. type: array
  14585. "500":
  14586. description: Internal Server Error
  14587. schema:
  14588. $ref: '#/definitions/app.Response'
  14589. security:
  14590. - ApiKeyAuth: []
  14591. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14592. tags:
  14593. - 企业风险管理v3(app)
  14594. /Ermcp3/QryReportMonthSpot:
  14595. get:
  14596. parameters:
  14597. - description: 用户ID
  14598. in: query
  14599. name: userid
  14600. required: true
  14601. type: integer
  14602. - description: 周期时间:月(格式:yyyyMM)
  14603. in: query
  14604. name: cycletime
  14605. required: true
  14606. type: string
  14607. produces:
  14608. - application/json
  14609. responses:
  14610. "200":
  14611. description: OK
  14612. schema:
  14613. items:
  14614. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14615. type: array
  14616. "500":
  14617. description: Internal Server Error
  14618. schema:
  14619. $ref: '#/definitions/app.Response'
  14620. security:
  14621. - ApiKeyAuth: []
  14622. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14623. tags:
  14624. - 企业风险管理v3(app)
  14625. /Ermcp3/QryReportMonthSpotDetail:
  14626. get:
  14627. parameters:
  14628. - description: 用户ID
  14629. in: query
  14630. name: userid
  14631. required: true
  14632. type: integer
  14633. - description: 现货商品id
  14634. in: query
  14635. name: wrstandardid
  14636. required: true
  14637. type: integer
  14638. - description: 周期时间:月(格式:yyyyMM)
  14639. in: query
  14640. name: cycletime
  14641. required: true
  14642. type: string
  14643. produces:
  14644. - application/json
  14645. responses:
  14646. "200":
  14647. description: OK
  14648. schema:
  14649. items:
  14650. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14651. type: array
  14652. "500":
  14653. description: Internal Server Error
  14654. schema:
  14655. $ref: '#/definitions/app.Response'
  14656. security:
  14657. - ApiKeyAuth: []
  14658. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14659. tags:
  14660. - 企业风险管理v3(app)
  14661. /Ermcp3/QueryDGFactoryItem:
  14662. get:
  14663. parameters:
  14664. - description: 所属机构ID
  14665. in: query
  14666. name: areauserid
  14667. type: integer
  14668. - description: 选择项ID(SEQ_DGFACTORYITEM)
  14669. in: query
  14670. name: dgfactoryitemid
  14671. type: integer
  14672. - description: 现货品种ID
  14673. in: query
  14674. name: deliverygoodsid
  14675. type: integer
  14676. - description: 要素项类型
  14677. in: query
  14678. name: dgfactoryitemtypeid
  14679. type: integer
  14680. - description: 顺序
  14681. in: query
  14682. name: orderindex
  14683. type: integer
  14684. produces:
  14685. - application/json
  14686. responses:
  14687. "200":
  14688. description: OK
  14689. schema:
  14690. items:
  14691. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  14692. type: array
  14693. "500":
  14694. description: Internal Server Error
  14695. schema:
  14696. $ref: '#/definitions/app.Response'
  14697. security:
  14698. - ApiKeyAuth: []
  14699. summary: 查询品种要素定义项
  14700. tags:
  14701. - 企业风险管理v3(app)
  14702. /Ermcp3/QueryDeliveryGoods:
  14703. get:
  14704. parameters:
  14705. - description: 所属机构id
  14706. in: query
  14707. name: areauserid
  14708. required: true
  14709. type: integer
  14710. - description: 排除已配置的现货商品 1-排除
  14711. in: query
  14712. name: excludecfg
  14713. type: integer
  14714. produces:
  14715. - application/json
  14716. responses:
  14717. "200":
  14718. description: OK
  14719. schema:
  14720. items:
  14721. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  14722. type: array
  14723. "500":
  14724. description: Internal Server Error
  14725. schema:
  14726. $ref: '#/definitions/app.Response'
  14727. security:
  14728. - ApiKeyAuth: []
  14729. summary: 查询现货商品
  14730. tags:
  14731. - 企业风险管理v3(app)
  14732. /Ermcp3/QueryDeliveryGoodsDetail:
  14733. get:
  14734. parameters:
  14735. - description: 所属机构id
  14736. in: query
  14737. name: areauserid
  14738. required: true
  14739. type: integer
  14740. - description: 现货商品id
  14741. in: query
  14742. name: deliverygoodsid
  14743. type: integer
  14744. - description: 是否查询关联交易商品 1-查询
  14745. in: query
  14746. name: qrytradegoods
  14747. type: integer
  14748. produces:
  14749. - application/json
  14750. responses:
  14751. "200":
  14752. description: OK
  14753. schema:
  14754. items:
  14755. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  14756. type: array
  14757. "500":
  14758. description: Internal Server Error
  14759. schema:
  14760. $ref: '#/definitions/app.Response'
  14761. security:
  14762. - ApiKeyAuth: []
  14763. summary: 查询现货商品详情
  14764. tags:
  14765. - 企业风险管理v3(app)
  14766. /Ermcp3/QueryExposureDetail:
  14767. get:
  14768. parameters:
  14769. - description: 所属机构ID
  14770. in: query
  14771. name: areaUserId
  14772. required: true
  14773. type: integer
  14774. - description: 套保商品
  14775. in: query
  14776. name: middleGoodsId
  14777. required: true
  14778. type: integer
  14779. produces:
  14780. - application/json
  14781. responses:
  14782. "200":
  14783. description: OK
  14784. schema:
  14785. items:
  14786. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14787. type: array
  14788. "500":
  14789. description: Internal Server Error
  14790. schema:
  14791. $ref: '#/definitions/app.Response'
  14792. security:
  14793. - ApiKeyAuth: []
  14794. summary: 查询敞口现货明细
  14795. tags:
  14796. - 企业风险管理v3(app)
  14797. /Ermcp3/QueryExposureSpot:
  14798. get:
  14799. parameters:
  14800. - description: 所属机构ID
  14801. in: query
  14802. name: areaUserId
  14803. required: true
  14804. type: integer
  14805. produces:
  14806. - application/json
  14807. responses:
  14808. "200":
  14809. description: OK
  14810. schema:
  14811. items:
  14812. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14813. type: array
  14814. "500":
  14815. description: Internal Server Error
  14816. schema:
  14817. $ref: '#/definitions/app.Response'
  14818. security:
  14819. - ApiKeyAuth: []
  14820. summary: 查询敞口现货头寸(敞口/现货头寸)
  14821. tags:
  14822. - 企业风险管理v3(app)
  14823. /Ermcp3/QueryExposureSpotDetail:
  14824. get:
  14825. parameters:
  14826. - description: 所属机构ID
  14827. in: query
  14828. name: areauserid
  14829. required: true
  14830. type: integer
  14831. - description: 现货品种ID
  14832. in: query
  14833. name: deliverygoodsid
  14834. required: true
  14835. type: integer
  14836. produces:
  14837. - application/json
  14838. responses:
  14839. "200":
  14840. description: OK
  14841. schema:
  14842. items:
  14843. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14844. type: array
  14845. "500":
  14846. description: Internal Server Error
  14847. schema:
  14848. $ref: '#/definitions/app.Response'
  14849. security:
  14850. - ApiKeyAuth: []
  14851. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14852. tags:
  14853. - 企业风险管理v3(app)
  14854. /Ermcp3/QueryGoodsWrstandard:
  14855. get:
  14856. parameters:
  14857. - description: 所属机构ID
  14858. in: query
  14859. name: areauserid
  14860. required: true
  14861. type: integer
  14862. - description: 现货商品id
  14863. in: query
  14864. name: deliverygoodsid
  14865. type: integer
  14866. produces:
  14867. - application/json
  14868. responses:
  14869. "200":
  14870. description: OK
  14871. schema:
  14872. items:
  14873. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14874. type: array
  14875. "500":
  14876. description: Internal Server Error
  14877. schema:
  14878. $ref: '#/definitions/app.Response'
  14879. security:
  14880. - ApiKeyAuth: []
  14881. summary: 查询商品品类
  14882. tags:
  14883. - 企业风险管理v3(app)
  14884. /Ermcp3/QueryGoodsbrand:
  14885. get:
  14886. parameters:
  14887. - description: 所属机构ID
  14888. in: query
  14889. name: areauserid
  14890. required: true
  14891. type: integer
  14892. produces:
  14893. - application/json
  14894. responses:
  14895. "200":
  14896. description: OK
  14897. schema:
  14898. items:
  14899. $ref: '#/definitions/models.Ermcp3Brand'
  14900. type: array
  14901. "500":
  14902. description: Internal Server Error
  14903. schema:
  14904. $ref: '#/definitions/app.Response'
  14905. security:
  14906. - ApiKeyAuth: []
  14907. summary: 查询商品品牌
  14908. tags:
  14909. - 企业风险管理v3(app)
  14910. /Ermcp3/QuerySpotContract:
  14911. get:
  14912. parameters:
  14913. - description: 所属机构ID
  14914. in: query
  14915. name: areauserid
  14916. required: true
  14917. type: integer
  14918. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14919. in: query
  14920. name: querytype
  14921. required: true
  14922. type: integer
  14923. - description: 用户ID
  14924. in: query
  14925. name: userid
  14926. type: integer
  14927. - description: 用户类型 2-机构 7-企业成员
  14928. in: query
  14929. name: usertype
  14930. type: integer
  14931. - description: 合同ID(SpotContractId)
  14932. in: query
  14933. name: contractid
  14934. type: string
  14935. produces:
  14936. - application/json
  14937. responses:
  14938. "200":
  14939. description: OK
  14940. schema:
  14941. items:
  14942. $ref: '#/definitions/models.Ermcp3Contract'
  14943. type: array
  14944. "500":
  14945. description: Internal Server Error
  14946. schema:
  14947. $ref: '#/definitions/app.Response'
  14948. security:
  14949. - ApiKeyAuth: []
  14950. summary: 查询现货合同
  14951. tags:
  14952. - 企业风险管理v3(app)
  14953. /Ermcp3/QuerySpotContractBS:
  14954. get:
  14955. parameters:
  14956. - description: 所属机构ID
  14957. in: query
  14958. name: areauserid
  14959. required: true
  14960. type: integer
  14961. - description: 合同类型 1-采购, -1-销售
  14962. in: query
  14963. name: contracttype
  14964. required: true
  14965. type: integer
  14966. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14967. in: query
  14968. name: querytype
  14969. required: true
  14970. type: integer
  14971. - description: 用户ID
  14972. in: query
  14973. name: userid
  14974. type: integer
  14975. - description: 用户类型 2-机构 7-企业成员
  14976. in: query
  14977. name: usertype
  14978. type: integer
  14979. - description: 合同ID(SpotContractId)
  14980. in: query
  14981. name: contractid
  14982. type: string
  14983. produces:
  14984. - application/json
  14985. responses:
  14986. "200":
  14987. description: OK
  14988. schema:
  14989. items:
  14990. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14991. type: array
  14992. "500":
  14993. description: Internal Server Error
  14994. schema:
  14995. $ref: '#/definitions/app.Response'
  14996. security:
  14997. - ApiKeyAuth: []
  14998. summary: 查询合同(采购/销售)
  14999. tags:
  15000. - 企业风险管理v3(app)
  15001. /Erms2/QueryArbitrageStrategy:
  15002. get:
  15003. parameters:
  15004. - description: 账户ID
  15005. in: query
  15006. name: userid
  15007. required: true
  15008. type: integer
  15009. - description: 商品组ID(品种ID)
  15010. in: query
  15011. name: goodsgroupid
  15012. type: string
  15013. produces:
  15014. - application/json
  15015. responses:
  15016. "200":
  15017. description: OK
  15018. schema:
  15019. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15020. "500":
  15021. description: Internal Server Error
  15022. schema:
  15023. $ref: '#/definitions/app.Response'
  15024. security:
  15025. - ApiKeyAuth: []
  15026. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15027. tags:
  15028. - 风险管理
  15029. /Erms2/QueryInnerTradeDetail:
  15030. get:
  15031. parameters:
  15032. - description: 资金账户
  15033. in: query
  15034. name: accountid
  15035. required: true
  15036. type: integer
  15037. produces:
  15038. - application/json
  15039. responses:
  15040. "200":
  15041. description: OK
  15042. schema:
  15043. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15044. "500":
  15045. description: Internal Server Error
  15046. schema:
  15047. $ref: '#/definitions/app.Response'
  15048. security:
  15049. - ApiKeyAuth: []
  15050. summary: 查询内部成交单信息
  15051. tags:
  15052. - 风险管理
  15053. /Erms2/QuerySpotContract:
  15054. get:
  15055. parameters:
  15056. - description: 策略申请ID
  15057. in: query
  15058. name: asapplyid
  15059. required: true
  15060. type: integer
  15061. - description: 现货合同ID
  15062. in: query
  15063. name: spotcontractid
  15064. type: integer
  15065. produces:
  15066. - application/json
  15067. responses:
  15068. "200":
  15069. description: OK
  15070. schema:
  15071. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15072. "500":
  15073. description: Internal Server Error
  15074. schema:
  15075. $ref: '#/definitions/app.Response'
  15076. security:
  15077. - ApiKeyAuth: []
  15078. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15079. tags:
  15080. - 风险管理
  15081. /Erms3/AddErms2ASApply:
  15082. post:
  15083. parameters:
  15084. - description: 申请参数
  15085. in: body
  15086. name: jsonBody
  15087. required: true
  15088. schema:
  15089. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15090. produces:
  15091. - application/json
  15092. responses:
  15093. "200":
  15094. description: OK
  15095. schema:
  15096. $ref: '#/definitions/app.Response'
  15097. "500":
  15098. description: Internal Server Error
  15099. schema:
  15100. $ref: '#/definitions/app.Response'
  15101. security:
  15102. - ApiKeyAuth: []
  15103. summary: 新增期现套利业务申请
  15104. tags:
  15105. - 风险管理v3
  15106. /Erms3/AddErms2SpotTradeApply:
  15107. post:
  15108. parameters:
  15109. - description: 申请参数
  15110. in: body
  15111. name: jsonBody
  15112. required: true
  15113. schema:
  15114. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15115. produces:
  15116. - application/json
  15117. responses:
  15118. "200":
  15119. description: OK
  15120. schema:
  15121. $ref: '#/definitions/app.Response'
  15122. "500":
  15123. description: Internal Server Error
  15124. schema:
  15125. $ref: '#/definitions/app.Response'
  15126. security:
  15127. - ApiKeyAuth: []
  15128. summary: 新增现货贸易业务申请
  15129. tags:
  15130. - 风险管理v3
  15131. /Erms3/AddSpotContractApply:
  15132. post:
  15133. parameters:
  15134. - description: 申请参数
  15135. in: body
  15136. name: jsonBody
  15137. required: true
  15138. schema:
  15139. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15140. produces:
  15141. - application/json
  15142. responses:
  15143. "200":
  15144. description: OK
  15145. schema:
  15146. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15147. "500":
  15148. description: Internal Server Error
  15149. schema:
  15150. $ref: '#/definitions/app.Response'
  15151. security:
  15152. - ApiKeyAuth: []
  15153. summary: 新增现货合同申请
  15154. tags:
  15155. - 风险管理v3
  15156. /Erms3/AddUserInfoApply:
  15157. post:
  15158. parameters:
  15159. - description: 用户信息
  15160. in: body
  15161. name: jsonBody
  15162. required: true
  15163. schema:
  15164. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15165. produces:
  15166. - application/json
  15167. responses:
  15168. "200":
  15169. description: OK
  15170. schema:
  15171. $ref: '#/definitions/app.Response'
  15172. "500":
  15173. description: Internal Server Error
  15174. schema:
  15175. $ref: '#/definitions/app.Response'
  15176. security:
  15177. - ApiKeyAuth: []
  15178. summary: 新增客户申请
  15179. tags:
  15180. - 风险管理v3
  15181. /Erms3/ModifyUserInfoApply:
  15182. post:
  15183. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15184. int, "userstate": 2 }'
  15185. parameters:
  15186. - description: 用户信息
  15187. in: body
  15188. name: jsonBody
  15189. required: true
  15190. schema:
  15191. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15192. produces:
  15193. - application/json
  15194. responses:
  15195. "200":
  15196. description: OK
  15197. schema:
  15198. $ref: '#/definitions/app.Response'
  15199. "500":
  15200. description: Internal Server Error
  15201. schema:
  15202. $ref: '#/definitions/app.Response'
  15203. security:
  15204. - ApiKeyAuth: []
  15205. summary: 修改客户申请
  15206. tags:
  15207. - 风险管理v3
  15208. /Erms3/QueryBusinessInfo:
  15209. get:
  15210. parameters:
  15211. - description: 资金账号ID列表,用逗号分隔
  15212. in: query
  15213. name: accountids
  15214. required: true
  15215. type: string
  15216. - description: 状态,0为未结束 1为已结束
  15217. in: query
  15218. name: status
  15219. required: true
  15220. type: integer
  15221. produces:
  15222. - application/json
  15223. responses:
  15224. "200":
  15225. description: OK
  15226. schema:
  15227. items:
  15228. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15229. type: array
  15230. "500":
  15231. description: Internal Server Error
  15232. schema:
  15233. $ref: '#/definitions/app.Response'
  15234. security:
  15235. - ApiKeyAuth: []
  15236. summary: 查询业务表单数据
  15237. tags:
  15238. - 风险管理v3
  15239. /Erms3/QueryPendingAuditContract:
  15240. get:
  15241. parameters:
  15242. - description: 资金账号ID列表,逗号隔开
  15243. in: query
  15244. name: accountids
  15245. required: true
  15246. type: string
  15247. - description: 合同类型 1-采购 -1-销售
  15248. in: query
  15249. name: contracttype
  15250. required: true
  15251. type: integer
  15252. - description: 合同模式 1-普通 2-回购
  15253. in: query
  15254. name: contractmode
  15255. required: true
  15256. type: integer
  15257. produces:
  15258. - application/json
  15259. responses:
  15260. "200":
  15261. description: OK
  15262. schema:
  15263. items:
  15264. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15265. type: array
  15266. "500":
  15267. description: Internal Server Error
  15268. schema:
  15269. $ref: '#/definitions/app.Response'
  15270. security:
  15271. - ApiKeyAuth: []
  15272. summary: 查询待审核合同
  15273. tags:
  15274. - 风险管理v3
  15275. /Erms3/QueryPendingBusiness:
  15276. get:
  15277. parameters:
  15278. - description: 资金账号ID列表,逗号隔开
  15279. in: query
  15280. name: accountids
  15281. required: true
  15282. type: string
  15283. produces:
  15284. - application/json
  15285. responses:
  15286. "200":
  15287. description: OK
  15288. schema:
  15289. items:
  15290. $ref: '#/definitions/erms3.QryPendingBizRsp'
  15291. type: array
  15292. "500":
  15293. description: Internal Server Error
  15294. schema:
  15295. $ref: '#/definitions/app.Response'
  15296. security:
  15297. - ApiKeyAuth: []
  15298. summary: 查询待审核基差贸易业务
  15299. tags:
  15300. - 风险管理v3
  15301. /Erms3/QuerySpotContractAppleForm:
  15302. get:
  15303. parameters:
  15304. - description: 登录账号
  15305. in: query
  15306. name: loginID
  15307. required: true
  15308. type: integer
  15309. produces:
  15310. - application/json
  15311. responses:
  15312. "200":
  15313. description: OK
  15314. schema:
  15315. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  15316. "500":
  15317. description: Internal Server Error
  15318. schema:
  15319. $ref: '#/definitions/app.Response'
  15320. security:
  15321. - ApiKeyAuth: []
  15322. summary: 查询合同申请表单数据
  15323. tags:
  15324. - 风险管理v3
  15325. /Erms3/QuerySpotContractDetail:
  15326. get:
  15327. parameters:
  15328. - description: 资金账号ID列表,用逗号分隔
  15329. in: query
  15330. name: accountids
  15331. required: true
  15332. type: string
  15333. - description: 合同类型,1为采购合同 -1为销售合同
  15334. in: query
  15335. name: contracttype
  15336. required: true
  15337. type: integer
  15338. - description: 合同模式,1为普通合同 2为回购销售合同
  15339. in: query
  15340. name: contractmode
  15341. required: true
  15342. type: integer
  15343. - description: 状态,0为履约中 1为已完成
  15344. in: query
  15345. name: status
  15346. required: true
  15347. type: integer
  15348. produces:
  15349. - application/json
  15350. responses:
  15351. "200":
  15352. description: OK
  15353. schema:
  15354. items:
  15355. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  15356. type: array
  15357. "500":
  15358. description: Internal Server Error
  15359. schema:
  15360. $ref: '#/definitions/app.Response'
  15361. security:
  15362. - ApiKeyAuth: []
  15363. summary: 查询合同详细信息
  15364. tags:
  15365. - 风险管理v3
  15366. /Erms3/QueryUserInfoApplies:
  15367. get:
  15368. parameters:
  15369. - description: 页码
  15370. in: query
  15371. name: page
  15372. type: integer
  15373. - description: 每页条数
  15374. in: query
  15375. name: pagesize
  15376. type: integer
  15377. - description: 客户名称,支持模糊查询
  15378. in: query
  15379. name: userName
  15380. type: string
  15381. produces:
  15382. - application/json
  15383. responses:
  15384. "200":
  15385. description: OK
  15386. schema:
  15387. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  15388. "500":
  15389. description: Internal Server Error
  15390. schema:
  15391. $ref: '#/definitions/app.Response'
  15392. security:
  15393. - ApiKeyAuth: []
  15394. summary: 客户申请信息查询
  15395. tags:
  15396. - 风险管理v3
  15397. /Erms3/QueryUserInfos:
  15398. get:
  15399. parameters:
  15400. - description: 页码
  15401. in: query
  15402. name: page
  15403. type: integer
  15404. - description: 每页条数
  15405. in: query
  15406. name: pagesize
  15407. type: integer
  15408. - description: 客户名称,支持模糊查询
  15409. in: query
  15410. name: userName
  15411. type: string
  15412. produces:
  15413. - application/json
  15414. responses:
  15415. "200":
  15416. description: OK
  15417. schema:
  15418. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  15419. "500":
  15420. description: Internal Server Error
  15421. schema:
  15422. $ref: '#/definitions/app.Response'
  15423. security:
  15424. - ApiKeyAuth: []
  15425. summary: 客户信息查询
  15426. tags:
  15427. - 风险管理v3
  15428. /HSBY/GetHsbyMyCount:
  15429. get:
  15430. description: 说明: 不包括已完成的数量。
  15431. parameters:
  15432. - description: 资金账户列表,格式:1,2,3
  15433. in: query
  15434. name: accountIDs
  15435. required: true
  15436. type: string
  15437. produces:
  15438. - application/json
  15439. responses:
  15440. "200":
  15441. description: OK
  15442. schema:
  15443. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  15444. "500":
  15445. description: Internal Server Error
  15446. schema:
  15447. $ref: '#/definitions/app.Response'
  15448. security:
  15449. - ApiKeyAuth: []
  15450. summary: 获取我的订单与包裹数量
  15451. tags:
  15452. - 定制【海商报业】
  15453. /HSBY/QueryClientFixedADConfigs:
  15454. get:
  15455. produces:
  15456. - application/json
  15457. responses:
  15458. "200":
  15459. description: OK
  15460. schema:
  15461. $ref: '#/definitions/models.Clientfixedadconfig'
  15462. "500":
  15463. description: Internal Server Error
  15464. schema:
  15465. $ref: '#/definitions/app.Response'
  15466. security:
  15467. - ApiKeyAuth: []
  15468. summary: 获取终端固定广告配置
  15469. tags:
  15470. - 定制【海商报业】
  15471. /HSBY/QueryHsbyBuyMyTradeDetail:
  15472. get:
  15473. parameters:
  15474. - description: 页码
  15475. in: query
  15476. name: page
  15477. type: integer
  15478. - description: 每页条数
  15479. in: query
  15480. name: pagesize
  15481. type: integer
  15482. - description: 资金账户列表,格式:1,2,3
  15483. in: query
  15484. name: accountIDs
  15485. required: true
  15486. type: string
  15487. produces:
  15488. - application/json
  15489. responses:
  15490. "200":
  15491. description: OK
  15492. schema:
  15493. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  15494. "500":
  15495. description: Internal Server Error
  15496. schema:
  15497. $ref: '#/definitions/app.Response'
  15498. security:
  15499. - ApiKeyAuth: []
  15500. summary: 查询"我的订单 - 已完成"单据信息
  15501. tags:
  15502. - 定制【海商报业】
  15503. /HSBY/QueryHsbyGoodsOrderDetails:
  15504. get:
  15505. description: 说明:查询结果已按委托价格和委托时间排序
  15506. parameters:
  15507. - description: 商品ID
  15508. in: query
  15509. name: goodsID
  15510. required: true
  15511. type: integer
  15512. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  15513. in: query
  15514. name: accountIDs
  15515. type: string
  15516. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  15517. in: query
  15518. name: buyOrSell
  15519. type: integer
  15520. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  15521. in: query
  15522. name: price
  15523. type: number
  15524. - description: 档位,不传则默认为3档
  15525. in: query
  15526. name: speed
  15527. type: integer
  15528. produces:
  15529. - application/json
  15530. responses:
  15531. "200":
  15532. description: OK
  15533. schema:
  15534. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  15535. "500":
  15536. description: Internal Server Error
  15537. schema:
  15538. $ref: '#/definitions/app.Response'
  15539. security:
  15540. - ApiKeyAuth: []
  15541. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15542. tags:
  15543. - 定制【海商报业】
  15544. /HSBY/QueryHsbyListingGoodsDetail:
  15545. get:
  15546. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15547. parameters:
  15548. - description: 商品ID
  15549. in: query
  15550. name: goodsID
  15551. required: true
  15552. type: integer
  15553. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15554. in: query
  15555. name: accountID
  15556. type: integer
  15557. produces:
  15558. - application/json
  15559. responses:
  15560. "200":
  15561. description: OK
  15562. schema:
  15563. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15564. "500":
  15565. description: Internal Server Error
  15566. schema:
  15567. $ref: '#/definitions/app.Response'
  15568. security:
  15569. - ApiKeyAuth: []
  15570. summary: 查询二级市场(挂牌点选)商品信息详情
  15571. tags:
  15572. - 定制【海商报业】
  15573. /HSBY/QueryHsbyMarketGoodsDetail:
  15574. get:
  15575. parameters:
  15576. - description: 委托单号
  15577. in: query
  15578. name: orderID
  15579. required: true
  15580. type: integer
  15581. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15582. in: query
  15583. name: accountID
  15584. type: integer
  15585. produces:
  15586. - application/json
  15587. responses:
  15588. "200":
  15589. description: OK
  15590. schema:
  15591. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15592. "500":
  15593. description: Internal Server Error
  15594. schema:
  15595. $ref: '#/definitions/app.Response'
  15596. security:
  15597. - ApiKeyAuth: []
  15598. summary: 查询三级市场(商城)商品信息详情
  15599. tags:
  15600. - 定制【海商报业】
  15601. /HSBY/QueryHsbyMarketGoodses:
  15602. get:
  15603. parameters:
  15604. - description: 页码
  15605. in: query
  15606. name: page
  15607. type: integer
  15608. - description: 每页条数
  15609. in: query
  15610. name: pagesize
  15611. type: integer
  15612. - description: 市场ID列表,格式:1,2,3
  15613. in: query
  15614. name: marketIDs
  15615. required: true
  15616. type: string
  15617. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15618. in: query
  15619. name: accountID
  15620. required: true
  15621. type: integer
  15622. - description: 类别ID
  15623. in: query
  15624. name: categoryID
  15625. type: integer
  15626. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15627. in: query
  15628. name: goodsIDs
  15629. type: string
  15630. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15631. in: query
  15632. name: couponTypeID
  15633. type: integer
  15634. produces:
  15635. - application/json
  15636. responses:
  15637. "200":
  15638. description: OK
  15639. schema:
  15640. $ref: '#/definitions/models.HsbyMarketGoods'
  15641. "500":
  15642. description: Internal Server Error
  15643. schema:
  15644. $ref: '#/definitions/app.Response'
  15645. security:
  15646. - ApiKeyAuth: []
  15647. summary: 查询特卖商品列表(三级商城)
  15648. tags:
  15649. - 定制【海商报业】
  15650. /HSBY/QueryHsbyMarkets:
  15651. get:
  15652. produces:
  15653. - application/json
  15654. responses:
  15655. "200":
  15656. description: OK
  15657. schema:
  15658. $ref: '#/definitions/models.HsbyMarketInfo'
  15659. "500":
  15660. description: Internal Server Error
  15661. schema:
  15662. $ref: '#/definitions/app.Response'
  15663. security:
  15664. - ApiKeyAuth: []
  15665. summary: 查询海商报业相关市场信息
  15666. tags:
  15667. - 定制【海商报业】
  15668. /HSBY/QueryHsbyMyBuyOrderDetails:
  15669. get:
  15670. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15671. parameters:
  15672. - description: 资金账户列表,格式:1,2,3
  15673. in: query
  15674. name: accountIDs
  15675. required: true
  15676. type: string
  15677. produces:
  15678. - application/json
  15679. responses:
  15680. "200":
  15681. description: OK
  15682. schema:
  15683. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15684. "500":
  15685. description: Internal Server Error
  15686. schema:
  15687. $ref: '#/definitions/app.Response'
  15688. security:
  15689. - ApiKeyAuth: []
  15690. summary: 查询“我的订单”信息
  15691. tags:
  15692. - 定制【海商报业】
  15693. /HSBY/QueryHsbyMyGoods:
  15694. get:
  15695. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15696. parameters:
  15697. - description: 资金账户列表,格式:1,2,3
  15698. in: query
  15699. name: accountIDs
  15700. required: true
  15701. type: string
  15702. produces:
  15703. - application/json
  15704. responses:
  15705. "200":
  15706. description: OK
  15707. schema:
  15708. $ref: '#/definitions/models.HsbyMyGoods'
  15709. "500":
  15710. description: Internal Server Error
  15711. schema:
  15712. $ref: '#/definitions/app.Response'
  15713. security:
  15714. - ApiKeyAuth: []
  15715. summary: 查询“我的商品”信息
  15716. tags:
  15717. - 定制【海商报业】
  15718. /HSBY/QueryHsbyMyPackages:
  15719. get:
  15720. parameters:
  15721. - description: 资金账户列表,格式:1,2,3
  15722. in: query
  15723. name: accountIDs
  15724. required: true
  15725. type: string
  15726. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15727. in: query
  15728. name: takeOrderStatus
  15729. type: integer
  15730. produces:
  15731. - application/json
  15732. responses:
  15733. "200":
  15734. description: OK
  15735. schema:
  15736. $ref: '#/definitions/models.HsbyMyPackage'
  15737. "500":
  15738. description: Internal Server Error
  15739. schema:
  15740. $ref: '#/definitions/app.Response'
  15741. security:
  15742. - ApiKeyAuth: []
  15743. summary: 查询我的包裹信息
  15744. tags:
  15745. - 定制【海商报业】
  15746. /HSBY/QueryHsbyPreGoodsDetail:
  15747. get:
  15748. parameters:
  15749. - description: 商品ID
  15750. in: query
  15751. name: goodsID
  15752. required: true
  15753. type: integer
  15754. - description: 资金账户,主要用于获取预售商品购买上限
  15755. in: query
  15756. name: accountID
  15757. type: integer
  15758. produces:
  15759. - application/json
  15760. responses:
  15761. "200":
  15762. description: OK
  15763. schema:
  15764. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15765. "500":
  15766. description: Internal Server Error
  15767. schema:
  15768. $ref: '#/definitions/app.Response'
  15769. security:
  15770. - ApiKeyAuth: []
  15771. summary: 查询一级市场(预售)商品信息详情
  15772. tags:
  15773. - 定制【海商报业】
  15774. /HSBY/QueryHsbyPreGoodses:
  15775. get:
  15776. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15777. parameters:
  15778. - description: 页码
  15779. in: query
  15780. name: page
  15781. type: integer
  15782. - description: 每页条数
  15783. in: query
  15784. name: pagesize
  15785. type: integer
  15786. - description: 市场ID列表,格式:1,2,3
  15787. in: query
  15788. name: marketIDs
  15789. required: true
  15790. type: string
  15791. - description: 目的地(省)ID
  15792. in: query
  15793. name: descProvinceID
  15794. type: integer
  15795. - description: 目的地(市)ID
  15796. in: query
  15797. name: descCityID
  15798. type: integer
  15799. produces:
  15800. - application/json
  15801. responses:
  15802. "200":
  15803. description: OK
  15804. schema:
  15805. $ref: '#/definitions/models.HsbyPreGoods'
  15806. "500":
  15807. description: Internal Server Error
  15808. schema:
  15809. $ref: '#/definitions/app.Response'
  15810. security:
  15811. - ApiKeyAuth: []
  15812. summary: 查询新品上市商品列表(一级市场预售)
  15813. tags:
  15814. - 定制【海商报业】
  15815. /HSBY/QueryHsbySellMyDetails:
  15816. get:
  15817. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15818. parameters:
  15819. - description: 页码
  15820. in: query
  15821. name: page
  15822. type: integer
  15823. - description: 每页条数
  15824. in: query
  15825. name: pagesize
  15826. type: integer
  15827. - description: 资金账户列表,格式:1,2,3
  15828. in: query
  15829. name: accountIDs
  15830. required: true
  15831. type: string
  15832. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15833. in: query
  15834. name: orderType
  15835. type: integer
  15836. produces:
  15837. - application/json
  15838. responses:
  15839. "200":
  15840. description: OK
  15841. schema:
  15842. $ref: '#/definitions/models.HsbySellMyDetail'
  15843. "500":
  15844. description: Internal Server Error
  15845. schema:
  15846. $ref: '#/definitions/app.Response'
  15847. security:
  15848. - ApiKeyAuth: []
  15849. summary: 查询"我的闲置"单据信息
  15850. tags:
  15851. - 定制【海商报业】
  15852. /HSBY/QueryHsbyTopGoodses:
  15853. get:
  15854. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15855. parameters:
  15856. - description: 页码
  15857. in: query
  15858. name: page
  15859. type: integer
  15860. - description: 每页条数
  15861. in: query
  15862. name: pagesize
  15863. type: integer
  15864. - description: 市场ID列表,格式:1,2,3
  15865. in: query
  15866. name: marketIDs
  15867. required: true
  15868. type: string
  15869. - description: 目的地(省)ID
  15870. in: query
  15871. name: descProvinceID
  15872. type: integer
  15873. - description: 目的地(市)ID
  15874. in: query
  15875. name: descCityID
  15876. type: integer
  15877. produces:
  15878. - application/json
  15879. responses:
  15880. "200":
  15881. description: OK
  15882. schema:
  15883. $ref: '#/definitions/models.HsbyTopGoods'
  15884. "500":
  15885. description: Internal Server Error
  15886. schema:
  15887. $ref: '#/definitions/app.Response'
  15888. security:
  15889. - ApiKeyAuth: []
  15890. summary: 查询热卖商品列表(二级市场挂牌点选)
  15891. tags:
  15892. - 定制【海商报业】
  15893. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15894. get:
  15895. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15896. parameters:
  15897. - description: 商品ID
  15898. in: query
  15899. name: goodsID
  15900. required: true
  15901. type: integer
  15902. produces:
  15903. - application/json
  15904. responses:
  15905. "200":
  15906. description: OK
  15907. schema:
  15908. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15909. "500":
  15910. description: Internal Server Error
  15911. schema:
  15912. $ref: '#/definitions/app.Response'
  15913. security:
  15914. - ApiKeyAuth: []
  15915. summary: 查询游客三级市场(商城)商品信息详情
  15916. tags:
  15917. - 定制【海商报业】
  15918. /HSBY/QueryHsbyVisitorMarketGoodses:
  15919. get:
  15920. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15921. parameters:
  15922. - description: 页码
  15923. in: query
  15924. name: page
  15925. type: integer
  15926. - description: 每页条数
  15927. in: query
  15928. name: pagesize
  15929. type: integer
  15930. - description: 市场ID列表,格式:1,2,3
  15931. in: query
  15932. name: marketIDs
  15933. required: true
  15934. type: string
  15935. - description: 类别ID
  15936. in: query
  15937. name: categoryID
  15938. type: integer
  15939. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15940. in: query
  15941. name: goodsIDs
  15942. type: string
  15943. produces:
  15944. - application/json
  15945. responses:
  15946. "200":
  15947. description: OK
  15948. schema:
  15949. $ref: '#/definitions/models.HsbyMarketGoods'
  15950. "500":
  15951. description: Internal Server Error
  15952. schema:
  15953. $ref: '#/definitions/app.Response'
  15954. security:
  15955. - ApiKeyAuth: []
  15956. summary: 查询游客特卖商品列表(三级商城)
  15957. tags:
  15958. - 定制【海商报业】
  15959. /HSBY/QueryMyCollectionOrders:
  15960. get:
  15961. parameters:
  15962. - description: 页码
  15963. in: query
  15964. name: page
  15965. type: integer
  15966. - description: 每页条数
  15967. in: query
  15968. name: pagesize
  15969. type: integer
  15970. - description: 资金账户,格式:1,2,3
  15971. in: query
  15972. name: accountIDs
  15973. required: true
  15974. type: string
  15975. produces:
  15976. - application/json
  15977. responses:
  15978. "200":
  15979. description: OK
  15980. schema:
  15981. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15982. "500":
  15983. description: Internal Server Error
  15984. schema:
  15985. $ref: '#/definitions/app.Response'
  15986. security:
  15987. - ApiKeyAuth: []
  15988. summary: 我的闲置中收款信息查询
  15989. tags:
  15990. - 定制【海商报业】
  15991. /HSBY/QueryMyCouponHolds:
  15992. get:
  15993. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15994. parameters:
  15995. - description: 资金账户列表,格式:1,2,3
  15996. in: query
  15997. name: accountIDs
  15998. required: true
  15999. type: string
  16000. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16001. in: query
  16002. name: holdStatus
  16003. type: string
  16004. produces:
  16005. - application/json
  16006. responses:
  16007. "200":
  16008. description: OK
  16009. schema:
  16010. $ref: '#/definitions/models.MyCouponHold'
  16011. "500":
  16012. description: Internal Server Error
  16013. schema:
  16014. $ref: '#/definitions/app.Response'
  16015. security:
  16016. - ApiKeyAuth: []
  16017. summary: 我的优惠卷持仓查询
  16018. tags:
  16019. - 定制【海商报业】
  16020. /HSBY/QueryMyCoupons:
  16021. get:
  16022. parameters:
  16023. - description: 资金账户列表,格式:1,2,3
  16024. in: query
  16025. name: accountIDs
  16026. required: true
  16027. type: string
  16028. - description: 商品ID, 一般与sellUserID配套传入
  16029. in: query
  16030. name: goodsID
  16031. type: integer
  16032. - description: 卖方UserID
  16033. in: query
  16034. name: sellUserID
  16035. type: integer
  16036. produces:
  16037. - application/json
  16038. responses:
  16039. "200":
  16040. description: OK
  16041. schema:
  16042. $ref: '#/definitions/models.MyCoupon'
  16043. "500":
  16044. description: Internal Server Error
  16045. schema:
  16046. $ref: '#/definitions/app.Response'
  16047. security:
  16048. - ApiKeyAuth: []
  16049. summary: 我的优惠卷查询
  16050. tags:
  16051. - 定制【海商报业】
  16052. /HSBY/QueryMyPayOrders:
  16053. get:
  16054. parameters:
  16055. - description: 页码
  16056. in: query
  16057. name: page
  16058. type: integer
  16059. - description: 每页条数
  16060. in: query
  16061. name: pagesize
  16062. type: integer
  16063. - description: 资金账户列表,格式:1,2,3
  16064. in: query
  16065. name: accountIDs
  16066. required: true
  16067. type: string
  16068. - description: 买方委托单号
  16069. in: query
  16070. name: buyOrderID
  16071. type: integer
  16072. - description: 卖方委托单号
  16073. in: query
  16074. name: sellOrderID
  16075. type: integer
  16076. produces:
  16077. - application/json
  16078. responses:
  16079. "200":
  16080. description: OK
  16081. schema:
  16082. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16083. "500":
  16084. description: Internal Server Error
  16085. schema:
  16086. $ref: '#/definitions/app.Response'
  16087. security:
  16088. - ApiKeyAuth: []
  16089. summary: 获取我的订单中待付款信息
  16090. tags:
  16091. - 定制【海商报业】
  16092. /HSBY/QueryMyUsedCoupon:
  16093. get:
  16094. parameters:
  16095. - description: 资金账户列表,格式:1,2,3
  16096. in: query
  16097. name: accountIDs
  16098. required: true
  16099. type: string
  16100. produces:
  16101. - application/json
  16102. responses:
  16103. "200":
  16104. description: OK
  16105. schema:
  16106. $ref: '#/definitions/models.MyUsedCoupon'
  16107. "500":
  16108. description: Internal Server Error
  16109. schema:
  16110. $ref: '#/definitions/app.Response'
  16111. security:
  16112. - ApiKeyAuth: []
  16113. summary: 已使用优惠卷查询
  16114. tags:
  16115. - 定制【海商报业】
  16116. /HSBY/QueryProvincesAndCities:
  16117. get:
  16118. description: 查询结果只包括二级市场商品已关连的省市信息。
  16119. parameters:
  16120. - description: 省ID
  16121. in: query
  16122. name: provinceID
  16123. type: integer
  16124. produces:
  16125. - application/json
  16126. responses:
  16127. "200":
  16128. description: OK
  16129. schema:
  16130. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16131. "500":
  16132. description: Internal Server Error
  16133. schema:
  16134. $ref: '#/definitions/app.Response'
  16135. security:
  16136. - ApiKeyAuth: []
  16137. summary: 查询省市信息(不包括区)
  16138. tags:
  16139. - 定制【海商报业】
  16140. /HSBY/SetHsbyMyPackagesStatus:
  16141. post:
  16142. parameters:
  16143. - description: 提货单号
  16144. in: query
  16145. name: takeOrderID
  16146. required: true
  16147. type: string
  16148. - description: 资金账号
  16149. in: query
  16150. name: accountID
  16151. required: true
  16152. type: integer
  16153. produces:
  16154. - application/json
  16155. responses:
  16156. "200":
  16157. description: OK
  16158. schema:
  16159. $ref: '#/definitions/app.Response'
  16160. "500":
  16161. description: Internal Server Error
  16162. schema:
  16163. $ref: '#/definitions/app.Response'
  16164. security:
  16165. - ApiKeyAuth: []
  16166. summary: 设置我的包裹已收货状态
  16167. tags:
  16168. - 定制【海商报业】
  16169. /Market/QueryGoodsesByLoginID:
  16170. get:
  16171. parameters:
  16172. - description: 登录账号
  16173. in: query
  16174. name: loginID
  16175. required: true
  16176. type: integer
  16177. - description: 市场ID列表,格式:1,2,3
  16178. in: query
  16179. name: marketIDs
  16180. type: string
  16181. produces:
  16182. - application/json
  16183. responses:
  16184. "200":
  16185. description: OK
  16186. schema:
  16187. $ref: '#/definitions/models.Goods'
  16188. "500":
  16189. description: Internal Server Error
  16190. schema:
  16191. $ref: '#/definitions/app.Response'
  16192. security:
  16193. - ApiKeyAuth: []
  16194. summary: 获取登录账号有权限的商品信息
  16195. tags:
  16196. - 通用市场
  16197. /Market/QueryMarketRun:
  16198. get:
  16199. parameters:
  16200. - description: 市场ID,不传返回所有
  16201. in: query
  16202. name: marketID
  16203. type: integer
  16204. produces:
  16205. - application/json
  16206. responses:
  16207. "200":
  16208. description: OK
  16209. schema:
  16210. $ref: '#/definitions/models.Marketrun'
  16211. "500":
  16212. description: Internal Server Error
  16213. schema:
  16214. $ref: '#/definitions/app.Response'
  16215. security:
  16216. - ApiKeyAuth: []
  16217. summary: 查询市场运行信息
  16218. tags:
  16219. - 通用市场
  16220. /Market/QueryMarketsByLoginID:
  16221. get:
  16222. parameters:
  16223. - description: 登录账号
  16224. in: query
  16225. name: loginID
  16226. required: true
  16227. type: integer
  16228. produces:
  16229. - application/json
  16230. responses:
  16231. "200":
  16232. description: OK
  16233. schema:
  16234. $ref: '#/definitions/models.Market'
  16235. "500":
  16236. description: Internal Server Error
  16237. schema:
  16238. $ref: '#/definitions/app.Response'
  16239. security:
  16240. - ApiKeyAuth: []
  16241. summary: 获取登录账号有权限的市场信息
  16242. tags:
  16243. - 通用市场
  16244. /Order/QueryHisTradeDetail:
  16245. get:
  16246. parameters:
  16247. - description: 资金账户 - 格式:1,2,3
  16248. in: query
  16249. name: accountID
  16250. required: true
  16251. type: string
  16252. - description: 成交单号
  16253. in: query
  16254. name: tradeID
  16255. type: integer
  16256. - description: 委托单号
  16257. in: query
  16258. name: orderID
  16259. type: integer
  16260. - description: 交易模式 - 格式:1,2,3
  16261. in: query
  16262. name: tradeMode
  16263. type: string
  16264. - description: 委托单据类型
  16265. in: query
  16266. name: buildType
  16267. type: integer
  16268. - description: 成交类别 - 格式:1,2,3
  16269. in: query
  16270. name: tradeType
  16271. type: string
  16272. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16273. in: query
  16274. name: startDate
  16275. type: string
  16276. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16277. in: query
  16278. name: endDate
  16279. type: string
  16280. produces:
  16281. - application/json
  16282. responses:
  16283. "200":
  16284. description: OK
  16285. schema:
  16286. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  16287. "500":
  16288. description: Internal Server Error
  16289. schema:
  16290. $ref: '#/definitions/app.Response'
  16291. security:
  16292. - ApiKeyAuth: []
  16293. summary: 历史成交单查询(合约市场)
  16294. tags:
  16295. - 通用单据
  16296. /Order/QueryHisTradeOrderDetail:
  16297. get:
  16298. parameters:
  16299. - description: 资金账户 - 格式:1,2,3
  16300. in: query
  16301. name: accountID
  16302. required: true
  16303. type: string
  16304. - description: 交易模式 - 格式:1,2,3
  16305. in: query
  16306. name: tradeMode
  16307. type: string
  16308. - description: 委托状态 - 格式:1,2,3
  16309. in: query
  16310. name: orderStatus
  16311. type: string
  16312. - description: 委托单号
  16313. in: query
  16314. name: orderID
  16315. type: integer
  16316. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16317. in: query
  16318. name: startDate
  16319. type: string
  16320. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16321. in: query
  16322. name: endDate
  16323. type: string
  16324. produces:
  16325. - application/json
  16326. responses:
  16327. "200":
  16328. description: OK
  16329. schema:
  16330. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  16331. "500":
  16332. description: Internal Server Error
  16333. schema:
  16334. $ref: '#/definitions/app.Response'
  16335. security:
  16336. - ApiKeyAuth: []
  16337. summary: 历史委托单查询请求(合约市场)
  16338. tags:
  16339. - 通用单据
  16340. /Order/QueryTradeDetail:
  16341. get:
  16342. parameters:
  16343. - description: 资金账户 - 格式:1,2,3
  16344. in: query
  16345. name: accountID
  16346. required: true
  16347. type: string
  16348. - description: 成交单号
  16349. in: query
  16350. name: tradeID
  16351. type: integer
  16352. - description: 委托单号
  16353. in: query
  16354. name: orderID
  16355. type: integer
  16356. - description: 交易模式 - 格式:1,2,3
  16357. in: query
  16358. name: tradeMode
  16359. type: string
  16360. - description: 委托单据类型
  16361. in: query
  16362. name: buildType
  16363. type: integer
  16364. - description: 成交类别 - 格式:1,2,3
  16365. in: query
  16366. name: tradeType
  16367. type: string
  16368. produces:
  16369. - application/json
  16370. responses:
  16371. "200":
  16372. description: OK
  16373. schema:
  16374. $ref: '#/definitions/order.QueryTradeDetailRsp'
  16375. "500":
  16376. description: Internal Server Error
  16377. schema:
  16378. $ref: '#/definitions/app.Response'
  16379. security:
  16380. - ApiKeyAuth: []
  16381. summary: 成交单查询(合约市场)
  16382. tags:
  16383. - 通用单据
  16384. /Order/QueryTradeOrderDetail:
  16385. get:
  16386. parameters:
  16387. - description: 资金账户 - 格式:1,2,3
  16388. in: query
  16389. name: accountID
  16390. required: true
  16391. type: string
  16392. - description: 交易模式 - 格式:1,2,3
  16393. in: query
  16394. name: tradeMode
  16395. type: string
  16396. - description: 委托状态 - 格式:1,2,3
  16397. in: query
  16398. name: orderStatus
  16399. type: string
  16400. - description: 委托单号
  16401. in: query
  16402. name: orderID
  16403. type: integer
  16404. produces:
  16405. - application/json
  16406. responses:
  16407. "200":
  16408. description: OK
  16409. schema:
  16410. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  16411. "500":
  16412. description: Internal Server Error
  16413. schema:
  16414. $ref: '#/definitions/app.Response'
  16415. security:
  16416. - ApiKeyAuth: []
  16417. summary: 委托单查询请求(合约市场)
  16418. tags:
  16419. - 通用单据
  16420. /Order/QueryTradePosition:
  16421. get:
  16422. parameters:
  16423. - description: 资金账户 - 格式:1,2,3
  16424. in: query
  16425. name: accountID
  16426. required: true
  16427. type: string
  16428. - description: 交易模式 - 格式:1,2,3
  16429. in: query
  16430. name: tradeMode
  16431. type: string
  16432. produces:
  16433. - application/json
  16434. responses:
  16435. "200":
  16436. description: OK
  16437. schema:
  16438. $ref: '#/definitions/order.QueryTradePositionRsp'
  16439. "500":
  16440. description: Internal Server Error
  16441. schema:
  16442. $ref: '#/definitions/app.Response'
  16443. security:
  16444. - ApiKeyAuth: []
  16445. summary: 持仓汇总查询(合约市场)
  16446. tags:
  16447. - 通用单据
  16448. /Quote/QueryHistoryDatas:
  16449. get:
  16450. parameters:
  16451. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  16452. 日线'
  16453. in: query
  16454. name: cycleType
  16455. required: true
  16456. type: integer
  16457. - description: 商品代码
  16458. in: query
  16459. name: goodsCode
  16460. required: true
  16461. type: string
  16462. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16463. in: query
  16464. name: startTime
  16465. type: string
  16466. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16467. in: query
  16468. name: endTime
  16469. type: string
  16470. - description: 条数
  16471. in: query
  16472. name: count
  16473. type: integer
  16474. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16475. in: query
  16476. name: isAsc
  16477. type: boolean
  16478. produces:
  16479. - application/json
  16480. responses:
  16481. "200":
  16482. description: OK
  16483. schema:
  16484. $ref: '#/definitions/quote.HistoryData'
  16485. "500":
  16486. description: Internal Server Error
  16487. schema:
  16488. $ref: '#/definitions/app.Response'
  16489. security:
  16490. - ApiKeyAuth: []
  16491. summary: 查询行情历史数据
  16492. tags:
  16493. - 行情服务
  16494. /Quote/QueryHistoryTikDatas:
  16495. get:
  16496. parameters:
  16497. - description: 商品代码
  16498. in: query
  16499. name: goodsCode
  16500. required: true
  16501. type: string
  16502. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16503. in: query
  16504. name: startTime
  16505. type: string
  16506. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16507. in: query
  16508. name: endTime
  16509. type: string
  16510. - description: 条数
  16511. in: query
  16512. name: count
  16513. type: integer
  16514. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16515. in: query
  16516. name: isAsc
  16517. type: boolean
  16518. produces:
  16519. - application/json
  16520. responses:
  16521. "200":
  16522. description: OK
  16523. schema:
  16524. $ref: '#/definitions/quote.HistoryTikData'
  16525. "500":
  16526. description: Internal Server Error
  16527. schema:
  16528. $ref: '#/definitions/app.Response'
  16529. security:
  16530. - ApiKeyAuth: []
  16531. summary: 查询行情Tik数据
  16532. tags:
  16533. - 行情服务
  16534. /Quote/QueryQuoteDay:
  16535. get:
  16536. parameters:
  16537. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16538. in: query
  16539. name: goodsCodes
  16540. required: true
  16541. type: string
  16542. produces:
  16543. - application/json
  16544. responses:
  16545. "200":
  16546. description: OK
  16547. schema:
  16548. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16549. "500":
  16550. description: Internal Server Error
  16551. schema:
  16552. $ref: '#/definitions/app.Response'
  16553. security:
  16554. - ApiKeyAuth: []
  16555. summary: 获取商品盘面信息
  16556. tags:
  16557. - 行情服务
  16558. /Quote/QueryTSData:
  16559. get:
  16560. parameters:
  16561. - description: 商品代码
  16562. in: query
  16563. name: goodsCode
  16564. required: true
  16565. type: string
  16566. produces:
  16567. - application/json
  16568. responses:
  16569. "200":
  16570. description: OK
  16571. schema:
  16572. $ref: '#/definitions/quote.QueryTSDataRsp'
  16573. "500":
  16574. description: Internal Server Error
  16575. schema:
  16576. $ref: '#/definitions/app.Response'
  16577. security:
  16578. - ApiKeyAuth: []
  16579. summary: 分时图数据查询
  16580. tags:
  16581. - 行情服务
  16582. /SZDZ/QueryConvertConfig:
  16583. get:
  16584. parameters:
  16585. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16586. 6:交易转花生米(不设置)
  16587. in: query
  16588. name: convertType
  16589. type: integer
  16590. - description: 外部商品代码[JD\PD]
  16591. in: query
  16592. name: outerGoodsCode
  16593. type: string
  16594. - description: 内部商品ID列表[交易],格式:1,2,3
  16595. in: query
  16596. name: innerGoodsIDs
  16597. type: string
  16598. produces:
  16599. - application/json
  16600. responses:
  16601. "200":
  16602. description: OK
  16603. schema:
  16604. $ref: '#/definitions/models.Szdz3convertconfig'
  16605. "500":
  16606. description: Internal Server Error
  16607. schema:
  16608. $ref: '#/definitions/app.Response'
  16609. security:
  16610. - ApiKeyAuth: []
  16611. summary: 查询交易系统转换设置
  16612. tags:
  16613. - 定制【尚志大宗】
  16614. /SZDZ/QueryConvertLog:
  16615. get:
  16616. parameters:
  16617. - description: 资金账户 - 格式:1,2,3
  16618. in: query
  16619. name: accountID
  16620. required: true
  16621. type: string
  16622. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16623. in: query
  16624. name: startDate
  16625. type: string
  16626. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16627. in: query
  16628. name: endDate
  16629. type: string
  16630. produces:
  16631. - application/json
  16632. responses:
  16633. "200":
  16634. description: OK
  16635. schema:
  16636. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16637. "500":
  16638. description: Internal Server Error
  16639. schema:
  16640. $ref: '#/definitions/app.Response'
  16641. security:
  16642. - ApiKeyAuth: []
  16643. summary: 交易系统转换流水查询
  16644. tags:
  16645. - 定制【尚志大宗】
  16646. /SZDZ/QueryGoodsPickup:
  16647. get:
  16648. parameters:
  16649. - description: 资金账户 - 格式:1,2,3
  16650. in: query
  16651. name: accountID
  16652. required: true
  16653. type: string
  16654. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16655. in: query
  16656. name: takeOrderStatus
  16657. type: integer
  16658. produces:
  16659. - application/json
  16660. responses:
  16661. "200":
  16662. description: OK
  16663. schema:
  16664. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16665. "500":
  16666. description: Internal Server Error
  16667. schema:
  16668. $ref: '#/definitions/app.Response'
  16669. security:
  16670. - ApiKeyAuth: []
  16671. summary: 商品提货单查询
  16672. tags:
  16673. - 定制【尚志大宗】
  16674. /SZDZ/QueryRecieptOrder:
  16675. get:
  16676. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16677. parameters:
  16678. - description: 页码
  16679. in: query
  16680. name: page
  16681. type: integer
  16682. - description: 每页条数
  16683. in: query
  16684. name: pagesize
  16685. type: integer
  16686. - description: 商品ID
  16687. in: query
  16688. name: goodsID
  16689. required: true
  16690. type: integer
  16691. - description: 所属账户名称
  16692. in: query
  16693. name: accountName
  16694. type: string
  16695. - description: 市场ID
  16696. in: query
  16697. name: marketID
  16698. type: integer
  16699. - description: 方向 - 0:买 1:卖
  16700. in: query
  16701. name: buyorsell
  16702. required: true
  16703. type: integer
  16704. produces:
  16705. - application/json
  16706. responses:
  16707. "200":
  16708. description: OK
  16709. schema:
  16710. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16711. "500":
  16712. description: Internal Server Error
  16713. schema:
  16714. $ref: '#/definitions/app.Response'
  16715. security:
  16716. - ApiKeyAuth: []
  16717. summary: 点选挂牌委托单据查询(摘牌大厅)
  16718. tags:
  16719. - 定制【尚志大宗】
  16720. /SZDZ/QuerySZDZTradePosition:
  16721. get:
  16722. parameters:
  16723. - description: 资金账户
  16724. in: query
  16725. name: accountID
  16726. required: true
  16727. type: integer
  16728. produces:
  16729. - application/json
  16730. responses:
  16731. "200":
  16732. description: OK
  16733. schema:
  16734. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16735. "500":
  16736. description: Internal Server Error
  16737. schema:
  16738. $ref: '#/definitions/app.Response'
  16739. security:
  16740. - ApiKeyAuth: []
  16741. summary: 持仓汇总查询(尚志大宗)
  16742. tags:
  16743. - 定制【尚志大宗】
  16744. /SZDZ/SearchWhite:
  16745. get:
  16746. parameters:
  16747. - description: 用户ID
  16748. in: query
  16749. name: userID
  16750. required: true
  16751. type: integer
  16752. produces:
  16753. - application/json
  16754. responses:
  16755. "200":
  16756. description: OK
  16757. schema:
  16758. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16759. "500":
  16760. description: Internal Server Error
  16761. schema:
  16762. $ref: '#/definitions/app.Response'
  16763. security:
  16764. - ApiKeyAuth: []
  16765. summary: 搜索白名单
  16766. tags:
  16767. - 定制【尚志大宗】
  16768. /Search/SearchGoodses:
  16769. get:
  16770. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16771. parameters:
  16772. - description: 检索内容
  16773. in: query
  16774. name: content
  16775. required: true
  16776. type: string
  16777. - description: 交易模式,格式:1,2,3
  16778. in: query
  16779. name: tradeModes
  16780. type: string
  16781. produces:
  16782. - application/json
  16783. responses:
  16784. "200":
  16785. description: OK
  16786. schema:
  16787. $ref: '#/definitions/models.SearchGoods'
  16788. "500":
  16789. description: Internal Server Error
  16790. schema:
  16791. $ref: '#/definitions/app.Response'
  16792. summary: 检索商品信息
  16793. tags:
  16794. - 检索服务
  16795. /TaAccount/GetTaAccounts:
  16796. get:
  16797. parameters:
  16798. - description: 登录账户
  16799. in: query
  16800. name: loginID
  16801. required: true
  16802. type: integer
  16803. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16804. in: query
  16805. name: taAccountType
  16806. type: integer
  16807. produces:
  16808. - application/json
  16809. responses:
  16810. "200":
  16811. description: OK
  16812. schema:
  16813. $ref: '#/definitions/models.Taaccount'
  16814. "500":
  16815. description: Internal Server Error
  16816. schema:
  16817. $ref: '#/definitions/app.Response'
  16818. security:
  16819. - ApiKeyAuth: []
  16820. summary: 获取资金账户信息
  16821. tags:
  16822. - 资金账户
  16823. /TaAccount/QueryAmountLog:
  16824. get:
  16825. parameters:
  16826. - description: 页码
  16827. in: query
  16828. name: page
  16829. type: integer
  16830. - description: 每页条数
  16831. in: query
  16832. name: pagesize
  16833. type: integer
  16834. - description: 资金账户 - 格式:1,2,3
  16835. in: query
  16836. name: accountID
  16837. required: true
  16838. type: string
  16839. - description: 资金操作类型 - 格式:1,2,3
  16840. in: query
  16841. name: OperateType
  16842. type: string
  16843. produces:
  16844. - application/json
  16845. responses:
  16846. "200":
  16847. description: OK
  16848. schema:
  16849. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16850. "500":
  16851. description: Internal Server Error
  16852. schema:
  16853. $ref: '#/definitions/app.Response'
  16854. security:
  16855. - ApiKeyAuth: []
  16856. summary: 资金流水查询(当前)
  16857. tags:
  16858. - 资金账户
  16859. /TaAccount/QueryHisAmountLog:
  16860. get:
  16861. parameters:
  16862. - description: 页码
  16863. in: query
  16864. name: page
  16865. type: integer
  16866. - description: 每页条数
  16867. in: query
  16868. name: pagesize
  16869. type: integer
  16870. - description: 资金账户 - 格式:1,2,3
  16871. in: query
  16872. name: accountID
  16873. required: true
  16874. type: string
  16875. - description: 资金操作类型 - 格式:1,2,3
  16876. in: query
  16877. name: OperateType
  16878. type: string
  16879. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16880. in: query
  16881. name: startDate
  16882. type: string
  16883. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16884. in: query
  16885. name: endDate
  16886. type: string
  16887. produces:
  16888. - application/json
  16889. responses:
  16890. "200":
  16891. description: OK
  16892. schema:
  16893. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16894. "500":
  16895. description: Internal Server Error
  16896. schema:
  16897. $ref: '#/definitions/app.Response'
  16898. security:
  16899. - ApiKeyAuth: []
  16900. summary: 资金流水查询(历史)
  16901. tags:
  16902. - 资金账户
  16903. /Trade/QueryRecieptOrder:
  16904. get:
  16905. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16906. parameters:
  16907. - description: 页码
  16908. in: query
  16909. name: page
  16910. type: integer
  16911. - description: 每页条数
  16912. in: query
  16913. name: pagesize
  16914. type: integer
  16915. - description: 商品ID
  16916. in: query
  16917. name: goodsID
  16918. required: true
  16919. type: integer
  16920. - description: 所属账户名称
  16921. in: query
  16922. name: accountName
  16923. type: string
  16924. - description: 市场ID
  16925. in: query
  16926. name: marketID
  16927. type: integer
  16928. - description: 方向 - 0:买 1:卖
  16929. in: query
  16930. name: buyorsell
  16931. required: true
  16932. type: integer
  16933. produces:
  16934. - application/json
  16935. responses:
  16936. "200":
  16937. description: OK
  16938. schema:
  16939. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16940. "500":
  16941. description: Internal Server Error
  16942. schema:
  16943. $ref: '#/definitions/app.Response'
  16944. security:
  16945. - ApiKeyAuth: []
  16946. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16947. tags:
  16948. - 通用交易
  16949. /User/AddMessageBoard:
  16950. post:
  16951. parameters:
  16952. - description: 用户ID
  16953. in: query
  16954. name: userID
  16955. required: true
  16956. type: integer
  16957. - description: 留言信息
  16958. in: query
  16959. name: message
  16960. required: true
  16961. type: string
  16962. - description: 联系电话
  16963. in: query
  16964. name: contactNum
  16965. required: true
  16966. type: string
  16967. produces:
  16968. - application/json
  16969. responses:
  16970. "200":
  16971. description: OK
  16972. schema:
  16973. $ref: '#/definitions/app.Response'
  16974. "500":
  16975. description: Internal Server Error
  16976. schema:
  16977. $ref: '#/definitions/app.Response'
  16978. security:
  16979. - ApiKeyAuth: []
  16980. summary: 添加用户留言板信息
  16981. tags:
  16982. - 用户信息
  16983. /User/AddUserFavoriteGoods:
  16984. post:
  16985. parameters:
  16986. - description: 用户ID
  16987. in: query
  16988. name: userID
  16989. required: true
  16990. type: integer
  16991. - description: 商品ID
  16992. in: query
  16993. name: goodsID
  16994. required: true
  16995. type: integer
  16996. produces:
  16997. - application/json
  16998. responses:
  16999. "200":
  17000. description: OK
  17001. schema:
  17002. $ref: '#/definitions/app.Response'
  17003. "500":
  17004. description: Internal Server Error
  17005. schema:
  17006. $ref: '#/definitions/app.Response'
  17007. security:
  17008. - ApiKeyAuth: []
  17009. summary: 添加用户商品收藏信息
  17010. tags:
  17011. - 用户信息
  17012. /User/GetLoginID:
  17013. get:
  17014. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17015. parameters:
  17016. - description: 登录代码
  17017. in: query
  17018. name: username
  17019. required: true
  17020. type: string
  17021. produces:
  17022. - application/json
  17023. responses:
  17024. "200":
  17025. description: OK
  17026. schema:
  17027. $ref: '#/definitions/app.Response'
  17028. "500":
  17029. description: Internal Server Error
  17030. schema:
  17031. $ref: '#/definitions/app.Response'
  17032. summary: 获取登录ID
  17033. tags:
  17034. - 用户信息
  17035. /User/GetUserAccount:
  17036. get:
  17037. parameters:
  17038. - description: 用户ID
  17039. in: query
  17040. name: userID
  17041. required: true
  17042. type: integer
  17043. produces:
  17044. - application/json
  17045. responses:
  17046. "200":
  17047. description: OK
  17048. schema:
  17049. $ref: '#/definitions/models.Useraccount'
  17050. "500":
  17051. description: Internal Server Error
  17052. schema:
  17053. $ref: '#/definitions/app.Response'
  17054. security:
  17055. - ApiKeyAuth: []
  17056. summary: 获取用户账号信息
  17057. tags:
  17058. - 用户信息
  17059. /User/GetUserAuthStatus:
  17060. get:
  17061. parameters:
  17062. - description: 用户ID
  17063. in: query
  17064. name: userID
  17065. required: true
  17066. type: integer
  17067. produces:
  17068. - application/json
  17069. responses:
  17070. "200":
  17071. description: OK
  17072. schema:
  17073. $ref: '#/definitions/app.Response'
  17074. "500":
  17075. description: Internal Server Error
  17076. schema:
  17077. $ref: '#/definitions/app.Response'
  17078. security:
  17079. - ApiKeyAuth: []
  17080. summary: 获取用户实名认证状态
  17081. tags:
  17082. - 用户信息
  17083. /User/LoginQuery:
  17084. get:
  17085. parameters:
  17086. - description: 登录账号
  17087. in: query
  17088. name: loginID
  17089. required: true
  17090. type: integer
  17091. produces:
  17092. - application/json
  17093. responses:
  17094. "200":
  17095. description: OK
  17096. schema:
  17097. $ref: '#/definitions/user.LoginQueryRsp'
  17098. "500":
  17099. description: Internal Server Error
  17100. schema:
  17101. $ref: '#/definitions/app.Response'
  17102. security:
  17103. - ApiKeyAuth: []
  17104. summary: 账户登录后信息查询
  17105. tags:
  17106. - 用户信息
  17107. /User/QueryMessageBoard:
  17108. get:
  17109. parameters:
  17110. - description: 用户ID
  17111. in: query
  17112. name: userID
  17113. required: true
  17114. type: integer
  17115. produces:
  17116. - application/json
  17117. responses:
  17118. "200":
  17119. description: OK
  17120. schema:
  17121. $ref: '#/definitions/models.Messageboard'
  17122. "500":
  17123. description: Internal Server Error
  17124. schema:
  17125. $ref: '#/definitions/app.Response'
  17126. security:
  17127. - ApiKeyAuth: []
  17128. summary: 获取用户留言板信息
  17129. tags:
  17130. - 用户信息
  17131. /User/QueryUserFavoriteGoodses:
  17132. get:
  17133. parameters:
  17134. - description: 用户ID
  17135. in: query
  17136. name: userID
  17137. required: true
  17138. type: integer
  17139. produces:
  17140. - application/json
  17141. responses:
  17142. "200":
  17143. description: OK
  17144. schema:
  17145. $ref: '#/definitions/models.Userfavoritegoods'
  17146. "500":
  17147. description: Internal Server Error
  17148. schema:
  17149. $ref: '#/definitions/app.Response'
  17150. security:
  17151. - ApiKeyAuth: []
  17152. summary: 获取用户商品收藏信息
  17153. tags:
  17154. - 用户信息
  17155. /User/QueryUserInfo:
  17156. get:
  17157. parameters:
  17158. - description: 用户ID
  17159. in: query
  17160. name: userID
  17161. required: true
  17162. type: integer
  17163. - description: 是否解密
  17164. in: query
  17165. name: isDecrypt
  17166. type: boolean
  17167. produces:
  17168. - application/json
  17169. responses:
  17170. "200":
  17171. description: OK
  17172. schema:
  17173. $ref: '#/definitions/models.Userinfo'
  17174. "500":
  17175. description: Internal Server Error
  17176. schema:
  17177. $ref: '#/definitions/app.Response'
  17178. security:
  17179. - ApiKeyAuth: []
  17180. summary: 获取用户信息
  17181. tags:
  17182. - 用户信息
  17183. /User/QueryUserReferNum:
  17184. get:
  17185. parameters:
  17186. - description: 用户ID
  17187. in: query
  17188. name: userID
  17189. required: true
  17190. type: integer
  17191. produces:
  17192. - application/json
  17193. responses:
  17194. "200":
  17195. description: OK
  17196. schema:
  17197. $ref: '#/definitions/app.Response'
  17198. "500":
  17199. description: Internal Server Error
  17200. schema:
  17201. $ref: '#/definitions/app.Response'
  17202. summary: 获取用户邀请码
  17203. tags:
  17204. - 用户信息
  17205. /User/RemoveUserFavoriteGoods:
  17206. post:
  17207. parameters:
  17208. - description: 用户ID
  17209. in: query
  17210. name: userID
  17211. required: true
  17212. type: integer
  17213. - description: 商品ID
  17214. in: query
  17215. name: goodsID
  17216. required: true
  17217. type: integer
  17218. produces:
  17219. - application/json
  17220. responses:
  17221. "200":
  17222. description: OK
  17223. schema:
  17224. $ref: '#/definitions/app.Response'
  17225. "500":
  17226. description: Internal Server Error
  17227. schema:
  17228. $ref: '#/definitions/app.Response'
  17229. security:
  17230. - ApiKeyAuth: []
  17231. summary: 移除用户商品收藏信息
  17232. tags:
  17233. - 用户信息
  17234. /User/UpdateUserAccountStatus:
  17235. post:
  17236. parameters:
  17237. - description: 用户ID
  17238. in: query
  17239. name: userID
  17240. required: true
  17241. type: integer
  17242. - description: 账户状态 - 4:正常 6:注销(停用)
  17243. in: query
  17244. name: accountStatus
  17245. required: true
  17246. type: integer
  17247. produces:
  17248. - application/json
  17249. responses:
  17250. "200":
  17251. description: OK
  17252. schema:
  17253. $ref: '#/definitions/app.Response'
  17254. "500":
  17255. description: Internal Server Error
  17256. schema:
  17257. $ref: '#/definitions/app.Response'
  17258. security:
  17259. - ApiKeyAuth: []
  17260. summary: 更新用户状态
  17261. tags:
  17262. - 用户信息
  17263. /WRTrade/GetAllDeliveryGoods:
  17264. get:
  17265. produces:
  17266. - application/json
  17267. - application/json
  17268. responses:
  17269. "200":
  17270. description: OK
  17271. schema:
  17272. $ref: '#/definitions/app.Response'
  17273. "500":
  17274. description: Internal Server Error
  17275. schema:
  17276. $ref: '#/definitions/app.Response'
  17277. security:
  17278. - ApiKeyAuth: []
  17279. - ApiKeyAuth: []
  17280. summary: 获取带仓单分类的种类信息
  17281. tags:
  17282. - 仓单贸易
  17283. - 仓单贸易
  17284. securityDefinitions:
  17285. ApiKeyAuth:
  17286. in: header
  17287. name: Authorization
  17288. type: apiKey
  17289. swagger: "2.0"