swagger.yaml 493 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. rulekey:
  35. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  36. type: string
  37. sort:
  38. description: 排序
  39. type: integer
  40. title:
  41. description: 标题
  42. type: string
  43. type:
  44. description: 类型,1:菜单 2:按钮
  45. type: integer
  46. type: object
  47. common.QueryImageConfigsRsp:
  48. properties:
  49. areauserid:
  50. description: 所属机构ID
  51. type: integer
  52. configid:
  53. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  54. type: integer
  55. createdate:
  56. description: 创建时间
  57. type: string
  58. creatorid:
  59. description: 创建人
  60. type: integer
  61. imagepath:
  62. description: 图片
  63. type: string
  64. imagetype:
  65. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  66. type: integer
  67. isshow:
  68. description: 是否展示 - 0:不展示 1:展示
  69. type: integer
  70. marketid:
  71. description: 市场ID
  72. type: integer
  73. modifierid:
  74. description: 操作人
  75. type: integer
  76. sort:
  77. description: 排序
  78. type: integer
  79. title:
  80. description: 标题
  81. type: string
  82. trademode:
  83. description: 交易模式
  84. type: integer
  85. updatedate:
  86. description: 修改时间
  87. type: string
  88. url:
  89. description: 链接(地址或商品ID)
  90. type: string
  91. urltype:
  92. description: 链接类型 - 1:直接地址 2:商品ID
  93. type: integer
  94. required:
  95. - configid
  96. type: object
  97. common.QueryNoticeRsp:
  98. properties:
  99. auditoruserid:
  100. description: 审核人
  101. type: integer
  102. auditremark:
  103. description: 审核备注
  104. type: string
  105. audittime:
  106. description: 审核日期
  107. type: string
  108. autoid:
  109. description: 自增ID
  110. type: integer
  111. content:
  112. description: 内容
  113. type: string
  114. createtime:
  115. description: 创建时间
  116. type: string
  117. creatorid:
  118. description: 建仓人
  119. type: integer
  120. endtime:
  121. description: 结束时间
  122. type: string
  123. istop:
  124. description: 是否置顶 - 0:不置顶 1:置顶
  125. type: integer
  126. msgiconurl:
  127. description: 消息图标Url
  128. type: string
  129. msgtype:
  130. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  131. type: integer
  132. publisher:
  133. description: 消息发布者
  134. type: string
  135. readed:
  136. description: 是否已读
  137. type: boolean
  138. scheduletime:
  139. description: 计划发送时间
  140. type: string
  141. sendtype:
  142. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  143. type: integer
  144. sentstatus:
  145. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  146. type: integer
  147. title:
  148. description: 标题
  149. type: string
  150. userid:
  151. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  152. type: integer
  153. required:
  154. - autoid
  155. type: object
  156. common.QueryProvincesAndCitiesRsp:
  157. properties:
  158. cities:
  159. description: 市
  160. items:
  161. $ref: '#/definitions/models.Division'
  162. type: array
  163. province:
  164. $ref: '#/definitions/models.Division'
  165. description: 省
  166. type: object
  167. type: object
  168. common.QueryTableDefineRsp:
  169. properties:
  170. columns:
  171. description: 列头信息数组
  172. items:
  173. $ref: '#/definitions/models.Tablecolumnconfig'
  174. type: array
  175. remark:
  176. description: Remark
  177. type: string
  178. tabelmenu:
  179. description: 列表菜单
  180. type: string
  181. tablekey:
  182. description: 列表Key
  183. type: string
  184. tablename:
  185. description: 列表名称
  186. type: string
  187. tabletype:
  188. description: 列表类型 - 1:管理端 2:终端
  189. type: integer
  190. required:
  191. - tablekey
  192. type: object
  193. common.QueryTraderMenuRsp:
  194. properties:
  195. OperationMenu:
  196. description: 功能菜单
  197. items:
  198. $ref: '#/definitions/models.OperationPrimaryMenu'
  199. type: array
  200. QuoteMenu:
  201. description: 报价牌分类菜单
  202. items:
  203. $ref: '#/definitions/models.QuotePrimaryMenu'
  204. type: array
  205. type: object
  206. cptrade.Cptradepositioncancel:
  207. properties:
  208. accountid:
  209. description: 申请人账户ID
  210. type: integer
  211. applystatus:
  212. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  213. type: integer
  214. applytime:
  215. description: 申请时间
  216. type: string
  217. cancelid:
  218. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  219. type: integer
  220. cancelqty:
  221. description: 注销数量
  222. type: integer
  223. createtime:
  224. description: 创建时间
  225. type: string
  226. creatorid:
  227. description: 创建人ID
  228. type: integer
  229. creatorname:
  230. description: 创建人
  231. type: string
  232. goodscode:
  233. description: 订单商品代码
  234. type: string
  235. goodsid:
  236. description: 商品ID
  237. type: integer
  238. goodsname:
  239. description: 订单商品名称
  240. type: string
  241. goodunit:
  242. description: 报价单位
  243. type: string
  244. handlestatus:
  245. description: 处理状态
  246. type: integer
  247. marketid:
  248. description: 市场ID
  249. type: integer
  250. marketname:
  251. description: 市场名称
  252. type: string
  253. tradedate:
  254. description: 交易日(yyyyMMdd)
  255. type: string
  256. userid:
  257. description: 申请人ID
  258. type: integer
  259. required:
  260. - cancelid
  261. type: object
  262. cptrade.Cptradepresaleapply:
  263. properties:
  264. accountid:
  265. description: 申请人账户ID
  266. type: integer
  267. applyid:
  268. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  269. type: integer
  270. applyremark:
  271. description: 申请备注
  272. type: string
  273. applystatus:
  274. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  275. type: integer
  276. applytime:
  277. description: 申请时间
  278. type: string
  279. attachmenturl:
  280. description: 附件地址
  281. type: string
  282. endtime:
  283. description: 预售结束时间
  284. type: string
  285. goodscode:
  286. description: 商品代码
  287. type: string
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodsname:
  292. description: 商品名称
  293. type: string
  294. goodunit:
  295. description: 报价单位
  296. type: string
  297. handlestatus:
  298. description: 处理状态
  299. type: integer
  300. marketid:
  301. description: 预售市场ID
  302. type: integer
  303. marketname:
  304. description: 预售市场名称
  305. type: string
  306. presaleqty:
  307. description: 预售数量
  308. type: integer
  309. relatedgoodscode:
  310. description: 关联交易合约代码
  311. type: string
  312. relatedgoodsid:
  313. description: 关联交易合约ID
  314. type: integer
  315. relatedgoodsname:
  316. description: 关联交易合约名称
  317. type: string
  318. starttime:
  319. description: 预售开始时间
  320. type: string
  321. tradedate:
  322. description: 交易日(yyyyMMdd)
  323. type: string
  324. trademode:
  325. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  326. type: integer
  327. userid:
  328. description: 申请人ID
  329. type: integer
  330. required:
  331. - applyid
  332. type: object
  333. cptrade.Cptradeusergoodsdata:
  334. properties:
  335. EnabledQty:
  336. description: 可用量
  337. type: integer
  338. GoodsCode:
  339. description: 订单商品代码
  340. type: string
  341. GoodsName:
  342. description: 订单商品名称
  343. type: string
  344. WRStandardCode:
  345. description: 仓单标准代码
  346. type: string
  347. WRStandardName:
  348. description: 仓单标准名称
  349. type: string
  350. accountid:
  351. description: 账户ID
  352. type: integer
  353. cancelqty:
  354. description: 注销量
  355. type: integer
  356. curpresaleqty:
  357. description: 当前预售量
  358. type: integer
  359. deliveryqty:
  360. description: 交割量
  361. type: integer
  362. freezeamount:
  363. description: 冻结金额
  364. type: number
  365. goodsid:
  366. description: 商品ID
  367. type: integer
  368. goodunit:
  369. description: 报价单位
  370. type: string
  371. hasspotfreeze:
  372. description: 是否有现货冻结 - 0:否 1:有
  373. type: integer
  374. inqty:
  375. description: 转入量(总数量)
  376. type: integer
  377. marketid:
  378. description: 市场ID
  379. type: integer
  380. presaledamount:
  381. description: 已预售总金额
  382. type: integer
  383. presaledqty:
  384. description: 已预售量
  385. type: integer
  386. userid:
  387. description: 用户ID
  388. type: integer
  389. wrstandardid:
  390. description: 仓单标准ID
  391. type: integer
  392. required:
  393. - accountid
  394. - goodsid
  395. type: object
  396. cptrade.QueryCPTradeMyBidRsp:
  397. properties:
  398. accountid:
  399. description: 账户ID[报价币种]
  400. type: integer
  401. goodsid:
  402. description: 商品ID
  403. type: integer
  404. goodunit:
  405. description: 报价单位
  406. type: string
  407. marketid:
  408. description: 市场ID
  409. type: integer
  410. orderid:
  411. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  412. type: integer
  413. orderprice:
  414. description: 委托价格
  415. type: number
  416. orderqty:
  417. description: 委托数量
  418. type: integer
  419. ordertime:
  420. description: 委托时间
  421. type: string
  422. ordertotalprice:
  423. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  424. type: number
  425. ordertotalweight:
  426. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  427. type: integer
  428. totaltotalprice:
  429. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  430. type: number
  431. tradeprice:
  432. description: 成交价格
  433. type: number
  434. tradeqty:
  435. description: 成交数量
  436. type: integer
  437. required:
  438. - accountid
  439. - goodsid
  440. - marketid
  441. - orderid
  442. - orderqty
  443. - ordertime
  444. - tradeprice
  445. - tradeqty
  446. type: object
  447. cptrade.QueryCPTradeOrderDetailRsq:
  448. properties:
  449. accountid:
  450. description: 账户ID[报价币种]
  451. type: integer
  452. buildtype:
  453. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  454. type: integer
  455. buyorsell:
  456. description: 买卖 - 0:买 1:卖
  457. type: integer
  458. cancelorderid:
  459. description: 撤单单号(撤单时填写)
  460. type: integer
  461. cancelqty:
  462. description: 撤单数量
  463. type: integer
  464. clientordertime:
  465. description: 客户端委托时间
  466. type: string
  467. clientticket:
  468. description: 客户端流水号
  469. type: string
  470. clienttype:
  471. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  472. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  473. type: integer
  474. closeexchagechargevalue:
  475. description: 平仓交易所手续费设置值
  476. type: number
  477. closefeealgorithm:
  478. description: 平仓手续费收取方式 1:比率 2:固定
  479. type: integer
  480. closefreezecharge:
  481. description: 平仓冻结手续费(先建后平操作,需要记录)
  482. type: number
  483. closememberchargevalue:
  484. description: 平仓会员手续费设置值
  485. type: number
  486. closeqty:
  487. description: 平仓数量(先建后平操作 需要记录)
  488. type: integer
  489. closetradeqty:
  490. description: 平仓成交数量(先建后平操作,需要记录)
  491. type: integer
  492. closeunfreezecharge:
  493. description: 平仓解冻手续费(先建后平操作,需要记录)
  494. type: number
  495. delistingtype:
  496. description: 摘牌类型 - 1:价格最优 2:点选成交
  497. type: integer
  498. freezecharge:
  499. description: 冻结手续费
  500. type: number
  501. freezemargin:
  502. description: 冻结保证金(冻结交易金额)
  503. type: number
  504. gcaccountid:
  505. description: 账户ID[合约币种]
  506. type: integer
  507. goodsid:
  508. description: 商品ID
  509. type: integer
  510. isconfirmexercise:
  511. description: 是否确认行权- 0:否 1:是
  512. type: integer
  513. ispreexercise:
  514. description: 是否预申报- 0:否 1:是
  515. type: integer
  516. listingselecttype:
  517. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  518. type: integer
  519. marginalgorithm:
  520. description: 保证金收取方式 1:比率 2:固定
  521. type: integer
  522. marginvalue:
  523. description: 即市保证金设置值
  524. type: number
  525. marketid:
  526. description: 市场ID
  527. type: integer
  528. marketmaxsub:
  529. description: 市价最大偏移范围
  530. type: number
  531. memberuserid:
  532. description: 所属会员UserID
  533. type: integer
  534. openexchagechargevalue:
  535. description: 建仓交易所手续费设置值
  536. type: number
  537. openfeealgorithm:
  538. description: 建仓手续费收取方式 1:比率 2:固定
  539. type: integer
  540. openfreezecharge:
  541. description: 开仓冻结手续费(先建后平操作,需要记录)
  542. type: number
  543. openmemberchargevalue:
  544. description: 建仓会员手续费设置值
  545. type: number
  546. openqty:
  547. description: 开仓数量(先建后平操作,需要记录)
  548. type: integer
  549. opentradeqty:
  550. description: 开仓成交数量(先建后平操作,需要记录)
  551. type: integer
  552. openunfreezecharge:
  553. description: 开仓解冻手续费(先建后平操作,需要记录)
  554. type: number
  555. operatetype:
  556. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  557. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  558. 15:管理端协议转让
  559. type: integer
  560. operatorid:
  561. description: 登录账号(LoginID)
  562. type: integer
  563. optiontype:
  564. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  565. type: integer
  566. orderprice:
  567. description: 委托价格
  568. type: number
  569. orderqty:
  570. description: 委托数量
  571. type: integer
  572. ordersrc:
  573. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  574. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  575. type: integer
  576. orderstatus:
  577. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  578. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  579. 16:成交失败违约(荷兰式竞拍专用)
  580. type: integer
  581. ordertime:
  582. description: 委托时间
  583. type: string
  584. preexerciseprice:
  585. description: 预申报价格
  586. type: number
  587. premium:
  588. description: 权利金
  589. type: number
  590. preorderid:
  591. description: 关联预埋单号(止盈止损单时填写)
  592. type: integer
  593. pricemode:
  594. description: '取价方式 - 1:市价 2: 限价'
  595. type: integer
  596. quoteid:
  597. description: 报价单ID
  598. type: integer
  599. relatedid:
  600. description: 关联单号(交割单)
  601. type: integer
  602. retcode:
  603. description: 错误代码
  604. type: integer
  605. sessionid:
  606. description: 会话ID
  607. type: integer
  608. strorderid:
  609. description: 委托单号
  610. type: string
  611. tradedate:
  612. description: 交易日(yyyyMMdd)
  613. type: string
  614. tradeproperty:
  615. description: 交易属性
  616. type: integer
  617. tradeqty:
  618. description: 成交数量
  619. type: integer
  620. unfreezecharge:
  621. description: 解冻手续费
  622. type: number
  623. unfreezemargin:
  624. description: 解冻保证金
  625. type: number
  626. updatetime:
  627. description: 更新时间
  628. type: string
  629. uuid:
  630. description: 发起端唯一id
  631. type: string
  632. validtime:
  633. description: 有效期限
  634. type: string
  635. validtype:
  636. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  637. type: integer
  638. volumetype:
  639. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  640. type: integer
  641. required:
  642. - accountid
  643. - buildtype
  644. - buyorsell
  645. - goodsid
  646. - marketid
  647. - memberuserid
  648. - operatetype
  649. - orderqty
  650. - ordertime
  651. - pricemode
  652. - strorderid
  653. - tradedate
  654. - validtype
  655. type: object
  656. cptrade.QueryMyCPTradeGoodsRsp:
  657. properties:
  658. accountid:
  659. description: 卖方账户ID
  660. type: integer
  661. agreeunit:
  662. description: 合约单位
  663. type: number
  664. applyid:
  665. description: 关联申请ID
  666. type: integer
  667. attachmenturl:
  668. description: 附件地址
  669. type: string
  670. createtime:
  671. description: 创建时间
  672. type: string
  673. currencyid:
  674. description: 报价货币ID
  675. type: integer
  676. decimalplace:
  677. description: 报价小数位
  678. type: integer
  679. endtime:
  680. description: 预售结束时间
  681. type: string
  682. floorprice:
  683. description: 底价[大宗式竞拍]
  684. type: number
  685. goodscode:
  686. description: 商品代码(预售)
  687. type: string
  688. goodsdetail:
  689. description: 详情[大宗]
  690. type: string
  691. goodsid:
  692. description: 商品ID(自增ID SEQ_GOODS)
  693. type: integer
  694. goodsname:
  695. description: 商品名称(预售)
  696. type: string
  697. goodunit:
  698. description: 报价单位
  699. type: string
  700. goodunitid:
  701. description: 报价单位ID
  702. type: integer
  703. marketid:
  704. description: 所属市场ID
  705. type: integer
  706. marketname:
  707. description: 预售市场名称
  708. type: string
  709. presaledamount:
  710. description: 已预售总金额(预售结束时更新)
  711. type: number
  712. presaledqty:
  713. description: 已预售量(预售结束时更新)
  714. type: integer
  715. presalemode:
  716. description: 预售模式 - 1:一口价 2:大宗式竞拍
  717. type: integer
  718. presaleqty:
  719. description: 预售数量
  720. type: integer
  721. refprice:
  722. description: 参考价格[一口价]
  723. type: number
  724. relatedgoodscode:
  725. description: 商品代码(订单)
  726. type: string
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedgoodsname:
  731. description: 商品名称(订单)
  732. type: string
  733. relatedmarketid:
  734. description: 关联交易合约市场ID
  735. type: integer
  736. sellstatus:
  737. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  738. type: integer
  739. startprice:
  740. description: 起拍价[大宗式竞拍]
  741. type: number
  742. starttime:
  743. description: 预售开始时间
  744. type: string
  745. tradedate:
  746. description: 交易日(yyyyMMdd)
  747. type: string
  748. tradeprice:
  749. description: 成交价[大宗]
  750. type: number
  751. userid:
  752. description: 卖方用户ID
  753. type: integer
  754. required:
  755. - goodscode
  756. - goodsid
  757. - goodsname
  758. - marketid
  759. - relatedgoodscode
  760. - relatedgoodsname
  761. type: object
  762. cptrade.QueryPresaleGoodsExRsp:
  763. properties:
  764. attachmenturl:
  765. description: 附件地址
  766. type: string
  767. createtime:
  768. description: 创建时间
  769. type: string
  770. endtime:
  771. description: 预售结束时间
  772. type: string
  773. floorprice:
  774. description: 底价[大宗式竞拍]
  775. type: number
  776. goodsdetail:
  777. description: 详情[大宗]
  778. type: string
  779. goodsid:
  780. description: 商品ID(预售)
  781. type: integer
  782. goodunit:
  783. description: 报价单位
  784. type: string
  785. marketid:
  786. description: 预售市场ID - 根据预售模式选择市场
  787. type: integer
  788. presaledamount:
  789. description: 已预售总金额(预售结束时更新)
  790. type: number
  791. presaledqty:
  792. description: 已预售量(预售结束时更新)
  793. type: integer
  794. presalemode:
  795. description: 预售模式 - 1:一口价 2:大宗式竞拍
  796. type: integer
  797. presaleqty:
  798. description: 预售数量
  799. type: integer
  800. refprice:
  801. description: 参考价格[一口价]
  802. type: number
  803. relatedgoodsid:
  804. description: 关联交易合约ID
  805. type: integer
  806. relatedmarketid:
  807. description: 关联交易合约市场ID
  808. type: integer
  809. sellstatus:
  810. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  811. type: integer
  812. startprice:
  813. description: 起拍价[大宗式竞拍]
  814. type: number
  815. starttime:
  816. description: 预售开始时间
  817. type: string
  818. tradedate:
  819. description: 交易日(yyyyMMdd)
  820. type: string
  821. tradeprice:
  822. description: 成交价[大宗]
  823. type: number
  824. required:
  825. - goodsid
  826. type: object
  827. delivery.QueryDeliveryRelationRsp:
  828. properties:
  829. begindate:
  830. description: 起始日期(yyyyMMdd)
  831. type: string
  832. buytemplateid:
  833. description: 买履约计划模板ID
  834. type: integer
  835. deliverygoodscode:
  836. description: 品种代码
  837. type: string
  838. deliverygoodsid:
  839. description: 交割商品
  840. type: integer
  841. deliverygoodsname:
  842. description: 品种名称
  843. type: string
  844. deliverymode:
  845. description: 交割方式 - 1:点选式 2:申报式
  846. type: integer
  847. deliverypricerule:
  848. description: 交割价规则- 1:行情价 2:建仓价
  849. type: integer
  850. deliverytype:
  851. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  852. type: integer
  853. enddate:
  854. description: 结束日期(yyyyMMdd)
  855. type: string
  856. goodscode:
  857. description: 商品代码
  858. type: string
  859. goodsid:
  860. description: 交易合约ID
  861. type: integer
  862. goodsname:
  863. description: 商品名称
  864. type: string
  865. marketid:
  866. description: 市场ID
  867. type: integer
  868. mindeliveryqty:
  869. description: 最小交割系数(K)
  870. type: integer
  871. p2deliveryprice:
  872. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  873. type: number
  874. p2deliveryratio:
  875. description: P2合约系数(p)
  876. type: integer
  877. p2goodsid:
  878. description: P2合约ID
  879. type: integer
  880. p2pricemode:
  881. description: P2合约价格方式 - 1:商品价 2:固定值
  882. type: integer
  883. pdeliveryprice:
  884. description: P合约价格(商品价时填写0,固定值时填写固定值)
  885. type: number
  886. pdeliveryratio:
  887. description: P合约系数(n)
  888. type: integer
  889. pgoodsid:
  890. description: P合约ID
  891. type: integer
  892. ppricemode:
  893. description: P合约价格方式 - 1:商品价 2:固定值
  894. type: integer
  895. rratio:
  896. description: 兑换系数(R)
  897. type: integer
  898. rratio1:
  899. description: 兑换系数(交易合约)(R1)
  900. type: integer
  901. rratio2:
  902. description: 兑换系数(仓单标准)(R2)
  903. type: integer
  904. selltemplateid:
  905. description: 卖履约计划模板ID
  906. type: integer
  907. wrstandardid:
  908. description: 仓单标准ID
  909. type: integer
  910. xdeliveryratio:
  911. description: 交易合约系数(m)
  912. type: integer
  913. required:
  914. - begindate
  915. - enddate
  916. - goodsid
  917. - mindeliveryqty
  918. - xdeliveryratio
  919. type: object
  920. ermcp.ExposureDetailRsp:
  921. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  922. ermcp.ExposureHedgePosDetailRsp:
  923. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  924. ermcp.ExposureHedgePositionRsp:
  925. $ref: '#/definitions/models.ErmcpHedgePosition'
  926. ermcp.ExposureSpotDetailRsp:
  927. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  928. ermcp.ExposureSpotRsp:
  929. $ref: '#/definitions/models.AreaSpotModel'
  930. ermcp.HisExposureRsp:
  931. $ref: '#/definitions/models.ErmcpHisExposureS'
  932. ermcp.PendingAuditCntRsp:
  933. $ref: '#/definitions/models.ErmcpPendingAudit'
  934. ermcp.QryAreaStockApplyRsp:
  935. $ref: '#/definitions/models.ErmcpAreaStockApply'
  936. ermcp.QryAvalidGPRsp:
  937. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  938. ermcp.QryBusinessDjRsp:
  939. properties:
  940. amount:
  941. description: 点价金额=(点价价格+升贴水)*点价数量
  942. type: number
  943. applyid:
  944. description: 申请人
  945. type: string
  946. applyname:
  947. description: 申请人名称
  948. type: string
  949. applystatus:
  950. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  951. type: integer
  952. applytime:
  953. description: 申请时间
  954. type: string
  955. attachurl:
  956. description: 附件
  957. type: string
  958. auditid:
  959. description: 审核人ID
  960. type: string
  961. auditname:
  962. description: 审核人名称
  963. type: string
  964. audittime:
  965. description: 审核时间
  966. type: string
  967. buyusername:
  968. description: 采购方名称
  969. type: string
  970. contractno:
  971. description: 合同编号
  972. type: string
  973. contractstatus:
  974. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  975. type: integer
  976. contracttype:
  977. description: 现货合同类型 - 1:采购 -1:销售
  978. type: integer
  979. deliverygoodscode:
  980. description: 现货品种代码
  981. type: string
  982. deliverygoodsid:
  983. description: 现货商品ID
  984. type: integer
  985. deliverygoodsname:
  986. description: 现货品种名称
  987. type: string
  988. enumdicname:
  989. description: 单位名称
  990. type: string
  991. goodscode:
  992. description: 点价合约
  993. type: string
  994. goodsname:
  995. description: 商品名称
  996. type: string
  997. operateapplyid:
  998. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  999. type: string
  1000. operateapplytype:
  1001. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1002. type: integer
  1003. pricedPrice:
  1004. description: 点价价格(非必填)
  1005. type: number
  1006. pricedQty:
  1007. description: 点价数量(非必填)
  1008. type: number
  1009. pricemove:
  1010. description: 升贴水
  1011. type: number
  1012. pricetype:
  1013. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1014. type: integer
  1015. relatedid:
  1016. description: 现货合同ID
  1017. type: string
  1018. sellusername:
  1019. description: 销售方名字
  1020. type: string
  1021. userid:
  1022. description: 用户ID
  1023. type: integer
  1024. wrstandardcode:
  1025. description: 品类代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 品类id
  1029. type: integer
  1030. wrstandardname:
  1031. description: 品类名称
  1032. type: string
  1033. type: object
  1034. ermcp.QryBussinessFpRsp:
  1035. properties:
  1036. applyid:
  1037. description: 申请人
  1038. type: string
  1039. applyname:
  1040. description: 申请人名称
  1041. type: string
  1042. applystatus:
  1043. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1044. type: integer
  1045. applytime:
  1046. description: 申请时间
  1047. type: string
  1048. attachurl:
  1049. description: 附件
  1050. type: string
  1051. auditid:
  1052. description: 审核人ID
  1053. type: string
  1054. auditname:
  1055. description: 审核人名称
  1056. type: string
  1057. audittime:
  1058. description: 审核时间
  1059. type: string
  1060. buyusername:
  1061. description: 采购方名称
  1062. type: string
  1063. contractno:
  1064. description: 合同编号
  1065. type: string
  1066. contractstatus:
  1067. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1068. type: integer
  1069. contracttype:
  1070. description: 现货合同类型 - 1:采购 -1:销售
  1071. type: integer
  1072. deliverygoodscode:
  1073. description: 现货品种代码
  1074. type: string
  1075. deliverygoodsid:
  1076. description: 现货商品ID
  1077. type: integer
  1078. deliverygoodsname:
  1079. description: 现货品种名称
  1080. type: string
  1081. enumdicname:
  1082. description: 单位名称
  1083. type: string
  1084. goodscode:
  1085. description: 点价合约
  1086. type: string
  1087. goodsname:
  1088. description: 商品名称
  1089. type: string
  1090. invoiceAmount:
  1091. description: 已开收票金额(销售为开票,采购为收票)
  1092. type: number
  1093. operateapplyid:
  1094. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1095. type: string
  1096. operateapplytype:
  1097. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1098. type: integer
  1099. pricemove:
  1100. description: 升贴水
  1101. type: number
  1102. pricetype:
  1103. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1104. type: integer
  1105. relatedid:
  1106. description: 现货合同ID
  1107. type: string
  1108. sellusername:
  1109. description: 销售方名字
  1110. type: string
  1111. userid:
  1112. description: 用户ID
  1113. type: integer
  1114. wrstandardcode:
  1115. description: 品类代码
  1116. type: string
  1117. wrstandardid:
  1118. description: 品类id
  1119. type: integer
  1120. wrstandardname:
  1121. description: 品类名称
  1122. type: string
  1123. type: object
  1124. ermcp.QryBussinessJsExRsp:
  1125. properties:
  1126. applyid:
  1127. description: 申请人
  1128. type: string
  1129. applyname:
  1130. description: 申请人名称
  1131. type: string
  1132. applystatus:
  1133. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1134. type: integer
  1135. applytime:
  1136. description: 申请时间
  1137. type: string
  1138. attachurl:
  1139. description: 附件
  1140. type: string
  1141. auditid:
  1142. description: 审核人ID
  1143. type: string
  1144. auditname:
  1145. description: 审核人名称
  1146. type: string
  1147. audittime:
  1148. description: 审核时间
  1149. type: string
  1150. buyusername:
  1151. description: 采购方名称
  1152. type: string
  1153. contractno:
  1154. description: 合同编号
  1155. type: string
  1156. contractstatus:
  1157. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1158. type: integer
  1159. contracttype:
  1160. description: 现货合同类型 - 1:采购 -1:销售
  1161. type: integer
  1162. deliverygoodscode:
  1163. description: 现货品种代码
  1164. type: string
  1165. deliverygoodsid:
  1166. description: 现货商品ID
  1167. type: integer
  1168. deliverygoodsname:
  1169. description: 现货品种名称
  1170. type: string
  1171. enumdicname:
  1172. description: 单位名称
  1173. type: string
  1174. goodscode:
  1175. description: 点价合约
  1176. type: string
  1177. goodsname:
  1178. description: 商品名称
  1179. type: string
  1180. operateapplyid:
  1181. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1182. type: string
  1183. operateapplytype:
  1184. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1185. type: integer
  1186. pricemove:
  1187. description: 升贴水
  1188. type: number
  1189. pricetype:
  1190. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1191. type: integer
  1192. reckontype:
  1193. description: 结算类型
  1194. type: string
  1195. reckonvalue:
  1196. description: 值
  1197. type: number
  1198. relatedid:
  1199. description: 现货合同ID
  1200. type: string
  1201. sellusername:
  1202. description: 销售方名字
  1203. type: string
  1204. userid:
  1205. description: 用户ID
  1206. type: integer
  1207. wrstandardcode:
  1208. description: 品类代码
  1209. type: string
  1210. wrstandardid:
  1211. description: 品类id
  1212. type: integer
  1213. wrstandardname:
  1214. description: 品类名称
  1215. type: string
  1216. type: object
  1217. ermcp.QryBussinessJsRsp:
  1218. properties:
  1219. addmargin:
  1220. description: 追加保证金(非必填)
  1221. type: number
  1222. applyid:
  1223. description: 申请人
  1224. type: string
  1225. applyname:
  1226. description: 申请人名称
  1227. type: string
  1228. applystatus:
  1229. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1230. type: integer
  1231. applytime:
  1232. description: 申请时间
  1233. type: string
  1234. attachurl:
  1235. description: 附件
  1236. type: string
  1237. auditid:
  1238. description: 审核人ID
  1239. type: string
  1240. auditname:
  1241. description: 审核人名称
  1242. type: string
  1243. audittime:
  1244. description: 审核时间
  1245. type: string
  1246. buyusername:
  1247. description: 采购方名称
  1248. type: string
  1249. contractno:
  1250. description: 合同编号
  1251. type: string
  1252. contractstatus:
  1253. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1254. type: integer
  1255. contracttype:
  1256. description: 现货合同类型 - 1:采购 -1:销售
  1257. type: integer
  1258. decmargin:
  1259. description: 减少保证金(非必填)
  1260. type: number
  1261. deliverygoodscode:
  1262. description: 现货品种代码
  1263. type: string
  1264. deliverygoodsid:
  1265. description: 现货商品ID
  1266. type: integer
  1267. deliverygoodsname:
  1268. description: 现货品种名称
  1269. type: string
  1270. enumdicname:
  1271. description: 单位名称
  1272. type: string
  1273. goodscode:
  1274. description: 点价合约
  1275. type: string
  1276. goodsname:
  1277. description: 商品名称
  1278. type: string
  1279. operateapplyid:
  1280. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1281. type: string
  1282. operateapplytype:
  1283. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1284. type: integer
  1285. pricemove:
  1286. description: 升贴水
  1287. type: number
  1288. pricetype:
  1289. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1290. type: integer
  1291. reckonadjustamount:
  1292. description: 结算调整金额(非必填)
  1293. type: number
  1294. reckonosamount:
  1295. description: 结算溢短金额(非必填)
  1296. type: number
  1297. reckonotheramount:
  1298. description: 结算其他费用(非必填)
  1299. type: number
  1300. reckonrealqty:
  1301. description: 结算实际数量(非必填)
  1302. type: number
  1303. relatedid:
  1304. description: 现货合同ID
  1305. type: string
  1306. sellusername:
  1307. description: 销售方名字
  1308. type: string
  1309. userid:
  1310. description: 用户ID
  1311. type: integer
  1312. wrstandardcode:
  1313. description: 品类代码
  1314. type: string
  1315. wrstandardid:
  1316. description: 品类id
  1317. type: integer
  1318. wrstandardname:
  1319. description: 品类名称
  1320. type: string
  1321. type: object
  1322. ermcp.QryBussinessKxRsp:
  1323. properties:
  1324. applyid:
  1325. description: 申请人
  1326. type: string
  1327. applyname:
  1328. description: 申请人名称
  1329. type: string
  1330. applystatus:
  1331. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1332. type: integer
  1333. applytime:
  1334. description: 申请时间
  1335. type: string
  1336. attachurl:
  1337. description: 附件
  1338. type: string
  1339. auditid:
  1340. description: 审核人ID
  1341. type: string
  1342. auditname:
  1343. description: 审核人名称
  1344. type: string
  1345. audittime:
  1346. description: 审核时间
  1347. type: string
  1348. buyusername:
  1349. description: 采购方名称
  1350. type: string
  1351. contractno:
  1352. description: 合同编号
  1353. type: string
  1354. contractstatus:
  1355. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1356. type: integer
  1357. contracttype:
  1358. description: 现货合同类型 - 1:采购 -1:销售
  1359. type: integer
  1360. deductamount:
  1361. description: 退款(非必填)
  1362. type: number
  1363. deliverygoodscode:
  1364. description: 现货品种代码
  1365. type: string
  1366. deliverygoodsid:
  1367. description: 现货商品ID
  1368. type: integer
  1369. deliverygoodsname:
  1370. description: 现货品种名称
  1371. type: string
  1372. enumdicname:
  1373. description: 单位名称
  1374. type: string
  1375. goodscode:
  1376. description: 点价合约
  1377. type: string
  1378. goodsname:
  1379. description: 商品名称
  1380. type: string
  1381. kxtype:
  1382. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1383. type: integer
  1384. operateapplyid:
  1385. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1386. type: string
  1387. operateapplytype:
  1388. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1389. type: integer
  1390. payamount:
  1391. description: 收付款(非必填)
  1392. type: number
  1393. pricemove:
  1394. description: 升贴水
  1395. type: number
  1396. pricetype:
  1397. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1398. type: integer
  1399. relatedid:
  1400. description: 现货合同ID
  1401. type: string
  1402. sellusername:
  1403. description: 销售方名字
  1404. type: string
  1405. userid:
  1406. description: 用户ID
  1407. type: integer
  1408. wrstandardcode:
  1409. description: 品类代码
  1410. type: string
  1411. wrstandardid:
  1412. description: 品类id
  1413. type: integer
  1414. wrstandardname:
  1415. description: 品类名称
  1416. type: string
  1417. type: object
  1418. ermcp.QryErmcpRsp:
  1419. $ref: '#/definitions/models.ErmcpModel'
  1420. ermcp.QryGGCovertCfgRsp:
  1421. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1422. ermcp.QryHedgePlanRsp:
  1423. $ref: '#/definitions/models.ErmcpHedgePlan'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryReportDaySpotDetailRsp:
  1433. $ref: '#/definitions/models.ErmcpReportOPLog'
  1434. ermcp.QryReportExposureDayRsp:
  1435. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1436. ermcp.QryReportFinanceDayRsp:
  1437. $ref: '#/definitions/models.ErmcpReportDayFR'
  1438. ermcp.QryReportFinanceKxRsp:
  1439. $ref: '#/definitions/models.ErmcpReportOPLog'
  1440. ermcp.QryReportFinanceMonRsp:
  1441. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1442. ermcp.QryReportSpotDayRsp:
  1443. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1444. ermcp.QryReportSpotMonRsp:
  1445. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1446. ermcp.QryReportSpotMonthDetailRsp:
  1447. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1448. ermcp.QrySpotContractRsp:
  1449. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1450. ermcp.QryUserInfoRsp:
  1451. $ref: '#/definitions/models.ErmcpUserModel'
  1452. ermcp.QryWarehouseRsp:
  1453. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1454. ermcp.QryWrStandardDetailRsp:
  1455. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1456. ermcp.QryWrStandardRsp:
  1457. $ref: '#/definitions/models.ErmcpWrstandard'
  1458. ermcp.QueryAreaStockApplySumRsp:
  1459. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1460. ermcp.QueryErmcpTradePositionRsp:
  1461. properties:
  1462. agreeunit:
  1463. description: 合约单位
  1464. type: number
  1465. buyorsell:
  1466. description: 方向 - 0:买 1:卖
  1467. type: integer
  1468. curpositionqty:
  1469. description: 持仓(总仓数量, 期末头寸)
  1470. type: integer
  1471. curtdposition:
  1472. description: 今仓数量(期末今日头寸)
  1473. type: integer
  1474. curtdpositionenabled:
  1475. description: 今仓可用
  1476. type: integer
  1477. decimalplace:
  1478. description: 报价小数位
  1479. type: integer
  1480. enableqty:
  1481. description: 可用(总仓可用)
  1482. type: integer
  1483. exexchangename:
  1484. description: 外部交易所名称
  1485. type: string
  1486. goodscode:
  1487. description: 商品代码(内部)
  1488. type: string
  1489. goodsid:
  1490. description: 商品ID(自增ID SEQ_GOODS)
  1491. type: integer
  1492. goodsname:
  1493. description: 商品名称
  1494. type: string
  1495. last:
  1496. description: 现价
  1497. type: number
  1498. marketid:
  1499. description: 所属市场ID
  1500. type: integer
  1501. openaverageprice:
  1502. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1503. type: number
  1504. opencost:
  1505. description: 开仓成本
  1506. type: number
  1507. openpl:
  1508. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1509. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1510. type: number
  1511. outgoodscode:
  1512. description: 商品代码(外部)
  1513. type: string
  1514. positionaverageprice:
  1515. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1516. type: number
  1517. positioncost:
  1518. description: 持仓成本
  1519. type: number
  1520. positionpl:
  1521. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1522. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1523. type: number
  1524. positionplrate:
  1525. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1526. type: number
  1527. usedmargin:
  1528. description: 占用保证金
  1529. type: number
  1530. type: object
  1531. ermcp.RealtimeExposurePositionRsp:
  1532. $ref: '#/definitions/models.ErmcpExposurePostion'
  1533. ermcp.RealtimeExposureRsp:
  1534. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1535. erms2.QueryArbitrageStrategyRsp:
  1536. properties:
  1537. applybasis:
  1538. description: 申请基差
  1539. type: number
  1540. asapplyid:
  1541. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1542. type: string
  1543. asname:
  1544. description: 策略名称
  1545. type: string
  1546. asno:
  1547. description: 策略编号
  1548. type: string
  1549. basischangepl:
  1550. description: 基差变动损益[结算更新]
  1551. type: number
  1552. biztype:
  1553. description: 业务类型 - 1:正向套利 -1:反向套利
  1554. type: integer
  1555. closetradedate:
  1556. description: 完结交易日(yyyyMMdd)
  1557. type: string
  1558. curbasis:
  1559. description: 当前基差[结算更新]
  1560. type: number
  1561. deliverygoodsid:
  1562. description: 现货品种ID
  1563. type: integer
  1564. futureavgprice:
  1565. description: 期货建仓均价
  1566. type: number
  1567. futurecloseamount:
  1568. description: 期货平仓金额
  1569. type: number
  1570. futurecloseqty:
  1571. description: 期货平仓数量
  1572. type: number
  1573. futureopenamount:
  1574. description: 期货开仓金额
  1575. type: number
  1576. futureopenqty:
  1577. description: 期货开仓数量
  1578. type: number
  1579. futurepl:
  1580. description: 期货总盈亏[结算更新]
  1581. type: number
  1582. futureqty:
  1583. description: 期货持仓数量
  1584. type: number
  1585. futurequote:
  1586. description: 期货额度
  1587. type: number
  1588. goodsgroupid:
  1589. description: 期货品种ID
  1590. type: integer
  1591. marketid:
  1592. description: 市场ID
  1593. type: integer
  1594. netexposure:
  1595. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1596. type: number
  1597. netexposurepl:
  1598. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1599. type: number
  1600. netexposurerate:
  1601. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1602. type: number
  1603. openbasis:
  1604. description: 建仓基差
  1605. type: number
  1606. pricedspotqty:
  1607. description: 已定价现货数量
  1608. type: number
  1609. pricedspotqtynotax:
  1610. description: 已定价现货不含税数量
  1611. type: number
  1612. remark:
  1613. description: 备注
  1614. type: string
  1615. spotavgprice:
  1616. description: 现货均价
  1617. type: number
  1618. spotbuyamount:
  1619. description: 现货采购金额
  1620. type: number
  1621. spotbuyqty:
  1622. description: 现货采购数量
  1623. type: number
  1624. spotpl:
  1625. description: 现货总盈亏[结算更新]
  1626. type: number
  1627. spotquota:
  1628. description: 现货额度
  1629. type: number
  1630. spotsellamount:
  1631. description: 现货销售金额
  1632. type: number
  1633. spotsellqty:
  1634. description: 现货销售数量
  1635. type: number
  1636. spotusedquota:
  1637. description: 现货占用资金
  1638. type: number
  1639. strategystatus:
  1640. description: 策略状态 - 0:未结束 1:已结束
  1641. type: integer
  1642. totalpl:
  1643. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1644. type: number
  1645. tradedate:
  1646. description: 交易日(yyyyMMdd)
  1647. type: string
  1648. updatetime:
  1649. description: 更新时间
  1650. type: string
  1651. usedquota:
  1652. description: 已占用资金
  1653. type: number
  1654. userid:
  1655. description: 所属机构
  1656. type: integer
  1657. required:
  1658. - asapplyid
  1659. type: object
  1660. erms2.QueryInnerTradeDetailRsp:
  1661. properties:
  1662. accountid:
  1663. description: 账号ID
  1664. type: integer
  1665. agreeunit:
  1666. description: 合约单位
  1667. type: number
  1668. asapplyid:
  1669. description: 策略申请ID
  1670. type: integer
  1671. asname:
  1672. description: 策略名称
  1673. type: string
  1674. asno:
  1675. description: 策略编号
  1676. type: string
  1677. buyorsell:
  1678. description: 方向 - 0:买 1:卖
  1679. type: integer
  1680. channelbuildtype:
  1681. description: 委托单据类型 0:无 1:建仓 2:平仓
  1682. type: integer
  1683. closetype:
  1684. description: 平仓方式 - 0:无 1:平今 2:平昨
  1685. type: integer
  1686. decimalplace:
  1687. description: 报价小数位
  1688. type: integer
  1689. detailtype:
  1690. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1691. type: integer
  1692. exexchangecode:
  1693. description: 外部交易所代码
  1694. type: string
  1695. exexchangename:
  1696. description: 外部交易所名称
  1697. type: string
  1698. goodscode:
  1699. description: 商品代码(合约)
  1700. type: string
  1701. goodsgroupid:
  1702. description: 商品组ID(品种ID)
  1703. type: integer
  1704. goodsgroupname:
  1705. description: 商品组名称(品种)
  1706. type: string
  1707. goodsid:
  1708. description: 商品ID
  1709. type: integer
  1710. goodsname:
  1711. description: 商品名称(合约)
  1712. type: string
  1713. goodunit:
  1714. description: 报价单位
  1715. type: string
  1716. marketid:
  1717. description: 市场ID
  1718. type: integer
  1719. orderid:
  1720. description: 委托单号
  1721. type: string
  1722. outgoodscode:
  1723. description: 商品代码(外部)
  1724. type: string
  1725. relatedouttradeid:
  1726. description: 关联外部成交单ID
  1727. type: string
  1728. remark:
  1729. description: 备注
  1730. type: string
  1731. spotcontractid:
  1732. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1733. type: integer
  1734. spotcontractno:
  1735. description: 现货合同编号
  1736. type: string
  1737. tradeid:
  1738. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1739. type: string
  1740. tradeprice:
  1741. description: 成交价格
  1742. type: number
  1743. tradeqty:
  1744. description: 成交数量
  1745. type: integer
  1746. tradetime:
  1747. description: 成交时间
  1748. type: string
  1749. updatetime:
  1750. description: 更新时间
  1751. type: string
  1752. required:
  1753. - asapplyid
  1754. - buyorsell
  1755. - goodscode
  1756. - goodsgroupid
  1757. - goodsgroupname
  1758. - goodsname
  1759. - tradeid
  1760. type: object
  1761. erms2.QuerySpotContractRsp:
  1762. properties:
  1763. accountid:
  1764. description: 资金账户ID
  1765. type: integer
  1766. areauserid:
  1767. description: 所属机构
  1768. type: integer
  1769. closedate:
  1770. description: 终止日期
  1771. type: string
  1772. closeremark:
  1773. description: 结束备注
  1774. type: string
  1775. closetradedate:
  1776. description: 完结交易日(yyyyMMdd)
  1777. type: string
  1778. closetype:
  1779. description: 终止类型 - 1:违约 2:提前终止
  1780. type: integer
  1781. contractamount:
  1782. description: 合同金额
  1783. type: number
  1784. contractattachment:
  1785. description: 合同附件
  1786. type: string
  1787. contractno:
  1788. description: 现货合同编号
  1789. type: string
  1790. contractqty:
  1791. description: 合同数量(数值) (用于计算)
  1792. type: number
  1793. contractqtychar:
  1794. description: 合同数量\已订价数量 (用于显示)
  1795. type: string
  1796. contractstatus:
  1797. description: 合同状态 - 0:未结束 1:已结束
  1798. type: integer
  1799. contracttype:
  1800. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1801. type: integer
  1802. customeraccountid:
  1803. description: 客户资金账户ID
  1804. type: integer
  1805. customeruserid:
  1806. description: 客户ID
  1807. type: integer
  1808. deliverygoodsdesc:
  1809. description: 品种说明
  1810. type: string
  1811. deliverygoodsid:
  1812. description: 现货品种ID
  1813. type: integer
  1814. handlestatus:
  1815. description: 处理状态
  1816. type: integer
  1817. invoiceatt:
  1818. description: 发票附件
  1819. type: string
  1820. invoicedatetime:
  1821. description: 开收票更新时间
  1822. type: string
  1823. invoiceopentime:
  1824. description: 开票时间
  1825. type: string
  1826. invoiceremark:
  1827. description: 发票备注
  1828. type: string
  1829. invoicestatus:
  1830. description: 开收票状态 - 0:未开票 1:已开票
  1831. type: integer
  1832. lastdate:
  1833. description: 交货时间
  1834. type: string
  1835. marketid:
  1836. description: 市场ID
  1837. type: integer
  1838. paydatetime:
  1839. description: 收付款更新时间
  1840. type: string
  1841. payremark:
  1842. description: 收付款备注
  1843. type: string
  1844. paystatus:
  1845. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1846. type: integer
  1847. positionqty:
  1848. description: 头寸数量 - 合同数量去小数部分
  1849. type: integer
  1850. producttype:
  1851. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1852. type: integer
  1853. relatedqty:
  1854. description: 已关联数量
  1855. type: number
  1856. relatedstatus:
  1857. description: 关联完结状态 - 0:未结束 1:已结束
  1858. type: integer
  1859. remark:
  1860. description: 备注
  1861. type: string
  1862. signdate:
  1863. description: 签订日期
  1864. type: string
  1865. spotcontractid:
  1866. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1867. type: string
  1868. spotdatetime:
  1869. description: 收发货更新时间
  1870. type: string
  1871. spotprice:
  1872. description: 价格
  1873. type: number
  1874. spotremark:
  1875. description: 收发货备注
  1876. type: string
  1877. spotstatus:
  1878. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1879. type: integer
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 业务员用户ID
  1885. type: integer
  1886. warehouseid:
  1887. description: 仓库ID
  1888. type: integer
  1889. wrfactortypeid:
  1890. description: 仓单要素类型ID
  1891. type: integer
  1892. wrstandardid:
  1893. description: 仓单标准ID(SEQ_WRSTANDARD)
  1894. type: integer
  1895. required:
  1896. - spotcontractid
  1897. type: object
  1898. erms3.AddErms2ASApplyReq:
  1899. properties:
  1900. applybasis:
  1901. description: 申请基差
  1902. type: number
  1903. applystatus:
  1904. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1905. type: integer
  1906. asapplyid:
  1907. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1908. type: integer
  1909. asname:
  1910. description: 策略名称
  1911. type: string
  1912. asno:
  1913. description: 策略编号
  1914. type: string
  1915. auditid:
  1916. description: 审核人
  1917. type: integer
  1918. auditremark:
  1919. description: 审核备注
  1920. type: string
  1921. audittime:
  1922. description: 审核时间
  1923. type: string
  1924. biztype:
  1925. description: 业务类型 - 1:正向套利 2:反向套利
  1926. type: integer
  1927. createtime:
  1928. description: 创建时间
  1929. type: string
  1930. creatorid:
  1931. description: 创建人
  1932. type: integer
  1933. deliverygoodsid:
  1934. description: 现货品种ID
  1935. type: integer
  1936. futurequote:
  1937. description: 期货额度
  1938. type: number
  1939. goodsgroupid:
  1940. description: 期货品种ID
  1941. type: integer
  1942. marketid:
  1943. description: 市场ID
  1944. type: integer
  1945. remark:
  1946. description: 备注
  1947. type: string
  1948. spotquota:
  1949. description: 现货额度
  1950. type: number
  1951. tradedate:
  1952. description: 交易日(yyyyMMdd)
  1953. type: string
  1954. userid:
  1955. description: 所属机构
  1956. type: integer
  1957. required:
  1958. - asapplyid
  1959. type: object
  1960. erms3.AddErms2SpotTradeApplyReq:
  1961. properties:
  1962. applyjsondetail:
  1963. description: 申请明细(JSON)
  1964. type: string
  1965. applystatus:
  1966. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1967. type: integer
  1968. areauserid:
  1969. description: 所属机构
  1970. type: integer
  1971. auditid:
  1972. description: 审核人
  1973. type: integer
  1974. auditremark:
  1975. description: 审核备注
  1976. type: string
  1977. audittime:
  1978. description: 审核时间
  1979. type: string
  1980. createtime:
  1981. description: 创建时间
  1982. type: string
  1983. creatorid:
  1984. description: 创建人
  1985. type: integer
  1986. deliverygoodsid:
  1987. description: 现货品种ID
  1988. type: integer
  1989. futureaccountid:
  1990. description: 期货资金账户
  1991. type: integer
  1992. goodsgroupid:
  1993. description: 期货品种
  1994. type: integer
  1995. marketid:
  1996. description: 市场ID
  1997. type: integer
  1998. remark:
  1999. description: 备注
  2000. type: string
  2001. spotaccountid:
  2002. description: 现货资金账户
  2003. type: integer
  2004. spottradeid:
  2005. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2006. type: integer
  2007. spottradename:
  2008. description: 业务名称
  2009. type: string
  2010. spottradeno:
  2011. description: 业务编号
  2012. type: string
  2013. tradedate:
  2014. description: 交易日(yyyyMMdd)
  2015. type: string
  2016. wrstandardid:
  2017. description: 仓单标准ID
  2018. type: integer
  2019. required:
  2020. - spottradeid
  2021. type: object
  2022. erms3.AddSpotContractApplyReq:
  2023. properties:
  2024. accountid:
  2025. description: 资金账户ID
  2026. type: integer
  2027. areauserid:
  2028. description: 所属机构
  2029. type: integer
  2030. contractattachment:
  2031. description: 合同附件
  2032. type: string
  2033. contractno:
  2034. description: 现货合同编号
  2035. type: string
  2036. contracttype:
  2037. description: 现货合同类型 - 1:采购 -1:销售
  2038. type: integer
  2039. creatorid:
  2040. description: 申请人
  2041. type: integer
  2042. customeraccountid:
  2043. description: 客户资金账户ID
  2044. type: integer
  2045. customeruserid:
  2046. description: 客户ID
  2047. type: integer
  2048. details:
  2049. description: 明细
  2050. items:
  2051. $ref: '#/definitions/erms3.SoptContractDetail'
  2052. type: array
  2053. orimargin:
  2054. description: 初始保证金
  2055. type: number
  2056. remark:
  2057. description: 备注
  2058. type: string
  2059. signdate:
  2060. description: 签订日期
  2061. type: string
  2062. required:
  2063. - accountid
  2064. - areauserid
  2065. - contractno
  2066. - contracttype
  2067. - customeraccountid
  2068. - customeruserid
  2069. - details
  2070. - orimargin
  2071. - signdate
  2072. type: object
  2073. erms3.AddSpotContractApplyRsp:
  2074. properties:
  2075. contractno:
  2076. description: 现货合同编号
  2077. type: string
  2078. spotcontractid:
  2079. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2080. type: integer
  2081. required:
  2082. - contractno
  2083. type: object
  2084. erms3.AddUserInfoApplyReq:
  2085. properties:
  2086. accountid:
  2087. description: 交易系统帐号Id (加密存储)
  2088. type: integer
  2089. areacode:
  2090. description: 机构代码
  2091. type: string
  2092. areaid:
  2093. description: 机构Id
  2094. type: integer
  2095. attachment1:
  2096. description: 附件1
  2097. type: string
  2098. attachment2:
  2099. description: 附件2
  2100. type: string
  2101. attachment3:
  2102. description: 附件3
  2103. type: string
  2104. attachment4:
  2105. description: 附件4
  2106. type: string
  2107. attachment5:
  2108. description: 附件5
  2109. type: string
  2110. auditedby:
  2111. description: 审核人
  2112. type: string
  2113. auditime:
  2114. description: 审核时间
  2115. type: string
  2116. bankaccount:
  2117. description: 银行帐号 (加密存储)
  2118. type: string
  2119. bankaccountname:
  2120. description: 收款人名称
  2121. type: string
  2122. bankcardbackphotourl:
  2123. description: 银行卡背面照地址
  2124. type: string
  2125. bankcardfrontphotourl:
  2126. description: 银行卡正面照地址
  2127. type: string
  2128. bankid:
  2129. description: 银行编码
  2130. type: string
  2131. bankname:
  2132. description: 银行名称
  2133. type: string
  2134. bankpictureurl:
  2135. description: 银行卡正面地址
  2136. type: string
  2137. biznature:
  2138. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2139. type: integer
  2140. bizscope:
  2141. description: 企业经营范围(企业)
  2142. type: string
  2143. biztype:
  2144. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2145. type: integer
  2146. brokerid:
  2147. description: 经纪人ID(加密存储)
  2148. type: string
  2149. cardaddress:
  2150. description: 证件地址 (加密存储)
  2151. type: string
  2152. cardbackphotourl:
  2153. description: 背面证件照地址
  2154. type: string
  2155. cardfrontphotourl:
  2156. description: 正面证件照地址
  2157. type: string
  2158. cardnum:
  2159. description: 证件号码 (加密存储)
  2160. type: string
  2161. cardtype:
  2162. description: 证件类型
  2163. type: integer
  2164. cityid:
  2165. description: 市
  2166. type: integer
  2167. company:
  2168. description: 公司(个人)
  2169. type: string
  2170. contactcardbackphotourl:
  2171. description: 联系人证件背面图片地址
  2172. type: string
  2173. contactcardfrontphotourl:
  2174. description: 联系人证件正面图片地址
  2175. type: string
  2176. contactname:
  2177. description: 联系人
  2178. type: string
  2179. countryid:
  2180. description: 国家
  2181. type: integer
  2182. createtime:
  2183. description: 开户申请时间
  2184. type: string
  2185. cusbankid:
  2186. description: 签约类型
  2187. type: string
  2188. cusbankname:
  2189. description: 签约类型名称
  2190. type: string
  2191. customername:
  2192. description: 客户名称(企业名称)
  2193. type: string
  2194. districtid:
  2195. description: 地区
  2196. type: integer
  2197. email:
  2198. description: Email地址(加密存储)
  2199. type: string
  2200. halfbodyphotourl:
  2201. description: 半身照地址
  2202. type: string
  2203. headurl:
  2204. description: 头像地址
  2205. type: string
  2206. ipaddress:
  2207. description: IP地址
  2208. type: string
  2209. isvalidate:
  2210. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2211. type: string
  2212. legalcardbackphotourl:
  2213. description: 法人身份证背面照地址
  2214. type: string
  2215. legalcardfrontphotourl:
  2216. description: 法人身份证正面照地址
  2217. type: string
  2218. legalpersonname:
  2219. description: 法人姓名(企业)
  2220. type: string
  2221. logincode:
  2222. description: 登录帐号 (加密存储)
  2223. type: string
  2224. memberareaid:
  2225. description: 所属会员ID
  2226. type: integer
  2227. mobile2:
  2228. description: 手机号码[明文-尚志]
  2229. type: string
  2230. mobilephone:
  2231. description: 手机号码 (加密存储)
  2232. type: string
  2233. modifiedby:
  2234. description: 修改人帐号
  2235. type: integer
  2236. modifiedtime:
  2237. description: 修改时间
  2238. type: string
  2239. nickname:
  2240. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2241. type: string
  2242. openmode:
  2243. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2244. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2245. type: integer
  2246. otherurl:
  2247. description: 其它图片地址[使用分号分隔]
  2248. type: string
  2249. postalcode:
  2250. description: 邮政编码
  2251. type: string
  2252. provinceid:
  2253. description: 省
  2254. type: integer
  2255. proxystatementurl:
  2256. description: 授权委托书
  2257. type: string
  2258. qq:
  2259. description: QQ(加密存储
  2260. type: string
  2261. referral:
  2262. description: 推荐人编码
  2263. type: string
  2264. remark:
  2265. description: 备注
  2266. type: string
  2267. removebeforestatus:
  2268. description: REMOVEBEFORESTATUS
  2269. type: integer
  2270. sex:
  2271. description: 性别 - 0:女 1:男
  2272. type: integer
  2273. signedstatus:
  2274. description: 账户一号签签约状态
  2275. type: integer
  2276. signpdfurl:
  2277. description: 签约pdf文件
  2278. type: string
  2279. subbranch:
  2280. description: 开户支行
  2281. type: string
  2282. telphone:
  2283. description: 联系电话(加密存储)
  2284. type: string
  2285. userid:
  2286. description: 用户ID(自增ID)
  2287. type: integer
  2288. userinfotype:
  2289. description: 用户信息类型 - 1:个人 2:企业
  2290. type: integer
  2291. username:
  2292. description: 用户姓名
  2293. type: string
  2294. userstate:
  2295. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2296. type: integer
  2297. usertype:
  2298. description: 用户类型 - 1:投资者 2:机构
  2299. type: integer
  2300. videourl:
  2301. description: 视频地址
  2302. type: string
  2303. wechat:
  2304. description: 微信号 (加密存储)
  2305. type: string
  2306. required:
  2307. - userid
  2308. type: object
  2309. erms3.CustomerInfo:
  2310. properties:
  2311. accountids:
  2312. description: 资金账户ID列表
  2313. items:
  2314. type: integer
  2315. type: array
  2316. customername:
  2317. description: 名称(企业名称)
  2318. type: string
  2319. mobile:
  2320. description: 手机号码
  2321. type: string
  2322. userid:
  2323. description: 用户ID
  2324. type: integer
  2325. required:
  2326. - userid
  2327. type: object
  2328. erms3.ModifyUserInfoApplyReq:
  2329. properties:
  2330. accountid:
  2331. description: 交易系统帐号Id (加密存储)
  2332. type: integer
  2333. areacode:
  2334. description: 机构代码
  2335. type: string
  2336. areaid:
  2337. description: 机构Id
  2338. type: integer
  2339. attachment1:
  2340. description: 附件1
  2341. type: string
  2342. attachment2:
  2343. description: 附件2
  2344. type: string
  2345. attachment3:
  2346. description: 附件3
  2347. type: string
  2348. attachment4:
  2349. description: 附件4
  2350. type: string
  2351. attachment5:
  2352. description: 附件5
  2353. type: string
  2354. auditedby:
  2355. description: 审核人
  2356. type: string
  2357. auditime:
  2358. description: 审核时间
  2359. type: string
  2360. bankaccount:
  2361. description: 银行帐号 (加密存储)
  2362. type: string
  2363. bankaccountname:
  2364. description: 收款人名称
  2365. type: string
  2366. bankcardbackphotourl:
  2367. description: 银行卡背面照地址
  2368. type: string
  2369. bankcardfrontphotourl:
  2370. description: 银行卡正面照地址
  2371. type: string
  2372. bankid:
  2373. description: 银行编码
  2374. type: string
  2375. bankname:
  2376. description: 银行名称
  2377. type: string
  2378. bankpictureurl:
  2379. description: 银行卡正面地址
  2380. type: string
  2381. biznature:
  2382. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2383. type: integer
  2384. bizscope:
  2385. description: 企业经营范围(企业)
  2386. type: string
  2387. biztype:
  2388. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2389. type: integer
  2390. brokerid:
  2391. description: 经纪人ID(加密存储)
  2392. type: string
  2393. cardaddress:
  2394. description: 证件地址 (加密存储)
  2395. type: string
  2396. cardbackphotourl:
  2397. description: 背面证件照地址
  2398. type: string
  2399. cardfrontphotourl:
  2400. description: 正面证件照地址
  2401. type: string
  2402. cardnum:
  2403. description: 证件号码 (加密存储)
  2404. type: string
  2405. cardtype:
  2406. description: 证件类型
  2407. type: integer
  2408. cityid:
  2409. description: 市
  2410. type: integer
  2411. company:
  2412. description: 公司(个人)
  2413. type: string
  2414. contactcardbackphotourl:
  2415. description: 联系人证件背面图片地址
  2416. type: string
  2417. contactcardfrontphotourl:
  2418. description: 联系人证件正面图片地址
  2419. type: string
  2420. contactname:
  2421. description: 联系人
  2422. type: string
  2423. countryid:
  2424. description: 国家
  2425. type: integer
  2426. createtime:
  2427. description: 开户申请时间
  2428. type: string
  2429. cusbankid:
  2430. description: 签约类型
  2431. type: string
  2432. cusbankname:
  2433. description: 签约类型名称
  2434. type: string
  2435. customername:
  2436. description: 客户名称(企业名称)
  2437. type: string
  2438. districtid:
  2439. description: 地区
  2440. type: integer
  2441. email:
  2442. description: Email地址(加密存储)
  2443. type: string
  2444. halfbodyphotourl:
  2445. description: 半身照地址
  2446. type: string
  2447. headurl:
  2448. description: 头像地址
  2449. type: string
  2450. ipaddress:
  2451. description: IP地址
  2452. type: string
  2453. isvalidate:
  2454. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2455. type: string
  2456. legalcardbackphotourl:
  2457. description: 法人身份证背面照地址
  2458. type: string
  2459. legalcardfrontphotourl:
  2460. description: 法人身份证正面照地址
  2461. type: string
  2462. legalpersonname:
  2463. description: 法人姓名(企业)
  2464. type: string
  2465. logincode:
  2466. description: 登录帐号 (加密存储)
  2467. type: string
  2468. memberareaid:
  2469. description: 所属会员ID
  2470. type: integer
  2471. mobile2:
  2472. description: 手机号码[明文-尚志]
  2473. type: string
  2474. mobilephone:
  2475. description: 手机号码 (加密存储)
  2476. type: string
  2477. modifiedby:
  2478. description: 修改人帐号
  2479. type: integer
  2480. modifiedtime:
  2481. description: 修改时间
  2482. type: string
  2483. nickname:
  2484. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2485. type: string
  2486. openmode:
  2487. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2488. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2489. type: integer
  2490. otherurl:
  2491. description: 其它图片地址[使用分号分隔]
  2492. type: string
  2493. postalcode:
  2494. description: 邮政编码
  2495. type: string
  2496. provinceid:
  2497. description: 省
  2498. type: integer
  2499. proxystatementurl:
  2500. description: 授权委托书
  2501. type: string
  2502. qq:
  2503. description: QQ(加密存储
  2504. type: string
  2505. referral:
  2506. description: 推荐人编码
  2507. type: string
  2508. remark:
  2509. description: 备注
  2510. type: string
  2511. removebeforestatus:
  2512. description: REMOVEBEFORESTATUS
  2513. type: integer
  2514. sex:
  2515. description: 性别 - 0:女 1:男
  2516. type: integer
  2517. signedstatus:
  2518. description: 账户一号签签约状态
  2519. type: integer
  2520. signpdfurl:
  2521. description: 签约pdf文件
  2522. type: string
  2523. subbranch:
  2524. description: 开户支行
  2525. type: string
  2526. telphone:
  2527. description: 联系电话(加密存储)
  2528. type: string
  2529. userid:
  2530. description: 用户ID(自增ID)
  2531. type: integer
  2532. userinfotype:
  2533. description: 用户信息类型 - 1:个人 2:企业
  2534. type: integer
  2535. username:
  2536. description: 用户姓名
  2537. type: string
  2538. userstate:
  2539. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2540. type: integer
  2541. usertype:
  2542. description: 用户类型 - 1:投资者 2:机构
  2543. type: integer
  2544. videourl:
  2545. description: 视频地址
  2546. type: string
  2547. wechat:
  2548. description: 微信号 (加密存储)
  2549. type: string
  2550. required:
  2551. - userid
  2552. type: object
  2553. erms3.QryAuditContractRsp:
  2554. properties:
  2555. accountid:
  2556. description: 交易员ID
  2557. type: string
  2558. applystatus:
  2559. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2560. type: integer
  2561. curdeliveryqty:
  2562. description: 未交收量
  2563. type: integer
  2564. customername:
  2565. description: 采购方ID
  2566. type: string
  2567. deliverygoodsid:
  2568. description: 品种ID
  2569. type: string
  2570. deliveryqty:
  2571. description: 交收量
  2572. type: integer
  2573. enumdicname:
  2574. description: 单位名称
  2575. type: string
  2576. matchaccountid:
  2577. description: 业务员ID
  2578. type: string
  2579. matchcustomername:
  2580. description: 销售方ID
  2581. type: string
  2582. pricedqty:
  2583. description: 定价量
  2584. type: number
  2585. signdate:
  2586. description: 签订日期
  2587. type: string
  2588. spotcontractid:
  2589. description: 合同ID
  2590. type: string
  2591. totaldqty:
  2592. description: 合同量
  2593. type: number
  2594. unpricedqty:
  2595. description: 未定价量
  2596. type: number
  2597. wrstandardname:
  2598. description: 商品名称
  2599. type: string
  2600. required:
  2601. - matchcustomername
  2602. - spotcontractid
  2603. type: object
  2604. erms3.QryPendingBizRsp:
  2605. $ref: '#/definitions/models.PendingAuditBizModel'
  2606. erms3.QueryBusinessInfoRsp:
  2607. properties:
  2608. businessid:
  2609. description: 业务ID.
  2610. type: integer
  2611. buyamount:
  2612. description: 采购额.
  2613. type: number
  2614. buyqty:
  2615. description: 采购量.
  2616. type: string
  2617. futurepl:
  2618. description: 期货盈亏.
  2619. type: number
  2620. futureqty:
  2621. description: 期货敞口.
  2622. type: string
  2623. goodsid:
  2624. description: 商品名称/商品代码.
  2625. type: string
  2626. hedgingqty:
  2627. description: 套保量.
  2628. type: string
  2629. sellamount:
  2630. description: 销售额.
  2631. type: number
  2632. sellqty:
  2633. description: 销售量.
  2634. type: string
  2635. spotmarketvalue:
  2636. description: 现货市值.
  2637. type: number
  2638. spotpl:
  2639. description: 浮动权益.
  2640. type: number
  2641. spotqty:
  2642. description: 现货量.
  2643. type: string
  2644. statu:
  2645. description: 状态,0-未结束 1-已结束.
  2646. type: integer
  2647. totalpl:
  2648. description: 总盈亏.
  2649. type: number
  2650. totalqty:
  2651. description: 总敞口.
  2652. type: string
  2653. type:
  2654. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2655. type: integer
  2656. type: object
  2657. erms3.QuerySpotContractAppleFormRsp:
  2658. properties:
  2659. goodses:
  2660. description: 合约列表
  2661. items:
  2662. $ref: '#/definitions/models.GoodsIDAndName'
  2663. type: array
  2664. oppositeusers:
  2665. description: 对方账号列表
  2666. items:
  2667. $ref: '#/definitions/erms3.CustomerInfo'
  2668. type: array
  2669. ouruser:
  2670. $ref: '#/definitions/erms3.CustomerInfo'
  2671. description: 我方账号
  2672. type: object
  2673. warehouseinfos:
  2674. description: 仓库信息列表
  2675. items:
  2676. $ref: '#/definitions/models.Warehouseinfo'
  2677. type: array
  2678. wrstandards:
  2679. description: 仓单标准列表
  2680. items:
  2681. $ref: '#/definitions/models.WRStandardInfo'
  2682. type: array
  2683. type: object
  2684. erms3.QuerySpotContractInfoRsp:
  2685. properties:
  2686. accountid:
  2687. description: 表示交易员ID.
  2688. type: integer
  2689. curdeliveryqty:
  2690. description: 表示未交收量.
  2691. type: number
  2692. customername:
  2693. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2694. type: string
  2695. deliverygoodsid:
  2696. description: 表示品种ID.
  2697. type: string
  2698. deliveryqty:
  2699. description: 表示交收量.
  2700. type: number
  2701. matchaccountid:
  2702. description: 表示业务员ID.
  2703. type: integer
  2704. matchcustomername:
  2705. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2706. type: string
  2707. priceqty:
  2708. description: 表示定价量.
  2709. type: number
  2710. relatedbizid:
  2711. description: 表示业务ID.
  2712. type: string
  2713. signdate:
  2714. description: 表示签订日期.
  2715. type: string
  2716. spotcontractid:
  2717. description: 合同ID
  2718. type: string
  2719. status:
  2720. description: 表示状态,0-履约中 1-已完成.
  2721. type: integer
  2722. totalqty:
  2723. description: 表示合同量.
  2724. type: number
  2725. unpricedqty:
  2726. description: 表示未定价量.
  2727. type: number
  2728. wrstandardname:
  2729. description: 表示商品ID.
  2730. type: string
  2731. type: object
  2732. erms3.QueryUserInfoAppliesRsp:
  2733. properties:
  2734. biznature:
  2735. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2736. type: integer
  2737. contactname:
  2738. description: 联系人
  2739. type: string
  2740. createtime:
  2741. description: 开户申请时间
  2742. type: string
  2743. userid:
  2744. description: 用户ID(自增ID)
  2745. type: integer
  2746. userinfotype:
  2747. description: 用户信息类型 - 1:个人 2:企业
  2748. type: integer
  2749. username:
  2750. description: 用户姓名
  2751. type: string
  2752. userstate:
  2753. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2754. type: integer
  2755. required:
  2756. - userid
  2757. type: object
  2758. erms3.QueryUserInfosRsp:
  2759. properties:
  2760. biznature:
  2761. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2762. type: integer
  2763. contactname:
  2764. description: 联系人
  2765. type: string
  2766. customername:
  2767. description: 客户名称(企业名称)
  2768. type: string
  2769. userid:
  2770. description: 用户ID
  2771. type: integer
  2772. userinfotype:
  2773. description: 用户信息类型 - 1:个人 2:企业
  2774. type: integer
  2775. userstatus:
  2776. description: 用户状态 - 1:正常 2:注销
  2777. type: integer
  2778. required:
  2779. - userid
  2780. type: object
  2781. erms3.SoptContractDetail:
  2782. properties:
  2783. deliverygoodsdesc:
  2784. description: 现货品种说明
  2785. type: string
  2786. deliverygoodsid:
  2787. description: 现货品种ID
  2788. type: integer
  2789. deliverygoodsname:
  2790. description: 现货品种名称
  2791. type: string
  2792. pointdesc:
  2793. description: 点价描述
  2794. type: string
  2795. producttype:
  2796. description: 产品类型 1:标准仓单 2:等标 3:非标
  2797. type: integer
  2798. producttypename:
  2799. description: 产品类型名称
  2800. type: string
  2801. spotPointOrderVoList:
  2802. description: 点价列表
  2803. items:
  2804. $ref: '#/definitions/erms3.SpotPointOrder'
  2805. type: array
  2806. spotPriceOrderList:
  2807. description: 定价列表
  2808. items:
  2809. $ref: '#/definitions/erms3.SpotPriceOrder'
  2810. type: array
  2811. unitname:
  2812. description: 单位名称
  2813. type: string
  2814. warehouseid:
  2815. description: 仓库ID
  2816. type: integer
  2817. warehousename:
  2818. description: 仓库名称
  2819. type: string
  2820. wrstandardid:
  2821. description: 交易标的ID
  2822. type: integer
  2823. wrstandardname:
  2824. description: 交易标的名称
  2825. type: string
  2826. required:
  2827. - deliverygoodsid
  2828. - producttype
  2829. - unitname
  2830. - warehouseid
  2831. - wrstandardid
  2832. - wrstandardname
  2833. type: object
  2834. erms3.SpotPointOrder:
  2835. properties:
  2836. basic:
  2837. description: 基差
  2838. type: number
  2839. deliveryenddate:
  2840. description: 交收结束日期
  2841. type: string
  2842. deliverystartdate:
  2843. description: 交收开始日期
  2844. type: string
  2845. enddate:
  2846. description: 点价结束日期
  2847. type: string
  2848. goodsid:
  2849. description: 商品ID
  2850. type: integer
  2851. goodsname:
  2852. description: 商品名称
  2853. type: string
  2854. qty:
  2855. description: 数量
  2856. type: number
  2857. startdate:
  2858. description: 点价开始日期
  2859. type: string
  2860. required:
  2861. - basic
  2862. - goodsid
  2863. - qty
  2864. type: object
  2865. erms3.SpotPriceOrder:
  2866. properties:
  2867. amount:
  2868. description: 金额
  2869. type: number
  2870. deliveryenddate:
  2871. description: 交收结束日期
  2872. type: string
  2873. deliverystartdate:
  2874. description: 交收开始日期
  2875. type: string
  2876. price:
  2877. description: 价格
  2878. type: number
  2879. qty:
  2880. description: 数量
  2881. type: number
  2882. required:
  2883. - amount
  2884. - price
  2885. - qty
  2886. type: object
  2887. hsby.GetHsbyMyCountRsp:
  2888. properties:
  2889. myCouponCount:
  2890. description: 我的优惠卷数量
  2891. type: integer
  2892. myOrderDetailListingCount:
  2893. description: 我的订单求购中数量
  2894. type: integer
  2895. myOrderDetailPreCount:
  2896. description: 我的订单抢购中数量
  2897. type: integer
  2898. myPackageUnReceiveCount:
  2899. description: 我的包裹待收货数量
  2900. type: integer
  2901. myPackageUnSendCount:
  2902. description: 我的包裹待发货数量
  2903. type: integer
  2904. myPayOrderCount:
  2905. description: 我的订单待付款数量
  2906. type: integer
  2907. type: object
  2908. hsby.QueryProvincesAndCitiesRsp:
  2909. properties:
  2910. cities:
  2911. description: 市
  2912. items:
  2913. $ref: '#/definitions/models.Division'
  2914. type: array
  2915. province:
  2916. $ref: '#/definitions/models.Division'
  2917. description: 省
  2918. type: object
  2919. type: object
  2920. models.AreaSpotModel:
  2921. properties:
  2922. areauserid:
  2923. description: 所属机构
  2924. type: integer
  2925. decreaseqty:
  2926. description: 减少数量=-(销售已定价数量+采购计划数量)
  2927. type: number
  2928. increaseqty:
  2929. description: 增加数量=销售计划数量+采购已定价数量
  2930. type: number
  2931. oritoalspotqty:
  2932. description: 昨日数量
  2933. type: number
  2934. totalspotqty:
  2935. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2936. type: number
  2937. updatetime:
  2938. description: 更新时间
  2939. type: string
  2940. wrstandardcode:
  2941. description: 现货品种代码
  2942. type: string
  2943. wrstandardid:
  2944. description: 现货商品ID
  2945. type: integer
  2946. wrstandardname:
  2947. description: 现货品种
  2948. type: string
  2949. type: object
  2950. models.Clientfixedadconfig:
  2951. properties:
  2952. adsort:
  2953. description: 排序
  2954. type: integer
  2955. adtype:
  2956. description: 广告位类型 - 1:新品抢购(HSBY)
  2957. type: integer
  2958. areauserid:
  2959. description: 所属机构ID
  2960. type: integer
  2961. createdate:
  2962. description: 创建时间
  2963. type: string
  2964. creatorid:
  2965. description: 创建人
  2966. type: integer
  2967. imagepath:
  2968. description: 图片
  2969. type: string
  2970. isshow:
  2971. description: 是否展示 - 0:不展示 1:展示
  2972. type: integer
  2973. modifierid:
  2974. description: 操作人
  2975. type: integer
  2976. recsize:
  2977. description: 推荐尺寸
  2978. type: string
  2979. title:
  2980. description: 标题
  2981. type: string
  2982. updatedate:
  2983. description: 更新时间
  2984. type: string
  2985. urlcontent:
  2986. description: 链接(地址或商品ID)
  2987. type: string
  2988. urltype:
  2989. description: 链接类型 - 1:直接地址 2:商品ID
  2990. type: integer
  2991. required:
  2992. - adsort
  2993. - adtype
  2994. type: object
  2995. models.Division:
  2996. properties:
  2997. autoid:
  2998. description: 自增ID
  2999. type: integer
  3000. divisioncode:
  3001. description: 行政代码
  3002. type: string
  3003. divisionlevel:
  3004. description: 行政级别
  3005. type: string
  3006. divisionname:
  3007. description: 行政名称
  3008. type: string
  3009. modifierid:
  3010. description: 修改人
  3011. type: integer
  3012. modifytime:
  3013. description: 修改时间
  3014. type: string
  3015. parentcode:
  3016. description: 上级行政代码
  3017. type: string
  3018. pathname:
  3019. description: 路径名称
  3020. type: string
  3021. postcode:
  3022. description: 邮政编码
  3023. type: string
  3024. separablename:
  3025. description: 可拆分的全称
  3026. type: string
  3027. shortcode:
  3028. description: 地区简码
  3029. type: string
  3030. required:
  3031. - autoid
  3032. - divisioncode
  3033. type: object
  3034. models.Enumdicitem:
  3035. properties:
  3036. autoid:
  3037. description: 自增ID
  3038. type: integer
  3039. bankmappedvalue:
  3040. description: 银行服务对应值
  3041. type: string
  3042. enumdiccode:
  3043. description: 所属枚举代码
  3044. type: string
  3045. enumdicid:
  3046. description: 所属枚举ID
  3047. type: integer
  3048. enumdicname:
  3049. description: 枚举项名称
  3050. type: string
  3051. enumitemname:
  3052. description: 枚举项值
  3053. type: integer
  3054. enumitemstatus:
  3055. description: 枚举项状态 - 1.启用 2.不启用
  3056. type: integer
  3057. enumitemvalue:
  3058. description: 通用值 - [币种通用简写]
  3059. type: string
  3060. param1:
  3061. description: 参数1[币种:币种小数位]
  3062. type: string
  3063. param2:
  3064. description: 参数1[币种:币种显示单位]
  3065. type: string
  3066. remark:
  3067. description: 备注
  3068. type: string
  3069. required:
  3070. - autoid
  3071. - enumdiccode
  3072. - enumdicid
  3073. - enumitemname
  3074. type: object
  3075. models.Ermcp3AreaSpot:
  3076. properties:
  3077. areauserid:
  3078. description: 所属机构
  3079. type: integer
  3080. decreaseqty:
  3081. description: 减少数量=-(销售已定价数量+采购计划数量)
  3082. type: number
  3083. deliverygoodscode:
  3084. description: 现货品种代码
  3085. type: string
  3086. deliverygoodsid:
  3087. description: 现货品种id
  3088. type: integer
  3089. deliverygoodsname:
  3090. description: 现货品种名称
  3091. type: string
  3092. enumdicname:
  3093. description: 单位名称
  3094. type: string
  3095. goodsunitid:
  3096. description: 现货品种单位id
  3097. type: integer
  3098. increaseqty:
  3099. description: 增加数量=销售计划数量+采购已定价数量
  3100. type: number
  3101. oritoalspotqty:
  3102. description: 昨日数量
  3103. type: number
  3104. totalspotqty:
  3105. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3106. type: number
  3107. updatetime:
  3108. description: 更新时间
  3109. type: string
  3110. type: object
  3111. models.Ermcp3AreaSpotDetail:
  3112. properties:
  3113. contracttype:
  3114. description: 合同类型 1-采购 -1-销售
  3115. type: integer
  3116. createtime:
  3117. description: 创建时间
  3118. type: string
  3119. deliverygoodscode:
  3120. description: 现货品种代码
  3121. type: string
  3122. deliverygoodsid:
  3123. description: 现货品种id
  3124. type: integer
  3125. deliverygoodsname:
  3126. description: 现货品种名称
  3127. type: string
  3128. enumdicname:
  3129. description: 现货商品单位名称
  3130. type: string
  3131. logtype:
  3132. description: 记录类型 1-套保 2-现货合同
  3133. type: integer
  3134. qty:
  3135. description: 数量
  3136. type: number
  3137. recordname:
  3138. description: 类型名称
  3139. type: string
  3140. relatedid:
  3141. description: 套保计划ID/现货合同ID
  3142. type: string
  3143. relatedno:
  3144. description: 编号
  3145. type: string
  3146. strtime:
  3147. description: 时间
  3148. type: string
  3149. type: object
  3150. models.Ermcp3AreaStock:
  3151. properties:
  3152. brandname:
  3153. description: 品牌名称
  3154. type: string
  3155. curstock:
  3156. description: 期末库存量(今日量)
  3157. type: number
  3158. deliverygoodscode:
  3159. description: 现货品种代码
  3160. type: string
  3161. deliverygoodsid:
  3162. description: 现货品种id
  3163. type: integer
  3164. deliverygoodsname:
  3165. description: 现货品种名称
  3166. type: string
  3167. enumdicname:
  3168. description: 单位名称
  3169. type: string
  3170. goodsunitid:
  3171. description: 现货商品单位id
  3172. type: integer
  3173. oristock:
  3174. description: 期初库存量(昨日量)
  3175. type: number
  3176. spotgoodsbrandid:
  3177. description: 现货品牌ID
  3178. type: integer
  3179. todaybuyinqty:
  3180. description: 今日采购入库量
  3181. type: number
  3182. todayproduceinqty:
  3183. description: 今日生产入库量
  3184. type: number
  3185. todayproduceoutqty:
  3186. description: 今日生产出库量
  3187. type: number
  3188. todayselloutqty:
  3189. description: 今日销售出库量
  3190. type: number
  3191. unitid:
  3192. description: 单位id
  3193. type: integer
  3194. updatetime:
  3195. description: 更新时间
  3196. type: string
  3197. userid:
  3198. description: 机构ID
  3199. type: integer
  3200. username:
  3201. description: 机构名称
  3202. type: string
  3203. warehousecode:
  3204. description: 仓库代码
  3205. type: string
  3206. warehouseinfoid:
  3207. description: 仓库ID
  3208. type: string
  3209. warehousename:
  3210. description: 仓库名称
  3211. type: string
  3212. warehousetype:
  3213. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3214. type: integer
  3215. wrstandardcode:
  3216. description: 品类代码
  3217. type: string
  3218. wrstandardid:
  3219. description: 品类ID
  3220. type: string
  3221. wrstandardname:
  3222. description: 品类名称
  3223. type: string
  3224. required:
  3225. - userid
  3226. type: object
  3227. models.Ermcp3AreaStockApply:
  3228. properties:
  3229. applyid:
  3230. description: 申请人
  3231. type: integer
  3232. applyname:
  3233. description: 申请人名称
  3234. type: string
  3235. applyremark:
  3236. description: 申请备注
  3237. type: string
  3238. applysrc:
  3239. description: 申请来源 - 1:管理端 2:终端
  3240. type: integer
  3241. applystatus:
  3242. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3243. type: integer
  3244. applytime:
  3245. description: 申请时间
  3246. type: string
  3247. auditid:
  3248. description: 审核人
  3249. type: integer
  3250. auditname:
  3251. description: 审核人名称
  3252. type: string
  3253. auditremark:
  3254. description: 审核备注
  3255. type: string
  3256. auditsrc:
  3257. description: 审核来源 - 1:管理端 2:终端
  3258. type: integer
  3259. audittime:
  3260. description: 审核时间
  3261. type: string
  3262. audittradedate:
  3263. description: 审核交易日(yyyyMMdd)
  3264. type: string
  3265. brandname:
  3266. description: 品牌名称
  3267. type: string
  3268. buynickname:
  3269. description: 采购方昵称
  3270. type: string
  3271. buyuserid:
  3272. description: 采购方userid
  3273. type: integer
  3274. buyusername:
  3275. description: 采购方名称
  3276. type: string
  3277. contractno:
  3278. description: 合同编号
  3279. type: string
  3280. contractqty:
  3281. description: 合同量
  3282. type: number
  3283. contracttype:
  3284. description: 现货合同类型 - 1:采购 -1:销售
  3285. type: integer
  3286. deliverygoodscode:
  3287. description: 现货品种代码
  3288. type: string
  3289. deliverygoodsid:
  3290. description: 现货品种id
  3291. type: integer
  3292. deliverygoodsname:
  3293. description: 现货品种名称
  3294. type: string
  3295. enumdicname:
  3296. description: 现货商品单位名称
  3297. type: string
  3298. inoutapplyid:
  3299. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3300. type: string
  3301. inouttype:
  3302. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3303. type: integer
  3304. pricetype:
  3305. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3306. type: integer
  3307. qty:
  3308. description: 数量
  3309. type: number
  3310. sellnickname:
  3311. description: 销售方昵称
  3312. type: string
  3313. selluserid:
  3314. description: 销售方userid
  3315. type: integer
  3316. sellusername:
  3317. description: 销售方名称
  3318. type: string
  3319. spotcontractid:
  3320. description: 关联现货合同ID
  3321. type: string
  3322. spotgoodsbrandid:
  3323. description: 现货品牌ID
  3324. type: integer
  3325. unitid:
  3326. description: 单位id
  3327. type: integer
  3328. userid:
  3329. description: 机构ID
  3330. type: integer
  3331. warehousecode:
  3332. description: 仓库代码
  3333. type: string
  3334. warehouseinfoid:
  3335. description: 现货仓库ID
  3336. type: string
  3337. warehousename:
  3338. description: 仓库名称
  3339. type: string
  3340. warehousetype:
  3341. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStockApplySum:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. inouttype:
  3359. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3360. type: integer
  3361. spotcontractid:
  3362. description: 关联现货合同ID
  3363. type: string
  3364. spotgoodsbrandid:
  3365. description: 品牌id
  3366. type: integer
  3367. totalqty:
  3368. description: 总数量
  3369. type: number
  3370. wrstandardid:
  3371. description: 品类id
  3372. type: integer
  3373. wrstandardname:
  3374. description: 品类名称
  3375. type: string
  3376. type: object
  3377. models.Ermcp3AreaStockReport:
  3378. properties:
  3379. brandname:
  3380. description: 品牌名称
  3381. type: string
  3382. curstock:
  3383. description: 期末库存量
  3384. type: number
  3385. deliverygoodscode:
  3386. description: 现货品种代码
  3387. type: string
  3388. deliverygoodsid:
  3389. description: 现货品种id
  3390. type: integer
  3391. deliverygoodsname:
  3392. description: 现货品种名称
  3393. type: string
  3394. enumdicname:
  3395. description: 单位名称
  3396. type: string
  3397. goodsunitid:
  3398. description: 现货单位id
  3399. type: integer
  3400. oristock:
  3401. description: 期初库存量
  3402. type: number
  3403. spotgoodsbrandid:
  3404. description: 现货品牌ID
  3405. type: integer
  3406. todaybuyinqty:
  3407. description: 今日采购入库量
  3408. type: number
  3409. todayproduceinqty:
  3410. description: 今日生产入库量
  3411. type: number
  3412. todayproduceoutqty:
  3413. description: 今日生产出库量
  3414. type: number
  3415. todayselloutqty:
  3416. description: 今日销售出库量
  3417. type: number
  3418. unitid:
  3419. description: 品类单位id
  3420. type: integer
  3421. updatetime:
  3422. description: 更新时间
  3423. type: string
  3424. userid:
  3425. description: 机构ID
  3426. type: integer
  3427. username:
  3428. description: 机构名称
  3429. type: string
  3430. warehousecode:
  3431. description: 仓库代码
  3432. type: string
  3433. warehouseinfoid:
  3434. description: 仓库ID
  3435. type: string
  3436. warehousename:
  3437. description: 仓库名称
  3438. type: string
  3439. warehousetype:
  3440. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3441. type: integer
  3442. wrstandardcode:
  3443. description: 品类代码
  3444. type: string
  3445. wrstandardid:
  3446. description: 品类ID
  3447. type: integer
  3448. wrstandardname:
  3449. description: 品类名称
  3450. type: string
  3451. type: object
  3452. models.Ermcp3Brand:
  3453. properties:
  3454. areauserid:
  3455. description: 用户id
  3456. type: integer
  3457. brandid:
  3458. description: 品牌id
  3459. type: integer
  3460. brandname:
  3461. description: 品牌名称
  3462. type: string
  3463. deliverygoodsid:
  3464. description: 品种ID
  3465. type: integer
  3466. type: object
  3467. models.Ermcp3Contract:
  3468. properties:
  3469. accountid:
  3470. description: 期货账户id
  3471. type: string
  3472. amount:
  3473. description: 金额 [1:一口价、3:暂定价]
  3474. type: number
  3475. attachment:
  3476. description: 附件
  3477. type: string
  3478. auditremark:
  3479. description: 审核意见
  3480. type: string
  3481. audittime:
  3482. description: 审核时间
  3483. type: string
  3484. biztype:
  3485. description: 业务类型 1-套保 2-套利
  3486. type: integer
  3487. brandname:
  3488. description: 品牌名称
  3489. type: string
  3490. buynickname:
  3491. description: 销售方昵称
  3492. type: string
  3493. buyuserid:
  3494. description: 采购方ID
  3495. type: integer
  3496. buyusername:
  3497. description: 采购方名称
  3498. type: string
  3499. contracctstatus:
  3500. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3501. type: integer
  3502. contractmargin:
  3503. description: 合同保证金
  3504. type: number
  3505. contractno:
  3506. description: 现货合同编号
  3507. type: string
  3508. contracttype:
  3509. description: 现货合同类型 - 1:采购 -1:销售
  3510. type: integer
  3511. convertfactor:
  3512. description: 标仓系数(品类)
  3513. type: number
  3514. createtime:
  3515. description: 创建时间
  3516. type: string
  3517. deliveryenddate:
  3518. description: 交收期(结束)
  3519. type: string
  3520. deliverygoodscode:
  3521. description: 现货品种代码
  3522. type: string
  3523. deliverygoodsid:
  3524. description: 现货品种ID
  3525. type: integer
  3526. deliverygoodsname:
  3527. description: 现货品种名称
  3528. type: string
  3529. deliverystartdate:
  3530. description: 交收期(开始)
  3531. type: string
  3532. enddate:
  3533. description: 点价结束日期 [2:点价 3:暂定价]
  3534. type: string
  3535. enumdicname:
  3536. description: 单位名称
  3537. type: string
  3538. goodscode:
  3539. description: 点价合约代码
  3540. type: string
  3541. goodsid:
  3542. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3543. type: integer
  3544. goodsname:
  3545. description: 点价商品名称
  3546. type: string
  3547. margin:
  3548. description: 当前保证金
  3549. type: number
  3550. meruserid:
  3551. description: 跟单员id
  3552. type: integer
  3553. meruserlogincode:
  3554. description: 跟单员登录代码
  3555. type: string
  3556. price:
  3557. description: 价格\暂定价 [1:一口价、3:暂定价]
  3558. type: number
  3559. pricemove:
  3560. description: 升贴水 [2:点价 3:暂定价]
  3561. type: number
  3562. pricetype:
  3563. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3564. type: integer
  3565. producttype:
  3566. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3567. type: integer
  3568. qty:
  3569. description: 数量
  3570. type: number
  3571. remark:
  3572. description: 备注
  3573. type: string
  3574. saleuserid:
  3575. description: 业务员id
  3576. type: integer
  3577. saleuserlogincode:
  3578. description: 业务员登录代码
  3579. type: string
  3580. sellnickname:
  3581. description: 采购方昵称
  3582. type: string
  3583. selluserid:
  3584. description: 销售方ID
  3585. type: integer
  3586. sellusername:
  3587. description: 销售方名称
  3588. type: string
  3589. spotcontractid:
  3590. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3591. type: string
  3592. spotgoodsbrandid:
  3593. description: 现货品牌ID(DGFactoryItem表的ID)
  3594. type: integer
  3595. spotgoodsdesc:
  3596. description: 商品型号
  3597. type: string
  3598. startdate:
  3599. description: 点价开始日期 [2:点价 3:暂定价]
  3600. type: string
  3601. tradeuserid:
  3602. description: 交易员id
  3603. type: integer
  3604. tradeuserlogincode:
  3605. description: 交易员登录代码
  3606. type: string
  3607. unitid:
  3608. description: 单位id(取品类上的单位id)
  3609. type: integer
  3610. updatetime:
  3611. description: 更新时间
  3612. type: string
  3613. userid:
  3614. description: 所属机构ID
  3615. type: integer
  3616. wrstandardcode:
  3617. description: 品类代码
  3618. type: string
  3619. wrstandardid:
  3620. description: 品类ID
  3621. type: integer
  3622. wrstandardname:
  3623. description: 品类名称
  3624. type: string
  3625. type: object
  3626. models.Ermcp3ExposureDetail:
  3627. properties:
  3628. areauserid:
  3629. description: 机构ID
  3630. type: integer
  3631. changeQty:
  3632. description: 套保变动量
  3633. type: number
  3634. contracttype:
  3635. description: 现货合同类型 - 1:采购 -1:销售
  3636. type: integer
  3637. convertfactor:
  3638. description: 标仓系数
  3639. type: number
  3640. convertratio:
  3641. description: 套保系数
  3642. type: number
  3643. createtime:
  3644. description: 时间
  3645. type: string
  3646. deliverygoodscode:
  3647. description: 现货品种代码
  3648. type: string
  3649. deliverygoodsid:
  3650. description: 现货品种id
  3651. type: integer
  3652. deliverygoodsname:
  3653. description: 现货品种名称
  3654. type: string
  3655. enumdicname:
  3656. description: 现货商品单位名称
  3657. type: string
  3658. logtype:
  3659. description: 类型 - 1:套保计划 2:现货合同
  3660. type: integer
  3661. middlegoodsId:
  3662. description: 套保商品id
  3663. type: integer
  3664. middlegoodscode:
  3665. description: 套保商品代码
  3666. type: string
  3667. middlegoodsname:
  3668. description: 套保商品名称
  3669. type: string
  3670. qty:
  3671. description: 数量
  3672. type: number
  3673. relateNo:
  3674. description: 现货合同/套保计划编号
  3675. type: string
  3676. type: object
  3677. models.Ermcp3Goods:
  3678. properties:
  3679. agreeunit:
  3680. description: 合约单位(合约乘数)
  3681. type: number
  3682. enumdicname:
  3683. description: 单位名称
  3684. type: string
  3685. exexchangecode:
  3686. description: 交易所代码
  3687. type: string
  3688. goodscode:
  3689. description: 期货商品代码
  3690. type: string
  3691. goodsid:
  3692. description: 期货商品id
  3693. type: integer
  3694. goodsname:
  3695. description: 期货商品名称
  3696. type: string
  3697. type: object
  3698. models.Ermcp3GoodsGroup:
  3699. properties:
  3700. agreeunit:
  3701. description: 合约单位
  3702. type: number
  3703. areauserid:
  3704. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  3705. type: integer
  3706. canshort:
  3707. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  3708. type: integer
  3709. closepricemode:
  3710. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  3711. type: integer
  3712. createtime:
  3713. description: 创建时间
  3714. type: string
  3715. creatorid:
  3716. description: 创建人
  3717. type: integer
  3718. currencyid:
  3719. description: 报价货币ID
  3720. type: integer
  3721. decimalplace:
  3722. description: 报价小数位
  3723. type: integer
  3724. enumdicname:
  3725. description: 单位名称
  3726. type: string
  3727. excludecfg:
  3728. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  3729. type: integer
  3730. exexchangeid:
  3731. description: 外部交易所ID[通道交易]
  3732. type: integer
  3733. goodsgroupid:
  3734. description: 商品组ID(自增ID)
  3735. type: integer
  3736. goodsgroupname:
  3737. description: 商品组名称
  3738. type: string
  3739. goodsgroupstatus:
  3740. description: 商品组状态 - 1:正常 2:注销
  3741. type: integer
  3742. goodunitid:
  3743. description: 报价单位ID
  3744. type: integer
  3745. groupcategroyid:
  3746. description: 品种分类ID
  3747. type: integer
  3748. innerdealmode:
  3749. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  3750. type: integer
  3751. marketid:
  3752. description: 所属市场ID
  3753. type: integer
  3754. modifierid:
  3755. description: 修改人
  3756. type: integer
  3757. modifytime:
  3758. description: 修改时间
  3759. type: string
  3760. outerdealmode:
  3761. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  3762. type: integer
  3763. outergroupcode:
  3764. description: 外部商品组代码[通道交易]
  3765. type: string
  3766. quoteminunit:
  3767. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3768. type: integer
  3769. quotesourcegroupid:
  3770. description: 所属行情源分组ID[参考行情市场用\通道交易]
  3771. type: integer
  3772. syncgoodsqty:
  3773. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  3774. type: integer
  3775. required:
  3776. - areauserid
  3777. type: object
  3778. models.Ermcp3GoodsGroupEx:
  3779. properties:
  3780. convertratio:
  3781. description: 折算系数(品种系数)
  3782. type: number
  3783. enumdicname:
  3784. description: 单位名称
  3785. type: string
  3786. exexchangecode:
  3787. description: 交易所代码
  3788. type: string
  3789. glist:
  3790. description: 合约列表
  3791. items:
  3792. $ref: '#/definitions/models.Ermcp3Goods'
  3793. type: array
  3794. goodsgroupid:
  3795. description: 商品组id
  3796. type: integer
  3797. goodsgroupname:
  3798. description: 商品组名称
  3799. type: string
  3800. middlegoodsid:
  3801. description: 套保商品id
  3802. type: integer
  3803. type: object
  3804. models.Ermcp3HedgePlan:
  3805. properties:
  3806. areauserid:
  3807. description: 用户ID
  3808. type: integer
  3809. audittime:
  3810. description: 审核时间
  3811. type: string
  3812. contracttype:
  3813. description: 计划类型 - 1:采购 -1:销售
  3814. type: integer
  3815. convertfactor:
  3816. description: 标仓系数
  3817. type: number
  3818. createtime:
  3819. description: 创建时间
  3820. type: string
  3821. deliverygoodscode:
  3822. description: 现货品种代码
  3823. type: string
  3824. deliverygoodsid:
  3825. description: 现货品种ID
  3826. type: integer
  3827. deliverygoodsname:
  3828. description: 现货品种名称
  3829. type: string
  3830. enumdicname:
  3831. description: 单位名称
  3832. type: string
  3833. hedgeplanid:
  3834. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3835. type: string
  3836. hedgeplanno:
  3837. description: 套保计划编号(名称)
  3838. type: string
  3839. hedgeplanstatus:
  3840. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3841. type: integer
  3842. planqty:
  3843. description: 计划数量
  3844. type: number
  3845. plantime:
  3846. description: 计划时间
  3847. type: string
  3848. producttype:
  3849. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3850. type: integer
  3851. remark:
  3852. description: 备注
  3853. type: string
  3854. spotgoodsdesc:
  3855. description: 商品型号
  3856. type: string
  3857. unitid:
  3858. description: 单位id
  3859. type: integer
  3860. updatetime:
  3861. description: 更新时间
  3862. type: string
  3863. type: object
  3864. models.Ermcp3MiddleGoodsDetail2:
  3865. properties:
  3866. convertratio:
  3867. description: 套保系数(折算系数)
  3868. type: number
  3869. gplist:
  3870. description: 关联商品组列表
  3871. items:
  3872. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3873. type: array
  3874. mg:
  3875. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3876. description: 套保商品信息
  3877. type: object
  3878. type: object
  3879. models.Ermcp3MiddleGoodsDetailEx:
  3880. properties:
  3881. dglist:
  3882. description: 关联的现货品种列表
  3883. items:
  3884. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  3885. type: array
  3886. gplist:
  3887. description: 关联商品组列表
  3888. items:
  3889. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  3890. type: array
  3891. mg:
  3892. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  3893. description: 套保商品信息
  3894. type: object
  3895. type: object
  3896. models.Ermcp3ReportAreaSpotPL:
  3897. properties:
  3898. actualpl:
  3899. description: 实际损益
  3900. type: number
  3901. areauserid:
  3902. description: 所属机构
  3903. type: integer
  3904. brandname:
  3905. description: 品牌名称
  3906. type: string
  3907. curamount:
  3908. description: 期末额
  3909. type: number
  3910. curaverageprice:
  3911. description: 期末均价
  3912. type: number
  3913. curbuyamount:
  3914. description: 期末采购总额(采购额)
  3915. type: number
  3916. curbuyqty:
  3917. description: 期末采购总量
  3918. type: number
  3919. curmarketvalue:
  3920. description: 参考市值
  3921. type: number
  3922. curqty:
  3923. description: 期末量
  3924. type: number
  3925. cursellamount:
  3926. description: 期末销售总额(销售额)
  3927. type: number
  3928. cursellqty:
  3929. description: 期末销售总量
  3930. type: number
  3931. curspotprice:
  3932. description: 参考市价
  3933. type: number
  3934. deliverygoodscode:
  3935. description: 现货品种代码
  3936. type: string
  3937. deliverygoodsid:
  3938. description: 现货品种id
  3939. type: integer
  3940. deliverygoodsname:
  3941. description: 现货品种名称
  3942. type: string
  3943. enumdicname:
  3944. description: 现货商品单位名称
  3945. type: string
  3946. floatpl:
  3947. description: 浮动损益
  3948. type: number
  3949. gbenumdicname:
  3950. description: 品类单位名称
  3951. type: string
  3952. gbunitid:
  3953. description: 现货单位id
  3954. type: integer
  3955. modelname:
  3956. description: 品类名称
  3957. type: string
  3958. oriamount:
  3959. description: 期初额
  3960. type: number
  3961. oriaverageprice:
  3962. description: 期初均价
  3963. type: number
  3964. oribuyamount:
  3965. description: 期初采购总额
  3966. type: number
  3967. oribuyqty:
  3968. description: 期初采购总量
  3969. type: number
  3970. oriqty:
  3971. description: 期初量
  3972. type: number
  3973. orisellamount:
  3974. description: 期初销售总额
  3975. type: number
  3976. orisellqty:
  3977. description: 期初销售总量
  3978. type: number
  3979. spotgoodsbrandid:
  3980. description: 现货品牌ID
  3981. type: integer
  3982. todaybuyamount:
  3983. description: 今日采购额
  3984. type: number
  3985. todaybuyaverageprice:
  3986. description: 今日采购均价(采购均价)
  3987. type: number
  3988. todaybuyqty:
  3989. description: 今日采购量(采购增量)
  3990. type: number
  3991. todaysellamount:
  3992. description: 今日销售额
  3993. type: number
  3994. todaysellaverageprice:
  3995. description: 今日销售均价(销售均价)
  3996. type: number
  3997. todaysellqty:
  3998. description: 今日销售量(销售增量)
  3999. type: number
  4000. unitid:
  4001. description: 品类单位id
  4002. type: integer
  4003. updatetime:
  4004. description: 更新时间
  4005. type: string
  4006. wrstandardcode:
  4007. description: 品类代码
  4008. type: string
  4009. wrstandardid:
  4010. description: 品类ID
  4011. type: integer
  4012. wrstandardname:
  4013. description: 品类名称
  4014. type: string
  4015. type: object
  4016. models.Ermcp3ReportDaySpot:
  4017. properties:
  4018. areauserid:
  4019. description: 所属机构T
  4020. type: integer
  4021. buyinqty:
  4022. description: 采购入库量
  4023. type: number
  4024. deliverygoodscode:
  4025. description: 现货品种代码
  4026. type: string
  4027. deliverygoodsid:
  4028. description: 现货品种id
  4029. type: integer
  4030. deliverygoodsname:
  4031. description: 现货品种名称
  4032. type: string
  4033. enumdicname:
  4034. description: 现货商品单位名称
  4035. type: string
  4036. reckondate:
  4037. description: 日照时期(yyyyMMdd)
  4038. type: string
  4039. selloutqty:
  4040. description: 销售出库量
  4041. type: number
  4042. todaybuyreckonqty:
  4043. description: 采购确定量
  4044. type: number
  4045. todaysellreckonqty:
  4046. description: 销售确定量
  4047. type: number
  4048. totalbuypricedqty:
  4049. description: 采购定价量 = 期末 - 期初
  4050. type: number
  4051. totalsellpricedqty:
  4052. description: 销售定价量 = 期末 - 期初
  4053. type: number
  4054. type: object
  4055. models.Ermcp3ReportMonSpot:
  4056. properties:
  4057. areauserid:
  4058. description: 所属机构id
  4059. type: integer
  4060. buyinqty:
  4061. description: 采购入库量
  4062. type: number
  4063. cycletime:
  4064. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4065. type: string
  4066. cycletype:
  4067. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4068. type: integer
  4069. deliverygoodscode:
  4070. description: 现货品种代码
  4071. type: string
  4072. deliverygoodsid:
  4073. description: 现货品种id
  4074. type: integer
  4075. deliverygoodsname:
  4076. description: 现货品种名称
  4077. type: string
  4078. enumdicname:
  4079. description: 现货商品单位名称
  4080. type: string
  4081. selloutqty:
  4082. description: 销售出库量
  4083. type: number
  4084. todaybuyreckonqty:
  4085. description: 采购确定量
  4086. type: number
  4087. todaysellreckonqty:
  4088. description: 销售确定量
  4089. type: number
  4090. totalbuypricedqty:
  4091. description: 采购定价量 = 期末 - 期初
  4092. type: number
  4093. totalsellpricedqty:
  4094. description: 销售定价量 = 期末 - 期初
  4095. type: number
  4096. type: object
  4097. models.Ermcp3ReportOPLog:
  4098. properties:
  4099. applyid:
  4100. description: 操作人
  4101. type: integer
  4102. applyname:
  4103. description: 操作人名称
  4104. type: string
  4105. biztype:
  4106. description: 业务类型 - 1:套保计划 2:现货合同
  4107. type: integer
  4108. brandname:
  4109. description: 品牌名称
  4110. type: string
  4111. contracttype:
  4112. description: 现货合同类型 - 1:采购 -1:销售
  4113. type: integer
  4114. deliverygoodscode:
  4115. description: 现货品种代码
  4116. type: string
  4117. deliverygoodsid:
  4118. description: 现货品种id
  4119. type: integer
  4120. deliverygoodsname:
  4121. description: 现货品种名称
  4122. type: string
  4123. enumdicName:
  4124. description: 单位名称
  4125. type: string
  4126. logdatetime:
  4127. description: 流水日期(时间)
  4128. type: string
  4129. logid:
  4130. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4131. type: string
  4132. logtypename:
  4133. description: 合同类型(名称)
  4134. type: string
  4135. logvalue:
  4136. description: 数值
  4137. type: string
  4138. operatelogtype:
  4139. description: 操作流水类型 -
  4140. type: integer
  4141. optypename:
  4142. description: 流水类型名称
  4143. type: string
  4144. relatedid:
  4145. description: 现货合同ID\套保计划
  4146. type: string
  4147. relatedno:
  4148. description: 合同编号
  4149. type: string
  4150. tradedate:
  4151. description: 交易日(yyyyMMdd)
  4152. type: string
  4153. userid:
  4154. description: 机构ID
  4155. type: integer
  4156. type: object
  4157. models.Ermcp3SellBuyContract:
  4158. properties:
  4159. accountname:
  4160. description: 账户名称
  4161. type: string
  4162. attachment:
  4163. description: 附件
  4164. type: string
  4165. audittime:
  4166. description: 审核时间
  4167. type: string
  4168. brandname:
  4169. description: 品牌名称
  4170. type: string
  4171. contracctstatus:
  4172. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4173. type: integer
  4174. contractmargin:
  4175. description: 合同保证金
  4176. type: number
  4177. contractno:
  4178. description: 合同编号
  4179. type: string
  4180. contracttype:
  4181. description: 合同类型 1-采购, -1-销售
  4182. type: integer
  4183. convertfactor:
  4184. description: 标仓系数(品类)
  4185. type: number
  4186. createtime:
  4187. description: 创建时间
  4188. type: string
  4189. daikaiamount:
  4190. description: 应收(开)票额
  4191. type: number
  4192. deliveryenddate:
  4193. description: 交割结束日
  4194. type: string
  4195. deliverygoodscode:
  4196. description: 现货品种代码
  4197. type: string
  4198. deliverygoodsid:
  4199. description: 现货商品ID
  4200. type: integer
  4201. deliverygoodsname:
  4202. description: 现货品种名称
  4203. type: string
  4204. deliverystartdate:
  4205. description: 交割开始日
  4206. type: string
  4207. enddate:
  4208. description: 点价结束日
  4209. type: string
  4210. enumdicname:
  4211. description: 单位名称
  4212. type: string
  4213. goodscode:
  4214. description: 点价商品代码
  4215. type: string
  4216. goodsid:
  4217. description: 点价商品ID
  4218. type: integer
  4219. goodsname:
  4220. description: 点价商品名称
  4221. type: string
  4222. invoiceamount:
  4223. description: 已开票额
  4224. type: number
  4225. loanamount:
  4226. description: 贷款总额=已定价额+调整金额
  4227. type: number
  4228. margin:
  4229. description: 保证金
  4230. type: number
  4231. nickname:
  4232. description: 账户昵称
  4233. type: string
  4234. payamount:
  4235. description: 已收付额(收款或付款)
  4236. type: number
  4237. preinvoiceamount:
  4238. description: 预收(开)票额
  4239. type: number
  4240. prepayamount:
  4241. description: 预收付额
  4242. type: number
  4243. price:
  4244. description: 价格
  4245. type: number
  4246. pricedamount:
  4247. description: 已定价额
  4248. type: number
  4249. pricedavg:
  4250. description: 已点均价
  4251. type: number
  4252. pricedqty:
  4253. description: 已定价量
  4254. type: number
  4255. pricemove:
  4256. description: 升贴水
  4257. type: number
  4258. pricetype:
  4259. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4260. type: integer
  4261. producttype:
  4262. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4263. type: integer
  4264. qty:
  4265. description: 合同量
  4266. type: number
  4267. reckonadjustamount:
  4268. description: 调整金额
  4269. type: number
  4270. reckonedamount:
  4271. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4272. type: number
  4273. reckonotheramount:
  4274. description: 其它费用
  4275. type: number
  4276. reckonrealqty:
  4277. description: 已确定量
  4278. type: number
  4279. remark:
  4280. description: 备注
  4281. type: string
  4282. spotcontractid:
  4283. description: 合同ID
  4284. type: string
  4285. spotgoodsbrandid:
  4286. description: 现货品牌ID(DGFactoryItem表的ID)
  4287. type: integer
  4288. spotgoodsdesc:
  4289. description: 商品型号(商品规格)
  4290. type: string
  4291. startdate:
  4292. description: 点价开始日
  4293. type: string
  4294. totalamount:
  4295. description: 合计总额
  4296. type: number
  4297. unpayamount:
  4298. description: 应收付款额(应支付或应收款)
  4299. type: number
  4300. unpricedqty:
  4301. description: 未定价量
  4302. type: number
  4303. unsureqty:
  4304. description: 未确定量
  4305. type: number
  4306. userid:
  4307. description: 机构ID
  4308. type: integer
  4309. wrstandardcode:
  4310. description: 品类代码
  4311. type: string
  4312. wrstandardid:
  4313. description: 品类ID
  4314. type: integer
  4315. wrstandardname:
  4316. description: 品类名称
  4317. type: string
  4318. type: object
  4319. models.Ermcp3SpotGoodsPrice:
  4320. properties:
  4321. areauserid:
  4322. description: 所属机构id
  4323. type: integer
  4324. brandname:
  4325. description: 品牌名称
  4326. type: string
  4327. currencyid:
  4328. description: 报价货币ID
  4329. type: integer
  4330. deliverygoodscode:
  4331. description: 现货商品代码
  4332. type: string
  4333. deliverygoodsid:
  4334. description: 现货商品id
  4335. type: integer
  4336. deliverygoodsname:
  4337. description: 现货商品名称
  4338. type: string
  4339. enumdicname:
  4340. description: 现货商品单位名称
  4341. type: string
  4342. gbenumdicname:
  4343. description: 品类单位名称
  4344. type: string
  4345. gmunitid:
  4346. description: 品类单位id
  4347. type: integer
  4348. isvalid:
  4349. description: 是否有效 - 0:无效 1:有效
  4350. type: integer
  4351. operateid:
  4352. description: 最后操作人
  4353. type: integer
  4354. operatesrc:
  4355. description: 最后操作来源 - 1:管理端 2:终端
  4356. type: integer
  4357. operatetime:
  4358. description: 最后操作时间
  4359. type: string
  4360. operatorname:
  4361. description: 操作人名称
  4362. type: string
  4363. spotgoodsbrandid:
  4364. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4365. type: integer
  4366. spotgoodsprice:
  4367. description: 现货价格
  4368. type: number
  4369. tradedate:
  4370. description: 交易日(yyyyMMdd)
  4371. type: string
  4372. unitid:
  4373. description: 现货商品单位id
  4374. type: integer
  4375. wrstandardcode:
  4376. description: 品类代码
  4377. type: string
  4378. wrstandardid:
  4379. description: 现货品类ID(通用则为0)
  4380. type: integer
  4381. wrstandardname:
  4382. description: 品类名称
  4383. type: string
  4384. type: object
  4385. models.Ermcp3SpotGoodsPriceLog:
  4386. properties:
  4387. areauserid:
  4388. description: 所属机构id
  4389. type: integer
  4390. brandname:
  4391. description: 品牌名称
  4392. type: string
  4393. currencyid:
  4394. description: 报价货币ID
  4395. type: integer
  4396. deliverygoodscode:
  4397. description: 现货商品代码
  4398. type: string
  4399. deliverygoodsid:
  4400. description: 现货商品id
  4401. type: integer
  4402. deliverygoodsname:
  4403. description: 现货商品名称
  4404. type: string
  4405. enumdicname:
  4406. description: 现货商品单位名称
  4407. type: string
  4408. gbenumdicname:
  4409. description: 品类单位名称
  4410. type: string
  4411. gmunitid:
  4412. description: 品类单位id
  4413. type: integer
  4414. logid:
  4415. description: 日志id
  4416. type: integer
  4417. operateid:
  4418. description: 最后操作人
  4419. type: integer
  4420. operatesrc:
  4421. description: 最后操作来源 - 1:管理端 2:终端
  4422. type: integer
  4423. operatetime:
  4424. description: 最后操作时间
  4425. type: string
  4426. operatorname:
  4427. description: 操作人名称
  4428. type: string
  4429. spotgoodsbrandid:
  4430. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4431. type: integer
  4432. spotgoodsprice:
  4433. description: 现货价格
  4434. type: number
  4435. tradedate:
  4436. description: 交易日(yyyyMMdd)
  4437. type: string
  4438. unitid:
  4439. description: 现货商品单位id
  4440. type: integer
  4441. wrstandardcode:
  4442. description: 品类代码
  4443. type: string
  4444. wrstandardid:
  4445. description: 现货品类ID(通用则为0)
  4446. type: integer
  4447. wrstandardname:
  4448. description: 品类名称
  4449. type: string
  4450. type: object
  4451. models.Ermcp3Wrstandard:
  4452. properties:
  4453. areauserid:
  4454. description: 所属机构
  4455. type: integer
  4456. convertfactor:
  4457. description: 标仓系数
  4458. type: number
  4459. createtime:
  4460. description: 创建时间
  4461. type: string
  4462. creatorid:
  4463. description: 创建人
  4464. type: integer
  4465. deliverygoodsid:
  4466. description: 现货品种ID
  4467. type: integer
  4468. enumdicname:
  4469. description: 品类单位名称
  4470. type: string
  4471. isvalid:
  4472. description: 是否有效 0-无效(停用) 1-有效(正常)
  4473. type: integer
  4474. minivalue:
  4475. description: 最小变动值
  4476. type: integer
  4477. minivaluedp:
  4478. description: 最小变动值小数位
  4479. type: integer
  4480. realminivalue:
  4481. description: 实际最小变动值
  4482. type: integer
  4483. realminivaluedp:
  4484. description: 实际最小变动值小数位
  4485. type: integer
  4486. remark:
  4487. description: 备注
  4488. type: string
  4489. unitid:
  4490. description: 品类单位ID
  4491. type: integer
  4492. updatetime:
  4493. description: 更新时间
  4494. type: string
  4495. wrstandardcode:
  4496. description: 品类代码
  4497. type: string
  4498. wrstandardid:
  4499. description: 品类ID(SEQ_WRSTANDARD)
  4500. type: integer
  4501. wrstandardname:
  4502. description: 品类名称
  4503. type: string
  4504. type: object
  4505. models.ErmcpAreaSpotDetailModel:
  4506. properties:
  4507. contracttype:
  4508. description: 合同类型 1-采购 -1-销售
  4509. type: integer
  4510. createtime:
  4511. description: 创建时间
  4512. type: string
  4513. enumdicname:
  4514. description: 现货商品单位名称
  4515. type: string
  4516. logtype:
  4517. description: 记录类型 1-套保 2-现货合同
  4518. type: integer
  4519. qty:
  4520. description: 数量
  4521. type: number
  4522. recordname:
  4523. description: 类型名称
  4524. type: string
  4525. relatedid:
  4526. description: 套保计划ID/现货合同ID
  4527. type: string
  4528. relatedno:
  4529. description: 编号
  4530. type: string
  4531. strtime:
  4532. description: 时间
  4533. type: string
  4534. wrstandardcode:
  4535. description: 现货商品代码
  4536. type: string
  4537. wrstandardname:
  4538. description: 现货商品名称
  4539. type: string
  4540. type: object
  4541. models.ErmcpAreaStock:
  4542. properties:
  4543. brandname:
  4544. description: 品牌名称
  4545. type: string
  4546. curstock:
  4547. description: 期末库存量(今日量)
  4548. type: number
  4549. deliverygoodsid:
  4550. description: 现货品种ID
  4551. type: integer
  4552. enumdicname:
  4553. description: 单位名称
  4554. type: string
  4555. modelname:
  4556. description: 型号名称
  4557. type: string
  4558. oristock:
  4559. description: 期初库存量(昨日量)
  4560. type: number
  4561. spotgoodsbrandid:
  4562. description: 现货品牌ID
  4563. type: integer
  4564. spotgoodsmodelid:
  4565. description: 现货型号ID
  4566. type: integer
  4567. todaybuyinqty:
  4568. description: 今日采购入库量
  4569. type: number
  4570. todayproduceinqty:
  4571. description: 今日生产入库量
  4572. type: number
  4573. todayproduceoutqty:
  4574. description: 今日生产出库量
  4575. type: number
  4576. todayselloutqty:
  4577. description: 今日销售出库量
  4578. type: number
  4579. unitid:
  4580. description: 单位id
  4581. type: integer
  4582. updatetime:
  4583. description: 更新时间
  4584. type: string
  4585. userid:
  4586. description: 机构ID
  4587. type: integer
  4588. username:
  4589. description: 机构名称
  4590. type: string
  4591. warehousecode:
  4592. description: 仓库代码
  4593. type: string
  4594. warehouseinfoid:
  4595. description: 仓库ID
  4596. type: string
  4597. warehousename:
  4598. description: 仓库名称
  4599. type: string
  4600. warehousetype:
  4601. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4602. type: integer
  4603. wrstandardcode:
  4604. description: 现货商品代码
  4605. type: string
  4606. wrstandardid:
  4607. description: 现货商品ID
  4608. type: string
  4609. wrstandardname:
  4610. description: 现货商品名称
  4611. type: string
  4612. type: object
  4613. models.ErmcpAreaStockApply:
  4614. properties:
  4615. applyid:
  4616. description: 申请人
  4617. type: integer
  4618. applyname:
  4619. description: 申请人名称
  4620. type: string
  4621. applyremark:
  4622. description: 申请备注
  4623. type: string
  4624. applysrc:
  4625. description: 申请来源 - 1:管理端 2:终端
  4626. type: integer
  4627. applystatus:
  4628. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4629. type: integer
  4630. applytime:
  4631. description: 申请时间
  4632. type: string
  4633. auditid:
  4634. description: 审核人
  4635. type: integer
  4636. auditname:
  4637. description: 审核人名称
  4638. type: string
  4639. auditremark:
  4640. description: 审核备注
  4641. type: string
  4642. auditsrc:
  4643. description: 审核来源 - 1:管理端 2:终端
  4644. type: integer
  4645. audittime:
  4646. description: 审核时间
  4647. type: string
  4648. audittradedate:
  4649. description: 审核交易日(yyyyMMdd)
  4650. type: string
  4651. brandname:
  4652. description: 品牌名称
  4653. type: string
  4654. buyuserid:
  4655. description: 采购方userid
  4656. type: integer
  4657. buyusername:
  4658. description: 采购方名称
  4659. type: string
  4660. contractno:
  4661. description: 合同编号
  4662. type: string
  4663. contractqty:
  4664. description: 合同量
  4665. type: number
  4666. contracttype:
  4667. description: 现货合同类型 - 1:采购 -1:销售
  4668. type: integer
  4669. deliverygoodsid:
  4670. description: 现货品种ID
  4671. type: integer
  4672. enumdicname:
  4673. description: 现货商品单位名称
  4674. type: string
  4675. inoutapplyid:
  4676. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4677. type: string
  4678. inouttype:
  4679. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4680. type: integer
  4681. modelname:
  4682. description: 型号名称
  4683. type: string
  4684. pricetype:
  4685. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4686. type: integer
  4687. qty:
  4688. description: 数量
  4689. type: number
  4690. selluserid:
  4691. description: 销售方userid
  4692. type: integer
  4693. sellusername:
  4694. description: 销售方名称
  4695. type: string
  4696. spotcontractid:
  4697. description: 关联现货合同ID
  4698. type: string
  4699. spotgoodsbrandid:
  4700. description: 现货品牌ID
  4701. type: integer
  4702. spotgoodsmodelid:
  4703. description: 现货型号ID
  4704. type: integer
  4705. unitid:
  4706. description: 单位id
  4707. type: integer
  4708. userid:
  4709. description: 机构ID
  4710. type: integer
  4711. warehousecode:
  4712. description: 仓库代码
  4713. type: string
  4714. warehouseinfoid:
  4715. description: 现货仓库ID
  4716. type: string
  4717. warehousename:
  4718. description: 仓库名称
  4719. type: string
  4720. warehousetype:
  4721. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4722. type: integer
  4723. wrstandardcode:
  4724. description: 现货商品代码
  4725. type: string
  4726. wrstandardid:
  4727. description: 现货商品ID
  4728. type: string
  4729. wrstandardname:
  4730. description: 现货商品名称
  4731. type: string
  4732. type: object
  4733. models.ErmcpAreaStockApplySum:
  4734. properties:
  4735. brandname:
  4736. description: 品牌名称
  4737. type: string
  4738. inouttype:
  4739. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  4740. type: integer
  4741. modelname:
  4742. description: 型号名称
  4743. type: string
  4744. spotcontractid:
  4745. description: 关联现货合同ID
  4746. type: string
  4747. spotgoodsbrandid:
  4748. description: 品牌id
  4749. type: integer
  4750. spotgoodsmodelid:
  4751. description: 型号id
  4752. type: integer
  4753. totalqty:
  4754. description: 总数量
  4755. type: number
  4756. type: object
  4757. models.ErmcpAreaStockReport:
  4758. properties:
  4759. brandname:
  4760. description: 品牌名称
  4761. type: string
  4762. curstock:
  4763. description: 期末库存量
  4764. type: number
  4765. deliverygoodsid:
  4766. description: 现货品种ID
  4767. type: integer
  4768. enumdicname:
  4769. description: 单位名称
  4770. type: string
  4771. modelname:
  4772. description: 型号名称
  4773. type: string
  4774. oristock:
  4775. description: 期初库存量
  4776. type: number
  4777. spotgoodsbrandid:
  4778. description: 现货品牌ID
  4779. type: integer
  4780. spotgoodsmodelid:
  4781. description: 现货型号ID
  4782. type: integer
  4783. todaybuyinqty:
  4784. description: 今日采购入库量
  4785. type: number
  4786. todayproduceinqty:
  4787. description: 今日生产入库量
  4788. type: number
  4789. todayproduceoutqty:
  4790. description: 今日生产出库量
  4791. type: number
  4792. todayselloutqty:
  4793. description: 今日销售出库量
  4794. type: number
  4795. unitid:
  4796. description: 单位id
  4797. type: integer
  4798. updatetime:
  4799. description: 更新时间
  4800. type: string
  4801. userid:
  4802. description: 机构ID
  4803. type: integer
  4804. username:
  4805. description: 机构名称
  4806. type: string
  4807. warehousecode:
  4808. description: 仓库代码
  4809. type: string
  4810. warehouseinfoid:
  4811. description: 仓库ID
  4812. type: string
  4813. warehousename:
  4814. description: 仓库名称
  4815. type: string
  4816. warehousetype:
  4817. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4818. type: integer
  4819. wrstandardcode:
  4820. description: 现货商品代码
  4821. type: string
  4822. wrstandardid:
  4823. description: 现货商品ID
  4824. type: string
  4825. wrstandardname:
  4826. description: 现货商品名称
  4827. type: string
  4828. type: object
  4829. models.ErmcpAvalidGoodsGroupModel:
  4830. properties:
  4831. goodsgroupid:
  4832. description: 期货品种id
  4833. type: integer
  4834. goodsgroupname:
  4835. description: 期货品种名称
  4836. type: string
  4837. goodunitid:
  4838. description: 品种单位id
  4839. type: integer
  4840. goodunitname:
  4841. description: 品种单位名称
  4842. type: string
  4843. outergroupcode:
  4844. description: 期货品种代码
  4845. type: string
  4846. type: object
  4847. models.ErmcpBizGroupEx:
  4848. properties:
  4849. acclist:
  4850. description: 账号列表
  4851. items:
  4852. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  4853. type: array
  4854. bizgroupid:
  4855. description: 业务分组id
  4856. type: integer
  4857. biztype:
  4858. description: 业务类型 1-套保 2-套利
  4859. type: integer
  4860. wrlist:
  4861. description: 现货商品表
  4862. items:
  4863. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  4864. type: array
  4865. type: object
  4866. models.ErmcpBizGroupSpotGoods:
  4867. properties:
  4868. areauserid:
  4869. description: 所属机构id
  4870. type: integer
  4871. bizgroupid:
  4872. description: 分组id
  4873. type: integer
  4874. biztype:
  4875. description: 业务类型 1-套保 2-套利
  4876. type: integer
  4877. deliverygoodscode:
  4878. description: 现货商品代码
  4879. type: string
  4880. deliverygoodsid:
  4881. description: 现货商品id
  4882. type: integer
  4883. deliverygoodsname:
  4884. description: 现货商品名称
  4885. type: string
  4886. unitid:
  4887. description: 现货商品单位id
  4888. type: integer
  4889. type: object
  4890. models.ErmcpBizGroupTaAccount:
  4891. properties:
  4892. accountid:
  4893. description: 账号id
  4894. type: string
  4895. accountname:
  4896. description: 账号名称
  4897. type: string
  4898. areauserid:
  4899. description: 所属机构id
  4900. type: integer
  4901. bizgroupid:
  4902. description: 业务分组id
  4903. type: integer
  4904. ismain:
  4905. description: 是否主账号 1-是 0-否
  4906. type: integer
  4907. type: object
  4908. models.ErmcpDGFactoryItem:
  4909. properties:
  4910. areauserid:
  4911. description: 用户id
  4912. type: integer
  4913. deliverygoodsid:
  4914. description: 现货品种ID
  4915. type: integer
  4916. dgfactoryitemid:
  4917. description: 选择项ID(SEQ_DGFACTORYITEM)
  4918. type: integer
  4919. dgfactoryitemtypeid:
  4920. description: 要素项类型
  4921. type: integer
  4922. dgfactoryitemvalue:
  4923. description: 要素项值(类型为仓库时填写仓库名称)
  4924. type: string
  4925. isvalid:
  4926. description: 是否有效 - 0:无效 1:有效
  4927. type: integer
  4928. orderindex:
  4929. description: 顺序
  4930. type: integer
  4931. warehouseid:
  4932. description: 仓库ID(类型为仓库时填写)
  4933. type: integer
  4934. type: object
  4935. models.ErmcpDeliveryGoods:
  4936. properties:
  4937. agreeunit:
  4938. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  4939. type: integer
  4940. areauserid:
  4941. description: 所属机构
  4942. type: integer
  4943. auditflag:
  4944. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  4945. type: integer
  4946. categoryid:
  4947. description: 类别ID(SEQ_WRCATEGORY)
  4948. type: integer
  4949. deliverygoodscode:
  4950. description: 现货品种代码
  4951. type: string
  4952. deliverygoodsid:
  4953. description: 现货品种ID(SEQ_DELIVERYGOODS)
  4954. type: integer
  4955. deliverygoodsname:
  4956. description: 现货品种名称
  4957. type: string
  4958. deliverygoodstype:
  4959. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  4960. type: integer
  4961. dgstatus:
  4962. description: 品种状态 - 作废 - 0:未激活 1:正常
  4963. type: integer
  4964. enumdicname:
  4965. description: 现货品种单位名称
  4966. type: string
  4967. goodsunitid:
  4968. description: 现货品种单位ID
  4969. type: integer
  4970. isvalid:
  4971. description: 是否有效 - 0:无效 1:有效
  4972. type: integer
  4973. qtydecimalplace:
  4974. description: 成交量小数位
  4975. type: integer
  4976. remark:
  4977. description: 备注
  4978. type: string
  4979. standardqty:
  4980. description: 标准数量(库位数量) [标准品特有]
  4981. type: integer
  4982. standardqtyrange:
  4983. description: 标准数量偏差范围 [标准品特有]
  4984. type: integer
  4985. type: object
  4986. models.ErmcpDeliveryGoodsDetail2:
  4987. properties:
  4988. convertratio:
  4989. description: 套保系数(折算系数)
  4990. type: number
  4991. data:
  4992. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  4993. description: 现货商品基本信息(交割品种)
  4994. type: object
  4995. gblist:
  4996. description: 品牌列表
  4997. items:
  4998. $ref: '#/definitions/models.Ermcp3Brand'
  4999. type: array
  5000. gmlist:
  5001. description: 品类列表(仓单标准)
  5002. items:
  5003. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5004. type: array
  5005. type: object
  5006. models.ErmcpDeliveryGoodsDetailEx:
  5007. properties:
  5008. data:
  5009. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5010. description: 现货商品基本信息(交割品种)
  5011. type: object
  5012. gblist:
  5013. description: 品牌列表
  5014. items:
  5015. $ref: '#/definitions/models.Ermcp3Brand'
  5016. type: array
  5017. gmlist:
  5018. description: 品类列表(仓单标准)
  5019. items:
  5020. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5021. type: array
  5022. mgList:
  5023. description: 套保列表
  5024. items:
  5025. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5026. type: array
  5027. type: object
  5028. models.ErmcpExposureDetailModel:
  5029. properties:
  5030. areauserid:
  5031. description: 机构ID
  5032. type: integer
  5033. changeQty:
  5034. description: 套保变动量
  5035. type: number
  5036. contracttype:
  5037. description: 现货合同类型 - 1:采购 -1:销售
  5038. type: integer
  5039. convertfactor:
  5040. description: 标仓系数
  5041. type: number
  5042. convertratio:
  5043. description: 套保系数
  5044. type: number
  5045. createtime:
  5046. description: 时间
  5047. type: string
  5048. enumdicname:
  5049. description: 现货商品单位名称
  5050. type: string
  5051. logtype:
  5052. description: 类型 - 1:套保计划 2:现货合同
  5053. type: integer
  5054. middlegoodsId:
  5055. description: 套保商品id
  5056. type: integer
  5057. middlegoodscode:
  5058. description: 套保商品代码
  5059. type: string
  5060. middlegoodsname:
  5061. description: 套保商品名称
  5062. type: string
  5063. qty:
  5064. description: 数量
  5065. type: number
  5066. relateNo:
  5067. description: 现货合同/套保计划编号
  5068. type: string
  5069. wrstandardcode:
  5070. description: 现货商品代码
  5071. type: string
  5072. wrstandardid:
  5073. description: 现货商品ID
  5074. type: integer
  5075. wrstandardname:
  5076. description: 现货商品名称
  5077. type: string
  5078. type: object
  5079. models.ErmcpExposurePostion:
  5080. properties:
  5081. agreeunit:
  5082. description: 合约单位
  5083. type: string
  5084. areauserid:
  5085. description: 所属机构id
  5086. type: integer
  5087. convertratio:
  5088. description: 期货品种系数(折算系数)
  5089. type: number
  5090. curqty:
  5091. description: 当前持仓
  5092. type: integer
  5093. diffhedgeqty:
  5094. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5095. type: number
  5096. diffqty:
  5097. description: 持仓变动量=当前持仓-昨日持仓
  5098. type: integer
  5099. goodscode:
  5100. description: 商品代码
  5101. type: string
  5102. goodsid:
  5103. description: 商品id
  5104. type: integer
  5105. goodsname:
  5106. description: 商品名称
  5107. type: string
  5108. middlegoodsid:
  5109. description: 套保商品id
  5110. type: integer
  5111. ydqty:
  5112. description: 昨日持仓
  5113. type: integer
  5114. type: object
  5115. models.ErmcpFuturesCompany:
  5116. properties:
  5117. brokerid:
  5118. description: 经纪公司代码
  5119. type: string
  5120. channeladdress:
  5121. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5122. type: string
  5123. channelid:
  5124. description: 对冲渠道ID
  5125. type: string
  5126. createtime:
  5127. description: 创建时间
  5128. type: string
  5129. creatorid:
  5130. description: 创建人
  5131. type: string
  5132. fcid:
  5133. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5134. type: integer
  5135. fcname:
  5136. description: 期货公司名称
  5137. type: string
  5138. isvalid:
  5139. description: 是否有效 - 0:无效 1:有效
  5140. type: integer
  5141. mhpaddress:
  5142. description: MHP服务地址(IP:Port)
  5143. type: string
  5144. riskrulegroupid:
  5145. description: 风控规则组ID
  5146. type: string
  5147. tradefeetmpid:
  5148. description: 手续费模板ID[TradeConfigTmpType为2]
  5149. type: string
  5150. trademargintmpid:
  5151. description: 保证金模板ID [TradeConfigTmpType为1]
  5152. type: string
  5153. traderatetmpid:
  5154. description: 汇率模板ID[TradeConfigTmpType为3]
  5155. type: string
  5156. updatetime:
  5157. description: 更新时间
  5158. type: string
  5159. updatorid:
  5160. description: 更新人
  5161. type: string
  5162. type: object
  5163. models.ErmcpGGConvertCfg:
  5164. properties:
  5165. convertratio:
  5166. description: 折算系数
  5167. type: number
  5168. destgoodsgroupid:
  5169. description: 目标品种ID
  5170. type: integer
  5171. dstcode:
  5172. description: 目录品种代码
  5173. type: string
  5174. dstexchangecode:
  5175. description: 目标期货交易所
  5176. type: string
  5177. dstname:
  5178. description: 目标品种名称
  5179. type: string
  5180. dstunitid:
  5181. description: 目标品种单位ID
  5182. type: integer
  5183. dstunitidname:
  5184. description: 目标品种单位名称
  5185. type: string
  5186. modifytime:
  5187. description: 修改时间
  5188. type: string
  5189. srccode:
  5190. description: 源品种代码
  5191. type: string
  5192. srcexchangecode:
  5193. description: 源期货交易所
  5194. type: string
  5195. srcgoodsgroupid:
  5196. description: 源品种ID
  5197. type: integer
  5198. srcname:
  5199. description: 源品种名称
  5200. type: string
  5201. srcunitid:
  5202. description: 源品种单位ID
  5203. type: integer
  5204. srcunitidname:
  5205. description: 源品种单位名称
  5206. type: string
  5207. type: object
  5208. models.ErmcpGoodsBrand:
  5209. properties:
  5210. areauserid:
  5211. description: 所属机构
  5212. type: integer
  5213. brandid:
  5214. description: BrandID(SEQ_SPOTGOODSBRAND)
  5215. type: integer
  5216. brandname:
  5217. description: 品牌名称
  5218. type: string
  5219. createtime:
  5220. description: 创建时间
  5221. type: string
  5222. creatorid:
  5223. description: 创建人
  5224. type: integer
  5225. creatorsrc:
  5226. description: 创建人来源 - 1:管理端 2:终端
  5227. type: integer
  5228. deliverygoodsid:
  5229. description: 现货品种ID
  5230. type: integer
  5231. isvalid:
  5232. description: 是否有效 - 0:无效 1:有效
  5233. type: integer
  5234. updatetime:
  5235. description: 更新时间
  5236. type: string
  5237. updatorid:
  5238. description: 更新人
  5239. type: integer
  5240. updatorsrc:
  5241. description: 更新人来源 - 1:管理端 2:终端
  5242. type: integer
  5243. wrstandardid:
  5244. description: 现货商品ID
  5245. type: integer
  5246. type: object
  5247. models.ErmcpGoodsModel:
  5248. properties:
  5249. areauserid:
  5250. description: 所属机构
  5251. type: integer
  5252. convertfactor:
  5253. description: 标仓系数
  5254. type: number
  5255. createtime:
  5256. description: 创建时间
  5257. type: string
  5258. creatorid:
  5259. description: 创建人
  5260. type: integer
  5261. creatorsrc:
  5262. description: 创建人来源 - 1:管理端 2:终端
  5263. type: integer
  5264. deliverygoodsid:
  5265. description: 现货品种ID
  5266. type: integer
  5267. isvalid:
  5268. description: 是否有效 - 0:无效 1:有效
  5269. type: integer
  5270. modelid:
  5271. description: ModelID(SEQ_SPOTGOODSMODEL)
  5272. type: integer
  5273. modelname:
  5274. description: 型号名称
  5275. type: string
  5276. updatetime:
  5277. description: 更新时间
  5278. type: string
  5279. updatorid:
  5280. description: 更新人
  5281. type: integer
  5282. updatorsrc:
  5283. description: 更新人来源 - 1:管理端 2:终端
  5284. type: integer
  5285. wrstandardid:
  5286. description: 现货商品ID
  5287. type: integer
  5288. type: object
  5289. models.ErmcpHedgePlan:
  5290. properties:
  5291. areauserid:
  5292. description: 用户ID
  5293. type: integer
  5294. audittime:
  5295. description: 审核时间
  5296. type: string
  5297. contracttype:
  5298. description: 计划类型 - 1:采购 -1:销售
  5299. type: integer
  5300. convertfactor:
  5301. description: 标仓系数
  5302. type: number
  5303. createtime:
  5304. description: 创建时间
  5305. type: string
  5306. deliverygoodsid:
  5307. description: 现货品种ID
  5308. type: integer
  5309. deliverygoodsname:
  5310. description: 现货品种名称
  5311. type: string
  5312. enumdicname:
  5313. description: 单位名称
  5314. type: string
  5315. hedgeplanid:
  5316. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5317. type: string
  5318. hedgeplanno:
  5319. description: 套保计划编号(名称)
  5320. type: string
  5321. hedgeplanstatus:
  5322. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5323. type: integer
  5324. planqty:
  5325. description: 计划数量
  5326. type: number
  5327. plantime:
  5328. description: 计划时间
  5329. type: string
  5330. producttype:
  5331. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5332. type: integer
  5333. remark:
  5334. description: 备注
  5335. type: string
  5336. spotgoodsdesc:
  5337. description: 商品型号
  5338. type: string
  5339. unitid:
  5340. description: 单位id
  5341. type: integer
  5342. updatetime:
  5343. description: 更新时间
  5344. type: string
  5345. wrstandardid:
  5346. description: 现货商品ID
  5347. type: integer
  5348. wrstandardname:
  5349. description: 现货商品名称
  5350. type: string
  5351. type: object
  5352. models.ErmcpHedgePosition:
  5353. properties:
  5354. accountid:
  5355. description: 资金账号[外部母账户]
  5356. type: integer
  5357. curbuyposition:
  5358. description: 期末买头寸
  5359. type: integer
  5360. cursellposition:
  5361. description: 期末卖头寸
  5362. type: integer
  5363. curtdbuyposition:
  5364. description: 期末今日买头寸
  5365. type: integer
  5366. curtdsellposition:
  5367. description: 期末今日卖头寸
  5368. type: integer
  5369. curydbuyposition:
  5370. description: 期末上日买头寸
  5371. type: integer
  5372. curydsellposition:
  5373. description: 期末上日卖头寸
  5374. type: integer
  5375. decreaseqty:
  5376. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5377. type: integer
  5378. fretdbuyposition:
  5379. description: 冻结今日买头寸
  5380. type: integer
  5381. fretdsellposition:
  5382. description: 冻结今日卖头寸
  5383. type: integer
  5384. freydbuyposition:
  5385. description: 冻结上日买头寸
  5386. type: integer
  5387. freydsellposition:
  5388. description: 冻结上日卖头寸
  5389. type: integer
  5390. goodscode:
  5391. description: 商品代码
  5392. type: string
  5393. goodsid:
  5394. description: 商品id
  5395. type: integer
  5396. goodsname:
  5397. description: 商品名称
  5398. type: string
  5399. hedgeaccountcode:
  5400. description: 对冲账号
  5401. type: string
  5402. hedgegoodsid:
  5403. description: 对冲合约ID
  5404. type: integer
  5405. increaseqty:
  5406. description: 增加数量 = 期末买头寸 - 期初买头寸
  5407. type: integer
  5408. marketid:
  5409. description: 市场ID
  5410. type: integer
  5411. relateduserid:
  5412. description: 关联用户id
  5413. type: integer
  5414. totalcurqty:
  5415. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5416. type: integer
  5417. totalydqty:
  5418. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5419. type: integer
  5420. tradedate:
  5421. description: 交易日(yyyyMMdd)
  5422. type: string
  5423. ydbuyposition:
  5424. description: 期初买头寸
  5425. type: integer
  5426. ydsellposition:
  5427. description: 期初卖头寸
  5428. type: integer
  5429. type: object
  5430. models.ErmcpHedgePositionDetail:
  5431. properties:
  5432. buyorsell:
  5433. description: 买卖方向 0-买 1-卖
  5434. type: integer
  5435. channelbuildtype:
  5436. description: 开平方向 1-建仓 2-平仓
  5437. type: integer
  5438. goodscode:
  5439. description: 商品代码
  5440. type: string
  5441. goodsname:
  5442. description: 商品名称
  5443. type: string
  5444. hedgegoodsid:
  5445. description: 商品id
  5446. type: integer
  5447. tradeqty:
  5448. description: 数量(成交数量)
  5449. type: integer
  5450. tradetime:
  5451. description: 时间(成交时间)
  5452. type: string
  5453. type: object
  5454. models.ErmcpHisExposure:
  5455. properties:
  5456. needhedgeexposoure:
  5457. description: 应套保敞口
  5458. type: number
  5459. reckondate:
  5460. description: 日照时期(yyyyMMdd)
  5461. type: string
  5462. totalexposure:
  5463. description: 总敞口
  5464. type: number
  5465. type: object
  5466. models.ErmcpHisExposureS:
  5467. properties:
  5468. data:
  5469. description: 历史敞口
  5470. items:
  5471. $ref: '#/definitions/models.ErmcpHisExposure'
  5472. type: array
  5473. enumdicname:
  5474. description: 单位名称
  5475. type: string
  5476. middlegoodscode:
  5477. description: 套保品种代码
  5478. type: string
  5479. middlegoodsid:
  5480. description: 套保品种ID
  5481. type: integer
  5482. middlegoodsname:
  5483. description: 套保品种名称
  5484. type: string
  5485. type: object
  5486. models.ErmcpLoginUser:
  5487. properties:
  5488. accountname:
  5489. description: 用户名称
  5490. type: string
  5491. clientroleid:
  5492. description: 角色id(usertype=2)
  5493. type: integer
  5494. createtime:
  5495. description: 创建时间
  5496. type: string
  5497. logincode:
  5498. description: 登录代码
  5499. type: string
  5500. loginid:
  5501. description: 登录id(LOGINID)
  5502. type: integer
  5503. loginstatus:
  5504. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5505. type: integer
  5506. memberuserid:
  5507. description: 所属会员id
  5508. type: integer
  5509. mobile:
  5510. description: 手机号
  5511. type: string
  5512. modifytime:
  5513. description: 修改时间
  5514. type: string
  5515. password:
  5516. description: 密码(不可解密)
  5517. type: string
  5518. rolename:
  5519. description: 角色名称
  5520. type: string
  5521. rolestatus:
  5522. description: 角色状态 1-启用 2-停用
  5523. type: integer
  5524. roletype:
  5525. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5526. type: string
  5527. userid:
  5528. description: 用户id
  5529. type: integer
  5530. usertype:
  5531. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5532. type: integer
  5533. type: object
  5534. models.ErmcpLoginUserEx:
  5535. properties:
  5536. roleid:
  5537. description: 角色id
  5538. type: integer
  5539. rolename:
  5540. description: 角色名称
  5541. type: string
  5542. userlist:
  5543. description: 用户列表
  5544. items:
  5545. $ref: '#/definitions/models.ErmcpLoginUser'
  5546. type: array
  5547. usertype:
  5548. description: 用户类型 2-机构 7-企业成员(云平台)
  5549. type: integer
  5550. type: object
  5551. models.ErmcpMiddleGoodsChangeLog:
  5552. properties:
  5553. aftervalue:
  5554. description: 变更后
  5555. type: number
  5556. applyid:
  5557. description: 操作人
  5558. type: integer
  5559. applyname:
  5560. description: 操作人名称
  5561. type: string
  5562. applysrc:
  5563. description: 操作来源 - 1:管理端 2:终端
  5564. type: integer
  5565. beforevalue:
  5566. description: 变更前
  5567. type: number
  5568. changelogtype:
  5569. description: 变更流水类型 - 1:套保比率变更
  5570. type: integer
  5571. handlestatus:
  5572. description: 处理状态
  5573. type: integer
  5574. logdatetime:
  5575. description: 流水日期
  5576. type: string
  5577. logid:
  5578. description: 流水ID
  5579. type: integer
  5580. logremark:
  5581. description: 流水备注
  5582. type: string
  5583. middlegoodsid:
  5584. description: 套保品种ID
  5585. type: integer
  5586. tradedate:
  5587. description: 交易日(yyyyMMdd)
  5588. type: string
  5589. updatetime:
  5590. description: 更新时间
  5591. type: string
  5592. type: object
  5593. models.ErmcpMiddleGoodsDetail:
  5594. properties:
  5595. cvList:
  5596. description: 期货品种折算列表
  5597. items:
  5598. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5599. type: array
  5600. mg:
  5601. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5602. description: 套保品种基本信息
  5603. type: object
  5604. wrcList:
  5605. description: 现货品种列表(现货商品折算配置)
  5606. items:
  5607. $ref: '#/definitions/models.WRSConverTDetail'
  5608. type: array
  5609. type: object
  5610. models.ErmcpMiddleGoodsModel:
  5611. properties:
  5612. areauserid:
  5613. description: 机构用户ID
  5614. type: integer
  5615. createtime:
  5616. description: 修改时间
  5617. type: string
  5618. enumdicname:
  5619. description: 单位名称
  5620. type: string
  5621. evaluateratio:
  5622. description: 估价系数
  5623. type: number
  5624. goodsgroupid:
  5625. description: 关联期货品种ID
  5626. type: integer
  5627. isvalid:
  5628. description: 状态 0-无效(停用) 1-有效(正常)
  5629. type: integer
  5630. middlegoodscode:
  5631. description: 套保品种代码
  5632. type: string
  5633. middlegoodsid:
  5634. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5635. type: integer
  5636. middlegoodsname:
  5637. description: 套保品种名称
  5638. type: string
  5639. modifytime:
  5640. description: 修改时间
  5641. type: string
  5642. needhedgeratio:
  5643. description: 套保比率
  5644. type: number
  5645. qtydecimalplace:
  5646. description: 数量小数位
  5647. type: integer
  5648. relatedgoodsid:
  5649. description: 关联交易商品ID
  5650. type: integer
  5651. relatedgoodstype:
  5652. description: 关联商品类型 - 1:期货合约 2:现货品种
  5653. type: integer
  5654. remark:
  5655. description: 备注
  5656. type: string
  5657. type: object
  5658. models.ErmcpModel:
  5659. properties:
  5660. accountname:
  5661. description: 账户名称
  5662. type: string
  5663. attachment:
  5664. description: 附件
  5665. type: string
  5666. audittime:
  5667. description: 审核时间
  5668. type: string
  5669. brandname:
  5670. description: 品牌名称
  5671. type: string
  5672. contracctstatus:
  5673. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5674. type: integer
  5675. contractmargin:
  5676. description: 合同保证金
  5677. type: number
  5678. contractno:
  5679. description: 合同编号
  5680. type: string
  5681. contracttype:
  5682. description: 合同类型 1-采购, -1-销售
  5683. type: integer
  5684. convertfactor:
  5685. description: 标仓系数
  5686. type: number
  5687. createtime:
  5688. description: 创建时间
  5689. type: string
  5690. daikaiamount:
  5691. description: 应收(开)票额
  5692. type: number
  5693. deliveryenddate:
  5694. description: 交割结束日
  5695. type: string
  5696. deliverygoodscode:
  5697. description: 现货品种代码
  5698. type: string
  5699. deliverygoodsid:
  5700. description: 现货商品ID
  5701. type: integer
  5702. deliverygoodsname:
  5703. description: 现货品种名称
  5704. type: string
  5705. deliverystartdate:
  5706. description: 交割开始日
  5707. type: string
  5708. enddate:
  5709. description: 点价结束日
  5710. type: string
  5711. enumdicname:
  5712. description: 单位名称
  5713. type: string
  5714. goodscode:
  5715. description: 点价商品代码
  5716. type: string
  5717. goodsid:
  5718. description: 点价商品ID
  5719. type: integer
  5720. goodsname:
  5721. description: 点价商品名称
  5722. type: string
  5723. invoiceamount:
  5724. description: 已开票额
  5725. type: number
  5726. loanamount:
  5727. description: 贷款总额=已定价额+调整金额
  5728. type: number
  5729. margin:
  5730. description: 保证金
  5731. type: number
  5732. modelname:
  5733. description: 型号名称
  5734. type: string
  5735. payamount:
  5736. description: 已收付额(收款或付款)
  5737. type: number
  5738. preinvoiceamount:
  5739. description: 预收(开)票额
  5740. type: number
  5741. prepayamount:
  5742. description: 预收付额
  5743. type: number
  5744. price:
  5745. description: 价格
  5746. type: number
  5747. pricedamount:
  5748. description: 已定价额
  5749. type: number
  5750. pricedavg:
  5751. description: 已点均价
  5752. type: number
  5753. pricedqty:
  5754. description: 已定价量
  5755. type: number
  5756. pricemove:
  5757. description: 升贴水
  5758. type: number
  5759. pricetype:
  5760. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5761. type: integer
  5762. producttype:
  5763. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5764. type: integer
  5765. qty:
  5766. description: 合同量
  5767. type: number
  5768. reckonadjustamount:
  5769. description: 调整金额
  5770. type: number
  5771. reckonedamount:
  5772. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5773. type: number
  5774. reckonotheramount:
  5775. description: 其它费用
  5776. type: number
  5777. reckonrealqty:
  5778. description: 已确定量
  5779. type: number
  5780. remark:
  5781. description: 备注
  5782. type: string
  5783. spotcontractid:
  5784. description: 合同ID
  5785. type: string
  5786. spotgoodsbrandid:
  5787. description: 现货品牌ID
  5788. type: integer
  5789. spotgoodsdesc:
  5790. description: 商品型号(商品规格)
  5791. type: string
  5792. spotgoodsmodelid:
  5793. description: 现货型号ID
  5794. type: integer
  5795. startdate:
  5796. description: 点价开始日
  5797. type: string
  5798. totalamount:
  5799. description: 合计总额
  5800. type: number
  5801. unpayamount:
  5802. description: 应收付款额(应支付或应收款)
  5803. type: number
  5804. unpricedqty:
  5805. description: 未定价量
  5806. type: number
  5807. unsureqty:
  5808. description: 未确定量
  5809. type: number
  5810. userid:
  5811. description: 用户ID
  5812. type: integer
  5813. wrstandardcode:
  5814. description: 现货商品代码
  5815. type: string
  5816. wrstandardid:
  5817. description: 现货商品ID
  5818. type: integer
  5819. wrstandardname:
  5820. description: 现货商品名称
  5821. type: string
  5822. type: object
  5823. models.ErmcpOPLogModel:
  5824. properties:
  5825. aftervalue:
  5826. description: 变更后
  5827. type: number
  5828. applyid:
  5829. description: 操作人ID
  5830. type: string
  5831. applyname:
  5832. description: 操作人名称
  5833. type: string
  5834. beforevalue:
  5835. description: 变更前
  5836. type: number
  5837. biztype:
  5838. description: 业务类型 - 1:套保计划 2:现货合同
  5839. type: integer
  5840. contracttype:
  5841. description: 现货合同类型 - 1:采购 -1:销售
  5842. type: integer
  5843. logvalue:
  5844. description: 数值
  5845. type: number
  5846. operatelogtype:
  5847. description: 操作流水类型
  5848. type: integer
  5849. operatelogtypedesc:
  5850. description: 操作流水类型名称
  5851. type: string
  5852. relatedid:
  5853. description: 现货合同ID\套保计划
  5854. type: string
  5855. updatetime:
  5856. description: 更新时间
  5857. type: string
  5858. type: object
  5859. models.ErmcpPendingAudit:
  5860. properties:
  5861. areastockqty:
  5862. description: '待审核数量: 库存申请'
  5863. type: integer
  5864. businessdjqty:
  5865. description: '待审核数量: 点价'
  5866. type: integer
  5867. businessfpqty:
  5868. description: '待审核数量: 发票'
  5869. type: integer
  5870. businessjsqty:
  5871. description: '待审核数量: 结算'
  5872. type: integer
  5873. businesskxqty:
  5874. description: '待审核数量: 款项'
  5875. type: integer
  5876. hedgeplanqty:
  5877. description: '待审核数量: 套保计划'
  5878. type: integer
  5879. spotcontractqty:
  5880. description: '待审核数量: 现货合同'
  5881. type: integer
  5882. userqty:
  5883. description: '待审核数量: 用户'
  5884. type: integer
  5885. type: object
  5886. models.ErmcpRealExposureModel:
  5887. properties:
  5888. AreaUserID:
  5889. description: 所属机构
  5890. type: integer
  5891. BuyFutureQty:
  5892. description: 买入期货数量
  5893. type: number
  5894. BuyPlanQty:
  5895. description: 采购计划数量
  5896. type: number
  5897. BuyPricedQty:
  5898. description: 采购合同已定价数量
  5899. type: number
  5900. MiddleGoodsCode:
  5901. description: 套保品种代码
  5902. type: string
  5903. MiddleGoodsHedgeRatio:
  5904. description: 应套保比例
  5905. type: number
  5906. MiddleGoodsID:
  5907. description: 套保品种
  5908. type: integer
  5909. MiddleGoodsName:
  5910. description: 套保品种名称
  5911. type: string
  5912. NeedHedgeExposoure:
  5913. description: 应套保敞口
  5914. type: number
  5915. NeedHedgeRatio:
  5916. description: 应套保敞口比例
  5917. type: number
  5918. OriBuyFutureQty:
  5919. description: 期初买入期货数量
  5920. type: number
  5921. OriBuyPlanQty:
  5922. description: 期初采购计划数量
  5923. type: number
  5924. OriBuyPricedQty:
  5925. description: 期初采购合同已定价数量
  5926. type: number
  5927. OriSellFutureQty:
  5928. description: 期初卖出期货数量
  5929. type: number
  5930. OriSellPlanQty:
  5931. description: 期初销售计划数量
  5932. type: number
  5933. OriSellPricedQty:
  5934. description: 期初销售合同已定价数量
  5935. type: number
  5936. SellFutureQty:
  5937. description: 卖出期货数量
  5938. type: number
  5939. SellPlanQty:
  5940. description: 销售计划数量
  5941. type: number
  5942. SellPricedQty:
  5943. description: 销售合同已定价数量
  5944. type: number
  5945. TotalExposure:
  5946. description: 总敞口
  5947. type: number
  5948. TotalFutureQty:
  5949. description: 期货数量
  5950. type: number
  5951. TotalHedgeRatio:
  5952. description: 敞口比例
  5953. type: number
  5954. TotalNeedHedgeQty:
  5955. description: 期货应套保量
  5956. type: number
  5957. TotalSpotQty:
  5958. description: 现货数量
  5959. type: number
  5960. diffFutuQty:
  5961. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  5962. type: number
  5963. diffSpotQty:
  5964. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  5965. type: number
  5966. enumdicname:
  5967. description: 单位名称
  5968. type: string
  5969. oriTotalFutuQty:
  5970. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  5971. type: number
  5972. oriTotalSpotQty:
  5973. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  5974. type: number
  5975. type: object
  5976. models.ErmcpReportAreaSpotPL:
  5977. properties:
  5978. actualpl:
  5979. description: 实际损益
  5980. type: number
  5981. areauserid:
  5982. description: 所属机构
  5983. type: integer
  5984. brandname:
  5985. description: 品牌名称
  5986. type: string
  5987. curamount:
  5988. description: 期末额
  5989. type: number
  5990. curaverageprice:
  5991. description: 期末均价
  5992. type: number
  5993. curbuyamount:
  5994. description: 期末采购总额(采购额)
  5995. type: number
  5996. curbuyqty:
  5997. description: 期末采购总量
  5998. type: number
  5999. curmarketvalue:
  6000. description: 参考市值
  6001. type: number
  6002. curqty:
  6003. description: 期末量
  6004. type: number
  6005. cursellamount:
  6006. description: 期末销售总额(销售额)
  6007. type: number
  6008. cursellqty:
  6009. description: 期末销售总量
  6010. type: number
  6011. curspotprice:
  6012. description: 参考市价
  6013. type: number
  6014. enumdicname:
  6015. description: 现货商品单位名称
  6016. type: string
  6017. floatpl:
  6018. description: 浮动损益
  6019. type: number
  6020. gbenumdicname:
  6021. description: 品类单位名称
  6022. type: string
  6023. gbunitid:
  6024. description: 品类单位id
  6025. type: integer
  6026. modelname:
  6027. description: 品类名称
  6028. type: string
  6029. oriamount:
  6030. description: 期初额
  6031. type: number
  6032. oriaverageprice:
  6033. description: 期初均价
  6034. type: number
  6035. oribuyamount:
  6036. description: 期初采购总额
  6037. type: number
  6038. oribuyqty:
  6039. description: 期初采购总量
  6040. type: number
  6041. oriqty:
  6042. description: 期初量
  6043. type: number
  6044. orisellamount:
  6045. description: 期初销售总额
  6046. type: number
  6047. orisellqty:
  6048. description: 期初销售总量
  6049. type: number
  6050. spotgoodsbrandid:
  6051. description: 现货品牌ID
  6052. type: integer
  6053. spotgoodsmodelid:
  6054. description: 现货品类ID
  6055. type: integer
  6056. todaybuyamount:
  6057. description: 今日采购额
  6058. type: number
  6059. todaybuyaverageprice:
  6060. description: 今日采购均价(采购均价)
  6061. type: number
  6062. todaybuyqty:
  6063. description: 今日采购量(采购增量)
  6064. type: number
  6065. todaysellamount:
  6066. description: 今日销售额
  6067. type: number
  6068. todaysellaverageprice:
  6069. description: 今日销售均价(销售均价)
  6070. type: number
  6071. todaysellqty:
  6072. description: 今日销售量(销售增量)
  6073. type: number
  6074. unitid:
  6075. description: 现货商品单位id
  6076. type: integer
  6077. updatetime:
  6078. description: 更新时间
  6079. type: string
  6080. wrstandardcode:
  6081. description: 现货商品代码
  6082. type: string
  6083. wrstandardid:
  6084. description: 现货商品ID
  6085. type: integer
  6086. wrstandardname:
  6087. description: 现货商品名称
  6088. type: string
  6089. type: object
  6090. models.ErmcpReportDayExposure:
  6091. properties:
  6092. areauserid:
  6093. description: 所属机构
  6094. type: integer
  6095. buyfutureqty:
  6096. description: 买入期货数量
  6097. type: number
  6098. buyplanqty:
  6099. description: 采购计划数量
  6100. type: number
  6101. buypricedqty:
  6102. description: 采购合同已定价数量
  6103. type: number
  6104. diffFutuQty:
  6105. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  6106. type: number
  6107. diffSpotQty:
  6108. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  6109. type: number
  6110. enumdicname:
  6111. description: 单位名称
  6112. type: string
  6113. middlegoodscode:
  6114. description: 套保品种代码
  6115. type: string
  6116. middlegoodshedgeratio:
  6117. description: 应套保比例
  6118. type: number
  6119. middlegoodsid:
  6120. description: 套保品种ID
  6121. type: integer
  6122. middlegoodsname:
  6123. description: 套保品种名称
  6124. type: string
  6125. needhedgeexposoure:
  6126. description: 应套保敞口
  6127. type: number
  6128. needhedgeratio:
  6129. description: 应套保敞口比例
  6130. type: number
  6131. oriTotalFutuQty:
  6132. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6133. type: number
  6134. oriTotalSpotQty:
  6135. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6136. type: number
  6137. oribuyfutureqty:
  6138. description: 期初买入期货数量
  6139. type: number
  6140. oribuyplanqty:
  6141. description: 期初采购计划数量
  6142. type: number
  6143. oribuypricedqty:
  6144. description: 期初采购合同已定价数量
  6145. type: number
  6146. orisellfutureqty:
  6147. description: 期初卖出期货数量
  6148. type: number
  6149. orisellplanqty:
  6150. description: 期初销售计划数量
  6151. type: number
  6152. orisellpricedqty:
  6153. description: 期初销售合同已定价数量
  6154. type: number
  6155. reckondate:
  6156. description: 日照时期(yyyyMMdd)
  6157. type: string
  6158. sellfutureqty:
  6159. description: 卖出期货数量
  6160. type: number
  6161. sellplanqty:
  6162. description: 销售计划数量
  6163. type: number
  6164. sellpricedqty:
  6165. description: 销售合同已定价数量
  6166. type: number
  6167. totalexposure:
  6168. description: 总敞口
  6169. type: number
  6170. totalfutureqty:
  6171. description: 期货数量
  6172. type: number
  6173. totalhedgeratio:
  6174. description: 敞口比例
  6175. type: number
  6176. totalneedhedgeqty:
  6177. description: 期货应套保量
  6178. type: number
  6179. totalspotqty:
  6180. description: 现货数量
  6181. type: number
  6182. type: object
  6183. models.ErmcpReportDayFR:
  6184. properties:
  6185. areauserid:
  6186. description: 所属机构
  6187. type: integer
  6188. collectinvoiceamount:
  6189. description: 今日开票金额
  6190. type: number
  6191. collectinvoicecount:
  6192. description: 今日开票笔数
  6193. type: integer
  6194. collectmoneyamount:
  6195. description: 今日收款金额
  6196. type: number
  6197. collectmoneycount:
  6198. description: 今日收款笔数
  6199. type: integer
  6200. payinvoiceamount:
  6201. description: 今日收票金额
  6202. type: number
  6203. payinvoicecount:
  6204. description: 今日收票笔数
  6205. type: integer
  6206. paymoneyamount:
  6207. description: 今日付款金额
  6208. type: number
  6209. paymoneycount:
  6210. description: 今日付款笔数
  6211. type: integer
  6212. reckondate:
  6213. description: 日照时期(yyyyMMdd)
  6214. type: string
  6215. updatetime:
  6216. description: 更新时间
  6217. type: string
  6218. type: object
  6219. models.ErmcpReportDaySpot:
  6220. properties:
  6221. areauserid:
  6222. description: 所属机构T
  6223. type: integer
  6224. buyinqty:
  6225. description: 采购入库量
  6226. type: number
  6227. enumdicname:
  6228. description: 现货商品单位名称
  6229. type: string
  6230. reckondate:
  6231. description: 日照时期(yyyyMMdd)
  6232. type: string
  6233. selloutqty:
  6234. description: 销售出库量
  6235. type: number
  6236. todaybuyreckonqty:
  6237. description: 采购确定量
  6238. type: number
  6239. todaysellreckonqty:
  6240. description: 销售确定量
  6241. type: number
  6242. totalbuypricedqty:
  6243. description: 采购定价量 = 期末 - 期初
  6244. type: number
  6245. totalsellpricedqty:
  6246. description: 销售定价量 = 期末 - 期初
  6247. type: number
  6248. wrstandardcode:
  6249. description: 现货商品代码
  6250. type: string
  6251. wrstandardid:
  6252. description: 现货商品ID
  6253. type: integer
  6254. wrstandardname:
  6255. description: 现货商品名称
  6256. type: string
  6257. type: object
  6258. models.ErmcpReportMonSpot:
  6259. properties:
  6260. areauserid:
  6261. description: 所属机构T
  6262. type: integer
  6263. buyinqty:
  6264. description: 采购入库量
  6265. type: number
  6266. cycletime:
  6267. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6268. type: string
  6269. cycletype:
  6270. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6271. type: integer
  6272. enumdicname:
  6273. description: 现货商品单位名称
  6274. type: string
  6275. selloutqty:
  6276. description: 销售出库量
  6277. type: number
  6278. todaybuyreckonqty:
  6279. description: 采购确定量
  6280. type: number
  6281. todaysellreckonqty:
  6282. description: 销售确定量
  6283. type: number
  6284. totalbuypricedqty:
  6285. description: 采购定价量 = 期末 - 期初
  6286. type: number
  6287. totalsellpricedqty:
  6288. description: 销售定价量 = 期末 - 期初
  6289. type: number
  6290. wrstandardcode:
  6291. description: 现货商品代码
  6292. type: string
  6293. wrstandardid:
  6294. description: 现货商品ID
  6295. type: integer
  6296. wrstandardname:
  6297. description: 现货商品名称
  6298. type: string
  6299. type: object
  6300. models.ErmcpReportMonthFR:
  6301. properties:
  6302. areauserid:
  6303. description: 所属机构【原值】
  6304. type: integer
  6305. collectinvoiceamount:
  6306. description: 今日开票金额【汇总】
  6307. type: number
  6308. collectinvoicecount:
  6309. description: 今日开票笔数【汇总】
  6310. type: integer
  6311. collectmoneyamount:
  6312. description: 今日收款金额【汇总】
  6313. type: number
  6314. collectmoneycount:
  6315. description: 今日收款笔数 【汇总】
  6316. type: integer
  6317. cycletime:
  6318. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6319. type: string
  6320. cycletype:
  6321. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6322. type: integer
  6323. dayFr:
  6324. description: 日报表明细
  6325. items:
  6326. $ref: '#/definitions/models.ErmcpReportDayFR'
  6327. type: array
  6328. payinvoiceamount:
  6329. description: 今日收票金额【汇总】
  6330. type: number
  6331. payinvoicecount:
  6332. description: 今日收票笔数【汇总】
  6333. type: integer
  6334. paymoneyamount:
  6335. description: 今日付款金额【汇总】
  6336. type: number
  6337. paymoneycount:
  6338. description: 今日付款笔数【汇总】
  6339. type: integer
  6340. updatetime:
  6341. description: 更新时间
  6342. type: string
  6343. type: object
  6344. models.ErmcpReportOPLog:
  6345. properties:
  6346. applyid:
  6347. description: 操作人
  6348. type: integer
  6349. applyname:
  6350. description: 操作人名称
  6351. type: string
  6352. biztype:
  6353. description: 业务类型 - 1:套保计划 2:现货合同
  6354. type: integer
  6355. brandname:
  6356. description: 品牌名称
  6357. type: string
  6358. contracttype:
  6359. description: 现货合同类型 - 1:采购 -1:销售
  6360. type: integer
  6361. enumdicName:
  6362. description: 单位名称
  6363. type: string
  6364. logdatetime:
  6365. description: 流水日期(时间)
  6366. type: string
  6367. logid:
  6368. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  6369. type: string
  6370. logtypename:
  6371. description: 合同类型(名称)
  6372. type: string
  6373. logvalue:
  6374. description: 数值
  6375. type: string
  6376. modelname:
  6377. description: 型号名称
  6378. type: string
  6379. operatelogtype:
  6380. description: 操作流水类型 -
  6381. type: integer
  6382. optypename:
  6383. description: 流水类型名称
  6384. type: string
  6385. relatedid:
  6386. description: 现货合同ID\套保计划
  6387. type: string
  6388. relatedno:
  6389. description: 合同编号
  6390. type: string
  6391. tradedate:
  6392. description: 交易日(yyyyMMdd)
  6393. type: string
  6394. userid:
  6395. description: 机构ID
  6396. type: integer
  6397. wrstandardcode:
  6398. description: 现货商品代码
  6399. type: string
  6400. wrstandardid:
  6401. description: 现货商品ID
  6402. type: integer
  6403. wrstandardname:
  6404. description: 现货商品名称
  6405. type: string
  6406. type: object
  6407. models.ErmcpRole:
  6408. properties:
  6409. areauserid:
  6410. description: 所属机构
  6411. type: integer
  6412. autoid:
  6413. description: 角色ID(自增ID)
  6414. type: integer
  6415. modifierid:
  6416. description: 修改人(创建人)
  6417. type: integer
  6418. modifiername:
  6419. description: 修改人名称
  6420. type: string
  6421. modifytime:
  6422. description: 修改时间(创建时间)
  6423. type: string
  6424. rolename:
  6425. description: 角色名称
  6426. type: string
  6427. rolestatus:
  6428. description: 角色状态 - 1:启用 2:停用
  6429. type: integer
  6430. roletype:
  6431. description: 角色类型 - 1- 管理端 2- 交易端
  6432. type: integer
  6433. type: object
  6434. models.ErmcpRoleMenu:
  6435. properties:
  6436. iconame:
  6437. description: 菜单图标
  6438. type: string
  6439. menutype:
  6440. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6441. type: integer
  6442. parentcode:
  6443. description: 上级资源代码
  6444. type: string
  6445. remark:
  6446. description: 菜单备注
  6447. type: string
  6448. resourcecode:
  6449. description: 菜单代码
  6450. type: string
  6451. resourcelevel:
  6452. description: 级别
  6453. type: integer
  6454. resourcename:
  6455. description: 菜单名称
  6456. type: string
  6457. roleid:
  6458. description: 角色id
  6459. type: integer
  6460. sort:
  6461. description: 排序
  6462. type: integer
  6463. url:
  6464. description: URL
  6465. type: string
  6466. userid:
  6467. description: 用户id
  6468. type: integer
  6469. type: object
  6470. models.ErmcpRoleMenuEx:
  6471. properties:
  6472. menu:
  6473. $ref: '#/definitions/models.ErmcpRoleMenu'
  6474. description: 父级菜单
  6475. type: object
  6476. subMenu:
  6477. description: 子级菜单
  6478. items:
  6479. $ref: '#/definitions/models.ErmcpRoleMenu'
  6480. type: array
  6481. type: object
  6482. models.ErmcpSpotContractModel:
  6483. properties:
  6484. amount:
  6485. description: 金额 [1:一口价、3:暂定价]
  6486. type: number
  6487. attachment:
  6488. description: 附件
  6489. type: string
  6490. auditremark:
  6491. description: 审核意见
  6492. type: string
  6493. audittime:
  6494. description: 审核时间
  6495. type: string
  6496. brandname:
  6497. description: 品牌名称
  6498. type: string
  6499. buyuserid:
  6500. description: 采购方ID
  6501. type: integer
  6502. buyusername:
  6503. description: 采购方名称
  6504. type: string
  6505. contracctstatus:
  6506. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6507. type: integer
  6508. contractmargin:
  6509. description: 合同保证金
  6510. type: number
  6511. contractno:
  6512. description: 现货合同编号
  6513. type: string
  6514. contracttype:
  6515. description: 现货合同类型 - 1:采购 -1:销售
  6516. type: integer
  6517. convertfactor:
  6518. description: 标仓系数
  6519. type: number
  6520. createtime:
  6521. description: 创建时间
  6522. type: string
  6523. deliveryenddate:
  6524. description: 交收期(结束)
  6525. type: string
  6526. deliverygoodscode:
  6527. description: 现货品种代码
  6528. type: string
  6529. deliverygoodsid:
  6530. description: 现货品种ID
  6531. type: integer
  6532. deliverygoodsname:
  6533. description: 现货品种名称
  6534. type: string
  6535. deliverystartdate:
  6536. description: 交收期(开始)
  6537. type: string
  6538. enddate:
  6539. description: 点价结束日期 [2:点价 3:暂定价]
  6540. type: string
  6541. enumdicname:
  6542. description: 单位名称
  6543. type: string
  6544. goodscode:
  6545. description: 点价合约代码
  6546. type: string
  6547. goodsid:
  6548. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  6549. type: integer
  6550. goodsname:
  6551. description: 点价商品名称
  6552. type: string
  6553. margin:
  6554. description: 当前保证金
  6555. type: number
  6556. modelname:
  6557. description: 型号名称
  6558. type: string
  6559. price:
  6560. description: 价格\暂定价 [1:一口价、3:暂定价]
  6561. type: number
  6562. pricemove:
  6563. description: 升贴水 [2:点价 3:暂定价]
  6564. type: number
  6565. pricetype:
  6566. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6567. type: integer
  6568. producttype:
  6569. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6570. type: integer
  6571. qty:
  6572. description: 数量
  6573. type: number
  6574. remark:
  6575. description: 备注
  6576. type: string
  6577. selluserid:
  6578. description: 销售方ID
  6579. type: integer
  6580. sellusername:
  6581. description: 销售方名称
  6582. type: string
  6583. spotcontractid:
  6584. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6585. type: string
  6586. spotgoodsbrandid:
  6587. description: 现货品牌ID
  6588. type: integer
  6589. spotgoodsdesc:
  6590. description: 商品型号
  6591. type: string
  6592. spotgoodsmodelid:
  6593. description: 现货型号ID
  6594. type: integer
  6595. startdate:
  6596. description: 点价开始日期 [2:点价 3:暂定价]
  6597. type: string
  6598. updatetime:
  6599. description: 更新时间
  6600. type: string
  6601. userid:
  6602. description: 机构ID
  6603. type: integer
  6604. wrstandardcode:
  6605. description: 现货商品代码
  6606. type: string
  6607. wrstandardid:
  6608. description: 现货商品ID
  6609. type: integer
  6610. wrstandardname:
  6611. description: 现货商品名称
  6612. type: string
  6613. type: object
  6614. models.ErmcpSpotGoodsPrice:
  6615. properties:
  6616. areauserid:
  6617. description: 所属机构id
  6618. type: integer
  6619. brandname:
  6620. description: 品牌名称
  6621. type: string
  6622. currencyid:
  6623. description: 报价货币ID
  6624. type: integer
  6625. enumdicname:
  6626. description: 现货商品单位名称
  6627. type: string
  6628. gbenumdicname:
  6629. description: 品类单位名称
  6630. type: string
  6631. gmunitid:
  6632. description: 品类单位id
  6633. type: integer
  6634. isvalid:
  6635. description: 是否有效 - 0:无效 1:有效
  6636. type: integer
  6637. modelname:
  6638. description: 品类名称
  6639. type: string
  6640. operateid:
  6641. description: 最后操作人
  6642. type: integer
  6643. operatesrc:
  6644. description: 最后操作来源 - 1:管理端 2:终端
  6645. type: integer
  6646. operatetime:
  6647. description: 最后操作时间
  6648. type: string
  6649. operatorname:
  6650. description: 操作人名称
  6651. type: string
  6652. spotgoodsbrandid:
  6653. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6654. type: integer
  6655. spotgoodsmodelid:
  6656. description: 现货品类ID(通用则为0)
  6657. type: integer
  6658. spotgoodsprice:
  6659. description: 现货价格
  6660. type: number
  6661. tradedate:
  6662. description: 交易日(yyyyMMdd)
  6663. type: string
  6664. unitid:
  6665. description: 现货商品单位id
  6666. type: integer
  6667. wrstandardcode:
  6668. description: 现货商品代码
  6669. type: string
  6670. wrstandardid:
  6671. description: 现货商品ID
  6672. type: integer
  6673. wrstandardname:
  6674. description: 现货商品名称
  6675. type: string
  6676. type: object
  6677. models.ErmcpSpotGoodsPriceLog:
  6678. properties:
  6679. areauserid:
  6680. description: 所属机构id
  6681. type: integer
  6682. brandname:
  6683. description: 品牌名称
  6684. type: string
  6685. currencyid:
  6686. description: 报价货币ID
  6687. type: integer
  6688. enumdicname:
  6689. description: 现货商品单位名称
  6690. type: string
  6691. gbenumdicname:
  6692. description: 品类单位名称
  6693. type: string
  6694. gmunitid:
  6695. description: 品类单位id
  6696. type: integer
  6697. logid:
  6698. description: 日志id
  6699. type: integer
  6700. modelname:
  6701. description: 品类名称
  6702. type: string
  6703. operateid:
  6704. description: 最后操作人
  6705. type: integer
  6706. operatesrc:
  6707. description: 最后操作来源 - 1:管理端 2:终端
  6708. type: integer
  6709. operatetime:
  6710. description: 最后操作时间
  6711. type: string
  6712. operatorname:
  6713. description: 操作人名称
  6714. type: string
  6715. spotgoodsbrandid:
  6716. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6717. type: integer
  6718. spotgoodsmodelid:
  6719. description: 现货品类ID(通用则为0)
  6720. type: integer
  6721. spotgoodsprice:
  6722. description: 现货价格
  6723. type: number
  6724. tradedate:
  6725. description: 交易日(yyyyMMdd)
  6726. type: string
  6727. unitid:
  6728. description: 现货商品单位id
  6729. type: integer
  6730. wrstandardcode:
  6731. description: 现货商品代码
  6732. type: string
  6733. wrstandardid:
  6734. description: 现货商品ID
  6735. type: integer
  6736. wrstandardname:
  6737. description: 现货商品名称
  6738. type: string
  6739. type: object
  6740. models.ErmcpTaAccount:
  6741. properties:
  6742. accountid:
  6743. description: 账户id
  6744. type: integer
  6745. accountname:
  6746. description: 账户名称
  6747. type: string
  6748. currencyid:
  6749. description: 币种id
  6750. type: integer
  6751. hedgeaccountcode:
  6752. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6753. type: string
  6754. ismain:
  6755. description: 是否主账户 0-否 1-是
  6756. type: integer
  6757. parentaccountid:
  6758. description: 父账户id
  6759. type: integer
  6760. relateduserid:
  6761. description: 关联userid
  6762. type: integer
  6763. tradestatus:
  6764. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6765. type: integer
  6766. userid:
  6767. description: 用户id
  6768. type: integer
  6769. type: object
  6770. models.ErmcpTaAccountEx:
  6771. properties:
  6772. mainAcc:
  6773. $ref: '#/definitions/models.ErmcpTaAccount'
  6774. description: 主账号
  6775. type: object
  6776. subacclist:
  6777. description: 子账号列表
  6778. items:
  6779. $ref: '#/definitions/models.ErmcpTaAccount'
  6780. type: array
  6781. type: object
  6782. models.ErmcpTaAccountInfo:
  6783. properties:
  6784. accountid:
  6785. description: 资金账户ID
  6786. type: integer
  6787. accountname:
  6788. description: 账户名称
  6789. type: string
  6790. balance:
  6791. description: 期初余额
  6792. type: number
  6793. capitalbalance:
  6794. description: 本金余额[外部子账户实际出入金余额]
  6795. type: number
  6796. closepl:
  6797. description: 今日平仓盈亏
  6798. type: number
  6799. creditdecrease:
  6800. description: 今日授信减少
  6801. type: number
  6802. creditincrease:
  6803. description: 今日授信增加
  6804. type: number
  6805. curdebt:
  6806. description: 期末欠款
  6807. type: number
  6808. currencyid:
  6809. description: 货币ID
  6810. type: integer
  6811. currentbalance:
  6812. description: 期末余额
  6813. type: number
  6814. freezecharge:
  6815. description: 手续费冻结
  6816. type: number
  6817. freezemargin:
  6818. description: 冻结保证金
  6819. type: number
  6820. fromaccountid:
  6821. description: 所属上级账户
  6822. type: integer
  6823. inamount:
  6824. description: 今日入金金额(包括三方入金)
  6825. type: number
  6826. ismain:
  6827. description: 是否母账号 0:不是母账户 1:是母账户
  6828. type: integer
  6829. mortgagecredit:
  6830. description: 授信金额
  6831. type: number
  6832. oridebt:
  6833. description: 期初欠款
  6834. type: number
  6835. orifreezecharge:
  6836. description: 期初手续费冻结
  6837. type: number
  6838. orifreezemargin:
  6839. description: 期初冻结保证金
  6840. type: number
  6841. orimortgagecredit:
  6842. description: 期初授信金额
  6843. type: number
  6844. oriothercredit:
  6845. description: 期初其它授信金额
  6846. type: number
  6847. oriotherfreezemargin:
  6848. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6849. type: number
  6850. orioutamountfreeze:
  6851. description: 期初出金冻结
  6852. type: number
  6853. oriusedmargin:
  6854. description: 期初占用保证金
  6855. type: number
  6856. othercredit:
  6857. description: 其它授信金额
  6858. type: number
  6859. othercreditdecrease:
  6860. description: 今日其它授信减少
  6861. type: number
  6862. othercreditincrease:
  6863. description: 今日其它授信增加
  6864. type: number
  6865. otherfreezemargin:
  6866. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6867. type: number
  6868. outamount:
  6869. description: 今日出金金额(包括三方出金)
  6870. type: number
  6871. outamountfreeze:
  6872. description: 出金冻结
  6873. type: number
  6874. outthreshold:
  6875. description: 出金阈值
  6876. type: number
  6877. parentaccountid:
  6878. description: 所属根账号
  6879. type: integer
  6880. paycharge:
  6881. description: 今日手续费支出
  6882. type: number
  6883. relateduserid:
  6884. description: 关联用户
  6885. type: integer
  6886. signstatus:
  6887. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6888. type: integer
  6889. sublevelpath:
  6890. description: 账号层级路径(逗号分隔,首尾加逗号)
  6891. type: string
  6892. taaccounttype:
  6893. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6894. type: integer
  6895. thirdinamount:
  6896. description: 今日三方入金
  6897. type: number
  6898. thirdoutamount:
  6899. description: 今日三方出金
  6900. type: number
  6901. tradestatus:
  6902. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6903. type: integer
  6904. transferamount:
  6905. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6906. type: number
  6907. usedmargin:
  6908. description: 占用保证金
  6909. type: number
  6910. userid:
  6911. description: 用户ID
  6912. type: integer
  6913. type: object
  6914. models.ErmcpTradeConfigTMP:
  6915. properties:
  6916. areauserid:
  6917. description: 所属机构
  6918. type: integer
  6919. basiccurrencyid:
  6920. description: 基本币种ID[汇率] - 目标币种
  6921. type: integer
  6922. mainaccountid:
  6923. description: 主账户ID
  6924. type: integer
  6925. modifierid:
  6926. description: 修改人
  6927. type: integer
  6928. remark:
  6929. description: 备注
  6930. type: string
  6931. tradeconfigtmpid:
  6932. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6933. type: integer
  6934. tradeconfigtmpname:
  6935. description: 交易配置模板名称
  6936. type: string
  6937. tradeconfigtmptype:
  6938. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6939. type: integer
  6940. updatetime:
  6941. description: 更新时间
  6942. type: string
  6943. type: object
  6944. models.ErmcpUserModel:
  6945. properties:
  6946. address:
  6947. description: 通讯地址
  6948. type: string
  6949. attachment1:
  6950. description: 附件1
  6951. type: string
  6952. audittime:
  6953. description: 审核时间
  6954. type: string
  6955. cardbackphotourl:
  6956. description: 证件反面图片地址
  6957. type: string
  6958. cardfrontphotourl:
  6959. description: 证件正面图片地址
  6960. type: string
  6961. cardnum:
  6962. description: 证件号码
  6963. type: string
  6964. cardtype:
  6965. description: 证件类型
  6966. type: integer
  6967. cardtypename:
  6968. description: 证件类型名称
  6969. type: string
  6970. cityid:
  6971. description: 市
  6972. type: integer
  6973. contactname:
  6974. description: 联系人
  6975. type: string
  6976. countryid:
  6977. description: 国家
  6978. type: integer
  6979. createtime:
  6980. description: 创建时间
  6981. type: string
  6982. customername:
  6983. description: 企业名称
  6984. type: string
  6985. districtid:
  6986. description: 区域
  6987. type: integer
  6988. email:
  6989. description: 邮件
  6990. type: string
  6991. legalpersonname:
  6992. description: 法人姓名(企业)
  6993. type: string
  6994. memberuserid:
  6995. description: 所属机构ID
  6996. type: integer
  6997. mobile:
  6998. description: 手机号码
  6999. type: string
  7000. modifytime:
  7001. description: 修改时间
  7002. type: string
  7003. nickname:
  7004. description: 昵称
  7005. type: string
  7006. provinceid:
  7007. description: 省
  7008. type: integer
  7009. remark:
  7010. description: 备注
  7011. type: string
  7012. status:
  7013. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7014. type: integer
  7015. statusdesc:
  7016. description: 账户状态中文描述
  7017. type: string
  7018. taxpayernum:
  7019. description: 纳税人识别号
  7020. type: string
  7021. telphone:
  7022. description: 联系电话
  7023. type: string
  7024. userid:
  7025. description: 用户ID
  7026. type: integer
  7027. userinfotype:
  7028. description: 客户类型
  7029. type: string
  7030. type: object
  7031. models.ErmcpWareHouseInfo:
  7032. properties:
  7033. address:
  7034. description: 详细地址
  7035. type: string
  7036. areauserid:
  7037. description: 所属机构
  7038. type: integer
  7039. autoid:
  7040. description: 自增ID(仓库ID)
  7041. type: integer
  7042. cityid:
  7043. description: 市
  7044. type: integer
  7045. contactname:
  7046. description: 联系人
  7047. type: string
  7048. contactnum:
  7049. description: 联系电话
  7050. type: string
  7051. countryid:
  7052. description: 国家
  7053. type: integer
  7054. createtime:
  7055. description: 创建时间
  7056. type: string
  7057. districtid:
  7058. description: 区
  7059. type: integer
  7060. hasvideo:
  7061. description: 是否有视频 - 0:无 1:有
  7062. type: integer
  7063. provinceid:
  7064. description: 省
  7065. type: integer
  7066. remark:
  7067. description: 审核备注
  7068. type: string
  7069. videourl:
  7070. description: 视频地址
  7071. type: string
  7072. warehousecode:
  7073. description: 仓库代码
  7074. type: string
  7075. warehousename:
  7076. description: 仓库名称
  7077. type: string
  7078. warehousestatus:
  7079. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7080. type: integer
  7081. warehousetype:
  7082. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7083. type: integer
  7084. type: object
  7085. models.ErmcpWrstandDetail:
  7086. properties:
  7087. gbList:
  7088. description: 品牌列表
  7089. items:
  7090. $ref: '#/definitions/models.GoodsBrand'
  7091. type: array
  7092. goodsList:
  7093. description: 关联交易商品列表
  7094. items:
  7095. $ref: '#/definitions/models.RelatedGoodsEx'
  7096. type: array
  7097. gtList:
  7098. description: 型号列表
  7099. items:
  7100. $ref: '#/definitions/models.GoodsTypeModel'
  7101. type: array
  7102. wrd:
  7103. $ref: '#/definitions/models.ErmcpWrstandard'
  7104. description: 基本信息
  7105. type: object
  7106. wrsList:
  7107. description: 套保信息列表
  7108. items:
  7109. $ref: '#/definitions/models.WRSConverTDetail'
  7110. type: array
  7111. type: object
  7112. models.ErmcpWrstandard:
  7113. properties:
  7114. areauserid:
  7115. description: 所属机构
  7116. type: integer
  7117. createtime:
  7118. description: 创建时间
  7119. type: string
  7120. creatorid:
  7121. description: 创建人
  7122. type: integer
  7123. deliverygoodsid:
  7124. description: 品种ID
  7125. type: integer
  7126. enumdicname:
  7127. description: 单位名称
  7128. type: string
  7129. isvalid:
  7130. description: 是否有效 0-无效(停用) 1-有效(正常)
  7131. type: integer
  7132. minivalue:
  7133. description: 最小变动值
  7134. type: integer
  7135. minivaluedp:
  7136. description: 最小变动值小数位
  7137. type: integer
  7138. realminivalue:
  7139. description: 实际最小变动值
  7140. type: integer
  7141. realminivaluedp:
  7142. description: 实际最小变动值小数位
  7143. type: integer
  7144. remark:
  7145. description: 备注
  7146. type: string
  7147. unitid:
  7148. description: 单位ID
  7149. type: integer
  7150. updatetime:
  7151. description: 更新时间
  7152. type: string
  7153. wrstandardcode:
  7154. description: 现货商品代码
  7155. type: string
  7156. wrstandardid:
  7157. description: 现货商品ID(SEQ_WRSTANDARD)
  7158. type: integer
  7159. wrstandardname:
  7160. description: 现货商品名称
  7161. type: string
  7162. type: object
  7163. models.Externalexchange:
  7164. properties:
  7165. autoid:
  7166. description: AutoID - SEQ_EXTERNALEXCHANGE
  7167. type: integer
  7168. exchangefullname:
  7169. description: 外部交易所全称
  7170. type: string
  7171. exexchangecode:
  7172. description: 外部交易所代码
  7173. type: string
  7174. exexchangename:
  7175. description: 外部交易所名称(简称)
  7176. type: string
  7177. ismarketprice:
  7178. description: 是否支持市价 - 0:不支持 1:支持
  7179. type: integer
  7180. quotegear:
  7181. description: 行情档位(1-10)
  7182. type: integer
  7183. showbrokerflag:
  7184. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7185. type: integer
  7186. updatetime:
  7187. description: 更新时间
  7188. type: string
  7189. required:
  7190. - autoid
  7191. type: object
  7192. models.Funcmenulist:
  7193. properties:
  7194. iconame:
  7195. description: 菜单图标
  7196. type: string
  7197. menutype:
  7198. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7199. type: integer
  7200. parentcode:
  7201. description: 上级资源代码
  7202. type: string
  7203. remark:
  7204. description: 备注
  7205. type: string
  7206. resourcecode:
  7207. description: 资源代码
  7208. type: string
  7209. resourcelevel:
  7210. description: 级别 1-一级 2-二级 3-三级 4-四级
  7211. type: integer
  7212. resourcename:
  7213. description: 资源名
  7214. type: string
  7215. sort:
  7216. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7217. type: integer
  7218. url:
  7219. description: URL
  7220. type: string
  7221. required:
  7222. - resourcecode
  7223. type: object
  7224. models.Goods:
  7225. properties:
  7226. agreeunit:
  7227. description: 合约单位
  7228. type: number
  7229. auditaccountid:
  7230. description: 审核操作员账号
  7231. type: integer
  7232. audittime:
  7233. description: 审核时间
  7234. type: string
  7235. cancelaccountid:
  7236. description: 注销操作员账号
  7237. type: integer
  7238. canceltime:
  7239. description: 注销时间
  7240. type: string
  7241. closepricemode:
  7242. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7243. type: integer
  7244. closepriceparam:
  7245. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7246. type: number
  7247. createtime:
  7248. description: 创建时间
  7249. type: string
  7250. creatorid:
  7251. description: 创建人
  7252. type: integer
  7253. currencyid:
  7254. description: 报价货币ID
  7255. type: integer
  7256. cutmode:
  7257. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7258. type: integer
  7259. decimalplace:
  7260. description: 报价小数位
  7261. type: integer
  7262. delistingdate:
  7263. description: 商品退市时间(状态:退市) -- 已作废
  7264. type: string
  7265. delistingmode:
  7266. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7267. type: integer
  7268. deliveryflag:
  7269. description: 交割标志 - 0:不可交割 1:可交割
  7270. type: integer
  7271. forceclosemode:
  7272. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7273. type: integer
  7274. forceclosevalue:
  7275. description: 定期强平参数 [收益权]
  7276. type: integer
  7277. goodscode:
  7278. description: 商品代码(内部)
  7279. type: string
  7280. goodscurrencyid:
  7281. description: 合约货币ID
  7282. type: integer
  7283. goodsgroupid:
  7284. description: 所属商品组ID
  7285. type: integer
  7286. goodsid:
  7287. description: 商品ID(自增ID SEQ_GOODS)
  7288. type: integer
  7289. goodsname:
  7290. description: 商品名称
  7291. type: string
  7292. goodsquotetype:
  7293. description: '合约报价类型: 1-直接报价 2-间接报价'
  7294. type: integer
  7295. goodsstatus:
  7296. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7297. type: integer
  7298. goodstradetype:
  7299. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7300. type: integer
  7301. goodunitid:
  7302. description: 报价单位ID
  7303. type: integer
  7304. hasquoter:
  7305. description: 是否有报价商 - 0:无报价商 1:有报价商
  7306. type: integer
  7307. hqprotecttime:
  7308. description: 行情保护时间(秒)
  7309. type: integer
  7310. innerdealmode:
  7311. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7312. type: integer
  7313. isbuylimited:
  7314. description: 是否限制建仓量 - 0:不限制 1:限制
  7315. type: integer
  7316. lasttradedate:
  7317. description: 最后交易日期(状态:待退市)
  7318. type: string
  7319. listingdate:
  7320. description: 交易开始日期
  7321. type: string
  7322. marketid:
  7323. description: 所属市场ID
  7324. type: integer
  7325. modifierid:
  7326. description: 修改人
  7327. type: integer
  7328. modifystatus:
  7329. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7330. type: integer
  7331. modifytime:
  7332. description: 修改时间
  7333. type: string
  7334. outerdealmode:
  7335. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7336. type: integer
  7337. outgoodscode:
  7338. description: 商品代码(外部)
  7339. type: string
  7340. qtydecimalplace:
  7341. description: 成交量小数位
  7342. type: integer
  7343. quotegear:
  7344. description: 行情档位(1-10)
  7345. type: integer
  7346. quoteminunit:
  7347. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7348. type: integer
  7349. quoteshowtype:
  7350. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7351. type: integer
  7352. quoteshowtypeinterval:
  7353. description: 行情报价间隔时间(秒)(成交价时为0)
  7354. type: integer
  7355. remark:
  7356. description: 备注
  7357. type: string
  7358. required:
  7359. - goodscode
  7360. - goodsid
  7361. - goodsname
  7362. - marketid
  7363. type: object
  7364. models.GoodsBrand:
  7365. properties:
  7366. brandid:
  7367. description: 品牌ID
  7368. type: integer
  7369. brandname:
  7370. description: 品牌名称
  7371. type: string
  7372. isvalid:
  7373. description: 是否有效 - 0:无效 1:有效
  7374. type: integer
  7375. type: object
  7376. models.GoodsIDAndName:
  7377. properties:
  7378. goodscode:
  7379. description: 商品代码(内部)
  7380. type: string
  7381. goodsid:
  7382. description: 商品ID(自增ID SEQ_GOODS)
  7383. type: integer
  7384. goodsname:
  7385. description: 商品名称
  7386. type: string
  7387. marketid:
  7388. description: 所属市场ID
  7389. type: integer
  7390. required:
  7391. - goodscode
  7392. - goodsid
  7393. - goodsname
  7394. - marketid
  7395. type: object
  7396. models.GoodsTypeModel:
  7397. properties:
  7398. convertfactor:
  7399. description: 标仓系数
  7400. type: number
  7401. modelid:
  7402. description: 型号ID
  7403. type: integer
  7404. modelname:
  7405. description: 型号名称
  7406. type: string
  7407. updatetime:
  7408. description: 更新时间
  7409. type: string
  7410. type: object
  7411. models.Goodsgroup:
  7412. properties:
  7413. agreeunit:
  7414. description: 合约单位
  7415. type: number
  7416. canshort:
  7417. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7418. type: integer
  7419. closepricemode:
  7420. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7421. type: integer
  7422. closepriceparam:
  7423. description: 强平最新价浮动比例 - 方式为2时使用
  7424. type: number
  7425. createtime:
  7426. description: 创建时间
  7427. type: string
  7428. creatorid:
  7429. description: 创建人
  7430. type: integer
  7431. currencyid:
  7432. description: 报价货币ID
  7433. type: integer
  7434. decimalplace:
  7435. description: 报价小数位
  7436. type: integer
  7437. exercisetype:
  7438. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7439. type: integer
  7440. exexchangeid:
  7441. description: 外部交易所ID[通道交易]
  7442. type: integer
  7443. goodsgroupid:
  7444. description: 商品组ID(自增ID)
  7445. type: integer
  7446. goodsgroupname:
  7447. description: 商品组名称
  7448. type: string
  7449. goodsgroupstatus:
  7450. description: 商品组状态 - 1:正常 2:注销
  7451. type: integer
  7452. goodunitid:
  7453. description: 报价单位ID
  7454. type: integer
  7455. innerdealmode:
  7456. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7457. type: integer
  7458. isbuylimited:
  7459. description: 是否限制建仓量 - 0:不限制 1:限制
  7460. type: integer
  7461. marketid:
  7462. description: 所属市场ID
  7463. type: integer
  7464. modifierid:
  7465. description: 修改人
  7466. type: integer
  7467. modifytime:
  7468. description: 修改时间
  7469. type: string
  7470. outerdealmode:
  7471. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7472. type: integer
  7473. outergroupcode:
  7474. description: 外部商品组代码[通道交易]
  7475. type: string
  7476. premiumdecimalplace:
  7477. description: 权利金小数位[场外期权]
  7478. type: integer
  7479. premiumspreadalgorithm:
  7480. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7481. type: integer
  7482. premiumspreadvalue:
  7483. description: 权利金点差值[场外期权]
  7484. type: number
  7485. qtydecimalplace:
  7486. description: 成交量小数位
  7487. type: integer
  7488. quotegear:
  7489. description: 行情档位(1-10)
  7490. type: integer
  7491. quoteminunit:
  7492. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7493. type: integer
  7494. quoterid:
  7495. description: 报价商ID[场外期权]
  7496. type: integer
  7497. quotesourcegroupid:
  7498. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7499. type: integer
  7500. syncgoodsqty:
  7501. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7502. type: integer
  7503. required:
  7504. - goodsgroupid
  7505. - goodsgroupname
  7506. - goodsgroupstatus
  7507. - marketid
  7508. type: object
  7509. models.Goodssortbypreposition:
  7510. properties:
  7511. goodscode:
  7512. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7513. type: string
  7514. goodsgroupcode:
  7515. description: 品种代码
  7516. type: string
  7517. prepositionqty:
  7518. description: 昨持仓量
  7519. type: integer
  7520. sortindex:
  7521. description: 排序
  7522. type: integer
  7523. tradedate:
  7524. description: 交易日
  7525. type: string
  7526. updatetime:
  7527. description: 更新时间
  7528. type: string
  7529. required:
  7530. - goodscode
  7531. - tradedate
  7532. type: object
  7533. models.Hedgeinnerholderdetail:
  7534. properties:
  7535. accountid:
  7536. description: 账号ID
  7537. type: integer
  7538. buyorsell:
  7539. description: 方向 - 0:买 1:卖
  7540. type: integer
  7541. freezeqty:
  7542. description: 冻结数量 - 按单平使用
  7543. type: integer
  7544. goodsid:
  7545. description: 商品ID
  7546. type: integer
  7547. holderamount:
  7548. description: 持仓金额 [商品币种]
  7549. type: number
  7550. holderdays:
  7551. description: 剩余冻结天数
  7552. type: integer
  7553. holderprice:
  7554. description: 持仓价格
  7555. type: number
  7556. holderqty:
  7557. description: 持仓数量
  7558. type: integer
  7559. marketid:
  7560. description: 市场ID
  7561. type: integer
  7562. openprice:
  7563. description: 建仓价格
  7564. type: number
  7565. openqty:
  7566. description: 建仓数量
  7567. type: integer
  7568. parentaccountid:
  7569. description: 所属母账户
  7570. type: integer
  7571. releaseamount:
  7572. description: 释放持仓金额[商品币种]
  7573. type: number
  7574. tradeamount:
  7575. description: 成交金额[账户]
  7576. type: number
  7577. tradedate:
  7578. description: 交易日(yyyyMMdd)
  7579. type: string
  7580. tradeid:
  7581. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7582. type: string
  7583. tradetime:
  7584. description: 交易时间
  7585. type: string
  7586. required:
  7587. - buyorsell
  7588. - tradeid
  7589. type: object
  7590. models.Hedgemarketopenlog:
  7591. properties:
  7592. accountid:
  7593. description: 资金账号[外部母账户]
  7594. type: integer
  7595. fcname:
  7596. description: 期货公司名称
  7597. type: string
  7598. handlestatus:
  7599. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7600. type: integer
  7601. marketid:
  7602. description: 市场ID
  7603. type: integer
  7604. status:
  7605. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7606. type: integer
  7607. tradedate:
  7608. description: 交易日(yyyyMMdd)
  7609. type: string
  7610. updatetime:
  7611. description: 更新时间
  7612. type: string
  7613. required:
  7614. - accountid
  7615. type: object
  7616. models.HsbyBuyMyPayOrder:
  7617. properties:
  7618. agreeunit:
  7619. description: 合约单位
  7620. type: number
  7621. buyaccountid:
  7622. description: 买方账号ID[报价币种]
  7623. type: integer
  7624. buyorderid:
  7625. description: 买方委托单号
  7626. type: string
  7627. createtime:
  7628. description: 创建时间
  7629. type: string
  7630. currencysign:
  7631. description: 货币符号
  7632. type: string
  7633. decimalplace:
  7634. description: 报价小数位
  7635. type: integer
  7636. goodscode:
  7637. description: 商品代码(内部)
  7638. type: string
  7639. goodsid:
  7640. description: 商品ID
  7641. type: integer
  7642. goodsname:
  7643. description: 商品名称
  7644. type: string
  7645. marketid:
  7646. description: 市场ID
  7647. type: integer
  7648. offamount:
  7649. description: 优惠金额
  7650. type: number
  7651. originalamount:
  7652. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7653. type: number
  7654. payamount:
  7655. description: 支付金额 = TradeAmount + TradeCharge
  7656. type: number
  7657. payflag:
  7658. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7659. type: integer
  7660. paylimitedtime:
  7661. description: 支付期限
  7662. type: string
  7663. paytime:
  7664. description: 付款时间
  7665. type: string
  7666. picurls1:
  7667. description: 预售商品介绍图片[多张用逗号分隔]
  7668. type: string
  7669. picurls2:
  7670. description: 挂牌商品介绍图片[多张用逗号分隔]
  7671. type: string
  7672. sellaccountid:
  7673. description: 卖方账号ID[报价币种]
  7674. type: integer
  7675. sellorderid:
  7676. description: 卖方委托单号
  7677. type: string
  7678. tradeamount:
  7679. description: 成交金额
  7680. type: number
  7681. tradecharge:
  7682. description: 成交手续费(买方)
  7683. type: number
  7684. tradedate:
  7685. description: 交易日(yyyyMMdd)
  7686. type: string
  7687. tradeid:
  7688. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7689. type: string
  7690. trademode:
  7691. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7692. 21:竞拍-大宗式 22:受托竞价
  7693. type: integer
  7694. tradeprice:
  7695. description: 成交价格
  7696. type: number
  7697. tradeqty:
  7698. description: 成交数量
  7699. type: integer
  7700. vendorname1:
  7701. description: 预售商品供应商名称
  7702. type: string
  7703. vendorname2:
  7704. description: 挂牌商品供应商名称
  7705. type: string
  7706. required:
  7707. - goodscode
  7708. - goodsname
  7709. - tradeid
  7710. - trademode
  7711. type: object
  7712. models.HsbyBuyMyTradeDetail:
  7713. properties:
  7714. accountid:
  7715. description: 账户ID[报价币种]
  7716. type: integer
  7717. agreeunit:
  7718. description: 合约单位
  7719. type: number
  7720. amount:
  7721. description: 金额 = 价格 * 数量 * 合约单位
  7722. type: number
  7723. buyorsell:
  7724. description: 买卖 - 0:买 1:卖
  7725. type: integer
  7726. currencysign:
  7727. description: 货币符号
  7728. type: string
  7729. decimalplace:
  7730. description: 报价小数位
  7731. type: integer
  7732. goodscode:
  7733. description: 商品代码(内部)
  7734. type: string
  7735. goodsid:
  7736. description: 商品ID
  7737. type: integer
  7738. goodsname:
  7739. description: 商品名称
  7740. type: string
  7741. marketid:
  7742. description: 市场ID
  7743. type: integer
  7744. orderamount:
  7745. description: 委托金额
  7746. type: number
  7747. orderid:
  7748. description: 单号(成交单号)
  7749. type: string
  7750. picurls1:
  7751. description: 预售商品介绍图片[多张用逗号分隔]
  7752. type: string
  7753. picurls2:
  7754. description: 挂牌商品介绍图片[多张用逗号分隔]
  7755. type: string
  7756. price:
  7757. description: 价格
  7758. type: number
  7759. qty:
  7760. description: 数量
  7761. type: integer
  7762. time:
  7763. description: 时间
  7764. type: string
  7765. trademode:
  7766. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7767. 21:竞拍-大宗式 22:受托竞价
  7768. type: integer
  7769. vendorname1:
  7770. description: 预售商品供应商名称
  7771. type: string
  7772. vendorname2:
  7773. description: 挂牌商品供应商名称
  7774. type: string
  7775. required:
  7776. - accountid
  7777. - buyorsell
  7778. - goodscode
  7779. - goodsid
  7780. - goodsname
  7781. - marketid
  7782. - orderid
  7783. - qty
  7784. - time
  7785. - trademode
  7786. type: object
  7787. models.HsbyGoodsOrderDetail:
  7788. properties:
  7789. buyorsell:
  7790. description: 买卖 - 0:买 1:卖
  7791. type: integer
  7792. currencysign:
  7793. description: 货币符号
  7794. type: string
  7795. customername:
  7796. description: 客户名称(企业名称),已脱敏
  7797. type: string
  7798. enableqty:
  7799. description: 可用数量
  7800. type: integer
  7801. goodunit:
  7802. description: 报价单位
  7803. type: string
  7804. orderid:
  7805. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7806. type: string
  7807. orderprice:
  7808. description: 委托价格
  7809. type: number
  7810. ordertime:
  7811. description: 委托时间
  7812. type: string
  7813. required:
  7814. - buyorsell
  7815. - orderid
  7816. - ordertime
  7817. type: object
  7818. models.HsbyListingGoodsDetail:
  7819. properties:
  7820. agreeunit:
  7821. description: 合约单位
  7822. type: number
  7823. buymaxqty:
  7824. description: 购买上限 [71] - 0为不限
  7825. type: integer
  7826. currency:
  7827. description: 货币
  7828. type: string
  7829. currencysign:
  7830. description: 货币符号
  7831. type: string
  7832. decimalplace:
  7833. description: 报价小数位
  7834. type: integer
  7835. desccityid:
  7836. description: 目的地(市)ID
  7837. type: integer
  7838. descprovinceid:
  7839. description: 目的地(省)ID
  7840. type: integer
  7841. goodscode:
  7842. description: 商品代码(内部)
  7843. type: string
  7844. goodsdesc:
  7845. description: 商品详情
  7846. type: string
  7847. goodsid:
  7848. description: 商品ID(自增ID SEQ_GOODS)
  7849. type: integer
  7850. goodsname:
  7851. description: 商品名称
  7852. type: string
  7853. goodsprice:
  7854. description: 商品价格
  7855. type: number
  7856. hotindex:
  7857. description: 景点热度
  7858. type: integer
  7859. last:
  7860. description: 现价
  7861. type: number
  7862. limitdown:
  7863. description: 跌停价
  7864. type: number
  7865. limitup:
  7866. description: 涨停价
  7867. type: number
  7868. lotsize:
  7869. description: 手数最小变动单位
  7870. type: integer
  7871. marketid:
  7872. description: 所属市场ID
  7873. type: integer
  7874. picurls:
  7875. description: 介绍图片[多张用逗号分隔]
  7876. type: string
  7877. quoteminunit:
  7878. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7879. type: integer
  7880. stepvalue:
  7881. description: 价格最小变动单位
  7882. type: number
  7883. trademode:
  7884. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7885. 21:竞拍-大宗式 22:受托竞价
  7886. type: integer
  7887. vendorattr:
  7888. description: 供应商附件(多张,逗号分隔)
  7889. type: string
  7890. vendorname:
  7891. description: 供应商名称
  7892. type: string
  7893. vendorphone:
  7894. description: 供应商客服电话
  7895. type: string
  7896. videourls:
  7897. description: 介绍视频[多张用逗号分隔]
  7898. type: string
  7899. required:
  7900. - goodscode
  7901. - goodsid
  7902. - goodsname
  7903. - marketid
  7904. - trademode
  7905. type: object
  7906. models.HsbyMarketGoods:
  7907. properties:
  7908. accountid:
  7909. description: 账户ID[报价币种]
  7910. type: integer
  7911. agreeunit:
  7912. description: 合约单位
  7913. type: number
  7914. buyorsell:
  7915. description: 买卖 - 0:买 1:卖
  7916. type: integer
  7917. categoryid:
  7918. description: 类别ID(WRCATEGORY)
  7919. type: integer
  7920. currency:
  7921. description: 货币
  7922. type: string
  7923. currencysign:
  7924. description: 货币符号
  7925. type: string
  7926. customername:
  7927. description: 卖家名称
  7928. type: string
  7929. decimalplace:
  7930. description: 报价小数位
  7931. type: integer
  7932. goodscode:
  7933. description: 商品代码(内部)
  7934. type: string
  7935. goodsid:
  7936. description: 商品ID
  7937. type: integer
  7938. goodsname:
  7939. description: 商品名称
  7940. type: string
  7941. goodsprice:
  7942. description: 商品价格
  7943. type: number
  7944. hascoupon:
  7945. description: 是否可用优惠卷
  7946. type: boolean
  7947. hotindex:
  7948. description: 景点热度
  7949. type: integer
  7950. marketid:
  7951. description: 市场ID
  7952. type: integer
  7953. orderid:
  7954. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7955. type: string
  7956. orderprice:
  7957. description: 委托价格
  7958. type: number
  7959. orderstatus:
  7960. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7961. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7962. 16:成交失败违约(荷兰式竞拍专用)
  7963. type: integer
  7964. picurls:
  7965. description: 介绍图片[多张用逗号分隔]
  7966. type: string
  7967. quoteminunit:
  7968. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7969. type: integer
  7970. sellUserID:
  7971. description: 卖方UserID
  7972. type: integer
  7973. trademode:
  7974. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7975. 21:竞拍-大宗式 22:受托竞价
  7976. type: integer
  7977. videourls:
  7978. description: 介绍视频[多张用逗号分隔]
  7979. type: string
  7980. required:
  7981. - accountid
  7982. - buyorsell
  7983. - goodscode
  7984. - goodsid
  7985. - goodsname
  7986. - marketid
  7987. - orderid
  7988. - trademode
  7989. type: object
  7990. models.HsbyMarketGoodsDetail:
  7991. properties:
  7992. accountid:
  7993. description: 账户ID[报价币种]
  7994. type: integer
  7995. agreeunit:
  7996. description: 合约单位
  7997. type: number
  7998. buymaxqty:
  7999. description: 购买上限 [71] - 0为不限
  8000. type: integer
  8001. buyorsell:
  8002. description: 买卖 - 0:买 1:卖
  8003. type: integer
  8004. cancelqty:
  8005. description: 撤单数量
  8006. type: integer
  8007. categoryid:
  8008. description: 类别ID(WRCATEGORY)
  8009. type: integer
  8010. currency:
  8011. description: 货币
  8012. type: string
  8013. currencysign:
  8014. description: 货币符号
  8015. type: string
  8016. customername:
  8017. description: 卖家名称
  8018. type: string
  8019. decimalplace:
  8020. description: 报价小数位
  8021. type: integer
  8022. goodscode:
  8023. description: 商品代码(内部)
  8024. type: string
  8025. goodsdesc:
  8026. description: 商品详情
  8027. type: string
  8028. goodsid:
  8029. description: 商品ID
  8030. type: integer
  8031. goodsname:
  8032. description: 商品名称
  8033. type: string
  8034. goodsprice:
  8035. description: 商品价格
  8036. type: number
  8037. hotindex:
  8038. description: 景点热度
  8039. type: integer
  8040. lotsize:
  8041. description: 手数最小变动单位
  8042. type: integer
  8043. marketid:
  8044. description: 市场ID
  8045. type: integer
  8046. orderid:
  8047. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8048. type: string
  8049. orderprice:
  8050. description: 委托价格
  8051. type: number
  8052. orderqty:
  8053. description: 委托数量
  8054. type: integer
  8055. orderstatus:
  8056. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8057. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8058. 16:成交失败违约(荷兰式竞拍专用)
  8059. type: integer
  8060. picurls:
  8061. description: 介绍图片[多张用逗号分隔]
  8062. type: string
  8063. quoteminunit:
  8064. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8065. type: integer
  8066. sellUserID:
  8067. description: 卖方UserID
  8068. type: integer
  8069. trademode:
  8070. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8071. 21:竞拍-大宗式 22:受托竞价
  8072. type: integer
  8073. tradeqty:
  8074. description: 成交数量
  8075. type: integer
  8076. vendorattr:
  8077. description: 供应商附件(多张,逗号分隔)
  8078. type: string
  8079. vendorname:
  8080. description: 供应商名称
  8081. type: string
  8082. vendorphone:
  8083. description: 供应商客服电话
  8084. type: string
  8085. videourls:
  8086. description: 介绍视频[多张用逗号分隔]
  8087. type: string
  8088. required:
  8089. - accountid
  8090. - buyorsell
  8091. - goodscode
  8092. - goodsid
  8093. - goodsname
  8094. - marketid
  8095. - orderid
  8096. - orderqty
  8097. - trademode
  8098. type: object
  8099. models.HsbyMarketInfo:
  8100. properties:
  8101. marketid:
  8102. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8103. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8104. type: integer
  8105. marketname:
  8106. description: 市场名称
  8107. type: string
  8108. marketstatus:
  8109. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8110. type: integer
  8111. trademode:
  8112. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8113. 21:竞拍-大宗式 22:受托竞价
  8114. type: integer
  8115. required:
  8116. - marketid
  8117. - marketstatus
  8118. - trademode
  8119. type: object
  8120. models.HsbyMyGoods:
  8121. properties:
  8122. accountid:
  8123. description: 账号Id
  8124. type: integer
  8125. agreeunit:
  8126. description: 合约单位
  8127. type: number
  8128. buyaverageprice:
  8129. description: 持仓均价
  8130. type: number
  8131. buycurholderamount:
  8132. description: 买当前持仓总金额[商品币种]
  8133. type: number
  8134. buycurpositionqty:
  8135. description: 买当前持仓总数量
  8136. type: integer
  8137. buymaxqty:
  8138. description: 购买上限 [71] - 0为不限
  8139. type: integer
  8140. currencysign:
  8141. description: 货币符号
  8142. type: string
  8143. decimalplace:
  8144. description: 报价小数位
  8145. type: integer
  8146. enableqty:
  8147. description: 可用数量
  8148. type: integer
  8149. goodscode:
  8150. description: 商品代码(内部)
  8151. type: string
  8152. goodsid:
  8153. description: 商品Id
  8154. type: integer
  8155. goodsname:
  8156. description: 商品名称
  8157. type: string
  8158. goodsprice:
  8159. description: 商品价格
  8160. type: number
  8161. goodsstatus:
  8162. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8163. type: integer
  8164. last:
  8165. description: 现价(仅使用于挂牌点选)
  8166. type: number
  8167. limitdown:
  8168. description: 跌停价(仅使用于挂牌点选)
  8169. type: number
  8170. limitup:
  8171. description: 涨停价(仅使用于挂牌点选)
  8172. type: number
  8173. lotsize:
  8174. description: 手数最小变动单位
  8175. type: integer
  8176. marketid:
  8177. description: 所属市场ID
  8178. type: integer
  8179. picurls:
  8180. description: 介绍图片[多张用逗号分隔]
  8181. type: string
  8182. quoteminunit:
  8183. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8184. type: integer
  8185. stepvalue:
  8186. description: 价格最小变动单位
  8187. type: number
  8188. trademode:
  8189. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8190. 21:竞拍-大宗式 22:受托竞价
  8191. type: integer
  8192. required:
  8193. - accountid
  8194. - goodscode
  8195. - goodsid
  8196. - goodsname
  8197. - marketid
  8198. - trademode
  8199. type: object
  8200. models.HsbyMyPackage:
  8201. properties:
  8202. accountid:
  8203. description: 账户ID
  8204. type: integer
  8205. address:
  8206. description: 提货人详细地址
  8207. type: string
  8208. agreeunit:
  8209. description: 合约单位
  8210. type: number
  8211. amount:
  8212. description: 提货金额
  8213. type: number
  8214. auditer:
  8215. description: 审核人
  8216. type: integer
  8217. audittime:
  8218. description: 审核时间
  8219. type: string
  8220. averageprice:
  8221. description: 均价
  8222. type: number
  8223. cardnum:
  8224. description: 提货人证件号码
  8225. type: string
  8226. cardtypeid:
  8227. description: 提货人证件类型
  8228. type: integer
  8229. checkremark:
  8230. description: 审核备注
  8231. type: string
  8232. currencysign:
  8233. description: 货币符号
  8234. type: string
  8235. decimalplace:
  8236. description: 报价小数位
  8237. type: integer
  8238. goodscode:
  8239. description: 商品代码(内部)
  8240. type: string
  8241. goodsid:
  8242. description: 商品ID
  8243. type: integer
  8244. goodsname:
  8245. description: 商品名称
  8246. type: string
  8247. handlestatus:
  8248. description: 处理状态
  8249. type: integer
  8250. marketid:
  8251. description: 市场ID
  8252. type: integer
  8253. phonenum:
  8254. description: 提货人联系方式
  8255. type: string
  8256. picurls:
  8257. description: 介绍图片[多张用逗号分隔]
  8258. type: string
  8259. qty:
  8260. description: 提货数量
  8261. type: number
  8262. recivername:
  8263. description: 提货人姓名
  8264. type: string
  8265. reqtime:
  8266. description: 更新时间
  8267. type: string
  8268. takemode:
  8269. description: 提货方式 - 2:自提 3:配送
  8270. type: integer
  8271. takeorderid:
  8272. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8273. type: string
  8274. takeorderstatus:
  8275. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8276. type: integer
  8277. takeremark:
  8278. description: 提货备注
  8279. type: string
  8280. tradedate:
  8281. description: 交易日(yyyyMMdd)
  8282. type: string
  8283. trademode:
  8284. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8285. 21:竞拍-大宗式 22:受托竞价
  8286. type: integer
  8287. userid:
  8288. description: 用户ID
  8289. type: integer
  8290. vendorname:
  8291. description: 供应商名称
  8292. type: string
  8293. required:
  8294. - goodscode
  8295. - goodsname
  8296. - takeorderid
  8297. - trademode
  8298. type: object
  8299. models.HsbyPreGoods:
  8300. properties:
  8301. agreeunit:
  8302. description: 合约单位
  8303. type: number
  8304. currency:
  8305. description: 货币
  8306. type: string
  8307. currencysign:
  8308. description: 货币符号
  8309. type: string
  8310. decimalplace:
  8311. description: 报价小数位
  8312. type: integer
  8313. desccityid:
  8314. description: 目的地(市)
  8315. type: integer
  8316. descprovinceid:
  8317. description: 目的地(省)
  8318. type: integer
  8319. enableqty:
  8320. description: 剩余数量
  8321. type: integer
  8322. goodscode:
  8323. description: 商品代码(内部)
  8324. type: string
  8325. goodsid:
  8326. description: 商品ID(自增ID SEQ_GOODS)
  8327. type: integer
  8328. goodsname:
  8329. description: 商品名称
  8330. type: string
  8331. goodsstatus:
  8332. description: 商品状态- 2:未上市 3:上市
  8333. type: integer
  8334. lasttradedate:
  8335. description: 最后交易日期(状态:待退市)
  8336. type: string
  8337. listingdate:
  8338. description: 交易开始日期
  8339. type: string
  8340. marketid:
  8341. description: 所属市场ID
  8342. type: integer
  8343. picurls:
  8344. description: 介绍图片[多张用逗号分隔]
  8345. type: string
  8346. presaledqty:
  8347. description: 已预售量(预售结束时更新)
  8348. type: integer
  8349. presaleqty:
  8350. description: 预售数量
  8351. type: integer
  8352. quoteminunit:
  8353. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8354. type: integer
  8355. refprice:
  8356. description: 参考价格[一口价]
  8357. type: number
  8358. relatedgoodsid:
  8359. description: 关联交易合约ID
  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.HsbyPreGoodsDetail:
  8376. properties:
  8377. agreeunit:
  8378. description: 合约单位
  8379. type: number
  8380. buymaxqty:
  8381. description: 购买上限 [71] - 0为不限
  8382. type: integer
  8383. currency:
  8384. description: 货币
  8385. type: string
  8386. currencysign:
  8387. description: 货币符号
  8388. type: string
  8389. customername:
  8390. description: 发行单位
  8391. type: string
  8392. decimalplace:
  8393. description: 报价小数位
  8394. type: integer
  8395. desccityid:
  8396. description: 目的地(市)ID
  8397. type: integer
  8398. descprovinceid:
  8399. description: 目的地(省)ID
  8400. type: integer
  8401. enableqty:
  8402. description: 剩余数量
  8403. type: integer
  8404. goodscode:
  8405. description: 商品代码(内部)
  8406. type: string
  8407. goodsdesc:
  8408. description: 商品详情
  8409. type: string
  8410. goodsid:
  8411. description: 商品ID(自增ID SEQ_GOODS)
  8412. type: integer
  8413. goodsname:
  8414. description: 商品名称
  8415. type: string
  8416. goodsstatus:
  8417. description: 商品状态- 2:未上市 3:上市
  8418. type: integer
  8419. goodunit:
  8420. description: 报价单位
  8421. type: string
  8422. lasttradedate:
  8423. description: 最后交易日期(状态:待退市)
  8424. type: string
  8425. listingdate:
  8426. description: 交易开始日期
  8427. type: string
  8428. lotsize:
  8429. description: 手数最小变动单位
  8430. type: integer
  8431. marketid:
  8432. description: 所属市场ID
  8433. type: integer
  8434. picurls:
  8435. description: 介绍图片[多张用逗号分隔]
  8436. type: string
  8437. presaledqty:
  8438. description: 已预售量(预售结束时更新)
  8439. type: integer
  8440. presaleqty:
  8441. description: 预售数量
  8442. type: integer
  8443. quoteminunit:
  8444. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8445. type: integer
  8446. refprice:
  8447. description: 参考价格[一口价]
  8448. type: number
  8449. relatedgoodsid:
  8450. description: 关联交易合约ID
  8451. type: integer
  8452. stepvalue:
  8453. description: 价格最小变动单位
  8454. type: number
  8455. trademode:
  8456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8457. 21:竞拍-大宗式 22:受托竞价
  8458. type: integer
  8459. vendorattr:
  8460. description: 供应商附件(多张,逗号分隔)
  8461. type: string
  8462. vendorname:
  8463. description: 供应商名称
  8464. type: string
  8465. vendorphone:
  8466. description: 供应商客服电话
  8467. type: string
  8468. videourls:
  8469. description: 介绍视频[多张用逗号分隔]
  8470. type: string
  8471. required:
  8472. - goodscode
  8473. - goodsid
  8474. - goodsname
  8475. - marketid
  8476. - trademode
  8477. type: object
  8478. models.HsbySellCollectionOrder:
  8479. properties:
  8480. agreeunit:
  8481. description: 合约单位
  8482. type: number
  8483. buyaccountid:
  8484. description: 买方账号ID[报价币种]
  8485. type: integer
  8486. buyorderid:
  8487. description: 买方委托单号
  8488. type: string
  8489. createtime:
  8490. description: 创建时间
  8491. type: string
  8492. currencysign:
  8493. description: 货币符号
  8494. type: string
  8495. decimalplace:
  8496. description: 报价小数位
  8497. type: integer
  8498. goodscode:
  8499. description: 商品代码(内部)
  8500. type: string
  8501. goodsid:
  8502. description: 商品ID
  8503. type: integer
  8504. goodsname:
  8505. description: 商品名称
  8506. type: string
  8507. marketid:
  8508. description: 市场ID
  8509. type: integer
  8510. offamount:
  8511. description: 优惠金额
  8512. type: number
  8513. payamount:
  8514. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8515. type: number
  8516. payflag:
  8517. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8518. type: integer
  8519. paylimitedtime:
  8520. description: 支付期限
  8521. type: string
  8522. paytime:
  8523. description: 付款时间
  8524. type: string
  8525. picurls:
  8526. description: 商品介绍图片[多张用逗号分隔]
  8527. type: string
  8528. sellaccountid:
  8529. description: 卖方账号ID[报价币种]
  8530. type: integer
  8531. sellorderid:
  8532. description: 卖方委托单号
  8533. type: string
  8534. tradeamount:
  8535. description: 成交金额
  8536. type: number
  8537. tradecharge:
  8538. description: 成交手续费(买方)
  8539. type: number
  8540. tradedate:
  8541. description: 交易日(yyyyMMdd)
  8542. type: string
  8543. tradeid:
  8544. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8545. type: string
  8546. trademode:
  8547. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8548. 21:竞拍-大宗式 22:受托竞价
  8549. type: integer
  8550. tradeprice:
  8551. description: 成交价格
  8552. type: number
  8553. tradeqty:
  8554. description: 成交数量
  8555. type: integer
  8556. required:
  8557. - goodscode
  8558. - goodsname
  8559. - tradeid
  8560. - trademode
  8561. type: object
  8562. models.HsbySellMyDetail:
  8563. properties:
  8564. accountid:
  8565. description: 账户ID[报价币种]
  8566. type: integer
  8567. agreeunit:
  8568. description: 合约单位
  8569. type: number
  8570. buyorsell:
  8571. description: 买卖 - 0:买 1:卖
  8572. type: integer
  8573. currencysign:
  8574. description: 货币符号
  8575. type: string
  8576. decimalplace:
  8577. description: 报价小数位
  8578. type: integer
  8579. goodscode:
  8580. description: 商品代码(内部)
  8581. type: string
  8582. goodsid:
  8583. description: 商品ID
  8584. type: integer
  8585. goodsname:
  8586. description: 商品名称
  8587. type: string
  8588. marketid:
  8589. description: 市场ID
  8590. type: integer
  8591. orderid:
  8592. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8593. type: string
  8594. ordertype:
  8595. description: 单据类型:0 - 发布中, 1 - 已完成
  8596. type: integer
  8597. picurls:
  8598. description: 介绍图片[多张用逗号分隔]
  8599. type: string
  8600. price:
  8601. description: 价格
  8602. type: number
  8603. qty:
  8604. description: 数量
  8605. type: integer
  8606. time:
  8607. description: 时间
  8608. type: string
  8609. trademode:
  8610. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8611. 21:竞拍-大宗式 22:受托竞价
  8612. type: integer
  8613. vendorname:
  8614. description: 供应商名称
  8615. type: string
  8616. required:
  8617. - accountid
  8618. - buyorsell
  8619. - goodscode
  8620. - goodsid
  8621. - goodsname
  8622. - marketid
  8623. - orderid
  8624. - time
  8625. - trademode
  8626. type: object
  8627. models.HsbyTopGoods:
  8628. properties:
  8629. agreeunit:
  8630. description: 合约单位
  8631. type: number
  8632. currency:
  8633. description: 货币
  8634. type: string
  8635. currencysign:
  8636. description: 货币符号
  8637. type: string
  8638. decimalplace:
  8639. description: 报价小数位
  8640. type: integer
  8641. desccityid:
  8642. description: 目的地(市)
  8643. type: integer
  8644. descprovinceid:
  8645. description: 目的地(省)
  8646. type: integer
  8647. goodscode:
  8648. description: 商品代码(内部)
  8649. type: string
  8650. goodsid:
  8651. description: 商品ID(自增ID SEQ_GOODS)
  8652. type: integer
  8653. goodsname:
  8654. description: 商品名称
  8655. type: string
  8656. hotindex:
  8657. description: 景点热度
  8658. type: integer
  8659. last:
  8660. description: 现价
  8661. type: number
  8662. marketid:
  8663. description: 所属市场ID
  8664. type: integer
  8665. picurls:
  8666. description: 介绍图片[多张用逗号分隔]
  8667. type: string
  8668. quoteminunit:
  8669. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8670. type: integer
  8671. trademode:
  8672. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8673. 21:竞拍-大宗式 22:受托竞价
  8674. type: integer
  8675. videourls:
  8676. description: 介绍视频[多张用逗号分隔]
  8677. type: string
  8678. required:
  8679. - goodscode
  8680. - goodsid
  8681. - goodsname
  8682. - marketid
  8683. - trademode
  8684. type: object
  8685. models.HybsMyBuyOrderDetail:
  8686. properties:
  8687. accountid:
  8688. description: 账户ID[报价币种]
  8689. type: integer
  8690. agreeunit:
  8691. description: 合约单位
  8692. type: number
  8693. buyorsell:
  8694. description: 买卖 - 0:买 1:卖
  8695. type: integer
  8696. cancelqty:
  8697. description: 撤单数量
  8698. type: integer
  8699. currencysign:
  8700. description: 货币符号
  8701. type: string
  8702. decimalplace:
  8703. description: 报价小数位
  8704. type: integer
  8705. goodscode:
  8706. description: 商品代码(内部)
  8707. type: string
  8708. goodsid:
  8709. description: 商品ID
  8710. type: integer
  8711. goodsname:
  8712. description: 商品名称
  8713. type: string
  8714. listingselecttype:
  8715. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8716. type: integer
  8717. marketid:
  8718. description: 市场ID
  8719. type: integer
  8720. mybuystatus:
  8721. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8722. type: integer
  8723. orderamount:
  8724. description: 委托金额
  8725. type: number
  8726. orderid:
  8727. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8728. type: string
  8729. orderprice:
  8730. description: 委托价格
  8731. type: number
  8732. orderqty:
  8733. description: 委托数量
  8734. type: integer
  8735. orderstatus:
  8736. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8737. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8738. 16:成交失败违约(荷兰式竞拍专用)
  8739. type: integer
  8740. ordertime:
  8741. description: 委托时间
  8742. type: string
  8743. picurls1:
  8744. description: 预售商品介绍图片[多张用逗号分隔]
  8745. type: string
  8746. picurls2:
  8747. description: 挂牌商品介绍图片[多张用逗号分隔]
  8748. type: string
  8749. trademode:
  8750. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8751. 21:竞拍-大宗式 22:受托竞价
  8752. type: integer
  8753. tradeqty:
  8754. description: 成交数量
  8755. type: integer
  8756. vendorname1:
  8757. description: 预售商品供应商名称
  8758. type: string
  8759. vendorname2:
  8760. description: 挂牌商品供应商名称
  8761. type: string
  8762. required:
  8763. - accountid
  8764. - buyorsell
  8765. - goodscode
  8766. - goodsid
  8767. - goodsname
  8768. - marketid
  8769. - orderid
  8770. - orderqty
  8771. - ordertime
  8772. - trademode
  8773. type: object
  8774. models.Loginaccount:
  8775. properties:
  8776. canoutin:
  8777. description: 是否可出入金 - 0:不可 1:可
  8778. type: integer
  8779. clientroleid:
  8780. description: 终端角色ID
  8781. type: integer
  8782. haslogined:
  8783. description: 是否已登录 - 0:未登录 1:已登录
  8784. type: integer
  8785. hasupdatedpwd:
  8786. description: 是否已更改密码 - 0:未修改 1:已修改
  8787. type: integer
  8788. lastloginip:
  8789. description: 最新登录地址
  8790. type: string
  8791. lastloginmode:
  8792. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8793. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8794. type: integer
  8795. lastloginremark:
  8796. description: 最新登录描述
  8797. type: string
  8798. lastlogintime:
  8799. description: 最新登录时间
  8800. type: string
  8801. logincode:
  8802. description: 登录代码
  8803. type: string
  8804. loginfailnum:
  8805. description: 连续登录失败次数(登录成功时清零)
  8806. type: integer
  8807. loginid:
  8808. description: 登陆账号
  8809. type: integer
  8810. loginport:
  8811. description: 最新登录端口
  8812. type: integer
  8813. loginstatus:
  8814. description: 登录账号状态 1:正常 2:冻结 3:无效
  8815. type: integer
  8816. loginusertype:
  8817. description: 登录账号类型 - 1:投资者 2:机构交易员
  8818. type: integer
  8819. modifierid:
  8820. description: 修改人
  8821. type: integer
  8822. modifytime:
  8823. description: 修改时间
  8824. type: string
  8825. pwdwrongcount:
  8826. description: 密码错误次数
  8827. type: integer
  8828. taaccountrighttype:
  8829. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8830. type: integer
  8831. unfreezetime:
  8832. description: 账户解冻时间
  8833. type: string
  8834. userid:
  8835. description: 用户ID
  8836. type: integer
  8837. required:
  8838. - loginid
  8839. type: object
  8840. models.MainAccountInfo:
  8841. properties:
  8842. accountid:
  8843. description: 账号id
  8844. type: string
  8845. accountname:
  8846. description: 账号名称(taaccount表中的名称)
  8847. type: string
  8848. appid:
  8849. description: AppID
  8850. type: string
  8851. authcode:
  8852. description: 授权码
  8853. type: string
  8854. brokerid:
  8855. description: 经纪商id
  8856. type: string
  8857. fcid:
  8858. description: 期货公司id
  8859. type: integer
  8860. fcname:
  8861. description: 期货公司代码
  8862. type: string
  8863. hedgeaccountcode:
  8864. description: 外部账号代码(主账号登录代码)
  8865. type: string
  8866. hedgeaccountpwd:
  8867. description: 密码
  8868. type: string
  8869. ismain:
  8870. description: 是否主账号
  8871. type: integer
  8872. relateduserid:
  8873. description: 关联用户id
  8874. type: integer
  8875. type: object
  8876. models.Market:
  8877. properties:
  8878. auctionwrtype:
  8879. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8880. type: integer
  8881. canacceptquote:
  8882. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8883. type: integer
  8884. cangoodsexercise:
  8885. description: '[期权]是否可现货行权- 0:否 1:是'
  8886. type: integer
  8887. cangoodsexercisetype:
  8888. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8889. type: integer
  8890. canmanualquotestrike:
  8891. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8892. type: integer
  8893. canmutistage:
  8894. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8895. type: integer
  8896. canpreexercise:
  8897. description: '[期权]是否可预申报- 0:否 1:是'
  8898. type: integer
  8899. clearinterval:
  8900. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8901. type: integer
  8902. contracttmp:
  8903. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8904. type: string
  8905. exchareaid:
  8906. description: 所属交易所,可以没有
  8907. type: integer
  8908. goodstype:
  8909. description: 商品类型 - 1:交易商品 2:仓单商品
  8910. type: integer
  8911. hasrebate:
  8912. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8913. type: integer
  8914. hastradecredit:
  8915. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8916. type: integer
  8917. haswr:
  8918. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8919. type: integer
  8920. isdeductmargin:
  8921. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8922. type: integer
  8923. isrecordsource:
  8924. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8925. type: integer
  8926. isreleasemargin:
  8927. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8928. type: integer
  8929. marginformula:
  8930. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8931. type: integer
  8932. marginformula2:
  8933. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8934. type: integer
  8935. marketid:
  8936. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8937. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8938. type: integer
  8939. marketname:
  8940. description: 市场名称
  8941. type: string
  8942. marketserviceid:
  8943. description: 市场服务ID
  8944. type: integer
  8945. marketstatus:
  8946. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8947. type: integer
  8948. markettype:
  8949. description: 市场类型- 1:非交易服务 2:交易服务
  8950. type: integer
  8951. matchermode:
  8952. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8953. type: integer
  8954. openmethod:
  8955. description: 开盘模式 - 0 自动 1手动
  8956. type: integer
  8957. otcuserid:
  8958. description: 场外期权做市商[场外期权]
  8959. type: integer
  8960. outersynctime:
  8961. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8962. type: string
  8963. pendingflag:
  8964. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8965. type: integer
  8966. pendingtime:
  8967. description: 待开市时间[通道交易-对冲](HH:mm)
  8968. type: string
  8969. performancetempid:
  8970. description: 履约计划模板ID - 作废
  8971. type: integer
  8972. premiumquotemode:
  8973. description: 权利金报价方式 - 1:自动 2:手动
  8974. type: integer
  8975. rebateratio:
  8976. description: 返利比率[竞价式]
  8977. type: number
  8978. reckonorder:
  8979. description: 结算顺序
  8980. type: integer
  8981. reckonpricealgorithm:
  8982. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8983. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8984. type: integer
  8985. reckonpriceparam:
  8986. description: 结算价参数
  8987. type: integer
  8988. reckontime:
  8989. description: 结算时间[通道交易-对冲](HH:mm)
  8990. type: string
  8991. roleprioritytype:
  8992. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8993. type: integer
  8994. selllistingauditflag:
  8995. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8996. type: integer
  8997. trademarkettype:
  8998. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8999. type: integer
  9000. trademode:
  9001. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9002. 21:竞拍-大宗式 22:受托竞价
  9003. type: integer
  9004. tradeproperty:
  9005. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9006. 8:场外期权
  9007. type: integer
  9008. tradetype:
  9009. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9010. type: integer
  9011. required:
  9012. - marketid
  9013. - marketstatus
  9014. - openmethod
  9015. - reckonpricealgorithm
  9016. - trademode
  9017. - tradeproperty
  9018. type: object
  9019. models.Marketrun:
  9020. properties:
  9021. afternexttradedate:
  9022. description: 下下交易日
  9023. type: string
  9024. clearquoteflag:
  9025. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9026. type: integer
  9027. lastreckondate:
  9028. description: 最新交易日(结算成功)
  9029. type: string
  9030. machinedate:
  9031. description: 机器时间
  9032. type: string
  9033. manualflag:
  9034. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9035. type: integer
  9036. marketid:
  9037. description: 市场ID
  9038. type: integer
  9039. nexttradedate:
  9040. description: 下一交易日
  9041. type: string
  9042. pretradedate:
  9043. description: 上一交易日
  9044. type: string
  9045. reckonflag:
  9046. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9047. type: integer
  9048. runstatus:
  9049. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9050. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9051. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9052. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9053. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9054. 62.今日免清算
  9055. type: integer
  9056. sectionid:
  9057. description: 时间段号[多时段时用]
  9058. type: integer
  9059. tradedate:
  9060. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9061. type: string
  9062. tradedate2:
  9063. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9064. type: string
  9065. updatetime:
  9066. description: 更新时间
  9067. type: string
  9068. required:
  9069. - marketid
  9070. - nexttradedate
  9071. - reckonflag
  9072. - runstatus
  9073. - tradedate
  9074. - tradedate2
  9075. type: object
  9076. models.Messageboard:
  9077. properties:
  9078. contactnum:
  9079. description: 联系电话
  9080. type: string
  9081. createtime:
  9082. description: 创建时间
  9083. type: string
  9084. message:
  9085. description: 留言信息
  9086. type: string
  9087. messageboardid:
  9088. description: 留言簿ID(SEQ_MessageBoard)
  9089. type: integer
  9090. userid:
  9091. description: 用户ID
  9092. type: integer
  9093. required:
  9094. - messageboardid
  9095. type: object
  9096. models.MyCoupon:
  9097. properties:
  9098. accountid:
  9099. description: 资金账户ID
  9100. type: integer
  9101. areauserid:
  9102. description: 所属机构
  9103. type: integer
  9104. conditionvalue:
  9105. description: 条件阈值(可为0)
  9106. type: number
  9107. couponcategroy:
  9108. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9109. type: integer
  9110. couponname:
  9111. description: 优惠券名称
  9112. type: string
  9113. coupontypeid:
  9114. description: 优惠券类型ID
  9115. type: string
  9116. couponvalue:
  9117. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9118. type: number
  9119. curfreezeqty:
  9120. description: 期末冻结数量
  9121. type: integer
  9122. curqty:
  9123. description: 期末数量
  9124. type: integer
  9125. isgeneral:
  9126. description: 是否通用券 - 0:否 1:是
  9127. type: integer
  9128. isunusable:
  9129. description: 是否不可用
  9130. type: boolean
  9131. limitedflag:
  9132. description: 是否指定商品 - 0:不限 1:限制
  9133. type: integer
  9134. limitedgoodsids:
  9135. description: 指定商品IDs[逗号分隔,前后加逗号]
  9136. type: string
  9137. orifreezeqty:
  9138. description: 期初冻结数量
  9139. type: integer
  9140. oriqty:
  9141. description: 期初数量
  9142. type: integer
  9143. reasontype:
  9144. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9145. type: integer
  9146. todaydecrease:
  9147. description: 今日减少
  9148. type: integer
  9149. todayincrease:
  9150. description: 今日增加
  9151. type: integer
  9152. userid:
  9153. description: 用户ID
  9154. type: integer
  9155. userscope:
  9156. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9157. type: string
  9158. required:
  9159. - accountid
  9160. - coupontypeid
  9161. type: object
  9162. models.MyCouponHold:
  9163. properties:
  9164. accountid:
  9165. description: 资金账户ID
  9166. type: integer
  9167. conditionvalue:
  9168. description: 条件阈值(可为0)
  9169. type: number
  9170. couponcategroy:
  9171. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9172. type: integer
  9173. couponholdid:
  9174. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9175. type: string
  9176. couponname:
  9177. description: 优惠券名称
  9178. type: string
  9179. coupontypeid:
  9180. description: 优惠券类型ID - SEQ_COUPONTYPE
  9181. type: string
  9182. couponvalue:
  9183. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9184. type: number
  9185. createtime:
  9186. description: 创建时间
  9187. type: string
  9188. enddate:
  9189. description: 结束日期
  9190. type: string
  9191. giveapplyid:
  9192. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9193. type: integer
  9194. holdstatus:
  9195. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9196. type: integer
  9197. isgeneral:
  9198. description: 是否通用券 - 0:否 1:是
  9199. type: integer
  9200. limitedflag:
  9201. description: 是否指定商品 - 0:不限 1:限制
  9202. type: integer
  9203. limitedgoodsids:
  9204. description: 指定商品IDs[逗号分隔]
  9205. type: string
  9206. qty:
  9207. description: 数量(按1平铺)
  9208. type: integer
  9209. startdate:
  9210. description: 开始日期
  9211. type: string
  9212. userid:
  9213. description: 用户ID
  9214. type: integer
  9215. userscope:
  9216. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9217. type: string
  9218. required:
  9219. - couponholdid
  9220. type: object
  9221. models.MyUsedCoupon:
  9222. properties:
  9223. accountid:
  9224. description: 资金账户ID(买方)
  9225. type: integer
  9226. conditionvalue:
  9227. description: 条件阈值(可为0)
  9228. type: number
  9229. couponcategroy:
  9230. description: 种类 - 1:现金券 2:折扣券
  9231. type: integer
  9232. couponname:
  9233. description: 优惠券名称
  9234. type: string
  9235. coupontypeid:
  9236. description: 优惠券类型ID(买方)
  9237. type: string
  9238. couponvalue:
  9239. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9240. type: number
  9241. createtime:
  9242. description: 创建时间
  9243. type: string
  9244. goodsid:
  9245. description: 商品ID
  9246. type: integer
  9247. handlestatus:
  9248. description: 处理状态
  9249. type: integer
  9250. marketid:
  9251. description: 市场ID
  9252. type: integer
  9253. offamount:
  9254. description: 优惠金额
  9255. type: number
  9256. orderid:
  9257. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9258. type: string
  9259. sellaccountid:
  9260. description: 资金账户ID(卖方)
  9261. type: integer
  9262. tradeamount:
  9263. description: 成交金额
  9264. type: number
  9265. tradeid:
  9266. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9267. type: string
  9268. usedqty:
  9269. description: 使用数量
  9270. type: integer
  9271. required:
  9272. - coupontypeid
  9273. - orderid
  9274. type: object
  9275. models.OperationPrimaryMenu:
  9276. properties:
  9277. Children:
  9278. description: 二级功能菜单
  9279. items:
  9280. $ref: '#/definitions/models.OperationSecondaryMenu'
  9281. type: array
  9282. Key:
  9283. description: 菜单KEY
  9284. type: string
  9285. Label:
  9286. description: 菜单标题
  9287. type: string
  9288. type: object
  9289. models.OperationSecondaryMenu:
  9290. properties:
  9291. Key:
  9292. description: 菜单KEY
  9293. type: string
  9294. Label:
  9295. description: 菜单标题
  9296. type: string
  9297. TabList:
  9298. description: 三级功能菜单
  9299. items:
  9300. $ref: '#/definitions/models.OperationTabMenu'
  9301. type: array
  9302. type: object
  9303. models.OperationTabMenu:
  9304. properties:
  9305. Key:
  9306. description: 菜单KEY
  9307. type: string
  9308. Label:
  9309. description: 菜单标题
  9310. type: string
  9311. type: object
  9312. models.PendingAuditBizModel:
  9313. properties:
  9314. accountid:
  9315. description: 现货账户
  9316. type: string
  9317. areaname:
  9318. description: 所属部门
  9319. type: string
  9320. bizid:
  9321. description: 业务ID
  9322. type: string
  9323. bizname:
  9324. description: 业务名称
  9325. type: string
  9326. status:
  9327. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9328. type: integer
  9329. type:
  9330. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9331. type: integer
  9332. type: object
  9333. models.QueryErrorInfosRsp:
  9334. properties:
  9335. description:
  9336. description: 异常描述
  9337. type: string
  9338. errorcode:
  9339. description: 异常代码
  9340. type: string
  9341. errorid:
  9342. description: 异常ID
  9343. type: integer
  9344. modulecode:
  9345. description: 所属模块
  9346. type: string
  9347. operatecode:
  9348. description: 所属操作
  9349. type: string
  9350. rownumber:
  9351. description: 行号
  9352. type: string
  9353. required:
  9354. - errorid
  9355. type: object
  9356. models.QueryHedgeOrderDetailRsp:
  9357. properties:
  9358. accountid:
  9359. description: 账户ID
  9360. type: integer
  9361. buyorsell:
  9362. description: 买卖 - 0:买 1:卖
  9363. type: integer
  9364. cancellogincode:
  9365. description: 撤单人
  9366. type: string
  9367. channelbuildtype:
  9368. description: 开平标志 - 0:无 1:建仓 2:平仓
  9369. type: integer
  9370. channelinnerorderstatus:
  9371. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  9372. 9:全部成交
  9373. type: integer
  9374. channeloperatetype:
  9375. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  9376. type: integer
  9377. closetype:
  9378. description: 平仓方式 - 0:无 1:平今 2:平昨
  9379. type: integer
  9380. curexchangerate:
  9381. description: 当前汇率
  9382. type: number
  9383. exchangefullname:
  9384. description: 外部交易所全称
  9385. type: string
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品ID
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. marketid:
  9396. description: 市场ID
  9397. type: integer
  9398. openfreezemargin:
  9399. description: 冻结保证金(冻结交易金额)
  9400. type: number
  9401. orderid:
  9402. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9403. type: string
  9404. orderlogincode:
  9405. description: 委托人
  9406. type: string
  9407. orderprice:
  9408. description: 委托价格(账户)
  9409. type: number
  9410. orderqty:
  9411. description: 委托数量
  9412. type: integer
  9413. ordertime:
  9414. description: 委托时间
  9415. type: string
  9416. pricemode:
  9417. description: '取价方式 - 1:市价 2: 限价'
  9418. type: integer
  9419. tradedate:
  9420. description: 交易日(yyyyMMdd)
  9421. type: string
  9422. tradeqty:
  9423. description: 成交数量
  9424. type: integer
  9425. type: object
  9426. models.QueryHedgeTradeDetailRsp:
  9427. properties:
  9428. accountid:
  9429. description: 账号ID
  9430. type: integer
  9431. buyorsell:
  9432. description: 方向 - 0:买 1:卖
  9433. type: integer
  9434. channelbuildtype:
  9435. description: 委托单据类型 0:无 1:建仓 2:平仓
  9436. type: integer
  9437. closecharge:
  9438. description: 平仓手续费(账户)
  9439. type: number
  9440. closecharge2:
  9441. description: 平仓手续费(商品)
  9442. type: number
  9443. closepl:
  9444. description: 平仓盈亏(账户)
  9445. type: number
  9446. closepl2:
  9447. description: 平仓盈亏(商品)
  9448. type: number
  9449. closepl3:
  9450. description: 平仓盈亏(账户)(逐笔)
  9451. type: number
  9452. closepl4:
  9453. description: 平仓盈亏(商品)(逐笔)
  9454. type: number
  9455. closetype:
  9456. description: 平仓方式 - 0:无 1:平今 2:平昨
  9457. type: integer
  9458. curexchangerate:
  9459. description: 当前汇率
  9460. type: number
  9461. exchangefullname:
  9462. description: 外部交易所全称
  9463. type: string
  9464. goodscode:
  9465. description: 商品代码(内部)
  9466. type: string
  9467. goodsid:
  9468. description: 商品ID
  9469. type: integer
  9470. goodsname:
  9471. description: 商品名称
  9472. type: string
  9473. marketid:
  9474. description: 市场ID
  9475. type: integer
  9476. opencharge:
  9477. description: 建仓手续费(账户)
  9478. type: number
  9479. opencharge2:
  9480. description: 建仓手续费(商品)
  9481. type: number
  9482. orderid:
  9483. description: 委托单号
  9484. type: string
  9485. orderlogincode:
  9486. description: 委托人
  9487. type: string
  9488. tradeamount:
  9489. description: 成交金额(账户)
  9490. type: number
  9491. tradedate:
  9492. description: 交易日(yyyyMMdd)
  9493. type: string
  9494. tradeid:
  9495. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9496. type: string
  9497. tradeprice:
  9498. description: 成交价格
  9499. type: number
  9500. tradeqty:
  9501. description: 成交数量
  9502. type: integer
  9503. tradetime:
  9504. description: 成交时间
  9505. type: string
  9506. tradetype:
  9507. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  9508. type: integer
  9509. type: object
  9510. models.QuotePrimaryMenu:
  9511. properties:
  9512. Index:
  9513. description: 序号
  9514. type: integer
  9515. Key:
  9516. description: 键名
  9517. type: string
  9518. Name:
  9519. description: 菜单名称
  9520. type: string
  9521. SubMenus:
  9522. description: 子菜单
  9523. items:
  9524. $ref: '#/definitions/models.QuoteSecondaryMenu'
  9525. type: array
  9526. SubTitleType:
  9527. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  9528. type: integer
  9529. TradeModes:
  9530. description: 包含市场交易类型
  9531. type: string
  9532. type: object
  9533. models.QuoteSecondaryMenu:
  9534. properties:
  9535. ExExchangeCode:
  9536. description: 外部交易所代码
  9537. type: string
  9538. ExExchangeID:
  9539. description: 外部交易所ID
  9540. type: integer
  9541. GoodsGroupIDs:
  9542. description: 商品组ID列表
  9543. items:
  9544. type: integer
  9545. type: array
  9546. Index:
  9547. description: 序号
  9548. type: integer
  9549. MarketID:
  9550. description: 市场ID
  9551. type: integer
  9552. MenuTitle:
  9553. description: 菜单标题(市场名称或外部交易所名称)
  9554. type: string
  9555. TradeMode:
  9556. description: 交易模式
  9557. type: integer
  9558. type: object
  9559. models.RelatedGoodsEx:
  9560. properties:
  9561. goodscode:
  9562. description: 商品代码
  9563. type: string
  9564. goodsid:
  9565. description: 商品id
  9566. type: integer
  9567. goodsname:
  9568. description: 商品名称
  9569. type: string
  9570. type: object
  9571. models.SearchGoods:
  9572. properties:
  9573. goodscode:
  9574. description: 商品代码(内部)
  9575. type: string
  9576. goodsid:
  9577. description: 商品ID(自增ID SEQ_GOODS)
  9578. type: integer
  9579. goodsname:
  9580. description: 商品名称
  9581. type: string
  9582. marketid:
  9583. description: 所属市场ID
  9584. type: integer
  9585. marketname:
  9586. description: 市场名称
  9587. type: string
  9588. trademode:
  9589. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9590. 21:竞拍-大宗式 22:受托竞价
  9591. type: integer
  9592. required:
  9593. - goodscode
  9594. - goodsid
  9595. - goodsname
  9596. - marketid
  9597. - trademode
  9598. type: object
  9599. models.Systemparam:
  9600. properties:
  9601. loginid:
  9602. description: 更新用户账号,登录账号
  9603. type: string
  9604. modifyflag:
  9605. description: 修改标志0 不允许修改 1 允许修改
  9606. type: integer
  9607. paramcode:
  9608. description: 参数代码
  9609. type: string
  9610. paramname:
  9611. description: 参数名
  9612. type: string
  9613. paramtype:
  9614. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9615. type: integer
  9616. paramvalue:
  9617. description: 参数值
  9618. type: string
  9619. paramvalue2:
  9620. description: 参数值(CLOB)
  9621. type: string
  9622. regexpress:
  9623. description: 正则表达式
  9624. type: string
  9625. remark:
  9626. description: 备注
  9627. type: string
  9628. serverip:
  9629. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9630. type: string
  9631. showflag:
  9632. description: 是否显示0 不显示 1 显示
  9633. type: integer
  9634. updatetime:
  9635. description: 更新时间
  9636. type: string
  9637. userid:
  9638. description: 更新用户ID
  9639. type: integer
  9640. required:
  9641. - paramcode
  9642. type: object
  9643. models.Szdz3convertconfig:
  9644. properties:
  9645. canin:
  9646. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9647. type: integer
  9648. canout:
  9649. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9650. type: integer
  9651. converttype:
  9652. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9653. 6:交易转花生米(不设置)
  9654. type: integer
  9655. createtime:
  9656. description: 创建时间
  9657. type: string
  9658. creatorid:
  9659. description: 创建人
  9660. type: integer
  9661. daymaxvalue:
  9662. description: 当日最大转入限制
  9663. type: number
  9664. freezedays:
  9665. description: 冻结天数 [5:花生米转交易]
  9666. type: integer
  9667. innergoodsid:
  9668. description: 内部商品ID[交易]
  9669. type: integer
  9670. inratio:
  9671. description: 目标值
  9672. type: integer
  9673. modifierid:
  9674. description: 修改人
  9675. type: integer
  9676. modifytime:
  9677. description: 修改时间
  9678. type: string
  9679. outergoodscode:
  9680. description: 外部商品代码[JD\PD]
  9681. type: string
  9682. outratio:
  9683. description: 源值
  9684. type: integer
  9685. pddecimalplace:
  9686. description: PD小数位
  9687. type: integer
  9688. timemaxvalue:
  9689. description: 单次最大转入限制
  9690. type: number
  9691. timeminvalue:
  9692. description: 单次最小转入限制
  9693. type: number
  9694. required:
  9695. - converttype
  9696. - innergoodsid
  9697. - outergoodscode
  9698. type: object
  9699. models.Szdz3searchwhitelist:
  9700. properties:
  9701. createtime:
  9702. description: 创建时间
  9703. type: string
  9704. creatorid:
  9705. description: 创建人
  9706. type: integer
  9707. modifierid:
  9708. description: 修改人
  9709. type: integer
  9710. modifytime:
  9711. description: 修改时间
  9712. type: string
  9713. userid:
  9714. description: 用户ID
  9715. type: integer
  9716. required:
  9717. - userid
  9718. type: object
  9719. models.Taaccount:
  9720. properties:
  9721. accountflag:
  9722. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9723. type: integer
  9724. accountid:
  9725. description: 资金账户ID
  9726. type: integer
  9727. accountname:
  9728. description: 账户名称
  9729. type: string
  9730. balance:
  9731. description: 期初余额
  9732. type: number
  9733. capitalbalance:
  9734. description: 本金余额[外部子账户实际出入金余额]
  9735. type: number
  9736. changeflag:
  9737. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9738. type: integer
  9739. changetime:
  9740. description: 账户状态变更时间
  9741. type: string
  9742. closepl:
  9743. description: 今日平仓盈亏
  9744. type: number
  9745. creditdecrease:
  9746. description: 今日授信减少
  9747. type: number
  9748. creditincrease:
  9749. description: 今日授信增加
  9750. type: number
  9751. currencyid:
  9752. description: 货币ID
  9753. type: integer
  9754. currentbalance:
  9755. description: 期末余额
  9756. type: number
  9757. freezecharge:
  9758. description: 手续费冻结
  9759. type: number
  9760. freezemargin:
  9761. description: 冻结保证金
  9762. type: number
  9763. fromaccountid:
  9764. description: 所属上级账户
  9765. type: integer
  9766. inamount:
  9767. description: 今日入金金额(包括三方入金)
  9768. type: number
  9769. ismain:
  9770. description: 是否母账号 0:不是母账户 1:是母账户
  9771. type: integer
  9772. ismarketaccount:
  9773. description: 是否机构接单账号 0:不是 1:是
  9774. type: integer
  9775. isreckonaccount:
  9776. description: 是否机构分润账号 0:不是 1:是
  9777. type: integer
  9778. mortgagecredit:
  9779. description: 授信金额
  9780. type: number
  9781. orifreezecharge:
  9782. description: 期初手续费冻结
  9783. type: number
  9784. orifreezemargin:
  9785. description: 期初冻结保证金
  9786. type: number
  9787. orimortgagecredit:
  9788. description: 期初授信金额
  9789. type: number
  9790. oriothercredit:
  9791. description: 期初其它授信金额
  9792. type: number
  9793. oriotherfreezemargin:
  9794. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9795. type: number
  9796. orioutamountfreeze:
  9797. description: 期初出金冻结
  9798. type: number
  9799. oriusedmargin:
  9800. description: 期初占用保证金
  9801. type: number
  9802. othercredit:
  9803. description: 其它授信金额
  9804. type: number
  9805. othercreditdecrease:
  9806. description: 今日其它授信减少
  9807. type: number
  9808. othercreditincrease:
  9809. description: 今日其它授信增加
  9810. type: number
  9811. otherfreezemargin:
  9812. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9813. type: number
  9814. otherincome:
  9815. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9816. type: number
  9817. otherpay:
  9818. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9819. type: number
  9820. outamount:
  9821. description: 今日出金金额(包括三方出金)
  9822. type: number
  9823. outamountfreeze:
  9824. description: 出金冻结
  9825. type: number
  9826. outthreshold:
  9827. description: 出金阈值
  9828. type: number
  9829. parentaccountid:
  9830. description: 所属根账号
  9831. type: integer
  9832. paycharge:
  9833. description: 今日手续费支出
  9834. type: number
  9835. relatedaccountstatus:
  9836. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9837. type: integer
  9838. relateduserid:
  9839. description: 关联用户
  9840. type: integer
  9841. serivcegroup:
  9842. description: 服务分组
  9843. type: integer
  9844. signstatus:
  9845. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9846. type: integer
  9847. sublevelpath:
  9848. description: 账号层级路径(逗号分隔,首尾加逗号)
  9849. type: string
  9850. taaccounttype:
  9851. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9852. type: integer
  9853. thirdinamount:
  9854. description: 今日三方入金
  9855. type: number
  9856. thirdoutamount:
  9857. description: 今日三方出金
  9858. type: number
  9859. tradestatus:
  9860. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9861. type: integer
  9862. tradestatuschangetime:
  9863. description: 激活时间
  9864. type: string
  9865. transferamount:
  9866. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9867. type: number
  9868. usedmargin:
  9869. description: 占用保证金
  9870. type: number
  9871. userid:
  9872. description: 用户ID
  9873. type: integer
  9874. required:
  9875. - accountid
  9876. - userid
  9877. type: object
  9878. models.Tablecolumnconfig:
  9879. properties:
  9880. aligntype:
  9881. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9882. type: integer
  9883. autoid:
  9884. description: AutoID
  9885. type: integer
  9886. columnfield:
  9887. description: 列字段
  9888. type: string
  9889. columntitle:
  9890. description: 列Title
  9891. type: string
  9892. columnwidth:
  9893. description: 列宽
  9894. type: string
  9895. formatterstring:
  9896. description: 格式化字符
  9897. type: string
  9898. formattertype:
  9899. description: 格式化类型
  9900. type: string
  9901. groupname:
  9902. description: 表头分组名称
  9903. type: string
  9904. isshow:
  9905. description: 是否显示 - 0:不显示 1:显示
  9906. type: integer
  9907. needsummary:
  9908. description: 是否需要汇总 - 0:不需要 1:需要
  9909. type: integer
  9910. orderindex:
  9911. description: 顺序
  9912. type: integer
  9913. remark:
  9914. description: 备注
  9915. type: string
  9916. summarytype:
  9917. description: 汇总类型 - 1:加总 2:最后一个
  9918. type: integer
  9919. tablekey:
  9920. description: 列表Key
  9921. type: string
  9922. required:
  9923. - autoid
  9924. type: object
  9925. models.Useraccount:
  9926. properties:
  9927. accountname:
  9928. description: 账户名称(机构名称)
  9929. type: string
  9930. accountstatus:
  9931. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9932. type: integer
  9933. auditremark:
  9934. description: 审核备注
  9935. type: string
  9936. audittime:
  9937. description: 审核时间
  9938. type: string
  9939. audituserid:
  9940. description: 审核人
  9941. type: integer
  9942. broker:
  9943. description: 所属经纪人ID
  9944. type: integer
  9945. canceltime:
  9946. description: 销户时间
  9947. type: string
  9948. canceluserid:
  9949. description: 销户人
  9950. type: integer
  9951. createtime:
  9952. description: 创建时间
  9953. type: string
  9954. creatorid:
  9955. description: 创建人
  9956. type: integer
  9957. hasauth:
  9958. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9959. type: integer
  9960. isanonymous:
  9961. description: 是否匿名下单 - 0:否 1:是
  9962. type: integer
  9963. maxinvestornum:
  9964. description: 最大用户数(经纪会员下投资者个数)
  9965. type: integer
  9966. memberuserid:
  9967. description: 所属会员ID
  9968. type: integer
  9969. modifierid:
  9970. description: 修改人
  9971. type: integer
  9972. modifyremark:
  9973. description: 变更备注
  9974. type: string
  9975. modifystatus:
  9976. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9977. type: integer
  9978. modifytime:
  9979. description: 修改时间
  9980. type: string
  9981. parentuserid:
  9982. description: 所属机构ID
  9983. type: integer
  9984. reckonaccountid:
  9985. description: 默认结算资金账号ID(机构分润使用) 作废
  9986. type: integer
  9987. refercount:
  9988. description: 推荐总人数
  9989. type: integer
  9990. refereeuserid:
  9991. description: 推荐人ID
  9992. type: integer
  9993. refernum:
  9994. description: 推荐码
  9995. type: string
  9996. subarealevelpath:
  9997. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9998. type: string
  9999. userid:
  10000. description: 用户ID
  10001. type: integer
  10002. usertype:
  10003. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10004. type: integer
  10005. required:
  10006. - userid
  10007. type: object
  10008. models.Userfavoritegoods:
  10009. properties:
  10010. goodsid:
  10011. description: 商品ID
  10012. type: integer
  10013. required:
  10014. - goodsid
  10015. type: object
  10016. models.Userinfo:
  10017. properties:
  10018. address:
  10019. description: 地址
  10020. type: string
  10021. attachment1:
  10022. description: 附件1
  10023. type: string
  10024. attachment2:
  10025. description: 附件2
  10026. type: string
  10027. bankaccount:
  10028. description: 银行帐号 (加密存储)
  10029. type: string
  10030. bankaccountname:
  10031. description: 收款人名称
  10032. type: string
  10033. bankcardfrontphotourl:
  10034. description: 银行卡正面照地址
  10035. type: string
  10036. bankid:
  10037. description: 银行编码
  10038. type: string
  10039. bankname:
  10040. description: 银行名称
  10041. type: string
  10042. biznature:
  10043. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  10044. type: integer
  10045. bizscope:
  10046. description: 企业经营范围(企业)
  10047. type: string
  10048. cardbackphotourl:
  10049. description: 证件背面图片地址
  10050. type: string
  10051. cardfrontphotourl:
  10052. description: 证件正面图片地址
  10053. type: string
  10054. cardnum:
  10055. description: 证件号码(加密存储)
  10056. type: string
  10057. cardtypeid:
  10058. description: 证件类型ID
  10059. type: integer
  10060. cityid:
  10061. description: 市
  10062. type: integer
  10063. company:
  10064. description: 公司(个人)
  10065. type: string
  10066. contactname:
  10067. description: 联系人
  10068. type: string
  10069. countryid:
  10070. description: 国家
  10071. type: integer
  10072. createtime:
  10073. description: 创建时间
  10074. type: string
  10075. creatorid:
  10076. description: 创建人
  10077. type: integer
  10078. customername:
  10079. description: 客户名称(企业名称)
  10080. type: string
  10081. districtid:
  10082. description: 地区
  10083. type: integer
  10084. email:
  10085. description: 邮件(加密存储)
  10086. type: string
  10087. fax:
  10088. description: 传真(加密存储)
  10089. type: string
  10090. halfbodyphotourl:
  10091. description: 半身照地址
  10092. type: string
  10093. hasencrypt:
  10094. description: 数据是否已加密 - 0:未加密 1:已加密
  10095. type: integer
  10096. headurl:
  10097. description: 头像地址
  10098. type: string
  10099. legalcardbackphotourl:
  10100. description: 法人身份证背面照地址
  10101. type: string
  10102. legalcardfrontphotourl:
  10103. description: 法人身份证正面照地址
  10104. type: string
  10105. legalpersonname:
  10106. description: 法人姓名(企业)
  10107. type: string
  10108. mobile:
  10109. description: 手机号码(加密存储)
  10110. type: string
  10111. mobile2:
  10112. description: 手机号码[明文-尚志]
  10113. type: string
  10114. modifierid:
  10115. description: 修改人
  10116. type: integer
  10117. modifiertime:
  10118. description: 修改时间
  10119. type: string
  10120. needinvoice:
  10121. description: 是否需要发票 - 0:不需要 1:需要
  10122. type: integer
  10123. nickname:
  10124. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  10125. type: string
  10126. openmode:
  10127. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  10128. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  10129. type: integer
  10130. otherurl:
  10131. description: 其它图片地址[使用分号分隔]
  10132. type: string
  10133. postalcode:
  10134. description: 邮政编码
  10135. type: string
  10136. provinceid:
  10137. description: 省
  10138. type: integer
  10139. qq:
  10140. description: QQ(加密存储
  10141. type: string
  10142. remark:
  10143. description: 备注
  10144. type: string
  10145. sex:
  10146. description: '用户性别 0: 女 1: 男'
  10147. type: integer
  10148. signpdfurl:
  10149. description: 签约pdf文件
  10150. type: string
  10151. telphone:
  10152. description: 联系电话(加密存储)
  10153. type: string
  10154. userid:
  10155. description: 用户ID
  10156. type: integer
  10157. userinfotype:
  10158. description: 用户信息类型 - 1:个人 2:企业
  10159. type: integer
  10160. userstatus:
  10161. description: 用户状态 - 1:正常 2:注销
  10162. type: integer
  10163. usertype:
  10164. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  10165. type: integer
  10166. wechat:
  10167. description: 微信(加密存储)
  10168. type: string
  10169. wskhinfo:
  10170. description: 开户申请信息(JSON)
  10171. type: string
  10172. required:
  10173. - userid
  10174. type: object
  10175. models.WRSConverTDetail:
  10176. properties:
  10177. convertratio:
  10178. description: 套保系数
  10179. type: number
  10180. deliverygoodscode:
  10181. description: 现货商品代码
  10182. type: string
  10183. deliverygoodsid:
  10184. description: 现货品种ID
  10185. type: integer
  10186. deliverygoodsname:
  10187. description: 现货商品名称
  10188. type: string
  10189. enumdicname:
  10190. description: 单位名称
  10191. type: string
  10192. goodsunitid:
  10193. description: 套保品种单位id
  10194. type: integer
  10195. middlegoodscode:
  10196. description: 套保品种代码
  10197. type: string
  10198. middlegoodsid:
  10199. description: 套保品种ID
  10200. type: integer
  10201. middlegoodsname:
  10202. description: 套保品种名称
  10203. type: string
  10204. modifytime:
  10205. description: 修改时间
  10206. type: string
  10207. wrstandardid:
  10208. description: 品类ID
  10209. type: integer
  10210. type: object
  10211. models.WRStandardInfo:
  10212. properties:
  10213. areauserid:
  10214. description: 所属机构
  10215. type: integer
  10216. convertfactor:
  10217. description: 标仓系数
  10218. type: number
  10219. createtime:
  10220. description: 创建时间
  10221. type: string
  10222. creatorid:
  10223. description: 创建人
  10224. type: integer
  10225. deliverygoodsid:
  10226. description: 品种ID
  10227. type: integer
  10228. deliverygoodsname:
  10229. description: 交割商品名称
  10230. type: string
  10231. factoryitemjson:
  10232. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  10233. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  10234. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  10235. 逗号分隔'
  10236. type: string
  10237. isvalid:
  10238. description: 是否有效 - 0:无效 1:有效
  10239. type: integer
  10240. minivalue:
  10241. description: 最小变动值
  10242. type: integer
  10243. minivaluedp:
  10244. description: 最小变动值小数位
  10245. type: integer
  10246. realminivalue:
  10247. description: 实际最小变动值
  10248. type: integer
  10249. realminivaluedp:
  10250. description: 实际最小变动值小数位
  10251. type: integer
  10252. remark:
  10253. description: 备注
  10254. type: string
  10255. unitid:
  10256. description: 单位ID
  10257. type: integer
  10258. unitname:
  10259. description: 单位
  10260. type: string
  10261. updatetime:
  10262. description: 更新时间
  10263. type: string
  10264. updatorid:
  10265. description: 更新人
  10266. type: integer
  10267. wrsstatus:
  10268. description: 状态 - 作废 - 0:未激活 1:正常
  10269. type: integer
  10270. wrstandardcode:
  10271. description: 现货品类代码
  10272. type: string
  10273. wrstandardid:
  10274. description: 现货品类ID(SEQ_WRSTANDARD)
  10275. type: integer
  10276. wrstandardname:
  10277. description: 现货品类名称
  10278. type: string
  10279. required:
  10280. - wrstandardid
  10281. type: object
  10282. models.Warehouseinfo:
  10283. properties:
  10284. address:
  10285. description: 详细地址
  10286. type: string
  10287. areauserid:
  10288. description: 所属机构
  10289. type: integer
  10290. autoid:
  10291. description: 自增ID
  10292. type: integer
  10293. cityid:
  10294. description: 市
  10295. type: integer
  10296. contactname:
  10297. description: 联系人
  10298. type: string
  10299. contactnum:
  10300. description: 联系电话
  10301. type: string
  10302. countryid:
  10303. description: 国家
  10304. type: integer
  10305. createtime:
  10306. description: 创建时间
  10307. type: string
  10308. districtid:
  10309. description: 区
  10310. type: integer
  10311. hasvideo:
  10312. description: 是否有视频 - 0:无 1:有
  10313. type: integer
  10314. provinceid:
  10315. description: 省
  10316. type: integer
  10317. remark:
  10318. description: 审核备注
  10319. type: string
  10320. videourl:
  10321. description: 视频地址
  10322. type: string
  10323. warehousecode:
  10324. description: 仓库代码
  10325. type: string
  10326. warehousename:
  10327. description: 仓库名称
  10328. type: string
  10329. warehousestatus:
  10330. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  10331. type: integer
  10332. warehousetype:
  10333. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  10334. type: integer
  10335. required:
  10336. - autoid
  10337. - warehousecode
  10338. type: object
  10339. order.QueryHisTradeDetailRsp:
  10340. properties:
  10341. accountid:
  10342. description: 账户ID[报价币种]
  10343. type: integer
  10344. buildtype:
  10345. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10346. type: integer
  10347. buyorsell:
  10348. description: 方向 - 0:买 1:卖
  10349. type: integer
  10350. charge:
  10351. description: 手续费
  10352. type: number
  10353. closecharge:
  10354. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10355. type: number
  10356. closeexchagechargevalue:
  10357. description: 平仓交易所手续费设置值
  10358. type: number
  10359. closefeealgorithm:
  10360. description: 平仓手续费收取方式 1:比率 2:固定
  10361. type: integer
  10362. closememberchargevalue:
  10363. description: 平仓会员手续费设置值
  10364. type: number
  10365. closepl:
  10366. description: 平仓盈亏
  10367. type: number
  10368. closepl2:
  10369. description: 平仓盈亏[逐笔]
  10370. type: number
  10371. closeqty:
  10372. description: 平仓数量(先建后平操作 需要记录)
  10373. type: integer
  10374. creditamount:
  10375. description: 授信金额
  10376. type: number
  10377. gcaccountid:
  10378. description: 账户ID[合约币种]
  10379. type: integer
  10380. goodscode:
  10381. description: 商品代码
  10382. type: string
  10383. goodsid:
  10384. description: 商品ID
  10385. type: integer
  10386. goodsname:
  10387. description: 商品名称
  10388. type: string
  10389. histradedate:
  10390. description: 历史交易日
  10391. type: string
  10392. intclosepl:
  10393. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10394. type: integer
  10395. isconfirmexercise:
  10396. description: 是否确认行权- 0:否 1:是
  10397. type: integer
  10398. ismain:
  10399. description: 是否主单 - 0:不是 1:是
  10400. type: integer
  10401. ispreexercise:
  10402. description: 是否预申报- 0:否 1:是
  10403. type: integer
  10404. isreckoned:
  10405. description: 是否结算 - 0:未结算 1:已结算
  10406. type: integer
  10407. isvaliddata:
  10408. description: 是否有效 - 0:无效 1:有效
  10409. type: integer
  10410. listingselecttype:
  10411. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10412. type: integer
  10413. marketid:
  10414. description: 市场ID
  10415. type: integer
  10416. marketname:
  10417. description: 市场名称
  10418. type: string
  10419. matchaccountid:
  10420. description: 对手账号id
  10421. type: integer
  10422. memberuserid:
  10423. description: 会员id 个人投资者 需要填写
  10424. type: integer
  10425. opencharge:
  10426. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10427. type: number
  10428. openexchagechargevalue:
  10429. description: 建仓交易所手续费设置值
  10430. type: number
  10431. openfeealgorithm:
  10432. description: 建仓手续费收取方式 1:比率 2:固定
  10433. type: integer
  10434. openmemberchargevalue:
  10435. description: 建仓会员手续费设置值
  10436. type: number
  10437. openqty:
  10438. description: 开仓数量(先建后平操作 需要记录)
  10439. type: integer
  10440. optiontype:
  10441. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10442. type: integer
  10443. orderid:
  10444. description: 委托单号
  10445. type: string
  10446. performanceplanid:
  10447. description: 履约计划ID[期权]
  10448. type: integer
  10449. performancestatus:
  10450. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10451. type: integer
  10452. preexerciseprice:
  10453. description: 预申报价格
  10454. type: number
  10455. premium:
  10456. description: 权利金 - [持仓单的权利金]
  10457. type: number
  10458. relatedouttradeid:
  10459. description: 关联外部成交单ID
  10460. type: integer
  10461. status:
  10462. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10463. type: integer
  10464. tradeamount:
  10465. description: 成交金额[账户币种,用于所有权]
  10466. type: number
  10467. tradedate:
  10468. description: 交易日(yyyyMMdd)
  10469. type: string
  10470. tradeid:
  10471. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10472. type: string
  10473. trademode:
  10474. description: 交易模式
  10475. type: integer
  10476. tradeprice:
  10477. description: 成交价格
  10478. type: number
  10479. tradeproperty:
  10480. description: 交易属性
  10481. type: integer
  10482. tradeqty:
  10483. description: 成交数量
  10484. type: integer
  10485. tradetime:
  10486. description: 成交时间
  10487. type: string
  10488. tradetype:
  10489. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10490. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10491. type: integer
  10492. required:
  10493. - accountid
  10494. - buyorsell
  10495. - goodsid
  10496. - histradedate
  10497. - marketid
  10498. - memberuserid
  10499. - orderid
  10500. - tradeamount
  10501. - tradedate
  10502. - tradeid
  10503. - tradeprice
  10504. - tradeqty
  10505. - tradetime
  10506. type: object
  10507. order.QueryHisTradeOrderDetailRsp:
  10508. properties:
  10509. accountid:
  10510. description: 账户ID[报价币种]
  10511. type: integer
  10512. buildtype:
  10513. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10514. type: integer
  10515. buyorsell:
  10516. description: 买卖 - 0:买 1:卖
  10517. type: integer
  10518. cancelorderid:
  10519. description: 撤单单号(撤单时填写)
  10520. type: string
  10521. cancelqty:
  10522. description: 撤单数量
  10523. type: integer
  10524. clientordertime:
  10525. description: 客户端委托时间
  10526. type: string
  10527. clientticket:
  10528. description: 客户端流水号
  10529. type: string
  10530. clienttype:
  10531. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10532. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10533. type: integer
  10534. closeexchagechargevalue:
  10535. description: 平仓交易所手续费设置值
  10536. type: number
  10537. closefeealgorithm:
  10538. description: 平仓手续费收取方式 1:比率 2:固定
  10539. type: integer
  10540. closefreezecharge:
  10541. description: 平仓冻结手续费(先建后平操作,需要记录)
  10542. type: number
  10543. closememberchargevalue:
  10544. description: 平仓会员手续费设置值
  10545. type: number
  10546. closeqty:
  10547. description: 平仓数量(先建后平操作 需要记录)
  10548. type: integer
  10549. closetradeqty:
  10550. description: 平仓成交数量(先建后平操作,需要记录)
  10551. type: integer
  10552. closeunfreezecharge:
  10553. description: 平仓解冻手续费(先建后平操作,需要记录)
  10554. type: number
  10555. delistingtype:
  10556. description: 摘牌类型 - 1:价格最优 2:点选成交
  10557. type: integer
  10558. freezecharge:
  10559. description: 冻结手续费
  10560. type: number
  10561. freezemargin:
  10562. description: 冻结保证金(冻结交易金额)
  10563. type: number
  10564. gcaccountid:
  10565. description: 账户ID[合约币种]
  10566. type: integer
  10567. goodscode:
  10568. description: 商品代码
  10569. type: string
  10570. goodsid:
  10571. description: 商品ID
  10572. type: integer
  10573. goodsname:
  10574. description: 商品名称
  10575. type: string
  10576. histradedate:
  10577. description: 历史交易日
  10578. type: string
  10579. isconfirmexercise:
  10580. description: 是否确认行权- 0:否 1:是
  10581. type: integer
  10582. ispreexercise:
  10583. description: 是否预申报- 0:否 1:是
  10584. type: integer
  10585. isvaliddata:
  10586. description: 是否有效 - 0:无效 1:有效
  10587. type: integer
  10588. listingselecttype:
  10589. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10590. type: integer
  10591. marginalgorithm:
  10592. description: 保证金收取方式 1:比率 2:固定
  10593. type: integer
  10594. marginvalue:
  10595. description: 即市保证金设置值
  10596. type: number
  10597. marketid:
  10598. description: 市场ID
  10599. type: integer
  10600. marketmaxsub:
  10601. description: 市价最大偏移范围
  10602. type: number
  10603. marketname:
  10604. description: 市场名称
  10605. type: string
  10606. memberuserid:
  10607. description: 所属会员UserID
  10608. type: integer
  10609. openexchagechargevalue:
  10610. description: 建仓交易所手续费设置值
  10611. type: number
  10612. openfeealgorithm:
  10613. description: 建仓手续费收取方式 1:比率 2:固定
  10614. type: integer
  10615. openfreezecharge:
  10616. description: 开仓冻结手续费(先建后平操作,需要记录)
  10617. type: number
  10618. openmemberchargevalue:
  10619. description: 建仓会员手续费设置值
  10620. type: number
  10621. openqty:
  10622. description: 开仓数量(先建后平操作,需要记录)
  10623. type: integer
  10624. opentradeqty:
  10625. description: 开仓成交数量(先建后平操作,需要记录)
  10626. type: integer
  10627. openunfreezecharge:
  10628. description: 开仓解冻手续费(先建后平操作,需要记录)
  10629. type: number
  10630. operatetype:
  10631. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10632. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10633. 15:管理端协议转让
  10634. type: integer
  10635. operatorid:
  10636. description: 登录账号(LoginID)
  10637. type: integer
  10638. optiontype:
  10639. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10640. type: integer
  10641. orderid:
  10642. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10643. type: string
  10644. orderprice:
  10645. description: 委托价格
  10646. type: number
  10647. orderqty:
  10648. description: 委托数量
  10649. type: integer
  10650. ordersrc:
  10651. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10652. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10653. type: integer
  10654. orderstatus:
  10655. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10656. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10657. 16:成交失败违约(荷兰式竞拍专用)
  10658. type: integer
  10659. ordertime:
  10660. description: 委托时间
  10661. type: string
  10662. preexerciseprice:
  10663. description: 预申报价格
  10664. type: number
  10665. premium:
  10666. description: 权利金
  10667. type: number
  10668. preorderid:
  10669. description: 关联预埋单号(止盈止损单时填写)
  10670. type: string
  10671. pricemode:
  10672. description: '取价方式 - 1:市价 2: 限价'
  10673. type: integer
  10674. quoteid:
  10675. description: 报价单ID
  10676. type: integer
  10677. relatedid:
  10678. description: 关联单号(交割单)
  10679. type: string
  10680. retcode:
  10681. description: 错误代码
  10682. type: integer
  10683. sessionid:
  10684. description: 会话ID
  10685. type: integer
  10686. tradedate:
  10687. description: 交易日(yyyyMMdd)
  10688. type: string
  10689. trademode:
  10690. description: 交易模式
  10691. type: integer
  10692. tradeproperty:
  10693. description: 交易属性
  10694. type: integer
  10695. tradeqty:
  10696. description: 成交数量
  10697. type: integer
  10698. unfreezecharge:
  10699. description: 解冻手续费
  10700. type: number
  10701. unfreezemargin:
  10702. description: 解冻保证金
  10703. type: number
  10704. updatetime:
  10705. description: 更新时间
  10706. type: string
  10707. uuid:
  10708. description: 发起端唯一id
  10709. type: string
  10710. validtime:
  10711. description: 有效期限
  10712. type: string
  10713. validtype:
  10714. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10715. type: integer
  10716. volumetype:
  10717. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10718. type: integer
  10719. required:
  10720. - accountid
  10721. - buildtype
  10722. - buyorsell
  10723. - goodsid
  10724. - histradedate
  10725. - marketid
  10726. - memberuserid
  10727. - operatetype
  10728. - orderid
  10729. - orderqty
  10730. - ordertime
  10731. - pricemode
  10732. - tradedate
  10733. - validtype
  10734. type: object
  10735. order.QueryTradeDetailRsp:
  10736. properties:
  10737. accountid:
  10738. description: 账户ID[报价币种]
  10739. type: integer
  10740. buildtype:
  10741. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10742. type: integer
  10743. buyorsell:
  10744. description: 方向 - 0:买 1:卖
  10745. type: integer
  10746. charge:
  10747. description: 手续费
  10748. type: number
  10749. closecharge:
  10750. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10751. type: number
  10752. closeexchagechargevalue:
  10753. description: 平仓交易所手续费设置值
  10754. type: number
  10755. closefeealgorithm:
  10756. description: 平仓手续费收取方式 1:比率 2:固定
  10757. type: integer
  10758. closememberchargevalue:
  10759. description: 平仓会员手续费设置值
  10760. type: number
  10761. closepl:
  10762. description: 平仓盈亏
  10763. type: number
  10764. closepl2:
  10765. description: 平仓盈亏[逐笔]
  10766. type: number
  10767. closeqty:
  10768. description: 平仓数量(先建后平操作 需要记录)
  10769. type: integer
  10770. creditamount:
  10771. description: 授信金额
  10772. type: number
  10773. gcaccountid:
  10774. description: 账户ID[合约币种]
  10775. type: integer
  10776. goodscode:
  10777. description: 商品代码
  10778. type: string
  10779. goodsid:
  10780. description: 商品ID
  10781. type: integer
  10782. goodsname:
  10783. description: 商品名称
  10784. type: string
  10785. intclosepl:
  10786. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10787. type: integer
  10788. isconfirmexercise:
  10789. description: 是否确认行权- 0:否 1:是
  10790. type: integer
  10791. ismain:
  10792. description: 是否主单 - 0:不是 1:是
  10793. type: integer
  10794. ispreexercise:
  10795. description: 是否预申报- 0:否 1:是
  10796. type: integer
  10797. isreckoned:
  10798. description: 是否结算 - 0:未结算 1:已结算
  10799. type: integer
  10800. listingselecttype:
  10801. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10802. type: integer
  10803. marketid:
  10804. description: 市场ID
  10805. type: integer
  10806. marketname:
  10807. description: 市场名称
  10808. type: string
  10809. matchaccountid:
  10810. description: 对手账号id
  10811. type: integer
  10812. memberuserid:
  10813. description: 会员id 个人投资者 需要填写
  10814. type: integer
  10815. opencharge:
  10816. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10817. type: number
  10818. openexchagechargevalue:
  10819. description: 建仓交易所手续费设置值
  10820. type: number
  10821. openfeealgorithm:
  10822. description: 建仓手续费收取方式 1:比率 2:固定
  10823. type: integer
  10824. openmemberchargevalue:
  10825. description: 建仓会员手续费设置值
  10826. type: number
  10827. openqty:
  10828. description: 开仓数量(先建后平操作 需要记录)
  10829. type: integer
  10830. optiontype:
  10831. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10832. type: integer
  10833. orderid:
  10834. description: 委托单号
  10835. type: string
  10836. performanceplanid:
  10837. description: 履约计划ID[期权]
  10838. type: integer
  10839. performancestatus:
  10840. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10841. type: integer
  10842. preexerciseprice:
  10843. description: 预申报价格
  10844. type: number
  10845. premium:
  10846. description: 权利金 - [持仓单的权利金]
  10847. type: number
  10848. relatedouttradeid:
  10849. description: 关联外部成交单ID
  10850. type: integer
  10851. status:
  10852. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10853. type: integer
  10854. tradeamount:
  10855. description: 成交金额[账户币种,用于所有权]
  10856. type: number
  10857. tradedate:
  10858. description: 交易日(yyyyMMdd)
  10859. type: string
  10860. tradeid:
  10861. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10862. type: string
  10863. trademode:
  10864. description: 交易模式
  10865. type: integer
  10866. tradeprice:
  10867. description: 成交价格
  10868. type: number
  10869. tradeproperty:
  10870. description: 交易属性
  10871. type: integer
  10872. tradeqty:
  10873. description: 成交数量
  10874. type: integer
  10875. tradetime:
  10876. description: 成交时间
  10877. type: string
  10878. tradetype:
  10879. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10880. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10881. type: integer
  10882. required:
  10883. - accountid
  10884. - buyorsell
  10885. - goodsid
  10886. - marketid
  10887. - memberuserid
  10888. - orderid
  10889. - tradeamount
  10890. - tradedate
  10891. - tradeid
  10892. - tradeprice
  10893. - tradeqty
  10894. - tradetime
  10895. type: object
  10896. order.QueryTradeOrderDetailRsp:
  10897. properties:
  10898. accountid:
  10899. description: 账户ID[报价币种]
  10900. type: integer
  10901. buildtype:
  10902. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10903. type: integer
  10904. buyorsell:
  10905. description: 买卖 - 0:买 1:卖
  10906. type: integer
  10907. cancelorderid:
  10908. description: 撤单单号(撤单时填写)
  10909. type: string
  10910. cancelqty:
  10911. description: 撤单数量
  10912. type: integer
  10913. clienttype:
  10914. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10915. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10916. type: integer
  10917. closefreezecharge:
  10918. description: 平仓冻结手续费(先建后平操作,需要记录)
  10919. type: number
  10920. closeqty:
  10921. description: 平仓数量(先建后平操作 需要记录)
  10922. type: integer
  10923. closetradeqty:
  10924. description: 平仓成交数量(先建后平操作,需要记录)
  10925. type: integer
  10926. closeunfreezecharge:
  10927. description: 平仓解冻手续费(先建后平操作,需要记录)
  10928. type: number
  10929. delistingtype:
  10930. description: 摘牌类型 - 1:价格最优 2:点选成交
  10931. type: integer
  10932. enableqty:
  10933. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10934. type: integer
  10935. freezecharge:
  10936. description: 冻结手续费
  10937. type: number
  10938. freezemargin:
  10939. description: 冻结保证金(冻结交易金额)
  10940. type: number
  10941. goodscode:
  10942. description: 商品代码
  10943. type: string
  10944. goodsid:
  10945. description: 商品ID
  10946. type: integer
  10947. goodsname:
  10948. description: 商品名称
  10949. type: string
  10950. listingselecttype:
  10951. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10952. type: integer
  10953. marketid:
  10954. description: 市场ID
  10955. type: integer
  10956. marketname:
  10957. description: 市场名称
  10958. type: string
  10959. openfreezecharge:
  10960. description: 开仓冻结手续费(先建后平操作,需要记录)
  10961. type: number
  10962. openqty:
  10963. description: 开仓数量(先建后平操作,需要记录)
  10964. type: integer
  10965. opentradeqty:
  10966. description: 开仓成交数量(先建后平操作,需要记录)
  10967. type: integer
  10968. openunfreezecharge:
  10969. description: 开仓解冻手续费(先建后平操作,需要记录)
  10970. type: number
  10971. operatetype:
  10972. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10973. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10974. 15:管理端协议转让
  10975. type: integer
  10976. operatorid:
  10977. description: 登录账号(LoginID)
  10978. type: integer
  10979. orderid:
  10980. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10981. type: string
  10982. orderprice:
  10983. description: 委托价格
  10984. type: number
  10985. orderqty:
  10986. description: 委托数量
  10987. type: integer
  10988. ordersrc:
  10989. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10990. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10991. type: integer
  10992. orderstatus:
  10993. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10994. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10995. 16:成交失败违约(荷兰式竞拍专用)
  10996. type: integer
  10997. ordertime:
  10998. description: 委托时间
  10999. type: string
  11000. preorderid:
  11001. description: 关联预埋单号(止盈止损单时填写)
  11002. type: string
  11003. pricemode:
  11004. description: '取价方式 - 1:市价 2: 限价'
  11005. type: integer
  11006. relatedid:
  11007. description: 关联单号(交割单)
  11008. type: string
  11009. tradedate:
  11010. description: 交易日(yyyyMMdd)
  11011. type: string
  11012. trademode:
  11013. description: 交易模式
  11014. type: integer
  11015. tradeqty:
  11016. description: 成交数量
  11017. type: integer
  11018. unfreezecharge:
  11019. description: 解冻手续费
  11020. type: number
  11021. unfreezemargin:
  11022. description: 解冻保证金
  11023. type: number
  11024. validtime:
  11025. description: 有效期限
  11026. type: string
  11027. validtype:
  11028. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  11029. type: integer
  11030. volumetype:
  11031. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  11032. type: integer
  11033. required:
  11034. - accountid
  11035. - buildtype
  11036. - buyorsell
  11037. - goodsid
  11038. - marketid
  11039. - operatetype
  11040. - orderqty
  11041. - ordertime
  11042. - pricemode
  11043. - tradedate
  11044. - validtype
  11045. type: object
  11046. order.QueryTradePositionRsp:
  11047. properties:
  11048. accountid:
  11049. description: 资金账户
  11050. type: integer
  11051. agreeunit:
  11052. description: 合约单位
  11053. type: number
  11054. averageprice:
  11055. description: 持仓均价
  11056. type: number
  11057. buyorsell:
  11058. description: 方向 - 0:买 1:卖
  11059. type: integer
  11060. closetotalqty:
  11061. description: 平仓总数量
  11062. type: integer
  11063. curholderamount:
  11064. description: 当前持仓总金额[商品币种]
  11065. type: number
  11066. curpositionqty:
  11067. description: 当前持仓总数量
  11068. type: integer
  11069. currencyid:
  11070. description: 报价货币ID
  11071. type: integer
  11072. curtdposition:
  11073. description: 期末今日头寸
  11074. type: integer
  11075. decimalplace:
  11076. description: 报价小数位
  11077. type: integer
  11078. enableqty:
  11079. description: 可用量
  11080. type: integer
  11081. fretdposition:
  11082. description: 冻结今日头寸
  11083. type: integer
  11084. frozenqty:
  11085. description: 持仓冻结数量
  11086. type: integer
  11087. goodscode:
  11088. description: 商品代码
  11089. type: string
  11090. goodsid:
  11091. description: 商品Id
  11092. type: integer
  11093. goodsname:
  11094. description: 商品名称
  11095. type: string
  11096. goodunit:
  11097. description: 报价单位
  11098. type: string
  11099. goodunitid:
  11100. description: 报价单位ID
  11101. type: integer
  11102. holderamount:
  11103. description: 期初持仓总金额[商品币种]
  11104. type: number
  11105. marketid:
  11106. description: 所属市场ID
  11107. type: integer
  11108. openreqqty:
  11109. description: 开仓申请数量(用于比较最大持仓数量)
  11110. type: integer
  11111. opentotalqty:
  11112. description: 开仓总数量
  11113. type: integer
  11114. otherfrozenqty:
  11115. description: 持仓其他冻结数量(交割冻结)
  11116. type: integer
  11117. positionqty:
  11118. description: 期初持仓数量
  11119. type: integer
  11120. tnqty:
  11121. description: T+N冻结总量
  11122. type: integer
  11123. tnusedqty:
  11124. description: T+N使用量(可以使用T+N的冻结数量)
  11125. type: integer
  11126. trademode:
  11127. description: 交易模式
  11128. type: integer
  11129. usedmargin:
  11130. description: 占用保证金[商品币种]
  11131. type: number
  11132. required:
  11133. - goodsid
  11134. type: object
  11135. quote.HistoryData:
  11136. properties:
  11137. c:
  11138. description: 收盘价
  11139. type: number
  11140. f:
  11141. description: 是否补充数据
  11142. type: boolean
  11143. h:
  11144. description: 最高价
  11145. type: number
  11146. hv:
  11147. description: 持仓量
  11148. type: integer
  11149. l:
  11150. description: 最低价
  11151. type: number
  11152. o:
  11153. description: 开盘价
  11154. type: number
  11155. s:
  11156. description: 结算价,日线周期(包括)以上才有
  11157. type: number
  11158. ts:
  11159. description: 时间
  11160. type: string
  11161. tt:
  11162. description: 总金额
  11163. type: number
  11164. tv:
  11165. description: 总量
  11166. type: integer
  11167. type: object
  11168. quote.HistoryTikData:
  11169. properties:
  11170. AV:
  11171. description: 卖量
  11172. type: integer
  11173. Ask:
  11174. description: 卖价
  11175. type: number
  11176. BV:
  11177. description: 买量
  11178. type: integer
  11179. Bid:
  11180. description: 买价
  11181. type: number
  11182. HI:
  11183. description: 单笔持仓
  11184. type: integer
  11185. HV:
  11186. description: 持仓量
  11187. type: integer
  11188. PE:
  11189. description: 现价
  11190. type: number
  11191. TDR:
  11192. description: 交易方向,0:买 1:卖
  11193. type: integer
  11194. TK:
  11195. description: 交易类型
  11196. type: integer
  11197. TS:
  11198. description: 行情时间文本
  11199. type: string
  11200. TT:
  11201. description: 现金额
  11202. type: number
  11203. Vol:
  11204. description: 现量
  11205. type: integer
  11206. type: object
  11207. quote.QueryQuoteDayRsp:
  11208. properties:
  11209. ask:
  11210. description: 卖1
  11211. type: number
  11212. ask2:
  11213. description: 卖2
  11214. type: number
  11215. ask3:
  11216. description: 卖3
  11217. type: number
  11218. ask4:
  11219. description: 卖4
  11220. type: number
  11221. ask5:
  11222. description: 卖5
  11223. type: number
  11224. ask6:
  11225. description: 卖6
  11226. type: number
  11227. ask7:
  11228. description: 卖7
  11229. type: number
  11230. ask8:
  11231. description: 卖8
  11232. type: number
  11233. ask9:
  11234. description: 卖9
  11235. type: number
  11236. ask10:
  11237. description: 卖10
  11238. type: number
  11239. askorderid:
  11240. description: 卖单号1
  11241. type: integer
  11242. askorderid2:
  11243. description: 卖单号2
  11244. type: integer
  11245. askorderid3:
  11246. description: 卖单号3
  11247. type: integer
  11248. askorderid4:
  11249. description: 卖单号4
  11250. type: integer
  11251. askorderid5:
  11252. description: 卖单号5
  11253. type: integer
  11254. askordervolume:
  11255. description: 卖单量1
  11256. type: integer
  11257. askordervolume2:
  11258. description: 卖单量2
  11259. type: integer
  11260. askordervolume3:
  11261. description: 卖单量3
  11262. type: integer
  11263. askordervolume4:
  11264. description: 卖单量4
  11265. type: integer
  11266. askordervolume5:
  11267. description: 卖单量5
  11268. type: integer
  11269. askordervolume6:
  11270. description: 卖单量6
  11271. type: integer
  11272. askordervolume7:
  11273. description: 卖单量7
  11274. type: integer
  11275. askordervolume8:
  11276. description: 卖单量8
  11277. type: integer
  11278. askordervolume9:
  11279. description: 卖单量9
  11280. type: integer
  11281. askordervolume10:
  11282. description: 卖单量10
  11283. type: integer
  11284. askqueueinfo:
  11285. description: 大利市卖港股用
  11286. type: string
  11287. askvolume:
  11288. description: 卖量1
  11289. type: integer
  11290. askvolume2:
  11291. description: 卖量2
  11292. type: integer
  11293. askvolume3:
  11294. description: 卖量3
  11295. type: integer
  11296. askvolume4:
  11297. description: 卖量4
  11298. type: integer
  11299. askvolume5:
  11300. description: 卖量5
  11301. type: integer
  11302. askvolume6:
  11303. description: 卖量6
  11304. type: integer
  11305. askvolume7:
  11306. description: 卖量7
  11307. type: integer
  11308. askvolume8:
  11309. description: 卖量8
  11310. type: integer
  11311. askvolume9:
  11312. description: 卖量9
  11313. type: integer
  11314. askvolume10:
  11315. description: 卖量10
  11316. type: integer
  11317. averageprice:
  11318. description: 均价
  11319. type: number
  11320. bid:
  11321. description: 买1
  11322. type: number
  11323. bid2:
  11324. description: 买2
  11325. type: number
  11326. bid3:
  11327. description: 买3
  11328. type: number
  11329. bid4:
  11330. description: 买4
  11331. type: number
  11332. bid5:
  11333. description: 买5
  11334. type: number
  11335. bid6:
  11336. description: 买6
  11337. type: number
  11338. bid7:
  11339. description: 买7
  11340. type: number
  11341. bid8:
  11342. description: 买8
  11343. type: number
  11344. bid9:
  11345. description: 买9
  11346. type: number
  11347. bid10:
  11348. description: 买10
  11349. type: number
  11350. bidorderid:
  11351. description: 买单号1
  11352. type: integer
  11353. bidorderid2:
  11354. description: 买单号2
  11355. type: integer
  11356. bidorderid3:
  11357. description: 买单号3
  11358. type: integer
  11359. bidorderid4:
  11360. description: 买单号4
  11361. type: integer
  11362. bidorderid5:
  11363. description: 买单号5
  11364. type: integer
  11365. bidordervolume:
  11366. description: 买单量1
  11367. type: integer
  11368. bidordervolume2:
  11369. description: 买单量2
  11370. type: integer
  11371. bidordervolume3:
  11372. description: 买单量3
  11373. type: integer
  11374. bidordervolume4:
  11375. description: 买单量4
  11376. type: integer
  11377. bidordervolume5:
  11378. description: 买单量5
  11379. type: integer
  11380. bidordervolume6:
  11381. description: 买单量6
  11382. type: integer
  11383. bidordervolume7:
  11384. description: 买单量7
  11385. type: integer
  11386. bidordervolume8:
  11387. description: 买单量8
  11388. type: integer
  11389. bidordervolume9:
  11390. description: 买单量9
  11391. type: integer
  11392. bidordervolume10:
  11393. description: 买单量10
  11394. type: integer
  11395. bidqueueinfo:
  11396. description: 大利市买港股用
  11397. type: string
  11398. bidvolume:
  11399. description: 买量1
  11400. type: integer
  11401. bidvolume2:
  11402. description: 买量2
  11403. type: integer
  11404. bidvolume3:
  11405. description: 买量3
  11406. type: integer
  11407. bidvolume4:
  11408. description: 买量4
  11409. type: integer
  11410. bidvolume5:
  11411. description: 买量5
  11412. type: integer
  11413. bidvolume6:
  11414. description: 买量6
  11415. type: integer
  11416. bidvolume7:
  11417. description: 买量7
  11418. type: integer
  11419. bidvolume8:
  11420. description: 买量8
  11421. type: integer
  11422. bidvolume9:
  11423. description: 买量9
  11424. type: integer
  11425. bidvolume10:
  11426. description: 买量10
  11427. type: integer
  11428. calloptionpremiums:
  11429. description: 认购期权1
  11430. type: integer
  11431. calloptionpremiums2:
  11432. description: 认购期权2
  11433. type: integer
  11434. calloptionpremiums3:
  11435. description: 认购期权3
  11436. type: integer
  11437. calloptionpremiums4:
  11438. description: 认购期权4
  11439. type: integer
  11440. calloptionpremiums5:
  11441. description: 认购期权5
  11442. type: integer
  11443. cleartime:
  11444. description: 清盘时间
  11445. type: integer
  11446. exchangecode:
  11447. description: 交易所代码
  11448. type: integer
  11449. exchangedate:
  11450. description: 交易日
  11451. type: integer
  11452. goodscode:
  11453. description: 商品代码
  11454. type: string
  11455. grepmarketprice:
  11456. description: 暗盘价 港股专用
  11457. type: number
  11458. highest:
  11459. description: 最高价
  11460. type: number
  11461. holdincrement:
  11462. description: 单笔持仓
  11463. type: integer
  11464. holdvolume:
  11465. description: 持仓
  11466. type: integer
  11467. iep:
  11468. description: 平衡价 港股专用
  11469. type: number
  11470. iev:
  11471. description: 平衡量 港股专用
  11472. type: number
  11473. inventory:
  11474. description: 库存
  11475. type: integer
  11476. iscleared:
  11477. description: 是否清盘标志
  11478. type: integer
  11479. issettled:
  11480. description: 是否结算标志
  11481. type: integer
  11482. last:
  11483. description: 最新价
  11484. type: number
  11485. lastlot:
  11486. description: 最新成交手数
  11487. type: integer
  11488. lasttime:
  11489. description: 行情时间(只有现价变化行情时间才变化)
  11490. type: string
  11491. lastturnover:
  11492. description: 最新成交金额
  11493. type: number
  11494. lastvolume:
  11495. description: 最新成交量
  11496. type: integer
  11497. limitdown:
  11498. description: 跌停价
  11499. type: number
  11500. limitup:
  11501. description: 涨停价
  11502. type: number
  11503. lowest:
  11504. description: 最低价
  11505. type: number
  11506. nontotalholdervolume:
  11507. description: 非交易持仓量
  11508. type: integer
  11509. nontotallot:
  11510. description: 非交易总手数
  11511. type: integer
  11512. nontotalturnover:
  11513. description: 非交易总金额
  11514. type: integer
  11515. nontotalvolume:
  11516. description: 非交易总量
  11517. type: integer
  11518. opened:
  11519. description: 开盘价
  11520. type: number
  11521. opentime:
  11522. description: 开盘时间
  11523. type: string
  11524. orderid:
  11525. description: 序号
  11526. type: integer
  11527. preclose:
  11528. description: 昨收
  11529. type: number
  11530. preholdvolume:
  11531. description: 昨持仓
  11532. type: integer
  11533. presettle:
  11534. description: 昨结价
  11535. type: number
  11536. publictradetype:
  11537. description: 公共交易标志类型 港股专用
  11538. type: string
  11539. putoptionpremiums:
  11540. description: 认沽期权1
  11541. type: integer
  11542. putoptionpremiums2:
  11543. description: 认沽期权2
  11544. type: integer
  11545. putoptionpremiums3:
  11546. description: 认沽期权3
  11547. type: integer
  11548. putoptionpremiums4:
  11549. description: 认沽期权4
  11550. type: integer
  11551. putoptionpremiums5:
  11552. description: 认沽期权5
  11553. type: integer
  11554. settle:
  11555. description: 结算价
  11556. type: number
  11557. strikeprice:
  11558. description: 发行价
  11559. type: number
  11560. totalaskvolume:
  11561. description: 内盘
  11562. type: integer
  11563. totalbidvolume:
  11564. description: 外盘
  11565. type: integer
  11566. totallot:
  11567. description: 总手数
  11568. type: integer
  11569. totalturnover:
  11570. description: 总金额
  11571. type: number
  11572. totalvolume:
  11573. description: 总量
  11574. type: integer
  11575. utclasttime:
  11576. description: utc的行情时间
  11577. type: string
  11578. type: object
  11579. quote.QueryTSDataRsp:
  11580. properties:
  11581. Count:
  11582. description: 交易日应有数据个数
  11583. type: integer
  11584. decimalPlace:
  11585. description: 小数位
  11586. type: integer
  11587. endTime:
  11588. description: 结束时间
  11589. type: string
  11590. goodsCode:
  11591. description: 商品代码
  11592. type: string
  11593. historyDatas:
  11594. description: 历史数据
  11595. items:
  11596. $ref: '#/definitions/quote.HistoryData'
  11597. type: array
  11598. outGoodsCode:
  11599. description: 外部商品代码
  11600. type: string
  11601. preSettle:
  11602. description: 昨结价
  11603. type: number
  11604. runSteps:
  11605. description: 交易日开休市计划
  11606. items:
  11607. $ref: '#/definitions/quote.TSDataRunStep'
  11608. type: array
  11609. startTime:
  11610. description: 开始时间
  11611. type: string
  11612. tradeDate:
  11613. description: 交易日
  11614. type: string
  11615. type: object
  11616. quote.TSDataRunStep:
  11617. properties:
  11618. end:
  11619. description: 真实结束时间
  11620. type: string
  11621. endflag:
  11622. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11623. type: integer
  11624. endtime:
  11625. description: 结束时间(HH:mm)
  11626. type: string
  11627. endweekday:
  11628. description: 结束周几
  11629. type: integer
  11630. groupid:
  11631. description: 分组ID
  11632. type: integer
  11633. runstep:
  11634. description: 运行阶段 - 2:连续交易
  11635. type: integer
  11636. sectionid:
  11637. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11638. 结束时间=结算时间 结束周几=结算周几
  11639. type: integer
  11640. start:
  11641. description: 真实开始时间
  11642. type: string
  11643. startflag:
  11644. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11645. type: integer
  11646. starttime:
  11647. description: 起始时间(HH:mm)
  11648. type: string
  11649. startweekday:
  11650. description: 起始周几
  11651. type: integer
  11652. tradeweekday:
  11653. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11654. type: integer
  11655. type: object
  11656. szdz.QueryConvertLogRsp:
  11657. properties:
  11658. accountid:
  11659. description: 资金账户ID
  11660. type: integer
  11661. clientticket:
  11662. description: 客户端流水号
  11663. type: string
  11664. converttype:
  11665. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11666. type: integer
  11667. createtime:
  11668. description: 记账时间
  11669. type: string
  11670. daymaxvalue:
  11671. description: 配置当日最大转入限制
  11672. type: number
  11673. daymaxvalue2:
  11674. description: 配置当日最大转入限制(转入)
  11675. type: number
  11676. goodscode:
  11677. description: 商品代码
  11678. type: string
  11679. goodsname:
  11680. description: 商品名称
  11681. type: string
  11682. handlestatus:
  11683. description: 处理状态
  11684. type: integer
  11685. innergoodsid:
  11686. description: 内部商品ID
  11687. type: integer
  11688. inratio:
  11689. description: 配置转入比值
  11690. type: integer
  11691. invalue:
  11692. description: 目标值
  11693. type: number
  11694. logid:
  11695. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11696. type: integer
  11697. mobile:
  11698. description: 手机号码(加密存储)
  11699. type: string
  11700. outergoodscode:
  11701. description: 外部商品代码[JD\PD]
  11702. type: string
  11703. outratio:
  11704. description: 配置转出比值
  11705. type: integer
  11706. outvalue:
  11707. description: 源值
  11708. type: number
  11709. pddecimalplace:
  11710. description: PD小数位
  11711. type: integer
  11712. qty:
  11713. description: 数量
  11714. type: string
  11715. remark:
  11716. description: 备注
  11717. type: string
  11718. sessionid:
  11719. description: 会话ID
  11720. type: integer
  11721. timemaxvalue:
  11722. description: 配置单次最大转入限制
  11723. type: number
  11724. timemaxvalue2:
  11725. description: 配置单次最大转入限制(转入)
  11726. type: number
  11727. timeminvalue:
  11728. description: 配置单次最小数量限制
  11729. type: number
  11730. timeminvalue2:
  11731. description: 配置单次最小数量限制(转入)
  11732. type: number
  11733. tradedate:
  11734. description: 交易日(yyyyMMdd)
  11735. type: string
  11736. userid:
  11737. description: 用户ID
  11738. type: integer
  11739. required:
  11740. - logid
  11741. type: object
  11742. szdz.QueryGoodsPickupRsp:
  11743. properties:
  11744. accountid:
  11745. description: 账户ID
  11746. type: integer
  11747. address:
  11748. description: 提货人详细地址
  11749. type: string
  11750. auditer:
  11751. description: 审核人
  11752. type: integer
  11753. audittime:
  11754. description: 审核时间
  11755. type: string
  11756. cardnum:
  11757. description: 提货人证件号码
  11758. type: string
  11759. cardtypeid:
  11760. description: 提货人证件类型
  11761. type: integer
  11762. checkremark:
  11763. description: 审核备注
  11764. type: string
  11765. goodscode:
  11766. description: 商品代码
  11767. type: string
  11768. goodsid:
  11769. description: 商品ID
  11770. type: integer
  11771. goodsname:
  11772. description: 商品名称
  11773. type: string
  11774. handlestatus:
  11775. description: 处理状态
  11776. type: integer
  11777. marketid:
  11778. description: 市场ID
  11779. type: integer
  11780. phonenum:
  11781. description: 提货人联系方式
  11782. type: string
  11783. qty:
  11784. description: 提货数量
  11785. type: number
  11786. recivername:
  11787. description: 提货人姓名
  11788. type: string
  11789. reqtime:
  11790. description: 更新时间
  11791. type: string
  11792. takemode:
  11793. description: 提货方式 - 2:自提 3:配送
  11794. type: integer
  11795. takeorderid:
  11796. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11797. type: string
  11798. takeorderstatus:
  11799. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11800. type: integer
  11801. takeremark:
  11802. description: 提货备注
  11803. type: string
  11804. tradedate:
  11805. description: 交易日(yyyyMMdd)
  11806. type: string
  11807. userid:
  11808. description: 用户ID
  11809. type: integer
  11810. required:
  11811. - takeorderid
  11812. type: object
  11813. szdz.QueryRecieptOrderRsp:
  11814. properties:
  11815. accountName:
  11816. description: 所属账号名称(已脱敏)
  11817. type: string
  11818. accountid:
  11819. description: 资金账号
  11820. type: integer
  11821. buyorsell:
  11822. description: 方向 - 0:买 1:卖
  11823. type: integer
  11824. enableqty:
  11825. description: 可摘数量
  11826. type: integer
  11827. goodscode:
  11828. description: 商品代码
  11829. type: string
  11830. goodsid:
  11831. description: 商品ID
  11832. type: integer
  11833. goodsname:
  11834. description: 商品名称
  11835. type: string
  11836. orderid:
  11837. description: 委托单号
  11838. type: string
  11839. orderprice:
  11840. description: 委托价格
  11841. type: number
  11842. ordertime:
  11843. description: 委托时间
  11844. type: string
  11845. tradedate:
  11846. description: 交易日(yyyyMMdd)
  11847. type: string
  11848. required:
  11849. - ordertime
  11850. type: object
  11851. szdz.QuerySZDZTradePositionRsp:
  11852. properties:
  11853. accountid:
  11854. description: 账号Id
  11855. type: integer
  11856. agreeunit:
  11857. description: 合约单位
  11858. type: number
  11859. averageprice:
  11860. description: 持仓均价
  11861. type: number
  11862. buyorsell:
  11863. description: 方向 - 0:买 1:卖
  11864. type: integer
  11865. closetotalqty:
  11866. description: 平仓总数量
  11867. type: integer
  11868. curholderamount:
  11869. description: 当前持仓总金额
  11870. type: number
  11871. curpositionqty:
  11872. description: 当前持仓总数量
  11873. type: integer
  11874. currencyid:
  11875. description: 报价货币ID
  11876. type: integer
  11877. curtdposition:
  11878. description: 期末今日头寸
  11879. type: integer
  11880. decimalplace:
  11881. description: 报价小数位
  11882. type: integer
  11883. enableqty:
  11884. description: 可用量
  11885. type: integer
  11886. fretdposition:
  11887. description: 冻结今日头寸
  11888. type: integer
  11889. frozenqty:
  11890. description: 持仓冻结数量
  11891. type: integer
  11892. goodscode:
  11893. description: 商品代码(内部)
  11894. type: string
  11895. goodsid:
  11896. description: 商品Id
  11897. type: integer
  11898. goodsname:
  11899. description: 商品名称
  11900. type: string
  11901. goodunit:
  11902. description: 报价单位
  11903. type: string
  11904. goodunitid:
  11905. description: 报价单位ID
  11906. type: integer
  11907. holderamount:
  11908. description: 期初持仓总金额
  11909. type: number
  11910. marketid:
  11911. description: 市场ID
  11912. type: integer
  11913. openreqqty:
  11914. description: 开仓申请数量
  11915. type: integer
  11916. opentotalqty:
  11917. description: 开仓总数量
  11918. type: integer
  11919. otherfrozenqty:
  11920. description: 持仓其他冻结数量(交割冻结)
  11921. type: integer
  11922. positionqty:
  11923. description: 期初持仓数量
  11924. type: integer
  11925. szdz3freezqty:
  11926. description: 尚志大宗转换冻结总数量
  11927. type: integer
  11928. tnqty:
  11929. description: T+N冻结总量
  11930. type: integer
  11931. tnusedqty:
  11932. description: T+N使用量
  11933. type: integer
  11934. trademode:
  11935. description: 交易模式
  11936. type: integer
  11937. usedmargin:
  11938. description: 占用保证金
  11939. type: number
  11940. type: object
  11941. taaccount.QueryAmountLogRsp:
  11942. properties:
  11943. OPERATETYPENAME:
  11944. description: 资金操作类型名称
  11945. type: string
  11946. accountid:
  11947. description: 资金账户ID
  11948. type: integer
  11949. agoodscode:
  11950. description: 竞拍商品代码
  11951. type: string
  11952. agoodsname:
  11953. description: 竞拍商品名称
  11954. type: string
  11955. amount:
  11956. description: 资金金额
  11957. type: number
  11958. amountadjusttype:
  11959. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11960. type: integer
  11961. autoid:
  11962. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11963. type: integer
  11964. balance:
  11965. description: 期初余额
  11966. type: number
  11967. businesscode:
  11968. description: 业务编号
  11969. type: integer
  11970. createtime:
  11971. description: 发生时间
  11972. type: string
  11973. currencyid:
  11974. description: 币种ID
  11975. type: integer
  11976. currentbalance:
  11977. description: 期末余额(变动后金额)
  11978. type: number
  11979. dgoodscode:
  11980. description: 交割商品代码
  11981. type: string
  11982. dgoodsname:
  11983. description: 交割商品名称
  11984. type: string
  11985. goodscode:
  11986. description: 商品代码
  11987. type: string
  11988. goodsid:
  11989. description: 商品ID
  11990. type: integer
  11991. goodsname:
  11992. description: 商品名称
  11993. type: string
  11994. marketid:
  11995. description: 市场ID
  11996. type: integer
  11997. marketname:
  11998. description: 市场名称
  11999. type: string
  12000. moneyticket:
  12001. description: 资金流水号:银行端流水号
  12002. type: integer
  12003. operatetype:
  12004. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12005. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12006. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12007. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12008. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12009. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12010. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12011. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12012. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12013. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12014. type: integer
  12015. relationorderid:
  12016. description: 关联单号
  12017. type: string
  12018. remark:
  12019. description: 备注
  12020. type: string
  12021. trademode:
  12022. description: 交易模式
  12023. type: integer
  12024. required:
  12025. - accountid
  12026. - amount
  12027. - amountadjusttype
  12028. - autoid
  12029. - balance
  12030. - createtime
  12031. - currentbalance
  12032. - operatetype
  12033. type: object
  12034. taaccount.QueryHisAmountLogRsp:
  12035. properties:
  12036. OPERATETYPENAME:
  12037. description: 资金操作类型名称
  12038. type: string
  12039. accountid:
  12040. description: 资金账户ID
  12041. type: integer
  12042. agoodscode:
  12043. description: 竞拍商品代码
  12044. type: string
  12045. agoodsname:
  12046. description: 竞拍商品名称
  12047. type: string
  12048. amount:
  12049. description: 资金金额
  12050. type: number
  12051. amountadjusttype:
  12052. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  12053. type: integer
  12054. autoid:
  12055. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  12056. type: integer
  12057. balance:
  12058. description: 期初余额
  12059. type: number
  12060. businesscode:
  12061. description: 业务编号
  12062. type: integer
  12063. createtime:
  12064. description: 发生时间
  12065. type: string
  12066. currencyid:
  12067. description: 币种ID
  12068. type: integer
  12069. currentbalance:
  12070. description: 期末余额(变动后金额)
  12071. type: number
  12072. dgoodscode:
  12073. description: 交割商品代码
  12074. type: string
  12075. dgoodsname:
  12076. description: 交割商品名称
  12077. type: string
  12078. goodscode:
  12079. description: 商品代码
  12080. type: string
  12081. goodsid:
  12082. description: 商品ID
  12083. type: integer
  12084. goodsname:
  12085. description: 商品名称
  12086. type: string
  12087. histradedate:
  12088. description: 历史交易日
  12089. type: string
  12090. isvaliddata:
  12091. description: 是否有效 - 0:无效 1:有效
  12092. type: integer
  12093. marketid:
  12094. description: 市场ID
  12095. type: integer
  12096. marketname:
  12097. description: 市场名称
  12098. type: string
  12099. moneyticket:
  12100. description: 资金流水号:银行端流水号
  12101. type: integer
  12102. operatetype:
  12103. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  12104. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  12105. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  12106. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  12107. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  12108. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  12109. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  12110. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  12111. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  12112. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  12113. type: integer
  12114. relationorderid:
  12115. description: 关联单号
  12116. type: string
  12117. remark:
  12118. description: 备注
  12119. type: string
  12120. trademode:
  12121. description: 交易模式
  12122. type: integer
  12123. required:
  12124. - accountid
  12125. - amount
  12126. - amountadjusttype
  12127. - autoid
  12128. - balance
  12129. - createtime
  12130. - currentbalance
  12131. - histradedate
  12132. - operatetype
  12133. type: object
  12134. trade.QueryRecieptOrderRsp:
  12135. properties:
  12136. accountName:
  12137. description: 所属账号名称(已脱敏)
  12138. type: string
  12139. accountid:
  12140. description: 资金账号
  12141. type: integer
  12142. buyorsell:
  12143. description: 方向 - 0:买 1:卖
  12144. type: integer
  12145. enableqty:
  12146. description: 可摘数量
  12147. type: integer
  12148. goodscode:
  12149. description: 商品代码
  12150. type: string
  12151. goodsid:
  12152. description: 商品ID
  12153. type: integer
  12154. goodsname:
  12155. description: 商品名称
  12156. type: string
  12157. orderid:
  12158. description: 委托单号
  12159. type: string
  12160. orderprice:
  12161. description: 委托价格
  12162. type: number
  12163. ordertime:
  12164. description: 委托时间
  12165. type: string
  12166. tradedate:
  12167. description: 交易日(yyyyMMdd)
  12168. type: string
  12169. required:
  12170. - ordertime
  12171. type: object
  12172. user.LoginQueryRsp:
  12173. properties:
  12174. externalExchanges:
  12175. description: 外部交易所
  12176. items:
  12177. $ref: '#/definitions/models.Externalexchange'
  12178. type: array
  12179. goodsgroups:
  12180. description: 商品组
  12181. items:
  12182. $ref: '#/definitions/models.Goodsgroup'
  12183. type: array
  12184. loginAccount:
  12185. $ref: '#/definitions/models.Loginaccount'
  12186. description: 登录账号
  12187. type: object
  12188. markets:
  12189. description: 市场
  12190. items:
  12191. $ref: '#/definitions/models.Market'
  12192. type: array
  12193. systemParams:
  12194. description: 系统参数
  12195. items:
  12196. $ref: '#/definitions/models.Systemparam'
  12197. type: array
  12198. userAccount:
  12199. $ref: '#/definitions/models.Useraccount'
  12200. description: 用户账号
  12201. type: object
  12202. userInfo:
  12203. $ref: '#/definitions/models.Userinfo'
  12204. description: 用户信息
  12205. type: object
  12206. username:
  12207. description: 用户姓名
  12208. type: string
  12209. type: object
  12210. info:
  12211. contact: {}
  12212. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  12213. license: {}
  12214. termsOfService: http://muchinfo.cn
  12215. title: MTP2.0 查询服务 API
  12216. version: "1.0"
  12217. paths:
  12218. /CPTrade/QueryCPTradeMyBidInfos:
  12219. get:
  12220. parameters:
  12221. - description: 资金账户
  12222. in: query
  12223. name: accountid
  12224. required: true
  12225. type: integer
  12226. - description: 预售市场ID
  12227. in: query
  12228. name: marketid
  12229. type: integer
  12230. - description: 预售商品ID
  12231. in: query
  12232. name: goodsid
  12233. type: integer
  12234. produces:
  12235. - application/json
  12236. responses:
  12237. "200":
  12238. description: OK
  12239. schema:
  12240. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  12241. "500":
  12242. description: Internal Server Error
  12243. schema:
  12244. $ref: '#/definitions/app.Response'
  12245. security:
  12246. - ApiKeyAuth: []
  12247. summary: 查询产能预售我的出价信息
  12248. tags:
  12249. - 产能预售
  12250. /CPTrade/QueryCPTradeOrderDetail:
  12251. get:
  12252. parameters:
  12253. - description: 预售商品ID
  12254. in: query
  12255. name: goodsid
  12256. type: integer
  12257. - description: 预售市场ID
  12258. in: query
  12259. name: marketid
  12260. type: integer
  12261. - description: 预售商品ID列表 - 格式:1,2,3
  12262. in: query
  12263. name: goodsids
  12264. type: string
  12265. produces:
  12266. - application/json
  12267. responses:
  12268. "200":
  12269. description: OK
  12270. schema:
  12271. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  12272. "500":
  12273. description: Internal Server Error
  12274. schema:
  12275. $ref: '#/definitions/app.Response'
  12276. security:
  12277. - ApiKeyAuth: []
  12278. summary: 查询产能预售委托单信息
  12279. tags:
  12280. - 产能预售
  12281. /CPTrade/QueryMyCPTradeGoods:
  12282. get:
  12283. parameters:
  12284. - description: 资金账户
  12285. in: query
  12286. name: accountid
  12287. required: true
  12288. type: integer
  12289. produces:
  12290. - application/json
  12291. responses:
  12292. "200":
  12293. description: OK
  12294. schema:
  12295. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  12296. "500":
  12297. description: Internal Server Error
  12298. schema:
  12299. $ref: '#/definitions/app.Response'
  12300. security:
  12301. - ApiKeyAuth: []
  12302. summary: 查询我的预售信息
  12303. tags:
  12304. - 产能预售
  12305. /CPTrade/QueryPositionCancel:
  12306. get:
  12307. parameters:
  12308. - description: 账户ID
  12309. in: query
  12310. name: userid
  12311. required: true
  12312. type: integer
  12313. - description: 注销ID
  12314. in: query
  12315. name: cancelid
  12316. type: integer
  12317. - description: 资金账户ID
  12318. in: query
  12319. name: accountid
  12320. type: integer
  12321. produces:
  12322. - application/json
  12323. responses:
  12324. "200":
  12325. description: OK
  12326. schema:
  12327. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  12328. "500":
  12329. description: Internal Server Error
  12330. schema:
  12331. $ref: '#/definitions/app.Response'
  12332. security:
  12333. - ApiKeyAuth: []
  12334. summary: 查询远期订单注销申请信息
  12335. tags:
  12336. - 产能预售
  12337. /CPTrade/QueryPreasleApply:
  12338. get:
  12339. parameters:
  12340. - description: 账户ID
  12341. in: query
  12342. name: userid
  12343. required: true
  12344. type: integer
  12345. - description: 申请ID
  12346. in: query
  12347. name: applyid
  12348. type: integer
  12349. - description: 资金账户ID
  12350. in: query
  12351. name: accountid
  12352. type: integer
  12353. produces:
  12354. - application/json
  12355. responses:
  12356. "200":
  12357. description: OK
  12358. schema:
  12359. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  12360. "500":
  12361. description: Internal Server Error
  12362. schema:
  12363. $ref: '#/definitions/app.Response'
  12364. security:
  12365. - ApiKeyAuth: []
  12366. summary: 查询产能预售申请信息
  12367. tags:
  12368. - 产能预售
  12369. /CPTrade/QueryPresaleGoodsEx:
  12370. get:
  12371. parameters:
  12372. - description: 预售商品ID
  12373. in: query
  12374. name: goodsid
  12375. type: integer
  12376. - description: 预售市场ID
  12377. in: query
  12378. name: marketid
  12379. type: integer
  12380. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  12381. in: query
  12382. name: presalemode
  12383. type: integer
  12384. - description: 预售商品ID列表 - 格式:1,2,3
  12385. in: query
  12386. name: goodsids
  12387. type: string
  12388. - description: 预售商品代码
  12389. in: query
  12390. name: goodscode
  12391. type: string
  12392. produces:
  12393. - application/json
  12394. responses:
  12395. "200":
  12396. description: OK
  12397. schema:
  12398. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  12399. "500":
  12400. description: Internal Server Error
  12401. schema:
  12402. $ref: '#/definitions/app.Response'
  12403. security:
  12404. - ApiKeyAuth: []
  12405. summary: 查询产能预售商品扩展信息
  12406. tags:
  12407. - 产能预售
  12408. /CPTrade/QueryUserGoodsData:
  12409. get:
  12410. parameters:
  12411. - description: 资金账户ID
  12412. in: query
  12413. name: accountid
  12414. required: true
  12415. type: integer
  12416. produces:
  12417. - application/json
  12418. responses:
  12419. "200":
  12420. description: OK
  12421. schema:
  12422. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  12423. "500":
  12424. description: Internal Server Error
  12425. schema:
  12426. $ref: '#/definitions/app.Response'
  12427. security:
  12428. - ApiKeyAuth: []
  12429. summary: 查询远期订单信息
  12430. tags:
  12431. - 产能预售
  12432. /Common/GetAllEnums:
  12433. get:
  12434. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  12435. parameters:
  12436. - description: 起始自增ID
  12437. in: query
  12438. name: autoid
  12439. type: integer
  12440. produces:
  12441. - application/json
  12442. responses:
  12443. "200":
  12444. description: OK
  12445. schema:
  12446. $ref: '#/definitions/models.Enumdicitem'
  12447. "500":
  12448. description: Internal Server Error
  12449. schema:
  12450. $ref: '#/definitions/app.Response'
  12451. summary: 获取所有枚举信息
  12452. tags:
  12453. - 通用服务
  12454. /Common/GetClientMenus:
  12455. get:
  12456. parameters:
  12457. - description: 登录账号
  12458. in: query
  12459. name: loginID
  12460. required: true
  12461. type: integer
  12462. - description: 终端类型,0:PC 1:Mobile
  12463. in: query
  12464. name: clientType
  12465. type: integer
  12466. produces:
  12467. - application/json
  12468. responses:
  12469. "200":
  12470. description: OK
  12471. schema:
  12472. items:
  12473. $ref: '#/definitions/common.ClientMenu'
  12474. type: array
  12475. "500":
  12476. description: Internal Server Error
  12477. schema:
  12478. $ref: '#/definitions/app.Response'
  12479. security:
  12480. - ApiKeyAuth: []
  12481. summary: 获取交易端菜单
  12482. tags:
  12483. - 通用服务
  12484. /Common/GetDivisions:
  12485. get:
  12486. produces:
  12487. - application/json
  12488. responses:
  12489. "200":
  12490. description: OK
  12491. schema:
  12492. $ref: '#/definitions/models.Division'
  12493. "500":
  12494. description: Internal Server Error
  12495. schema:
  12496. $ref: '#/definitions/app.Response'
  12497. summary: 查询区域信息
  12498. tags:
  12499. - 通用服务
  12500. /Common/GetServerTime:
  12501. get:
  12502. produces:
  12503. - application/json
  12504. responses:
  12505. "200":
  12506. description: OK
  12507. schema:
  12508. $ref: '#/definitions/app.Response'
  12509. "500":
  12510. description: Internal Server Error
  12511. schema:
  12512. $ref: '#/definitions/app.Response'
  12513. summary: 获取服务器时间
  12514. tags:
  12515. - 通用服务
  12516. /Common/NoticeReaded:
  12517. post:
  12518. parameters:
  12519. - description: 登录账号
  12520. in: query
  12521. name: loginID
  12522. required: true
  12523. type: integer
  12524. - description: 通知公告ID
  12525. in: query
  12526. name: noticeID
  12527. required: true
  12528. type: integer
  12529. produces:
  12530. - application/json
  12531. responses:
  12532. "200":
  12533. description: OK
  12534. schema:
  12535. $ref: '#/definitions/app.Response'
  12536. "500":
  12537. description: Internal Server Error
  12538. schema:
  12539. $ref: '#/definitions/app.Response'
  12540. security:
  12541. - ApiKeyAuth: []
  12542. summary: 通知公告设置已读请求
  12543. tags:
  12544. - 通用服务
  12545. /Common/QueryErrorInfos:
  12546. get:
  12547. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12548. parameters:
  12549. - description: 起始行号前索引
  12550. in: query
  12551. name: rowNumber
  12552. type: string
  12553. produces:
  12554. - application/json
  12555. responses:
  12556. "200":
  12557. description: OK
  12558. schema:
  12559. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12560. "500":
  12561. description: Internal Server Error
  12562. schema:
  12563. $ref: '#/definitions/app.Response'
  12564. summary: 获取数据库错误信息
  12565. tags:
  12566. - 通用服务
  12567. /Common/QueryImageConfigs:
  12568. get:
  12569. parameters:
  12570. - description: 类型 - 1:App首页轮播 2:我的
  12571. in: query
  12572. name: imageType
  12573. type: integer
  12574. produces:
  12575. - application/json
  12576. responses:
  12577. "200":
  12578. description: OK
  12579. schema:
  12580. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12581. "500":
  12582. description: Internal Server Error
  12583. schema:
  12584. $ref: '#/definitions/app.Response'
  12585. summary: 查询轮播图配置信息
  12586. tags:
  12587. - 通用服务
  12588. /Common/QueryNotice:
  12589. get:
  12590. parameters:
  12591. - description: 页码
  12592. in: query
  12593. name: page
  12594. type: integer
  12595. - description: 每页条数
  12596. in: query
  12597. name: pagesize
  12598. type: integer
  12599. - description: 登录账号
  12600. in: query
  12601. name: loginID
  12602. required: true
  12603. type: integer
  12604. - description: 消息类型 - 1:公告通知 2:系统消息
  12605. in: query
  12606. name: msgType
  12607. type: integer
  12608. - description: 是否只获取未读信息
  12609. in: query
  12610. name: onlyUnRead
  12611. type: boolean
  12612. - description: 自增ID,传入后会返回这个ID后面的记录
  12613. in: query
  12614. name: lastID
  12615. type: integer
  12616. produces:
  12617. - application/json
  12618. responses:
  12619. "200":
  12620. description: OK
  12621. schema:
  12622. $ref: '#/definitions/common.QueryNoticeRsp'
  12623. "500":
  12624. description: Internal Server Error
  12625. schema:
  12626. $ref: '#/definitions/app.Response'
  12627. security:
  12628. - ApiKeyAuth: []
  12629. summary: 通知公告系统消息查询
  12630. tags:
  12631. - 通用服务
  12632. /Common/QueryProvincesAndCities:
  12633. get:
  12634. parameters:
  12635. - description: 省ID
  12636. in: query
  12637. name: provinceID
  12638. type: integer
  12639. produces:
  12640. - application/json
  12641. responses:
  12642. "200":
  12643. description: OK
  12644. schema:
  12645. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12646. "500":
  12647. description: Internal Server Error
  12648. schema:
  12649. $ref: '#/definitions/app.Response'
  12650. summary: 查询省市信息(不包括区)
  12651. tags:
  12652. - 通用服务
  12653. /Common/QueryTableDefine:
  12654. get:
  12655. parameters:
  12656. - description: 表key
  12657. in: query
  12658. name: tableKey
  12659. type: string
  12660. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12661. in: query
  12662. name: tableType
  12663. type: integer
  12664. produces:
  12665. - application/json
  12666. responses:
  12667. "200":
  12668. description: OK
  12669. schema:
  12670. $ref: '#/definitions/common.QueryTableDefineRsp'
  12671. "500":
  12672. description: Internal Server Error
  12673. schema:
  12674. $ref: '#/definitions/app.Response'
  12675. summary: 查询交易端列表头信息
  12676. tags:
  12677. - 通用服务
  12678. /Common/QueryTraderMenu:
  12679. get:
  12680. parameters:
  12681. - description: 登录账号
  12682. in: query
  12683. name: loginid
  12684. required: true
  12685. type: integer
  12686. produces:
  12687. - application/json
  12688. responses:
  12689. "200":
  12690. description: OK
  12691. schema:
  12692. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12693. "500":
  12694. description: Internal Server Error
  12695. schema:
  12696. $ref: '#/definitions/app.Response'
  12697. summary: 查询交易端菜单
  12698. tags:
  12699. - 通用服务
  12700. /Delivery/QueryDeliveryRelation:
  12701. get:
  12702. parameters:
  12703. - description: 商品ID
  12704. in: query
  12705. name: goodsid
  12706. type: integer
  12707. - description: 品种ID
  12708. in: query
  12709. name: deliverygoodsid
  12710. type: integer
  12711. - description: 市场ID
  12712. in: query
  12713. name: marketid
  12714. type: integer
  12715. produces:
  12716. - application/json
  12717. responses:
  12718. "200":
  12719. description: OK
  12720. schema:
  12721. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12722. "500":
  12723. description: Internal Server Error
  12724. schema:
  12725. $ref: '#/definitions/app.Response'
  12726. security:
  12727. - ApiKeyAuth: []
  12728. summary: 查询商品交割关系表
  12729. tags:
  12730. - 交割服务
  12731. /Ermcp/GetErmcpGoods:
  12732. get:
  12733. parameters:
  12734. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12735. in: query
  12736. name: lastUpdateTime
  12737. type: string
  12738. produces:
  12739. - application/json
  12740. responses:
  12741. "200":
  12742. description: OK
  12743. schema:
  12744. $ref: '#/definitions/models.Goods'
  12745. "500":
  12746. description: Internal Server Error
  12747. schema:
  12748. $ref: '#/definitions/app.Response'
  12749. security:
  12750. - ApiKeyAuth: []
  12751. summary: 查询企业风管期货商品信息
  12752. tags:
  12753. - 企业风险管理(app)
  12754. /Ermcp/GetErmcpGoodsSortByPosition:
  12755. get:
  12756. parameters:
  12757. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12758. in: query
  12759. name: sortIndex
  12760. type: string
  12761. produces:
  12762. - application/json
  12763. responses:
  12764. "200":
  12765. description: OK
  12766. schema:
  12767. $ref: '#/definitions/models.Goodssortbypreposition'
  12768. "500":
  12769. description: Internal Server Error
  12770. schema:
  12771. $ref: '#/definitions/app.Response'
  12772. security:
  12773. - ApiKeyAuth: []
  12774. summary: 查询企业风管期货主力、次主力商品信息
  12775. tags:
  12776. - 企业风险管理(app)
  12777. /Ermcp/GetErmcpOutAccountStatus:
  12778. get:
  12779. parameters:
  12780. - description: 登录账号
  12781. in: query
  12782. name: loginID
  12783. required: true
  12784. type: integer
  12785. produces:
  12786. - application/json
  12787. responses:
  12788. "200":
  12789. description: OK
  12790. schema:
  12791. $ref: '#/definitions/models.Hedgemarketopenlog'
  12792. "500":
  12793. description: Internal Server Error
  12794. schema:
  12795. $ref: '#/definitions/app.Response'
  12796. security:
  12797. - ApiKeyAuth: []
  12798. summary: 获取目标登录账号当前对冲账号在线状态
  12799. tags:
  12800. - 企业风险管理(app)
  12801. /Ermcp/GetErmcpRoleFuncMenuLists:
  12802. get:
  12803. parameters:
  12804. - description: 登录账号
  12805. in: query
  12806. name: loginID
  12807. required: true
  12808. type: integer
  12809. produces:
  12810. - application/json
  12811. responses:
  12812. "200":
  12813. description: OK
  12814. schema:
  12815. $ref: '#/definitions/models.Funcmenulist'
  12816. "500":
  12817. description: Internal Server Error
  12818. schema:
  12819. $ref: '#/definitions/app.Response'
  12820. security:
  12821. - ApiKeyAuth: []
  12822. summary: 获取企业风管终端权限
  12823. tags:
  12824. - 企业风险管理(app)
  12825. /Ermcp/QryReportAreaSpotPL:
  12826. get:
  12827. parameters:
  12828. - description: 用户ID
  12829. in: query
  12830. name: userid
  12831. required: true
  12832. type: integer
  12833. - description: 查询类型 1-日报表 2-月报表
  12834. in: query
  12835. name: querytype
  12836. required: true
  12837. type: integer
  12838. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  12839. in: query
  12840. name: querydate
  12841. required: true
  12842. type: string
  12843. - description: 现货商品ID
  12844. in: query
  12845. name: wrstandardid
  12846. type: integer
  12847. - description: 品牌ID
  12848. in: query
  12849. name: spotgoodsbrandid
  12850. type: integer
  12851. - description: 型号ID
  12852. in: query
  12853. name: spotgoodsmodelid
  12854. type: integer
  12855. produces:
  12856. - application/json
  12857. responses:
  12858. "200":
  12859. description: OK
  12860. schema:
  12861. items:
  12862. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  12863. type: array
  12864. "500":
  12865. description: Internal Server Error
  12866. schema:
  12867. $ref: '#/definitions/app.Response'
  12868. security:
  12869. - ApiKeyAuth: []
  12870. summary: 查询现货损益报表(现货损益报表)
  12871. tags:
  12872. - 企业风险管理(app)
  12873. /Ermcp/QryReportDayExposure:
  12874. get:
  12875. parameters:
  12876. - description: 用户ID
  12877. in: query
  12878. name: userid
  12879. required: true
  12880. type: integer
  12881. - description: 交易日(格式:yyyyMMdd)
  12882. in: query
  12883. name: tradedate
  12884. required: true
  12885. type: string
  12886. produces:
  12887. - application/json
  12888. responses:
  12889. "200":
  12890. description: OK
  12891. schema:
  12892. items:
  12893. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  12894. type: array
  12895. "500":
  12896. description: Internal Server Error
  12897. schema:
  12898. $ref: '#/definitions/app.Response'
  12899. security:
  12900. - ApiKeyAuth: []
  12901. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  12902. tags:
  12903. - 企业风险管理(app)
  12904. /Ermcp/QryReportDayFinance:
  12905. get:
  12906. parameters:
  12907. - description: 用户ID
  12908. in: query
  12909. name: userid
  12910. required: true
  12911. type: integer
  12912. - description: 交易日(格式:yyyyMMdd)
  12913. in: query
  12914. name: tradedate
  12915. required: true
  12916. type: string
  12917. produces:
  12918. - application/json
  12919. responses:
  12920. "200":
  12921. description: OK
  12922. schema:
  12923. items:
  12924. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  12925. type: array
  12926. "500":
  12927. description: Internal Server Error
  12928. schema:
  12929. $ref: '#/definitions/app.Response'
  12930. security:
  12931. - ApiKeyAuth: []
  12932. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  12933. tags:
  12934. - 企业风险管理(app)
  12935. /Ermcp/QryReportDayFinanceFp:
  12936. get:
  12937. parameters:
  12938. - description: 用户ID
  12939. in: query
  12940. name: userid
  12941. required: true
  12942. type: integer
  12943. - description: 交易日(格式:yyyyMMdd)
  12944. in: query
  12945. name: tradedate
  12946. required: true
  12947. type: string
  12948. produces:
  12949. - application/json
  12950. responses:
  12951. "200":
  12952. description: OK
  12953. schema:
  12954. items:
  12955. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12956. type: array
  12957. "500":
  12958. description: Internal Server Error
  12959. schema:
  12960. $ref: '#/definitions/app.Response'
  12961. security:
  12962. - ApiKeyAuth: []
  12963. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  12964. tags:
  12965. - 企业风险管理(app)
  12966. /Ermcp/QryReportDayFinanceKx:
  12967. get:
  12968. parameters:
  12969. - description: 用户ID
  12970. in: query
  12971. name: userid
  12972. required: true
  12973. type: integer
  12974. - description: 交易日(格式:yyyyMMdd)
  12975. in: query
  12976. name: tradedate
  12977. required: true
  12978. type: string
  12979. produces:
  12980. - application/json
  12981. responses:
  12982. "200":
  12983. description: OK
  12984. schema:
  12985. items:
  12986. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  12987. type: array
  12988. "500":
  12989. description: Internal Server Error
  12990. schema:
  12991. $ref: '#/definitions/app.Response'
  12992. security:
  12993. - ApiKeyAuth: []
  12994. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  12995. tags:
  12996. - 企业风险管理(app)
  12997. /Ermcp/QryReportDaySpot:
  12998. get:
  12999. parameters:
  13000. - description: 用户ID
  13001. in: query
  13002. name: userid
  13003. required: true
  13004. type: integer
  13005. - description: 交易日(格式:yyyyMMdd)
  13006. in: query
  13007. name: tradedate
  13008. required: true
  13009. type: string
  13010. produces:
  13011. - application/json
  13012. responses:
  13013. "200":
  13014. description: OK
  13015. schema:
  13016. items:
  13017. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  13018. type: array
  13019. "500":
  13020. description: Internal Server Error
  13021. schema:
  13022. $ref: '#/definitions/app.Response'
  13023. security:
  13024. - ApiKeyAuth: []
  13025. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  13026. tags:
  13027. - 企业风险管理(app)
  13028. /Ermcp/QryReportDaySpotDetail:
  13029. get:
  13030. parameters:
  13031. - description: 用户ID
  13032. in: query
  13033. name: userid
  13034. required: true
  13035. type: integer
  13036. - description: 现货商品id
  13037. in: query
  13038. name: wrstandardid
  13039. required: true
  13040. type: integer
  13041. - description: 交易日(格式:yyyyMMdd)
  13042. in: query
  13043. name: tradedate
  13044. required: true
  13045. type: string
  13046. produces:
  13047. - application/json
  13048. responses:
  13049. "200":
  13050. description: OK
  13051. schema:
  13052. items:
  13053. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  13054. type: array
  13055. "500":
  13056. description: Internal Server Error
  13057. schema:
  13058. $ref: '#/definitions/app.Response'
  13059. security:
  13060. - ApiKeyAuth: []
  13061. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  13062. tags:
  13063. - 企业风险管理(app)
  13064. /Ermcp/QryReportMonthFinance:
  13065. get:
  13066. parameters:
  13067. - description: 用户ID
  13068. in: query
  13069. name: userid
  13070. required: true
  13071. type: integer
  13072. - description: 周期时间:月(格式:yyyyMM)
  13073. in: query
  13074. name: cycletime
  13075. required: true
  13076. type: string
  13077. produces:
  13078. - application/json
  13079. responses:
  13080. "200":
  13081. description: OK
  13082. schema:
  13083. items:
  13084. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  13085. type: array
  13086. "500":
  13087. description: Internal Server Error
  13088. schema:
  13089. $ref: '#/definitions/app.Response'
  13090. security:
  13091. - ApiKeyAuth: []
  13092. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  13093. tags:
  13094. - 企业风险管理(app)
  13095. /Ermcp/QryReportMonthSpot:
  13096. get:
  13097. parameters:
  13098. - description: 用户ID
  13099. in: query
  13100. name: userid
  13101. required: true
  13102. type: integer
  13103. - description: 周期时间:月(格式:yyyyMM)
  13104. in: query
  13105. name: cycletime
  13106. required: true
  13107. type: string
  13108. produces:
  13109. - application/json
  13110. responses:
  13111. "200":
  13112. description: OK
  13113. schema:
  13114. items:
  13115. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  13116. type: array
  13117. "500":
  13118. description: Internal Server Error
  13119. schema:
  13120. $ref: '#/definitions/app.Response'
  13121. security:
  13122. - ApiKeyAuth: []
  13123. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  13124. tags:
  13125. - 企业风险管理(app)
  13126. /Ermcp/QryReportMonthSpotDetail:
  13127. get:
  13128. parameters:
  13129. - description: 用户ID
  13130. in: query
  13131. name: userid
  13132. required: true
  13133. type: integer
  13134. - description: 现货商品id
  13135. in: query
  13136. name: wrstandardid
  13137. required: true
  13138. type: integer
  13139. - description: 周期时间:月(格式:yyyyMM)
  13140. in: query
  13141. name: cycletime
  13142. required: true
  13143. type: string
  13144. produces:
  13145. - application/json
  13146. responses:
  13147. "200":
  13148. description: OK
  13149. schema:
  13150. items:
  13151. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  13152. type: array
  13153. "500":
  13154. description: Internal Server Error
  13155. schema:
  13156. $ref: '#/definitions/app.Response'
  13157. security:
  13158. - ApiKeyAuth: []
  13159. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  13160. tags:
  13161. - 企业风险管理(app)
  13162. /Ermcp/QueryAccMgrBizGroupSet:
  13163. get:
  13164. parameters:
  13165. - description: 用户ID
  13166. in: query
  13167. name: userid
  13168. required: true
  13169. type: integer
  13170. produces:
  13171. - application/json
  13172. responses:
  13173. "200":
  13174. description: OK
  13175. schema:
  13176. items:
  13177. $ref: '#/definitions/models.ErmcpBizGroupEx'
  13178. type: array
  13179. "500":
  13180. description: Internal Server Error
  13181. schema:
  13182. $ref: '#/definitions/app.Response'
  13183. security:
  13184. - ApiKeyAuth: []
  13185. summary: 查询业务类型分组(账户管理/账户设置)
  13186. tags:
  13187. - 企业风险管理(app)
  13188. /Ermcp/QueryAccMgrLoginUser:
  13189. get:
  13190. parameters:
  13191. - description: 用户ID
  13192. in: query
  13193. name: userid
  13194. required: true
  13195. type: integer
  13196. produces:
  13197. - application/json
  13198. responses:
  13199. "200":
  13200. description: OK
  13201. schema:
  13202. items:
  13203. $ref: '#/definitions/models.ErmcpLoginUserEx'
  13204. type: array
  13205. "500":
  13206. description: Internal Server Error
  13207. schema:
  13208. $ref: '#/definitions/app.Response'
  13209. security:
  13210. - ApiKeyAuth: []
  13211. summary: 查询账户管理登录账号(账户管理/登录账号)
  13212. tags:
  13213. - 企业风险管理(app)
  13214. /Ermcp/QueryAccMgrMainAccountInfo:
  13215. get:
  13216. parameters:
  13217. - description: 用户ID
  13218. in: query
  13219. name: userid
  13220. type: integer
  13221. - description: 主账号id
  13222. in: query
  13223. name: accountid
  13224. type: integer
  13225. produces:
  13226. - application/json
  13227. responses:
  13228. "200":
  13229. description: OK
  13230. schema:
  13231. items:
  13232. $ref: '#/definitions/models.MainAccountInfo'
  13233. type: array
  13234. "500":
  13235. description: Internal Server Error
  13236. schema:
  13237. $ref: '#/definitions/app.Response'
  13238. security:
  13239. - ApiKeyAuth: []
  13240. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  13241. tags:
  13242. - 企业风险管理(app)
  13243. /Ermcp/QueryAccMgrRole:
  13244. get:
  13245. parameters:
  13246. - description: 用户ID
  13247. in: query
  13248. name: userid
  13249. required: true
  13250. type: integer
  13251. produces:
  13252. - application/json
  13253. responses:
  13254. "200":
  13255. description: OK
  13256. schema:
  13257. items:
  13258. $ref: '#/definitions/models.ErmcpRole'
  13259. type: array
  13260. "500":
  13261. description: Internal Server Error
  13262. schema:
  13263. $ref: '#/definitions/app.Response'
  13264. security:
  13265. - ApiKeyAuth: []
  13266. summary: 查询账户管理角色设置(账户管理/角色设置)
  13267. tags:
  13268. - 企业风险管理(app)
  13269. /Ermcp/QueryAccMgrRoleMenu:
  13270. get:
  13271. parameters:
  13272. - description: 用户ID
  13273. in: query
  13274. name: userid
  13275. required: true
  13276. type: integer
  13277. - description: 角色id(可多个,逗号隔开)
  13278. in: query
  13279. name: roleid
  13280. type: string
  13281. produces:
  13282. - application/json
  13283. responses:
  13284. "200":
  13285. description: OK
  13286. schema:
  13287. items:
  13288. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  13289. type: array
  13290. "500":
  13291. description: Internal Server Error
  13292. schema:
  13293. $ref: '#/definitions/app.Response'
  13294. security:
  13295. - ApiKeyAuth: []
  13296. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  13297. tags:
  13298. - 企业风险管理(app)
  13299. /Ermcp/QueryAccMgrTaAccountInfo:
  13300. get:
  13301. parameters:
  13302. - description: 用户ID
  13303. in: query
  13304. name: userid
  13305. required: true
  13306. type: integer
  13307. - description: 账号id
  13308. in: query
  13309. name: accountid
  13310. type: integer
  13311. produces:
  13312. - application/json
  13313. responses:
  13314. "200":
  13315. description: OK
  13316. schema:
  13317. items:
  13318. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  13319. type: array
  13320. "500":
  13321. description: Internal Server Error
  13322. schema:
  13323. $ref: '#/definitions/app.Response'
  13324. security:
  13325. - ApiKeyAuth: []
  13326. summary: 查询账户管理授信(账户管理/账户设置/授信)
  13327. tags:
  13328. - 企业风险管理(app)
  13329. /Ermcp/QueryAccMgrTaaccount:
  13330. get:
  13331. parameters:
  13332. - description: 用户ID
  13333. in: query
  13334. name: userid
  13335. required: true
  13336. type: integer
  13337. produces:
  13338. - application/json
  13339. responses:
  13340. "200":
  13341. description: OK
  13342. schema:
  13343. items:
  13344. $ref: '#/definitions/models.ErmcpTaAccountEx'
  13345. type: array
  13346. "500":
  13347. description: Internal Server Error
  13348. schema:
  13349. $ref: '#/definitions/app.Response'
  13350. security:
  13351. - ApiKeyAuth: []
  13352. summary: 查询账户管理期货账号(账户管理/期货账号)
  13353. tags:
  13354. - 企业风险管理(app)
  13355. /Ermcp/QueryAreaStock:
  13356. get:
  13357. parameters:
  13358. - description: 用户ID
  13359. in: query
  13360. name: userid
  13361. required: true
  13362. type: integer
  13363. produces:
  13364. - application/json
  13365. responses:
  13366. "200":
  13367. description: OK
  13368. schema:
  13369. items:
  13370. $ref: '#/definitions/models.ErmcpAreaStock'
  13371. type: array
  13372. "500":
  13373. description: Internal Server Error
  13374. schema:
  13375. $ref: '#/definitions/app.Response'
  13376. security:
  13377. - ApiKeyAuth: []
  13378. summary: 查询机构库存(库存管理/当前库存)
  13379. tags:
  13380. - 企业风险管理(app)
  13381. /Ermcp/QueryAreaStockApply:
  13382. get:
  13383. parameters:
  13384. - description: 用户ID
  13385. in: query
  13386. name: userid
  13387. required: true
  13388. type: integer
  13389. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  13390. in: query
  13391. name: inouttype
  13392. type: string
  13393. - description: 合同ID
  13394. in: query
  13395. name: spotcontractid
  13396. type: integer
  13397. - description: 现货商品ID
  13398. in: query
  13399. name: wrstandardid
  13400. type: integer
  13401. - description: 品牌ID
  13402. in: query
  13403. name: spotgoodsbrandid
  13404. type: integer
  13405. - description: 型号ID
  13406. in: query
  13407. name: spotgoodsmodelid
  13408. type: integer
  13409. - description: 仓库ID
  13410. in: query
  13411. name: warehouseinfoid
  13412. type: integer
  13413. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13414. in: query
  13415. name: applystatus
  13416. type: string
  13417. produces:
  13418. - application/json
  13419. responses:
  13420. "200":
  13421. description: OK
  13422. schema:
  13423. items:
  13424. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  13425. type: array
  13426. "500":
  13427. description: Internal Server Error
  13428. schema:
  13429. $ref: '#/definitions/app.Response'
  13430. security:
  13431. - ApiKeyAuth: []
  13432. summary: 查询库存申请(出入库记录|库存审核)
  13433. tags:
  13434. - 企业风险管理(app)
  13435. /Ermcp/QueryAreaStockApplySum:
  13436. get:
  13437. parameters:
  13438. - description: 合同ID
  13439. in: query
  13440. name: spotcontractid
  13441. type: integer
  13442. produces:
  13443. - application/json
  13444. responses:
  13445. "200":
  13446. description: OK
  13447. schema:
  13448. items:
  13449. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  13450. type: array
  13451. "500":
  13452. description: Internal Server Error
  13453. schema:
  13454. $ref: '#/definitions/app.Response'
  13455. security:
  13456. - ApiKeyAuth: []
  13457. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13458. tags:
  13459. - 企业风险管理(app)
  13460. /Ermcp/QueryAreaStockReport:
  13461. get:
  13462. parameters:
  13463. - description: 用户ID
  13464. in: query
  13465. name: userid
  13466. required: true
  13467. type: integer
  13468. - description: 查询类型 1-日报表 2-月报表
  13469. in: query
  13470. name: querytype
  13471. required: true
  13472. type: integer
  13473. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13474. in: query
  13475. name: querydate
  13476. required: true
  13477. type: string
  13478. - description: 现货商品ID
  13479. in: query
  13480. name: wrstandardid
  13481. type: integer
  13482. - description: 品牌ID
  13483. in: query
  13484. name: spotgoodsbrandid
  13485. type: integer
  13486. - description: 型号ID
  13487. in: query
  13488. name: spotgoodsmodelid
  13489. type: integer
  13490. - description: 仓库ID
  13491. in: query
  13492. name: warehouseinfoid
  13493. type: integer
  13494. produces:
  13495. - application/json
  13496. responses:
  13497. "200":
  13498. description: OK
  13499. schema:
  13500. items:
  13501. $ref: '#/definitions/models.ErmcpAreaStockReport'
  13502. type: array
  13503. "500":
  13504. description: Internal Server Error
  13505. schema:
  13506. $ref: '#/definitions/app.Response'
  13507. security:
  13508. - ApiKeyAuth: []
  13509. summary: 查询库存报表
  13510. tags:
  13511. - 企业风险管理(app)
  13512. /Ermcp/QueryAreaStockReportDetail:
  13513. get:
  13514. parameters:
  13515. - description: 用户ID
  13516. in: query
  13517. name: userid
  13518. required: true
  13519. type: integer
  13520. - description: 查询类型 1-日报表明细 2-月报表明细
  13521. in: query
  13522. name: querytype
  13523. required: true
  13524. type: integer
  13525. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  13526. in: query
  13527. name: detailtype
  13528. required: true
  13529. type: integer
  13530. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  13531. in: query
  13532. name: querydate
  13533. required: true
  13534. type: string
  13535. - description: 现货商品ID
  13536. in: query
  13537. name: wrstandardid
  13538. type: integer
  13539. - description: 品牌ID
  13540. in: query
  13541. name: spotgoodsbrandid
  13542. type: integer
  13543. - description: 型号ID
  13544. in: query
  13545. name: spotgoodsmodelid
  13546. type: integer
  13547. - description: 仓库ID
  13548. in: query
  13549. name: warehouseinfoid
  13550. type: integer
  13551. produces:
  13552. - application/json
  13553. responses:
  13554. "200":
  13555. description: OK
  13556. schema:
  13557. items:
  13558. $ref: '#/definitions/models.ErmcpAreaStockApply'
  13559. type: array
  13560. "500":
  13561. description: Internal Server Error
  13562. schema:
  13563. $ref: '#/definitions/app.Response'
  13564. security:
  13565. - ApiKeyAuth: []
  13566. summary: 查询库存报表明细
  13567. tags:
  13568. - 企业风险管理(app)
  13569. /Ermcp/QueryAvaildGoodsGroup:
  13570. get:
  13571. parameters:
  13572. - description: 所属机构ID
  13573. in: query
  13574. name: userid
  13575. required: true
  13576. type: integer
  13577. produces:
  13578. - application/json
  13579. responses:
  13580. "200":
  13581. description: OK
  13582. schema:
  13583. items:
  13584. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  13585. type: array
  13586. "500":
  13587. description: Internal Server Error
  13588. schema:
  13589. $ref: '#/definitions/app.Response'
  13590. security:
  13591. - ApiKeyAuth: []
  13592. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  13593. tags:
  13594. - 企业风险管理(app)
  13595. /Ermcp/QueryBusinessDj:
  13596. get:
  13597. parameters:
  13598. - description: 用户ID
  13599. in: query
  13600. name: UserId
  13601. required: true
  13602. type: integer
  13603. - description: 现货合同ID, 不填则查所有
  13604. in: query
  13605. name: relatedid
  13606. type: string
  13607. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13608. in: query
  13609. name: applystatus
  13610. type: string
  13611. produces:
  13612. - application/json
  13613. responses:
  13614. "200":
  13615. description: OK
  13616. schema:
  13617. items:
  13618. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  13619. type: array
  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/QueryBusinessFp:
  13630. get:
  13631. parameters:
  13632. - description: 用户ID
  13633. in: query
  13634. name: UserId
  13635. required: true
  13636. type: integer
  13637. - description: 现货合同ID, 不填则查所有
  13638. in: query
  13639. name: relatedid
  13640. type: string
  13641. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13642. in: query
  13643. name: applystatus
  13644. type: string
  13645. produces:
  13646. - application/json
  13647. responses:
  13648. "200":
  13649. description: OK
  13650. schema:
  13651. items:
  13652. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  13653. type: array
  13654. "500":
  13655. description: Internal Server Error
  13656. schema:
  13657. $ref: '#/definitions/app.Response'
  13658. security:
  13659. - ApiKeyAuth: []
  13660. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  13661. tags:
  13662. - 企业风险管理(app)
  13663. /Ermcp/QueryBusinessJs:
  13664. get:
  13665. parameters:
  13666. - description: 用户ID
  13667. in: query
  13668. name: UserId
  13669. required: true
  13670. type: integer
  13671. - description: 现货合同ID, 不填则查所有
  13672. in: query
  13673. name: relatedid
  13674. type: string
  13675. - description: 操作申请id
  13676. in: query
  13677. name: operateapplyid
  13678. type: string
  13679. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13680. in: query
  13681. name: applystatus
  13682. type: string
  13683. produces:
  13684. - application/json
  13685. responses:
  13686. "200":
  13687. description: OK
  13688. schema:
  13689. items:
  13690. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  13691. type: array
  13692. "500":
  13693. description: Internal Server Error
  13694. schema:
  13695. $ref: '#/definitions/app.Response'
  13696. security:
  13697. - ApiKeyAuth: []
  13698. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  13699. tags:
  13700. - 企业风险管理(app)
  13701. /Ermcp/QueryBusinessJsEx:
  13702. get:
  13703. parameters:
  13704. - description: 用户ID
  13705. in: query
  13706. name: UserId
  13707. required: true
  13708. type: integer
  13709. - description: 现货合同ID, 不填则查所有
  13710. in: query
  13711. name: relatedid
  13712. type: string
  13713. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13714. in: query
  13715. name: applystatus
  13716. type: string
  13717. produces:
  13718. - application/json
  13719. responses:
  13720. "200":
  13721. description: OK
  13722. schema:
  13723. items:
  13724. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  13725. type: array
  13726. "500":
  13727. description: Internal Server Error
  13728. schema:
  13729. $ref: '#/definitions/app.Response'
  13730. security:
  13731. - ApiKeyAuth: []
  13732. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  13733. tags:
  13734. - 企业风险管理(app)
  13735. /Ermcp/QueryBusinessKx:
  13736. get:
  13737. parameters:
  13738. - description: 用户ID
  13739. in: query
  13740. name: UserId
  13741. required: true
  13742. type: integer
  13743. - description: 现货合同ID, 不填则查所有
  13744. in: query
  13745. name: relatedid
  13746. type: string
  13747. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13748. in: query
  13749. name: applystatus
  13750. type: string
  13751. produces:
  13752. - application/json
  13753. responses:
  13754. "200":
  13755. description: OK
  13756. schema:
  13757. items:
  13758. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  13759. type: array
  13760. "500":
  13761. description: Internal Server Error
  13762. schema:
  13763. $ref: '#/definitions/app.Response'
  13764. security:
  13765. - ApiKeyAuth: []
  13766. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  13767. tags:
  13768. - 企业风险管理(app)
  13769. /Ermcp/QueryChangeLog:
  13770. get:
  13771. parameters:
  13772. - description: 合同ID
  13773. in: query
  13774. name: RelatedId
  13775. required: true
  13776. type: string
  13777. produces:
  13778. - application/json
  13779. responses:
  13780. "200":
  13781. description: OK
  13782. schema:
  13783. items:
  13784. $ref: '#/definitions/ermcp.QryOPLogRsp'
  13785. type: array
  13786. "500":
  13787. description: Internal Server Error
  13788. schema:
  13789. $ref: '#/definitions/app.Response'
  13790. security:
  13791. - ApiKeyAuth: []
  13792. summary: 查询变更记录
  13793. tags:
  13794. - 企业风险管理(app)
  13795. /Ermcp/QueryContract:
  13796. get:
  13797. parameters:
  13798. - description: 用户ID
  13799. in: query
  13800. name: userId
  13801. required: true
  13802. type: integer
  13803. - description: 合同类型 1-采购, -1-销售
  13804. in: query
  13805. name: contracttype
  13806. required: true
  13807. type: integer
  13808. - description: 查询类型 1-全部 2-待点价 3-履约结算
  13809. in: query
  13810. name: querytype
  13811. required: true
  13812. type: integer
  13813. - description: 合同ID(SpotContractId)
  13814. in: query
  13815. name: contractid
  13816. type: string
  13817. produces:
  13818. - application/json
  13819. responses:
  13820. "200":
  13821. description: OK
  13822. schema:
  13823. items:
  13824. $ref: '#/definitions/ermcp.QryErmcpRsp'
  13825. type: array
  13826. "500":
  13827. description: Internal Server Error
  13828. schema:
  13829. $ref: '#/definitions/app.Response'
  13830. security:
  13831. - ApiKeyAuth: []
  13832. summary: 查询合同(采购和销售)
  13833. tags:
  13834. - 企业风险管理(app)
  13835. /Ermcp/QueryErmcpHisOrderDetails:
  13836. get:
  13837. parameters:
  13838. - description: 资金账户ID
  13839. in: query
  13840. name: accountID
  13841. required: true
  13842. type: integer
  13843. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13844. in: query
  13845. name: startDate
  13846. type: string
  13847. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13848. in: query
  13849. name: endDate
  13850. type: string
  13851. produces:
  13852. - application/json
  13853. responses:
  13854. "200":
  13855. description: OK
  13856. schema:
  13857. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13858. "500":
  13859. description: Internal Server Error
  13860. schema:
  13861. $ref: '#/definitions/app.Response'
  13862. security:
  13863. - ApiKeyAuth: []
  13864. summary: 获取企业风管期货历史委托单信息
  13865. tags:
  13866. - 企业风险管理(app)
  13867. /Ermcp/QueryErmcpHisTradeDetails:
  13868. get:
  13869. parameters:
  13870. - description: 资金账户ID
  13871. in: query
  13872. name: accountID
  13873. required: true
  13874. type: integer
  13875. - description: 商品ID
  13876. in: query
  13877. name: goodsID
  13878. type: integer
  13879. - description: 买卖方向,0:买 1:卖
  13880. in: query
  13881. name: buyOrSell
  13882. type: integer
  13883. - description: 关联委托单号
  13884. in: query
  13885. name: orderID
  13886. type: integer
  13887. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  13888. in: query
  13889. name: startDate
  13890. type: string
  13891. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  13892. in: query
  13893. name: endDate
  13894. type: string
  13895. produces:
  13896. - application/json
  13897. responses:
  13898. "200":
  13899. description: OK
  13900. schema:
  13901. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13902. "500":
  13903. description: Internal Server Error
  13904. schema:
  13905. $ref: '#/definitions/app.Response'
  13906. security:
  13907. - ApiKeyAuth: []
  13908. summary: 获取企业风管期货历史成交单信息
  13909. tags:
  13910. - 企业风险管理(app)
  13911. /Ermcp/QueryErmcpInnerHolderDetails:
  13912. get:
  13913. parameters:
  13914. - description: 资金账户ID
  13915. in: query
  13916. name: accountID
  13917. required: true
  13918. type: integer
  13919. - description: 商品ID
  13920. in: query
  13921. name: goodsID
  13922. type: integer
  13923. - description: 买卖方向,0:买 1:卖
  13924. in: query
  13925. name: buyOrSell
  13926. type: integer
  13927. produces:
  13928. - application/json
  13929. responses:
  13930. "200":
  13931. description: OK
  13932. schema:
  13933. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  13934. "500":
  13935. description: Internal Server Error
  13936. schema:
  13937. $ref: '#/definitions/app.Response'
  13938. security:
  13939. - ApiKeyAuth: []
  13940. summary: 获取企业风管期货内部持仓单信息
  13941. tags:
  13942. - 企业风险管理(app)
  13943. /Ermcp/QueryErmcpOrderDetails:
  13944. get:
  13945. parameters:
  13946. - description: 资金账户ID
  13947. in: query
  13948. name: accountID
  13949. required: true
  13950. type: integer
  13951. produces:
  13952. - application/json
  13953. responses:
  13954. "200":
  13955. description: OK
  13956. schema:
  13957. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  13958. "500":
  13959. description: Internal Server Error
  13960. schema:
  13961. $ref: '#/definitions/app.Response'
  13962. security:
  13963. - ApiKeyAuth: []
  13964. summary: 获取企业风管期货委托单信息
  13965. tags:
  13966. - 企业风险管理(app)
  13967. /Ermcp/QueryErmcpTradeDetails:
  13968. get:
  13969. parameters:
  13970. - description: 资金账户ID
  13971. in: query
  13972. name: accountID
  13973. required: true
  13974. type: integer
  13975. - description: 商品ID
  13976. in: query
  13977. name: goodsID
  13978. type: integer
  13979. - description: 买卖方向,0:买 1:卖
  13980. in: query
  13981. name: buyOrSell
  13982. type: integer
  13983. - description: 关联委托单号
  13984. in: query
  13985. name: orderID
  13986. type: integer
  13987. produces:
  13988. - application/json
  13989. responses:
  13990. "200":
  13991. description: OK
  13992. schema:
  13993. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  13994. "500":
  13995. description: Internal Server Error
  13996. schema:
  13997. $ref: '#/definitions/app.Response'
  13998. security:
  13999. - ApiKeyAuth: []
  14000. summary: 获取企业风管期货成交单信息
  14001. tags:
  14002. - 企业风险管理(app)
  14003. /Ermcp/QueryErmcpTradePosition:
  14004. get:
  14005. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  14006. parameters:
  14007. - description: 资金账户ID
  14008. in: query
  14009. name: accountID
  14010. required: true
  14011. type: integer
  14012. - description: 所属市场ID
  14013. in: query
  14014. name: marketID
  14015. type: integer
  14016. produces:
  14017. - application/json
  14018. responses:
  14019. "200":
  14020. description: OK
  14021. schema:
  14022. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  14023. "500":
  14024. description: Internal Server Error
  14025. schema:
  14026. $ref: '#/definitions/app.Response'
  14027. security:
  14028. - ApiKeyAuth: []
  14029. summary: 获取企业风管期货持仓头寸信息
  14030. tags:
  14031. - 企业风险管理(app)
  14032. /Ermcp/QueryExposureDetail:
  14033. get:
  14034. parameters:
  14035. - description: 所属机构ID
  14036. in: query
  14037. name: areaUserId
  14038. required: true
  14039. type: integer
  14040. - description: 套保商品
  14041. in: query
  14042. name: middleGoodsId
  14043. required: true
  14044. type: integer
  14045. produces:
  14046. - application/json
  14047. responses:
  14048. "200":
  14049. description: OK
  14050. schema:
  14051. items:
  14052. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  14053. type: array
  14054. "500":
  14055. description: Internal Server Error
  14056. schema:
  14057. $ref: '#/definitions/app.Response'
  14058. security:
  14059. - ApiKeyAuth: []
  14060. summary: 查询敞口现货明细
  14061. tags:
  14062. - 企业风险管理(app)
  14063. /Ermcp/QueryExposureHedgePosition:
  14064. get:
  14065. parameters:
  14066. - description: 所属机构ID
  14067. in: query
  14068. name: areaUserId
  14069. required: true
  14070. type: integer
  14071. produces:
  14072. - application/json
  14073. responses:
  14074. "200":
  14075. description: OK
  14076. schema:
  14077. items:
  14078. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  14079. type: array
  14080. "500":
  14081. description: Internal Server Error
  14082. schema:
  14083. $ref: '#/definitions/app.Response'
  14084. security:
  14085. - ApiKeyAuth: []
  14086. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  14087. tags:
  14088. - 企业风险管理(app)
  14089. /Ermcp/QueryExposureHedgePositionDetail:
  14090. get:
  14091. parameters:
  14092. - description: 所属机构ID
  14093. in: query
  14094. name: areaUserId
  14095. required: true
  14096. type: integer
  14097. - description: 商品id
  14098. in: query
  14099. name: goodsId
  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.ExposureHedgePosDetailRsp'
  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/QueryExposureSpot:
  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.ExposureSpotRsp'
  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/QueryExposureSpotDetail:
  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: wrstandardId
  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.ExposureSpotDetailRsp'
  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/QueryFuturesCompany:
  14178. get:
  14179. produces:
  14180. - application/json
  14181. responses:
  14182. "200":
  14183. description: OK
  14184. schema:
  14185. items:
  14186. $ref: '#/definitions/models.ErmcpFuturesCompany'
  14187. type: array
  14188. "500":
  14189. description: Internal Server Error
  14190. schema:
  14191. $ref: '#/definitions/app.Response'
  14192. security:
  14193. - ApiKeyAuth: []
  14194. summary: 查询期货公司
  14195. tags:
  14196. - 企业风险管理(app)
  14197. /Ermcp/QueryGGConvertConfig:
  14198. get:
  14199. parameters:
  14200. - description: 品种id(不填则查所有)
  14201. in: query
  14202. name: goodsgroupid
  14203. type: integer
  14204. produces:
  14205. - application/json
  14206. responses:
  14207. "200":
  14208. description: OK
  14209. schema:
  14210. items:
  14211. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  14212. type: array
  14213. "500":
  14214. description: Internal Server Error
  14215. schema:
  14216. $ref: '#/definitions/app.Response'
  14217. security:
  14218. - ApiKeyAuth: []
  14219. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  14220. tags:
  14221. - 企业风险管理(app)
  14222. /Ermcp/QueryGoodsBrand:
  14223. get:
  14224. parameters:
  14225. - description: 用户ID
  14226. in: query
  14227. name: userid
  14228. required: true
  14229. type: integer
  14230. - description: 现货商品ID
  14231. in: query
  14232. name: wrstandardid
  14233. type: integer
  14234. produces:
  14235. - application/json
  14236. responses:
  14237. "200":
  14238. description: OK
  14239. schema:
  14240. items:
  14241. $ref: '#/definitions/models.ErmcpGoodsBrand'
  14242. type: array
  14243. "500":
  14244. description: Internal Server Error
  14245. schema:
  14246. $ref: '#/definitions/app.Response'
  14247. security:
  14248. - ApiKeyAuth: []
  14249. summary: 查询商品品牌
  14250. tags:
  14251. - 企业风险管理(app)
  14252. /Ermcp/QueryGoodsModel:
  14253. get:
  14254. parameters:
  14255. - description: 用户ID
  14256. in: query
  14257. name: userid
  14258. required: true
  14259. type: integer
  14260. produces:
  14261. - application/json
  14262. responses:
  14263. "200":
  14264. description: OK
  14265. schema:
  14266. items:
  14267. $ref: '#/definitions/models.ErmcpGoodsModel'
  14268. type: array
  14269. "500":
  14270. description: Internal Server Error
  14271. schema:
  14272. $ref: '#/definitions/app.Response'
  14273. security:
  14274. - ApiKeyAuth: []
  14275. summary: 查询商品型号
  14276. tags:
  14277. - 企业风险管理(app)
  14278. /Ermcp/QueryHedgePlan:
  14279. get:
  14280. parameters:
  14281. - description: 用户ID
  14282. in: query
  14283. name: userId
  14284. required: true
  14285. type: integer
  14286. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14287. in: query
  14288. name: HedgePlanStatus
  14289. required: true
  14290. type: string
  14291. produces:
  14292. - application/json
  14293. responses:
  14294. "200":
  14295. description: OK
  14296. schema:
  14297. items:
  14298. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  14299. type: array
  14300. "500":
  14301. description: Internal Server Error
  14302. schema:
  14303. $ref: '#/definitions/app.Response'
  14304. security:
  14305. - ApiKeyAuth: []
  14306. summary: 查询套保计划
  14307. tags:
  14308. - 企业风险管理(app)
  14309. /Ermcp/QueryHisExposure:
  14310. get:
  14311. parameters:
  14312. - description: 所属机构ID
  14313. in: query
  14314. name: areaUserId
  14315. required: true
  14316. type: integer
  14317. - description: 每个品种记录数
  14318. in: query
  14319. name: lastNum
  14320. required: true
  14321. type: integer
  14322. produces:
  14323. - application/json
  14324. responses:
  14325. "200":
  14326. description: OK
  14327. schema:
  14328. items:
  14329. $ref: '#/definitions/ermcp.HisExposureRsp'
  14330. type: array
  14331. "500":
  14332. description: Internal Server Error
  14333. schema:
  14334. $ref: '#/definitions/app.Response'
  14335. security:
  14336. - ApiKeyAuth: []
  14337. summary: 查询历史敞口(菜单:敞口/历史敞口)
  14338. tags:
  14339. - 企业风险管理(app)
  14340. /Ermcp/QueryMiddleGoods:
  14341. get:
  14342. parameters:
  14343. - description: 所属机构ID
  14344. in: query
  14345. name: userid
  14346. required: true
  14347. type: integer
  14348. - description: 状态 0-停用 1-正常
  14349. in: query
  14350. name: status
  14351. required: true
  14352. type: integer
  14353. produces:
  14354. - application/json
  14355. responses:
  14356. "200":
  14357. description: OK
  14358. schema:
  14359. items:
  14360. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  14361. type: array
  14362. "500":
  14363. description: Internal Server Error
  14364. schema:
  14365. $ref: '#/definitions/app.Response'
  14366. security:
  14367. - ApiKeyAuth: []
  14368. summary: 查询套保品种(菜单:套保品种)
  14369. tags:
  14370. - 企业风险管理(app)
  14371. /Ermcp/QueryMiddleGoodsChangeLog:
  14372. get:
  14373. parameters:
  14374. - description: 所属机构ID
  14375. in: query
  14376. name: userid
  14377. required: true
  14378. type: integer
  14379. - description: 套保品种id
  14380. in: query
  14381. name: middlegoodsid
  14382. required: true
  14383. type: integer
  14384. produces:
  14385. - application/json
  14386. responses:
  14387. "200":
  14388. description: OK
  14389. schema:
  14390. items:
  14391. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  14392. type: array
  14393. "500":
  14394. description: Internal Server Error
  14395. schema:
  14396. $ref: '#/definitions/app.Response'
  14397. security:
  14398. - ApiKeyAuth: []
  14399. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  14400. tags:
  14401. - 企业风险管理(app)
  14402. /Ermcp/QueryMiddleGoodsDetail:
  14403. get:
  14404. parameters:
  14405. - description: 所属机构ID
  14406. in: query
  14407. name: userid
  14408. required: true
  14409. type: integer
  14410. - description: 套保品种id
  14411. in: query
  14412. name: middlegoodsid
  14413. type: integer
  14414. produces:
  14415. - application/json
  14416. responses:
  14417. "200":
  14418. description: OK
  14419. schema:
  14420. items:
  14421. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  14422. type: array
  14423. "500":
  14424. description: Internal Server Error
  14425. schema:
  14426. $ref: '#/definitions/app.Response'
  14427. security:
  14428. - ApiKeyAuth: []
  14429. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  14430. tags:
  14431. - 企业风险管理(app)
  14432. /Ermcp/QueryPendingAuditInfo:
  14433. get:
  14434. parameters:
  14435. - description: 用户ID
  14436. in: query
  14437. name: UserId
  14438. required: true
  14439. type: integer
  14440. produces:
  14441. - application/json
  14442. responses:
  14443. "200":
  14444. description: OK
  14445. schema:
  14446. items:
  14447. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  14448. type: array
  14449. "500":
  14450. description: Internal Server Error
  14451. schema:
  14452. $ref: '#/definitions/app.Response'
  14453. security:
  14454. - ApiKeyAuth: []
  14455. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  14456. tags:
  14457. - 企业风险管理(app)
  14458. /Ermcp/QueryRealtimeExposure:
  14459. get:
  14460. parameters:
  14461. - description: 所属机构ID
  14462. in: query
  14463. name: AreaUserID
  14464. required: true
  14465. type: integer
  14466. produces:
  14467. - application/json
  14468. responses:
  14469. "200":
  14470. description: OK
  14471. schema:
  14472. items:
  14473. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  14474. type: array
  14475. "500":
  14476. description: Internal Server Error
  14477. schema:
  14478. $ref: '#/definitions/app.Response'
  14479. security:
  14480. - ApiKeyAuth: []
  14481. summary: 查询实时敞口
  14482. tags:
  14483. - 企业风险管理(app)
  14484. /Ermcp/QueryRealtimeExposurePosition:
  14485. get:
  14486. parameters:
  14487. - description: 所属机构ID
  14488. in: query
  14489. name: areaUserId
  14490. required: true
  14491. type: integer
  14492. - description: 套保商品ID
  14493. in: query
  14494. name: middleGoodsId
  14495. required: true
  14496. type: integer
  14497. produces:
  14498. - application/json
  14499. responses:
  14500. "200":
  14501. description: OK
  14502. schema:
  14503. items:
  14504. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  14505. type: array
  14506. "500":
  14507. description: Internal Server Error
  14508. schema:
  14509. $ref: '#/definitions/app.Response'
  14510. security:
  14511. - ApiKeyAuth: []
  14512. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  14513. tags:
  14514. - 企业风险管理(app)
  14515. /Ermcp/QuerySpotContract:
  14516. get:
  14517. parameters:
  14518. - description: 用户ID
  14519. in: query
  14520. name: userId
  14521. required: true
  14522. type: integer
  14523. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14524. in: query
  14525. name: QueryType
  14526. required: true
  14527. type: integer
  14528. produces:
  14529. - application/json
  14530. responses:
  14531. "200":
  14532. description: OK
  14533. schema:
  14534. items:
  14535. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  14536. type: array
  14537. "500":
  14538. description: Internal Server Error
  14539. schema:
  14540. $ref: '#/definitions/app.Response'
  14541. security:
  14542. - ApiKeyAuth: []
  14543. summary: 查询现货合同(对应现货合同菜单)
  14544. tags:
  14545. - 企业风险管理(app)
  14546. /Ermcp/QuerySpotGoodsPrice:
  14547. get:
  14548. parameters:
  14549. - description: 用户ID
  14550. in: query
  14551. name: userid
  14552. required: true
  14553. type: integer
  14554. produces:
  14555. - application/json
  14556. responses:
  14557. "200":
  14558. description: OK
  14559. schema:
  14560. items:
  14561. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  14562. type: array
  14563. "500":
  14564. description: Internal Server Error
  14565. schema:
  14566. $ref: '#/definitions/app.Response'
  14567. security:
  14568. - ApiKeyAuth: []
  14569. summary: 查询现货市价(现货市价)
  14570. tags:
  14571. - 企业风险管理(app)
  14572. /Ermcp/QuerySpotGoodsPriceLog:
  14573. get:
  14574. parameters:
  14575. - description: 用户ID
  14576. in: query
  14577. name: userid
  14578. required: true
  14579. type: integer
  14580. - description: 现货商品ID
  14581. in: query
  14582. name: wrstandardid
  14583. required: true
  14584. type: integer
  14585. produces:
  14586. - application/json
  14587. responses:
  14588. "200":
  14589. description: OK
  14590. schema:
  14591. items:
  14592. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  14593. type: array
  14594. "500":
  14595. description: Internal Server Error
  14596. schema:
  14597. $ref: '#/definitions/app.Response'
  14598. security:
  14599. - ApiKeyAuth: []
  14600. summary: 查询现货市价详情(现货市价/详情)
  14601. tags:
  14602. - 企业风险管理(app)
  14603. /Ermcp/QueryTradeConfigTMP:
  14604. get:
  14605. parameters:
  14606. - description: 所属机构id
  14607. in: query
  14608. name: areauserid
  14609. type: integer
  14610. produces:
  14611. - application/json
  14612. responses:
  14613. "200":
  14614. description: OK
  14615. schema:
  14616. items:
  14617. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  14618. type: array
  14619. "500":
  14620. description: Internal Server Error
  14621. schema:
  14622. $ref: '#/definitions/app.Response'
  14623. security:
  14624. - ApiKeyAuth: []
  14625. summary: 查询交易模板配置
  14626. tags:
  14627. - 企业风险管理(app)
  14628. /Ermcp/QueryUserInfo:
  14629. get:
  14630. parameters:
  14631. - description: 所属机构用户ID
  14632. in: query
  14633. name: MemberUserID
  14634. required: true
  14635. type: integer
  14636. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  14637. in: query
  14638. name: queryType
  14639. required: true
  14640. type: integer
  14641. produces:
  14642. - application/json
  14643. responses:
  14644. "200":
  14645. description: OK
  14646. schema:
  14647. items:
  14648. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  14649. type: array
  14650. "500":
  14651. description: Internal Server Error
  14652. schema:
  14653. $ref: '#/definitions/app.Response'
  14654. security:
  14655. - ApiKeyAuth: []
  14656. summary: 查询客户资料
  14657. tags:
  14658. - 企业风险管理(app)
  14659. /Ermcp/QueryWarehouseInfo:
  14660. get:
  14661. parameters:
  14662. - description: 用户ID
  14663. in: query
  14664. name: userid
  14665. required: true
  14666. type: integer
  14667. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  14668. in: query
  14669. name: status
  14670. type: string
  14671. produces:
  14672. - application/json
  14673. responses:
  14674. "200":
  14675. description: OK
  14676. schema:
  14677. items:
  14678. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  14679. type: array
  14680. "500":
  14681. description: Internal Server Error
  14682. schema:
  14683. $ref: '#/definitions/app.Response'
  14684. security:
  14685. - ApiKeyAuth: []
  14686. summary: 查询仓库信息
  14687. tags:
  14688. - 企业风险管理(app)
  14689. /Ermcp/QueryWrStandard:
  14690. get:
  14691. parameters:
  14692. - description: 所属机构ID
  14693. in: query
  14694. name: userid
  14695. required: true
  14696. type: integer
  14697. - description: 状态 0-停用 1-正常
  14698. in: query
  14699. name: status
  14700. required: true
  14701. type: integer
  14702. produces:
  14703. - application/json
  14704. responses:
  14705. "200":
  14706. description: OK
  14707. schema:
  14708. items:
  14709. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  14710. type: array
  14711. "500":
  14712. description: Internal Server Error
  14713. schema:
  14714. $ref: '#/definitions/app.Response'
  14715. security:
  14716. - ApiKeyAuth: []
  14717. summary: 查询现货商品
  14718. tags:
  14719. - 企业风险管理(app)
  14720. /Ermcp/QueryWrStandardDetail:
  14721. get:
  14722. parameters:
  14723. - description: 所属机构ID
  14724. in: query
  14725. name: userid
  14726. required: true
  14727. type: integer
  14728. - description: 现货商品ID
  14729. in: query
  14730. name: wrstandardid
  14731. type: integer
  14732. - description: 可不填, 1-查询关联交易商品
  14733. in: query
  14734. name: goods
  14735. type: integer
  14736. produces:
  14737. - application/json
  14738. responses:
  14739. "200":
  14740. description: OK
  14741. schema:
  14742. items:
  14743. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  14744. type: array
  14745. "500":
  14746. description: Internal Server Error
  14747. schema:
  14748. $ref: '#/definitions/app.Response'
  14749. security:
  14750. - ApiKeyAuth: []
  14751. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  14752. tags:
  14753. - 企业风险管理(app)
  14754. /Ermcp3/QryReportAreaSpotPL:
  14755. get:
  14756. parameters:
  14757. - description: 用户ID
  14758. in: query
  14759. name: userid
  14760. required: true
  14761. type: integer
  14762. - description: 查询类型 1-日报表 2-月报表
  14763. in: query
  14764. name: querytype
  14765. required: true
  14766. type: integer
  14767. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  14768. in: query
  14769. name: querydate
  14770. required: true
  14771. type: string
  14772. - description: 现货商品ID
  14773. in: query
  14774. name: deliverygoodsid
  14775. type: integer
  14776. - description: 品牌ID
  14777. in: query
  14778. name: spotgoodsbrandid
  14779. type: integer
  14780. - description: 品类ID
  14781. in: query
  14782. name: wrstandardid
  14783. type: integer
  14784. produces:
  14785. - application/json
  14786. responses:
  14787. "200":
  14788. description: OK
  14789. schema:
  14790. items:
  14791. $ref: '#/definitions/models.Ermcp3ReportAreaSpotPL'
  14792. type: array
  14793. "500":
  14794. description: Internal Server Error
  14795. schema:
  14796. $ref: '#/definitions/app.Response'
  14797. security:
  14798. - ApiKeyAuth: []
  14799. summary: 查询现货损益报表(现货损益报表)
  14800. tags:
  14801. - 企业风险管理v3(app)
  14802. /Ermcp3/QryReportDayFinanceFp:
  14803. get:
  14804. parameters:
  14805. - description: 用户ID
  14806. in: query
  14807. name: userid
  14808. required: true
  14809. type: integer
  14810. - description: 交易日(格式:yyyyMMdd)
  14811. in: query
  14812. name: tradedate
  14813. required: true
  14814. type: string
  14815. produces:
  14816. - application/json
  14817. responses:
  14818. "200":
  14819. description: OK
  14820. schema:
  14821. items:
  14822. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14823. type: array
  14824. "500":
  14825. description: Internal Server Error
  14826. schema:
  14827. $ref: '#/definitions/app.Response'
  14828. security:
  14829. - ApiKeyAuth: []
  14830. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  14831. tags:
  14832. - 企业风险管理v3(app)
  14833. /Ermcp3/QryReportDayFinanceKx:
  14834. get:
  14835. parameters:
  14836. - description: 用户ID
  14837. in: query
  14838. name: userid
  14839. required: true
  14840. type: integer
  14841. - description: 交易日(格式:yyyyMMdd)
  14842. in: query
  14843. name: tradedate
  14844. required: true
  14845. type: string
  14846. produces:
  14847. - application/json
  14848. responses:
  14849. "200":
  14850. description: OK
  14851. schema:
  14852. items:
  14853. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14854. type: array
  14855. "500":
  14856. description: Internal Server Error
  14857. schema:
  14858. $ref: '#/definitions/app.Response'
  14859. security:
  14860. - ApiKeyAuth: []
  14861. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  14862. tags:
  14863. - 企业风险管理v3(app)
  14864. /Ermcp3/QryReportDaySpot:
  14865. get:
  14866. parameters:
  14867. - description: 用户ID
  14868. in: query
  14869. name: userid
  14870. required: true
  14871. type: integer
  14872. - description: 交易日(格式:yyyyMMdd)
  14873. in: query
  14874. name: tradedate
  14875. required: true
  14876. type: string
  14877. produces:
  14878. - application/json
  14879. responses:
  14880. "200":
  14881. description: OK
  14882. schema:
  14883. items:
  14884. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14885. type: array
  14886. "500":
  14887. description: Internal Server Error
  14888. schema:
  14889. $ref: '#/definitions/app.Response'
  14890. security:
  14891. - ApiKeyAuth: []
  14892. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  14893. tags:
  14894. - 企业风险管理v3(app)
  14895. /Ermcp3/QryReportDaySpotDetail:
  14896. get:
  14897. parameters:
  14898. - description: 用户ID
  14899. in: query
  14900. name: userid
  14901. required: true
  14902. type: integer
  14903. - description: 现货商品id
  14904. in: query
  14905. name: deliverygoodsid
  14906. required: true
  14907. type: integer
  14908. - description: 交易日(格式:yyyyMMdd)
  14909. in: query
  14910. name: tradedate
  14911. required: true
  14912. type: string
  14913. produces:
  14914. - application/json
  14915. responses:
  14916. "200":
  14917. description: OK
  14918. schema:
  14919. items:
  14920. $ref: '#/definitions/models.Ermcp3ReportOPLog'
  14921. type: array
  14922. "500":
  14923. description: Internal Server Error
  14924. schema:
  14925. $ref: '#/definitions/app.Response'
  14926. security:
  14927. - ApiKeyAuth: []
  14928. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  14929. tags:
  14930. - 企业风险管理v3(app)
  14931. /Ermcp3/QryReportMonthSpot:
  14932. get:
  14933. parameters:
  14934. - description: 用户ID
  14935. in: query
  14936. name: userid
  14937. required: true
  14938. type: integer
  14939. - description: 周期时间:月(格式:yyyyMM)
  14940. in: query
  14941. name: cycletime
  14942. required: true
  14943. type: string
  14944. produces:
  14945. - application/json
  14946. responses:
  14947. "200":
  14948. description: OK
  14949. schema:
  14950. items:
  14951. $ref: '#/definitions/models.Ermcp3ReportMonSpot'
  14952. type: array
  14953. "500":
  14954. description: Internal Server Error
  14955. schema:
  14956. $ref: '#/definitions/app.Response'
  14957. security:
  14958. - ApiKeyAuth: []
  14959. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  14960. tags:
  14961. - 企业风险管理v3(app)
  14962. /Ermcp3/QryReportMonthSpotDetail:
  14963. get:
  14964. parameters:
  14965. - description: 用户ID
  14966. in: query
  14967. name: userid
  14968. required: true
  14969. type: integer
  14970. - description: 现货商品id
  14971. in: query
  14972. name: deliverygoodsid
  14973. required: true
  14974. type: integer
  14975. - description: 周期时间:月(格式:yyyyMM)
  14976. in: query
  14977. name: cycletime
  14978. required: true
  14979. type: string
  14980. produces:
  14981. - application/json
  14982. responses:
  14983. "200":
  14984. description: OK
  14985. schema:
  14986. items:
  14987. $ref: '#/definitions/models.Ermcp3ReportDaySpot'
  14988. type: array
  14989. "500":
  14990. description: Internal Server Error
  14991. schema:
  14992. $ref: '#/definitions/app.Response'
  14993. security:
  14994. - ApiKeyAuth: []
  14995. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  14996. tags:
  14997. - 企业风险管理v3(app)
  14998. /Ermcp3/QueryAreaStock:
  14999. get:
  15000. parameters:
  15001. - description: 用户ID
  15002. in: query
  15003. name: userid
  15004. required: true
  15005. type: integer
  15006. produces:
  15007. - application/json
  15008. responses:
  15009. "200":
  15010. description: OK
  15011. schema:
  15012. items:
  15013. $ref: '#/definitions/models.Ermcp3AreaStock'
  15014. type: array
  15015. "500":
  15016. description: Internal Server Error
  15017. schema:
  15018. $ref: '#/definitions/app.Response'
  15019. security:
  15020. - ApiKeyAuth: []
  15021. summary: 查询机构库存(库存管理/当前库存)
  15022. tags:
  15023. - 企业风险管理v3(app)
  15024. /Ermcp3/QueryAreaStockApply:
  15025. get:
  15026. parameters:
  15027. - description: 用户ID
  15028. in: query
  15029. name: userid
  15030. required: true
  15031. type: integer
  15032. - description: 现货商品ID
  15033. in: query
  15034. name: deliverygoodsid
  15035. type: integer
  15036. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  15037. in: query
  15038. name: inouttype
  15039. type: string
  15040. - description: 合同ID
  15041. in: query
  15042. name: spotcontractid
  15043. type: integer
  15044. - description: 品类ID
  15045. in: query
  15046. name: wrstandardid
  15047. type: integer
  15048. - description: 品牌ID
  15049. in: query
  15050. name: spotgoodsbrandid
  15051. type: integer
  15052. - description: 仓库ID
  15053. in: query
  15054. name: warehouseinfoid
  15055. type: integer
  15056. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15057. in: query
  15058. name: applystatus
  15059. type: string
  15060. produces:
  15061. - application/json
  15062. responses:
  15063. "200":
  15064. description: OK
  15065. schema:
  15066. items:
  15067. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15068. type: array
  15069. "500":
  15070. description: Internal Server Error
  15071. schema:
  15072. $ref: '#/definitions/app.Response'
  15073. security:
  15074. - ApiKeyAuth: []
  15075. summary: 查询库存申请(出入库记录|库存审核)
  15076. tags:
  15077. - 企业风险管理v3(app)
  15078. /Ermcp3/QueryAreaStockApplySum:
  15079. get:
  15080. parameters:
  15081. - description: 合同ID
  15082. in: query
  15083. name: spotcontractid
  15084. type: integer
  15085. produces:
  15086. - application/json
  15087. responses:
  15088. "200":
  15089. description: OK
  15090. schema:
  15091. items:
  15092. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  15093. type: array
  15094. "500":
  15095. description: Internal Server Error
  15096. schema:
  15097. $ref: '#/definitions/app.Response'
  15098. security:
  15099. - ApiKeyAuth: []
  15100. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  15101. tags:
  15102. - 企业风险管理v3(app)
  15103. /Ermcp3/QueryAreaStockReport:
  15104. get:
  15105. parameters:
  15106. - description: 用户ID
  15107. in: query
  15108. name: userid
  15109. required: true
  15110. type: integer
  15111. - description: 查询类型 1-日报表 2-月报表
  15112. in: query
  15113. name: querytype
  15114. required: true
  15115. type: integer
  15116. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15117. in: query
  15118. name: querydate
  15119. required: true
  15120. type: string
  15121. - description: 现货商品ID
  15122. in: query
  15123. name: deliverygoodsid
  15124. type: integer
  15125. - description: 品类ID
  15126. in: query
  15127. name: wrstandardid
  15128. type: integer
  15129. - description: 品牌ID
  15130. in: query
  15131. name: spotgoodsbrandid
  15132. type: integer
  15133. - description: 仓库ID
  15134. in: query
  15135. name: warehouseinfoid
  15136. type: integer
  15137. produces:
  15138. - application/json
  15139. responses:
  15140. "200":
  15141. description: OK
  15142. schema:
  15143. items:
  15144. $ref: '#/definitions/models.Ermcp3AreaStockReport'
  15145. type: array
  15146. "500":
  15147. description: Internal Server Error
  15148. schema:
  15149. $ref: '#/definitions/app.Response'
  15150. security:
  15151. - ApiKeyAuth: []
  15152. summary: 查询库存报表
  15153. tags:
  15154. - 企业风险管理v3(app)
  15155. /Ermcp3/QueryAreaStockReportDetail:
  15156. get:
  15157. parameters:
  15158. - description: 用户ID
  15159. in: query
  15160. name: userid
  15161. required: true
  15162. type: integer
  15163. - description: 查询类型 1-日报表明细 2-月报表明细
  15164. in: query
  15165. name: querytype
  15166. required: true
  15167. type: integer
  15168. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  15169. in: query
  15170. name: detailtype
  15171. required: true
  15172. type: integer
  15173. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  15174. in: query
  15175. name: querydate
  15176. required: true
  15177. type: string
  15178. - description: 现货商品ID
  15179. in: query
  15180. name: deliverygoodsid
  15181. type: integer
  15182. - description: 品类ID
  15183. in: query
  15184. name: wrstandardid
  15185. type: integer
  15186. - description: 品牌ID
  15187. in: query
  15188. name: spotgoodsbrandid
  15189. type: integer
  15190. - description: 仓库ID
  15191. in: query
  15192. name: warehouseinfoid
  15193. type: integer
  15194. produces:
  15195. - application/json
  15196. responses:
  15197. "200":
  15198. description: OK
  15199. schema:
  15200. items:
  15201. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  15202. type: array
  15203. "500":
  15204. description: Internal Server Error
  15205. schema:
  15206. $ref: '#/definitions/app.Response'
  15207. security:
  15208. - ApiKeyAuth: []
  15209. summary: 查询库存报表明细
  15210. tags:
  15211. - 企业风险管理v3(app)
  15212. /Ermcp3/QueryDGFactoryItem:
  15213. get:
  15214. parameters:
  15215. - description: 所属机构ID
  15216. in: query
  15217. name: areauserid
  15218. type: integer
  15219. - description: 选择项ID(SEQ_DGFACTORYITEM)
  15220. in: query
  15221. name: dgfactoryitemid
  15222. type: integer
  15223. - description: 现货品种ID
  15224. in: query
  15225. name: deliverygoodsid
  15226. type: integer
  15227. - description: 要素项类型
  15228. in: query
  15229. name: dgfactoryitemtypeid
  15230. type: integer
  15231. - description: 顺序
  15232. in: query
  15233. name: orderindex
  15234. type: integer
  15235. produces:
  15236. - application/json
  15237. responses:
  15238. "200":
  15239. description: OK
  15240. schema:
  15241. items:
  15242. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  15243. type: array
  15244. "500":
  15245. description: Internal Server Error
  15246. schema:
  15247. $ref: '#/definitions/app.Response'
  15248. security:
  15249. - ApiKeyAuth: []
  15250. summary: 查询品种要素定义项
  15251. tags:
  15252. - 企业风险管理v3(app)
  15253. /Ermcp3/QueryDeliveryGoods:
  15254. get:
  15255. parameters:
  15256. - description: 所属机构id
  15257. in: query
  15258. name: areauserid
  15259. required: true
  15260. type: integer
  15261. - description: 排除已配置的现货商品 1-排除
  15262. in: query
  15263. name: excludecfg
  15264. type: integer
  15265. produces:
  15266. - application/json
  15267. responses:
  15268. "200":
  15269. description: OK
  15270. schema:
  15271. items:
  15272. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  15273. type: array
  15274. "500":
  15275. description: Internal Server Error
  15276. schema:
  15277. $ref: '#/definitions/app.Response'
  15278. security:
  15279. - ApiKeyAuth: []
  15280. summary: 查询现货商品
  15281. tags:
  15282. - 企业风险管理v3(app)
  15283. /Ermcp3/QueryDeliveryGoodsDetail:
  15284. get:
  15285. parameters:
  15286. - description: 所属机构id
  15287. in: query
  15288. name: areauserid
  15289. required: true
  15290. type: integer
  15291. - description: 现货商品id
  15292. in: query
  15293. name: deliverygoodsid
  15294. type: integer
  15295. produces:
  15296. - application/json
  15297. responses:
  15298. "200":
  15299. description: OK
  15300. schema:
  15301. items:
  15302. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  15303. type: array
  15304. "500":
  15305. description: Internal Server Error
  15306. schema:
  15307. $ref: '#/definitions/app.Response'
  15308. security:
  15309. - ApiKeyAuth: []
  15310. summary: 查询现货商品详情
  15311. tags:
  15312. - 企业风险管理v3(app)
  15313. /Ermcp3/QueryExposureDetail:
  15314. get:
  15315. parameters:
  15316. - description: 所属机构ID
  15317. in: query
  15318. name: areauserid
  15319. required: true
  15320. type: integer
  15321. - description: 套保商品
  15322. in: query
  15323. name: middlegoodsid
  15324. required: true
  15325. type: integer
  15326. produces:
  15327. - application/json
  15328. responses:
  15329. "200":
  15330. description: OK
  15331. schema:
  15332. items:
  15333. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  15334. type: array
  15335. "500":
  15336. description: Internal Server Error
  15337. schema:
  15338. $ref: '#/definitions/app.Response'
  15339. security:
  15340. - ApiKeyAuth: []
  15341. summary: 查询敞口现货明细
  15342. tags:
  15343. - 企业风险管理v3(app)
  15344. /Ermcp3/QueryExposureSpot:
  15345. get:
  15346. parameters:
  15347. - description: 所属机构ID
  15348. in: query
  15349. name: areauserid
  15350. required: true
  15351. type: integer
  15352. produces:
  15353. - application/json
  15354. responses:
  15355. "200":
  15356. description: OK
  15357. schema:
  15358. items:
  15359. $ref: '#/definitions/models.Ermcp3AreaSpot'
  15360. type: array
  15361. "500":
  15362. description: Internal Server Error
  15363. schema:
  15364. $ref: '#/definitions/app.Response'
  15365. security:
  15366. - ApiKeyAuth: []
  15367. summary: 查询敞口现货头寸(敞口/现货头寸)
  15368. tags:
  15369. - 企业风险管理v3(app)
  15370. /Ermcp3/QueryExposureSpotDetail:
  15371. get:
  15372. parameters:
  15373. - description: 所属机构ID
  15374. in: query
  15375. name: areauserid
  15376. required: true
  15377. type: integer
  15378. - description: 现货品种ID
  15379. in: query
  15380. name: deliverygoodsid
  15381. required: true
  15382. type: integer
  15383. produces:
  15384. - application/json
  15385. responses:
  15386. "200":
  15387. description: OK
  15388. schema:
  15389. items:
  15390. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  15391. type: array
  15392. "500":
  15393. description: Internal Server Error
  15394. schema:
  15395. $ref: '#/definitions/app.Response'
  15396. security:
  15397. - ApiKeyAuth: []
  15398. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  15399. tags:
  15400. - 企业风险管理v3(app)
  15401. /Ermcp3/QueryGoodsGroup:
  15402. get:
  15403. parameters:
  15404. - description: 所属机构id
  15405. in: query
  15406. name: areauserid
  15407. required: true
  15408. type: integer
  15409. - description: 排除套保品中已关联的商品组 1-排除
  15410. in: query
  15411. name: excludecfg
  15412. type: integer
  15413. produces:
  15414. - application/json
  15415. responses:
  15416. "200":
  15417. description: OK
  15418. schema:
  15419. items:
  15420. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  15421. type: array
  15422. "500":
  15423. description: Internal Server Error
  15424. schema:
  15425. $ref: '#/definitions/app.Response'
  15426. security:
  15427. - ApiKeyAuth: []
  15428. summary: 查询期货商品组
  15429. tags:
  15430. - 企业风险管理v3(app)
  15431. /Ermcp3/QueryGoodsWrstandard:
  15432. get:
  15433. parameters:
  15434. - description: 所属机构ID
  15435. in: query
  15436. name: areauserid
  15437. required: true
  15438. type: integer
  15439. - description: 现货商品id
  15440. in: query
  15441. name: deliverygoodsid
  15442. type: integer
  15443. produces:
  15444. - application/json
  15445. responses:
  15446. "200":
  15447. description: OK
  15448. schema:
  15449. items:
  15450. $ref: '#/definitions/models.Ermcp3Wrstandard'
  15451. type: array
  15452. "500":
  15453. description: Internal Server Error
  15454. schema:
  15455. $ref: '#/definitions/app.Response'
  15456. security:
  15457. - ApiKeyAuth: []
  15458. summary: 查询商品品类
  15459. tags:
  15460. - 企业风险管理v3(app)
  15461. /Ermcp3/QueryGoodsbrand:
  15462. get:
  15463. parameters:
  15464. - description: 所属机构ID
  15465. in: query
  15466. name: areauserid
  15467. required: true
  15468. type: integer
  15469. produces:
  15470. - application/json
  15471. responses:
  15472. "200":
  15473. description: OK
  15474. schema:
  15475. items:
  15476. $ref: '#/definitions/models.Ermcp3Brand'
  15477. type: array
  15478. "500":
  15479. description: Internal Server Error
  15480. schema:
  15481. $ref: '#/definitions/app.Response'
  15482. security:
  15483. - ApiKeyAuth: []
  15484. summary: 查询商品品牌
  15485. tags:
  15486. - 企业风险管理v3(app)
  15487. /Ermcp3/QueryHedgePlan:
  15488. get:
  15489. parameters:
  15490. - description: 用户ID
  15491. in: query
  15492. name: userid
  15493. required: true
  15494. type: integer
  15495. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  15496. in: query
  15497. name: hedgeplanstatus
  15498. required: true
  15499. type: string
  15500. produces:
  15501. - application/json
  15502. responses:
  15503. "200":
  15504. description: OK
  15505. schema:
  15506. items:
  15507. $ref: '#/definitions/models.Ermcp3HedgePlan'
  15508. type: array
  15509. "500":
  15510. description: Internal Server Error
  15511. schema:
  15512. $ref: '#/definitions/app.Response'
  15513. security:
  15514. - ApiKeyAuth: []
  15515. summary: 查询套保计划
  15516. tags:
  15517. - 企业风险管理v3(app)
  15518. /Ermcp3/QueryMiddleGoodsDetail:
  15519. get:
  15520. parameters:
  15521. - description: 所属机构ID
  15522. in: query
  15523. name: areauserid
  15524. required: true
  15525. type: integer
  15526. - description: 套保品种id
  15527. in: query
  15528. name: middlegoodsid
  15529. type: integer
  15530. produces:
  15531. - application/json
  15532. responses:
  15533. "200":
  15534. description: OK
  15535. schema:
  15536. items:
  15537. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  15538. type: array
  15539. "500":
  15540. description: Internal Server Error
  15541. schema:
  15542. $ref: '#/definitions/app.Response'
  15543. security:
  15544. - ApiKeyAuth: []
  15545. summary: 查询套保品种详情(套保品种/商品详情)
  15546. tags:
  15547. - 企业风险管理v3(app)
  15548. /Ermcp3/QuerySpotContract:
  15549. get:
  15550. parameters:
  15551. - description: 所属机构ID
  15552. in: query
  15553. name: areauserid
  15554. required: true
  15555. type: integer
  15556. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  15557. in: query
  15558. name: querytype
  15559. required: true
  15560. type: integer
  15561. - description: 用户ID
  15562. in: query
  15563. name: userid
  15564. type: integer
  15565. - description: 用户类型 2-机构 7-企业成员
  15566. in: query
  15567. name: usertype
  15568. type: integer
  15569. - description: 合同ID(SpotContractId)
  15570. in: query
  15571. name: contractid
  15572. type: string
  15573. produces:
  15574. - application/json
  15575. responses:
  15576. "200":
  15577. description: OK
  15578. schema:
  15579. items:
  15580. $ref: '#/definitions/models.Ermcp3Contract'
  15581. type: array
  15582. "500":
  15583. description: Internal Server Error
  15584. schema:
  15585. $ref: '#/definitions/app.Response'
  15586. security:
  15587. - ApiKeyAuth: []
  15588. summary: 查询现货合同
  15589. tags:
  15590. - 企业风险管理v3(app)
  15591. /Ermcp3/QuerySpotContractBS:
  15592. get:
  15593. parameters:
  15594. - description: 所属机构ID
  15595. in: query
  15596. name: areauserid
  15597. required: true
  15598. type: integer
  15599. - description: 合同类型 1-采购, -1-销售
  15600. in: query
  15601. name: contracttype
  15602. required: true
  15603. type: integer
  15604. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  15605. in: query
  15606. name: querytype
  15607. required: true
  15608. type: integer
  15609. - description: 用户ID
  15610. in: query
  15611. name: userid
  15612. type: integer
  15613. - description: 用户类型 2-机构 7-企业成员
  15614. in: query
  15615. name: usertype
  15616. type: integer
  15617. - description: 合同ID(SpotContractId)
  15618. in: query
  15619. name: contractid
  15620. type: string
  15621. produces:
  15622. - application/json
  15623. responses:
  15624. "200":
  15625. description: OK
  15626. schema:
  15627. items:
  15628. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  15629. type: array
  15630. "500":
  15631. description: Internal Server Error
  15632. schema:
  15633. $ref: '#/definitions/app.Response'
  15634. security:
  15635. - ApiKeyAuth: []
  15636. summary: 查询合同(采购/销售)
  15637. tags:
  15638. - 企业风险管理v3(app)
  15639. /Ermcp3/QuerySpotGoodsPrice:
  15640. get:
  15641. parameters:
  15642. - description: 用户ID
  15643. in: query
  15644. name: userid
  15645. required: true
  15646. type: integer
  15647. produces:
  15648. - application/json
  15649. responses:
  15650. "200":
  15651. description: OK
  15652. schema:
  15653. items:
  15654. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  15655. type: array
  15656. "500":
  15657. description: Internal Server Error
  15658. schema:
  15659. $ref: '#/definitions/app.Response'
  15660. security:
  15661. - ApiKeyAuth: []
  15662. summary: 查询现货市价(现货市价)
  15663. tags:
  15664. - 企业风险管理v3(app)
  15665. /Ermcp3/QuerySpotGoodsPriceLog:
  15666. get:
  15667. parameters:
  15668. - description: 用户ID
  15669. in: query
  15670. name: userid
  15671. required: true
  15672. type: integer
  15673. - description: 现货商品ID
  15674. in: query
  15675. name: deliverygoodsid
  15676. required: true
  15677. type: integer
  15678. produces:
  15679. - application/json
  15680. responses:
  15681. "200":
  15682. description: OK
  15683. schema:
  15684. items:
  15685. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  15686. type: array
  15687. "500":
  15688. description: Internal Server Error
  15689. schema:
  15690. $ref: '#/definitions/app.Response'
  15691. security:
  15692. - ApiKeyAuth: []
  15693. summary: 查询现货市价详情(现货市价/详情)
  15694. tags:
  15695. - 企业风险管理v3(app)
  15696. /Erms2/QueryArbitrageStrategy:
  15697. get:
  15698. parameters:
  15699. - description: 账户ID
  15700. in: query
  15701. name: userid
  15702. required: true
  15703. type: integer
  15704. - description: 商品组ID(品种ID)
  15705. in: query
  15706. name: goodsgroupid
  15707. type: string
  15708. produces:
  15709. - application/json
  15710. responses:
  15711. "200":
  15712. description: OK
  15713. schema:
  15714. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  15715. "500":
  15716. description: Internal Server Error
  15717. schema:
  15718. $ref: '#/definitions/app.Response'
  15719. security:
  15720. - ApiKeyAuth: []
  15721. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  15722. tags:
  15723. - 风险管理
  15724. /Erms2/QueryInnerTradeDetail:
  15725. get:
  15726. parameters:
  15727. - description: 资金账户
  15728. in: query
  15729. name: accountid
  15730. required: true
  15731. type: integer
  15732. produces:
  15733. - application/json
  15734. responses:
  15735. "200":
  15736. description: OK
  15737. schema:
  15738. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  15739. "500":
  15740. description: Internal Server Error
  15741. schema:
  15742. $ref: '#/definitions/app.Response'
  15743. security:
  15744. - ApiKeyAuth: []
  15745. summary: 查询内部成交单信息
  15746. tags:
  15747. - 风险管理
  15748. /Erms2/QuerySpotContract:
  15749. get:
  15750. parameters:
  15751. - description: 策略申请ID
  15752. in: query
  15753. name: asapplyid
  15754. required: true
  15755. type: integer
  15756. - description: 现货合同ID
  15757. in: query
  15758. name: spotcontractid
  15759. type: integer
  15760. produces:
  15761. - application/json
  15762. responses:
  15763. "200":
  15764. description: OK
  15765. schema:
  15766. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  15767. "500":
  15768. description: Internal Server Error
  15769. schema:
  15770. $ref: '#/definitions/app.Response'
  15771. security:
  15772. - ApiKeyAuth: []
  15773. summary: 查询现货合同表信息(指定策略ID、未结束的)
  15774. tags:
  15775. - 风险管理
  15776. /Erms3/AddErms2ASApply:
  15777. post:
  15778. parameters:
  15779. - description: 申请参数
  15780. in: body
  15781. name: jsonBody
  15782. required: true
  15783. schema:
  15784. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  15785. produces:
  15786. - application/json
  15787. responses:
  15788. "200":
  15789. description: OK
  15790. schema:
  15791. $ref: '#/definitions/app.Response'
  15792. "500":
  15793. description: Internal Server Error
  15794. schema:
  15795. $ref: '#/definitions/app.Response'
  15796. security:
  15797. - ApiKeyAuth: []
  15798. summary: 新增期现套利业务申请
  15799. tags:
  15800. - 风险管理v3
  15801. /Erms3/AddErms2SpotTradeApply:
  15802. post:
  15803. parameters:
  15804. - description: 申请参数
  15805. in: body
  15806. name: jsonBody
  15807. required: true
  15808. schema:
  15809. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  15810. produces:
  15811. - application/json
  15812. responses:
  15813. "200":
  15814. description: OK
  15815. schema:
  15816. $ref: '#/definitions/app.Response'
  15817. "500":
  15818. description: Internal Server Error
  15819. schema:
  15820. $ref: '#/definitions/app.Response'
  15821. security:
  15822. - ApiKeyAuth: []
  15823. summary: 新增现货贸易业务申请
  15824. tags:
  15825. - 风险管理v3
  15826. /Erms3/AddSpotContractApply:
  15827. post:
  15828. parameters:
  15829. - description: 申请参数
  15830. in: body
  15831. name: jsonBody
  15832. required: true
  15833. schema:
  15834. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  15835. produces:
  15836. - application/json
  15837. responses:
  15838. "200":
  15839. description: OK
  15840. schema:
  15841. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  15842. "500":
  15843. description: Internal Server Error
  15844. schema:
  15845. $ref: '#/definitions/app.Response'
  15846. security:
  15847. - ApiKeyAuth: []
  15848. summary: 新增现货合同申请
  15849. tags:
  15850. - 风险管理v3
  15851. /Erms3/AddUserInfoApply:
  15852. post:
  15853. parameters:
  15854. - description: 用户信息
  15855. in: body
  15856. name: jsonBody
  15857. required: true
  15858. schema:
  15859. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  15860. produces:
  15861. - application/json
  15862. responses:
  15863. "200":
  15864. description: OK
  15865. schema:
  15866. $ref: '#/definitions/app.Response'
  15867. "500":
  15868. description: Internal Server Error
  15869. schema:
  15870. $ref: '#/definitions/app.Response'
  15871. security:
  15872. - ApiKeyAuth: []
  15873. summary: 新增客户申请
  15874. tags:
  15875. - 风险管理v3
  15876. /Erms3/DeleteUserInfoApply:
  15877. get:
  15878. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  15879. parameters:
  15880. - description: 用户ID
  15881. in: query
  15882. name: userID
  15883. required: true
  15884. type: integer
  15885. produces:
  15886. - application/json
  15887. responses:
  15888. "200":
  15889. description: OK
  15890. schema:
  15891. $ref: '#/definitions/app.Response'
  15892. "500":
  15893. description: Internal Server Error
  15894. schema:
  15895. $ref: '#/definitions/app.Response'
  15896. security:
  15897. - ApiKeyAuth: []
  15898. summary: 删除客户申请
  15899. tags:
  15900. - 风险管理v3
  15901. /Erms3/ModifyUserInfoApply:
  15902. post:
  15903. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  15904. int, "userstate": 2 }'
  15905. parameters:
  15906. - description: 用户信息
  15907. in: body
  15908. name: jsonBody
  15909. required: true
  15910. schema:
  15911. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  15912. produces:
  15913. - application/json
  15914. responses:
  15915. "200":
  15916. description: OK
  15917. schema:
  15918. $ref: '#/definitions/app.Response'
  15919. "500":
  15920. description: Internal Server Error
  15921. schema:
  15922. $ref: '#/definitions/app.Response'
  15923. security:
  15924. - ApiKeyAuth: []
  15925. summary: 修改客户申请
  15926. tags:
  15927. - 风险管理v3
  15928. /Erms3/QueryBusinessInfo:
  15929. get:
  15930. parameters:
  15931. - description: 资金账号ID列表,用逗号分隔
  15932. in: query
  15933. name: accountids
  15934. required: true
  15935. type: string
  15936. - description: 状态,0为未结束 1为已结束
  15937. in: query
  15938. name: status
  15939. required: true
  15940. type: integer
  15941. produces:
  15942. - application/json
  15943. responses:
  15944. "200":
  15945. description: OK
  15946. schema:
  15947. items:
  15948. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  15949. type: array
  15950. "500":
  15951. description: Internal Server Error
  15952. schema:
  15953. $ref: '#/definitions/app.Response'
  15954. security:
  15955. - ApiKeyAuth: []
  15956. summary: 查询业务表单数据
  15957. tags:
  15958. - 风险管理v3
  15959. /Erms3/QueryPendingAuditContract:
  15960. get:
  15961. parameters:
  15962. - description: 资金账号ID列表,逗号隔开
  15963. in: query
  15964. name: accountids
  15965. required: true
  15966. type: string
  15967. - description: 合同类型 1-采购 -1-销售
  15968. in: query
  15969. name: contracttype
  15970. required: true
  15971. type: integer
  15972. - description: 合同模式 1-普通 2-回购
  15973. in: query
  15974. name: contractmode
  15975. required: true
  15976. type: integer
  15977. produces:
  15978. - application/json
  15979. responses:
  15980. "200":
  15981. description: OK
  15982. schema:
  15983. items:
  15984. $ref: '#/definitions/erms3.QryAuditContractRsp'
  15985. type: array
  15986. "500":
  15987. description: Internal Server Error
  15988. schema:
  15989. $ref: '#/definitions/app.Response'
  15990. security:
  15991. - ApiKeyAuth: []
  15992. summary: 查询待审核合同
  15993. tags:
  15994. - 风险管理v3
  15995. /Erms3/QueryPendingBusiness:
  15996. get:
  15997. parameters:
  15998. - description: 资金账号ID列表,逗号隔开
  15999. in: query
  16000. name: accountids
  16001. required: true
  16002. type: string
  16003. produces:
  16004. - application/json
  16005. responses:
  16006. "200":
  16007. description: OK
  16008. schema:
  16009. items:
  16010. $ref: '#/definitions/erms3.QryPendingBizRsp'
  16011. type: array
  16012. "500":
  16013. description: Internal Server Error
  16014. schema:
  16015. $ref: '#/definitions/app.Response'
  16016. security:
  16017. - ApiKeyAuth: []
  16018. summary: 查询待审核基差贸易业务
  16019. tags:
  16020. - 风险管理v3
  16021. /Erms3/QuerySpotContractAppleForm:
  16022. get:
  16023. parameters:
  16024. - description: 登录账号
  16025. in: query
  16026. name: loginID
  16027. required: true
  16028. type: integer
  16029. produces:
  16030. - application/json
  16031. responses:
  16032. "200":
  16033. description: OK
  16034. schema:
  16035. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  16036. "500":
  16037. description: Internal Server Error
  16038. schema:
  16039. $ref: '#/definitions/app.Response'
  16040. security:
  16041. - ApiKeyAuth: []
  16042. summary: 查询合同申请表单数据
  16043. tags:
  16044. - 风险管理v3
  16045. /Erms3/QuerySpotContractDetail:
  16046. get:
  16047. parameters:
  16048. - description: 资金账号ID列表,用逗号分隔
  16049. in: query
  16050. name: accountids
  16051. required: true
  16052. type: string
  16053. - description: 合同类型,1为采购合同 -1为销售合同
  16054. in: query
  16055. name: contracttype
  16056. required: true
  16057. type: integer
  16058. - description: 合同模式,1为普通合同 2为回购销售合同
  16059. in: query
  16060. name: contractmode
  16061. required: true
  16062. type: integer
  16063. - description: 状态,0为履约中 1为已完成
  16064. in: query
  16065. name: status
  16066. required: true
  16067. type: integer
  16068. produces:
  16069. - application/json
  16070. responses:
  16071. "200":
  16072. description: OK
  16073. schema:
  16074. items:
  16075. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  16076. type: array
  16077. "500":
  16078. description: Internal Server Error
  16079. schema:
  16080. $ref: '#/definitions/app.Response'
  16081. security:
  16082. - ApiKeyAuth: []
  16083. summary: 查询合同详细信息
  16084. tags:
  16085. - 风险管理v3
  16086. /Erms3/QueryUserInfoApplies:
  16087. get:
  16088. parameters:
  16089. - description: 页码
  16090. in: query
  16091. name: page
  16092. type: integer
  16093. - description: 每页条数
  16094. in: query
  16095. name: pagesize
  16096. type: integer
  16097. - description: 客户名称,支持模糊查询
  16098. in: query
  16099. name: userName
  16100. type: string
  16101. produces:
  16102. - application/json
  16103. responses:
  16104. "200":
  16105. description: OK
  16106. schema:
  16107. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  16108. "500":
  16109. description: Internal Server Error
  16110. schema:
  16111. $ref: '#/definitions/app.Response'
  16112. security:
  16113. - ApiKeyAuth: []
  16114. summary: 客户申请信息查询
  16115. tags:
  16116. - 风险管理v3
  16117. /Erms3/QueryUserInfos:
  16118. get:
  16119. parameters:
  16120. - description: 页码
  16121. in: query
  16122. name: page
  16123. type: integer
  16124. - description: 每页条数
  16125. in: query
  16126. name: pagesize
  16127. type: integer
  16128. - description: 客户名称,支持模糊查询
  16129. in: query
  16130. name: userName
  16131. type: string
  16132. produces:
  16133. - application/json
  16134. responses:
  16135. "200":
  16136. description: OK
  16137. schema:
  16138. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  16139. "500":
  16140. description: Internal Server Error
  16141. schema:
  16142. $ref: '#/definitions/app.Response'
  16143. security:
  16144. - ApiKeyAuth: []
  16145. summary: 客户信息查询
  16146. tags:
  16147. - 风险管理v3
  16148. /HSBY/GetHsbyMyCount:
  16149. get:
  16150. description: 说明: 不包括已完成的数量。
  16151. parameters:
  16152. - description: 资金账户列表,格式:1,2,3
  16153. in: query
  16154. name: accountIDs
  16155. required: true
  16156. type: string
  16157. produces:
  16158. - application/json
  16159. responses:
  16160. "200":
  16161. description: OK
  16162. schema:
  16163. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  16164. "500":
  16165. description: Internal Server Error
  16166. schema:
  16167. $ref: '#/definitions/app.Response'
  16168. security:
  16169. - ApiKeyAuth: []
  16170. summary: 获取我的订单与包裹数量
  16171. tags:
  16172. - 定制【海商报业】
  16173. /HSBY/QueryClientFixedADConfigs:
  16174. get:
  16175. produces:
  16176. - application/json
  16177. responses:
  16178. "200":
  16179. description: OK
  16180. schema:
  16181. $ref: '#/definitions/models.Clientfixedadconfig'
  16182. "500":
  16183. description: Internal Server Error
  16184. schema:
  16185. $ref: '#/definitions/app.Response'
  16186. security:
  16187. - ApiKeyAuth: []
  16188. summary: 获取终端固定广告配置
  16189. tags:
  16190. - 定制【海商报业】
  16191. /HSBY/QueryHsbyBuyMyTradeDetail:
  16192. get:
  16193. parameters:
  16194. - description: 页码
  16195. in: query
  16196. name: page
  16197. type: integer
  16198. - description: 每页条数
  16199. in: query
  16200. name: pagesize
  16201. type: integer
  16202. - description: 资金账户列表,格式:1,2,3
  16203. in: query
  16204. name: accountIDs
  16205. required: true
  16206. type: string
  16207. produces:
  16208. - application/json
  16209. responses:
  16210. "200":
  16211. description: OK
  16212. schema:
  16213. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  16214. "500":
  16215. description: Internal Server Error
  16216. schema:
  16217. $ref: '#/definitions/app.Response'
  16218. security:
  16219. - ApiKeyAuth: []
  16220. summary: 查询"我的订单 - 已完成"单据信息
  16221. tags:
  16222. - 定制【海商报业】
  16223. /HSBY/QueryHsbyGoodsOrderDetails:
  16224. get:
  16225. description: 说明:查询结果已按委托价格和委托时间排序
  16226. parameters:
  16227. - description: 商品ID
  16228. in: query
  16229. name: goodsID
  16230. required: true
  16231. type: integer
  16232. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  16233. in: query
  16234. name: accountIDs
  16235. type: string
  16236. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  16237. in: query
  16238. name: buyOrSell
  16239. type: integer
  16240. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  16241. in: query
  16242. name: price
  16243. type: number
  16244. - description: 档位,不传则默认为3档
  16245. in: query
  16246. name: speed
  16247. type: integer
  16248. produces:
  16249. - application/json
  16250. responses:
  16251. "200":
  16252. description: OK
  16253. schema:
  16254. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  16255. "500":
  16256. description: Internal Server Error
  16257. schema:
  16258. $ref: '#/definitions/app.Response'
  16259. security:
  16260. - ApiKeyAuth: []
  16261. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  16262. tags:
  16263. - 定制【海商报业】
  16264. /HSBY/QueryHsbyListingGoodsDetail:
  16265. get:
  16266. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  16267. parameters:
  16268. - description: 商品ID
  16269. in: query
  16270. name: goodsID
  16271. required: true
  16272. type: integer
  16273. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  16274. in: query
  16275. name: accountID
  16276. type: integer
  16277. produces:
  16278. - application/json
  16279. responses:
  16280. "200":
  16281. description: OK
  16282. schema:
  16283. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  16284. "500":
  16285. description: Internal Server Error
  16286. schema:
  16287. $ref: '#/definitions/app.Response'
  16288. security:
  16289. - ApiKeyAuth: []
  16290. summary: 查询二级市场(挂牌点选)商品信息详情
  16291. tags:
  16292. - 定制【海商报业】
  16293. /HSBY/QueryHsbyMarketGoodsDetail:
  16294. get:
  16295. parameters:
  16296. - description: 委托单号
  16297. in: query
  16298. name: orderID
  16299. required: true
  16300. type: integer
  16301. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  16302. in: query
  16303. name: accountID
  16304. type: integer
  16305. produces:
  16306. - application/json
  16307. responses:
  16308. "200":
  16309. description: OK
  16310. schema:
  16311. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16312. "500":
  16313. description: Internal Server Error
  16314. schema:
  16315. $ref: '#/definitions/app.Response'
  16316. security:
  16317. - ApiKeyAuth: []
  16318. summary: 查询三级市场(商城)商品信息详情
  16319. tags:
  16320. - 定制【海商报业】
  16321. /HSBY/QueryHsbyMarketGoodses:
  16322. get:
  16323. parameters:
  16324. - description: 页码
  16325. in: query
  16326. name: page
  16327. type: integer
  16328. - description: 每页条数
  16329. in: query
  16330. name: pagesize
  16331. type: integer
  16332. - description: 市场ID列表,格式:1,2,3
  16333. in: query
  16334. name: marketIDs
  16335. required: true
  16336. type: string
  16337. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  16338. in: query
  16339. name: accountID
  16340. required: true
  16341. type: integer
  16342. - description: 类别ID
  16343. in: query
  16344. name: categoryID
  16345. type: integer
  16346. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16347. in: query
  16348. name: goodsIDs
  16349. type: string
  16350. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  16351. in: query
  16352. name: couponTypeID
  16353. type: integer
  16354. produces:
  16355. - application/json
  16356. responses:
  16357. "200":
  16358. description: OK
  16359. schema:
  16360. $ref: '#/definitions/models.HsbyMarketGoods'
  16361. "500":
  16362. description: Internal Server Error
  16363. schema:
  16364. $ref: '#/definitions/app.Response'
  16365. security:
  16366. - ApiKeyAuth: []
  16367. summary: 查询特卖商品列表(三级商城)
  16368. tags:
  16369. - 定制【海商报业】
  16370. /HSBY/QueryHsbyMarkets:
  16371. get:
  16372. produces:
  16373. - application/json
  16374. responses:
  16375. "200":
  16376. description: OK
  16377. schema:
  16378. $ref: '#/definitions/models.HsbyMarketInfo'
  16379. "500":
  16380. description: Internal Server Error
  16381. schema:
  16382. $ref: '#/definitions/app.Response'
  16383. security:
  16384. - ApiKeyAuth: []
  16385. summary: 查询海商报业相关市场信息
  16386. tags:
  16387. - 定制【海商报业】
  16388. /HSBY/QueryHsbyMyBuyOrderDetails:
  16389. get:
  16390. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  16391. parameters:
  16392. - description: 资金账户列表,格式:1,2,3
  16393. in: query
  16394. name: accountIDs
  16395. required: true
  16396. type: string
  16397. produces:
  16398. - application/json
  16399. responses:
  16400. "200":
  16401. description: OK
  16402. schema:
  16403. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  16404. "500":
  16405. description: Internal Server Error
  16406. schema:
  16407. $ref: '#/definitions/app.Response'
  16408. security:
  16409. - ApiKeyAuth: []
  16410. summary: 查询“我的订单”信息
  16411. tags:
  16412. - 定制【海商报业】
  16413. /HSBY/QueryHsbyMyGoods:
  16414. get:
  16415. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  16416. parameters:
  16417. - description: 资金账户列表,格式:1,2,3
  16418. in: query
  16419. name: accountIDs
  16420. required: true
  16421. type: string
  16422. produces:
  16423. - application/json
  16424. responses:
  16425. "200":
  16426. description: OK
  16427. schema:
  16428. $ref: '#/definitions/models.HsbyMyGoods'
  16429. "500":
  16430. description: Internal Server Error
  16431. schema:
  16432. $ref: '#/definitions/app.Response'
  16433. security:
  16434. - ApiKeyAuth: []
  16435. summary: 查询“我的商品”信息
  16436. tags:
  16437. - 定制【海商报业】
  16438. /HSBY/QueryHsbyMyPackages:
  16439. get:
  16440. parameters:
  16441. - description: 资金账户列表,格式:1,2,3
  16442. in: query
  16443. name: accountIDs
  16444. required: true
  16445. type: string
  16446. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16447. in: query
  16448. name: takeOrderStatus
  16449. type: integer
  16450. produces:
  16451. - application/json
  16452. responses:
  16453. "200":
  16454. description: OK
  16455. schema:
  16456. $ref: '#/definitions/models.HsbyMyPackage'
  16457. "500":
  16458. description: Internal Server Error
  16459. schema:
  16460. $ref: '#/definitions/app.Response'
  16461. security:
  16462. - ApiKeyAuth: []
  16463. summary: 查询我的包裹信息
  16464. tags:
  16465. - 定制【海商报业】
  16466. /HSBY/QueryHsbyPreGoodsDetail:
  16467. get:
  16468. parameters:
  16469. - description: 商品ID
  16470. in: query
  16471. name: goodsID
  16472. required: true
  16473. type: integer
  16474. - description: 资金账户,主要用于获取预售商品购买上限
  16475. in: query
  16476. name: accountID
  16477. type: integer
  16478. produces:
  16479. - application/json
  16480. responses:
  16481. "200":
  16482. description: OK
  16483. schema:
  16484. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  16485. "500":
  16486. description: Internal Server Error
  16487. schema:
  16488. $ref: '#/definitions/app.Response'
  16489. security:
  16490. - ApiKeyAuth: []
  16491. summary: 查询一级市场(预售)商品信息详情
  16492. tags:
  16493. - 定制【海商报业】
  16494. /HSBY/QueryHsbyPreGoodses:
  16495. get:
  16496. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  16497. parameters:
  16498. - description: 页码
  16499. in: query
  16500. name: page
  16501. type: integer
  16502. - description: 每页条数
  16503. in: query
  16504. name: pagesize
  16505. type: integer
  16506. - description: 市场ID列表,格式:1,2,3
  16507. in: query
  16508. name: marketIDs
  16509. required: true
  16510. type: string
  16511. - description: 目的地(省)ID
  16512. in: query
  16513. name: descProvinceID
  16514. type: integer
  16515. - description: 目的地(市)ID
  16516. in: query
  16517. name: descCityID
  16518. type: integer
  16519. produces:
  16520. - application/json
  16521. responses:
  16522. "200":
  16523. description: OK
  16524. schema:
  16525. $ref: '#/definitions/models.HsbyPreGoods'
  16526. "500":
  16527. description: Internal Server Error
  16528. schema:
  16529. $ref: '#/definitions/app.Response'
  16530. security:
  16531. - ApiKeyAuth: []
  16532. summary: 查询新品上市商品列表(一级市场预售)
  16533. tags:
  16534. - 定制【海商报业】
  16535. /HSBY/QueryHsbySellMyDetails:
  16536. get:
  16537. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  16538. parameters:
  16539. - description: 页码
  16540. in: query
  16541. name: page
  16542. type: integer
  16543. - description: 每页条数
  16544. in: query
  16545. name: pagesize
  16546. type: integer
  16547. - description: 资金账户列表,格式:1,2,3
  16548. in: query
  16549. name: accountIDs
  16550. required: true
  16551. type: string
  16552. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  16553. in: query
  16554. name: orderType
  16555. type: integer
  16556. produces:
  16557. - application/json
  16558. responses:
  16559. "200":
  16560. description: OK
  16561. schema:
  16562. $ref: '#/definitions/models.HsbySellMyDetail'
  16563. "500":
  16564. description: Internal Server Error
  16565. schema:
  16566. $ref: '#/definitions/app.Response'
  16567. security:
  16568. - ApiKeyAuth: []
  16569. summary: 查询"我的闲置"单据信息
  16570. tags:
  16571. - 定制【海商报业】
  16572. /HSBY/QueryHsbyTopGoodses:
  16573. get:
  16574. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  16575. parameters:
  16576. - description: 页码
  16577. in: query
  16578. name: page
  16579. type: integer
  16580. - description: 每页条数
  16581. in: query
  16582. name: pagesize
  16583. type: integer
  16584. - description: 市场ID列表,格式:1,2,3
  16585. in: query
  16586. name: marketIDs
  16587. required: true
  16588. type: string
  16589. - description: 目的地(省)ID
  16590. in: query
  16591. name: descProvinceID
  16592. type: integer
  16593. - description: 目的地(市)ID
  16594. in: query
  16595. name: descCityID
  16596. type: integer
  16597. produces:
  16598. - application/json
  16599. responses:
  16600. "200":
  16601. description: OK
  16602. schema:
  16603. $ref: '#/definitions/models.HsbyTopGoods'
  16604. "500":
  16605. description: Internal Server Error
  16606. schema:
  16607. $ref: '#/definitions/app.Response'
  16608. security:
  16609. - ApiKeyAuth: []
  16610. summary: 查询热卖商品列表(二级市场挂牌点选)
  16611. tags:
  16612. - 定制【海商报业】
  16613. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  16614. get:
  16615. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  16616. parameters:
  16617. - description: 商品ID
  16618. in: query
  16619. name: goodsID
  16620. required: true
  16621. type: integer
  16622. produces:
  16623. - application/json
  16624. responses:
  16625. "200":
  16626. description: OK
  16627. schema:
  16628. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  16629. "500":
  16630. description: Internal Server Error
  16631. schema:
  16632. $ref: '#/definitions/app.Response'
  16633. security:
  16634. - ApiKeyAuth: []
  16635. summary: 查询游客三级市场(商城)商品信息详情
  16636. tags:
  16637. - 定制【海商报业】
  16638. /HSBY/QueryHsbyVisitorMarketGoodses:
  16639. get:
  16640. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  16641. parameters:
  16642. - description: 页码
  16643. in: query
  16644. name: page
  16645. type: integer
  16646. - description: 每页条数
  16647. in: query
  16648. name: pagesize
  16649. type: integer
  16650. - description: 市场ID列表,格式:1,2,3
  16651. in: query
  16652. name: marketIDs
  16653. required: true
  16654. type: string
  16655. - description: 类别ID
  16656. in: query
  16657. name: categoryID
  16658. type: integer
  16659. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  16660. in: query
  16661. name: goodsIDs
  16662. type: string
  16663. produces:
  16664. - application/json
  16665. responses:
  16666. "200":
  16667. description: OK
  16668. schema:
  16669. $ref: '#/definitions/models.HsbyMarketGoods'
  16670. "500":
  16671. description: Internal Server Error
  16672. schema:
  16673. $ref: '#/definitions/app.Response'
  16674. security:
  16675. - ApiKeyAuth: []
  16676. summary: 查询游客特卖商品列表(三级商城)
  16677. tags:
  16678. - 定制【海商报业】
  16679. /HSBY/QueryMyCollectionOrders:
  16680. get:
  16681. parameters:
  16682. - description: 页码
  16683. in: query
  16684. name: page
  16685. type: integer
  16686. - description: 每页条数
  16687. in: query
  16688. name: pagesize
  16689. type: integer
  16690. - description: 资金账户,格式:1,2,3
  16691. in: query
  16692. name: accountIDs
  16693. required: true
  16694. type: string
  16695. produces:
  16696. - application/json
  16697. responses:
  16698. "200":
  16699. description: OK
  16700. schema:
  16701. $ref: '#/definitions/models.HsbySellCollectionOrder'
  16702. "500":
  16703. description: Internal Server Error
  16704. schema:
  16705. $ref: '#/definitions/app.Response'
  16706. security:
  16707. - ApiKeyAuth: []
  16708. summary: 我的闲置中收款信息查询
  16709. tags:
  16710. - 定制【海商报业】
  16711. /HSBY/QueryMyCouponHolds:
  16712. get:
  16713. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  16714. parameters:
  16715. - description: 资金账户列表,格式:1,2,3
  16716. in: query
  16717. name: accountIDs
  16718. required: true
  16719. type: string
  16720. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  16721. in: query
  16722. name: holdStatus
  16723. type: string
  16724. produces:
  16725. - application/json
  16726. responses:
  16727. "200":
  16728. description: OK
  16729. schema:
  16730. $ref: '#/definitions/models.MyCouponHold'
  16731. "500":
  16732. description: Internal Server Error
  16733. schema:
  16734. $ref: '#/definitions/app.Response'
  16735. security:
  16736. - ApiKeyAuth: []
  16737. summary: 我的优惠卷持仓查询
  16738. tags:
  16739. - 定制【海商报业】
  16740. /HSBY/QueryMyCoupons:
  16741. get:
  16742. parameters:
  16743. - description: 资金账户列表,格式:1,2,3
  16744. in: query
  16745. name: accountIDs
  16746. required: true
  16747. type: string
  16748. - description: 商品ID, 一般与sellUserID配套传入
  16749. in: query
  16750. name: goodsID
  16751. type: integer
  16752. - description: 卖方UserID
  16753. in: query
  16754. name: sellUserID
  16755. type: integer
  16756. produces:
  16757. - application/json
  16758. responses:
  16759. "200":
  16760. description: OK
  16761. schema:
  16762. $ref: '#/definitions/models.MyCoupon'
  16763. "500":
  16764. description: Internal Server Error
  16765. schema:
  16766. $ref: '#/definitions/app.Response'
  16767. security:
  16768. - ApiKeyAuth: []
  16769. summary: 我的优惠卷查询
  16770. tags:
  16771. - 定制【海商报业】
  16772. /HSBY/QueryMyPayOrders:
  16773. get:
  16774. parameters:
  16775. - description: 页码
  16776. in: query
  16777. name: page
  16778. type: integer
  16779. - description: 每页条数
  16780. in: query
  16781. name: pagesize
  16782. type: integer
  16783. - description: 资金账户列表,格式:1,2,3
  16784. in: query
  16785. name: accountIDs
  16786. required: true
  16787. type: string
  16788. - description: 买方委托单号
  16789. in: query
  16790. name: buyOrderID
  16791. type: integer
  16792. - description: 卖方委托单号
  16793. in: query
  16794. name: sellOrderID
  16795. type: integer
  16796. produces:
  16797. - application/json
  16798. responses:
  16799. "200":
  16800. description: OK
  16801. schema:
  16802. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  16803. "500":
  16804. description: Internal Server Error
  16805. schema:
  16806. $ref: '#/definitions/app.Response'
  16807. security:
  16808. - ApiKeyAuth: []
  16809. summary: 获取我的订单中待付款信息
  16810. tags:
  16811. - 定制【海商报业】
  16812. /HSBY/QueryMyUsedCoupon:
  16813. get:
  16814. parameters:
  16815. - description: 资金账户列表,格式:1,2,3
  16816. in: query
  16817. name: accountIDs
  16818. required: true
  16819. type: string
  16820. produces:
  16821. - application/json
  16822. responses:
  16823. "200":
  16824. description: OK
  16825. schema:
  16826. $ref: '#/definitions/models.MyUsedCoupon'
  16827. "500":
  16828. description: Internal Server Error
  16829. schema:
  16830. $ref: '#/definitions/app.Response'
  16831. security:
  16832. - ApiKeyAuth: []
  16833. summary: 已使用优惠卷查询
  16834. tags:
  16835. - 定制【海商报业】
  16836. /HSBY/QueryProvincesAndCities:
  16837. get:
  16838. description: 查询结果只包括二级市场商品已关连的省市信息。
  16839. parameters:
  16840. - description: 省ID
  16841. in: query
  16842. name: provinceID
  16843. type: integer
  16844. produces:
  16845. - application/json
  16846. responses:
  16847. "200":
  16848. description: OK
  16849. schema:
  16850. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  16851. "500":
  16852. description: Internal Server Error
  16853. schema:
  16854. $ref: '#/definitions/app.Response'
  16855. security:
  16856. - ApiKeyAuth: []
  16857. summary: 查询省市信息(不包括区)
  16858. tags:
  16859. - 定制【海商报业】
  16860. /HSBY/SetHsbyMyPackagesStatus:
  16861. post:
  16862. parameters:
  16863. - description: 提货单号
  16864. in: query
  16865. name: takeOrderID
  16866. required: true
  16867. type: string
  16868. - description: 资金账号
  16869. in: query
  16870. name: accountID
  16871. required: true
  16872. type: integer
  16873. produces:
  16874. - application/json
  16875. responses:
  16876. "200":
  16877. description: OK
  16878. schema:
  16879. $ref: '#/definitions/app.Response'
  16880. "500":
  16881. description: Internal Server Error
  16882. schema:
  16883. $ref: '#/definitions/app.Response'
  16884. security:
  16885. - ApiKeyAuth: []
  16886. summary: 设置我的包裹已收货状态
  16887. tags:
  16888. - 定制【海商报业】
  16889. /Market/QueryGoodsesByLoginID:
  16890. get:
  16891. parameters:
  16892. - description: 登录账号
  16893. in: query
  16894. name: loginID
  16895. required: true
  16896. type: integer
  16897. - description: 市场ID列表,格式:1,2,3
  16898. in: query
  16899. name: marketIDs
  16900. type: string
  16901. produces:
  16902. - application/json
  16903. responses:
  16904. "200":
  16905. description: OK
  16906. schema:
  16907. $ref: '#/definitions/models.Goods'
  16908. "500":
  16909. description: Internal Server Error
  16910. schema:
  16911. $ref: '#/definitions/app.Response'
  16912. security:
  16913. - ApiKeyAuth: []
  16914. summary: 获取登录账号有权限的商品信息
  16915. tags:
  16916. - 通用市场
  16917. /Market/QueryMarketRun:
  16918. get:
  16919. parameters:
  16920. - description: 市场ID,不传返回所有
  16921. in: query
  16922. name: marketID
  16923. type: integer
  16924. produces:
  16925. - application/json
  16926. responses:
  16927. "200":
  16928. description: OK
  16929. schema:
  16930. $ref: '#/definitions/models.Marketrun'
  16931. "500":
  16932. description: Internal Server Error
  16933. schema:
  16934. $ref: '#/definitions/app.Response'
  16935. security:
  16936. - ApiKeyAuth: []
  16937. summary: 查询市场运行信息
  16938. tags:
  16939. - 通用市场
  16940. /Market/QueryMarketsByLoginID:
  16941. get:
  16942. parameters:
  16943. - description: 登录账号
  16944. in: query
  16945. name: loginID
  16946. required: true
  16947. type: integer
  16948. produces:
  16949. - application/json
  16950. responses:
  16951. "200":
  16952. description: OK
  16953. schema:
  16954. $ref: '#/definitions/models.Market'
  16955. "500":
  16956. description: Internal Server Error
  16957. schema:
  16958. $ref: '#/definitions/app.Response'
  16959. security:
  16960. - ApiKeyAuth: []
  16961. summary: 获取登录账号有权限的市场信息
  16962. tags:
  16963. - 通用市场
  16964. /Order/QueryHisTradeDetail:
  16965. get:
  16966. parameters:
  16967. - description: 资金账户 - 格式:1,2,3
  16968. in: query
  16969. name: accountID
  16970. required: true
  16971. type: string
  16972. - description: 成交单号
  16973. in: query
  16974. name: tradeID
  16975. type: integer
  16976. - description: 委托单号
  16977. in: query
  16978. name: orderID
  16979. type: integer
  16980. - description: 交易模式 - 格式:1,2,3
  16981. in: query
  16982. name: tradeMode
  16983. type: string
  16984. - description: 委托单据类型
  16985. in: query
  16986. name: buildType
  16987. type: integer
  16988. - description: 成交类别 - 格式:1,2,3
  16989. in: query
  16990. name: tradeType
  16991. type: string
  16992. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16993. in: query
  16994. name: startDate
  16995. type: string
  16996. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16997. in: query
  16998. name: endDate
  16999. type: string
  17000. produces:
  17001. - application/json
  17002. responses:
  17003. "200":
  17004. description: OK
  17005. schema:
  17006. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  17007. "500":
  17008. description: Internal Server Error
  17009. schema:
  17010. $ref: '#/definitions/app.Response'
  17011. security:
  17012. - ApiKeyAuth: []
  17013. summary: 历史成交单查询(合约市场)
  17014. tags:
  17015. - 通用单据
  17016. /Order/QueryHisTradeOrderDetail:
  17017. get:
  17018. parameters:
  17019. - description: 资金账户 - 格式:1,2,3
  17020. in: query
  17021. name: accountID
  17022. required: true
  17023. type: string
  17024. - description: 交易模式 - 格式:1,2,3
  17025. in: query
  17026. name: tradeMode
  17027. type: string
  17028. - description: 委托状态 - 格式:1,2,3
  17029. in: query
  17030. name: orderStatus
  17031. type: string
  17032. - description: 委托单号
  17033. in: query
  17034. name: orderID
  17035. type: integer
  17036. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17037. in: query
  17038. name: startDate
  17039. type: string
  17040. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17041. in: query
  17042. name: endDate
  17043. type: string
  17044. produces:
  17045. - application/json
  17046. responses:
  17047. "200":
  17048. description: OK
  17049. schema:
  17050. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  17051. "500":
  17052. description: Internal Server Error
  17053. schema:
  17054. $ref: '#/definitions/app.Response'
  17055. security:
  17056. - ApiKeyAuth: []
  17057. summary: 历史委托单查询请求(合约市场)
  17058. tags:
  17059. - 通用单据
  17060. /Order/QueryTradeDetail:
  17061. get:
  17062. parameters:
  17063. - description: 资金账户 - 格式:1,2,3
  17064. in: query
  17065. name: accountID
  17066. required: true
  17067. type: string
  17068. - description: 成交单号
  17069. in: query
  17070. name: tradeID
  17071. type: integer
  17072. - description: 委托单号
  17073. in: query
  17074. name: orderID
  17075. type: integer
  17076. - description: 交易模式 - 格式:1,2,3
  17077. in: query
  17078. name: tradeMode
  17079. type: string
  17080. - description: 委托单据类型
  17081. in: query
  17082. name: buildType
  17083. type: integer
  17084. - description: 成交类别 - 格式:1,2,3
  17085. in: query
  17086. name: tradeType
  17087. type: string
  17088. produces:
  17089. - application/json
  17090. responses:
  17091. "200":
  17092. description: OK
  17093. schema:
  17094. $ref: '#/definitions/order.QueryTradeDetailRsp'
  17095. "500":
  17096. description: Internal Server Error
  17097. schema:
  17098. $ref: '#/definitions/app.Response'
  17099. security:
  17100. - ApiKeyAuth: []
  17101. summary: 成交单查询(合约市场)
  17102. tags:
  17103. - 通用单据
  17104. /Order/QueryTradeOrderDetail:
  17105. get:
  17106. parameters:
  17107. - description: 资金账户 - 格式:1,2,3
  17108. in: query
  17109. name: accountID
  17110. required: true
  17111. type: string
  17112. - description: 交易模式 - 格式:1,2,3
  17113. in: query
  17114. name: tradeMode
  17115. type: string
  17116. - description: 委托状态 - 格式:1,2,3
  17117. in: query
  17118. name: orderStatus
  17119. type: string
  17120. - description: 委托单号
  17121. in: query
  17122. name: orderID
  17123. type: integer
  17124. produces:
  17125. - application/json
  17126. responses:
  17127. "200":
  17128. description: OK
  17129. schema:
  17130. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  17131. "500":
  17132. description: Internal Server Error
  17133. schema:
  17134. $ref: '#/definitions/app.Response'
  17135. security:
  17136. - ApiKeyAuth: []
  17137. summary: 委托单查询请求(合约市场)
  17138. tags:
  17139. - 通用单据
  17140. /Order/QueryTradePosition:
  17141. get:
  17142. parameters:
  17143. - description: 资金账户 - 格式:1,2,3
  17144. in: query
  17145. name: accountID
  17146. required: true
  17147. type: string
  17148. - description: 交易模式 - 格式:1,2,3
  17149. in: query
  17150. name: tradeMode
  17151. type: string
  17152. produces:
  17153. - application/json
  17154. responses:
  17155. "200":
  17156. description: OK
  17157. schema:
  17158. $ref: '#/definitions/order.QueryTradePositionRsp'
  17159. "500":
  17160. description: Internal Server Error
  17161. schema:
  17162. $ref: '#/definitions/app.Response'
  17163. security:
  17164. - ApiKeyAuth: []
  17165. summary: 持仓汇总查询(合约市场)
  17166. tags:
  17167. - 通用单据
  17168. /Quote/QueryHistoryDatas:
  17169. get:
  17170. parameters:
  17171. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  17172. 日线'
  17173. in: query
  17174. name: cycleType
  17175. required: true
  17176. type: integer
  17177. - description: 商品代码
  17178. in: query
  17179. name: goodsCode
  17180. required: true
  17181. type: string
  17182. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17183. in: query
  17184. name: startTime
  17185. type: string
  17186. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17187. in: query
  17188. name: endTime
  17189. type: string
  17190. - description: 条数
  17191. in: query
  17192. name: count
  17193. type: integer
  17194. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17195. in: query
  17196. name: isAsc
  17197. type: boolean
  17198. produces:
  17199. - application/json
  17200. responses:
  17201. "200":
  17202. description: OK
  17203. schema:
  17204. $ref: '#/definitions/quote.HistoryData'
  17205. "500":
  17206. description: Internal Server Error
  17207. schema:
  17208. $ref: '#/definitions/app.Response'
  17209. security:
  17210. - ApiKeyAuth: []
  17211. summary: 查询行情历史数据
  17212. tags:
  17213. - 行情服务
  17214. /Quote/QueryHistoryTikDatas:
  17215. get:
  17216. parameters:
  17217. - description: 商品代码
  17218. in: query
  17219. name: goodsCode
  17220. required: true
  17221. type: string
  17222. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  17223. in: query
  17224. name: startTime
  17225. type: string
  17226. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  17227. in: query
  17228. name: endTime
  17229. type: string
  17230. - description: 条数
  17231. in: query
  17232. name: count
  17233. type: integer
  17234. - description: 是否按时间顺序排序(默认为时间倒序排序)
  17235. in: query
  17236. name: isAsc
  17237. type: boolean
  17238. produces:
  17239. - application/json
  17240. responses:
  17241. "200":
  17242. description: OK
  17243. schema:
  17244. $ref: '#/definitions/quote.HistoryTikData'
  17245. "500":
  17246. description: Internal Server Error
  17247. schema:
  17248. $ref: '#/definitions/app.Response'
  17249. security:
  17250. - ApiKeyAuth: []
  17251. summary: 查询行情Tik数据
  17252. tags:
  17253. - 行情服务
  17254. /Quote/QueryQuoteDay:
  17255. get:
  17256. parameters:
  17257. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  17258. in: query
  17259. name: goodsCodes
  17260. required: true
  17261. type: string
  17262. produces:
  17263. - application/json
  17264. responses:
  17265. "200":
  17266. description: OK
  17267. schema:
  17268. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  17269. "500":
  17270. description: Internal Server Error
  17271. schema:
  17272. $ref: '#/definitions/app.Response'
  17273. security:
  17274. - ApiKeyAuth: []
  17275. summary: 获取商品盘面信息
  17276. tags:
  17277. - 行情服务
  17278. /Quote/QueryTSData:
  17279. get:
  17280. parameters:
  17281. - description: 商品代码
  17282. in: query
  17283. name: goodsCode
  17284. required: true
  17285. type: string
  17286. produces:
  17287. - application/json
  17288. responses:
  17289. "200":
  17290. description: OK
  17291. schema:
  17292. $ref: '#/definitions/quote.QueryTSDataRsp'
  17293. "500":
  17294. description: Internal Server Error
  17295. schema:
  17296. $ref: '#/definitions/app.Response'
  17297. security:
  17298. - ApiKeyAuth: []
  17299. summary: 分时图数据查询
  17300. tags:
  17301. - 行情服务
  17302. /SZDZ/QueryConvertConfig:
  17303. get:
  17304. parameters:
  17305. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  17306. 6:交易转花生米(不设置)
  17307. in: query
  17308. name: convertType
  17309. type: integer
  17310. - description: 外部商品代码[JD\PD]
  17311. in: query
  17312. name: outerGoodsCode
  17313. type: string
  17314. - description: 内部商品ID列表[交易],格式:1,2,3
  17315. in: query
  17316. name: innerGoodsIDs
  17317. type: string
  17318. produces:
  17319. - application/json
  17320. responses:
  17321. "200":
  17322. description: OK
  17323. schema:
  17324. $ref: '#/definitions/models.Szdz3convertconfig'
  17325. "500":
  17326. description: Internal Server Error
  17327. schema:
  17328. $ref: '#/definitions/app.Response'
  17329. security:
  17330. - ApiKeyAuth: []
  17331. summary: 查询交易系统转换设置
  17332. tags:
  17333. - 定制【尚志大宗】
  17334. /SZDZ/QueryConvertLog:
  17335. get:
  17336. parameters:
  17337. - description: 资金账户 - 格式:1,2,3
  17338. in: query
  17339. name: accountID
  17340. required: true
  17341. type: string
  17342. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17343. in: query
  17344. name: startDate
  17345. type: string
  17346. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  17347. in: query
  17348. name: endDate
  17349. type: string
  17350. produces:
  17351. - application/json
  17352. responses:
  17353. "200":
  17354. description: OK
  17355. schema:
  17356. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  17357. "500":
  17358. description: Internal Server Error
  17359. schema:
  17360. $ref: '#/definitions/app.Response'
  17361. security:
  17362. - ApiKeyAuth: []
  17363. summary: 交易系统转换流水查询
  17364. tags:
  17365. - 定制【尚志大宗】
  17366. /SZDZ/QueryGoodsPickup:
  17367. get:
  17368. parameters:
  17369. - description: 资金账户 - 格式:1,2,3
  17370. in: query
  17371. name: accountID
  17372. required: true
  17373. type: string
  17374. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17375. in: query
  17376. name: takeOrderStatus
  17377. type: integer
  17378. produces:
  17379. - application/json
  17380. responses:
  17381. "200":
  17382. description: OK
  17383. schema:
  17384. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  17385. "500":
  17386. description: Internal Server Error
  17387. schema:
  17388. $ref: '#/definitions/app.Response'
  17389. security:
  17390. - ApiKeyAuth: []
  17391. summary: 商品提货单查询
  17392. tags:
  17393. - 定制【尚志大宗】
  17394. /SZDZ/QueryRecieptOrder:
  17395. get:
  17396. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17397. parameters:
  17398. - description: 页码
  17399. in: query
  17400. name: page
  17401. type: integer
  17402. - description: 每页条数
  17403. in: query
  17404. name: pagesize
  17405. type: integer
  17406. - description: 商品ID
  17407. in: query
  17408. name: goodsID
  17409. required: true
  17410. type: integer
  17411. - description: 所属账户名称
  17412. in: query
  17413. name: accountName
  17414. type: string
  17415. - description: 市场ID
  17416. in: query
  17417. name: marketID
  17418. type: integer
  17419. - description: 方向 - 0:买 1:卖
  17420. in: query
  17421. name: buyorsell
  17422. required: true
  17423. type: integer
  17424. produces:
  17425. - application/json
  17426. responses:
  17427. "200":
  17428. description: OK
  17429. schema:
  17430. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  17431. "500":
  17432. description: Internal Server Error
  17433. schema:
  17434. $ref: '#/definitions/app.Response'
  17435. security:
  17436. - ApiKeyAuth: []
  17437. summary: 点选挂牌委托单据查询(摘牌大厅)
  17438. tags:
  17439. - 定制【尚志大宗】
  17440. /SZDZ/QuerySZDZTradePosition:
  17441. get:
  17442. parameters:
  17443. - description: 资金账户
  17444. in: query
  17445. name: accountID
  17446. required: true
  17447. type: integer
  17448. produces:
  17449. - application/json
  17450. responses:
  17451. "200":
  17452. description: OK
  17453. schema:
  17454. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  17455. "500":
  17456. description: Internal Server Error
  17457. schema:
  17458. $ref: '#/definitions/app.Response'
  17459. security:
  17460. - ApiKeyAuth: []
  17461. summary: 持仓汇总查询(尚志大宗)
  17462. tags:
  17463. - 定制【尚志大宗】
  17464. /SZDZ/SearchWhite:
  17465. get:
  17466. parameters:
  17467. - description: 用户ID
  17468. in: query
  17469. name: userID
  17470. required: true
  17471. type: integer
  17472. produces:
  17473. - application/json
  17474. responses:
  17475. "200":
  17476. description: OK
  17477. schema:
  17478. $ref: '#/definitions/models.Szdz3searchwhitelist'
  17479. "500":
  17480. description: Internal Server Error
  17481. schema:
  17482. $ref: '#/definitions/app.Response'
  17483. security:
  17484. - ApiKeyAuth: []
  17485. summary: 搜索白名单
  17486. tags:
  17487. - 定制【尚志大宗】
  17488. /Search/SearchGoodses:
  17489. get:
  17490. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  17491. parameters:
  17492. - description: 检索内容
  17493. in: query
  17494. name: content
  17495. required: true
  17496. type: string
  17497. - description: 交易模式,格式:1,2,3
  17498. in: query
  17499. name: tradeModes
  17500. type: string
  17501. produces:
  17502. - application/json
  17503. responses:
  17504. "200":
  17505. description: OK
  17506. schema:
  17507. $ref: '#/definitions/models.SearchGoods'
  17508. "500":
  17509. description: Internal Server Error
  17510. schema:
  17511. $ref: '#/definitions/app.Response'
  17512. summary: 检索商品信息
  17513. tags:
  17514. - 检索服务
  17515. /TaAccount/GetTaAccounts:
  17516. get:
  17517. parameters:
  17518. - description: 登录账户
  17519. in: query
  17520. name: loginID
  17521. required: true
  17522. type: integer
  17523. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  17524. in: query
  17525. name: taAccountType
  17526. type: integer
  17527. produces:
  17528. - application/json
  17529. responses:
  17530. "200":
  17531. description: OK
  17532. schema:
  17533. $ref: '#/definitions/models.Taaccount'
  17534. "500":
  17535. description: Internal Server Error
  17536. schema:
  17537. $ref: '#/definitions/app.Response'
  17538. security:
  17539. - ApiKeyAuth: []
  17540. summary: 获取资金账户信息
  17541. tags:
  17542. - 资金账户
  17543. /TaAccount/QueryAmountLog:
  17544. get:
  17545. parameters:
  17546. - description: 页码
  17547. in: query
  17548. name: page
  17549. type: integer
  17550. - description: 每页条数
  17551. in: query
  17552. name: pagesize
  17553. type: integer
  17554. - description: 资金账户 - 格式:1,2,3
  17555. in: query
  17556. name: accountID
  17557. required: true
  17558. type: string
  17559. - description: 资金操作类型 - 格式:1,2,3
  17560. in: query
  17561. name: OperateType
  17562. type: string
  17563. produces:
  17564. - application/json
  17565. responses:
  17566. "200":
  17567. description: OK
  17568. schema:
  17569. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  17570. "500":
  17571. description: Internal Server Error
  17572. schema:
  17573. $ref: '#/definitions/app.Response'
  17574. security:
  17575. - ApiKeyAuth: []
  17576. summary: 资金流水查询(当前)
  17577. tags:
  17578. - 资金账户
  17579. /TaAccount/QueryHisAmountLog:
  17580. get:
  17581. parameters:
  17582. - description: 页码
  17583. in: query
  17584. name: page
  17585. type: integer
  17586. - description: 每页条数
  17587. in: query
  17588. name: pagesize
  17589. type: integer
  17590. - description: 资金账户 - 格式:1,2,3
  17591. in: query
  17592. name: accountID
  17593. required: true
  17594. type: string
  17595. - description: 资金操作类型 - 格式:1,2,3
  17596. in: query
  17597. name: OperateType
  17598. type: string
  17599. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17600. in: query
  17601. name: startDate
  17602. type: string
  17603. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17604. in: query
  17605. name: endDate
  17606. type: string
  17607. produces:
  17608. - application/json
  17609. responses:
  17610. "200":
  17611. description: OK
  17612. schema:
  17613. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  17614. "500":
  17615. description: Internal Server Error
  17616. schema:
  17617. $ref: '#/definitions/app.Response'
  17618. security:
  17619. - ApiKeyAuth: []
  17620. summary: 资金流水查询(历史)
  17621. tags:
  17622. - 资金账户
  17623. /Trade/QueryRecieptOrder:
  17624. get:
  17625. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  17626. parameters:
  17627. - description: 页码
  17628. in: query
  17629. name: page
  17630. type: integer
  17631. - description: 每页条数
  17632. in: query
  17633. name: pagesize
  17634. type: integer
  17635. - description: 商品ID
  17636. in: query
  17637. name: goodsID
  17638. required: true
  17639. type: integer
  17640. - description: 所属账户名称
  17641. in: query
  17642. name: accountName
  17643. type: string
  17644. - description: 市场ID
  17645. in: query
  17646. name: marketID
  17647. type: integer
  17648. - description: 方向 - 0:买 1:卖
  17649. in: query
  17650. name: buyorsell
  17651. required: true
  17652. type: integer
  17653. produces:
  17654. - application/json
  17655. responses:
  17656. "200":
  17657. description: OK
  17658. schema:
  17659. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  17660. "500":
  17661. description: Internal Server Error
  17662. schema:
  17663. $ref: '#/definitions/app.Response'
  17664. security:
  17665. - ApiKeyAuth: []
  17666. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  17667. tags:
  17668. - 通用交易
  17669. /User/AddMessageBoard:
  17670. post:
  17671. parameters:
  17672. - description: 用户ID
  17673. in: query
  17674. name: userID
  17675. required: true
  17676. type: integer
  17677. - description: 留言信息
  17678. in: query
  17679. name: message
  17680. required: true
  17681. type: string
  17682. - description: 联系电话
  17683. in: query
  17684. name: contactNum
  17685. required: true
  17686. type: string
  17687. produces:
  17688. - application/json
  17689. responses:
  17690. "200":
  17691. description: OK
  17692. schema:
  17693. $ref: '#/definitions/app.Response'
  17694. "500":
  17695. description: Internal Server Error
  17696. schema:
  17697. $ref: '#/definitions/app.Response'
  17698. security:
  17699. - ApiKeyAuth: []
  17700. summary: 添加用户留言板信息
  17701. tags:
  17702. - 用户信息
  17703. /User/AddUserFavoriteGoods:
  17704. post:
  17705. parameters:
  17706. - description: 用户ID
  17707. in: query
  17708. name: userID
  17709. required: true
  17710. type: integer
  17711. - description: 商品ID
  17712. in: query
  17713. name: goodsID
  17714. required: true
  17715. type: integer
  17716. produces:
  17717. - application/json
  17718. responses:
  17719. "200":
  17720. description: OK
  17721. schema:
  17722. $ref: '#/definitions/app.Response'
  17723. "500":
  17724. description: Internal Server Error
  17725. schema:
  17726. $ref: '#/definitions/app.Response'
  17727. security:
  17728. - ApiKeyAuth: []
  17729. summary: 添加用户商品收藏信息
  17730. tags:
  17731. - 用户信息
  17732. /User/GetLoginID:
  17733. get:
  17734. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  17735. parameters:
  17736. - description: 登录代码
  17737. in: query
  17738. name: username
  17739. required: true
  17740. type: string
  17741. produces:
  17742. - application/json
  17743. responses:
  17744. "200":
  17745. description: OK
  17746. schema:
  17747. $ref: '#/definitions/app.Response'
  17748. "500":
  17749. description: Internal Server Error
  17750. schema:
  17751. $ref: '#/definitions/app.Response'
  17752. summary: 获取登录ID
  17753. tags:
  17754. - 用户信息
  17755. /User/GetUserAccount:
  17756. get:
  17757. parameters:
  17758. - description: 用户ID
  17759. in: query
  17760. name: userID
  17761. required: true
  17762. type: integer
  17763. produces:
  17764. - application/json
  17765. responses:
  17766. "200":
  17767. description: OK
  17768. schema:
  17769. $ref: '#/definitions/models.Useraccount'
  17770. "500":
  17771. description: Internal Server Error
  17772. schema:
  17773. $ref: '#/definitions/app.Response'
  17774. security:
  17775. - ApiKeyAuth: []
  17776. summary: 获取用户账号信息
  17777. tags:
  17778. - 用户信息
  17779. /User/GetUserAuthStatus:
  17780. get:
  17781. parameters:
  17782. - description: 用户ID
  17783. in: query
  17784. name: userID
  17785. required: true
  17786. type: integer
  17787. produces:
  17788. - application/json
  17789. responses:
  17790. "200":
  17791. description: OK
  17792. schema:
  17793. $ref: '#/definitions/app.Response'
  17794. "500":
  17795. description: Internal Server Error
  17796. schema:
  17797. $ref: '#/definitions/app.Response'
  17798. security:
  17799. - ApiKeyAuth: []
  17800. summary: 获取用户实名认证状态
  17801. tags:
  17802. - 用户信息
  17803. /User/LoginQuery:
  17804. get:
  17805. parameters:
  17806. - description: 登录账号
  17807. in: query
  17808. name: loginID
  17809. required: true
  17810. type: integer
  17811. produces:
  17812. - application/json
  17813. responses:
  17814. "200":
  17815. description: OK
  17816. schema:
  17817. $ref: '#/definitions/user.LoginQueryRsp'
  17818. "500":
  17819. description: Internal Server Error
  17820. schema:
  17821. $ref: '#/definitions/app.Response'
  17822. security:
  17823. - ApiKeyAuth: []
  17824. summary: 账户登录后信息查询
  17825. tags:
  17826. - 用户信息
  17827. /User/QueryMessageBoard:
  17828. get:
  17829. parameters:
  17830. - description: 用户ID
  17831. in: query
  17832. name: userID
  17833. required: true
  17834. type: integer
  17835. produces:
  17836. - application/json
  17837. responses:
  17838. "200":
  17839. description: OK
  17840. schema:
  17841. $ref: '#/definitions/models.Messageboard'
  17842. "500":
  17843. description: Internal Server Error
  17844. schema:
  17845. $ref: '#/definitions/app.Response'
  17846. security:
  17847. - ApiKeyAuth: []
  17848. summary: 获取用户留言板信息
  17849. tags:
  17850. - 用户信息
  17851. /User/QueryUserFavoriteGoodses:
  17852. get:
  17853. parameters:
  17854. - description: 用户ID
  17855. in: query
  17856. name: userID
  17857. required: true
  17858. type: integer
  17859. produces:
  17860. - application/json
  17861. responses:
  17862. "200":
  17863. description: OK
  17864. schema:
  17865. $ref: '#/definitions/models.Userfavoritegoods'
  17866. "500":
  17867. description: Internal Server Error
  17868. schema:
  17869. $ref: '#/definitions/app.Response'
  17870. security:
  17871. - ApiKeyAuth: []
  17872. summary: 获取用户商品收藏信息
  17873. tags:
  17874. - 用户信息
  17875. /User/QueryUserInfo:
  17876. get:
  17877. parameters:
  17878. - description: 用户ID
  17879. in: query
  17880. name: userID
  17881. required: true
  17882. type: integer
  17883. - description: 是否解密
  17884. in: query
  17885. name: isDecrypt
  17886. type: boolean
  17887. produces:
  17888. - application/json
  17889. responses:
  17890. "200":
  17891. description: OK
  17892. schema:
  17893. $ref: '#/definitions/models.Userinfo'
  17894. "500":
  17895. description: Internal Server Error
  17896. schema:
  17897. $ref: '#/definitions/app.Response'
  17898. security:
  17899. - ApiKeyAuth: []
  17900. summary: 获取用户信息
  17901. tags:
  17902. - 用户信息
  17903. /User/QueryUserReferNum:
  17904. get:
  17905. parameters:
  17906. - description: 用户ID
  17907. in: query
  17908. name: userID
  17909. required: true
  17910. type: integer
  17911. produces:
  17912. - application/json
  17913. responses:
  17914. "200":
  17915. description: OK
  17916. schema:
  17917. $ref: '#/definitions/app.Response'
  17918. "500":
  17919. description: Internal Server Error
  17920. schema:
  17921. $ref: '#/definitions/app.Response'
  17922. summary: 获取用户邀请码
  17923. tags:
  17924. - 用户信息
  17925. /User/RemoveUserFavoriteGoods:
  17926. post:
  17927. parameters:
  17928. - description: 用户ID
  17929. in: query
  17930. name: userID
  17931. required: true
  17932. type: integer
  17933. - description: 商品ID
  17934. in: query
  17935. name: goodsID
  17936. required: true
  17937. type: integer
  17938. produces:
  17939. - application/json
  17940. responses:
  17941. "200":
  17942. description: OK
  17943. schema:
  17944. $ref: '#/definitions/app.Response'
  17945. "500":
  17946. description: Internal Server Error
  17947. schema:
  17948. $ref: '#/definitions/app.Response'
  17949. security:
  17950. - ApiKeyAuth: []
  17951. summary: 移除用户商品收藏信息
  17952. tags:
  17953. - 用户信息
  17954. /User/UpdateUserAccountStatus:
  17955. post:
  17956. parameters:
  17957. - description: 用户ID
  17958. in: query
  17959. name: userID
  17960. required: true
  17961. type: integer
  17962. - description: 账户状态 - 4:正常 6:注销(停用)
  17963. in: query
  17964. name: accountStatus
  17965. required: true
  17966. type: integer
  17967. produces:
  17968. - application/json
  17969. responses:
  17970. "200":
  17971. description: OK
  17972. schema:
  17973. $ref: '#/definitions/app.Response'
  17974. "500":
  17975. description: Internal Server Error
  17976. schema:
  17977. $ref: '#/definitions/app.Response'
  17978. security:
  17979. - ApiKeyAuth: []
  17980. summary: 更新用户状态
  17981. tags:
  17982. - 用户信息
  17983. /WRTrade/GetAllDeliveryGoods:
  17984. get:
  17985. produces:
  17986. - application/json
  17987. - application/json
  17988. responses:
  17989. "200":
  17990. description: OK
  17991. schema:
  17992. $ref: '#/definitions/app.Response'
  17993. "500":
  17994. description: Internal Server Error
  17995. schema:
  17996. $ref: '#/definitions/app.Response'
  17997. security:
  17998. - ApiKeyAuth: []
  17999. - ApiKeyAuth: []
  18000. summary: 获取带仓单分类的种类信息
  18001. tags:
  18002. - 仓单贸易
  18003. - 仓单贸易
  18004. securityDefinitions:
  18005. ApiKeyAuth:
  18006. in: header
  18007. name: Authorization
  18008. type: apiKey
  18009. swagger: "2.0"