swagger.yaml 428 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563
  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. enumdicname:
  980. description: 单位名称
  981. type: string
  982. goodscode:
  983. description: 点价合约
  984. type: string
  985. goodsname:
  986. description: 商品名称
  987. type: string
  988. operateapplyid:
  989. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  990. type: string
  991. operateapplytype:
  992. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  993. type: integer
  994. pricedPrice:
  995. description: 点价价格(非必填)
  996. type: number
  997. pricedQty:
  998. description: 点价数量(非必填)
  999. type: number
  1000. pricemove:
  1001. description: 升贴水
  1002. type: number
  1003. pricetype:
  1004. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1005. type: integer
  1006. relatedid:
  1007. description: 现货合同ID
  1008. type: string
  1009. sellusername:
  1010. description: 销售方名字
  1011. type: string
  1012. userid:
  1013. description: 用户ID
  1014. type: integer
  1015. wrstandardcode:
  1016. description: 现货商品代码
  1017. type: string
  1018. wrstandardid:
  1019. description: 现货商品id
  1020. type: integer
  1021. wrstandardname:
  1022. description: 现货商品名称
  1023. type: string
  1024. type: object
  1025. ermcp.QryBussinessFpRsp:
  1026. properties:
  1027. applyid:
  1028. description: 申请人
  1029. type: string
  1030. applyname:
  1031. description: 申请人名称
  1032. type: string
  1033. applystatus:
  1034. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1035. type: integer
  1036. applytime:
  1037. description: 申请时间
  1038. type: string
  1039. attachurl:
  1040. description: 附件
  1041. type: string
  1042. auditid:
  1043. description: 审核人ID
  1044. type: string
  1045. auditname:
  1046. description: 审核人名称
  1047. type: string
  1048. audittime:
  1049. description: 审核时间
  1050. type: string
  1051. buyusername:
  1052. description: 采购方名称
  1053. type: string
  1054. contractno:
  1055. description: 合同编号
  1056. type: string
  1057. contractstatus:
  1058. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1059. type: integer
  1060. contracttype:
  1061. description: 现货合同类型 - 1:采购 -1:销售
  1062. type: integer
  1063. enumdicname:
  1064. description: 单位名称
  1065. type: string
  1066. goodscode:
  1067. description: 点价合约
  1068. type: string
  1069. goodsname:
  1070. description: 商品名称
  1071. type: string
  1072. invoiceAmount:
  1073. description: 已开收票金额(销售为开票,采购为收票)
  1074. type: number
  1075. operateapplyid:
  1076. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1077. type: string
  1078. operateapplytype:
  1079. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1080. type: integer
  1081. pricemove:
  1082. description: 升贴水
  1083. type: number
  1084. pricetype:
  1085. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1086. type: integer
  1087. relatedid:
  1088. description: 现货合同ID
  1089. type: string
  1090. sellusername:
  1091. description: 销售方名字
  1092. type: string
  1093. userid:
  1094. description: 用户ID
  1095. type: integer
  1096. wrstandardcode:
  1097. description: 现货商品代码
  1098. type: string
  1099. wrstandardid:
  1100. description: 现货商品id
  1101. type: integer
  1102. wrstandardname:
  1103. description: 现货商品名称
  1104. type: string
  1105. type: object
  1106. ermcp.QryBussinessJsExRsp:
  1107. properties:
  1108. applyid:
  1109. description: 申请人
  1110. type: string
  1111. applyname:
  1112. description: 申请人名称
  1113. type: string
  1114. applystatus:
  1115. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1116. type: integer
  1117. applytime:
  1118. description: 申请时间
  1119. type: string
  1120. attachurl:
  1121. description: 附件
  1122. type: string
  1123. auditid:
  1124. description: 审核人ID
  1125. type: string
  1126. auditname:
  1127. description: 审核人名称
  1128. type: string
  1129. audittime:
  1130. description: 审核时间
  1131. type: string
  1132. buyusername:
  1133. description: 采购方名称
  1134. type: string
  1135. contractno:
  1136. description: 合同编号
  1137. type: string
  1138. contractstatus:
  1139. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1140. type: integer
  1141. contracttype:
  1142. description: 现货合同类型 - 1:采购 -1:销售
  1143. type: integer
  1144. enumdicname:
  1145. description: 单位名称
  1146. type: string
  1147. goodscode:
  1148. description: 点价合约
  1149. type: string
  1150. goodsname:
  1151. description: 商品名称
  1152. type: string
  1153. operateapplyid:
  1154. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1155. type: string
  1156. operateapplytype:
  1157. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1158. type: integer
  1159. pricemove:
  1160. description: 升贴水
  1161. type: number
  1162. pricetype:
  1163. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1164. type: integer
  1165. reckontype:
  1166. description: 结算类型
  1167. type: string
  1168. reckonvalue:
  1169. description: 值
  1170. type: number
  1171. relatedid:
  1172. description: 现货合同ID
  1173. type: string
  1174. sellusername:
  1175. description: 销售方名字
  1176. type: string
  1177. userid:
  1178. description: 用户ID
  1179. type: integer
  1180. wrstandardcode:
  1181. description: 现货商品代码
  1182. type: string
  1183. wrstandardid:
  1184. description: 现货商品id
  1185. type: integer
  1186. wrstandardname:
  1187. description: 现货商品名称
  1188. type: string
  1189. type: object
  1190. ermcp.QryBussinessJsRsp:
  1191. properties:
  1192. addmargin:
  1193. description: 追加保证金(非必填)
  1194. type: number
  1195. applyid:
  1196. description: 申请人
  1197. type: string
  1198. applyname:
  1199. description: 申请人名称
  1200. type: string
  1201. applystatus:
  1202. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1203. type: integer
  1204. applytime:
  1205. description: 申请时间
  1206. type: string
  1207. attachurl:
  1208. description: 附件
  1209. type: string
  1210. auditid:
  1211. description: 审核人ID
  1212. type: string
  1213. auditname:
  1214. description: 审核人名称
  1215. type: string
  1216. audittime:
  1217. description: 审核时间
  1218. type: string
  1219. buyusername:
  1220. description: 采购方名称
  1221. type: string
  1222. contractno:
  1223. description: 合同编号
  1224. type: string
  1225. contractstatus:
  1226. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1227. type: integer
  1228. contracttype:
  1229. description: 现货合同类型 - 1:采购 -1:销售
  1230. type: integer
  1231. decmargin:
  1232. description: 减少保证金(非必填)
  1233. type: number
  1234. enumdicname:
  1235. description: 单位名称
  1236. type: string
  1237. goodscode:
  1238. description: 点价合约
  1239. type: string
  1240. goodsname:
  1241. description: 商品名称
  1242. type: string
  1243. operateapplyid:
  1244. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1245. type: string
  1246. operateapplytype:
  1247. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1248. type: integer
  1249. pricemove:
  1250. description: 升贴水
  1251. type: number
  1252. pricetype:
  1253. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1254. type: integer
  1255. reckonadjustamount:
  1256. description: 结算调整金额(非必填)
  1257. type: number
  1258. reckonosamount:
  1259. description: 结算溢短金额(非必填)
  1260. type: number
  1261. reckonotheramount:
  1262. description: 结算其他费用(非必填)
  1263. type: number
  1264. reckonrealqty:
  1265. description: 结算实际数量(非必填)
  1266. type: number
  1267. relatedid:
  1268. description: 现货合同ID
  1269. type: string
  1270. sellusername:
  1271. description: 销售方名字
  1272. type: string
  1273. userid:
  1274. description: 用户ID
  1275. type: integer
  1276. wrstandardcode:
  1277. description: 现货商品代码
  1278. type: string
  1279. wrstandardid:
  1280. description: 现货商品id
  1281. type: integer
  1282. wrstandardname:
  1283. description: 现货商品名称
  1284. type: string
  1285. type: object
  1286. ermcp.QryBussinessKxRsp:
  1287. properties:
  1288. applyid:
  1289. description: 申请人
  1290. type: string
  1291. applyname:
  1292. description: 申请人名称
  1293. type: string
  1294. applystatus:
  1295. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1296. type: integer
  1297. applytime:
  1298. description: 申请时间
  1299. type: string
  1300. attachurl:
  1301. description: 附件
  1302. type: string
  1303. auditid:
  1304. description: 审核人ID
  1305. type: string
  1306. auditname:
  1307. description: 审核人名称
  1308. type: string
  1309. audittime:
  1310. description: 审核时间
  1311. type: string
  1312. buyusername:
  1313. description: 采购方名称
  1314. type: string
  1315. contractno:
  1316. description: 合同编号
  1317. type: string
  1318. contractstatus:
  1319. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1320. type: integer
  1321. contracttype:
  1322. description: 现货合同类型 - 1:采购 -1:销售
  1323. type: integer
  1324. deductamount:
  1325. description: 退款(非必填)
  1326. type: number
  1327. enumdicname:
  1328. description: 单位名称
  1329. type: string
  1330. goodscode:
  1331. description: 点价合约
  1332. type: string
  1333. goodsname:
  1334. description: 商品名称
  1335. type: string
  1336. kxtype:
  1337. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1338. type: integer
  1339. operateapplyid:
  1340. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1341. type: string
  1342. operateapplytype:
  1343. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1344. type: integer
  1345. payamount:
  1346. description: 收付款(非必填)
  1347. type: number
  1348. pricemove:
  1349. description: 升贴水
  1350. type: number
  1351. pricetype:
  1352. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1353. type: integer
  1354. relatedid:
  1355. description: 现货合同ID
  1356. type: string
  1357. sellusername:
  1358. description: 销售方名字
  1359. type: string
  1360. userid:
  1361. description: 用户ID
  1362. type: integer
  1363. wrstandardcode:
  1364. description: 现货商品代码
  1365. type: string
  1366. wrstandardid:
  1367. description: 现货商品id
  1368. type: integer
  1369. wrstandardname:
  1370. description: 现货商品名称
  1371. type: string
  1372. type: object
  1373. ermcp.QryErmcpRsp:
  1374. $ref: '#/definitions/models.ErmcpModel'
  1375. ermcp.QryGGCovertCfgRsp:
  1376. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1377. ermcp.QryHedgePlanRsp:
  1378. $ref: '#/definitions/models.ErmcpHedgePlan'
  1379. ermcp.QryMGChangeLogRsp:
  1380. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1381. ermcp.QryMiddleGoodsDetailRsp:
  1382. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1383. ermcp.QryMiddleGoodsRsp:
  1384. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1385. ermcp.QryOPLogRsp:
  1386. $ref: '#/definitions/models.ErmcpOPLogModel'
  1387. ermcp.QryReportDaySpotDetailRsp:
  1388. $ref: '#/definitions/models.ErmcpReportOPLog'
  1389. ermcp.QryReportExposureDayRsp:
  1390. $ref: '#/definitions/models.ErmcpReportDayExposure'
  1391. ermcp.QryReportFinanceDayRsp:
  1392. $ref: '#/definitions/models.ErmcpReportDayFR'
  1393. ermcp.QryReportFinanceKxRsp:
  1394. $ref: '#/definitions/models.ErmcpReportOPLog'
  1395. ermcp.QryReportFinanceMonRsp:
  1396. $ref: '#/definitions/models.ErmcpReportMonthFR'
  1397. ermcp.QryReportSpotDayRsp:
  1398. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1399. ermcp.QryReportSpotMonRsp:
  1400. $ref: '#/definitions/models.ErmcpReportMonSpot'
  1401. ermcp.QryReportSpotMonthDetailRsp:
  1402. $ref: '#/definitions/models.ErmcpReportDaySpot'
  1403. ermcp.QrySpotContractRsp:
  1404. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1405. ermcp.QryUserInfoRsp:
  1406. $ref: '#/definitions/models.ErmcpUserModel'
  1407. ermcp.QryWarehouseRsp:
  1408. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1409. ermcp.QryWrStandardDetailRsp:
  1410. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1411. ermcp.QryWrStandardRsp:
  1412. $ref: '#/definitions/models.ErmcpWrstandard'
  1413. ermcp.QueryAreaStockApplySumRsp:
  1414. $ref: '#/definitions/models.ErmcpAreaStockApplySum'
  1415. ermcp.QueryErmcpTradePositionRsp:
  1416. properties:
  1417. agreeunit:
  1418. description: 合约单位
  1419. type: number
  1420. buyorsell:
  1421. description: 方向 - 0:买 1:卖
  1422. type: integer
  1423. curpositionqty:
  1424. description: 持仓(总仓数量, 期末头寸)
  1425. type: integer
  1426. curtdposition:
  1427. description: 今仓数量(期末今日头寸)
  1428. type: integer
  1429. curtdpositionenabled:
  1430. description: 今仓可用
  1431. type: integer
  1432. decimalplace:
  1433. description: 报价小数位
  1434. type: integer
  1435. enableqty:
  1436. description: 可用(总仓可用)
  1437. type: integer
  1438. exexchangename:
  1439. description: 外部交易所名称
  1440. type: string
  1441. goodscode:
  1442. description: 商品代码(内部)
  1443. type: string
  1444. goodsid:
  1445. description: 商品ID(自增ID SEQ_GOODS)
  1446. type: integer
  1447. goodsname:
  1448. description: 商品名称
  1449. type: string
  1450. last:
  1451. description: 现价
  1452. type: number
  1453. marketid:
  1454. description: 所属市场ID
  1455. type: integer
  1456. openaverageprice:
  1457. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1458. type: number
  1459. opencost:
  1460. description: 开仓成本
  1461. type: number
  1462. openpl:
  1463. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1464. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1465. type: number
  1466. outgoodscode:
  1467. description: 商品代码(外部)
  1468. type: string
  1469. positionaverageprice:
  1470. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1471. type: number
  1472. positioncost:
  1473. description: 持仓成本
  1474. type: number
  1475. positionpl:
  1476. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1477. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1478. type: number
  1479. positionplrate:
  1480. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1481. type: number
  1482. usedmargin:
  1483. description: 占用保证金
  1484. type: number
  1485. type: object
  1486. ermcp.RealtimeExposurePositionRsp:
  1487. $ref: '#/definitions/models.ErmcpExposurePostion'
  1488. ermcp.RealtimeExposureRsp:
  1489. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1490. erms2.QueryArbitrageStrategyRsp:
  1491. properties:
  1492. applybasis:
  1493. description: 申请基差
  1494. type: number
  1495. asapplyid:
  1496. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1497. type: string
  1498. asname:
  1499. description: 策略名称
  1500. type: string
  1501. asno:
  1502. description: 策略编号
  1503. type: string
  1504. basischangepl:
  1505. description: 基差变动损益[结算更新]
  1506. type: number
  1507. biztype:
  1508. description: 业务类型 - 1:正向套利 -1:反向套利
  1509. type: integer
  1510. closetradedate:
  1511. description: 完结交易日(yyyyMMdd)
  1512. type: string
  1513. curbasis:
  1514. description: 当前基差[结算更新]
  1515. type: number
  1516. deliverygoodsid:
  1517. description: 现货品种ID
  1518. type: integer
  1519. futureavgprice:
  1520. description: 期货建仓均价
  1521. type: number
  1522. futurecloseamount:
  1523. description: 期货平仓金额
  1524. type: number
  1525. futurecloseqty:
  1526. description: 期货平仓数量
  1527. type: number
  1528. futureopenamount:
  1529. description: 期货开仓金额
  1530. type: number
  1531. futureopenqty:
  1532. description: 期货开仓数量
  1533. type: number
  1534. futurepl:
  1535. description: 期货总盈亏[结算更新]
  1536. type: number
  1537. futureqty:
  1538. description: 期货持仓数量
  1539. type: number
  1540. futurequote:
  1541. description: 期货额度
  1542. type: number
  1543. goodsgroupid:
  1544. description: 期货品种ID
  1545. type: integer
  1546. marketid:
  1547. description: 市场ID
  1548. type: integer
  1549. netexposure:
  1550. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1551. type: number
  1552. netexposurepl:
  1553. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1554. type: number
  1555. netexposurerate:
  1556. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1557. type: number
  1558. openbasis:
  1559. description: 建仓基差
  1560. type: number
  1561. pricedspotqty:
  1562. description: 已定价现货数量
  1563. type: number
  1564. pricedspotqtynotax:
  1565. description: 已定价现货不含税数量
  1566. type: number
  1567. remark:
  1568. description: 备注
  1569. type: string
  1570. spotavgprice:
  1571. description: 现货均价
  1572. type: number
  1573. spotbuyamount:
  1574. description: 现货采购金额
  1575. type: number
  1576. spotbuyqty:
  1577. description: 现货采购数量
  1578. type: number
  1579. spotpl:
  1580. description: 现货总盈亏[结算更新]
  1581. type: number
  1582. spotquota:
  1583. description: 现货额度
  1584. type: number
  1585. spotsellamount:
  1586. description: 现货销售金额
  1587. type: number
  1588. spotsellqty:
  1589. description: 现货销售数量
  1590. type: number
  1591. spotusedquota:
  1592. description: 现货占用资金
  1593. type: number
  1594. strategystatus:
  1595. description: 策略状态 - 0:未结束 1:已结束
  1596. type: integer
  1597. totalpl:
  1598. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1599. type: number
  1600. tradedate:
  1601. description: 交易日(yyyyMMdd)
  1602. type: string
  1603. updatetime:
  1604. description: 更新时间
  1605. type: string
  1606. usedquota:
  1607. description: 已占用资金
  1608. type: number
  1609. userid:
  1610. description: 所属机构
  1611. type: integer
  1612. required:
  1613. - asapplyid
  1614. type: object
  1615. erms2.QueryInnerTradeDetailRsp:
  1616. properties:
  1617. accountid:
  1618. description: 账号ID
  1619. type: integer
  1620. agreeunit:
  1621. description: 合约单位
  1622. type: number
  1623. asapplyid:
  1624. description: 策略申请ID
  1625. type: integer
  1626. asname:
  1627. description: 策略名称
  1628. type: string
  1629. asno:
  1630. description: 策略编号
  1631. type: string
  1632. buyorsell:
  1633. description: 方向 - 0:买 1:卖
  1634. type: integer
  1635. channelbuildtype:
  1636. description: 委托单据类型 0:无 1:建仓 2:平仓
  1637. type: integer
  1638. closetype:
  1639. description: 平仓方式 - 0:无 1:平今 2:平昨
  1640. type: integer
  1641. decimalplace:
  1642. description: 报价小数位
  1643. type: integer
  1644. detailtype:
  1645. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1646. type: integer
  1647. exexchangecode:
  1648. description: 外部交易所代码
  1649. type: string
  1650. exexchangename:
  1651. description: 外部交易所名称
  1652. type: string
  1653. goodscode:
  1654. description: 商品代码(合约)
  1655. type: string
  1656. goodsgroupid:
  1657. description: 商品组ID(品种ID)
  1658. type: integer
  1659. goodsgroupname:
  1660. description: 商品组名称(品种)
  1661. type: string
  1662. goodsid:
  1663. description: 商品ID
  1664. type: integer
  1665. goodsname:
  1666. description: 商品名称(合约)
  1667. type: string
  1668. goodunit:
  1669. description: 报价单位
  1670. type: string
  1671. marketid:
  1672. description: 市场ID
  1673. type: integer
  1674. orderid:
  1675. description: 委托单号
  1676. type: string
  1677. outgoodscode:
  1678. description: 商品代码(外部)
  1679. type: string
  1680. relatedouttradeid:
  1681. description: 关联外部成交单ID
  1682. type: string
  1683. remark:
  1684. description: 备注
  1685. type: string
  1686. spotcontractid:
  1687. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1688. type: integer
  1689. spotcontractno:
  1690. description: 现货合同编号
  1691. type: string
  1692. tradeid:
  1693. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1694. type: string
  1695. tradeprice:
  1696. description: 成交价格
  1697. type: number
  1698. tradeqty:
  1699. description: 成交数量
  1700. type: integer
  1701. tradetime:
  1702. description: 成交时间
  1703. type: string
  1704. updatetime:
  1705. description: 更新时间
  1706. type: string
  1707. required:
  1708. - asapplyid
  1709. - buyorsell
  1710. - goodscode
  1711. - goodsgroupid
  1712. - goodsgroupname
  1713. - goodsname
  1714. - tradeid
  1715. type: object
  1716. erms2.QuerySpotContractRsp:
  1717. properties:
  1718. accountid:
  1719. description: 资金账户ID
  1720. type: integer
  1721. areauserid:
  1722. description: 所属机构
  1723. type: integer
  1724. closedate:
  1725. description: 终止日期
  1726. type: string
  1727. closeremark:
  1728. description: 结束备注
  1729. type: string
  1730. closetradedate:
  1731. description: 完结交易日(yyyyMMdd)
  1732. type: string
  1733. closetype:
  1734. description: 终止类型 - 1:违约 2:提前终止
  1735. type: integer
  1736. contractamount:
  1737. description: 合同金额
  1738. type: number
  1739. contractattachment:
  1740. description: 合同附件
  1741. type: string
  1742. contractno:
  1743. description: 现货合同编号
  1744. type: string
  1745. contractqty:
  1746. description: 合同数量(数值) (用于计算)
  1747. type: number
  1748. contractqtychar:
  1749. description: 合同数量\已订价数量 (用于显示)
  1750. type: string
  1751. contractstatus:
  1752. description: 合同状态 - 0:未结束 1:已结束
  1753. type: integer
  1754. contracttype:
  1755. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1756. type: integer
  1757. customeraccountid:
  1758. description: 客户资金账户ID
  1759. type: integer
  1760. customeruserid:
  1761. description: 客户ID
  1762. type: integer
  1763. deliverygoodsdesc:
  1764. description: 品种说明
  1765. type: string
  1766. deliverygoodsid:
  1767. description: 现货品种ID
  1768. type: integer
  1769. handlestatus:
  1770. description: 处理状态
  1771. type: integer
  1772. invoiceatt:
  1773. description: 发票附件
  1774. type: string
  1775. invoicedatetime:
  1776. description: 开收票更新时间
  1777. type: string
  1778. invoiceopentime:
  1779. description: 开票时间
  1780. type: string
  1781. invoiceremark:
  1782. description: 发票备注
  1783. type: string
  1784. invoicestatus:
  1785. description: 开收票状态 - 0:未开票 1:已开票
  1786. type: integer
  1787. lastdate:
  1788. description: 交货时间
  1789. type: string
  1790. marketid:
  1791. description: 市场ID
  1792. type: integer
  1793. paydatetime:
  1794. description: 收付款更新时间
  1795. type: string
  1796. payremark:
  1797. description: 收付款备注
  1798. type: string
  1799. paystatus:
  1800. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1801. type: integer
  1802. positionqty:
  1803. description: 头寸数量 - 合同数量去小数部分
  1804. type: integer
  1805. producttype:
  1806. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1807. type: integer
  1808. relatedqty:
  1809. description: 已关联数量
  1810. type: number
  1811. relatedstatus:
  1812. description: 关联完结状态 - 0:未结束 1:已结束
  1813. type: integer
  1814. remark:
  1815. description: 备注
  1816. type: string
  1817. signdate:
  1818. description: 签订日期
  1819. type: string
  1820. spotcontractid:
  1821. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1822. type: string
  1823. spotdatetime:
  1824. description: 收发货更新时间
  1825. type: string
  1826. spotprice:
  1827. description: 价格
  1828. type: number
  1829. spotremark:
  1830. description: 收发货备注
  1831. type: string
  1832. spotstatus:
  1833. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1834. type: integer
  1835. tradedate:
  1836. description: 交易日(yyyyMMdd)
  1837. type: string
  1838. userid:
  1839. description: 业务员用户ID
  1840. type: integer
  1841. warehouseid:
  1842. description: 仓库ID
  1843. type: integer
  1844. wrfactortypeid:
  1845. description: 仓单要素类型ID
  1846. type: integer
  1847. wrstandardid:
  1848. description: 仓单标准ID(SEQ_WRSTANDARD)
  1849. type: integer
  1850. required:
  1851. - spotcontractid
  1852. type: object
  1853. erms3.AddErms2ASApplyReq:
  1854. properties:
  1855. applybasis:
  1856. description: 申请基差
  1857. type: number
  1858. applystatus:
  1859. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1860. type: integer
  1861. asapplyid:
  1862. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1863. type: integer
  1864. asname:
  1865. description: 策略名称
  1866. type: string
  1867. asno:
  1868. description: 策略编号
  1869. type: string
  1870. auditid:
  1871. description: 审核人
  1872. type: integer
  1873. auditremark:
  1874. description: 审核备注
  1875. type: string
  1876. audittime:
  1877. description: 审核时间
  1878. type: string
  1879. biztype:
  1880. description: 业务类型 - 1:正向套利 2:反向套利
  1881. type: integer
  1882. createtime:
  1883. description: 创建时间
  1884. type: string
  1885. creatorid:
  1886. description: 创建人
  1887. type: integer
  1888. deliverygoodsid:
  1889. description: 现货品种ID
  1890. type: integer
  1891. futurequote:
  1892. description: 期货额度
  1893. type: number
  1894. goodsgroupid:
  1895. description: 期货品种ID
  1896. type: integer
  1897. marketid:
  1898. description: 市场ID
  1899. type: integer
  1900. remark:
  1901. description: 备注
  1902. type: string
  1903. spotquota:
  1904. description: 现货额度
  1905. type: number
  1906. tradedate:
  1907. description: 交易日(yyyyMMdd)
  1908. type: string
  1909. userid:
  1910. description: 所属机构
  1911. type: integer
  1912. required:
  1913. - asapplyid
  1914. type: object
  1915. erms3.AddErms2SpotTradeApplyReq:
  1916. properties:
  1917. applyjsondetail:
  1918. description: 申请明细(JSON)
  1919. type: string
  1920. applystatus:
  1921. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1922. type: integer
  1923. areauserid:
  1924. description: 所属机构
  1925. type: integer
  1926. auditid:
  1927. description: 审核人
  1928. type: integer
  1929. auditremark:
  1930. description: 审核备注
  1931. type: string
  1932. audittime:
  1933. description: 审核时间
  1934. type: string
  1935. createtime:
  1936. description: 创建时间
  1937. type: string
  1938. creatorid:
  1939. description: 创建人
  1940. type: integer
  1941. deliverygoodsid:
  1942. description: 现货品种ID
  1943. type: integer
  1944. futureaccountid:
  1945. description: 期货资金账户
  1946. type: integer
  1947. goodsgroupid:
  1948. description: 期货品种
  1949. type: integer
  1950. marketid:
  1951. description: 市场ID
  1952. type: integer
  1953. remark:
  1954. description: 备注
  1955. type: string
  1956. spotaccountid:
  1957. description: 现货资金账户
  1958. type: integer
  1959. spottradeid:
  1960. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1961. type: integer
  1962. spottradename:
  1963. description: 业务名称
  1964. type: string
  1965. spottradeno:
  1966. description: 业务编号
  1967. type: string
  1968. tradedate:
  1969. description: 交易日(yyyyMMdd)
  1970. type: string
  1971. wrstandardid:
  1972. description: 仓单标准ID
  1973. type: integer
  1974. required:
  1975. - spottradeid
  1976. type: object
  1977. erms3.AddSpotContractApplyReq:
  1978. properties:
  1979. accountid:
  1980. description: 资金账户ID
  1981. type: integer
  1982. areauserid:
  1983. description: 所属机构
  1984. type: integer
  1985. contractattachment:
  1986. description: 合同附件
  1987. type: string
  1988. contractno:
  1989. description: 现货合同编号
  1990. type: string
  1991. contracttype:
  1992. description: 现货合同类型 - 1:采购 -1:销售
  1993. type: integer
  1994. creatorid:
  1995. description: 申请人
  1996. type: integer
  1997. customeraccountid:
  1998. description: 客户资金账户ID
  1999. type: integer
  2000. customeruserid:
  2001. description: 客户ID
  2002. type: integer
  2003. details:
  2004. description: 明细
  2005. items:
  2006. $ref: '#/definitions/erms3.SoptContractDetail'
  2007. type: array
  2008. orimargin:
  2009. description: 初始保证金
  2010. type: number
  2011. remark:
  2012. description: 备注
  2013. type: string
  2014. signdate:
  2015. description: 签订日期
  2016. type: string
  2017. required:
  2018. - accountid
  2019. - areauserid
  2020. - contractno
  2021. - contracttype
  2022. - customeraccountid
  2023. - customeruserid
  2024. - details
  2025. - orimargin
  2026. - signdate
  2027. type: object
  2028. erms3.AddSpotContractApplyRsp:
  2029. properties:
  2030. contractno:
  2031. description: 现货合同编号
  2032. type: string
  2033. spotcontractid:
  2034. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2035. type: integer
  2036. required:
  2037. - contractno
  2038. type: object
  2039. erms3.AddUserInfoApplyReq:
  2040. properties:
  2041. accountid:
  2042. description: 交易系统帐号Id (加密存储)
  2043. type: integer
  2044. areacode:
  2045. description: 机构代码
  2046. type: string
  2047. areaid:
  2048. description: 机构Id
  2049. type: integer
  2050. attachment1:
  2051. description: 附件1
  2052. type: string
  2053. attachment2:
  2054. description: 附件2
  2055. type: string
  2056. attachment3:
  2057. description: 附件3
  2058. type: string
  2059. attachment4:
  2060. description: 附件4
  2061. type: string
  2062. attachment5:
  2063. description: 附件5
  2064. type: string
  2065. auditedby:
  2066. description: 审核人
  2067. type: string
  2068. auditime:
  2069. description: 审核时间
  2070. type: string
  2071. bankaccount:
  2072. description: 银行帐号 (加密存储)
  2073. type: string
  2074. bankaccountname:
  2075. description: 收款人名称
  2076. type: string
  2077. bankcardbackphotourl:
  2078. description: 银行卡背面照地址
  2079. type: string
  2080. bankcardfrontphotourl:
  2081. description: 银行卡正面照地址
  2082. type: string
  2083. bankid:
  2084. description: 银行编码
  2085. type: string
  2086. bankname:
  2087. description: 银行名称
  2088. type: string
  2089. bankpictureurl:
  2090. description: 银行卡正面地址
  2091. type: string
  2092. biznature:
  2093. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2094. type: integer
  2095. bizscope:
  2096. description: 企业经营范围(企业)
  2097. type: string
  2098. biztype:
  2099. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2100. type: integer
  2101. brokerid:
  2102. description: 经纪人ID(加密存储)
  2103. type: string
  2104. cardaddress:
  2105. description: 证件地址 (加密存储)
  2106. type: string
  2107. cardbackphotourl:
  2108. description: 背面证件照地址
  2109. type: string
  2110. cardfrontphotourl:
  2111. description: 正面证件照地址
  2112. type: string
  2113. cardnum:
  2114. description: 证件号码 (加密存储)
  2115. type: string
  2116. cardtype:
  2117. description: 证件类型
  2118. type: integer
  2119. cityid:
  2120. description: 市
  2121. type: integer
  2122. company:
  2123. description: 公司(个人)
  2124. type: string
  2125. contactcardbackphotourl:
  2126. description: 联系人证件背面图片地址
  2127. type: string
  2128. contactcardfrontphotourl:
  2129. description: 联系人证件正面图片地址
  2130. type: string
  2131. contactname:
  2132. description: 联系人
  2133. type: string
  2134. countryid:
  2135. description: 国家
  2136. type: integer
  2137. createtime:
  2138. description: 开户申请时间
  2139. type: string
  2140. cusbankid:
  2141. description: 签约类型
  2142. type: string
  2143. cusbankname:
  2144. description: 签约类型名称
  2145. type: string
  2146. customername:
  2147. description: 客户名称(企业名称)
  2148. type: string
  2149. districtid:
  2150. description: 地区
  2151. type: integer
  2152. email:
  2153. description: Email地址(加密存储)
  2154. type: string
  2155. halfbodyphotourl:
  2156. description: 半身照地址
  2157. type: string
  2158. headurl:
  2159. description: 头像地址
  2160. type: string
  2161. ipaddress:
  2162. description: IP地址
  2163. type: string
  2164. isvalidate:
  2165. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2166. type: string
  2167. legalcardbackphotourl:
  2168. description: 法人身份证背面照地址
  2169. type: string
  2170. legalcardfrontphotourl:
  2171. description: 法人身份证正面照地址
  2172. type: string
  2173. legalpersonname:
  2174. description: 法人姓名(企业)
  2175. type: string
  2176. logincode:
  2177. description: 登录帐号 (加密存储)
  2178. type: string
  2179. memberareaid:
  2180. description: 所属会员ID
  2181. type: integer
  2182. mobile2:
  2183. description: 手机号码[明文-尚志]
  2184. type: string
  2185. mobilephone:
  2186. description: 手机号码 (加密存储)
  2187. type: string
  2188. modifiedby:
  2189. description: 修改人帐号
  2190. type: integer
  2191. modifiedtime:
  2192. description: 修改时间
  2193. type: string
  2194. nickname:
  2195. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2196. type: string
  2197. openmode:
  2198. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2199. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2200. type: integer
  2201. otherurl:
  2202. description: 其它图片地址[使用分号分隔]
  2203. type: string
  2204. postalcode:
  2205. description: 邮政编码
  2206. type: string
  2207. provinceid:
  2208. description: 省
  2209. type: integer
  2210. proxystatementurl:
  2211. description: 授权委托书
  2212. type: string
  2213. qq:
  2214. description: QQ(加密存储
  2215. type: string
  2216. referral:
  2217. description: 推荐人编码
  2218. type: string
  2219. remark:
  2220. description: 备注
  2221. type: string
  2222. removebeforestatus:
  2223. description: REMOVEBEFORESTATUS
  2224. type: integer
  2225. sex:
  2226. description: 性别 - 0:女 1:男
  2227. type: integer
  2228. signedstatus:
  2229. description: 账户一号签签约状态
  2230. type: integer
  2231. signpdfurl:
  2232. description: 签约pdf文件
  2233. type: string
  2234. subbranch:
  2235. description: 开户支行
  2236. type: string
  2237. telphone:
  2238. description: 联系电话(加密存储)
  2239. type: string
  2240. userid:
  2241. description: 用户ID(自增ID)
  2242. type: integer
  2243. userinfotype:
  2244. description: 用户信息类型 - 1:个人 2:企业
  2245. type: integer
  2246. username:
  2247. description: 用户姓名
  2248. type: string
  2249. userstate:
  2250. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2251. type: integer
  2252. usertype:
  2253. description: 用户类型 - 1:投资者 2:机构
  2254. type: integer
  2255. videourl:
  2256. description: 视频地址
  2257. type: string
  2258. wechat:
  2259. description: 微信号 (加密存储)
  2260. type: string
  2261. required:
  2262. - userid
  2263. type: object
  2264. erms3.CustomerInfo:
  2265. properties:
  2266. accountids:
  2267. description: 资金账户ID列表
  2268. items:
  2269. type: integer
  2270. type: array
  2271. customername:
  2272. description: 名称(企业名称)
  2273. type: string
  2274. mobile:
  2275. description: 手机号码
  2276. type: string
  2277. userid:
  2278. description: 用户ID
  2279. type: integer
  2280. required:
  2281. - userid
  2282. type: object
  2283. erms3.ModifyUserInfoApplyReq:
  2284. properties:
  2285. accountid:
  2286. description: 交易系统帐号Id (加密存储)
  2287. type: integer
  2288. areacode:
  2289. description: 机构代码
  2290. type: string
  2291. areaid:
  2292. description: 机构Id
  2293. type: integer
  2294. attachment1:
  2295. description: 附件1
  2296. type: string
  2297. attachment2:
  2298. description: 附件2
  2299. type: string
  2300. attachment3:
  2301. description: 附件3
  2302. type: string
  2303. attachment4:
  2304. description: 附件4
  2305. type: string
  2306. attachment5:
  2307. description: 附件5
  2308. type: string
  2309. auditedby:
  2310. description: 审核人
  2311. type: string
  2312. auditime:
  2313. description: 审核时间
  2314. type: string
  2315. bankaccount:
  2316. description: 银行帐号 (加密存储)
  2317. type: string
  2318. bankaccountname:
  2319. description: 收款人名称
  2320. type: string
  2321. bankcardbackphotourl:
  2322. description: 银行卡背面照地址
  2323. type: string
  2324. bankcardfrontphotourl:
  2325. description: 银行卡正面照地址
  2326. type: string
  2327. bankid:
  2328. description: 银行编码
  2329. type: string
  2330. bankname:
  2331. description: 银行名称
  2332. type: string
  2333. bankpictureurl:
  2334. description: 银行卡正面地址
  2335. type: string
  2336. biznature:
  2337. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2338. type: integer
  2339. bizscope:
  2340. description: 企业经营范围(企业)
  2341. type: string
  2342. biztype:
  2343. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2344. type: integer
  2345. brokerid:
  2346. description: 经纪人ID(加密存储)
  2347. type: string
  2348. cardaddress:
  2349. description: 证件地址 (加密存储)
  2350. type: string
  2351. cardbackphotourl:
  2352. description: 背面证件照地址
  2353. type: string
  2354. cardfrontphotourl:
  2355. description: 正面证件照地址
  2356. type: string
  2357. cardnum:
  2358. description: 证件号码 (加密存储)
  2359. type: string
  2360. cardtype:
  2361. description: 证件类型
  2362. type: integer
  2363. cityid:
  2364. description: 市
  2365. type: integer
  2366. company:
  2367. description: 公司(个人)
  2368. type: string
  2369. contactcardbackphotourl:
  2370. description: 联系人证件背面图片地址
  2371. type: string
  2372. contactcardfrontphotourl:
  2373. description: 联系人证件正面图片地址
  2374. type: string
  2375. contactname:
  2376. description: 联系人
  2377. type: string
  2378. countryid:
  2379. description: 国家
  2380. type: integer
  2381. createtime:
  2382. description: 开户申请时间
  2383. type: string
  2384. cusbankid:
  2385. description: 签约类型
  2386. type: string
  2387. cusbankname:
  2388. description: 签约类型名称
  2389. type: string
  2390. customername:
  2391. description: 客户名称(企业名称)
  2392. type: string
  2393. districtid:
  2394. description: 地区
  2395. type: integer
  2396. email:
  2397. description: Email地址(加密存储)
  2398. type: string
  2399. halfbodyphotourl:
  2400. description: 半身照地址
  2401. type: string
  2402. headurl:
  2403. description: 头像地址
  2404. type: string
  2405. ipaddress:
  2406. description: IP地址
  2407. type: string
  2408. isvalidate:
  2409. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2410. type: string
  2411. legalcardbackphotourl:
  2412. description: 法人身份证背面照地址
  2413. type: string
  2414. legalcardfrontphotourl:
  2415. description: 法人身份证正面照地址
  2416. type: string
  2417. legalpersonname:
  2418. description: 法人姓名(企业)
  2419. type: string
  2420. logincode:
  2421. description: 登录帐号 (加密存储)
  2422. type: string
  2423. memberareaid:
  2424. description: 所属会员ID
  2425. type: integer
  2426. mobile2:
  2427. description: 手机号码[明文-尚志]
  2428. type: string
  2429. mobilephone:
  2430. description: 手机号码 (加密存储)
  2431. type: string
  2432. modifiedby:
  2433. description: 修改人帐号
  2434. type: integer
  2435. modifiedtime:
  2436. description: 修改时间
  2437. type: string
  2438. nickname:
  2439. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2440. type: string
  2441. openmode:
  2442. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2443. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2444. type: integer
  2445. otherurl:
  2446. description: 其它图片地址[使用分号分隔]
  2447. type: string
  2448. postalcode:
  2449. description: 邮政编码
  2450. type: string
  2451. provinceid:
  2452. description: 省
  2453. type: integer
  2454. proxystatementurl:
  2455. description: 授权委托书
  2456. type: string
  2457. qq:
  2458. description: QQ(加密存储
  2459. type: string
  2460. referral:
  2461. description: 推荐人编码
  2462. type: string
  2463. remark:
  2464. description: 备注
  2465. type: string
  2466. removebeforestatus:
  2467. description: REMOVEBEFORESTATUS
  2468. type: integer
  2469. sex:
  2470. description: 性别 - 0:女 1:男
  2471. type: integer
  2472. signedstatus:
  2473. description: 账户一号签签约状态
  2474. type: integer
  2475. signpdfurl:
  2476. description: 签约pdf文件
  2477. type: string
  2478. subbranch:
  2479. description: 开户支行
  2480. type: string
  2481. telphone:
  2482. description: 联系电话(加密存储)
  2483. type: string
  2484. userid:
  2485. description: 用户ID(自增ID)
  2486. type: integer
  2487. userinfotype:
  2488. description: 用户信息类型 - 1:个人 2:企业
  2489. type: integer
  2490. username:
  2491. description: 用户姓名
  2492. type: string
  2493. userstate:
  2494. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2495. type: integer
  2496. usertype:
  2497. description: 用户类型 - 1:投资者 2:机构
  2498. type: integer
  2499. videourl:
  2500. description: 视频地址
  2501. type: string
  2502. wechat:
  2503. description: 微信号 (加密存储)
  2504. type: string
  2505. required:
  2506. - userid
  2507. type: object
  2508. erms3.QryAuditContractRsp:
  2509. properties:
  2510. accountid:
  2511. description: 交易员ID
  2512. type: string
  2513. applystatus:
  2514. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2515. type: integer
  2516. curdeliveryqty:
  2517. description: 未交收量
  2518. type: integer
  2519. customername:
  2520. description: 采购方ID
  2521. type: string
  2522. deliverygoodsid:
  2523. description: 品种ID
  2524. type: string
  2525. deliveryqty:
  2526. description: 交收量
  2527. type: integer
  2528. enumdicname:
  2529. description: 单位名称
  2530. type: string
  2531. matchaccountid:
  2532. description: 业务员ID
  2533. type: string
  2534. matchcustomername:
  2535. description: 销售方ID
  2536. type: string
  2537. pricedqty:
  2538. description: 定价量
  2539. type: number
  2540. signdate:
  2541. description: 签订日期
  2542. type: string
  2543. spotcontractid:
  2544. description: 合同ID
  2545. type: string
  2546. totaldqty:
  2547. description: 合同量
  2548. type: number
  2549. unpricedqty:
  2550. description: 未定价量
  2551. type: number
  2552. wrstandardname:
  2553. description: 商品名称
  2554. type: string
  2555. required:
  2556. - matchcustomername
  2557. - spotcontractid
  2558. type: object
  2559. erms3.QryPendingBizRsp:
  2560. $ref: '#/definitions/models.PendingAuditBizModel'
  2561. erms3.QueryBusinessInfoRsp:
  2562. properties:
  2563. businessid:
  2564. description: 业务ID.
  2565. type: integer
  2566. buyamount:
  2567. description: 采购额.
  2568. type: number
  2569. buyqty:
  2570. description: 采购量.
  2571. type: string
  2572. futurepl:
  2573. description: 期货盈亏.
  2574. type: number
  2575. futureqty:
  2576. description: 期货敞口.
  2577. type: string
  2578. goodsid:
  2579. description: 商品名称/商品代码.
  2580. type: string
  2581. hedgingqty:
  2582. description: 套保量.
  2583. type: string
  2584. sellamount:
  2585. description: 销售额.
  2586. type: number
  2587. sellqty:
  2588. description: 销售量.
  2589. type: string
  2590. spotmarketvalue:
  2591. description: 现货市值.
  2592. type: number
  2593. spotpl:
  2594. description: 浮动权益.
  2595. type: number
  2596. spotqty:
  2597. description: 现货量.
  2598. type: string
  2599. statu:
  2600. description: 状态,0-未结束 1-已结束.
  2601. type: integer
  2602. totalpl:
  2603. description: 总盈亏.
  2604. type: number
  2605. totalqty:
  2606. description: 总敞口.
  2607. type: string
  2608. type:
  2609. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2610. type: integer
  2611. type: object
  2612. erms3.QuerySpotContractAppleFormRsp:
  2613. properties:
  2614. goodses:
  2615. description: 合约列表
  2616. items:
  2617. $ref: '#/definitions/models.GoodsIDAndName'
  2618. type: array
  2619. oppositeusers:
  2620. description: 对方账号列表
  2621. items:
  2622. $ref: '#/definitions/erms3.CustomerInfo'
  2623. type: array
  2624. ouruser:
  2625. $ref: '#/definitions/erms3.CustomerInfo'
  2626. description: 我方账号
  2627. type: object
  2628. warehouseinfos:
  2629. description: 仓库信息列表
  2630. items:
  2631. $ref: '#/definitions/models.Warehouseinfo'
  2632. type: array
  2633. wrstandards:
  2634. description: 仓单标准列表
  2635. items:
  2636. $ref: '#/definitions/models.WRStandardInfo'
  2637. type: array
  2638. type: object
  2639. erms3.QuerySpotContractInfoRsp:
  2640. properties:
  2641. accountid:
  2642. description: 表示交易员ID.
  2643. type: integer
  2644. curdeliveryqty:
  2645. description: 表示未交收量.
  2646. type: number
  2647. customername:
  2648. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2649. type: string
  2650. deliverygoodsid:
  2651. description: 表示品种ID.
  2652. type: string
  2653. deliveryqty:
  2654. description: 表示交收量.
  2655. type: number
  2656. matchaccountid:
  2657. description: 表示业务员ID.
  2658. type: integer
  2659. matchcustomername:
  2660. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2661. type: string
  2662. priceqty:
  2663. description: 表示定价量.
  2664. type: number
  2665. relatedbizid:
  2666. description: 表示业务ID.
  2667. type: string
  2668. signdate:
  2669. description: 表示签订日期.
  2670. type: string
  2671. spotcontractid:
  2672. description: 合同ID
  2673. type: string
  2674. status:
  2675. description: 表示状态,0-履约中 1-已完成.
  2676. type: integer
  2677. totalqty:
  2678. description: 表示合同量.
  2679. type: number
  2680. unpricedqty:
  2681. description: 表示未定价量.
  2682. type: number
  2683. wrstandardname:
  2684. description: 表示商品ID.
  2685. type: string
  2686. type: object
  2687. erms3.QueryUserInfoAppliesRsp:
  2688. properties:
  2689. biznature:
  2690. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2691. type: integer
  2692. contactname:
  2693. description: 联系人
  2694. type: string
  2695. createtime:
  2696. description: 开户申请时间
  2697. type: string
  2698. userid:
  2699. description: 用户ID(自增ID)
  2700. type: integer
  2701. userinfotype:
  2702. description: 用户信息类型 - 1:个人 2:企业
  2703. type: integer
  2704. username:
  2705. description: 用户姓名
  2706. type: string
  2707. userstate:
  2708. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2709. type: integer
  2710. required:
  2711. - userid
  2712. type: object
  2713. erms3.QueryUserInfosRsp:
  2714. properties:
  2715. biznature:
  2716. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2717. type: integer
  2718. contactname:
  2719. description: 联系人
  2720. type: string
  2721. customername:
  2722. description: 客户名称(企业名称)
  2723. type: string
  2724. userid:
  2725. description: 用户ID
  2726. type: integer
  2727. userinfotype:
  2728. description: 用户信息类型 - 1:个人 2:企业
  2729. type: integer
  2730. userstatus:
  2731. description: 用户状态 - 1:正常 2:注销
  2732. type: integer
  2733. required:
  2734. - userid
  2735. type: object
  2736. erms3.SoptContractDetail:
  2737. properties:
  2738. deliverygoodsdesc:
  2739. description: 现货品种说明
  2740. type: string
  2741. deliverygoodsid:
  2742. description: 现货品种ID
  2743. type: integer
  2744. deliverygoodsname:
  2745. description: 现货品种名称
  2746. type: string
  2747. pointdesc:
  2748. description: 点价描述
  2749. type: string
  2750. producttype:
  2751. description: 产品类型 1:标准仓单 2:等标 3:非标
  2752. type: integer
  2753. producttypename:
  2754. description: 产品类型名称
  2755. type: string
  2756. spotPointOrderVoList:
  2757. description: 点价列表
  2758. items:
  2759. $ref: '#/definitions/erms3.SpotPointOrder'
  2760. type: array
  2761. spotPriceOrderList:
  2762. description: 定价列表
  2763. items:
  2764. $ref: '#/definitions/erms3.SpotPriceOrder'
  2765. type: array
  2766. unitname:
  2767. description: 单位名称
  2768. type: string
  2769. warehouseid:
  2770. description: 仓库ID
  2771. type: integer
  2772. warehousename:
  2773. description: 仓库名称
  2774. type: string
  2775. wrstandardid:
  2776. description: 交易标的ID
  2777. type: integer
  2778. wrstandardname:
  2779. description: 交易标的名称
  2780. type: string
  2781. required:
  2782. - deliverygoodsid
  2783. - producttype
  2784. - unitname
  2785. - warehouseid
  2786. - wrstandardid
  2787. - wrstandardname
  2788. type: object
  2789. erms3.SpotPointOrder:
  2790. properties:
  2791. basic:
  2792. description: 基差
  2793. type: number
  2794. deliveryenddate:
  2795. description: 交收结束日期
  2796. type: string
  2797. deliverystartdate:
  2798. description: 交收开始日期
  2799. type: string
  2800. enddate:
  2801. description: 点价结束日期
  2802. type: string
  2803. goodsid:
  2804. description: 商品ID
  2805. type: integer
  2806. goodsname:
  2807. description: 商品名称
  2808. type: string
  2809. qty:
  2810. description: 数量
  2811. type: number
  2812. startdate:
  2813. description: 点价开始日期
  2814. type: string
  2815. required:
  2816. - basic
  2817. - goodsid
  2818. - qty
  2819. type: object
  2820. erms3.SpotPriceOrder:
  2821. properties:
  2822. amount:
  2823. description: 金额
  2824. type: number
  2825. deliveryenddate:
  2826. description: 交收结束日期
  2827. type: string
  2828. deliverystartdate:
  2829. description: 交收开始日期
  2830. type: string
  2831. price:
  2832. description: 价格
  2833. type: number
  2834. qty:
  2835. description: 数量
  2836. type: number
  2837. required:
  2838. - amount
  2839. - price
  2840. - qty
  2841. type: object
  2842. hsby.GetHsbyMyCountRsp:
  2843. properties:
  2844. myCouponCount:
  2845. description: 我的优惠卷数量
  2846. type: integer
  2847. myOrderDetailListingCount:
  2848. description: 我的订单求购中数量
  2849. type: integer
  2850. myOrderDetailPreCount:
  2851. description: 我的订单抢购中数量
  2852. type: integer
  2853. myPackageUnReceiveCount:
  2854. description: 我的包裹待收货数量
  2855. type: integer
  2856. myPackageUnSendCount:
  2857. description: 我的包裹待发货数量
  2858. type: integer
  2859. myPayOrderCount:
  2860. description: 我的订单待付款数量
  2861. type: integer
  2862. type: object
  2863. hsby.QueryProvincesAndCitiesRsp:
  2864. properties:
  2865. cities:
  2866. description: 市
  2867. items:
  2868. $ref: '#/definitions/models.Division'
  2869. type: array
  2870. province:
  2871. $ref: '#/definitions/models.Division'
  2872. description: 省
  2873. type: object
  2874. type: object
  2875. models.AreaSpotModel:
  2876. properties:
  2877. areauserid:
  2878. description: 所属机构
  2879. type: integer
  2880. decreaseqty:
  2881. description: 减少数量=-(销售已定价数量+采购计划数量)
  2882. type: number
  2883. increaseqty:
  2884. description: 增加数量=销售计划数量+采购已定价数量
  2885. type: number
  2886. oritoalspotqty:
  2887. description: 昨日数量
  2888. type: number
  2889. totalspotqty:
  2890. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2891. type: number
  2892. updatetime:
  2893. description: 更新时间
  2894. type: string
  2895. wrstandardcode:
  2896. description: 现货品种代码
  2897. type: string
  2898. wrstandardid:
  2899. description: 现货商品ID
  2900. type: integer
  2901. wrstandardname:
  2902. description: 现货品种
  2903. type: string
  2904. type: object
  2905. models.Clientfixedadconfig:
  2906. properties:
  2907. adsort:
  2908. description: 排序
  2909. type: integer
  2910. adtype:
  2911. description: 广告位类型 - 1:新品抢购(HSBY)
  2912. type: integer
  2913. areauserid:
  2914. description: 所属机构ID
  2915. type: integer
  2916. createdate:
  2917. description: 创建时间
  2918. type: string
  2919. creatorid:
  2920. description: 创建人
  2921. type: integer
  2922. imagepath:
  2923. description: 图片
  2924. type: string
  2925. isshow:
  2926. description: 是否展示 - 0:不展示 1:展示
  2927. type: integer
  2928. modifierid:
  2929. description: 操作人
  2930. type: integer
  2931. recsize:
  2932. description: 推荐尺寸
  2933. type: string
  2934. title:
  2935. description: 标题
  2936. type: string
  2937. updatedate:
  2938. description: 更新时间
  2939. type: string
  2940. urlcontent:
  2941. description: 链接(地址或商品ID)
  2942. type: string
  2943. urltype:
  2944. description: 链接类型 - 1:直接地址 2:商品ID
  2945. type: integer
  2946. required:
  2947. - adsort
  2948. - adtype
  2949. type: object
  2950. models.Division:
  2951. properties:
  2952. autoid:
  2953. description: 自增ID
  2954. type: integer
  2955. divisioncode:
  2956. description: 行政代码
  2957. type: string
  2958. divisionlevel:
  2959. description: 行政级别
  2960. type: string
  2961. divisionname:
  2962. description: 行政名称
  2963. type: string
  2964. modifierid:
  2965. description: 修改人
  2966. type: integer
  2967. modifytime:
  2968. description: 修改时间
  2969. type: string
  2970. parentcode:
  2971. description: 上级行政代码
  2972. type: string
  2973. pathname:
  2974. description: 路径名称
  2975. type: string
  2976. postcode:
  2977. description: 邮政编码
  2978. type: string
  2979. separablename:
  2980. description: 可拆分的全称
  2981. type: string
  2982. shortcode:
  2983. description: 地区简码
  2984. type: string
  2985. required:
  2986. - autoid
  2987. - divisioncode
  2988. type: object
  2989. models.Enumdicitem:
  2990. properties:
  2991. autoid:
  2992. description: 自增ID
  2993. type: integer
  2994. bankmappedvalue:
  2995. description: 银行服务对应值
  2996. type: string
  2997. enumdiccode:
  2998. description: 所属枚举代码
  2999. type: string
  3000. enumdicid:
  3001. description: 所属枚举ID
  3002. type: integer
  3003. enumdicname:
  3004. description: 枚举项名称
  3005. type: string
  3006. enumitemname:
  3007. description: 枚举项值
  3008. type: integer
  3009. enumitemstatus:
  3010. description: 枚举项状态 - 1.启用 2.不启用
  3011. type: integer
  3012. enumitemvalue:
  3013. description: 通用值 - [币种通用简写]
  3014. type: string
  3015. param1:
  3016. description: 参数1[币种:币种小数位]
  3017. type: string
  3018. param2:
  3019. description: 参数1[币种:币种显示单位]
  3020. type: string
  3021. remark:
  3022. description: 备注
  3023. type: string
  3024. required:
  3025. - autoid
  3026. - enumdiccode
  3027. - enumdicid
  3028. - enumitemname
  3029. type: object
  3030. models.ErmcpAreaSpotDetailModel:
  3031. properties:
  3032. contracttype:
  3033. description: 合同类型 1-采购 -1-销售
  3034. type: integer
  3035. createtime:
  3036. description: 创建时间
  3037. type: string
  3038. enumdicname:
  3039. description: 现货商品单位名称
  3040. type: string
  3041. logtype:
  3042. description: 记录类型 1-套保 2-现货合同
  3043. type: integer
  3044. qty:
  3045. description: 数量
  3046. type: number
  3047. recordname:
  3048. description: 类型名称
  3049. type: string
  3050. relatedid:
  3051. description: 套保计划ID/现货合同ID
  3052. type: string
  3053. relatedno:
  3054. description: 编号
  3055. type: string
  3056. strtime:
  3057. description: 时间
  3058. type: string
  3059. wrstandardcode:
  3060. description: 现货商品代码
  3061. type: string
  3062. wrstandardname:
  3063. description: 现货商品名称
  3064. type: string
  3065. type: object
  3066. models.ErmcpAreaStock:
  3067. properties:
  3068. brandname:
  3069. description: 品牌名称
  3070. type: string
  3071. curstock:
  3072. description: 期末库存量(今日量)
  3073. type: number
  3074. deliverygoodsid:
  3075. description: 现货品种ID
  3076. type: integer
  3077. enumdicname:
  3078. description: 单位名称
  3079. type: string
  3080. modelname:
  3081. description: 型号名称
  3082. type: string
  3083. oristock:
  3084. description: 期初库存量(昨日量)
  3085. type: number
  3086. spotgoodsbrandid:
  3087. description: 现货品牌ID
  3088. type: integer
  3089. spotgoodsmodelid:
  3090. description: 现货型号ID
  3091. type: integer
  3092. todaybuyinqty:
  3093. description: 今日采购入库量
  3094. type: number
  3095. todayproduceinqty:
  3096. description: 今日生产入库量
  3097. type: number
  3098. todayproduceoutqty:
  3099. description: 今日生产出库量
  3100. type: number
  3101. todayselloutqty:
  3102. description: 今日销售出库量
  3103. type: number
  3104. unitid:
  3105. description: 单位id
  3106. type: integer
  3107. updatetime:
  3108. description: 更新时间
  3109. type: string
  3110. userid:
  3111. description: 机构ID
  3112. type: integer
  3113. username:
  3114. description: 机构名称
  3115. type: string
  3116. warehousecode:
  3117. description: 仓库代码
  3118. type: string
  3119. warehouseinfoid:
  3120. description: 仓库ID
  3121. type: string
  3122. warehousename:
  3123. description: 仓库名称
  3124. type: string
  3125. warehousetype:
  3126. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3127. type: integer
  3128. wrstandardcode:
  3129. description: 现货商品代码
  3130. type: string
  3131. wrstandardid:
  3132. description: 现货商品ID
  3133. type: string
  3134. wrstandardname:
  3135. description: 现货商品名称
  3136. type: string
  3137. type: object
  3138. models.ErmcpAreaStockApply:
  3139. properties:
  3140. applyid:
  3141. description: 申请人
  3142. type: integer
  3143. applyname:
  3144. description: 申请人名称
  3145. type: string
  3146. applyremark:
  3147. description: 申请备注
  3148. type: string
  3149. applysrc:
  3150. description: 申请来源 - 1:管理端 2:终端
  3151. type: integer
  3152. applystatus:
  3153. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3154. type: integer
  3155. applytime:
  3156. description: 申请时间
  3157. type: string
  3158. auditid:
  3159. description: 审核人
  3160. type: integer
  3161. auditname:
  3162. description: 审核人名称
  3163. type: string
  3164. auditremark:
  3165. description: 审核备注
  3166. type: string
  3167. auditsrc:
  3168. description: 审核来源 - 1:管理端 2:终端
  3169. type: integer
  3170. audittime:
  3171. description: 审核时间
  3172. type: string
  3173. audittradedate:
  3174. description: 审核交易日(yyyyMMdd)
  3175. type: string
  3176. brandname:
  3177. description: 品牌名称
  3178. type: string
  3179. buyuserid:
  3180. description: 采购方userid
  3181. type: integer
  3182. buyusername:
  3183. description: 采购方名称
  3184. type: string
  3185. contractno:
  3186. description: 合同编号
  3187. type: string
  3188. contractqty:
  3189. description: 合同量
  3190. type: number
  3191. contracttype:
  3192. description: 现货合同类型 - 1:采购 -1:销售
  3193. type: integer
  3194. deliverygoodsid:
  3195. description: 现货品种ID
  3196. type: integer
  3197. enumdicname:
  3198. description: 现货商品单位名称
  3199. type: string
  3200. inoutapplyid:
  3201. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3202. type: string
  3203. inouttype:
  3204. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3205. type: integer
  3206. modelname:
  3207. description: 型号名称
  3208. type: string
  3209. pricetype:
  3210. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3211. type: integer
  3212. qty:
  3213. description: 数量
  3214. type: number
  3215. selluserid:
  3216. description: 销售方userid
  3217. type: integer
  3218. sellusername:
  3219. description: 销售方名称
  3220. type: string
  3221. spotcontractid:
  3222. description: 关联现货合同ID
  3223. type: string
  3224. spotgoodsbrandid:
  3225. description: 现货品牌ID
  3226. type: integer
  3227. spotgoodsmodelid:
  3228. description: 现货型号ID
  3229. type: integer
  3230. unitid:
  3231. description: 单位id
  3232. type: integer
  3233. userid:
  3234. description: 机构ID
  3235. type: integer
  3236. warehousecode:
  3237. description: 仓库代码
  3238. type: string
  3239. warehouseinfoid:
  3240. description: 现货仓库ID
  3241. type: string
  3242. warehousename:
  3243. description: 仓库名称
  3244. type: string
  3245. warehousetype:
  3246. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3247. type: integer
  3248. wrstandardcode:
  3249. description: 现货商品代码
  3250. type: string
  3251. wrstandardid:
  3252. description: 现货商品ID
  3253. type: string
  3254. wrstandardname:
  3255. description: 现货商品名称
  3256. type: string
  3257. type: object
  3258. models.ErmcpAreaStockApplySum:
  3259. properties:
  3260. brandname:
  3261. description: 品牌名称
  3262. type: string
  3263. inouttype:
  3264. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3265. type: integer
  3266. modelname:
  3267. description: 型号名称
  3268. type: string
  3269. spotcontractid:
  3270. description: 关联现货合同ID
  3271. type: string
  3272. spotgoodsbrandid:
  3273. description: 品牌id
  3274. type: integer
  3275. spotgoodsmodelid:
  3276. description: 型号id
  3277. type: integer
  3278. totalqty:
  3279. description: 总数量
  3280. type: number
  3281. type: object
  3282. models.ErmcpAreaStockReport:
  3283. properties:
  3284. brandname:
  3285. description: 品牌名称
  3286. type: string
  3287. curstock:
  3288. description: 期末库存量
  3289. type: number
  3290. deliverygoodsid:
  3291. description: 现货品种ID
  3292. type: integer
  3293. enumdicname:
  3294. description: 单位名称
  3295. type: string
  3296. modelname:
  3297. description: 型号名称
  3298. type: string
  3299. oristock:
  3300. description: 期初库存量
  3301. type: number
  3302. spotgoodsbrandid:
  3303. description: 现货品牌ID
  3304. type: integer
  3305. spotgoodsmodelid:
  3306. description: 现货型号ID
  3307. type: integer
  3308. todaybuyinqty:
  3309. description: 今日采购入库量
  3310. type: number
  3311. todayproduceinqty:
  3312. description: 今日生产入库量
  3313. type: number
  3314. todayproduceoutqty:
  3315. description: 今日生产出库量
  3316. type: number
  3317. todayselloutqty:
  3318. description: 今日销售出库量
  3319. type: number
  3320. unitid:
  3321. description: 单位id
  3322. type: integer
  3323. updatetime:
  3324. description: 更新时间
  3325. type: string
  3326. userid:
  3327. description: 机构ID
  3328. type: integer
  3329. username:
  3330. description: 机构名称
  3331. type: string
  3332. warehousecode:
  3333. description: 仓库代码
  3334. type: string
  3335. warehouseinfoid:
  3336. description: 仓库ID
  3337. type: string
  3338. warehousename:
  3339. description: 仓库名称
  3340. type: string
  3341. warehousetype:
  3342. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3343. type: integer
  3344. wrstandardcode:
  3345. description: 现货商品代码
  3346. type: string
  3347. wrstandardid:
  3348. description: 现货商品ID
  3349. type: string
  3350. wrstandardname:
  3351. description: 现货商品名称
  3352. type: string
  3353. type: object
  3354. models.ErmcpAvalidGoodsGroupModel:
  3355. properties:
  3356. goodsgroupid:
  3357. description: 期货品种id
  3358. type: integer
  3359. goodsgroupname:
  3360. description: 期货品种名称
  3361. type: string
  3362. goodunitid:
  3363. description: 品种单位id
  3364. type: integer
  3365. goodunitname:
  3366. description: 品种单位名称
  3367. type: string
  3368. outergroupcode:
  3369. description: 期货品种代码
  3370. type: string
  3371. type: object
  3372. models.ErmcpBizGroupEx:
  3373. properties:
  3374. acclist:
  3375. description: 账号列表
  3376. items:
  3377. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  3378. type: array
  3379. bizgroupid:
  3380. description: 业务分组id
  3381. type: integer
  3382. biztype:
  3383. description: 业务类型 1-套保 2-套利
  3384. type: integer
  3385. wrlist:
  3386. description: 现货商品表
  3387. items:
  3388. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  3389. type: array
  3390. type: object
  3391. models.ErmcpBizGroupSpotGoods:
  3392. properties:
  3393. areauserid:
  3394. description: 所属机构id
  3395. type: integer
  3396. bizgroupid:
  3397. description: 分组id
  3398. type: integer
  3399. biztype:
  3400. description: 业务类型 1-套保 2-套利
  3401. type: integer
  3402. deliverygoodscode:
  3403. description: 现货商品代码
  3404. type: string
  3405. deliverygoodsid:
  3406. description: 现货商品id
  3407. type: integer
  3408. deliverygoodsname:
  3409. description: 现货商品名称
  3410. type: string
  3411. unitid:
  3412. description: 现货商品单位id
  3413. type: integer
  3414. type: object
  3415. models.ErmcpBizGroupTaAccount:
  3416. properties:
  3417. accountid:
  3418. description: 账号id
  3419. type: string
  3420. accountname:
  3421. description: 账号名称
  3422. type: string
  3423. areauserid:
  3424. description: 所属机构id
  3425. type: integer
  3426. bizgroupid:
  3427. description: 业务分组id
  3428. type: integer
  3429. ismain:
  3430. description: 是否主账号 1-是 0-否
  3431. type: integer
  3432. type: object
  3433. models.ErmcpBrand:
  3434. properties:
  3435. brandid:
  3436. description: 品牌id
  3437. type: integer
  3438. brandname:
  3439. description: 品牌名称
  3440. type: string
  3441. deliverygoodsid:
  3442. description: 品种ID
  3443. type: integer
  3444. type: object
  3445. models.ErmcpDeliveryGoods:
  3446. properties:
  3447. agreeunit:
  3448. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  3449. type: integer
  3450. areauserid:
  3451. description: 所属机构
  3452. type: integer
  3453. auditflag:
  3454. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  3455. type: integer
  3456. categoryid:
  3457. description: 类别ID(SEQ_WRCATEGORY)
  3458. type: integer
  3459. deliverygoodscode:
  3460. description: 现货品种代码
  3461. type: string
  3462. deliverygoodsid:
  3463. description: 现货品种ID(SEQ_DELIVERYGOODS)
  3464. type: integer
  3465. deliverygoodsname:
  3466. description: 现货品种名称
  3467. type: string
  3468. deliverygoodstype:
  3469. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  3470. type: integer
  3471. dgstatus:
  3472. description: 品种状态 - 作废 - 0:未激活 1:正常
  3473. type: integer
  3474. enumdicname:
  3475. description: 现货品种单位名称
  3476. type: string
  3477. goodsunitid:
  3478. description: 现货品种单位ID
  3479. type: integer
  3480. isvalid:
  3481. description: 是否有效 - 0:无效 1:有效
  3482. type: integer
  3483. qtydecimalplace:
  3484. description: 成交量小数位
  3485. type: integer
  3486. standardqty:
  3487. description: 标准数量(库位数量) [标准品特有]
  3488. type: integer
  3489. standardqtyrange:
  3490. description: 标准数量偏差范围 [标准品特有]
  3491. type: integer
  3492. type: object
  3493. models.ErmcpDeliveryGoodsDetail:
  3494. properties:
  3495. data:
  3496. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  3497. description: 现货商品基本信息(交割品种)
  3498. type: object
  3499. gblist:
  3500. description: 品牌列表
  3501. items:
  3502. $ref: '#/definitions/models.ErmcpBrand'
  3503. type: array
  3504. gmlist:
  3505. description: 品类列表(仓单标准)
  3506. items:
  3507. $ref: '#/definitions/models.ErmcpWrstandard'
  3508. type: array
  3509. goodslist:
  3510. description: 关联交易商品列表
  3511. items:
  3512. $ref: '#/definitions/models.ErmcpRelatedGoods'
  3513. type: array
  3514. wrslist:
  3515. description: 套保信息列表
  3516. items:
  3517. $ref: '#/definitions/models.WRSConverTDetail'
  3518. type: array
  3519. type: object
  3520. models.ErmcpExposureDetailModel:
  3521. properties:
  3522. areauserid:
  3523. description: 机构ID
  3524. type: integer
  3525. changeQty:
  3526. description: 套保变动量
  3527. type: number
  3528. contracttype:
  3529. description: 现货合同类型 - 1:采购 -1:销售
  3530. type: integer
  3531. convertfactor:
  3532. description: 标仓系数
  3533. type: number
  3534. convertratio:
  3535. description: 套保系数
  3536. type: number
  3537. createtime:
  3538. description: 时间
  3539. type: string
  3540. enumdicname:
  3541. description: 现货商品单位名称
  3542. type: string
  3543. logtype:
  3544. description: 类型 - 1:套保计划 2:现货合同
  3545. type: integer
  3546. middlegoodsId:
  3547. description: 套保商品id
  3548. type: integer
  3549. middlegoodscode:
  3550. description: 套保商品代码
  3551. type: string
  3552. middlegoodsname:
  3553. description: 套保商品名称
  3554. type: string
  3555. qty:
  3556. description: 数量
  3557. type: number
  3558. relateNo:
  3559. description: 现货合同/套保计划编号
  3560. type: string
  3561. wrstandardcode:
  3562. description: 现货商品代码
  3563. type: string
  3564. wrstandardid:
  3565. description: 现货商品ID
  3566. type: integer
  3567. wrstandardname:
  3568. description: 现货商品名称
  3569. type: string
  3570. type: object
  3571. models.ErmcpExposurePostion:
  3572. properties:
  3573. agreeunit:
  3574. description: 合约单位
  3575. type: string
  3576. areauserid:
  3577. description: 所属机构id
  3578. type: integer
  3579. convertratio:
  3580. description: 期货品种系数(折算系数)
  3581. type: number
  3582. curqty:
  3583. description: 当前持仓
  3584. type: integer
  3585. diffhedgeqty:
  3586. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  3587. type: number
  3588. diffqty:
  3589. description: 持仓变动量=当前持仓-昨日持仓
  3590. type: integer
  3591. goodscode:
  3592. description: 商品代码
  3593. type: string
  3594. goodsid:
  3595. description: 商品id
  3596. type: integer
  3597. goodsname:
  3598. description: 商品名称
  3599. type: string
  3600. middlegoodsid:
  3601. description: 套保商品id
  3602. type: integer
  3603. ydqty:
  3604. description: 昨日持仓
  3605. type: integer
  3606. type: object
  3607. models.ErmcpFuturesCompany:
  3608. properties:
  3609. brokerid:
  3610. description: 经纪公司代码
  3611. type: string
  3612. channeladdress:
  3613. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  3614. type: string
  3615. channelid:
  3616. description: 对冲渠道ID
  3617. type: string
  3618. createtime:
  3619. description: 创建时间
  3620. type: string
  3621. creatorid:
  3622. description: 创建人
  3623. type: string
  3624. fcid:
  3625. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  3626. type: integer
  3627. fcname:
  3628. description: 期货公司名称
  3629. type: string
  3630. isvalid:
  3631. description: 是否有效 - 0:无效 1:有效
  3632. type: integer
  3633. mhpaddress:
  3634. description: MHP服务地址(IP:Port)
  3635. type: string
  3636. riskrulegroupid:
  3637. description: 风控规则组ID
  3638. type: string
  3639. tradefeetmpid:
  3640. description: 手续费模板ID[TradeConfigTmpType为2]
  3641. type: string
  3642. trademargintmpid:
  3643. description: 保证金模板ID [TradeConfigTmpType为1]
  3644. type: string
  3645. traderatetmpid:
  3646. description: 汇率模板ID[TradeConfigTmpType为3]
  3647. type: string
  3648. updatetime:
  3649. description: 更新时间
  3650. type: string
  3651. updatorid:
  3652. description: 更新人
  3653. type: string
  3654. type: object
  3655. models.ErmcpGGConvertCfg:
  3656. properties:
  3657. convertratio:
  3658. description: 折算系数
  3659. type: number
  3660. destgoodsgroupid:
  3661. description: 目标品种ID
  3662. type: integer
  3663. dstcode:
  3664. description: 目录品种代码
  3665. type: string
  3666. dstexchangecode:
  3667. description: 目标期货交易所
  3668. type: string
  3669. dstname:
  3670. description: 目标品种名称
  3671. type: string
  3672. dstunitid:
  3673. description: 目标品种单位ID
  3674. type: integer
  3675. dstunitidname:
  3676. description: 目标品种单位名称
  3677. type: string
  3678. modifytime:
  3679. description: 修改时间
  3680. type: string
  3681. srccode:
  3682. description: 源品种代码
  3683. type: string
  3684. srcexchangecode:
  3685. description: 源期货交易所
  3686. type: string
  3687. srcgoodsgroupid:
  3688. description: 源品种ID
  3689. type: integer
  3690. srcname:
  3691. description: 源品种名称
  3692. type: string
  3693. srcunitid:
  3694. description: 源品种单位ID
  3695. type: integer
  3696. srcunitidname:
  3697. description: 源品种单位名称
  3698. type: string
  3699. type: object
  3700. models.ErmcpGoodsBrand:
  3701. properties:
  3702. areauserid:
  3703. description: 所属机构
  3704. type: integer
  3705. brandid:
  3706. description: BrandID(SEQ_SPOTGOODSBRAND)
  3707. type: integer
  3708. brandname:
  3709. description: 品牌名称
  3710. type: string
  3711. createtime:
  3712. description: 创建时间
  3713. type: string
  3714. creatorid:
  3715. description: 创建人
  3716. type: integer
  3717. creatorsrc:
  3718. description: 创建人来源 - 1:管理端 2:终端
  3719. type: integer
  3720. deliverygoodsid:
  3721. description: 现货品种ID
  3722. type: integer
  3723. isvalid:
  3724. description: 是否有效 - 0:无效 1:有效
  3725. type: integer
  3726. updatetime:
  3727. description: 更新时间
  3728. type: string
  3729. updatorid:
  3730. description: 更新人
  3731. type: integer
  3732. updatorsrc:
  3733. description: 更新人来源 - 1:管理端 2:终端
  3734. type: integer
  3735. wrstandardid:
  3736. description: 现货商品ID
  3737. type: integer
  3738. type: object
  3739. models.ErmcpGoodsModel:
  3740. properties:
  3741. areauserid:
  3742. description: 所属机构
  3743. type: integer
  3744. convertfactor:
  3745. description: 标仓系数
  3746. type: number
  3747. createtime:
  3748. description: 创建时间
  3749. type: string
  3750. creatorid:
  3751. description: 创建人
  3752. type: integer
  3753. creatorsrc:
  3754. description: 创建人来源 - 1:管理端 2:终端
  3755. type: integer
  3756. deliverygoodsid:
  3757. description: 现货品种ID
  3758. type: integer
  3759. isvalid:
  3760. description: 是否有效 - 0:无效 1:有效
  3761. type: integer
  3762. modelid:
  3763. description: ModelID(SEQ_SPOTGOODSMODEL)
  3764. type: integer
  3765. modelname:
  3766. description: 型号名称
  3767. type: string
  3768. updatetime:
  3769. description: 更新时间
  3770. type: string
  3771. updatorid:
  3772. description: 更新人
  3773. type: integer
  3774. updatorsrc:
  3775. description: 更新人来源 - 1:管理端 2:终端
  3776. type: integer
  3777. wrstandardid:
  3778. description: 现货商品ID
  3779. type: integer
  3780. type: object
  3781. models.ErmcpHedgePlan:
  3782. properties:
  3783. areauserid:
  3784. description: 用户ID
  3785. type: integer
  3786. audittime:
  3787. description: 审核时间
  3788. type: string
  3789. contracttype:
  3790. description: 计划类型 - 1:采购 -1:销售
  3791. type: integer
  3792. convertfactor:
  3793. description: 标仓系数
  3794. type: number
  3795. createtime:
  3796. description: 创建时间
  3797. type: string
  3798. deliverygoodsid:
  3799. description: 现货品种ID
  3800. type: integer
  3801. deliverygoodsname:
  3802. description: 现货品种名称
  3803. type: string
  3804. enumdicname:
  3805. description: 单位名称
  3806. type: string
  3807. hedgeplanid:
  3808. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  3809. type: string
  3810. hedgeplanno:
  3811. description: 套保计划编号(名称)
  3812. type: string
  3813. hedgeplanstatus:
  3814. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3815. type: integer
  3816. planqty:
  3817. description: 计划数量
  3818. type: number
  3819. plantime:
  3820. description: 计划时间
  3821. type: string
  3822. producttype:
  3823. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3824. type: integer
  3825. remark:
  3826. description: 备注
  3827. type: string
  3828. spotgoodsdesc:
  3829. description: 商品型号
  3830. type: string
  3831. unitid:
  3832. description: 单位id
  3833. type: integer
  3834. updatetime:
  3835. description: 更新时间
  3836. type: string
  3837. wrstandardid:
  3838. description: 现货商品ID
  3839. type: integer
  3840. wrstandardname:
  3841. description: 现货商品名称
  3842. type: string
  3843. type: object
  3844. models.ErmcpHedgePosition:
  3845. properties:
  3846. accountid:
  3847. description: 资金账号[外部母账户]
  3848. type: integer
  3849. curbuyposition:
  3850. description: 期末买头寸
  3851. type: integer
  3852. cursellposition:
  3853. description: 期末卖头寸
  3854. type: integer
  3855. curtdbuyposition:
  3856. description: 期末今日买头寸
  3857. type: integer
  3858. curtdsellposition:
  3859. description: 期末今日卖头寸
  3860. type: integer
  3861. curydbuyposition:
  3862. description: 期末上日买头寸
  3863. type: integer
  3864. curydsellposition:
  3865. description: 期末上日卖头寸
  3866. type: integer
  3867. decreaseqty:
  3868. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  3869. type: integer
  3870. fretdbuyposition:
  3871. description: 冻结今日买头寸
  3872. type: integer
  3873. fretdsellposition:
  3874. description: 冻结今日卖头寸
  3875. type: integer
  3876. freydbuyposition:
  3877. description: 冻结上日买头寸
  3878. type: integer
  3879. freydsellposition:
  3880. description: 冻结上日卖头寸
  3881. type: integer
  3882. goodscode:
  3883. description: 商品代码
  3884. type: string
  3885. goodsid:
  3886. description: 商品id
  3887. type: integer
  3888. goodsname:
  3889. description: 商品名称
  3890. type: string
  3891. hedgeaccountcode:
  3892. description: 对冲账号
  3893. type: string
  3894. hedgegoodsid:
  3895. description: 对冲合约ID
  3896. type: integer
  3897. increaseqty:
  3898. description: 增加数量 = 期末买头寸 - 期初买头寸
  3899. type: integer
  3900. marketid:
  3901. description: 市场ID
  3902. type: integer
  3903. relateduserid:
  3904. description: 关联用户id
  3905. type: integer
  3906. totalcurqty:
  3907. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  3908. type: integer
  3909. totalydqty:
  3910. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  3911. type: integer
  3912. tradedate:
  3913. description: 交易日(yyyyMMdd)
  3914. type: string
  3915. ydbuyposition:
  3916. description: 期初买头寸
  3917. type: integer
  3918. ydsellposition:
  3919. description: 期初卖头寸
  3920. type: integer
  3921. type: object
  3922. models.ErmcpHedgePositionDetail:
  3923. properties:
  3924. buyorsell:
  3925. description: 买卖方向 0-买 1-卖
  3926. type: integer
  3927. channelbuildtype:
  3928. description: 开平方向 1-建仓 2-平仓
  3929. type: integer
  3930. goodscode:
  3931. description: 商品代码
  3932. type: string
  3933. goodsname:
  3934. description: 商品名称
  3935. type: string
  3936. hedgegoodsid:
  3937. description: 商品id
  3938. type: integer
  3939. tradeqty:
  3940. description: 数量(成交数量)
  3941. type: integer
  3942. tradetime:
  3943. description: 时间(成交时间)
  3944. type: string
  3945. type: object
  3946. models.ErmcpHisExposure:
  3947. properties:
  3948. needhedgeexposoure:
  3949. description: 应套保敞口
  3950. type: number
  3951. reckondate:
  3952. description: 日照时期(yyyyMMdd)
  3953. type: string
  3954. totalexposure:
  3955. description: 总敞口
  3956. type: number
  3957. type: object
  3958. models.ErmcpHisExposureS:
  3959. properties:
  3960. data:
  3961. description: 历史敞口
  3962. items:
  3963. $ref: '#/definitions/models.ErmcpHisExposure'
  3964. type: array
  3965. enumdicname:
  3966. description: 单位名称
  3967. type: string
  3968. middlegoodscode:
  3969. description: 套保品种代码
  3970. type: string
  3971. middlegoodsid:
  3972. description: 套保品种ID
  3973. type: integer
  3974. middlegoodsname:
  3975. description: 套保品种名称
  3976. type: string
  3977. type: object
  3978. models.ErmcpLoginUser:
  3979. properties:
  3980. accountname:
  3981. description: 用户名称
  3982. type: string
  3983. clientroleid:
  3984. description: 角色id(usertype=2)
  3985. type: integer
  3986. createtime:
  3987. description: 创建时间
  3988. type: string
  3989. logincode:
  3990. description: 登录代码
  3991. type: string
  3992. loginid:
  3993. description: 登录id(LOGINID)
  3994. type: integer
  3995. loginstatus:
  3996. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  3997. type: integer
  3998. memberuserid:
  3999. description: 所属会员id
  4000. type: integer
  4001. modifytime:
  4002. description: 修改时间
  4003. type: string
  4004. rolename:
  4005. description: 角色名称
  4006. type: string
  4007. rolestatus:
  4008. description: 角色状态 1-启用 2-停用
  4009. type: integer
  4010. roletype:
  4011. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  4012. type: string
  4013. userid:
  4014. description: 用户id
  4015. type: integer
  4016. usertype:
  4017. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4018. type: integer
  4019. type: object
  4020. models.ErmcpLoginUserEx:
  4021. properties:
  4022. rolename:
  4023. description: 角色名称
  4024. type: string
  4025. userlist:
  4026. description: 用户列表
  4027. items:
  4028. $ref: '#/definitions/models.ErmcpLoginUser'
  4029. type: array
  4030. usertype:
  4031. description: 用户类型 2-机构 7-企业成员(云平台)
  4032. type: integer
  4033. type: object
  4034. models.ErmcpMiddleGoodsChangeLog:
  4035. properties:
  4036. aftervalue:
  4037. description: 变更后
  4038. type: number
  4039. applyid:
  4040. description: 操作人
  4041. type: integer
  4042. applyname:
  4043. description: 操作人名称
  4044. type: string
  4045. applysrc:
  4046. description: 操作来源 - 1:管理端 2:终端
  4047. type: integer
  4048. beforevalue:
  4049. description: 变更前
  4050. type: number
  4051. changelogtype:
  4052. description: 变更流水类型 - 1:套保比率变更
  4053. type: integer
  4054. handlestatus:
  4055. description: 处理状态
  4056. type: integer
  4057. logdatetime:
  4058. description: 流水日期
  4059. type: string
  4060. logid:
  4061. description: 流水ID
  4062. type: integer
  4063. logremark:
  4064. description: 流水备注
  4065. type: string
  4066. middlegoodsid:
  4067. description: 套保品种ID
  4068. type: integer
  4069. tradedate:
  4070. description: 交易日(yyyyMMdd)
  4071. type: string
  4072. updatetime:
  4073. description: 更新时间
  4074. type: string
  4075. type: object
  4076. models.ErmcpMiddleGoodsDetail:
  4077. properties:
  4078. cvList:
  4079. description: 期货品种折算列表
  4080. items:
  4081. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  4082. type: array
  4083. mg:
  4084. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4085. description: 套保品种基本信息
  4086. type: object
  4087. wrcList:
  4088. description: 现货品种列表(现货商品折算配置)
  4089. items:
  4090. $ref: '#/definitions/models.WRSConverTDetail'
  4091. type: array
  4092. type: object
  4093. models.ErmcpMiddleGoodsModel:
  4094. properties:
  4095. areauserid:
  4096. description: 机构用户ID
  4097. type: integer
  4098. createtime:
  4099. description: 修改时间
  4100. type: string
  4101. enumdicname:
  4102. description: 单位名称
  4103. type: string
  4104. evaluateratio:
  4105. description: 估价系数
  4106. type: number
  4107. goodsgroupid:
  4108. description: 关联期货品种ID
  4109. type: integer
  4110. isvalid:
  4111. description: 状态 0-无效(停用) 1-有效(正常)
  4112. type: integer
  4113. middlegoodscode:
  4114. description: 套保品种代码
  4115. type: string
  4116. middlegoodsid:
  4117. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4118. type: integer
  4119. middlegoodsname:
  4120. description: 套保品种名称
  4121. type: string
  4122. modifytime:
  4123. description: 修改时间
  4124. type: string
  4125. needhedgeratio:
  4126. description: 套保比率
  4127. type: number
  4128. qtydecimalplace:
  4129. description: 数量小数位
  4130. type: integer
  4131. relatedgoodsid:
  4132. description: 关联交易商品ID
  4133. type: integer
  4134. relatedgoodstype:
  4135. description: 关联商品类型 - 1:期货合约 2:现货品种
  4136. type: integer
  4137. remark:
  4138. description: 备注
  4139. type: string
  4140. type: object
  4141. models.ErmcpModel:
  4142. properties:
  4143. accountname:
  4144. description: 账户名称
  4145. type: string
  4146. attachment:
  4147. description: 附件
  4148. type: string
  4149. audittime:
  4150. description: 审核时间
  4151. type: string
  4152. brandname:
  4153. description: 品牌名称
  4154. type: string
  4155. contracctstatus:
  4156. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4157. type: integer
  4158. contractmargin:
  4159. description: 合同保证金
  4160. type: number
  4161. contractno:
  4162. description: 合同编号
  4163. type: string
  4164. contracttype:
  4165. description: 合同类型 1-采购, -1-销售
  4166. type: integer
  4167. convertfactor:
  4168. description: 标仓系数
  4169. type: number
  4170. createtime:
  4171. description: 创建时间
  4172. type: string
  4173. daikaiamount:
  4174. description: 应收(开)票额
  4175. type: number
  4176. deliveryenddate:
  4177. description: 交割结束日
  4178. type: string
  4179. deliverygoodscode:
  4180. description: 现货品种代码
  4181. type: string
  4182. deliverygoodsid:
  4183. description: 现货商品ID
  4184. type: integer
  4185. deliverygoodsname:
  4186. description: 现货品种名称
  4187. type: string
  4188. deliverystartdate:
  4189. description: 交割开始日
  4190. type: string
  4191. enddate:
  4192. description: 点价结束日
  4193. type: string
  4194. enumdicname:
  4195. description: 单位名称
  4196. type: string
  4197. goodscode:
  4198. description: 点价商品代码
  4199. type: string
  4200. goodsid:
  4201. description: 点价商品ID
  4202. type: integer
  4203. goodsname:
  4204. description: 点价商品名称
  4205. type: string
  4206. invoiceamount:
  4207. description: 已开票额
  4208. type: number
  4209. loanamount:
  4210. description: 贷款总额=已定价额+调整金额
  4211. type: number
  4212. margin:
  4213. description: 保证金
  4214. type: number
  4215. modelname:
  4216. description: 型号名称
  4217. type: string
  4218. payamount:
  4219. description: 已收付额(收款或付款)
  4220. type: number
  4221. preinvoiceamount:
  4222. description: 预收(开)票额
  4223. type: number
  4224. prepayamount:
  4225. description: 预收付额
  4226. type: number
  4227. price:
  4228. description: 价格
  4229. type: number
  4230. pricedamount:
  4231. description: 已定价额
  4232. type: number
  4233. pricedavg:
  4234. description: 已点均价
  4235. type: number
  4236. pricedqty:
  4237. description: 已定价量
  4238. type: number
  4239. pricemove:
  4240. description: 升贴水
  4241. type: number
  4242. pricetype:
  4243. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4244. type: integer
  4245. producttype:
  4246. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4247. type: integer
  4248. qty:
  4249. description: 合同量
  4250. type: number
  4251. reckonadjustamount:
  4252. description: 调整金额
  4253. type: number
  4254. reckonedamount:
  4255. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4256. type: number
  4257. reckonotheramount:
  4258. description: 其它费用
  4259. type: number
  4260. reckonrealqty:
  4261. description: 已确定量
  4262. type: number
  4263. remark:
  4264. description: 备注
  4265. type: string
  4266. spotcontractid:
  4267. description: 合同ID
  4268. type: string
  4269. spotgoodsbrandid:
  4270. description: 现货品牌ID
  4271. type: integer
  4272. spotgoodsdesc:
  4273. description: 商品型号(商品规格)
  4274. type: string
  4275. spotgoodsmodelid:
  4276. description: 现货型号ID
  4277. type: integer
  4278. startdate:
  4279. description: 点价开始日
  4280. type: string
  4281. totalamount:
  4282. description: 合计总额
  4283. type: number
  4284. unpayamount:
  4285. description: 应收付款额(应支付或应收款)
  4286. type: number
  4287. unpricedqty:
  4288. description: 未定价量
  4289. type: number
  4290. unsureqty:
  4291. description: 未确定量
  4292. type: number
  4293. userid:
  4294. description: 用户ID
  4295. type: integer
  4296. wrstandardcode:
  4297. description: 现货商品代码
  4298. type: string
  4299. wrstandardid:
  4300. description: 现货商品ID
  4301. type: integer
  4302. wrstandardname:
  4303. description: 现货商品名称
  4304. type: string
  4305. type: object
  4306. models.ErmcpOPLogModel:
  4307. properties:
  4308. aftervalue:
  4309. description: 变更后
  4310. type: number
  4311. applyid:
  4312. description: 操作人ID
  4313. type: string
  4314. applyname:
  4315. description: 操作人名称
  4316. type: string
  4317. beforevalue:
  4318. description: 变更前
  4319. type: number
  4320. biztype:
  4321. description: 业务类型 - 1:套保计划 2:现货合同
  4322. type: integer
  4323. contracttype:
  4324. description: 现货合同类型 - 1:采购 -1:销售
  4325. type: integer
  4326. logvalue:
  4327. description: 数值
  4328. type: number
  4329. operatelogtype:
  4330. description: 操作流水类型
  4331. type: integer
  4332. operatelogtypedesc:
  4333. description: 操作流水类型名称
  4334. type: string
  4335. relatedid:
  4336. description: 现货合同ID\套保计划
  4337. type: string
  4338. updatetime:
  4339. description: 更新时间
  4340. type: string
  4341. type: object
  4342. models.ErmcpPendingAudit:
  4343. properties:
  4344. areastockqty:
  4345. description: '待审核数量: 库存申请'
  4346. type: integer
  4347. businessdjqty:
  4348. description: '待审核数量: 点价'
  4349. type: integer
  4350. businessfpqty:
  4351. description: '待审核数量: 发票'
  4352. type: integer
  4353. businessjsqty:
  4354. description: '待审核数量: 结算'
  4355. type: integer
  4356. businesskxqty:
  4357. description: '待审核数量: 款项'
  4358. type: integer
  4359. hedgeplanqty:
  4360. description: '待审核数量: 套保计划'
  4361. type: integer
  4362. spotcontractqty:
  4363. description: '待审核数量: 现货合同'
  4364. type: integer
  4365. userqty:
  4366. description: '待审核数量: 用户'
  4367. type: integer
  4368. type: object
  4369. models.ErmcpRealExposureModel:
  4370. properties:
  4371. AreaUserID:
  4372. description: 所属机构
  4373. type: integer
  4374. BuyFutureQty:
  4375. description: 买入期货数量
  4376. type: number
  4377. BuyPlanQty:
  4378. description: 采购计划数量
  4379. type: number
  4380. BuyPricedQty:
  4381. description: 采购合同已定价数量
  4382. type: number
  4383. MiddleGoodsCode:
  4384. description: 套保品种代码
  4385. type: string
  4386. MiddleGoodsHedgeRatio:
  4387. description: 应套保比例
  4388. type: number
  4389. MiddleGoodsID:
  4390. description: 套保品种
  4391. type: integer
  4392. MiddleGoodsName:
  4393. description: 套保品种名称
  4394. type: string
  4395. NeedHedgeExposoure:
  4396. description: 应套保敞口
  4397. type: number
  4398. NeedHedgeRatio:
  4399. description: 应套保敞口比例
  4400. type: number
  4401. OriBuyFutureQty:
  4402. description: 期初买入期货数量
  4403. type: number
  4404. OriBuyPlanQty:
  4405. description: 期初采购计划数量
  4406. type: number
  4407. OriBuyPricedQty:
  4408. description: 期初采购合同已定价数量
  4409. type: number
  4410. OriSellFutureQty:
  4411. description: 期初卖出期货数量
  4412. type: number
  4413. OriSellPlanQty:
  4414. description: 期初销售计划数量
  4415. type: number
  4416. OriSellPricedQty:
  4417. description: 期初销售合同已定价数量
  4418. type: number
  4419. SellFutureQty:
  4420. description: 卖出期货数量
  4421. type: number
  4422. SellPlanQty:
  4423. description: 销售计划数量
  4424. type: number
  4425. SellPricedQty:
  4426. description: 销售合同已定价数量
  4427. type: number
  4428. TotalExposure:
  4429. description: 总敞口
  4430. type: number
  4431. TotalFutureQty:
  4432. description: 期货数量
  4433. type: number
  4434. TotalHedgeRatio:
  4435. description: 敞口比例
  4436. type: number
  4437. TotalNeedHedgeQty:
  4438. description: 期货应套保量
  4439. type: number
  4440. TotalSpotQty:
  4441. description: 现货数量
  4442. type: number
  4443. diffFutuQty:
  4444. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4445. type: number
  4446. diffSpotQty:
  4447. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4448. type: number
  4449. enumdicname:
  4450. description: 单位名称
  4451. type: string
  4452. oriTotalFutuQty:
  4453. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4454. type: number
  4455. oriTotalSpotQty:
  4456. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4457. type: number
  4458. type: object
  4459. models.ErmcpRelatedGoods:
  4460. properties:
  4461. deliverygoodsid:
  4462. description: 品种ID
  4463. type: integer
  4464. goodscode:
  4465. description: 商品代码
  4466. type: string
  4467. goodsid:
  4468. description: 商品id
  4469. type: integer
  4470. goodsname:
  4471. description: 商品名称
  4472. type: string
  4473. type: object
  4474. models.ErmcpReportAreaSpotPL:
  4475. properties:
  4476. actualpl:
  4477. description: 实际损益
  4478. type: number
  4479. areauserid:
  4480. description: 所属机构
  4481. type: integer
  4482. brandname:
  4483. description: 品牌名称
  4484. type: string
  4485. curamount:
  4486. description: 期末额
  4487. type: number
  4488. curaverageprice:
  4489. description: 期末均价
  4490. type: number
  4491. curbuyamount:
  4492. description: 期末采购总额(采购额)
  4493. type: number
  4494. curbuyqty:
  4495. description: 期末采购总量
  4496. type: number
  4497. curmarketvalue:
  4498. description: 参考市值
  4499. type: number
  4500. curqty:
  4501. description: 期末量
  4502. type: number
  4503. cursellamount:
  4504. description: 期末销售总额(销售额)
  4505. type: number
  4506. cursellqty:
  4507. description: 期末销售总量
  4508. type: number
  4509. curspotprice:
  4510. description: 参考市价
  4511. type: number
  4512. enumdicname:
  4513. description: 现货商品单位名称
  4514. type: string
  4515. floatpl:
  4516. description: 浮动损益
  4517. type: number
  4518. gbenumdicname:
  4519. description: 品类单位名称
  4520. type: string
  4521. gbunitid:
  4522. description: 品类单位id
  4523. type: integer
  4524. modelname:
  4525. description: 品类名称
  4526. type: string
  4527. oriamount:
  4528. description: 期初额
  4529. type: number
  4530. oriaverageprice:
  4531. description: 期初均价
  4532. type: number
  4533. oribuyamount:
  4534. description: 期初采购总额
  4535. type: number
  4536. oribuyqty:
  4537. description: 期初采购总量
  4538. type: number
  4539. oriqty:
  4540. description: 期初量
  4541. type: number
  4542. orisellamount:
  4543. description: 期初销售总额
  4544. type: number
  4545. orisellqty:
  4546. description: 期初销售总量
  4547. type: number
  4548. spotgoodsbrandid:
  4549. description: 现货品牌ID
  4550. type: integer
  4551. spotgoodsmodelid:
  4552. description: 现货品类ID
  4553. type: integer
  4554. todaybuyamount:
  4555. description: 今日采购额
  4556. type: number
  4557. todaybuyaverageprice:
  4558. description: 今日采购均价(采购均价)
  4559. type: number
  4560. todaybuyqty:
  4561. description: 今日采购量(采购增量)
  4562. type: number
  4563. todaysellamount:
  4564. description: 今日销售额
  4565. type: number
  4566. todaysellaverageprice:
  4567. description: 今日销售均价(销售均价)
  4568. type: number
  4569. todaysellqty:
  4570. description: 今日销售量(销售增量)
  4571. type: number
  4572. unitid:
  4573. description: 现货商品单位id
  4574. type: integer
  4575. updatetime:
  4576. description: 更新时间
  4577. type: string
  4578. wrstandardcode:
  4579. description: 现货商品代码
  4580. type: string
  4581. wrstandardid:
  4582. description: 现货商品ID
  4583. type: integer
  4584. wrstandardname:
  4585. description: 现货商品名称
  4586. type: string
  4587. type: object
  4588. models.ErmcpReportDayExposure:
  4589. properties:
  4590. areauserid:
  4591. description: 所属机构
  4592. type: integer
  4593. buyfutureqty:
  4594. description: 买入期货数量
  4595. type: number
  4596. buyplanqty:
  4597. description: 采购计划数量
  4598. type: number
  4599. buypricedqty:
  4600. description: 采购合同已定价数量
  4601. type: number
  4602. diffFutuQty:
  4603. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  4604. type: number
  4605. diffSpotQty:
  4606. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  4607. type: number
  4608. enumdicname:
  4609. description: 单位名称
  4610. type: string
  4611. middlegoodscode:
  4612. description: 套保品种代码
  4613. type: string
  4614. middlegoodshedgeratio:
  4615. description: 应套保比例
  4616. type: number
  4617. middlegoodsid:
  4618. description: 套保品种ID
  4619. type: integer
  4620. middlegoodsname:
  4621. description: 套保品种名称
  4622. type: string
  4623. needhedgeexposoure:
  4624. description: 应套保敞口
  4625. type: number
  4626. needhedgeratio:
  4627. description: 应套保敞口比例
  4628. type: number
  4629. oriTotalFutuQty:
  4630. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  4631. type: number
  4632. oriTotalSpotQty:
  4633. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  4634. type: number
  4635. oribuyfutureqty:
  4636. description: 期初买入期货数量
  4637. type: number
  4638. oribuyplanqty:
  4639. description: 期初采购计划数量
  4640. type: number
  4641. oribuypricedqty:
  4642. description: 期初采购合同已定价数量
  4643. type: number
  4644. orisellfutureqty:
  4645. description: 期初卖出期货数量
  4646. type: number
  4647. orisellplanqty:
  4648. description: 期初销售计划数量
  4649. type: number
  4650. orisellpricedqty:
  4651. description: 期初销售合同已定价数量
  4652. type: number
  4653. reckondate:
  4654. description: 日照时期(yyyyMMdd)
  4655. type: string
  4656. sellfutureqty:
  4657. description: 卖出期货数量
  4658. type: number
  4659. sellplanqty:
  4660. description: 销售计划数量
  4661. type: number
  4662. sellpricedqty:
  4663. description: 销售合同已定价数量
  4664. type: number
  4665. totalexposure:
  4666. description: 总敞口
  4667. type: number
  4668. totalfutureqty:
  4669. description: 期货数量
  4670. type: number
  4671. totalhedgeratio:
  4672. description: 敞口比例
  4673. type: number
  4674. totalneedhedgeqty:
  4675. description: 期货应套保量
  4676. type: number
  4677. totalspotqty:
  4678. description: 现货数量
  4679. type: number
  4680. type: object
  4681. models.ErmcpReportDayFR:
  4682. properties:
  4683. areauserid:
  4684. description: 所属机构
  4685. type: integer
  4686. collectinvoiceamount:
  4687. description: 今日开票金额
  4688. type: number
  4689. collectinvoicecount:
  4690. description: 今日开票笔数
  4691. type: integer
  4692. collectmoneyamount:
  4693. description: 今日收款金额
  4694. type: number
  4695. collectmoneycount:
  4696. description: 今日收款笔数
  4697. type: integer
  4698. payinvoiceamount:
  4699. description: 今日收票金额
  4700. type: number
  4701. payinvoicecount:
  4702. description: 今日收票笔数
  4703. type: integer
  4704. paymoneyamount:
  4705. description: 今日付款金额
  4706. type: number
  4707. paymoneycount:
  4708. description: 今日付款笔数
  4709. type: integer
  4710. reckondate:
  4711. description: 日照时期(yyyyMMdd)
  4712. type: string
  4713. updatetime:
  4714. description: 更新时间
  4715. type: string
  4716. type: object
  4717. models.ErmcpReportDaySpot:
  4718. properties:
  4719. areauserid:
  4720. description: 所属机构T
  4721. type: integer
  4722. buyinqty:
  4723. description: 采购入库量
  4724. type: number
  4725. enumdicname:
  4726. description: 现货商品单位名称
  4727. type: string
  4728. reckondate:
  4729. description: 日照时期(yyyyMMdd)
  4730. type: string
  4731. selloutqty:
  4732. description: 销售出库量
  4733. type: number
  4734. todaybuyreckonqty:
  4735. description: 采购确定量
  4736. type: number
  4737. todaysellreckonqty:
  4738. description: 销售确定量
  4739. type: number
  4740. totalbuypricedqty:
  4741. description: 采购定价量 = 期末 - 期初
  4742. type: number
  4743. totalsellpricedqty:
  4744. description: 销售定价量 = 期末 - 期初
  4745. type: number
  4746. wrstandardcode:
  4747. description: 现货商品代码
  4748. type: string
  4749. wrstandardid:
  4750. description: 现货商品ID
  4751. type: integer
  4752. wrstandardname:
  4753. description: 现货商品名称
  4754. type: string
  4755. type: object
  4756. models.ErmcpReportMonSpot:
  4757. properties:
  4758. areauserid:
  4759. description: 所属机构T
  4760. type: integer
  4761. buyinqty:
  4762. description: 采购入库量
  4763. type: number
  4764. cycletime:
  4765. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4766. type: string
  4767. cycletype:
  4768. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4769. type: integer
  4770. enumdicname:
  4771. description: 现货商品单位名称
  4772. type: string
  4773. selloutqty:
  4774. description: 销售出库量
  4775. type: number
  4776. todaybuyreckonqty:
  4777. description: 采购确定量
  4778. type: number
  4779. todaysellreckonqty:
  4780. description: 销售确定量
  4781. type: number
  4782. totalbuypricedqty:
  4783. description: 采购定价量 = 期末 - 期初
  4784. type: number
  4785. totalsellpricedqty:
  4786. description: 销售定价量 = 期末 - 期初
  4787. type: number
  4788. wrstandardcode:
  4789. description: 现货商品代码
  4790. type: string
  4791. wrstandardid:
  4792. description: 现货商品ID
  4793. type: integer
  4794. wrstandardname:
  4795. description: 现货商品名称
  4796. type: string
  4797. type: object
  4798. models.ErmcpReportMonthFR:
  4799. properties:
  4800. areauserid:
  4801. description: 所属机构【原值】
  4802. type: integer
  4803. collectinvoiceamount:
  4804. description: 今日开票金额【汇总】
  4805. type: number
  4806. collectinvoicecount:
  4807. description: 今日开票笔数【汇总】
  4808. type: integer
  4809. collectmoneyamount:
  4810. description: 今日收款金额【汇总】
  4811. type: number
  4812. collectmoneycount:
  4813. description: 今日收款笔数 【汇总】
  4814. type: integer
  4815. cycletime:
  4816. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4817. type: string
  4818. cycletype:
  4819. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4820. type: integer
  4821. dayFr:
  4822. description: 日报表明细
  4823. items:
  4824. $ref: '#/definitions/models.ErmcpReportDayFR'
  4825. type: array
  4826. payinvoiceamount:
  4827. description: 今日收票金额【汇总】
  4828. type: number
  4829. payinvoicecount:
  4830. description: 今日收票笔数【汇总】
  4831. type: integer
  4832. paymoneyamount:
  4833. description: 今日付款金额【汇总】
  4834. type: number
  4835. paymoneycount:
  4836. description: 今日付款笔数【汇总】
  4837. type: integer
  4838. updatetime:
  4839. description: 更新时间
  4840. type: string
  4841. type: object
  4842. models.ErmcpReportOPLog:
  4843. properties:
  4844. applyid:
  4845. description: 操作人
  4846. type: integer
  4847. applyname:
  4848. description: 操作人名称
  4849. type: string
  4850. biztype:
  4851. description: 业务类型 - 1:套保计划 2:现货合同
  4852. type: integer
  4853. brandname:
  4854. description: 品牌名称
  4855. type: string
  4856. contracttype:
  4857. description: 现货合同类型 - 1:采购 -1:销售
  4858. type: integer
  4859. enumdicName:
  4860. description: 单位名称
  4861. type: string
  4862. logdatetime:
  4863. description: 流水日期(时间)
  4864. type: string
  4865. logid:
  4866. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  4867. type: string
  4868. logtypename:
  4869. description: 合同类型(名称)
  4870. type: string
  4871. logvalue:
  4872. description: 数值
  4873. type: string
  4874. modelname:
  4875. description: 型号名称
  4876. type: string
  4877. operatelogtype:
  4878. description: 操作流水类型 -
  4879. type: integer
  4880. optypename:
  4881. description: 流水类型名称
  4882. type: string
  4883. relatedid:
  4884. description: 现货合同ID\套保计划
  4885. type: string
  4886. relatedno:
  4887. description: 合同编号
  4888. type: string
  4889. tradedate:
  4890. description: 交易日(yyyyMMdd)
  4891. type: string
  4892. userid:
  4893. description: 机构ID
  4894. type: integer
  4895. wrstandardcode:
  4896. description: 现货商品代码
  4897. type: string
  4898. wrstandardid:
  4899. description: 现货商品ID
  4900. type: integer
  4901. wrstandardname:
  4902. description: 现货商品名称
  4903. type: string
  4904. type: object
  4905. models.ErmcpRole:
  4906. properties:
  4907. areauserid:
  4908. description: 所属机构
  4909. type: integer
  4910. autoid:
  4911. description: 角色ID(自增ID)
  4912. type: integer
  4913. modifierid:
  4914. description: 修改人(创建人)
  4915. type: integer
  4916. modifiername:
  4917. description: 修改人名称
  4918. type: string
  4919. modifytime:
  4920. description: 修改时间(创建时间)
  4921. type: string
  4922. rolename:
  4923. description: 角色名称
  4924. type: string
  4925. rolestatus:
  4926. description: 角色状态 - 1:启用 2:停用
  4927. type: integer
  4928. roletype:
  4929. description: 角色类型 - 1- 管理端 2- 交易端
  4930. type: integer
  4931. type: object
  4932. models.ErmcpRoleMenu:
  4933. properties:
  4934. iconame:
  4935. description: 菜单图标
  4936. type: string
  4937. menutype:
  4938. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  4939. type: integer
  4940. parentcode:
  4941. description: 上级资源代码
  4942. type: string
  4943. remark:
  4944. description: 菜单备注
  4945. type: string
  4946. resourcecode:
  4947. description: 菜单代码
  4948. type: string
  4949. resourcelevel:
  4950. description: 级别
  4951. type: integer
  4952. resourcename:
  4953. description: 菜单名称
  4954. type: string
  4955. roleid:
  4956. description: 角色id
  4957. type: integer
  4958. sort:
  4959. description: 排序
  4960. type: integer
  4961. url:
  4962. description: URL
  4963. type: string
  4964. userid:
  4965. description: 用户id
  4966. type: integer
  4967. type: object
  4968. models.ErmcpRoleMenuEx:
  4969. properties:
  4970. menu:
  4971. $ref: '#/definitions/models.ErmcpRoleMenu'
  4972. description: 父级菜单
  4973. type: object
  4974. subMenu:
  4975. description: 子级菜单
  4976. items:
  4977. $ref: '#/definitions/models.ErmcpRoleMenu'
  4978. type: array
  4979. type: object
  4980. models.ErmcpSpotContractModel:
  4981. properties:
  4982. amount:
  4983. description: 金额 [1:一口价、3:暂定价]
  4984. type: number
  4985. attachment:
  4986. description: 附件
  4987. type: string
  4988. auditremark:
  4989. description: 审核意见
  4990. type: string
  4991. audittime:
  4992. description: 审核时间
  4993. type: string
  4994. brandname:
  4995. description: 品牌名称
  4996. type: string
  4997. buyuserid:
  4998. description: 采购方ID
  4999. type: integer
  5000. buyusername:
  5001. description: 采购方名称
  5002. type: string
  5003. contracctstatus:
  5004. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5005. type: integer
  5006. contractmargin:
  5007. description: 合同保证金
  5008. type: number
  5009. contractno:
  5010. description: 现货合同编号
  5011. type: string
  5012. contracttype:
  5013. description: 现货合同类型 - 1:采购 -1:销售
  5014. type: integer
  5015. convertfactor:
  5016. description: 标仓系数
  5017. type: number
  5018. createtime:
  5019. description: 创建时间
  5020. type: string
  5021. deliveryenddate:
  5022. description: 交收期(结束)
  5023. type: string
  5024. deliverygoodscode:
  5025. description: 现货品种代码
  5026. type: string
  5027. deliverygoodsid:
  5028. description: 现货品种ID
  5029. type: integer
  5030. deliverygoodsname:
  5031. description: 现货品种名称
  5032. type: string
  5033. deliverystartdate:
  5034. description: 交收期(开始)
  5035. type: string
  5036. enddate:
  5037. description: 点价结束日期 [2:点价 3:暂定价]
  5038. type: string
  5039. enumdicname:
  5040. description: 单位名称
  5041. type: string
  5042. goodscode:
  5043. description: 点价合约代码
  5044. type: string
  5045. goodsid:
  5046. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  5047. type: integer
  5048. goodsname:
  5049. description: 点价商品名称
  5050. type: string
  5051. margin:
  5052. description: 当前保证金
  5053. type: number
  5054. modelname:
  5055. description: 型号名称
  5056. type: string
  5057. price:
  5058. description: 价格\暂定价 [1:一口价、3:暂定价]
  5059. type: number
  5060. pricemove:
  5061. description: 升贴水 [2:点价 3:暂定价]
  5062. type: number
  5063. pricetype:
  5064. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5065. type: integer
  5066. producttype:
  5067. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5068. type: integer
  5069. qty:
  5070. description: 数量
  5071. type: number
  5072. remark:
  5073. description: 备注
  5074. type: string
  5075. selluserid:
  5076. description: 销售方ID
  5077. type: integer
  5078. sellusername:
  5079. description: 销售方名称
  5080. type: string
  5081. spotcontractid:
  5082. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5083. type: string
  5084. spotgoodsbrandid:
  5085. description: 现货品牌ID
  5086. type: integer
  5087. spotgoodsdesc:
  5088. description: 商品型号
  5089. type: string
  5090. spotgoodsmodelid:
  5091. description: 现货型号ID
  5092. type: integer
  5093. startdate:
  5094. description: 点价开始日期 [2:点价 3:暂定价]
  5095. type: string
  5096. updatetime:
  5097. description: 更新时间
  5098. type: string
  5099. userid:
  5100. description: 机构ID
  5101. type: integer
  5102. wrstandardcode:
  5103. description: 现货商品代码
  5104. type: string
  5105. wrstandardid:
  5106. description: 现货商品ID
  5107. type: integer
  5108. wrstandardname:
  5109. description: 现货商品名称
  5110. type: string
  5111. type: object
  5112. models.ErmcpSpotGoodsPrice:
  5113. properties:
  5114. areauserid:
  5115. description: 所属机构id
  5116. type: integer
  5117. brandname:
  5118. description: 品牌名称
  5119. type: string
  5120. currencyid:
  5121. description: 报价货币ID
  5122. type: integer
  5123. enumdicname:
  5124. description: 现货商品单位名称
  5125. type: string
  5126. gbenumdicname:
  5127. description: 品类单位名称
  5128. type: string
  5129. gmunitid:
  5130. description: 品类单位id
  5131. type: integer
  5132. isvalid:
  5133. description: 是否有效 - 0:无效 1:有效
  5134. type: integer
  5135. modelname:
  5136. description: 品类名称
  5137. type: string
  5138. operateid:
  5139. description: 最后操作人
  5140. type: integer
  5141. operatesrc:
  5142. description: 最后操作来源 - 1:管理端 2:终端
  5143. type: integer
  5144. operatetime:
  5145. description: 最后操作时间
  5146. type: string
  5147. operatorname:
  5148. description: 操作人名称
  5149. type: string
  5150. spotgoodsbrandid:
  5151. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5152. type: integer
  5153. spotgoodsmodelid:
  5154. description: 现货品类ID(通用则为0)
  5155. type: integer
  5156. spotgoodsprice:
  5157. description: 现货价格
  5158. type: number
  5159. tradedate:
  5160. description: 交易日(yyyyMMdd)
  5161. type: string
  5162. unitid:
  5163. description: 现货商品单位id
  5164. type: integer
  5165. wrstandardcode:
  5166. description: 现货商品代码
  5167. type: string
  5168. wrstandardid:
  5169. description: 现货商品ID
  5170. type: integer
  5171. wrstandardname:
  5172. description: 现货商品名称
  5173. type: string
  5174. type: object
  5175. models.ErmcpSpotGoodsPriceLog:
  5176. properties:
  5177. areauserid:
  5178. description: 所属机构id
  5179. type: integer
  5180. brandname:
  5181. description: 品牌名称
  5182. type: string
  5183. currencyid:
  5184. description: 报价货币ID
  5185. type: integer
  5186. enumdicname:
  5187. description: 现货商品单位名称
  5188. type: string
  5189. gbenumdicname:
  5190. description: 品类单位名称
  5191. type: string
  5192. gmunitid:
  5193. description: 品类单位id
  5194. type: integer
  5195. logid:
  5196. description: 日志id
  5197. type: integer
  5198. modelname:
  5199. description: 品类名称
  5200. type: string
  5201. operateid:
  5202. description: 最后操作人
  5203. type: integer
  5204. operatesrc:
  5205. description: 最后操作来源 - 1:管理端 2:终端
  5206. type: integer
  5207. operatetime:
  5208. description: 最后操作时间
  5209. type: string
  5210. operatorname:
  5211. description: 操作人名称
  5212. type: string
  5213. spotgoodsbrandid:
  5214. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5215. type: integer
  5216. spotgoodsmodelid:
  5217. description: 现货品类ID(通用则为0)
  5218. type: integer
  5219. spotgoodsprice:
  5220. description: 现货价格
  5221. type: number
  5222. tradedate:
  5223. description: 交易日(yyyyMMdd)
  5224. type: string
  5225. unitid:
  5226. description: 现货商品单位id
  5227. type: integer
  5228. wrstandardcode:
  5229. description: 现货商品代码
  5230. type: string
  5231. wrstandardid:
  5232. description: 现货商品ID
  5233. type: integer
  5234. wrstandardname:
  5235. description: 现货商品名称
  5236. type: string
  5237. type: object
  5238. models.ErmcpTaAccount:
  5239. properties:
  5240. accountid:
  5241. description: 账户id
  5242. type: integer
  5243. accountname:
  5244. description: 账户名称
  5245. type: string
  5246. currencyid:
  5247. description: 币种id
  5248. type: integer
  5249. ismain:
  5250. description: 是否主账户 0-否 1-是
  5251. type: integer
  5252. parentaccountid:
  5253. description: 父账户id
  5254. type: integer
  5255. relateduserid:
  5256. description: 关联userid
  5257. type: integer
  5258. tradestatus:
  5259. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5260. type: integer
  5261. type: object
  5262. models.ErmcpTaAccountEx:
  5263. properties:
  5264. mainAcc:
  5265. $ref: '#/definitions/models.ErmcpTaAccount'
  5266. description: 主账号
  5267. type: object
  5268. subacclist:
  5269. description: 子账号列表
  5270. items:
  5271. $ref: '#/definitions/models.ErmcpTaAccount'
  5272. type: array
  5273. type: object
  5274. models.ErmcpTaAccountInfo:
  5275. properties:
  5276. accountid:
  5277. description: 资金账户ID
  5278. type: integer
  5279. accountname:
  5280. description: 账户名称
  5281. type: string
  5282. balance:
  5283. description: 期初余额
  5284. type: number
  5285. capitalbalance:
  5286. description: 本金余额[外部子账户实际出入金余额]
  5287. type: number
  5288. closepl:
  5289. description: 今日平仓盈亏
  5290. type: number
  5291. creditdecrease:
  5292. description: 今日授信减少
  5293. type: number
  5294. creditincrease:
  5295. description: 今日授信增加
  5296. type: number
  5297. curdebt:
  5298. description: 期末欠款
  5299. type: number
  5300. currencyid:
  5301. description: 货币ID
  5302. type: integer
  5303. currentbalance:
  5304. description: 期末余额
  5305. type: number
  5306. freezecharge:
  5307. description: 手续费冻结
  5308. type: number
  5309. freezemargin:
  5310. description: 冻结保证金
  5311. type: number
  5312. fromaccountid:
  5313. description: 所属上级账户
  5314. type: integer
  5315. inamount:
  5316. description: 今日入金金额(包括三方入金)
  5317. type: number
  5318. ismain:
  5319. description: 是否母账号 0:不是母账户 1:是母账户
  5320. type: integer
  5321. mortgagecredit:
  5322. description: 授信金额
  5323. type: number
  5324. oridebt:
  5325. description: 期初欠款
  5326. type: number
  5327. orifreezecharge:
  5328. description: 期初手续费冻结
  5329. type: number
  5330. orifreezemargin:
  5331. description: 期初冻结保证金
  5332. type: number
  5333. orimortgagecredit:
  5334. description: 期初授信金额
  5335. type: number
  5336. oriothercredit:
  5337. description: 期初其它授信金额
  5338. type: number
  5339. oriotherfreezemargin:
  5340. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  5341. type: number
  5342. orioutamountfreeze:
  5343. description: 期初出金冻结
  5344. type: number
  5345. oriusedmargin:
  5346. description: 期初占用保证金
  5347. type: number
  5348. othercredit:
  5349. description: 其它授信金额
  5350. type: number
  5351. othercreditdecrease:
  5352. description: 今日其它授信减少
  5353. type: number
  5354. othercreditincrease:
  5355. description: 今日其它授信增加
  5356. type: number
  5357. otherfreezemargin:
  5358. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  5359. type: number
  5360. outamount:
  5361. description: 今日出金金额(包括三方出金)
  5362. type: number
  5363. outamountfreeze:
  5364. description: 出金冻结
  5365. type: number
  5366. outthreshold:
  5367. description: 出金阈值
  5368. type: number
  5369. parentaccountid:
  5370. description: 所属根账号
  5371. type: integer
  5372. paycharge:
  5373. description: 今日手续费支出
  5374. type: number
  5375. relateduserid:
  5376. description: 关联用户
  5377. type: integer
  5378. signstatus:
  5379. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  5380. type: integer
  5381. sublevelpath:
  5382. description: 账号层级路径(逗号分隔,首尾加逗号)
  5383. type: string
  5384. taaccounttype:
  5385. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  5386. type: integer
  5387. thirdinamount:
  5388. description: 今日三方入金
  5389. type: number
  5390. thirdoutamount:
  5391. description: 今日三方出金
  5392. type: number
  5393. tradestatus:
  5394. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  5395. type: integer
  5396. transferamount:
  5397. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  5398. type: number
  5399. usedmargin:
  5400. description: 占用保证金
  5401. type: number
  5402. userid:
  5403. description: 用户ID
  5404. type: integer
  5405. type: object
  5406. models.ErmcpTradeConfigTMP:
  5407. properties:
  5408. areauserid:
  5409. description: 所属机构
  5410. type: integer
  5411. basiccurrencyid:
  5412. description: 基本币种ID[汇率] - 目标币种
  5413. type: integer
  5414. mainaccountid:
  5415. description: 主账户ID
  5416. type: integer
  5417. modifierid:
  5418. description: 修改人
  5419. type: integer
  5420. remark:
  5421. description: 备注
  5422. type: string
  5423. tradeconfigtmpid:
  5424. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  5425. type: integer
  5426. tradeconfigtmpname:
  5427. description: 交易配置模板名称
  5428. type: string
  5429. tradeconfigtmptype:
  5430. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  5431. type: integer
  5432. updatetime:
  5433. description: 更新时间
  5434. type: string
  5435. type: object
  5436. models.ErmcpUserModel:
  5437. properties:
  5438. address:
  5439. description: 通讯地址
  5440. type: string
  5441. attachment1:
  5442. description: 附件1
  5443. type: string
  5444. audittime:
  5445. description: 审核时间
  5446. type: string
  5447. cardfrontphotourl:
  5448. description: 证件正面图片地址
  5449. type: string
  5450. cardnum:
  5451. description: 证件号码
  5452. type: string
  5453. cardtype:
  5454. description: 证件类型
  5455. type: integer
  5456. cardtypename:
  5457. description: 证件类型名称
  5458. type: string
  5459. cityid:
  5460. description: 市
  5461. type: integer
  5462. countryid:
  5463. description: 国家
  5464. type: integer
  5465. createtime:
  5466. description: 创建时间
  5467. type: string
  5468. customername:
  5469. description: 企业名称
  5470. type: string
  5471. districtid:
  5472. description: 区域
  5473. type: integer
  5474. memberuserid:
  5475. description: 所属机构ID
  5476. type: integer
  5477. mobile:
  5478. description: 手机号码
  5479. type: string
  5480. modifytime:
  5481. description: 修改时间
  5482. type: string
  5483. nickname:
  5484. description: 昵称
  5485. type: string
  5486. provinceid:
  5487. description: 省
  5488. type: integer
  5489. remark:
  5490. description: 备注
  5491. type: string
  5492. status:
  5493. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5494. type: integer
  5495. statusdesc:
  5496. description: 账户状态中文描述
  5497. type: string
  5498. telphone:
  5499. description: 联系电话
  5500. type: string
  5501. userid:
  5502. description: 用户ID
  5503. type: integer
  5504. userinfotype:
  5505. description: 客户类型
  5506. type: string
  5507. type: object
  5508. models.ErmcpWareHouseInfo:
  5509. properties:
  5510. address:
  5511. description: 详细地址
  5512. type: string
  5513. areauserid:
  5514. description: 所属机构
  5515. type: integer
  5516. autoid:
  5517. description: 自增ID(仓库ID)
  5518. type: integer
  5519. cityid:
  5520. description: 市
  5521. type: integer
  5522. contactname:
  5523. description: 联系人
  5524. type: string
  5525. contactnum:
  5526. description: 联系电话
  5527. type: string
  5528. countryid:
  5529. description: 国家
  5530. type: integer
  5531. createtime:
  5532. description: 创建时间
  5533. type: string
  5534. districtid:
  5535. description: 区
  5536. type: integer
  5537. hasvideo:
  5538. description: 是否有视频 - 0:无 1:有
  5539. type: integer
  5540. provinceid:
  5541. description: 省
  5542. type: integer
  5543. remark:
  5544. description: 审核备注
  5545. type: string
  5546. videourl:
  5547. description: 视频地址
  5548. type: string
  5549. warehousecode:
  5550. description: 仓库代码
  5551. type: string
  5552. warehousename:
  5553. description: 仓库名称
  5554. type: string
  5555. warehousestatus:
  5556. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5557. type: integer
  5558. warehousetype:
  5559. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5560. type: integer
  5561. type: object
  5562. models.ErmcpWrstandDetail:
  5563. properties:
  5564. gbList:
  5565. description: 品牌列表
  5566. items:
  5567. $ref: '#/definitions/models.GoodsBrand'
  5568. type: array
  5569. goodsList:
  5570. description: 关联交易商品列表
  5571. items:
  5572. $ref: '#/definitions/models.RelatedGoodsEx'
  5573. type: array
  5574. gtList:
  5575. description: 型号列表
  5576. items:
  5577. $ref: '#/definitions/models.GoodsTypeModel'
  5578. type: array
  5579. wrd:
  5580. $ref: '#/definitions/models.ErmcpWrstandard'
  5581. description: 基本信息
  5582. type: object
  5583. wrsList:
  5584. description: 套保信息列表
  5585. items:
  5586. $ref: '#/definitions/models.WRSConverTDetail'
  5587. type: array
  5588. type: object
  5589. models.ErmcpWrstandard:
  5590. properties:
  5591. areauserid:
  5592. description: 所属机构
  5593. type: integer
  5594. createtime:
  5595. description: 创建时间
  5596. type: string
  5597. creatorid:
  5598. description: 创建人
  5599. type: integer
  5600. deliverygoodsid:
  5601. description: 品种ID
  5602. type: integer
  5603. enumdicname:
  5604. description: 单位名称
  5605. type: string
  5606. isvalid:
  5607. description: 是否有效 0-无效(停用) 1-有效(正常)
  5608. type: integer
  5609. minivalue:
  5610. description: 最小变动值
  5611. type: integer
  5612. minivaluedp:
  5613. description: 最小变动值小数位
  5614. type: integer
  5615. realminivalue:
  5616. description: 实际最小变动值
  5617. type: integer
  5618. realminivaluedp:
  5619. description: 实际最小变动值小数位
  5620. type: integer
  5621. remark:
  5622. description: 备注
  5623. type: string
  5624. unitid:
  5625. description: 单位ID
  5626. type: integer
  5627. updatetime:
  5628. description: 更新时间
  5629. type: string
  5630. wrstandardcode:
  5631. description: 现货商品代码
  5632. type: string
  5633. wrstandardid:
  5634. description: 现货商品ID(SEQ_WRSTANDARD)
  5635. type: integer
  5636. wrstandardname:
  5637. description: 现货商品名称
  5638. type: string
  5639. type: object
  5640. models.Externalexchange:
  5641. properties:
  5642. autoid:
  5643. description: AutoID - SEQ_EXTERNALEXCHANGE
  5644. type: integer
  5645. exchangefullname:
  5646. description: 外部交易所全称
  5647. type: string
  5648. exexchangecode:
  5649. description: 外部交易所代码
  5650. type: string
  5651. exexchangename:
  5652. description: 外部交易所名称(简称)
  5653. type: string
  5654. ismarketprice:
  5655. description: 是否支持市价 - 0:不支持 1:支持
  5656. type: integer
  5657. quotegear:
  5658. description: 行情档位(1-10)
  5659. type: integer
  5660. showbrokerflag:
  5661. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  5662. type: integer
  5663. updatetime:
  5664. description: 更新时间
  5665. type: string
  5666. required:
  5667. - autoid
  5668. type: object
  5669. models.Funcmenulist:
  5670. properties:
  5671. iconame:
  5672. description: 菜单图标
  5673. type: string
  5674. menutype:
  5675. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  5676. type: integer
  5677. parentcode:
  5678. description: 上级资源代码
  5679. type: string
  5680. remark:
  5681. description: 备注
  5682. type: string
  5683. resourcecode:
  5684. description: 资源代码
  5685. type: string
  5686. resourcelevel:
  5687. description: 级别 1-一级 2-二级 3-三级 4-四级
  5688. type: integer
  5689. resourcename:
  5690. description: 资源名
  5691. type: string
  5692. sort:
  5693. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  5694. type: integer
  5695. url:
  5696. description: URL
  5697. type: string
  5698. required:
  5699. - resourcecode
  5700. type: object
  5701. models.Goods:
  5702. properties:
  5703. agreeunit:
  5704. description: 合约单位
  5705. type: number
  5706. auditaccountid:
  5707. description: 审核操作员账号
  5708. type: integer
  5709. audittime:
  5710. description: 审核时间
  5711. type: string
  5712. cancelaccountid:
  5713. description: 注销操作员账号
  5714. type: integer
  5715. canceltime:
  5716. description: 注销时间
  5717. type: string
  5718. closepricemode:
  5719. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5720. type: integer
  5721. closepriceparam:
  5722. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5723. type: number
  5724. createtime:
  5725. description: 创建时间
  5726. type: string
  5727. creatorid:
  5728. description: 创建人
  5729. type: integer
  5730. currencyid:
  5731. description: 报价货币ID
  5732. type: integer
  5733. cutmode:
  5734. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5735. type: integer
  5736. decimalplace:
  5737. description: 报价小数位
  5738. type: integer
  5739. delistingdate:
  5740. description: 商品退市时间(状态:退市) -- 已作废
  5741. type: string
  5742. delistingmode:
  5743. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5744. type: integer
  5745. deliveryflag:
  5746. description: 交割标志 - 0:不可交割 1:可交割
  5747. type: integer
  5748. forceclosemode:
  5749. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5750. type: integer
  5751. forceclosevalue:
  5752. description: 定期强平参数 [收益权]
  5753. type: integer
  5754. goodscode:
  5755. description: 商品代码(内部)
  5756. type: string
  5757. goodscurrencyid:
  5758. description: 合约货币ID
  5759. type: integer
  5760. goodsgroupid:
  5761. description: 所属商品组ID
  5762. type: integer
  5763. goodsid:
  5764. description: 商品ID(自增ID SEQ_GOODS)
  5765. type: integer
  5766. goodsname:
  5767. description: 商品名称
  5768. type: string
  5769. goodsquotetype:
  5770. description: '合约报价类型: 1-直接报价 2-间接报价'
  5771. type: integer
  5772. goodsstatus:
  5773. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5774. type: integer
  5775. goodstradetype:
  5776. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5777. type: integer
  5778. goodunitid:
  5779. description: 报价单位ID
  5780. type: integer
  5781. hasquoter:
  5782. description: 是否有报价商 - 0:无报价商 1:有报价商
  5783. type: integer
  5784. hqprotecttime:
  5785. description: 行情保护时间(秒)
  5786. type: integer
  5787. innerdealmode:
  5788. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5789. type: integer
  5790. isbuylimited:
  5791. description: 是否限制建仓量 - 0:不限制 1:限制
  5792. type: integer
  5793. lasttradedate:
  5794. description: 最后交易日期(状态:待退市)
  5795. type: string
  5796. listingdate:
  5797. description: 交易开始日期
  5798. type: string
  5799. marketid:
  5800. description: 所属市场ID
  5801. type: integer
  5802. modifierid:
  5803. description: 修改人
  5804. type: integer
  5805. modifystatus:
  5806. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  5807. type: integer
  5808. modifytime:
  5809. description: 修改时间
  5810. type: string
  5811. outerdealmode:
  5812. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5813. type: integer
  5814. outgoodscode:
  5815. description: 商品代码(外部)
  5816. type: string
  5817. qtydecimalplace:
  5818. description: 成交量小数位
  5819. type: integer
  5820. quotegear:
  5821. description: 行情档位(1-10)
  5822. type: integer
  5823. quoteminunit:
  5824. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5825. type: integer
  5826. quoteshowtype:
  5827. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  5828. type: integer
  5829. quoteshowtypeinterval:
  5830. description: 行情报价间隔时间(秒)(成交价时为0)
  5831. type: integer
  5832. remark:
  5833. description: 备注
  5834. type: string
  5835. required:
  5836. - goodscode
  5837. - goodsid
  5838. - goodsname
  5839. - marketid
  5840. type: object
  5841. models.GoodsBrand:
  5842. properties:
  5843. brandid:
  5844. description: 品牌ID
  5845. type: integer
  5846. brandname:
  5847. description: 品牌名称
  5848. type: string
  5849. isvalid:
  5850. description: 是否有效 - 0:无效 1:有效
  5851. type: integer
  5852. type: object
  5853. models.GoodsIDAndName:
  5854. properties:
  5855. goodscode:
  5856. description: 商品代码(内部)
  5857. type: string
  5858. goodsid:
  5859. description: 商品ID(自增ID SEQ_GOODS)
  5860. type: integer
  5861. goodsname:
  5862. description: 商品名称
  5863. type: string
  5864. marketid:
  5865. description: 所属市场ID
  5866. type: integer
  5867. required:
  5868. - goodscode
  5869. - goodsid
  5870. - goodsname
  5871. - marketid
  5872. type: object
  5873. models.GoodsTypeModel:
  5874. properties:
  5875. convertfactor:
  5876. description: 标仓系数
  5877. type: number
  5878. modelid:
  5879. description: 型号ID
  5880. type: integer
  5881. modelname:
  5882. description: 型号名称
  5883. type: string
  5884. updatetime:
  5885. description: 更新时间
  5886. type: string
  5887. type: object
  5888. models.Goodsgroup:
  5889. properties:
  5890. agreeunit:
  5891. description: 合约单位
  5892. type: number
  5893. canshort:
  5894. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5895. type: integer
  5896. closepricemode:
  5897. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5898. type: integer
  5899. closepriceparam:
  5900. description: 强平最新价浮动比例 - 方式为2时使用
  5901. type: number
  5902. createtime:
  5903. description: 创建时间
  5904. type: string
  5905. creatorid:
  5906. description: 创建人
  5907. type: integer
  5908. currencyid:
  5909. description: 报价货币ID
  5910. type: integer
  5911. decimalplace:
  5912. description: 报价小数位
  5913. type: integer
  5914. exercisetype:
  5915. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  5916. type: integer
  5917. exexchangeid:
  5918. description: 外部交易所ID[通道交易]
  5919. type: integer
  5920. goodsgroupid:
  5921. description: 商品组ID(自增ID)
  5922. type: integer
  5923. goodsgroupname:
  5924. description: 商品组名称
  5925. type: string
  5926. goodsgroupstatus:
  5927. description: 商品组状态 - 1:正常 2:注销
  5928. type: integer
  5929. goodunitid:
  5930. description: 报价单位ID
  5931. type: integer
  5932. innerdealmode:
  5933. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5934. type: integer
  5935. isbuylimited:
  5936. description: 是否限制建仓量 - 0:不限制 1:限制
  5937. type: integer
  5938. marketid:
  5939. description: 所属市场ID
  5940. type: integer
  5941. modifierid:
  5942. description: 修改人
  5943. type: integer
  5944. modifytime:
  5945. description: 修改时间
  5946. type: string
  5947. outerdealmode:
  5948. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5949. type: integer
  5950. outergroupcode:
  5951. description: 外部商品组代码[通道交易]
  5952. type: string
  5953. premiumdecimalplace:
  5954. description: 权利金小数位[场外期权]
  5955. type: integer
  5956. premiumspreadalgorithm:
  5957. description: 权利金点差方式[场外期权] 1:比率 2:固定
  5958. type: integer
  5959. premiumspreadvalue:
  5960. description: 权利金点差值[场外期权]
  5961. type: number
  5962. qtydecimalplace:
  5963. description: 成交量小数位
  5964. type: integer
  5965. quotegear:
  5966. description: 行情档位(1-10)
  5967. type: integer
  5968. quoteminunit:
  5969. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5970. type: integer
  5971. quoterid:
  5972. description: 报价商ID[场外期权]
  5973. type: integer
  5974. quotesourcegroupid:
  5975. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5976. type: integer
  5977. syncgoodsqty:
  5978. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5979. type: integer
  5980. required:
  5981. - goodsgroupid
  5982. - goodsgroupname
  5983. - goodsgroupstatus
  5984. - marketid
  5985. type: object
  5986. models.Goodssortbypreposition:
  5987. properties:
  5988. goodscode:
  5989. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  5990. type: string
  5991. goodsgroupcode:
  5992. description: 品种代码
  5993. type: string
  5994. prepositionqty:
  5995. description: 昨持仓量
  5996. type: integer
  5997. sortindex:
  5998. description: 排序
  5999. type: integer
  6000. tradedate:
  6001. description: 交易日
  6002. type: string
  6003. updatetime:
  6004. description: 更新时间
  6005. type: string
  6006. required:
  6007. - goodscode
  6008. - tradedate
  6009. type: object
  6010. models.Hedgeinnerholderdetail:
  6011. properties:
  6012. accountid:
  6013. description: 账号ID
  6014. type: integer
  6015. buyorsell:
  6016. description: 方向 - 0:买 1:卖
  6017. type: integer
  6018. freezeqty:
  6019. description: 冻结数量 - 按单平使用
  6020. type: integer
  6021. goodsid:
  6022. description: 商品ID
  6023. type: integer
  6024. holderamount:
  6025. description: 持仓金额 [商品币种]
  6026. type: number
  6027. holderdays:
  6028. description: 剩余冻结天数
  6029. type: integer
  6030. holderprice:
  6031. description: 持仓价格
  6032. type: number
  6033. holderqty:
  6034. description: 持仓数量
  6035. type: integer
  6036. marketid:
  6037. description: 市场ID
  6038. type: integer
  6039. openprice:
  6040. description: 建仓价格
  6041. type: number
  6042. openqty:
  6043. description: 建仓数量
  6044. type: integer
  6045. parentaccountid:
  6046. description: 所属母账户
  6047. type: integer
  6048. releaseamount:
  6049. description: 释放持仓金额[商品币种]
  6050. type: number
  6051. tradeamount:
  6052. description: 成交金额[账户]
  6053. type: number
  6054. tradedate:
  6055. description: 交易日(yyyyMMdd)
  6056. type: string
  6057. tradeid:
  6058. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6059. type: string
  6060. tradetime:
  6061. description: 交易时间
  6062. type: string
  6063. required:
  6064. - buyorsell
  6065. - tradeid
  6066. type: object
  6067. models.HsbyBuyMyPayOrder:
  6068. properties:
  6069. agreeunit:
  6070. description: 合约单位
  6071. type: number
  6072. buyaccountid:
  6073. description: 买方账号ID[报价币种]
  6074. type: integer
  6075. buyorderid:
  6076. description: 买方委托单号
  6077. type: string
  6078. createtime:
  6079. description: 创建时间
  6080. type: string
  6081. currencysign:
  6082. description: 货币符号
  6083. type: string
  6084. decimalplace:
  6085. description: 报价小数位
  6086. type: integer
  6087. goodscode:
  6088. description: 商品代码(内部)
  6089. type: string
  6090. goodsid:
  6091. description: 商品ID
  6092. type: integer
  6093. goodsname:
  6094. description: 商品名称
  6095. type: string
  6096. marketid:
  6097. description: 市场ID
  6098. type: integer
  6099. offamount:
  6100. description: 优惠金额
  6101. type: number
  6102. originalamount:
  6103. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  6104. type: number
  6105. payamount:
  6106. description: 支付金额 = TradeAmount + TradeCharge
  6107. type: number
  6108. payflag:
  6109. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6110. type: integer
  6111. paylimitedtime:
  6112. description: 支付期限
  6113. type: string
  6114. paytime:
  6115. description: 付款时间
  6116. type: string
  6117. picurls1:
  6118. description: 预售商品介绍图片[多张用逗号分隔]
  6119. type: string
  6120. picurls2:
  6121. description: 挂牌商品介绍图片[多张用逗号分隔]
  6122. type: string
  6123. sellaccountid:
  6124. description: 卖方账号ID[报价币种]
  6125. type: integer
  6126. sellorderid:
  6127. description: 卖方委托单号
  6128. type: string
  6129. tradeamount:
  6130. description: 成交金额
  6131. type: number
  6132. tradecharge:
  6133. description: 成交手续费(买方)
  6134. type: number
  6135. tradedate:
  6136. description: 交易日(yyyyMMdd)
  6137. type: string
  6138. tradeid:
  6139. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6140. type: string
  6141. trademode:
  6142. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6143. 21:竞拍-大宗式 22:受托竞价
  6144. type: integer
  6145. tradeprice:
  6146. description: 成交价格
  6147. type: number
  6148. tradeqty:
  6149. description: 成交数量
  6150. type: integer
  6151. vendorname1:
  6152. description: 预售商品供应商名称
  6153. type: string
  6154. vendorname2:
  6155. description: 挂牌商品供应商名称
  6156. type: string
  6157. required:
  6158. - goodscode
  6159. - goodsname
  6160. - tradeid
  6161. - trademode
  6162. type: object
  6163. models.HsbyBuyMyTradeDetail:
  6164. properties:
  6165. accountid:
  6166. description: 账户ID[报价币种]
  6167. type: integer
  6168. agreeunit:
  6169. description: 合约单位
  6170. type: number
  6171. amount:
  6172. description: 金额 = 价格 * 数量 * 合约单位
  6173. type: number
  6174. buyorsell:
  6175. description: 买卖 - 0:买 1:卖
  6176. type: integer
  6177. currencysign:
  6178. description: 货币符号
  6179. type: string
  6180. decimalplace:
  6181. description: 报价小数位
  6182. type: integer
  6183. goodscode:
  6184. description: 商品代码(内部)
  6185. type: string
  6186. goodsid:
  6187. description: 商品ID
  6188. type: integer
  6189. goodsname:
  6190. description: 商品名称
  6191. type: string
  6192. marketid:
  6193. description: 市场ID
  6194. type: integer
  6195. orderamount:
  6196. description: 委托金额
  6197. type: number
  6198. orderid:
  6199. description: 单号(成交单号)
  6200. type: string
  6201. picurls1:
  6202. description: 预售商品介绍图片[多张用逗号分隔]
  6203. type: string
  6204. picurls2:
  6205. description: 挂牌商品介绍图片[多张用逗号分隔]
  6206. type: string
  6207. price:
  6208. description: 价格
  6209. type: number
  6210. qty:
  6211. description: 数量
  6212. type: integer
  6213. time:
  6214. description: 时间
  6215. type: string
  6216. trademode:
  6217. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6218. 21:竞拍-大宗式 22:受托竞价
  6219. type: integer
  6220. vendorname1:
  6221. description: 预售商品供应商名称
  6222. type: string
  6223. vendorname2:
  6224. description: 挂牌商品供应商名称
  6225. type: string
  6226. required:
  6227. - accountid
  6228. - buyorsell
  6229. - goodscode
  6230. - goodsid
  6231. - goodsname
  6232. - marketid
  6233. - orderid
  6234. - qty
  6235. - time
  6236. - trademode
  6237. type: object
  6238. models.HsbyGoodsOrderDetail:
  6239. properties:
  6240. buyorsell:
  6241. description: 买卖 - 0:买 1:卖
  6242. type: integer
  6243. currencysign:
  6244. description: 货币符号
  6245. type: string
  6246. customername:
  6247. description: 客户名称(企业名称),已脱敏
  6248. type: string
  6249. enableqty:
  6250. description: 可用数量
  6251. type: integer
  6252. goodunit:
  6253. description: 报价单位
  6254. type: string
  6255. orderid:
  6256. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6257. type: string
  6258. orderprice:
  6259. description: 委托价格
  6260. type: number
  6261. ordertime:
  6262. description: 委托时间
  6263. type: string
  6264. required:
  6265. - buyorsell
  6266. - orderid
  6267. - ordertime
  6268. type: object
  6269. models.HsbyListingGoodsDetail:
  6270. properties:
  6271. agreeunit:
  6272. description: 合约单位
  6273. type: number
  6274. buymaxqty:
  6275. description: 购买上限 [71] - 0为不限
  6276. type: integer
  6277. currency:
  6278. description: 货币
  6279. type: string
  6280. currencysign:
  6281. description: 货币符号
  6282. type: string
  6283. decimalplace:
  6284. description: 报价小数位
  6285. type: integer
  6286. desccityid:
  6287. description: 目的地(市)ID
  6288. type: integer
  6289. descprovinceid:
  6290. description: 目的地(省)ID
  6291. type: integer
  6292. goodscode:
  6293. description: 商品代码(内部)
  6294. type: string
  6295. goodsdesc:
  6296. description: 商品详情
  6297. type: string
  6298. goodsid:
  6299. description: 商品ID(自增ID SEQ_GOODS)
  6300. type: integer
  6301. goodsname:
  6302. description: 商品名称
  6303. type: string
  6304. goodsprice:
  6305. description: 商品价格
  6306. type: number
  6307. hotindex:
  6308. description: 景点热度
  6309. type: integer
  6310. last:
  6311. description: 现价
  6312. type: number
  6313. limitdown:
  6314. description: 跌停价
  6315. type: number
  6316. limitup:
  6317. description: 涨停价
  6318. type: number
  6319. lotsize:
  6320. description: 手数最小变动单位
  6321. type: integer
  6322. marketid:
  6323. description: 所属市场ID
  6324. type: integer
  6325. picurls:
  6326. description: 介绍图片[多张用逗号分隔]
  6327. type: string
  6328. quoteminunit:
  6329. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6330. type: integer
  6331. stepvalue:
  6332. description: 价格最小变动单位
  6333. type: number
  6334. trademode:
  6335. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6336. 21:竞拍-大宗式 22:受托竞价
  6337. type: integer
  6338. vendorattr:
  6339. description: 供应商附件(多张,逗号分隔)
  6340. type: string
  6341. vendorname:
  6342. description: 供应商名称
  6343. type: string
  6344. vendorphone:
  6345. description: 供应商客服电话
  6346. type: string
  6347. videourls:
  6348. description: 介绍视频[多张用逗号分隔]
  6349. type: string
  6350. required:
  6351. - goodscode
  6352. - goodsid
  6353. - goodsname
  6354. - marketid
  6355. - trademode
  6356. type: object
  6357. models.HsbyMarketGoods:
  6358. properties:
  6359. accountid:
  6360. description: 账户ID[报价币种]
  6361. type: integer
  6362. agreeunit:
  6363. description: 合约单位
  6364. type: number
  6365. buyorsell:
  6366. description: 买卖 - 0:买 1:卖
  6367. type: integer
  6368. categoryid:
  6369. description: 类别ID(WRCATEGORY)
  6370. type: integer
  6371. currency:
  6372. description: 货币
  6373. type: string
  6374. currencysign:
  6375. description: 货币符号
  6376. type: string
  6377. customername:
  6378. description: 卖家名称
  6379. type: string
  6380. decimalplace:
  6381. description: 报价小数位
  6382. type: integer
  6383. goodscode:
  6384. description: 商品代码(内部)
  6385. type: string
  6386. goodsid:
  6387. description: 商品ID
  6388. type: integer
  6389. goodsname:
  6390. description: 商品名称
  6391. type: string
  6392. goodsprice:
  6393. description: 商品价格
  6394. type: number
  6395. hascoupon:
  6396. description: 是否可用优惠卷
  6397. type: boolean
  6398. hotindex:
  6399. description: 景点热度
  6400. type: integer
  6401. marketid:
  6402. description: 市场ID
  6403. type: integer
  6404. orderid:
  6405. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6406. type: string
  6407. orderprice:
  6408. description: 委托价格
  6409. type: number
  6410. orderstatus:
  6411. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6412. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6413. 16:成交失败违约(荷兰式竞拍专用)
  6414. type: integer
  6415. picurls:
  6416. description: 介绍图片[多张用逗号分隔]
  6417. type: string
  6418. quoteminunit:
  6419. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6420. type: integer
  6421. sellUserID:
  6422. description: 卖方UserID
  6423. type: integer
  6424. trademode:
  6425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6426. 21:竞拍-大宗式 22:受托竞价
  6427. type: integer
  6428. videourls:
  6429. description: 介绍视频[多张用逗号分隔]
  6430. type: string
  6431. required:
  6432. - accountid
  6433. - buyorsell
  6434. - goodscode
  6435. - goodsid
  6436. - goodsname
  6437. - marketid
  6438. - orderid
  6439. - trademode
  6440. type: object
  6441. models.HsbyMarketGoodsDetail:
  6442. properties:
  6443. accountid:
  6444. description: 账户ID[报价币种]
  6445. type: integer
  6446. agreeunit:
  6447. description: 合约单位
  6448. type: number
  6449. buymaxqty:
  6450. description: 购买上限 [71] - 0为不限
  6451. type: integer
  6452. buyorsell:
  6453. description: 买卖 - 0:买 1:卖
  6454. type: integer
  6455. cancelqty:
  6456. description: 撤单数量
  6457. type: integer
  6458. categoryid:
  6459. description: 类别ID(WRCATEGORY)
  6460. type: integer
  6461. currency:
  6462. description: 货币
  6463. type: string
  6464. currencysign:
  6465. description: 货币符号
  6466. type: string
  6467. customername:
  6468. description: 卖家名称
  6469. type: string
  6470. decimalplace:
  6471. description: 报价小数位
  6472. type: integer
  6473. goodscode:
  6474. description: 商品代码(内部)
  6475. type: string
  6476. goodsdesc:
  6477. description: 商品详情
  6478. type: string
  6479. goodsid:
  6480. description: 商品ID
  6481. type: integer
  6482. goodsname:
  6483. description: 商品名称
  6484. type: string
  6485. goodsprice:
  6486. description: 商品价格
  6487. type: number
  6488. hotindex:
  6489. description: 景点热度
  6490. type: integer
  6491. lotsize:
  6492. description: 手数最小变动单位
  6493. type: integer
  6494. marketid:
  6495. description: 市场ID
  6496. type: integer
  6497. orderid:
  6498. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6499. type: string
  6500. orderprice:
  6501. description: 委托价格
  6502. type: number
  6503. orderqty:
  6504. description: 委托数量
  6505. type: integer
  6506. orderstatus:
  6507. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6508. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6509. 16:成交失败违约(荷兰式竞拍专用)
  6510. type: integer
  6511. picurls:
  6512. description: 介绍图片[多张用逗号分隔]
  6513. type: string
  6514. quoteminunit:
  6515. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6516. type: integer
  6517. sellUserID:
  6518. description: 卖方UserID
  6519. type: integer
  6520. trademode:
  6521. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6522. 21:竞拍-大宗式 22:受托竞价
  6523. type: integer
  6524. tradeqty:
  6525. description: 成交数量
  6526. type: integer
  6527. vendorattr:
  6528. description: 供应商附件(多张,逗号分隔)
  6529. type: string
  6530. vendorname:
  6531. description: 供应商名称
  6532. type: string
  6533. vendorphone:
  6534. description: 供应商客服电话
  6535. type: string
  6536. videourls:
  6537. description: 介绍视频[多张用逗号分隔]
  6538. type: string
  6539. required:
  6540. - accountid
  6541. - buyorsell
  6542. - goodscode
  6543. - goodsid
  6544. - goodsname
  6545. - marketid
  6546. - orderid
  6547. - orderqty
  6548. - trademode
  6549. type: object
  6550. models.HsbyMarketInfo:
  6551. properties:
  6552. marketid:
  6553. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  6554. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  6555. type: integer
  6556. marketname:
  6557. description: 市场名称
  6558. type: string
  6559. marketstatus:
  6560. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  6561. type: integer
  6562. trademode:
  6563. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6564. 21:竞拍-大宗式 22:受托竞价
  6565. type: integer
  6566. required:
  6567. - marketid
  6568. - marketstatus
  6569. - trademode
  6570. type: object
  6571. models.HsbyMyGoods:
  6572. properties:
  6573. accountid:
  6574. description: 账号Id
  6575. type: integer
  6576. agreeunit:
  6577. description: 合约单位
  6578. type: number
  6579. buyaverageprice:
  6580. description: 持仓均价
  6581. type: number
  6582. buycurholderamount:
  6583. description: 买当前持仓总金额[商品币种]
  6584. type: number
  6585. buycurpositionqty:
  6586. description: 买当前持仓总数量
  6587. type: integer
  6588. buymaxqty:
  6589. description: 购买上限 [71] - 0为不限
  6590. type: integer
  6591. currencysign:
  6592. description: 货币符号
  6593. type: string
  6594. decimalplace:
  6595. description: 报价小数位
  6596. type: integer
  6597. enableqty:
  6598. description: 可用数量
  6599. type: integer
  6600. goodscode:
  6601. description: 商品代码(内部)
  6602. type: string
  6603. goodsid:
  6604. description: 商品Id
  6605. type: integer
  6606. goodsname:
  6607. description: 商品名称
  6608. type: string
  6609. goodsprice:
  6610. description: 商品价格
  6611. type: number
  6612. goodsstatus:
  6613. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6614. type: integer
  6615. last:
  6616. description: 现价(仅使用于挂牌点选)
  6617. type: number
  6618. limitdown:
  6619. description: 跌停价(仅使用于挂牌点选)
  6620. type: number
  6621. limitup:
  6622. description: 涨停价(仅使用于挂牌点选)
  6623. type: number
  6624. lotsize:
  6625. description: 手数最小变动单位
  6626. type: integer
  6627. marketid:
  6628. description: 所属市场ID
  6629. type: integer
  6630. picurls:
  6631. description: 介绍图片[多张用逗号分隔]
  6632. type: string
  6633. quoteminunit:
  6634. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6635. type: integer
  6636. stepvalue:
  6637. description: 价格最小变动单位
  6638. type: number
  6639. trademode:
  6640. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6641. 21:竞拍-大宗式 22:受托竞价
  6642. type: integer
  6643. required:
  6644. - accountid
  6645. - goodscode
  6646. - goodsid
  6647. - goodsname
  6648. - marketid
  6649. - trademode
  6650. type: object
  6651. models.HsbyMyPackage:
  6652. properties:
  6653. accountid:
  6654. description: 账户ID
  6655. type: integer
  6656. address:
  6657. description: 提货人详细地址
  6658. type: string
  6659. agreeunit:
  6660. description: 合约单位
  6661. type: number
  6662. amount:
  6663. description: 提货金额
  6664. type: number
  6665. auditer:
  6666. description: 审核人
  6667. type: integer
  6668. audittime:
  6669. description: 审核时间
  6670. type: string
  6671. averageprice:
  6672. description: 均价
  6673. type: number
  6674. cardnum:
  6675. description: 提货人证件号码
  6676. type: string
  6677. cardtypeid:
  6678. description: 提货人证件类型
  6679. type: integer
  6680. checkremark:
  6681. description: 审核备注
  6682. type: string
  6683. currencysign:
  6684. description: 货币符号
  6685. type: string
  6686. decimalplace:
  6687. description: 报价小数位
  6688. type: integer
  6689. goodscode:
  6690. description: 商品代码(内部)
  6691. type: string
  6692. goodsid:
  6693. description: 商品ID
  6694. type: integer
  6695. goodsname:
  6696. description: 商品名称
  6697. type: string
  6698. handlestatus:
  6699. description: 处理状态
  6700. type: integer
  6701. marketid:
  6702. description: 市场ID
  6703. type: integer
  6704. phonenum:
  6705. description: 提货人联系方式
  6706. type: string
  6707. picurls:
  6708. description: 介绍图片[多张用逗号分隔]
  6709. type: string
  6710. qty:
  6711. description: 提货数量
  6712. type: number
  6713. recivername:
  6714. description: 提货人姓名
  6715. type: string
  6716. reqtime:
  6717. description: 更新时间
  6718. type: string
  6719. takemode:
  6720. description: 提货方式 - 2:自提 3:配送
  6721. type: integer
  6722. takeorderid:
  6723. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6724. type: string
  6725. takeorderstatus:
  6726. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6727. type: integer
  6728. takeremark:
  6729. description: 提货备注
  6730. type: string
  6731. tradedate:
  6732. description: 交易日(yyyyMMdd)
  6733. type: string
  6734. trademode:
  6735. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6736. 21:竞拍-大宗式 22:受托竞价
  6737. type: integer
  6738. userid:
  6739. description: 用户ID
  6740. type: integer
  6741. vendorname:
  6742. description: 供应商名称
  6743. type: string
  6744. required:
  6745. - goodscode
  6746. - goodsname
  6747. - takeorderid
  6748. - trademode
  6749. type: object
  6750. models.HsbyPreGoods:
  6751. properties:
  6752. agreeunit:
  6753. description: 合约单位
  6754. type: number
  6755. currency:
  6756. description: 货币
  6757. type: string
  6758. currencysign:
  6759. description: 货币符号
  6760. type: string
  6761. decimalplace:
  6762. description: 报价小数位
  6763. type: integer
  6764. desccityid:
  6765. description: 目的地(市)
  6766. type: integer
  6767. descprovinceid:
  6768. description: 目的地(省)
  6769. type: integer
  6770. enableqty:
  6771. description: 剩余数量
  6772. type: integer
  6773. goodscode:
  6774. description: 商品代码(内部)
  6775. type: string
  6776. goodsid:
  6777. description: 商品ID(自增ID SEQ_GOODS)
  6778. type: integer
  6779. goodsname:
  6780. description: 商品名称
  6781. type: string
  6782. goodsstatus:
  6783. description: 商品状态- 2:未上市 3:上市
  6784. type: integer
  6785. lasttradedate:
  6786. description: 最后交易日期(状态:待退市)
  6787. type: string
  6788. listingdate:
  6789. description: 交易开始日期
  6790. type: string
  6791. marketid:
  6792. description: 所属市场ID
  6793. type: integer
  6794. picurls:
  6795. description: 介绍图片[多张用逗号分隔]
  6796. type: string
  6797. presaledqty:
  6798. description: 已预售量(预售结束时更新)
  6799. type: integer
  6800. presaleqty:
  6801. description: 预售数量
  6802. type: integer
  6803. quoteminunit:
  6804. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6805. type: integer
  6806. refprice:
  6807. description: 参考价格[一口价]
  6808. type: number
  6809. relatedgoodsid:
  6810. description: 关联交易合约ID
  6811. type: integer
  6812. trademode:
  6813. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6814. 21:竞拍-大宗式 22:受托竞价
  6815. type: integer
  6816. videourls:
  6817. description: 介绍视频[多张用逗号分隔]
  6818. type: string
  6819. required:
  6820. - goodscode
  6821. - goodsid
  6822. - goodsname
  6823. - marketid
  6824. - trademode
  6825. type: object
  6826. models.HsbyPreGoodsDetail:
  6827. properties:
  6828. agreeunit:
  6829. description: 合约单位
  6830. type: number
  6831. buymaxqty:
  6832. description: 购买上限 [71] - 0为不限
  6833. type: integer
  6834. currency:
  6835. description: 货币
  6836. type: string
  6837. currencysign:
  6838. description: 货币符号
  6839. type: string
  6840. customername:
  6841. description: 发行单位
  6842. type: string
  6843. decimalplace:
  6844. description: 报价小数位
  6845. type: integer
  6846. desccityid:
  6847. description: 目的地(市)ID
  6848. type: integer
  6849. descprovinceid:
  6850. description: 目的地(省)ID
  6851. type: integer
  6852. enableqty:
  6853. description: 剩余数量
  6854. type: integer
  6855. goodscode:
  6856. description: 商品代码(内部)
  6857. type: string
  6858. goodsdesc:
  6859. description: 商品详情
  6860. type: string
  6861. goodsid:
  6862. description: 商品ID(自增ID SEQ_GOODS)
  6863. type: integer
  6864. goodsname:
  6865. description: 商品名称
  6866. type: string
  6867. goodsstatus:
  6868. description: 商品状态- 2:未上市 3:上市
  6869. type: integer
  6870. goodunit:
  6871. description: 报价单位
  6872. type: string
  6873. lasttradedate:
  6874. description: 最后交易日期(状态:待退市)
  6875. type: string
  6876. listingdate:
  6877. description: 交易开始日期
  6878. type: string
  6879. lotsize:
  6880. description: 手数最小变动单位
  6881. type: integer
  6882. marketid:
  6883. description: 所属市场ID
  6884. type: integer
  6885. picurls:
  6886. description: 介绍图片[多张用逗号分隔]
  6887. type: string
  6888. presaledqty:
  6889. description: 已预售量(预售结束时更新)
  6890. type: integer
  6891. presaleqty:
  6892. description: 预售数量
  6893. type: integer
  6894. quoteminunit:
  6895. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6896. type: integer
  6897. refprice:
  6898. description: 参考价格[一口价]
  6899. type: number
  6900. relatedgoodsid:
  6901. description: 关联交易合约ID
  6902. type: integer
  6903. stepvalue:
  6904. description: 价格最小变动单位
  6905. type: number
  6906. trademode:
  6907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6908. 21:竞拍-大宗式 22:受托竞价
  6909. type: integer
  6910. vendorattr:
  6911. description: 供应商附件(多张,逗号分隔)
  6912. type: string
  6913. vendorname:
  6914. description: 供应商名称
  6915. type: string
  6916. vendorphone:
  6917. description: 供应商客服电话
  6918. type: string
  6919. videourls:
  6920. description: 介绍视频[多张用逗号分隔]
  6921. type: string
  6922. required:
  6923. - goodscode
  6924. - goodsid
  6925. - goodsname
  6926. - marketid
  6927. - trademode
  6928. type: object
  6929. models.HsbySellCollectionOrder:
  6930. properties:
  6931. agreeunit:
  6932. description: 合约单位
  6933. type: number
  6934. buyaccountid:
  6935. description: 买方账号ID[报价币种]
  6936. type: integer
  6937. buyorderid:
  6938. description: 买方委托单号
  6939. type: string
  6940. createtime:
  6941. description: 创建时间
  6942. type: string
  6943. currencysign:
  6944. description: 货币符号
  6945. type: string
  6946. decimalplace:
  6947. description: 报价小数位
  6948. type: integer
  6949. goodscode:
  6950. description: 商品代码(内部)
  6951. type: string
  6952. goodsid:
  6953. description: 商品ID
  6954. type: integer
  6955. goodsname:
  6956. description: 商品名称
  6957. type: string
  6958. marketid:
  6959. description: 市场ID
  6960. type: integer
  6961. offamount:
  6962. description: 优惠金额
  6963. type: number
  6964. payamount:
  6965. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  6966. type: number
  6967. payflag:
  6968. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  6969. type: integer
  6970. paylimitedtime:
  6971. description: 支付期限
  6972. type: string
  6973. paytime:
  6974. description: 付款时间
  6975. type: string
  6976. picurls:
  6977. description: 商品介绍图片[多张用逗号分隔]
  6978. type: string
  6979. sellaccountid:
  6980. description: 卖方账号ID[报价币种]
  6981. type: integer
  6982. sellorderid:
  6983. description: 卖方委托单号
  6984. type: string
  6985. tradeamount:
  6986. description: 成交金额
  6987. type: number
  6988. tradecharge:
  6989. description: 成交手续费(买方)
  6990. type: number
  6991. tradedate:
  6992. description: 交易日(yyyyMMdd)
  6993. type: string
  6994. tradeid:
  6995. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6996. type: string
  6997. trademode:
  6998. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6999. 21:竞拍-大宗式 22:受托竞价
  7000. type: integer
  7001. tradeprice:
  7002. description: 成交价格
  7003. type: number
  7004. tradeqty:
  7005. description: 成交数量
  7006. type: integer
  7007. required:
  7008. - goodscode
  7009. - goodsname
  7010. - tradeid
  7011. - trademode
  7012. type: object
  7013. models.HsbySellMyDetail:
  7014. properties:
  7015. accountid:
  7016. description: 账户ID[报价币种]
  7017. type: integer
  7018. agreeunit:
  7019. description: 合约单位
  7020. type: number
  7021. buyorsell:
  7022. description: 买卖 - 0:买 1:卖
  7023. type: integer
  7024. currencysign:
  7025. description: 货币符号
  7026. type: string
  7027. decimalplace:
  7028. description: 报价小数位
  7029. type: integer
  7030. goodscode:
  7031. description: 商品代码(内部)
  7032. type: string
  7033. goodsid:
  7034. description: 商品ID
  7035. type: integer
  7036. goodsname:
  7037. description: 商品名称
  7038. type: string
  7039. marketid:
  7040. description: 市场ID
  7041. type: integer
  7042. orderid:
  7043. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7044. type: string
  7045. ordertype:
  7046. description: 单据类型:0 - 发布中, 1 - 已完成
  7047. type: integer
  7048. picurls:
  7049. description: 介绍图片[多张用逗号分隔]
  7050. type: string
  7051. price:
  7052. description: 价格
  7053. type: number
  7054. qty:
  7055. description: 数量
  7056. type: integer
  7057. time:
  7058. description: 时间
  7059. type: string
  7060. trademode:
  7061. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7062. 21:竞拍-大宗式 22:受托竞价
  7063. type: integer
  7064. vendorname:
  7065. description: 供应商名称
  7066. type: string
  7067. required:
  7068. - accountid
  7069. - buyorsell
  7070. - goodscode
  7071. - goodsid
  7072. - goodsname
  7073. - marketid
  7074. - orderid
  7075. - time
  7076. - trademode
  7077. type: object
  7078. models.HsbyTopGoods:
  7079. properties:
  7080. agreeunit:
  7081. description: 合约单位
  7082. type: number
  7083. currency:
  7084. description: 货币
  7085. type: string
  7086. currencysign:
  7087. description: 货币符号
  7088. type: string
  7089. decimalplace:
  7090. description: 报价小数位
  7091. type: integer
  7092. desccityid:
  7093. description: 目的地(市)
  7094. type: integer
  7095. descprovinceid:
  7096. description: 目的地(省)
  7097. type: integer
  7098. goodscode:
  7099. description: 商品代码(内部)
  7100. type: string
  7101. goodsid:
  7102. description: 商品ID(自增ID SEQ_GOODS)
  7103. type: integer
  7104. goodsname:
  7105. description: 商品名称
  7106. type: string
  7107. hotindex:
  7108. description: 景点热度
  7109. type: integer
  7110. last:
  7111. description: 现价
  7112. type: number
  7113. marketid:
  7114. description: 所属市场ID
  7115. type: integer
  7116. picurls:
  7117. description: 介绍图片[多张用逗号分隔]
  7118. type: string
  7119. quoteminunit:
  7120. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7121. type: integer
  7122. trademode:
  7123. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7124. 21:竞拍-大宗式 22:受托竞价
  7125. type: integer
  7126. videourls:
  7127. description: 介绍视频[多张用逗号分隔]
  7128. type: string
  7129. required:
  7130. - goodscode
  7131. - goodsid
  7132. - goodsname
  7133. - marketid
  7134. - trademode
  7135. type: object
  7136. models.HybsMyBuyOrderDetail:
  7137. properties:
  7138. accountid:
  7139. description: 账户ID[报价币种]
  7140. type: integer
  7141. agreeunit:
  7142. description: 合约单位
  7143. type: number
  7144. buyorsell:
  7145. description: 买卖 - 0:买 1:卖
  7146. type: integer
  7147. cancelqty:
  7148. description: 撤单数量
  7149. type: integer
  7150. currencysign:
  7151. description: 货币符号
  7152. type: string
  7153. decimalplace:
  7154. description: 报价小数位
  7155. type: integer
  7156. goodscode:
  7157. description: 商品代码(内部)
  7158. type: string
  7159. goodsid:
  7160. description: 商品ID
  7161. type: integer
  7162. goodsname:
  7163. description: 商品名称
  7164. type: string
  7165. listingselecttype:
  7166. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7167. type: integer
  7168. marketid:
  7169. description: 市场ID
  7170. type: integer
  7171. mybuystatus:
  7172. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  7173. type: integer
  7174. orderamount:
  7175. description: 委托金额
  7176. type: number
  7177. orderid:
  7178. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7179. type: string
  7180. orderprice:
  7181. description: 委托价格
  7182. type: number
  7183. orderqty:
  7184. description: 委托数量
  7185. type: integer
  7186. orderstatus:
  7187. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7188. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7189. 16:成交失败违约(荷兰式竞拍专用)
  7190. type: integer
  7191. ordertime:
  7192. description: 委托时间
  7193. type: string
  7194. picurls1:
  7195. description: 预售商品介绍图片[多张用逗号分隔]
  7196. type: string
  7197. picurls2:
  7198. description: 挂牌商品介绍图片[多张用逗号分隔]
  7199. type: string
  7200. trademode:
  7201. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7202. 21:竞拍-大宗式 22:受托竞价
  7203. type: integer
  7204. tradeqty:
  7205. description: 成交数量
  7206. type: integer
  7207. vendorname1:
  7208. description: 预售商品供应商名称
  7209. type: string
  7210. vendorname2:
  7211. description: 挂牌商品供应商名称
  7212. type: string
  7213. required:
  7214. - accountid
  7215. - buyorsell
  7216. - goodscode
  7217. - goodsid
  7218. - goodsname
  7219. - marketid
  7220. - orderid
  7221. - orderqty
  7222. - ordertime
  7223. - trademode
  7224. type: object
  7225. models.Loginaccount:
  7226. properties:
  7227. canoutin:
  7228. description: 是否可出入金 - 0:不可 1:可
  7229. type: integer
  7230. clientroleid:
  7231. description: 终端角色ID
  7232. type: integer
  7233. haslogined:
  7234. description: 是否已登录 - 0:未登录 1:已登录
  7235. type: integer
  7236. hasupdatedpwd:
  7237. description: 是否已更改密码 - 0:未修改 1:已修改
  7238. type: integer
  7239. lastloginip:
  7240. description: 最新登录地址
  7241. type: string
  7242. lastloginmode:
  7243. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  7244. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7245. type: integer
  7246. lastloginremark:
  7247. description: 最新登录描述
  7248. type: string
  7249. lastlogintime:
  7250. description: 最新登录时间
  7251. type: string
  7252. logincode:
  7253. description: 登录代码
  7254. type: string
  7255. loginfailnum:
  7256. description: 连续登录失败次数(登录成功时清零)
  7257. type: integer
  7258. loginid:
  7259. description: 登陆账号
  7260. type: integer
  7261. loginport:
  7262. description: 最新登录端口
  7263. type: integer
  7264. loginstatus:
  7265. description: 登录账号状态 1:正常 2:冻结 3:无效
  7266. type: integer
  7267. loginusertype:
  7268. description: 登录账号类型 - 1:投资者 2:机构交易员
  7269. type: integer
  7270. modifierid:
  7271. description: 修改人
  7272. type: integer
  7273. modifytime:
  7274. description: 修改时间
  7275. type: string
  7276. pwdwrongcount:
  7277. description: 密码错误次数
  7278. type: integer
  7279. taaccountrighttype:
  7280. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  7281. type: integer
  7282. unfreezetime:
  7283. description: 账户解冻时间
  7284. type: string
  7285. userid:
  7286. description: 用户ID
  7287. type: integer
  7288. required:
  7289. - loginid
  7290. type: object
  7291. models.MainAccountInfo:
  7292. properties:
  7293. accountid:
  7294. description: 账号id
  7295. type: string
  7296. appid:
  7297. description: AppID
  7298. type: string
  7299. authcode:
  7300. description: 授权码
  7301. type: string
  7302. brokerid:
  7303. description: 经纪商id
  7304. type: string
  7305. fcid:
  7306. description: 期货公司id
  7307. type: integer
  7308. fcname:
  7309. description: 期货公司代码
  7310. type: string
  7311. hedgeaccountcode:
  7312. description: 外部账号代码
  7313. type: string
  7314. hedgeaccountpwd:
  7315. description: 密码
  7316. type: string
  7317. ismain:
  7318. description: 是否主账号
  7319. type: integer
  7320. relateduserid:
  7321. description: 关联用户id
  7322. type: integer
  7323. type: object
  7324. models.Market:
  7325. properties:
  7326. auctionwrtype:
  7327. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  7328. type: integer
  7329. canacceptquote:
  7330. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  7331. type: integer
  7332. cangoodsexercise:
  7333. description: '[期权]是否可现货行权- 0:否 1:是'
  7334. type: integer
  7335. cangoodsexercisetype:
  7336. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  7337. type: integer
  7338. canmanualquotestrike:
  7339. description: 是否可手动报行权价- 0:否 1:是 [期权]
  7340. type: integer
  7341. canmutistage:
  7342. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  7343. type: integer
  7344. canpreexercise:
  7345. description: '[期权]是否可预申报- 0:否 1:是'
  7346. type: integer
  7347. clearinterval:
  7348. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  7349. type: integer
  7350. contracttmp:
  7351. description: 合同模板[荷兰式][竞价式][仓单贸易]
  7352. type: string
  7353. exchareaid:
  7354. description: 所属交易所,可以没有
  7355. type: integer
  7356. goodstype:
  7357. description: 商品类型 - 1:交易商品 2:仓单商品
  7358. type: integer
  7359. hasrebate:
  7360. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  7361. type: integer
  7362. hastradecredit:
  7363. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  7364. type: integer
  7365. haswr:
  7366. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  7367. type: integer
  7368. isdeductmargin:
  7369. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  7370. type: integer
  7371. isrecordsource:
  7372. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  7373. type: integer
  7374. isreleasemargin:
  7375. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  7376. type: integer
  7377. marginformula:
  7378. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7379. type: integer
  7380. marginformula2:
  7381. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  7382. type: integer
  7383. marketid:
  7384. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7385. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7386. type: integer
  7387. marketname:
  7388. description: 市场名称
  7389. type: string
  7390. marketserviceid:
  7391. description: 市场服务ID
  7392. type: integer
  7393. marketstatus:
  7394. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7395. type: integer
  7396. markettype:
  7397. description: 市场类型- 1:非交易服务 2:交易服务
  7398. type: integer
  7399. matchermode:
  7400. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  7401. type: integer
  7402. openmethod:
  7403. description: 开盘模式 - 0 自动 1手动
  7404. type: integer
  7405. otcuserid:
  7406. description: 场外期权做市商[场外期权]
  7407. type: integer
  7408. outersynctime:
  7409. description: 外部同步时间点(h24:mi:ss)[场外期权]
  7410. type: string
  7411. pendingflag:
  7412. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  7413. type: integer
  7414. pendingtime:
  7415. description: 待开市时间[通道交易-对冲](HH:mm)
  7416. type: string
  7417. performancetempid:
  7418. description: 履约计划模板ID - 作废
  7419. type: integer
  7420. premiumquotemode:
  7421. description: 权利金报价方式 - 1:自动 2:手动
  7422. type: integer
  7423. rebateratio:
  7424. description: 返利比率[竞价式]
  7425. type: number
  7426. reckonorder:
  7427. description: 结算顺序
  7428. type: integer
  7429. reckonpricealgorithm:
  7430. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  7431. 6.卖一价 7.买一卖一均价 8.外部结算价'
  7432. type: integer
  7433. reckonpriceparam:
  7434. description: 结算价参数
  7435. type: integer
  7436. reckontime:
  7437. description: 结算时间[通道交易-对冲](HH:mm)
  7438. type: string
  7439. roleprioritytype:
  7440. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  7441. type: integer
  7442. selllistingauditflag:
  7443. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  7444. type: integer
  7445. trademarkettype:
  7446. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  7447. type: integer
  7448. trademode:
  7449. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7450. 21:竞拍-大宗式 22:受托竞价
  7451. type: integer
  7452. tradeproperty:
  7453. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  7454. 8:场外期权
  7455. type: integer
  7456. tradetype:
  7457. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  7458. type: integer
  7459. required:
  7460. - marketid
  7461. - marketstatus
  7462. - openmethod
  7463. - reckonpricealgorithm
  7464. - trademode
  7465. - tradeproperty
  7466. type: object
  7467. models.Marketrun:
  7468. properties:
  7469. afternexttradedate:
  7470. description: 下下交易日
  7471. type: string
  7472. clearquoteflag:
  7473. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  7474. type: integer
  7475. lastreckondate:
  7476. description: 最新交易日(结算成功)
  7477. type: string
  7478. machinedate:
  7479. description: 机器时间
  7480. type: string
  7481. manualflag:
  7482. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  7483. type: integer
  7484. marketid:
  7485. description: 市场ID
  7486. type: integer
  7487. nexttradedate:
  7488. description: 下一交易日
  7489. type: string
  7490. pretradedate:
  7491. description: 上一交易日
  7492. type: string
  7493. reckonflag:
  7494. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  7495. type: integer
  7496. runstatus:
  7497. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  7498. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  7499. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  7500. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  7501. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  7502. 62.今日免清算
  7503. type: integer
  7504. sectionid:
  7505. description: 时间段号[多时段时用]
  7506. type: integer
  7507. tradedate:
  7508. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  7509. type: string
  7510. tradedate2:
  7511. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  7512. type: string
  7513. updatetime:
  7514. description: 更新时间
  7515. type: string
  7516. required:
  7517. - marketid
  7518. - nexttradedate
  7519. - reckonflag
  7520. - runstatus
  7521. - tradedate
  7522. - tradedate2
  7523. type: object
  7524. models.Messageboard:
  7525. properties:
  7526. contactnum:
  7527. description: 联系电话
  7528. type: string
  7529. createtime:
  7530. description: 创建时间
  7531. type: string
  7532. message:
  7533. description: 留言信息
  7534. type: string
  7535. messageboardid:
  7536. description: 留言簿ID(SEQ_MessageBoard)
  7537. type: integer
  7538. userid:
  7539. description: 用户ID
  7540. type: integer
  7541. required:
  7542. - messageboardid
  7543. type: object
  7544. models.MyCoupon:
  7545. properties:
  7546. accountid:
  7547. description: 资金账户ID
  7548. type: integer
  7549. areauserid:
  7550. description: 所属机构
  7551. type: integer
  7552. conditionvalue:
  7553. description: 条件阈值(可为0)
  7554. type: number
  7555. couponcategroy:
  7556. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  7557. type: integer
  7558. couponname:
  7559. description: 优惠券名称
  7560. type: string
  7561. coupontypeid:
  7562. description: 优惠券类型ID
  7563. type: string
  7564. couponvalue:
  7565. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7566. type: number
  7567. curfreezeqty:
  7568. description: 期末冻结数量
  7569. type: integer
  7570. curqty:
  7571. description: 期末数量
  7572. type: integer
  7573. isgeneral:
  7574. description: 是否通用券 - 0:否 1:是
  7575. type: integer
  7576. isunusable:
  7577. description: 是否不可用
  7578. type: boolean
  7579. limitedflag:
  7580. description: 是否指定商品 - 0:不限 1:限制
  7581. type: integer
  7582. limitedgoodsids:
  7583. description: 指定商品IDs[逗号分隔,前后加逗号]
  7584. type: string
  7585. orifreezeqty:
  7586. description: 期初冻结数量
  7587. type: integer
  7588. oriqty:
  7589. description: 期初数量
  7590. type: integer
  7591. reasontype:
  7592. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  7593. type: integer
  7594. todaydecrease:
  7595. description: 今日减少
  7596. type: integer
  7597. todayincrease:
  7598. description: 今日增加
  7599. type: integer
  7600. userid:
  7601. description: 用户ID
  7602. type: integer
  7603. userscope:
  7604. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  7605. type: string
  7606. required:
  7607. - accountid
  7608. - coupontypeid
  7609. type: object
  7610. models.MyCouponHold:
  7611. properties:
  7612. accountid:
  7613. description: 资金账户ID
  7614. type: integer
  7615. conditionvalue:
  7616. description: 条件阈值(可为0)
  7617. type: number
  7618. couponcategroy:
  7619. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  7620. type: integer
  7621. couponholdid:
  7622. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  7623. type: string
  7624. couponname:
  7625. description: 优惠券名称
  7626. type: string
  7627. coupontypeid:
  7628. description: 优惠券类型ID - SEQ_COUPONTYPE
  7629. type: string
  7630. couponvalue:
  7631. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  7632. type: number
  7633. createtime:
  7634. description: 创建时间
  7635. type: string
  7636. enddate:
  7637. description: 结束日期
  7638. type: string
  7639. giveapplyid:
  7640. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  7641. type: integer
  7642. holdstatus:
  7643. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  7644. type: integer
  7645. isgeneral:
  7646. description: 是否通用券 - 0:否 1:是
  7647. type: integer
  7648. limitedflag:
  7649. description: 是否指定商品 - 0:不限 1:限制
  7650. type: integer
  7651. limitedgoodsids:
  7652. description: 指定商品IDs[逗号分隔]
  7653. type: string
  7654. qty:
  7655. description: 数量(按1平铺)
  7656. type: integer
  7657. startdate:
  7658. description: 开始日期
  7659. type: string
  7660. userid:
  7661. description: 用户ID
  7662. type: integer
  7663. userscope:
  7664. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  7665. type: string
  7666. required:
  7667. - couponholdid
  7668. type: object
  7669. models.MyUsedCoupon:
  7670. properties:
  7671. accountid:
  7672. description: 资金账户ID(买方)
  7673. type: integer
  7674. conditionvalue:
  7675. description: 条件阈值(可为0)
  7676. type: number
  7677. couponcategroy:
  7678. description: 种类 - 1:现金券 2:折扣券
  7679. type: integer
  7680. couponname:
  7681. description: 优惠券名称
  7682. type: string
  7683. coupontypeid:
  7684. description: 优惠券类型ID(买方)
  7685. type: string
  7686. couponvalue:
  7687. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  7688. type: number
  7689. createtime:
  7690. description: 创建时间
  7691. type: string
  7692. goodsid:
  7693. description: 商品ID
  7694. type: integer
  7695. handlestatus:
  7696. description: 处理状态
  7697. type: integer
  7698. marketid:
  7699. description: 市场ID
  7700. type: integer
  7701. offamount:
  7702. description: 优惠金额
  7703. type: number
  7704. orderid:
  7705. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7706. type: string
  7707. sellaccountid:
  7708. description: 资金账户ID(卖方)
  7709. type: integer
  7710. tradeamount:
  7711. description: 成交金额
  7712. type: number
  7713. tradeid:
  7714. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7715. type: string
  7716. usedqty:
  7717. description: 使用数量
  7718. type: integer
  7719. required:
  7720. - coupontypeid
  7721. - orderid
  7722. type: object
  7723. models.OperationPrimaryMenu:
  7724. properties:
  7725. Children:
  7726. description: 二级功能菜单
  7727. items:
  7728. $ref: '#/definitions/models.OperationSecondaryMenu'
  7729. type: array
  7730. Key:
  7731. description: 菜单KEY
  7732. type: string
  7733. Label:
  7734. description: 菜单标题
  7735. type: string
  7736. type: object
  7737. models.OperationSecondaryMenu:
  7738. properties:
  7739. Key:
  7740. description: 菜单KEY
  7741. type: string
  7742. Label:
  7743. description: 菜单标题
  7744. type: string
  7745. TabList:
  7746. description: 三级功能菜单
  7747. items:
  7748. $ref: '#/definitions/models.OperationTabMenu'
  7749. type: array
  7750. type: object
  7751. models.OperationTabMenu:
  7752. properties:
  7753. Key:
  7754. description: 菜单KEY
  7755. type: string
  7756. Label:
  7757. description: 菜单标题
  7758. type: string
  7759. type: object
  7760. models.PendingAuditBizModel:
  7761. properties:
  7762. accountid:
  7763. description: 现货账户
  7764. type: string
  7765. areaname:
  7766. description: 所属部门
  7767. type: string
  7768. bizid:
  7769. description: 业务ID
  7770. type: string
  7771. bizname:
  7772. description: 业务名称
  7773. type: string
  7774. status:
  7775. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  7776. type: integer
  7777. type:
  7778. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  7779. type: integer
  7780. type: object
  7781. models.QueryErrorInfosRsp:
  7782. properties:
  7783. description:
  7784. description: 异常描述
  7785. type: string
  7786. errorcode:
  7787. description: 异常代码
  7788. type: string
  7789. errorid:
  7790. description: 异常ID
  7791. type: integer
  7792. modulecode:
  7793. description: 所属模块
  7794. type: string
  7795. operatecode:
  7796. description: 所属操作
  7797. type: string
  7798. rownumber:
  7799. description: 行号
  7800. type: string
  7801. required:
  7802. - errorid
  7803. type: object
  7804. models.QueryHedgeOrderDetailRsp:
  7805. properties:
  7806. accountid:
  7807. description: 账户ID
  7808. type: integer
  7809. buyorsell:
  7810. description: 买卖 - 0:买 1:卖
  7811. type: integer
  7812. cancellogincode:
  7813. description: 撤单人
  7814. type: string
  7815. channelbuildtype:
  7816. description: 开平标志 - 0:无 1:建仓 2:平仓
  7817. type: integer
  7818. channelinnerorderstatus:
  7819. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  7820. 9:全部成交
  7821. type: integer
  7822. channeloperatetype:
  7823. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  7824. type: integer
  7825. closetype:
  7826. description: 平仓方式 - 0:无 1:平今 2:平昨
  7827. type: integer
  7828. curexchangerate:
  7829. description: 当前汇率
  7830. type: number
  7831. exchangefullname:
  7832. description: 外部交易所全称
  7833. type: string
  7834. goodscode:
  7835. description: 商品代码(内部)
  7836. type: string
  7837. goodsid:
  7838. description: 商品ID
  7839. type: integer
  7840. goodsname:
  7841. description: 商品名称
  7842. type: string
  7843. marketid:
  7844. description: 市场ID
  7845. type: integer
  7846. openfreezemargin:
  7847. description: 冻结保证金(冻结交易金额)
  7848. type: number
  7849. orderid:
  7850. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7851. type: string
  7852. orderlogincode:
  7853. description: 委托人
  7854. type: string
  7855. orderprice:
  7856. description: 委托价格(账户)
  7857. type: number
  7858. orderqty:
  7859. description: 委托数量
  7860. type: integer
  7861. ordertime:
  7862. description: 委托时间
  7863. type: string
  7864. pricemode:
  7865. description: '取价方式 - 1:市价 2: 限价'
  7866. type: integer
  7867. tradedate:
  7868. description: 交易日(yyyyMMdd)
  7869. type: string
  7870. tradeqty:
  7871. description: 成交数量
  7872. type: integer
  7873. type: object
  7874. models.QueryHedgeTradeDetailRsp:
  7875. properties:
  7876. accountid:
  7877. description: 账号ID
  7878. type: integer
  7879. buyorsell:
  7880. description: 方向 - 0:买 1:卖
  7881. type: integer
  7882. channelbuildtype:
  7883. description: 委托单据类型 0:无 1:建仓 2:平仓
  7884. type: integer
  7885. closecharge:
  7886. description: 平仓手续费(账户)
  7887. type: number
  7888. closecharge2:
  7889. description: 平仓手续费(商品)
  7890. type: number
  7891. closepl:
  7892. description: 平仓盈亏(账户)
  7893. type: number
  7894. closepl2:
  7895. description: 平仓盈亏(商品)
  7896. type: number
  7897. closepl3:
  7898. description: 平仓盈亏(账户)(逐笔)
  7899. type: number
  7900. closepl4:
  7901. description: 平仓盈亏(商品)(逐笔)
  7902. type: number
  7903. closetype:
  7904. description: 平仓方式 - 0:无 1:平今 2:平昨
  7905. type: integer
  7906. curexchangerate:
  7907. description: 当前汇率
  7908. type: number
  7909. exchangefullname:
  7910. description: 外部交易所全称
  7911. type: string
  7912. goodscode:
  7913. description: 商品代码(内部)
  7914. type: string
  7915. goodsid:
  7916. description: 商品ID
  7917. type: integer
  7918. goodsname:
  7919. description: 商品名称
  7920. type: string
  7921. marketid:
  7922. description: 市场ID
  7923. type: integer
  7924. opencharge:
  7925. description: 建仓手续费(账户)
  7926. type: number
  7927. opencharge2:
  7928. description: 建仓手续费(商品)
  7929. type: number
  7930. orderid:
  7931. description: 委托单号
  7932. type: string
  7933. orderlogincode:
  7934. description: 委托人
  7935. type: string
  7936. tradeamount:
  7937. description: 成交金额(账户)
  7938. type: number
  7939. tradedate:
  7940. description: 交易日(yyyyMMdd)
  7941. type: string
  7942. tradeid:
  7943. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7944. type: string
  7945. tradeprice:
  7946. description: 成交价格
  7947. type: number
  7948. tradeqty:
  7949. description: 成交数量
  7950. type: integer
  7951. tradetime:
  7952. description: 成交时间
  7953. type: string
  7954. tradetype:
  7955. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  7956. type: integer
  7957. type: object
  7958. models.QuotePrimaryMenu:
  7959. properties:
  7960. Index:
  7961. description: 序号
  7962. type: integer
  7963. Key:
  7964. description: 键名
  7965. type: string
  7966. Name:
  7967. description: 菜单名称
  7968. type: string
  7969. SubMenus:
  7970. description: 子菜单
  7971. items:
  7972. $ref: '#/definitions/models.QuoteSecondaryMenu'
  7973. type: array
  7974. SubTitleType:
  7975. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  7976. type: integer
  7977. TradeModes:
  7978. description: 包含市场交易类型
  7979. type: string
  7980. type: object
  7981. models.QuoteSecondaryMenu:
  7982. properties:
  7983. ExExchangeCode:
  7984. description: 外部交易所代码
  7985. type: string
  7986. ExExchangeID:
  7987. description: 外部交易所ID
  7988. type: integer
  7989. GoodsGroupIDs:
  7990. description: 商品组ID列表
  7991. items:
  7992. type: integer
  7993. type: array
  7994. Index:
  7995. description: 序号
  7996. type: integer
  7997. MarketID:
  7998. description: 市场ID
  7999. type: integer
  8000. MenuTitle:
  8001. description: 菜单标题(市场名称或外部交易所名称)
  8002. type: string
  8003. TradeMode:
  8004. description: 交易模式
  8005. type: integer
  8006. type: object
  8007. models.RelatedGoodsEx:
  8008. properties:
  8009. goodscode:
  8010. description: 商品代码
  8011. type: string
  8012. goodsid:
  8013. description: 商品id
  8014. type: integer
  8015. goodsname:
  8016. description: 商品名称
  8017. type: string
  8018. type: object
  8019. models.SearchGoods:
  8020. properties:
  8021. goodscode:
  8022. description: 商品代码(内部)
  8023. type: string
  8024. goodsid:
  8025. description: 商品ID(自增ID SEQ_GOODS)
  8026. type: integer
  8027. goodsname:
  8028. description: 商品名称
  8029. type: string
  8030. marketid:
  8031. description: 所属市场ID
  8032. type: integer
  8033. marketname:
  8034. description: 市场名称
  8035. type: string
  8036. trademode:
  8037. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8038. 21:竞拍-大宗式 22:受托竞价
  8039. type: integer
  8040. required:
  8041. - goodscode
  8042. - goodsid
  8043. - goodsname
  8044. - marketid
  8045. - trademode
  8046. type: object
  8047. models.Systemparam:
  8048. properties:
  8049. loginid:
  8050. description: 更新用户账号,登录账号
  8051. type: string
  8052. modifyflag:
  8053. description: 修改标志0 不允许修改 1 允许修改
  8054. type: integer
  8055. paramcode:
  8056. description: 参数代码
  8057. type: string
  8058. paramname:
  8059. description: 参数名
  8060. type: string
  8061. paramtype:
  8062. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  8063. type: integer
  8064. paramvalue:
  8065. description: 参数值
  8066. type: string
  8067. paramvalue2:
  8068. description: 参数值(CLOB)
  8069. type: string
  8070. regexpress:
  8071. description: 正则表达式
  8072. type: string
  8073. remark:
  8074. description: 备注
  8075. type: string
  8076. serverip:
  8077. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  8078. type: string
  8079. showflag:
  8080. description: 是否显示0 不显示 1 显示
  8081. type: integer
  8082. updatetime:
  8083. description: 更新时间
  8084. type: string
  8085. userid:
  8086. description: 更新用户ID
  8087. type: integer
  8088. required:
  8089. - paramcode
  8090. type: object
  8091. models.Szdz3convertconfig:
  8092. properties:
  8093. canin:
  8094. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  8095. type: integer
  8096. canout:
  8097. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  8098. type: integer
  8099. converttype:
  8100. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8101. 6:交易转花生米(不设置)
  8102. type: integer
  8103. createtime:
  8104. description: 创建时间
  8105. type: string
  8106. creatorid:
  8107. description: 创建人
  8108. type: integer
  8109. daymaxvalue:
  8110. description: 当日最大转入限制
  8111. type: number
  8112. freezedays:
  8113. description: 冻结天数 [5:花生米转交易]
  8114. type: integer
  8115. innergoodsid:
  8116. description: 内部商品ID[交易]
  8117. type: integer
  8118. inratio:
  8119. description: 目标值
  8120. type: integer
  8121. modifierid:
  8122. description: 修改人
  8123. type: integer
  8124. modifytime:
  8125. description: 修改时间
  8126. type: string
  8127. outergoodscode:
  8128. description: 外部商品代码[JD\PD]
  8129. type: string
  8130. outratio:
  8131. description: 源值
  8132. type: integer
  8133. pddecimalplace:
  8134. description: PD小数位
  8135. type: integer
  8136. timemaxvalue:
  8137. description: 单次最大转入限制
  8138. type: number
  8139. timeminvalue:
  8140. description: 单次最小转入限制
  8141. type: number
  8142. required:
  8143. - converttype
  8144. - innergoodsid
  8145. - outergoodscode
  8146. type: object
  8147. models.Szdz3searchwhitelist:
  8148. properties:
  8149. createtime:
  8150. description: 创建时间
  8151. type: string
  8152. creatorid:
  8153. description: 创建人
  8154. type: integer
  8155. modifierid:
  8156. description: 修改人
  8157. type: integer
  8158. modifytime:
  8159. description: 修改时间
  8160. type: string
  8161. userid:
  8162. description: 用户ID
  8163. type: integer
  8164. required:
  8165. - userid
  8166. type: object
  8167. models.Taaccount:
  8168. properties:
  8169. accountflag:
  8170. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  8171. type: integer
  8172. accountid:
  8173. description: 资金账户ID
  8174. type: integer
  8175. accountname:
  8176. description: 账户名称
  8177. type: string
  8178. balance:
  8179. description: 期初余额
  8180. type: number
  8181. capitalbalance:
  8182. description: 本金余额[外部子账户实际出入金余额]
  8183. type: number
  8184. changeflag:
  8185. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  8186. type: integer
  8187. changetime:
  8188. description: 账户状态变更时间
  8189. type: string
  8190. closepl:
  8191. description: 今日平仓盈亏
  8192. type: number
  8193. creditdecrease:
  8194. description: 今日授信减少
  8195. type: number
  8196. creditincrease:
  8197. description: 今日授信增加
  8198. type: number
  8199. currencyid:
  8200. description: 货币ID
  8201. type: integer
  8202. currentbalance:
  8203. description: 期末余额
  8204. type: number
  8205. freezecharge:
  8206. description: 手续费冻结
  8207. type: number
  8208. freezemargin:
  8209. description: 冻结保证金
  8210. type: number
  8211. fromaccountid:
  8212. description: 所属上级账户
  8213. type: integer
  8214. inamount:
  8215. description: 今日入金金额(包括三方入金)
  8216. type: number
  8217. ismain:
  8218. description: 是否母账号 0:不是母账户 1:是母账户
  8219. type: integer
  8220. ismarketaccount:
  8221. description: 是否机构接单账号 0:不是 1:是
  8222. type: integer
  8223. isreckonaccount:
  8224. description: 是否机构分润账号 0:不是 1:是
  8225. type: integer
  8226. mortgagecredit:
  8227. description: 授信金额
  8228. type: number
  8229. orifreezecharge:
  8230. description: 期初手续费冻结
  8231. type: number
  8232. orifreezemargin:
  8233. description: 期初冻结保证金
  8234. type: number
  8235. orimortgagecredit:
  8236. description: 期初授信金额
  8237. type: number
  8238. oriothercredit:
  8239. description: 期初其它授信金额
  8240. type: number
  8241. oriotherfreezemargin:
  8242. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8243. type: number
  8244. orioutamountfreeze:
  8245. description: 期初出金冻结
  8246. type: number
  8247. oriusedmargin:
  8248. description: 期初占用保证金
  8249. type: number
  8250. othercredit:
  8251. description: 其它授信金额
  8252. type: number
  8253. othercreditdecrease:
  8254. description: 今日其它授信减少
  8255. type: number
  8256. othercreditincrease:
  8257. description: 今日其它授信增加
  8258. type: number
  8259. otherfreezemargin:
  8260. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8261. type: number
  8262. otherincome:
  8263. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  8264. type: number
  8265. otherpay:
  8266. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  8267. type: number
  8268. outamount:
  8269. description: 今日出金金额(包括三方出金)
  8270. type: number
  8271. outamountfreeze:
  8272. description: 出金冻结
  8273. type: number
  8274. outthreshold:
  8275. description: 出金阈值
  8276. type: number
  8277. parentaccountid:
  8278. description: 所属根账号
  8279. type: integer
  8280. paycharge:
  8281. description: 今日手续费支出
  8282. type: number
  8283. relatedaccountstatus:
  8284. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  8285. type: integer
  8286. relateduserid:
  8287. description: 关联用户
  8288. type: integer
  8289. serivcegroup:
  8290. description: 服务分组
  8291. type: integer
  8292. signstatus:
  8293. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8294. type: integer
  8295. sublevelpath:
  8296. description: 账号层级路径(逗号分隔,首尾加逗号)
  8297. type: string
  8298. taaccounttype:
  8299. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8300. type: integer
  8301. thirdinamount:
  8302. description: 今日三方入金
  8303. type: number
  8304. thirdoutamount:
  8305. description: 今日三方出金
  8306. type: number
  8307. tradestatus:
  8308. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8309. type: integer
  8310. tradestatuschangetime:
  8311. description: 激活时间
  8312. type: string
  8313. transferamount:
  8314. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8315. type: number
  8316. usedmargin:
  8317. description: 占用保证金
  8318. type: number
  8319. userid:
  8320. description: 用户ID
  8321. type: integer
  8322. required:
  8323. - accountid
  8324. - userid
  8325. type: object
  8326. models.Tablecolumnconfig:
  8327. properties:
  8328. aligntype:
  8329. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  8330. type: integer
  8331. autoid:
  8332. description: AutoID
  8333. type: integer
  8334. columnfield:
  8335. description: 列字段
  8336. type: string
  8337. columntitle:
  8338. description: 列Title
  8339. type: string
  8340. columnwidth:
  8341. description: 列宽
  8342. type: string
  8343. formatterstring:
  8344. description: 格式化字符
  8345. type: string
  8346. formattertype:
  8347. description: 格式化类型
  8348. type: string
  8349. groupname:
  8350. description: 表头分组名称
  8351. type: string
  8352. isshow:
  8353. description: 是否显示 - 0:不显示 1:显示
  8354. type: integer
  8355. needsummary:
  8356. description: 是否需要汇总 - 0:不需要 1:需要
  8357. type: integer
  8358. orderindex:
  8359. description: 顺序
  8360. type: integer
  8361. remark:
  8362. description: 备注
  8363. type: string
  8364. summarytype:
  8365. description: 汇总类型 - 1:加总 2:最后一个
  8366. type: integer
  8367. tablekey:
  8368. description: 列表Key
  8369. type: string
  8370. required:
  8371. - autoid
  8372. type: object
  8373. models.Useraccount:
  8374. properties:
  8375. accountname:
  8376. description: 账户名称(机构名称)
  8377. type: string
  8378. accountstatus:
  8379. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  8380. type: integer
  8381. auditremark:
  8382. description: 审核备注
  8383. type: string
  8384. audittime:
  8385. description: 审核时间
  8386. type: string
  8387. audituserid:
  8388. description: 审核人
  8389. type: integer
  8390. broker:
  8391. description: 所属经纪人ID
  8392. type: integer
  8393. canceltime:
  8394. description: 销户时间
  8395. type: string
  8396. canceluserid:
  8397. description: 销户人
  8398. type: integer
  8399. createtime:
  8400. description: 创建时间
  8401. type: string
  8402. creatorid:
  8403. description: 创建人
  8404. type: integer
  8405. hasauth:
  8406. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  8407. type: integer
  8408. isanonymous:
  8409. description: 是否匿名下单 - 0:否 1:是
  8410. type: integer
  8411. maxinvestornum:
  8412. description: 最大用户数(经纪会员下投资者个数)
  8413. type: integer
  8414. memberuserid:
  8415. description: 所属会员ID
  8416. type: integer
  8417. modifierid:
  8418. description: 修改人
  8419. type: integer
  8420. modifyremark:
  8421. description: 变更备注
  8422. type: string
  8423. modifystatus:
  8424. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  8425. type: integer
  8426. modifytime:
  8427. description: 修改时间
  8428. type: string
  8429. parentuserid:
  8430. description: 所属机构ID
  8431. type: integer
  8432. reckonaccountid:
  8433. description: 默认结算资金账号ID(机构分润使用) 作废
  8434. type: integer
  8435. refercount:
  8436. description: 推荐总人数
  8437. type: integer
  8438. refereeuserid:
  8439. description: 推荐人ID
  8440. type: integer
  8441. refernum:
  8442. description: 推荐码
  8443. type: string
  8444. subarealevelpath:
  8445. description: 子机构层级路径(逗号分隔,首尾加逗号)
  8446. type: string
  8447. userid:
  8448. description: 用户ID
  8449. type: integer
  8450. usertype:
  8451. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8452. type: integer
  8453. required:
  8454. - userid
  8455. type: object
  8456. models.Userfavoritegoods:
  8457. properties:
  8458. goodsid:
  8459. description: 商品ID
  8460. type: integer
  8461. required:
  8462. - goodsid
  8463. type: object
  8464. models.Userinfo:
  8465. properties:
  8466. address:
  8467. description: 地址
  8468. type: string
  8469. attachment1:
  8470. description: 附件1
  8471. type: string
  8472. attachment2:
  8473. description: 附件2
  8474. type: string
  8475. bankaccount:
  8476. description: 银行帐号 (加密存储)
  8477. type: string
  8478. bankaccountname:
  8479. description: 收款人名称
  8480. type: string
  8481. bankcardfrontphotourl:
  8482. description: 银行卡正面照地址
  8483. type: string
  8484. bankid:
  8485. description: 银行编码
  8486. type: string
  8487. bankname:
  8488. description: 银行名称
  8489. type: string
  8490. biznature:
  8491. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  8492. type: integer
  8493. bizscope:
  8494. description: 企业经营范围(企业)
  8495. type: string
  8496. cardbackphotourl:
  8497. description: 证件背面图片地址
  8498. type: string
  8499. cardfrontphotourl:
  8500. description: 证件正面图片地址
  8501. type: string
  8502. cardnum:
  8503. description: 证件号码(加密存储)
  8504. type: string
  8505. cardtypeid:
  8506. description: 证件类型ID
  8507. type: integer
  8508. cityid:
  8509. description: 市
  8510. type: integer
  8511. company:
  8512. description: 公司(个人)
  8513. type: string
  8514. contactname:
  8515. description: 联系人
  8516. type: string
  8517. countryid:
  8518. description: 国家
  8519. type: integer
  8520. createtime:
  8521. description: 创建时间
  8522. type: string
  8523. creatorid:
  8524. description: 创建人
  8525. type: integer
  8526. customername:
  8527. description: 客户名称(企业名称)
  8528. type: string
  8529. districtid:
  8530. description: 地区
  8531. type: integer
  8532. email:
  8533. description: 邮件(加密存储)
  8534. type: string
  8535. fax:
  8536. description: 传真(加密存储)
  8537. type: string
  8538. halfbodyphotourl:
  8539. description: 半身照地址
  8540. type: string
  8541. hasencrypt:
  8542. description: 数据是否已加密 - 0:未加密 1:已加密
  8543. type: integer
  8544. headurl:
  8545. description: 头像地址
  8546. type: string
  8547. legalcardbackphotourl:
  8548. description: 法人身份证背面照地址
  8549. type: string
  8550. legalcardfrontphotourl:
  8551. description: 法人身份证正面照地址
  8552. type: string
  8553. legalpersonname:
  8554. description: 法人姓名(企业)
  8555. type: string
  8556. mobile:
  8557. description: 手机号码(加密存储)
  8558. type: string
  8559. mobile2:
  8560. description: 手机号码[明文-尚志]
  8561. type: string
  8562. modifierid:
  8563. description: 修改人
  8564. type: integer
  8565. modifiertime:
  8566. description: 修改时间
  8567. type: string
  8568. needinvoice:
  8569. description: 是否需要发票 - 0:不需要 1:需要
  8570. type: integer
  8571. nickname:
  8572. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  8573. type: string
  8574. openmode:
  8575. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  8576. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  8577. type: integer
  8578. otherurl:
  8579. description: 其它图片地址[使用分号分隔]
  8580. type: string
  8581. postalcode:
  8582. description: 邮政编码
  8583. type: string
  8584. provinceid:
  8585. description: 省
  8586. type: integer
  8587. qq:
  8588. description: QQ(加密存储
  8589. type: string
  8590. remark:
  8591. description: 备注
  8592. type: string
  8593. sex:
  8594. description: '用户性别 0: 女 1: 男'
  8595. type: integer
  8596. signpdfurl:
  8597. description: 签约pdf文件
  8598. type: string
  8599. telphone:
  8600. description: 联系电话(加密存储)
  8601. type: string
  8602. userid:
  8603. description: 用户ID
  8604. type: integer
  8605. userinfotype:
  8606. description: 用户信息类型 - 1:个人 2:企业
  8607. type: integer
  8608. userstatus:
  8609. description: 用户状态 - 1:正常 2:注销
  8610. type: integer
  8611. usertype:
  8612. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  8613. type: integer
  8614. wechat:
  8615. description: 微信(加密存储)
  8616. type: string
  8617. wskhinfo:
  8618. description: 开户申请信息(JSON)
  8619. type: string
  8620. required:
  8621. - userid
  8622. type: object
  8623. models.WRCategoryTree:
  8624. properties:
  8625. areauserid:
  8626. description: 所属机构
  8627. type: integer
  8628. categorydesc:
  8629. description: 类别描述
  8630. type: string
  8631. categoryid:
  8632. description: 类别ID(SEQ_WRCATEGORY)
  8633. type: integer
  8634. categoryname:
  8635. description: 类别名称
  8636. type: string
  8637. iconurl:
  8638. description: 图标地址
  8639. type: string
  8640. orderindex:
  8641. description: 顺序
  8642. type: integer
  8643. parentcategoryid:
  8644. description: 父类别ID
  8645. type: integer
  8646. subcategory:
  8647. description: 子分类
  8648. items:
  8649. $ref: '#/definitions/models.WRCategoryTree'
  8650. type: array
  8651. required:
  8652. - categoryid
  8653. type: object
  8654. models.WRSConverTDetail:
  8655. properties:
  8656. convertratio:
  8657. description: 套保系数
  8658. type: number
  8659. deliverygoodsid:
  8660. description: 现货品种ID
  8661. type: integer
  8662. enumdicname:
  8663. description: 单位名称
  8664. type: string
  8665. goodsunitid:
  8666. description: 套保品种单位id
  8667. type: integer
  8668. middlegoodscode:
  8669. description: 套保品种代码
  8670. type: string
  8671. middlegoodsid:
  8672. description: 套保品种ID
  8673. type: integer
  8674. middlegoodsname:
  8675. description: 套保品种名称
  8676. type: string
  8677. modifytime:
  8678. description: 修改时间
  8679. type: string
  8680. wrstandardid:
  8681. description: 现货商品ID
  8682. type: integer
  8683. type: object
  8684. models.WRStandardInfo:
  8685. properties:
  8686. createtime:
  8687. description: 创建时间
  8688. type: string
  8689. creatorid:
  8690. description: 创建人
  8691. type: integer
  8692. deliverygoodsid:
  8693. description: 品种ID
  8694. type: integer
  8695. deliverygoodsname:
  8696. description: 交割商品名称
  8697. type: string
  8698. factoryitemjson:
  8699. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  8700. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  8701. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  8702. 逗号分隔'
  8703. type: string
  8704. isvalid:
  8705. description: 是否有效 - 0:无效 1:有效
  8706. type: integer
  8707. minivalue:
  8708. description: 最小变动值
  8709. type: integer
  8710. minivaluedp:
  8711. description: 最小变动值小数位
  8712. type: integer
  8713. realminivalue:
  8714. description: 实际最小变动值
  8715. type: integer
  8716. realminivaluedp:
  8717. description: 实际最小变动值小数位
  8718. type: integer
  8719. unitid:
  8720. description: 单位ID
  8721. type: integer
  8722. unitname:
  8723. description: 单位
  8724. type: string
  8725. updatetime:
  8726. description: 更新时间
  8727. type: string
  8728. updatorid:
  8729. description: 更新人
  8730. type: integer
  8731. wrsstatus:
  8732. description: 状态 - 作废 - 0:未激活 1:正常
  8733. type: integer
  8734. wrstandardcode:
  8735. description: 仓单标准代码
  8736. type: string
  8737. wrstandardid:
  8738. description: 仓单标准ID(SEQ_WRSTANDARD)
  8739. type: integer
  8740. wrstandardname:
  8741. description: 仓单标准名称
  8742. type: string
  8743. required:
  8744. - wrstandardid
  8745. type: object
  8746. models.Warehouseinfo:
  8747. properties:
  8748. address:
  8749. description: 详细地址
  8750. type: string
  8751. areauserid:
  8752. description: 所属机构
  8753. type: integer
  8754. autoid:
  8755. description: 自增ID
  8756. type: integer
  8757. cityid:
  8758. description: 市
  8759. type: integer
  8760. contactname:
  8761. description: 联系人
  8762. type: string
  8763. contactnum:
  8764. description: 联系电话
  8765. type: string
  8766. countryid:
  8767. description: 国家
  8768. type: integer
  8769. createtime:
  8770. description: 创建时间
  8771. type: string
  8772. districtid:
  8773. description: 区
  8774. type: integer
  8775. hasvideo:
  8776. description: 是否有视频 - 0:无 1:有
  8777. type: integer
  8778. provinceid:
  8779. description: 省
  8780. type: integer
  8781. remark:
  8782. description: 审核备注
  8783. type: string
  8784. videourl:
  8785. description: 视频地址
  8786. type: string
  8787. warehousecode:
  8788. description: 仓库代码
  8789. type: string
  8790. warehousename:
  8791. description: 仓库名称
  8792. type: string
  8793. warehousestatus:
  8794. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  8795. type: integer
  8796. warehousetype:
  8797. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  8798. type: integer
  8799. required:
  8800. - autoid
  8801. - warehousecode
  8802. type: object
  8803. order.QueryHisTradeDetailRsp:
  8804. properties:
  8805. accountid:
  8806. description: 账户ID[报价币种]
  8807. type: integer
  8808. buildtype:
  8809. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  8810. type: integer
  8811. buyorsell:
  8812. description: 方向 - 0:买 1:卖
  8813. type: integer
  8814. charge:
  8815. description: 手续费
  8816. type: number
  8817. closecharge:
  8818. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8819. type: number
  8820. closeexchagechargevalue:
  8821. description: 平仓交易所手续费设置值
  8822. type: number
  8823. closefeealgorithm:
  8824. description: 平仓手续费收取方式 1:比率 2:固定
  8825. type: integer
  8826. closememberchargevalue:
  8827. description: 平仓会员手续费设置值
  8828. type: number
  8829. closepl:
  8830. description: 平仓盈亏
  8831. type: number
  8832. closepl2:
  8833. description: 平仓盈亏[逐笔]
  8834. type: number
  8835. closeqty:
  8836. description: 平仓数量(先建后平操作 需要记录)
  8837. type: integer
  8838. creditamount:
  8839. description: 授信金额
  8840. type: number
  8841. gcaccountid:
  8842. description: 账户ID[合约币种]
  8843. type: integer
  8844. goodscode:
  8845. description: 商品代码
  8846. type: string
  8847. goodsid:
  8848. description: 商品ID
  8849. type: integer
  8850. goodsname:
  8851. description: 商品名称
  8852. type: string
  8853. histradedate:
  8854. description: 历史交易日
  8855. type: string
  8856. intclosepl:
  8857. description: 整型盈亏(用于交易结算试算平衡-收益权)
  8858. type: integer
  8859. isconfirmexercise:
  8860. description: 是否确认行权- 0:否 1:是
  8861. type: integer
  8862. ismain:
  8863. description: 是否主单 - 0:不是 1:是
  8864. type: integer
  8865. ispreexercise:
  8866. description: 是否预申报- 0:否 1:是
  8867. type: integer
  8868. isreckoned:
  8869. description: 是否结算 - 0:未结算 1:已结算
  8870. type: integer
  8871. isvaliddata:
  8872. description: 是否有效 - 0:无效 1:有效
  8873. type: integer
  8874. listingselecttype:
  8875. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8876. type: integer
  8877. marketid:
  8878. description: 市场ID
  8879. type: integer
  8880. marketname:
  8881. description: 市场名称
  8882. type: string
  8883. matchaccountid:
  8884. description: 对手账号id
  8885. type: integer
  8886. memberuserid:
  8887. description: 会员id 个人投资者 需要填写
  8888. type: integer
  8889. opencharge:
  8890. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  8891. type: number
  8892. openexchagechargevalue:
  8893. description: 建仓交易所手续费设置值
  8894. type: number
  8895. openfeealgorithm:
  8896. description: 建仓手续费收取方式 1:比率 2:固定
  8897. type: integer
  8898. openmemberchargevalue:
  8899. description: 建仓会员手续费设置值
  8900. type: number
  8901. openqty:
  8902. description: 开仓数量(先建后平操作 需要记录)
  8903. type: integer
  8904. optiontype:
  8905. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  8906. type: integer
  8907. orderid:
  8908. description: 委托单号
  8909. type: string
  8910. performanceplanid:
  8911. description: 履约计划ID[期权]
  8912. type: integer
  8913. performancestatus:
  8914. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  8915. type: integer
  8916. preexerciseprice:
  8917. description: 预申报价格
  8918. type: number
  8919. premium:
  8920. description: 权利金 - [持仓单的权利金]
  8921. type: number
  8922. relatedouttradeid:
  8923. description: 关联外部成交单ID
  8924. type: integer
  8925. status:
  8926. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  8927. type: integer
  8928. tradeamount:
  8929. description: 成交金额[账户币种,用于所有权]
  8930. type: number
  8931. tradedate:
  8932. description: 交易日(yyyyMMdd)
  8933. type: string
  8934. tradeid:
  8935. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8936. type: string
  8937. trademode:
  8938. description: 交易模式
  8939. type: integer
  8940. tradeprice:
  8941. description: 成交价格
  8942. type: number
  8943. tradeproperty:
  8944. description: 交易属性
  8945. type: integer
  8946. tradeqty:
  8947. description: 成交数量
  8948. type: integer
  8949. tradetime:
  8950. description: 成交时间
  8951. type: string
  8952. tradetype:
  8953. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  8954. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  8955. type: integer
  8956. required:
  8957. - accountid
  8958. - buyorsell
  8959. - goodsid
  8960. - histradedate
  8961. - marketid
  8962. - memberuserid
  8963. - orderid
  8964. - tradeamount
  8965. - tradedate
  8966. - tradeid
  8967. - tradeprice
  8968. - tradeqty
  8969. - tradetime
  8970. type: object
  8971. order.QueryHisTradeOrderDetailRsp:
  8972. properties:
  8973. accountid:
  8974. description: 账户ID[报价币种]
  8975. type: integer
  8976. buildtype:
  8977. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  8978. type: integer
  8979. buyorsell:
  8980. description: 买卖 - 0:买 1:卖
  8981. type: integer
  8982. cancelorderid:
  8983. description: 撤单单号(撤单时填写)
  8984. type: string
  8985. cancelqty:
  8986. description: 撤单数量
  8987. type: integer
  8988. clientordertime:
  8989. description: 客户端委托时间
  8990. type: string
  8991. clientticket:
  8992. description: 客户端流水号
  8993. type: string
  8994. clienttype:
  8995. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  8996. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8997. type: integer
  8998. closeexchagechargevalue:
  8999. description: 平仓交易所手续费设置值
  9000. type: number
  9001. closefeealgorithm:
  9002. description: 平仓手续费收取方式 1:比率 2:固定
  9003. type: integer
  9004. closefreezecharge:
  9005. description: 平仓冻结手续费(先建后平操作,需要记录)
  9006. type: number
  9007. closememberchargevalue:
  9008. description: 平仓会员手续费设置值
  9009. type: number
  9010. closeqty:
  9011. description: 平仓数量(先建后平操作 需要记录)
  9012. type: integer
  9013. closetradeqty:
  9014. description: 平仓成交数量(先建后平操作,需要记录)
  9015. type: integer
  9016. closeunfreezecharge:
  9017. description: 平仓解冻手续费(先建后平操作,需要记录)
  9018. type: number
  9019. delistingtype:
  9020. description: 摘牌类型 - 1:价格最优 2:点选成交
  9021. type: integer
  9022. freezecharge:
  9023. description: 冻结手续费
  9024. type: number
  9025. freezemargin:
  9026. description: 冻结保证金(冻结交易金额)
  9027. type: number
  9028. gcaccountid:
  9029. description: 账户ID[合约币种]
  9030. type: integer
  9031. goodscode:
  9032. description: 商品代码
  9033. type: string
  9034. goodsid:
  9035. description: 商品ID
  9036. type: integer
  9037. goodsname:
  9038. description: 商品名称
  9039. type: string
  9040. histradedate:
  9041. description: 历史交易日
  9042. type: string
  9043. isconfirmexercise:
  9044. description: 是否确认行权- 0:否 1:是
  9045. type: integer
  9046. ispreexercise:
  9047. description: 是否预申报- 0:否 1:是
  9048. type: integer
  9049. isvaliddata:
  9050. description: 是否有效 - 0:无效 1:有效
  9051. type: integer
  9052. listingselecttype:
  9053. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9054. type: integer
  9055. marginalgorithm:
  9056. description: 保证金收取方式 1:比率 2:固定
  9057. type: integer
  9058. marginvalue:
  9059. description: 即市保证金设置值
  9060. type: number
  9061. marketid:
  9062. description: 市场ID
  9063. type: integer
  9064. marketmaxsub:
  9065. description: 市价最大偏移范围
  9066. type: number
  9067. marketname:
  9068. description: 市场名称
  9069. type: string
  9070. memberuserid:
  9071. description: 所属会员UserID
  9072. type: integer
  9073. openexchagechargevalue:
  9074. description: 建仓交易所手续费设置值
  9075. type: number
  9076. openfeealgorithm:
  9077. description: 建仓手续费收取方式 1:比率 2:固定
  9078. type: integer
  9079. openfreezecharge:
  9080. description: 开仓冻结手续费(先建后平操作,需要记录)
  9081. type: number
  9082. openmemberchargevalue:
  9083. description: 建仓会员手续费设置值
  9084. type: number
  9085. openqty:
  9086. description: 开仓数量(先建后平操作,需要记录)
  9087. type: integer
  9088. opentradeqty:
  9089. description: 开仓成交数量(先建后平操作,需要记录)
  9090. type: integer
  9091. openunfreezecharge:
  9092. description: 开仓解冻手续费(先建后平操作,需要记录)
  9093. type: number
  9094. operatetype:
  9095. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9096. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9097. 15:管理端协议转让
  9098. type: integer
  9099. operatorid:
  9100. description: 登录账号(LoginID)
  9101. type: integer
  9102. optiontype:
  9103. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9104. type: integer
  9105. orderid:
  9106. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9107. type: string
  9108. orderprice:
  9109. description: 委托价格
  9110. type: number
  9111. orderqty:
  9112. description: 委托数量
  9113. type: integer
  9114. ordersrc:
  9115. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9116. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9117. type: integer
  9118. orderstatus:
  9119. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9120. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9121. 16:成交失败违约(荷兰式竞拍专用)
  9122. type: integer
  9123. ordertime:
  9124. description: 委托时间
  9125. type: string
  9126. preexerciseprice:
  9127. description: 预申报价格
  9128. type: number
  9129. premium:
  9130. description: 权利金
  9131. type: number
  9132. preorderid:
  9133. description: 关联预埋单号(止盈止损单时填写)
  9134. type: string
  9135. pricemode:
  9136. description: '取价方式 - 1:市价 2: 限价'
  9137. type: integer
  9138. quoteid:
  9139. description: 报价单ID
  9140. type: integer
  9141. relatedid:
  9142. description: 关联单号(交割单)
  9143. type: string
  9144. retcode:
  9145. description: 错误代码
  9146. type: integer
  9147. sessionid:
  9148. description: 会话ID
  9149. type: integer
  9150. tradedate:
  9151. description: 交易日(yyyyMMdd)
  9152. type: string
  9153. trademode:
  9154. description: 交易模式
  9155. type: integer
  9156. tradeproperty:
  9157. description: 交易属性
  9158. type: integer
  9159. tradeqty:
  9160. description: 成交数量
  9161. type: integer
  9162. unfreezecharge:
  9163. description: 解冻手续费
  9164. type: number
  9165. unfreezemargin:
  9166. description: 解冻保证金
  9167. type: number
  9168. updatetime:
  9169. description: 更新时间
  9170. type: string
  9171. uuid:
  9172. description: 发起端唯一id
  9173. type: string
  9174. validtime:
  9175. description: 有效期限
  9176. type: string
  9177. validtype:
  9178. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9179. type: integer
  9180. volumetype:
  9181. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9182. type: integer
  9183. required:
  9184. - accountid
  9185. - buildtype
  9186. - buyorsell
  9187. - goodsid
  9188. - histradedate
  9189. - marketid
  9190. - memberuserid
  9191. - operatetype
  9192. - orderid
  9193. - orderqty
  9194. - ordertime
  9195. - pricemode
  9196. - tradedate
  9197. - validtype
  9198. type: object
  9199. order.QueryTradeDetailRsp:
  9200. properties:
  9201. accountid:
  9202. description: 账户ID[报价币种]
  9203. type: integer
  9204. buildtype:
  9205. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9206. type: integer
  9207. buyorsell:
  9208. description: 方向 - 0:买 1:卖
  9209. type: integer
  9210. charge:
  9211. description: 手续费
  9212. type: number
  9213. closecharge:
  9214. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9215. type: number
  9216. closeexchagechargevalue:
  9217. description: 平仓交易所手续费设置值
  9218. type: number
  9219. closefeealgorithm:
  9220. description: 平仓手续费收取方式 1:比率 2:固定
  9221. type: integer
  9222. closememberchargevalue:
  9223. description: 平仓会员手续费设置值
  9224. type: number
  9225. closepl:
  9226. description: 平仓盈亏
  9227. type: number
  9228. closepl2:
  9229. description: 平仓盈亏[逐笔]
  9230. type: number
  9231. closeqty:
  9232. description: 平仓数量(先建后平操作 需要记录)
  9233. type: integer
  9234. creditamount:
  9235. description: 授信金额
  9236. type: number
  9237. gcaccountid:
  9238. description: 账户ID[合约币种]
  9239. type: integer
  9240. goodscode:
  9241. description: 商品代码
  9242. type: string
  9243. goodsid:
  9244. description: 商品ID
  9245. type: integer
  9246. goodsname:
  9247. description: 商品名称
  9248. type: string
  9249. intclosepl:
  9250. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9251. type: integer
  9252. isconfirmexercise:
  9253. description: 是否确认行权- 0:否 1:是
  9254. type: integer
  9255. ismain:
  9256. description: 是否主单 - 0:不是 1:是
  9257. type: integer
  9258. ispreexercise:
  9259. description: 是否预申报- 0:否 1:是
  9260. type: integer
  9261. isreckoned:
  9262. description: 是否结算 - 0:未结算 1:已结算
  9263. type: integer
  9264. listingselecttype:
  9265. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9266. type: integer
  9267. marketid:
  9268. description: 市场ID
  9269. type: integer
  9270. marketname:
  9271. description: 市场名称
  9272. type: string
  9273. matchaccountid:
  9274. description: 对手账号id
  9275. type: integer
  9276. memberuserid:
  9277. description: 会员id 个人投资者 需要填写
  9278. type: integer
  9279. opencharge:
  9280. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9281. type: number
  9282. openexchagechargevalue:
  9283. description: 建仓交易所手续费设置值
  9284. type: number
  9285. openfeealgorithm:
  9286. description: 建仓手续费收取方式 1:比率 2:固定
  9287. type: integer
  9288. openmemberchargevalue:
  9289. description: 建仓会员手续费设置值
  9290. type: number
  9291. openqty:
  9292. description: 开仓数量(先建后平操作 需要记录)
  9293. type: integer
  9294. optiontype:
  9295. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9296. type: integer
  9297. orderid:
  9298. description: 委托单号
  9299. type: string
  9300. performanceplanid:
  9301. description: 履约计划ID[期权]
  9302. type: integer
  9303. performancestatus:
  9304. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9305. type: integer
  9306. preexerciseprice:
  9307. description: 预申报价格
  9308. type: number
  9309. premium:
  9310. description: 权利金 - [持仓单的权利金]
  9311. type: number
  9312. relatedouttradeid:
  9313. description: 关联外部成交单ID
  9314. type: integer
  9315. status:
  9316. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9317. type: integer
  9318. tradeamount:
  9319. description: 成交金额[账户币种,用于所有权]
  9320. type: number
  9321. tradedate:
  9322. description: 交易日(yyyyMMdd)
  9323. type: string
  9324. tradeid:
  9325. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9326. type: string
  9327. trademode:
  9328. description: 交易模式
  9329. type: integer
  9330. tradeprice:
  9331. description: 成交价格
  9332. type: number
  9333. tradeproperty:
  9334. description: 交易属性
  9335. type: integer
  9336. tradeqty:
  9337. description: 成交数量
  9338. type: integer
  9339. tradetime:
  9340. description: 成交时间
  9341. type: string
  9342. tradetype:
  9343. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9344. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9345. type: integer
  9346. required:
  9347. - accountid
  9348. - buyorsell
  9349. - goodsid
  9350. - marketid
  9351. - memberuserid
  9352. - orderid
  9353. - tradeamount
  9354. - tradedate
  9355. - tradeid
  9356. - tradeprice
  9357. - tradeqty
  9358. - tradetime
  9359. type: object
  9360. order.QueryTradeOrderDetailRsp:
  9361. properties:
  9362. accountid:
  9363. description: 账户ID[报价币种]
  9364. type: integer
  9365. buildtype:
  9366. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9367. type: integer
  9368. buyorsell:
  9369. description: 买卖 - 0:买 1:卖
  9370. type: integer
  9371. cancelorderid:
  9372. description: 撤单单号(撤单时填写)
  9373. type: string
  9374. cancelqty:
  9375. description: 撤单数量
  9376. type: integer
  9377. clienttype:
  9378. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9379. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9380. type: integer
  9381. closefreezecharge:
  9382. description: 平仓冻结手续费(先建后平操作,需要记录)
  9383. type: number
  9384. closeqty:
  9385. description: 平仓数量(先建后平操作 需要记录)
  9386. type: integer
  9387. closetradeqty:
  9388. description: 平仓成交数量(先建后平操作,需要记录)
  9389. type: integer
  9390. closeunfreezecharge:
  9391. description: 平仓解冻手续费(先建后平操作,需要记录)
  9392. type: number
  9393. delistingtype:
  9394. description: 摘牌类型 - 1:价格最优 2:点选成交
  9395. type: integer
  9396. enableqty:
  9397. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  9398. type: integer
  9399. freezecharge:
  9400. description: 冻结手续费
  9401. type: number
  9402. freezemargin:
  9403. description: 冻结保证金(冻结交易金额)
  9404. type: number
  9405. goodscode:
  9406. description: 商品代码
  9407. type: string
  9408. goodsid:
  9409. description: 商品ID
  9410. type: integer
  9411. goodsname:
  9412. description: 商品名称
  9413. type: string
  9414. listingselecttype:
  9415. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9416. type: integer
  9417. marketid:
  9418. description: 市场ID
  9419. type: integer
  9420. marketname:
  9421. description: 市场名称
  9422. type: string
  9423. openfreezecharge:
  9424. description: 开仓冻结手续费(先建后平操作,需要记录)
  9425. type: number
  9426. openqty:
  9427. description: 开仓数量(先建后平操作,需要记录)
  9428. type: integer
  9429. opentradeqty:
  9430. description: 开仓成交数量(先建后平操作,需要记录)
  9431. type: integer
  9432. openunfreezecharge:
  9433. description: 开仓解冻手续费(先建后平操作,需要记录)
  9434. type: number
  9435. operatetype:
  9436. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  9437. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  9438. 15:管理端协议转让
  9439. type: integer
  9440. operatorid:
  9441. description: 登录账号(LoginID)
  9442. type: integer
  9443. orderid:
  9444. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9445. type: string
  9446. orderprice:
  9447. description: 委托价格
  9448. type: number
  9449. orderqty:
  9450. description: 委托数量
  9451. type: integer
  9452. ordersrc:
  9453. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  9454. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  9455. type: integer
  9456. orderstatus:
  9457. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9458. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9459. 16:成交失败违约(荷兰式竞拍专用)
  9460. type: integer
  9461. ordertime:
  9462. description: 委托时间
  9463. type: string
  9464. preorderid:
  9465. description: 关联预埋单号(止盈止损单时填写)
  9466. type: string
  9467. pricemode:
  9468. description: '取价方式 - 1:市价 2: 限价'
  9469. type: integer
  9470. relatedid:
  9471. description: 关联单号(交割单)
  9472. type: string
  9473. tradedate:
  9474. description: 交易日(yyyyMMdd)
  9475. type: string
  9476. trademode:
  9477. description: 交易模式
  9478. type: integer
  9479. tradeqty:
  9480. description: 成交数量
  9481. type: integer
  9482. unfreezecharge:
  9483. description: 解冻手续费
  9484. type: number
  9485. unfreezemargin:
  9486. description: 解冻保证金
  9487. type: number
  9488. validtime:
  9489. description: 有效期限
  9490. type: string
  9491. validtype:
  9492. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  9493. type: integer
  9494. volumetype:
  9495. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  9496. type: integer
  9497. required:
  9498. - accountid
  9499. - buildtype
  9500. - buyorsell
  9501. - goodsid
  9502. - marketid
  9503. - operatetype
  9504. - orderqty
  9505. - ordertime
  9506. - pricemode
  9507. - tradedate
  9508. - validtype
  9509. type: object
  9510. order.QueryTradePositionRsp:
  9511. properties:
  9512. accountid:
  9513. description: 资金账户
  9514. type: integer
  9515. agreeunit:
  9516. description: 合约单位
  9517. type: number
  9518. averageprice:
  9519. description: 持仓均价
  9520. type: number
  9521. buyorsell:
  9522. description: 方向 - 0:买 1:卖
  9523. type: integer
  9524. closetotalqty:
  9525. description: 平仓总数量
  9526. type: integer
  9527. curholderamount:
  9528. description: 当前持仓总金额[商品币种]
  9529. type: number
  9530. curpositionqty:
  9531. description: 当前持仓总数量
  9532. type: integer
  9533. currencyid:
  9534. description: 报价货币ID
  9535. type: integer
  9536. curtdposition:
  9537. description: 期末今日头寸
  9538. type: integer
  9539. decimalplace:
  9540. description: 报价小数位
  9541. type: integer
  9542. enableqty:
  9543. description: 可用量
  9544. type: integer
  9545. fretdposition:
  9546. description: 冻结今日头寸
  9547. type: integer
  9548. frozenqty:
  9549. description: 持仓冻结数量
  9550. type: integer
  9551. goodscode:
  9552. description: 商品代码
  9553. type: string
  9554. goodsid:
  9555. description: 商品Id
  9556. type: integer
  9557. goodsname:
  9558. description: 商品名称
  9559. type: string
  9560. goodunit:
  9561. description: 报价单位
  9562. type: string
  9563. goodunitid:
  9564. description: 报价单位ID
  9565. type: integer
  9566. holderamount:
  9567. description: 期初持仓总金额[商品币种]
  9568. type: number
  9569. marketid:
  9570. description: 所属市场ID
  9571. type: integer
  9572. openreqqty:
  9573. description: 开仓申请数量(用于比较最大持仓数量)
  9574. type: integer
  9575. opentotalqty:
  9576. description: 开仓总数量
  9577. type: integer
  9578. otherfrozenqty:
  9579. description: 持仓其他冻结数量(交割冻结)
  9580. type: integer
  9581. positionqty:
  9582. description: 期初持仓数量
  9583. type: integer
  9584. tnqty:
  9585. description: T+N冻结总量
  9586. type: integer
  9587. tnusedqty:
  9588. description: T+N使用量(可以使用T+N的冻结数量)
  9589. type: integer
  9590. trademode:
  9591. description: 交易模式
  9592. type: integer
  9593. usedmargin:
  9594. description: 占用保证金[商品币种]
  9595. type: number
  9596. required:
  9597. - goodsid
  9598. type: object
  9599. quote.HistoryData:
  9600. properties:
  9601. c:
  9602. description: 收盘价
  9603. type: number
  9604. f:
  9605. description: 是否补充数据
  9606. type: boolean
  9607. h:
  9608. description: 最高价
  9609. type: number
  9610. hv:
  9611. description: 持仓量
  9612. type: integer
  9613. l:
  9614. description: 最低价
  9615. type: number
  9616. o:
  9617. description: 开盘价
  9618. type: number
  9619. s:
  9620. description: 结算价,日线周期(包括)以上才有
  9621. type: number
  9622. ts:
  9623. description: 时间
  9624. type: string
  9625. tt:
  9626. description: 总金额
  9627. type: number
  9628. tv:
  9629. description: 总量
  9630. type: integer
  9631. type: object
  9632. quote.HistoryTikData:
  9633. properties:
  9634. AV:
  9635. description: 卖量
  9636. type: integer
  9637. Ask:
  9638. description: 卖价
  9639. type: number
  9640. BV:
  9641. description: 买量
  9642. type: integer
  9643. Bid:
  9644. description: 买价
  9645. type: number
  9646. HI:
  9647. description: 单笔持仓
  9648. type: integer
  9649. HV:
  9650. description: 持仓量
  9651. type: integer
  9652. PE:
  9653. description: 现价
  9654. type: number
  9655. TDR:
  9656. description: 交易方向,0:买 1:卖
  9657. type: integer
  9658. TK:
  9659. description: 交易类型
  9660. type: integer
  9661. TS:
  9662. description: 行情时间文本
  9663. type: string
  9664. TT:
  9665. description: 现金额
  9666. type: number
  9667. Vol:
  9668. description: 现量
  9669. type: integer
  9670. type: object
  9671. quote.QueryQuoteDayRsp:
  9672. properties:
  9673. ask:
  9674. description: 卖1
  9675. type: number
  9676. ask2:
  9677. description: 卖2
  9678. type: number
  9679. ask3:
  9680. description: 卖3
  9681. type: number
  9682. ask4:
  9683. description: 卖4
  9684. type: number
  9685. ask5:
  9686. description: 卖5
  9687. type: number
  9688. ask6:
  9689. description: 卖6
  9690. type: number
  9691. ask7:
  9692. description: 卖7
  9693. type: number
  9694. ask8:
  9695. description: 卖8
  9696. type: number
  9697. ask9:
  9698. description: 卖9
  9699. type: number
  9700. ask10:
  9701. description: 卖10
  9702. type: number
  9703. askorderid:
  9704. description: 卖单号1
  9705. type: integer
  9706. askorderid2:
  9707. description: 卖单号2
  9708. type: integer
  9709. askorderid3:
  9710. description: 卖单号3
  9711. type: integer
  9712. askorderid4:
  9713. description: 卖单号4
  9714. type: integer
  9715. askorderid5:
  9716. description: 卖单号5
  9717. type: integer
  9718. askordervolume:
  9719. description: 卖单量1
  9720. type: integer
  9721. askordervolume2:
  9722. description: 卖单量2
  9723. type: integer
  9724. askordervolume3:
  9725. description: 卖单量3
  9726. type: integer
  9727. askordervolume4:
  9728. description: 卖单量4
  9729. type: integer
  9730. askordervolume5:
  9731. description: 卖单量5
  9732. type: integer
  9733. askordervolume6:
  9734. description: 卖单量6
  9735. type: integer
  9736. askordervolume7:
  9737. description: 卖单量7
  9738. type: integer
  9739. askordervolume8:
  9740. description: 卖单量8
  9741. type: integer
  9742. askordervolume9:
  9743. description: 卖单量9
  9744. type: integer
  9745. askordervolume10:
  9746. description: 卖单量10
  9747. type: integer
  9748. askqueueinfo:
  9749. description: 大利市卖港股用
  9750. type: string
  9751. askvolume:
  9752. description: 卖量1
  9753. type: integer
  9754. askvolume2:
  9755. description: 卖量2
  9756. type: integer
  9757. askvolume3:
  9758. description: 卖量3
  9759. type: integer
  9760. askvolume4:
  9761. description: 卖量4
  9762. type: integer
  9763. askvolume5:
  9764. description: 卖量5
  9765. type: integer
  9766. askvolume6:
  9767. description: 卖量6
  9768. type: integer
  9769. askvolume7:
  9770. description: 卖量7
  9771. type: integer
  9772. askvolume8:
  9773. description: 卖量8
  9774. type: integer
  9775. askvolume9:
  9776. description: 卖量9
  9777. type: integer
  9778. askvolume10:
  9779. description: 卖量10
  9780. type: integer
  9781. averageprice:
  9782. description: 均价
  9783. type: number
  9784. bid:
  9785. description: 买1
  9786. type: number
  9787. bid2:
  9788. description: 买2
  9789. type: number
  9790. bid3:
  9791. description: 买3
  9792. type: number
  9793. bid4:
  9794. description: 买4
  9795. type: number
  9796. bid5:
  9797. description: 买5
  9798. type: number
  9799. bid6:
  9800. description: 买6
  9801. type: number
  9802. bid7:
  9803. description: 买7
  9804. type: number
  9805. bid8:
  9806. description: 买8
  9807. type: number
  9808. bid9:
  9809. description: 买9
  9810. type: number
  9811. bid10:
  9812. description: 买10
  9813. type: number
  9814. bidorderid:
  9815. description: 买单号1
  9816. type: integer
  9817. bidorderid2:
  9818. description: 买单号2
  9819. type: integer
  9820. bidorderid3:
  9821. description: 买单号3
  9822. type: integer
  9823. bidorderid4:
  9824. description: 买单号4
  9825. type: integer
  9826. bidorderid5:
  9827. description: 买单号5
  9828. type: integer
  9829. bidordervolume:
  9830. description: 买单量1
  9831. type: integer
  9832. bidordervolume2:
  9833. description: 买单量2
  9834. type: integer
  9835. bidordervolume3:
  9836. description: 买单量3
  9837. type: integer
  9838. bidordervolume4:
  9839. description: 买单量4
  9840. type: integer
  9841. bidordervolume5:
  9842. description: 买单量5
  9843. type: integer
  9844. bidordervolume6:
  9845. description: 买单量6
  9846. type: integer
  9847. bidordervolume7:
  9848. description: 买单量7
  9849. type: integer
  9850. bidordervolume8:
  9851. description: 买单量8
  9852. type: integer
  9853. bidordervolume9:
  9854. description: 买单量9
  9855. type: integer
  9856. bidordervolume10:
  9857. description: 买单量10
  9858. type: integer
  9859. bidqueueinfo:
  9860. description: 大利市买港股用
  9861. type: string
  9862. bidvolume:
  9863. description: 买量1
  9864. type: integer
  9865. bidvolume2:
  9866. description: 买量2
  9867. type: integer
  9868. bidvolume3:
  9869. description: 买量3
  9870. type: integer
  9871. bidvolume4:
  9872. description: 买量4
  9873. type: integer
  9874. bidvolume5:
  9875. description: 买量5
  9876. type: integer
  9877. bidvolume6:
  9878. description: 买量6
  9879. type: integer
  9880. bidvolume7:
  9881. description: 买量7
  9882. type: integer
  9883. bidvolume8:
  9884. description: 买量8
  9885. type: integer
  9886. bidvolume9:
  9887. description: 买量9
  9888. type: integer
  9889. bidvolume10:
  9890. description: 买量10
  9891. type: integer
  9892. calloptionpremiums:
  9893. description: 认购期权1
  9894. type: integer
  9895. calloptionpremiums2:
  9896. description: 认购期权2
  9897. type: integer
  9898. calloptionpremiums3:
  9899. description: 认购期权3
  9900. type: integer
  9901. calloptionpremiums4:
  9902. description: 认购期权4
  9903. type: integer
  9904. calloptionpremiums5:
  9905. description: 认购期权5
  9906. type: integer
  9907. cleartime:
  9908. description: 清盘时间
  9909. type: integer
  9910. exchangecode:
  9911. description: 交易所代码
  9912. type: integer
  9913. exchangedate:
  9914. description: 交易日
  9915. type: integer
  9916. goodscode:
  9917. description: 商品代码
  9918. type: string
  9919. grepmarketprice:
  9920. description: 暗盘价 港股专用
  9921. type: number
  9922. highest:
  9923. description: 最高价
  9924. type: number
  9925. holdincrement:
  9926. description: 单笔持仓
  9927. type: integer
  9928. holdvolume:
  9929. description: 持仓
  9930. type: integer
  9931. iep:
  9932. description: 平衡价 港股专用
  9933. type: number
  9934. iev:
  9935. description: 平衡量 港股专用
  9936. type: number
  9937. inventory:
  9938. description: 库存
  9939. type: integer
  9940. iscleared:
  9941. description: 是否清盘标志
  9942. type: integer
  9943. issettled:
  9944. description: 是否结算标志
  9945. type: integer
  9946. last:
  9947. description: 最新价
  9948. type: number
  9949. lastlot:
  9950. description: 最新成交手数
  9951. type: integer
  9952. lasttime:
  9953. description: 行情时间(只有现价变化行情时间才变化)
  9954. type: string
  9955. lastturnover:
  9956. description: 最新成交金额
  9957. type: number
  9958. lastvolume:
  9959. description: 最新成交量
  9960. type: integer
  9961. limitdown:
  9962. description: 跌停价
  9963. type: number
  9964. limitup:
  9965. description: 涨停价
  9966. type: number
  9967. lowest:
  9968. description: 最低价
  9969. type: number
  9970. nontotalholdervolume:
  9971. description: 非交易持仓量
  9972. type: integer
  9973. nontotallot:
  9974. description: 非交易总手数
  9975. type: integer
  9976. nontotalturnover:
  9977. description: 非交易总金额
  9978. type: integer
  9979. nontotalvolume:
  9980. description: 非交易总量
  9981. type: integer
  9982. opened:
  9983. description: 开盘价
  9984. type: number
  9985. opentime:
  9986. description: 开盘时间
  9987. type: string
  9988. orderid:
  9989. description: 序号
  9990. type: integer
  9991. preclose:
  9992. description: 昨收
  9993. type: number
  9994. preholdvolume:
  9995. description: 昨持仓
  9996. type: integer
  9997. presettle:
  9998. description: 昨结价
  9999. type: number
  10000. publictradetype:
  10001. description: 公共交易标志类型 港股专用
  10002. type: string
  10003. putoptionpremiums:
  10004. description: 认沽期权1
  10005. type: integer
  10006. putoptionpremiums2:
  10007. description: 认沽期权2
  10008. type: integer
  10009. putoptionpremiums3:
  10010. description: 认沽期权3
  10011. type: integer
  10012. putoptionpremiums4:
  10013. description: 认沽期权4
  10014. type: integer
  10015. putoptionpremiums5:
  10016. description: 认沽期权5
  10017. type: integer
  10018. settle:
  10019. description: 结算价
  10020. type: number
  10021. strikeprice:
  10022. description: 发行价
  10023. type: number
  10024. totalaskvolume:
  10025. description: 内盘
  10026. type: integer
  10027. totalbidvolume:
  10028. description: 外盘
  10029. type: integer
  10030. totallot:
  10031. description: 总手数
  10032. type: integer
  10033. totalturnover:
  10034. description: 总金额
  10035. type: number
  10036. totalvolume:
  10037. description: 总量
  10038. type: integer
  10039. utclasttime:
  10040. description: utc的行情时间
  10041. type: string
  10042. type: object
  10043. quote.QueryTSDataRsp:
  10044. properties:
  10045. Count:
  10046. description: 交易日应有数据个数
  10047. type: integer
  10048. decimalPlace:
  10049. description: 小数位
  10050. type: integer
  10051. endTime:
  10052. description: 结束时间
  10053. type: string
  10054. goodsCode:
  10055. description: 商品代码
  10056. type: string
  10057. historyDatas:
  10058. description: 历史数据
  10059. items:
  10060. $ref: '#/definitions/quote.HistoryData'
  10061. type: array
  10062. outGoodsCode:
  10063. description: 外部商品代码
  10064. type: string
  10065. preSettle:
  10066. description: 昨结价
  10067. type: number
  10068. runSteps:
  10069. description: 交易日开休市计划
  10070. items:
  10071. $ref: '#/definitions/quote.TSDataRunStep'
  10072. type: array
  10073. startTime:
  10074. description: 开始时间
  10075. type: string
  10076. tradeDate:
  10077. description: 交易日
  10078. type: string
  10079. type: object
  10080. quote.TSDataRunStep:
  10081. properties:
  10082. end:
  10083. description: 真实结束时间
  10084. type: string
  10085. endflag:
  10086. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  10087. type: integer
  10088. endtime:
  10089. description: 结束时间(HH:mm)
  10090. type: string
  10091. endweekday:
  10092. description: 结束周几
  10093. type: integer
  10094. groupid:
  10095. description: 分组ID
  10096. type: integer
  10097. runstep:
  10098. description: 运行阶段 - 2:连续交易
  10099. type: integer
  10100. sectionid:
  10101. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  10102. 结束时间=结算时间 结束周几=结算周几
  10103. type: integer
  10104. start:
  10105. description: 真实开始时间
  10106. type: string
  10107. startflag:
  10108. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  10109. type: integer
  10110. starttime:
  10111. description: 起始时间(HH:mm)
  10112. type: string
  10113. startweekday:
  10114. description: 起始周几
  10115. type: integer
  10116. tradeweekday:
  10117. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  10118. type: integer
  10119. type: object
  10120. szdz.QueryConvertLogRsp:
  10121. properties:
  10122. accountid:
  10123. description: 资金账户ID
  10124. type: integer
  10125. clientticket:
  10126. description: 客户端流水号
  10127. type: string
  10128. converttype:
  10129. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  10130. type: integer
  10131. createtime:
  10132. description: 记账时间
  10133. type: string
  10134. daymaxvalue:
  10135. description: 配置当日最大转入限制
  10136. type: number
  10137. daymaxvalue2:
  10138. description: 配置当日最大转入限制(转入)
  10139. type: number
  10140. goodscode:
  10141. description: 商品代码
  10142. type: string
  10143. goodsname:
  10144. description: 商品名称
  10145. type: string
  10146. handlestatus:
  10147. description: 处理状态
  10148. type: integer
  10149. innergoodsid:
  10150. description: 内部商品ID
  10151. type: integer
  10152. inratio:
  10153. description: 配置转入比值
  10154. type: integer
  10155. invalue:
  10156. description: 目标值
  10157. type: number
  10158. logid:
  10159. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10160. type: integer
  10161. mobile:
  10162. description: 手机号码(加密存储)
  10163. type: string
  10164. outergoodscode:
  10165. description: 外部商品代码[JD\PD]
  10166. type: string
  10167. outratio:
  10168. description: 配置转出比值
  10169. type: integer
  10170. outvalue:
  10171. description: 源值
  10172. type: number
  10173. pddecimalplace:
  10174. description: PD小数位
  10175. type: integer
  10176. qty:
  10177. description: 数量
  10178. type: string
  10179. remark:
  10180. description: 备注
  10181. type: string
  10182. sessionid:
  10183. description: 会话ID
  10184. type: integer
  10185. timemaxvalue:
  10186. description: 配置单次最大转入限制
  10187. type: number
  10188. timemaxvalue2:
  10189. description: 配置单次最大转入限制(转入)
  10190. type: number
  10191. timeminvalue:
  10192. description: 配置单次最小数量限制
  10193. type: number
  10194. timeminvalue2:
  10195. description: 配置单次最小数量限制(转入)
  10196. type: number
  10197. tradedate:
  10198. description: 交易日(yyyyMMdd)
  10199. type: string
  10200. userid:
  10201. description: 用户ID
  10202. type: integer
  10203. required:
  10204. - logid
  10205. type: object
  10206. szdz.QueryGoodsPickupRsp:
  10207. properties:
  10208. accountid:
  10209. description: 账户ID
  10210. type: integer
  10211. address:
  10212. description: 提货人详细地址
  10213. type: string
  10214. auditer:
  10215. description: 审核人
  10216. type: integer
  10217. audittime:
  10218. description: 审核时间
  10219. type: string
  10220. cardnum:
  10221. description: 提货人证件号码
  10222. type: string
  10223. cardtypeid:
  10224. description: 提货人证件类型
  10225. type: integer
  10226. checkremark:
  10227. description: 审核备注
  10228. type: string
  10229. goodscode:
  10230. description: 商品代码
  10231. type: string
  10232. goodsid:
  10233. description: 商品ID
  10234. type: integer
  10235. goodsname:
  10236. description: 商品名称
  10237. type: string
  10238. handlestatus:
  10239. description: 处理状态
  10240. type: integer
  10241. marketid:
  10242. description: 市场ID
  10243. type: integer
  10244. phonenum:
  10245. description: 提货人联系方式
  10246. type: string
  10247. qty:
  10248. description: 提货数量
  10249. type: number
  10250. recivername:
  10251. description: 提货人姓名
  10252. type: string
  10253. reqtime:
  10254. description: 更新时间
  10255. type: string
  10256. takemode:
  10257. description: 提货方式 - 2:自提 3:配送
  10258. type: integer
  10259. takeorderid:
  10260. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  10261. type: string
  10262. takeorderstatus:
  10263. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10264. type: integer
  10265. takeremark:
  10266. description: 提货备注
  10267. type: string
  10268. tradedate:
  10269. description: 交易日(yyyyMMdd)
  10270. type: string
  10271. userid:
  10272. description: 用户ID
  10273. type: integer
  10274. required:
  10275. - takeorderid
  10276. type: object
  10277. szdz.QueryRecieptOrderRsp:
  10278. properties:
  10279. accountName:
  10280. description: 所属账号名称(已脱敏)
  10281. type: string
  10282. accountid:
  10283. description: 资金账号
  10284. type: integer
  10285. buyorsell:
  10286. description: 方向 - 0:买 1:卖
  10287. type: integer
  10288. enableqty:
  10289. description: 可摘数量
  10290. type: integer
  10291. goodscode:
  10292. description: 商品代码
  10293. type: string
  10294. goodsid:
  10295. description: 商品ID
  10296. type: integer
  10297. goodsname:
  10298. description: 商品名称
  10299. type: string
  10300. orderid:
  10301. description: 委托单号
  10302. type: string
  10303. orderprice:
  10304. description: 委托价格
  10305. type: number
  10306. ordertime:
  10307. description: 委托时间
  10308. type: string
  10309. tradedate:
  10310. description: 交易日(yyyyMMdd)
  10311. type: string
  10312. required:
  10313. - ordertime
  10314. type: object
  10315. szdz.QuerySZDZTradePositionRsp:
  10316. properties:
  10317. accountid:
  10318. description: 账号Id
  10319. type: integer
  10320. agreeunit:
  10321. description: 合约单位
  10322. type: number
  10323. averageprice:
  10324. description: 持仓均价
  10325. type: number
  10326. buyorsell:
  10327. description: 方向 - 0:买 1:卖
  10328. type: integer
  10329. closetotalqty:
  10330. description: 平仓总数量
  10331. type: integer
  10332. curholderamount:
  10333. description: 当前持仓总金额
  10334. type: number
  10335. curpositionqty:
  10336. description: 当前持仓总数量
  10337. type: integer
  10338. currencyid:
  10339. description: 报价货币ID
  10340. type: integer
  10341. curtdposition:
  10342. description: 期末今日头寸
  10343. type: integer
  10344. decimalplace:
  10345. description: 报价小数位
  10346. type: integer
  10347. enableqty:
  10348. description: 可用量
  10349. type: integer
  10350. fretdposition:
  10351. description: 冻结今日头寸
  10352. type: integer
  10353. frozenqty:
  10354. description: 持仓冻结数量
  10355. type: integer
  10356. goodscode:
  10357. description: 商品代码(内部)
  10358. type: string
  10359. goodsid:
  10360. description: 商品Id
  10361. type: integer
  10362. goodsname:
  10363. description: 商品名称
  10364. type: string
  10365. goodunit:
  10366. description: 报价单位
  10367. type: string
  10368. goodunitid:
  10369. description: 报价单位ID
  10370. type: integer
  10371. holderamount:
  10372. description: 期初持仓总金额
  10373. type: number
  10374. marketid:
  10375. description: 市场ID
  10376. type: integer
  10377. openreqqty:
  10378. description: 开仓申请数量
  10379. type: integer
  10380. opentotalqty:
  10381. description: 开仓总数量
  10382. type: integer
  10383. otherfrozenqty:
  10384. description: 持仓其他冻结数量(交割冻结)
  10385. type: integer
  10386. positionqty:
  10387. description: 期初持仓数量
  10388. type: integer
  10389. szdz3freezqty:
  10390. description: 尚志大宗转换冻结总数量
  10391. type: integer
  10392. tnqty:
  10393. description: T+N冻结总量
  10394. type: integer
  10395. tnusedqty:
  10396. description: T+N使用量
  10397. type: integer
  10398. trademode:
  10399. description: 交易模式
  10400. type: integer
  10401. usedmargin:
  10402. description: 占用保证金
  10403. type: number
  10404. type: object
  10405. taaccount.QueryAmountLogRsp:
  10406. properties:
  10407. OPERATETYPENAME:
  10408. description: 资金操作类型名称
  10409. type: string
  10410. accountid:
  10411. description: 资金账户ID
  10412. type: integer
  10413. agoodscode:
  10414. description: 竞拍商品代码
  10415. type: string
  10416. agoodsname:
  10417. description: 竞拍商品名称
  10418. type: string
  10419. amount:
  10420. description: 资金金额
  10421. type: number
  10422. amountadjusttype:
  10423. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10424. type: integer
  10425. autoid:
  10426. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10427. type: integer
  10428. balance:
  10429. description: 期初余额
  10430. type: number
  10431. businesscode:
  10432. description: 业务编号
  10433. type: integer
  10434. createtime:
  10435. description: 发生时间
  10436. type: string
  10437. currencyid:
  10438. description: 币种ID
  10439. type: integer
  10440. currentbalance:
  10441. description: 期末余额(变动后金额)
  10442. type: number
  10443. dgoodscode:
  10444. description: 交割商品代码
  10445. type: string
  10446. dgoodsname:
  10447. description: 交割商品名称
  10448. type: string
  10449. goodscode:
  10450. description: 商品代码
  10451. type: string
  10452. goodsid:
  10453. description: 商品ID
  10454. type: integer
  10455. goodsname:
  10456. description: 商品名称
  10457. type: string
  10458. marketid:
  10459. description: 市场ID
  10460. type: integer
  10461. marketname:
  10462. description: 市场名称
  10463. type: string
  10464. moneyticket:
  10465. description: 资金流水号:银行端流水号
  10466. type: integer
  10467. operatetype:
  10468. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10469. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10470. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10471. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10472. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10473. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10474. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10475. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10476. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10477. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10478. type: integer
  10479. relationorderid:
  10480. description: 关联单号
  10481. type: string
  10482. remark:
  10483. description: 备注
  10484. type: string
  10485. trademode:
  10486. description: 交易模式
  10487. type: integer
  10488. required:
  10489. - accountid
  10490. - amount
  10491. - amountadjusttype
  10492. - autoid
  10493. - balance
  10494. - createtime
  10495. - currentbalance
  10496. - operatetype
  10497. type: object
  10498. taaccount.QueryHisAmountLogRsp:
  10499. properties:
  10500. OPERATETYPENAME:
  10501. description: 资金操作类型名称
  10502. type: string
  10503. accountid:
  10504. description: 资金账户ID
  10505. type: integer
  10506. agoodscode:
  10507. description: 竞拍商品代码
  10508. type: string
  10509. agoodsname:
  10510. description: 竞拍商品名称
  10511. type: string
  10512. amount:
  10513. description: 资金金额
  10514. type: number
  10515. amountadjusttype:
  10516. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  10517. type: integer
  10518. autoid:
  10519. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  10520. type: integer
  10521. balance:
  10522. description: 期初余额
  10523. type: number
  10524. businesscode:
  10525. description: 业务编号
  10526. type: integer
  10527. createtime:
  10528. description: 发生时间
  10529. type: string
  10530. currencyid:
  10531. description: 币种ID
  10532. type: integer
  10533. currentbalance:
  10534. description: 期末余额(变动后金额)
  10535. type: number
  10536. dgoodscode:
  10537. description: 交割商品代码
  10538. type: string
  10539. dgoodsname:
  10540. description: 交割商品名称
  10541. type: string
  10542. goodscode:
  10543. description: 商品代码
  10544. type: string
  10545. goodsid:
  10546. description: 商品ID
  10547. type: integer
  10548. goodsname:
  10549. description: 商品名称
  10550. type: string
  10551. histradedate:
  10552. description: 历史交易日
  10553. type: string
  10554. isvaliddata:
  10555. description: 是否有效 - 0:无效 1:有效
  10556. type: integer
  10557. marketid:
  10558. description: 市场ID
  10559. type: integer
  10560. marketname:
  10561. description: 市场名称
  10562. type: string
  10563. moneyticket:
  10564. description: 资金流水号:银行端流水号
  10565. type: integer
  10566. operatetype:
  10567. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  10568. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  10569. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  10570. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  10571. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  10572. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  10573. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  10574. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  10575. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  10576. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  10577. type: integer
  10578. relationorderid:
  10579. description: 关联单号
  10580. type: string
  10581. remark:
  10582. description: 备注
  10583. type: string
  10584. trademode:
  10585. description: 交易模式
  10586. type: integer
  10587. required:
  10588. - accountid
  10589. - amount
  10590. - amountadjusttype
  10591. - autoid
  10592. - balance
  10593. - createtime
  10594. - currentbalance
  10595. - histradedate
  10596. - operatetype
  10597. type: object
  10598. trade.QueryRecieptOrderRsp:
  10599. properties:
  10600. accountName:
  10601. description: 所属账号名称(已脱敏)
  10602. type: string
  10603. accountid:
  10604. description: 资金账号
  10605. type: integer
  10606. buyorsell:
  10607. description: 方向 - 0:买 1:卖
  10608. type: integer
  10609. enableqty:
  10610. description: 可摘数量
  10611. type: integer
  10612. goodscode:
  10613. description: 商品代码
  10614. type: string
  10615. goodsid:
  10616. description: 商品ID
  10617. type: integer
  10618. goodsname:
  10619. description: 商品名称
  10620. type: string
  10621. orderid:
  10622. description: 委托单号
  10623. type: string
  10624. orderprice:
  10625. description: 委托价格
  10626. type: number
  10627. ordertime:
  10628. description: 委托时间
  10629. type: string
  10630. tradedate:
  10631. description: 交易日(yyyyMMdd)
  10632. type: string
  10633. required:
  10634. - ordertime
  10635. type: object
  10636. user.LoginQueryRsp:
  10637. properties:
  10638. externalExchanges:
  10639. description: 外部交易所
  10640. items:
  10641. $ref: '#/definitions/models.Externalexchange'
  10642. type: array
  10643. goodsgroups:
  10644. description: 商品组
  10645. items:
  10646. $ref: '#/definitions/models.Goodsgroup'
  10647. type: array
  10648. loginAccount:
  10649. $ref: '#/definitions/models.Loginaccount'
  10650. description: 登录账号
  10651. type: object
  10652. markets:
  10653. description: 市场
  10654. items:
  10655. $ref: '#/definitions/models.Market'
  10656. type: array
  10657. systemParams:
  10658. description: 系统参数
  10659. items:
  10660. $ref: '#/definitions/models.Systemparam'
  10661. type: array
  10662. userAccount:
  10663. $ref: '#/definitions/models.Useraccount'
  10664. description: 用户账号
  10665. type: object
  10666. userInfo:
  10667. $ref: '#/definitions/models.Userinfo'
  10668. description: 用户信息
  10669. type: object
  10670. username:
  10671. description: 用户姓名
  10672. type: string
  10673. type: object
  10674. info:
  10675. contact: {}
  10676. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  10677. license: {}
  10678. termsOfService: http://muchinfo.cn
  10679. title: MTP2.0 查询服务 API
  10680. version: "1.0"
  10681. paths:
  10682. /CPTrade/QueryCPTradeMyBidInfos:
  10683. get:
  10684. parameters:
  10685. - description: 资金账户
  10686. in: query
  10687. name: accountid
  10688. required: true
  10689. type: integer
  10690. - description: 预售市场ID
  10691. in: query
  10692. name: marketid
  10693. type: integer
  10694. - description: 预售商品ID
  10695. in: query
  10696. name: goodsid
  10697. type: integer
  10698. produces:
  10699. - application/json
  10700. responses:
  10701. "200":
  10702. description: OK
  10703. schema:
  10704. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  10705. "500":
  10706. description: Internal Server Error
  10707. schema:
  10708. $ref: '#/definitions/app.Response'
  10709. security:
  10710. - ApiKeyAuth: []
  10711. summary: 查询产能预售我的出价信息
  10712. tags:
  10713. - 产能预售
  10714. /CPTrade/QueryCPTradeOrderDetail:
  10715. get:
  10716. parameters:
  10717. - description: 预售商品ID
  10718. in: query
  10719. name: goodsid
  10720. type: integer
  10721. - description: 预售市场ID
  10722. in: query
  10723. name: marketid
  10724. type: integer
  10725. - description: 预售商品ID列表 - 格式:1,2,3
  10726. in: query
  10727. name: goodsids
  10728. type: string
  10729. produces:
  10730. - application/json
  10731. responses:
  10732. "200":
  10733. description: OK
  10734. schema:
  10735. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  10736. "500":
  10737. description: Internal Server Error
  10738. schema:
  10739. $ref: '#/definitions/app.Response'
  10740. security:
  10741. - ApiKeyAuth: []
  10742. summary: 查询产能预售委托单信息
  10743. tags:
  10744. - 产能预售
  10745. /CPTrade/QueryMyCPTradeGoods:
  10746. get:
  10747. parameters:
  10748. - description: 资金账户
  10749. in: query
  10750. name: accountid
  10751. required: true
  10752. type: integer
  10753. produces:
  10754. - application/json
  10755. responses:
  10756. "200":
  10757. description: OK
  10758. schema:
  10759. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  10760. "500":
  10761. description: Internal Server Error
  10762. schema:
  10763. $ref: '#/definitions/app.Response'
  10764. security:
  10765. - ApiKeyAuth: []
  10766. summary: 查询我的预售信息
  10767. tags:
  10768. - 产能预售
  10769. /CPTrade/QueryPositionCancel:
  10770. get:
  10771. parameters:
  10772. - description: 账户ID
  10773. in: query
  10774. name: userid
  10775. required: true
  10776. type: integer
  10777. - description: 注销ID
  10778. in: query
  10779. name: cancelid
  10780. type: integer
  10781. - description: 资金账户ID
  10782. in: query
  10783. name: accountid
  10784. type: integer
  10785. produces:
  10786. - application/json
  10787. responses:
  10788. "200":
  10789. description: OK
  10790. schema:
  10791. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  10792. "500":
  10793. description: Internal Server Error
  10794. schema:
  10795. $ref: '#/definitions/app.Response'
  10796. security:
  10797. - ApiKeyAuth: []
  10798. summary: 查询远期订单注销申请信息
  10799. tags:
  10800. - 产能预售
  10801. /CPTrade/QueryPreasleApply:
  10802. get:
  10803. parameters:
  10804. - description: 账户ID
  10805. in: query
  10806. name: userid
  10807. required: true
  10808. type: integer
  10809. - description: 申请ID
  10810. in: query
  10811. name: applyid
  10812. type: integer
  10813. - description: 资金账户ID
  10814. in: query
  10815. name: accountid
  10816. type: integer
  10817. produces:
  10818. - application/json
  10819. responses:
  10820. "200":
  10821. description: OK
  10822. schema:
  10823. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  10824. "500":
  10825. description: Internal Server Error
  10826. schema:
  10827. $ref: '#/definitions/app.Response'
  10828. security:
  10829. - ApiKeyAuth: []
  10830. summary: 查询产能预售申请信息
  10831. tags:
  10832. - 产能预售
  10833. /CPTrade/QueryPresaleGoodsEx:
  10834. get:
  10835. parameters:
  10836. - description: 预售商品ID
  10837. in: query
  10838. name: goodsid
  10839. type: integer
  10840. - description: 预售市场ID
  10841. in: query
  10842. name: marketid
  10843. type: integer
  10844. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  10845. in: query
  10846. name: presalemode
  10847. type: integer
  10848. - description: 预售商品ID列表 - 格式:1,2,3
  10849. in: query
  10850. name: goodsids
  10851. type: string
  10852. - description: 预售商品代码
  10853. in: query
  10854. name: goodscode
  10855. type: string
  10856. produces:
  10857. - application/json
  10858. responses:
  10859. "200":
  10860. description: OK
  10861. schema:
  10862. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  10863. "500":
  10864. description: Internal Server Error
  10865. schema:
  10866. $ref: '#/definitions/app.Response'
  10867. security:
  10868. - ApiKeyAuth: []
  10869. summary: 查询产能预售商品扩展信息
  10870. tags:
  10871. - 产能预售
  10872. /CPTrade/QueryUserGoodsData:
  10873. get:
  10874. parameters:
  10875. - description: 资金账户ID
  10876. in: query
  10877. name: accountid
  10878. required: true
  10879. type: integer
  10880. produces:
  10881. - application/json
  10882. responses:
  10883. "200":
  10884. description: OK
  10885. schema:
  10886. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  10887. "500":
  10888. description: Internal Server Error
  10889. schema:
  10890. $ref: '#/definitions/app.Response'
  10891. security:
  10892. - ApiKeyAuth: []
  10893. summary: 查询远期订单信息
  10894. tags:
  10895. - 产能预售
  10896. /Common/GetAllEnums:
  10897. get:
  10898. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  10899. parameters:
  10900. - description: 起始自增ID
  10901. in: query
  10902. name: autoid
  10903. type: integer
  10904. produces:
  10905. - application/json
  10906. responses:
  10907. "200":
  10908. description: OK
  10909. schema:
  10910. $ref: '#/definitions/models.Enumdicitem'
  10911. "500":
  10912. description: Internal Server Error
  10913. schema:
  10914. $ref: '#/definitions/app.Response'
  10915. summary: 获取所有枚举信息
  10916. tags:
  10917. - 通用服务
  10918. /Common/GetClientMenus:
  10919. get:
  10920. parameters:
  10921. - description: 登录账号
  10922. in: query
  10923. name: loginID
  10924. required: true
  10925. type: integer
  10926. - description: 终端类型,0:PC 1:Mobile
  10927. in: query
  10928. name: clientType
  10929. type: integer
  10930. produces:
  10931. - application/json
  10932. responses:
  10933. "200":
  10934. description: OK
  10935. schema:
  10936. items:
  10937. $ref: '#/definitions/common.ClientMenu'
  10938. type: array
  10939. "500":
  10940. description: Internal Server Error
  10941. schema:
  10942. $ref: '#/definitions/app.Response'
  10943. security:
  10944. - ApiKeyAuth: []
  10945. summary: 获取交易端菜单
  10946. tags:
  10947. - 通用服务
  10948. /Common/GetDivisions:
  10949. get:
  10950. produces:
  10951. - application/json
  10952. responses:
  10953. "200":
  10954. description: OK
  10955. schema:
  10956. $ref: '#/definitions/models.Division'
  10957. "500":
  10958. description: Internal Server Error
  10959. schema:
  10960. $ref: '#/definitions/app.Response'
  10961. summary: 查询区域信息
  10962. tags:
  10963. - 通用服务
  10964. /Common/GetServerTime:
  10965. get:
  10966. produces:
  10967. - application/json
  10968. responses:
  10969. "200":
  10970. description: OK
  10971. schema:
  10972. $ref: '#/definitions/app.Response'
  10973. "500":
  10974. description: Internal Server Error
  10975. schema:
  10976. $ref: '#/definitions/app.Response'
  10977. summary: 获取服务器时间
  10978. tags:
  10979. - 通用服务
  10980. /Common/NoticeReaded:
  10981. post:
  10982. parameters:
  10983. - description: 登录账号
  10984. in: query
  10985. name: loginID
  10986. required: true
  10987. type: integer
  10988. - description: 通知公告ID
  10989. in: query
  10990. name: noticeID
  10991. required: true
  10992. type: integer
  10993. produces:
  10994. - application/json
  10995. responses:
  10996. "200":
  10997. description: OK
  10998. schema:
  10999. $ref: '#/definitions/app.Response'
  11000. "500":
  11001. description: Internal Server Error
  11002. schema:
  11003. $ref: '#/definitions/app.Response'
  11004. security:
  11005. - ApiKeyAuth: []
  11006. summary: 通知公告设置已读请求
  11007. tags:
  11008. - 通用服务
  11009. /Common/QueryErrorInfos:
  11010. get:
  11011. description: 如果传入rowNumber,则返回此rowNumber后的数据
  11012. parameters:
  11013. - description: 起始行号前索引
  11014. in: query
  11015. name: rowNumber
  11016. type: string
  11017. produces:
  11018. - application/json
  11019. responses:
  11020. "200":
  11021. description: OK
  11022. schema:
  11023. $ref: '#/definitions/models.QueryErrorInfosRsp'
  11024. "500":
  11025. description: Internal Server Error
  11026. schema:
  11027. $ref: '#/definitions/app.Response'
  11028. summary: 获取数据库错误信息
  11029. tags:
  11030. - 通用服务
  11031. /Common/QueryImageConfigs:
  11032. get:
  11033. parameters:
  11034. - description: 类型 - 1:App首页轮播 2:我的
  11035. in: query
  11036. name: imageType
  11037. type: integer
  11038. produces:
  11039. - application/json
  11040. responses:
  11041. "200":
  11042. description: OK
  11043. schema:
  11044. $ref: '#/definitions/common.QueryImageConfigsRsp'
  11045. "500":
  11046. description: Internal Server Error
  11047. schema:
  11048. $ref: '#/definitions/app.Response'
  11049. summary: 查询轮播图配置信息
  11050. tags:
  11051. - 通用服务
  11052. /Common/QueryNotice:
  11053. get:
  11054. parameters:
  11055. - description: 页码
  11056. in: query
  11057. name: page
  11058. type: integer
  11059. - description: 每页条数
  11060. in: query
  11061. name: pagesize
  11062. type: integer
  11063. - description: 登录账号
  11064. in: query
  11065. name: loginID
  11066. required: true
  11067. type: integer
  11068. - description: 消息类型 - 1:公告通知 2:系统消息
  11069. in: query
  11070. name: msgType
  11071. type: integer
  11072. - description: 是否只获取未读信息
  11073. in: query
  11074. name: onlyUnRead
  11075. type: boolean
  11076. - description: 自增ID,传入后会返回这个ID后面的记录
  11077. in: query
  11078. name: lastID
  11079. type: integer
  11080. produces:
  11081. - application/json
  11082. responses:
  11083. "200":
  11084. description: OK
  11085. schema:
  11086. $ref: '#/definitions/common.QueryNoticeRsp'
  11087. "500":
  11088. description: Internal Server Error
  11089. schema:
  11090. $ref: '#/definitions/app.Response'
  11091. security:
  11092. - ApiKeyAuth: []
  11093. summary: 通知公告系统消息查询
  11094. tags:
  11095. - 通用服务
  11096. /Common/QueryProvincesAndCities:
  11097. get:
  11098. parameters:
  11099. - description: 省ID
  11100. in: query
  11101. name: provinceID
  11102. type: integer
  11103. produces:
  11104. - application/json
  11105. responses:
  11106. "200":
  11107. description: OK
  11108. schema:
  11109. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  11110. "500":
  11111. description: Internal Server Error
  11112. schema:
  11113. $ref: '#/definitions/app.Response'
  11114. summary: 查询省市信息(不包括区)
  11115. tags:
  11116. - 通用服务
  11117. /Common/QueryTableDefine:
  11118. get:
  11119. parameters:
  11120. - description: 表key
  11121. in: query
  11122. name: tableKey
  11123. type: string
  11124. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  11125. in: query
  11126. name: tableType
  11127. type: integer
  11128. produces:
  11129. - application/json
  11130. responses:
  11131. "200":
  11132. description: OK
  11133. schema:
  11134. $ref: '#/definitions/common.QueryTableDefineRsp'
  11135. "500":
  11136. description: Internal Server Error
  11137. schema:
  11138. $ref: '#/definitions/app.Response'
  11139. summary: 查询交易端列表头信息
  11140. tags:
  11141. - 通用服务
  11142. /Common/QueryTraderMenu:
  11143. get:
  11144. parameters:
  11145. - description: 登录账号
  11146. in: query
  11147. name: loginid
  11148. required: true
  11149. type: integer
  11150. produces:
  11151. - application/json
  11152. responses:
  11153. "200":
  11154. description: OK
  11155. schema:
  11156. $ref: '#/definitions/common.QueryTraderMenuRsp'
  11157. "500":
  11158. description: Internal Server Error
  11159. schema:
  11160. $ref: '#/definitions/app.Response'
  11161. summary: 查询交易端菜单
  11162. tags:
  11163. - 通用服务
  11164. /Delivery/QueryDeliveryRelation:
  11165. get:
  11166. parameters:
  11167. - description: 商品ID
  11168. in: query
  11169. name: goodsid
  11170. type: integer
  11171. - description: 品种ID
  11172. in: query
  11173. name: deliverygoodsid
  11174. type: integer
  11175. - description: 市场ID
  11176. in: query
  11177. name: marketid
  11178. type: integer
  11179. produces:
  11180. - application/json
  11181. responses:
  11182. "200":
  11183. description: OK
  11184. schema:
  11185. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  11186. "500":
  11187. description: Internal Server Error
  11188. schema:
  11189. $ref: '#/definitions/app.Response'
  11190. security:
  11191. - ApiKeyAuth: []
  11192. summary: 查询商品交割关系表
  11193. tags:
  11194. - 交割服务
  11195. /Ermcp/GetErmcpGoods:
  11196. get:
  11197. parameters:
  11198. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11199. in: query
  11200. name: lastUpdateTime
  11201. type: string
  11202. produces:
  11203. - application/json
  11204. responses:
  11205. "200":
  11206. description: OK
  11207. schema:
  11208. $ref: '#/definitions/models.Goods'
  11209. "500":
  11210. description: Internal Server Error
  11211. schema:
  11212. $ref: '#/definitions/app.Response'
  11213. security:
  11214. - ApiKeyAuth: []
  11215. summary: 查询企业风管期货商品信息
  11216. tags:
  11217. - 企业风险管理(app)
  11218. /Ermcp/GetErmcpGoodsSortByPosition:
  11219. get:
  11220. parameters:
  11221. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  11222. in: query
  11223. name: sortIndex
  11224. type: string
  11225. produces:
  11226. - application/json
  11227. responses:
  11228. "200":
  11229. description: OK
  11230. schema:
  11231. $ref: '#/definitions/models.Goodssortbypreposition'
  11232. "500":
  11233. description: Internal Server Error
  11234. schema:
  11235. $ref: '#/definitions/app.Response'
  11236. security:
  11237. - ApiKeyAuth: []
  11238. summary: 查询企业风管期货主力、次主力商品信息
  11239. tags:
  11240. - 企业风险管理(app)
  11241. /Ermcp/GetErmcpRoleFuncMenuLists:
  11242. get:
  11243. parameters:
  11244. - description: 登录账号
  11245. in: query
  11246. name: loginID
  11247. required: true
  11248. type: integer
  11249. produces:
  11250. - application/json
  11251. responses:
  11252. "200":
  11253. description: OK
  11254. schema:
  11255. $ref: '#/definitions/models.Funcmenulist'
  11256. "500":
  11257. description: Internal Server Error
  11258. schema:
  11259. $ref: '#/definitions/app.Response'
  11260. security:
  11261. - ApiKeyAuth: []
  11262. summary: 获取企业风管终端权限
  11263. tags:
  11264. - 企业风险管理(app)
  11265. /Ermcp/QryReportAreaSpotPL:
  11266. get:
  11267. parameters:
  11268. - description: 用户ID
  11269. in: query
  11270. name: userid
  11271. required: true
  11272. type: integer
  11273. - description: 查询类型 1-日报表 2-月报表
  11274. in: query
  11275. name: querytype
  11276. required: true
  11277. type: integer
  11278. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11279. in: query
  11280. name: querydate
  11281. required: true
  11282. type: string
  11283. - description: 现货商品ID
  11284. in: query
  11285. name: wrstandardid
  11286. type: integer
  11287. - description: 品牌ID
  11288. in: query
  11289. name: spotgoodsbrandid
  11290. type: integer
  11291. - description: 型号ID
  11292. in: query
  11293. name: spotgoodsmodelid
  11294. type: integer
  11295. produces:
  11296. - application/json
  11297. responses:
  11298. "200":
  11299. description: OK
  11300. schema:
  11301. items:
  11302. $ref: '#/definitions/models.ErmcpReportAreaSpotPL'
  11303. type: array
  11304. "500":
  11305. description: Internal Server Error
  11306. schema:
  11307. $ref: '#/definitions/app.Response'
  11308. security:
  11309. - ApiKeyAuth: []
  11310. summary: 查询现货损益报表(现货损益报表)
  11311. tags:
  11312. - 企业风险管理(app)
  11313. /Ermcp/QryReportDayExposure:
  11314. get:
  11315. parameters:
  11316. - description: 用户ID
  11317. in: query
  11318. name: userid
  11319. required: true
  11320. type: integer
  11321. - description: 交易日(格式:yyyyMMdd)
  11322. in: query
  11323. name: tradedate
  11324. required: true
  11325. type: string
  11326. produces:
  11327. - application/json
  11328. responses:
  11329. "200":
  11330. description: OK
  11331. schema:
  11332. items:
  11333. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  11334. type: array
  11335. "500":
  11336. description: Internal Server Error
  11337. schema:
  11338. $ref: '#/definitions/app.Response'
  11339. security:
  11340. - ApiKeyAuth: []
  11341. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  11342. tags:
  11343. - 企业风险管理(app)
  11344. /Ermcp/QryReportDayFinance:
  11345. get:
  11346. parameters:
  11347. - description: 用户ID
  11348. in: query
  11349. name: userid
  11350. required: true
  11351. type: integer
  11352. - description: 交易日(格式:yyyyMMdd)
  11353. in: query
  11354. name: tradedate
  11355. required: true
  11356. type: string
  11357. produces:
  11358. - application/json
  11359. responses:
  11360. "200":
  11361. description: OK
  11362. schema:
  11363. items:
  11364. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  11365. type: array
  11366. "500":
  11367. description: Internal Server Error
  11368. schema:
  11369. $ref: '#/definitions/app.Response'
  11370. security:
  11371. - ApiKeyAuth: []
  11372. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  11373. tags:
  11374. - 企业风险管理(app)
  11375. /Ermcp/QryReportDayFinanceFp:
  11376. get:
  11377. parameters:
  11378. - description: 用户ID
  11379. in: query
  11380. name: userid
  11381. required: true
  11382. type: integer
  11383. - description: 交易日(格式:yyyyMMdd)
  11384. in: query
  11385. name: tradedate
  11386. required: true
  11387. type: string
  11388. produces:
  11389. - application/json
  11390. responses:
  11391. "200":
  11392. description: OK
  11393. schema:
  11394. items:
  11395. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11396. type: array
  11397. "500":
  11398. description: Internal Server Error
  11399. schema:
  11400. $ref: '#/definitions/app.Response'
  11401. security:
  11402. - ApiKeyAuth: []
  11403. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  11404. tags:
  11405. - 企业风险管理(app)
  11406. /Ermcp/QryReportDayFinanceKx:
  11407. get:
  11408. parameters:
  11409. - description: 用户ID
  11410. in: query
  11411. name: userid
  11412. required: true
  11413. type: integer
  11414. - description: 交易日(格式:yyyyMMdd)
  11415. in: query
  11416. name: tradedate
  11417. required: true
  11418. type: string
  11419. produces:
  11420. - application/json
  11421. responses:
  11422. "200":
  11423. description: OK
  11424. schema:
  11425. items:
  11426. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  11427. type: array
  11428. "500":
  11429. description: Internal Server Error
  11430. schema:
  11431. $ref: '#/definitions/app.Response'
  11432. security:
  11433. - ApiKeyAuth: []
  11434. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  11435. tags:
  11436. - 企业风险管理(app)
  11437. /Ermcp/QryReportDaySpot:
  11438. get:
  11439. parameters:
  11440. - description: 用户ID
  11441. in: query
  11442. name: userid
  11443. required: true
  11444. type: integer
  11445. - description: 交易日(格式:yyyyMMdd)
  11446. in: query
  11447. name: tradedate
  11448. required: true
  11449. type: string
  11450. produces:
  11451. - application/json
  11452. responses:
  11453. "200":
  11454. description: OK
  11455. schema:
  11456. items:
  11457. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  11458. type: array
  11459. "500":
  11460. description: Internal Server Error
  11461. schema:
  11462. $ref: '#/definitions/app.Response'
  11463. security:
  11464. - ApiKeyAuth: []
  11465. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  11466. tags:
  11467. - 企业风险管理(app)
  11468. /Ermcp/QryReportDaySpotDetail:
  11469. get:
  11470. parameters:
  11471. - description: 用户ID
  11472. in: query
  11473. name: userid
  11474. required: true
  11475. type: integer
  11476. - description: 现货商品id
  11477. in: query
  11478. name: wrstandardid
  11479. required: true
  11480. type: integer
  11481. - description: 交易日(格式:yyyyMMdd)
  11482. in: query
  11483. name: tradedate
  11484. required: true
  11485. type: string
  11486. produces:
  11487. - application/json
  11488. responses:
  11489. "200":
  11490. description: OK
  11491. schema:
  11492. items:
  11493. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  11494. type: array
  11495. "500":
  11496. description: Internal Server Error
  11497. schema:
  11498. $ref: '#/definitions/app.Response'
  11499. security:
  11500. - ApiKeyAuth: []
  11501. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  11502. tags:
  11503. - 企业风险管理(app)
  11504. /Ermcp/QryReportMonthFinance:
  11505. get:
  11506. parameters:
  11507. - description: 用户ID
  11508. in: query
  11509. name: userid
  11510. required: true
  11511. type: integer
  11512. - description: 周期时间:月(格式:yyyyMM)
  11513. in: query
  11514. name: cycletime
  11515. required: true
  11516. type: string
  11517. produces:
  11518. - application/json
  11519. responses:
  11520. "200":
  11521. description: OK
  11522. schema:
  11523. items:
  11524. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  11525. type: array
  11526. "500":
  11527. description: Internal Server Error
  11528. schema:
  11529. $ref: '#/definitions/app.Response'
  11530. security:
  11531. - ApiKeyAuth: []
  11532. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  11533. tags:
  11534. - 企业风险管理(app)
  11535. /Ermcp/QryReportMonthSpot:
  11536. get:
  11537. parameters:
  11538. - description: 用户ID
  11539. in: query
  11540. name: userid
  11541. required: true
  11542. type: integer
  11543. - description: 周期时间:月(格式:yyyyMM)
  11544. in: query
  11545. name: cycletime
  11546. required: true
  11547. type: string
  11548. produces:
  11549. - application/json
  11550. responses:
  11551. "200":
  11552. description: OK
  11553. schema:
  11554. items:
  11555. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  11556. type: array
  11557. "500":
  11558. description: Internal Server Error
  11559. schema:
  11560. $ref: '#/definitions/app.Response'
  11561. security:
  11562. - ApiKeyAuth: []
  11563. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  11564. tags:
  11565. - 企业风险管理(app)
  11566. /Ermcp/QryReportMonthSpotDetail:
  11567. get:
  11568. parameters:
  11569. - description: 用户ID
  11570. in: query
  11571. name: userid
  11572. required: true
  11573. type: integer
  11574. - description: 现货商品id
  11575. in: query
  11576. name: wrstandardid
  11577. required: true
  11578. type: integer
  11579. - description: 周期时间:月(格式:yyyyMM)
  11580. in: query
  11581. name: cycletime
  11582. required: true
  11583. type: string
  11584. produces:
  11585. - application/json
  11586. responses:
  11587. "200":
  11588. description: OK
  11589. schema:
  11590. items:
  11591. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  11592. type: array
  11593. "500":
  11594. description: Internal Server Error
  11595. schema:
  11596. $ref: '#/definitions/app.Response'
  11597. security:
  11598. - ApiKeyAuth: []
  11599. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  11600. tags:
  11601. - 企业风险管理(app)
  11602. /Ermcp/QueryAccMgrBizGroupSet:
  11603. get:
  11604. parameters:
  11605. - description: 用户ID
  11606. in: query
  11607. name: userid
  11608. required: true
  11609. type: integer
  11610. produces:
  11611. - application/json
  11612. responses:
  11613. "200":
  11614. description: OK
  11615. schema:
  11616. items:
  11617. $ref: '#/definitions/models.ErmcpBizGroupEx'
  11618. type: array
  11619. "500":
  11620. description: Internal Server Error
  11621. schema:
  11622. $ref: '#/definitions/app.Response'
  11623. security:
  11624. - ApiKeyAuth: []
  11625. summary: 查询业务类型分组(账户管理/账户设置)
  11626. tags:
  11627. - 企业风险管理(app)
  11628. /Ermcp/QueryAccMgrLoginUser:
  11629. get:
  11630. parameters:
  11631. - description: 用户ID
  11632. in: query
  11633. name: userid
  11634. required: true
  11635. type: integer
  11636. produces:
  11637. - application/json
  11638. responses:
  11639. "200":
  11640. description: OK
  11641. schema:
  11642. items:
  11643. $ref: '#/definitions/models.ErmcpLoginUserEx'
  11644. type: array
  11645. "500":
  11646. description: Internal Server Error
  11647. schema:
  11648. $ref: '#/definitions/app.Response'
  11649. security:
  11650. - ApiKeyAuth: []
  11651. summary: 查询账户管理登录账号(账户管理/登录账号)
  11652. tags:
  11653. - 企业风险管理(app)
  11654. /Ermcp/QueryAccMgrMainAccountInfo:
  11655. get:
  11656. parameters:
  11657. - description: 用户ID
  11658. in: query
  11659. name: userid
  11660. type: integer
  11661. - description: 主账号id
  11662. in: query
  11663. name: accountid
  11664. type: integer
  11665. produces:
  11666. - application/json
  11667. responses:
  11668. "200":
  11669. description: OK
  11670. schema:
  11671. items:
  11672. $ref: '#/definitions/models.MainAccountInfo'
  11673. type: array
  11674. "500":
  11675. description: Internal Server Error
  11676. schema:
  11677. $ref: '#/definitions/app.Response'
  11678. security:
  11679. - ApiKeyAuth: []
  11680. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  11681. tags:
  11682. - 企业风险管理(app)
  11683. /Ermcp/QueryAccMgrRole:
  11684. get:
  11685. parameters:
  11686. - description: 用户ID
  11687. in: query
  11688. name: userid
  11689. required: true
  11690. type: integer
  11691. produces:
  11692. - application/json
  11693. responses:
  11694. "200":
  11695. description: OK
  11696. schema:
  11697. items:
  11698. $ref: '#/definitions/models.ErmcpRole'
  11699. type: array
  11700. "500":
  11701. description: Internal Server Error
  11702. schema:
  11703. $ref: '#/definitions/app.Response'
  11704. security:
  11705. - ApiKeyAuth: []
  11706. summary: 查询账户管理角色设置(账户管理/角色设置)
  11707. tags:
  11708. - 企业风险管理(app)
  11709. /Ermcp/QueryAccMgrRoleMenu:
  11710. get:
  11711. parameters:
  11712. - description: 用户ID
  11713. in: query
  11714. name: userid
  11715. required: true
  11716. type: integer
  11717. - description: 角色id(可多个,逗号隔开)
  11718. in: query
  11719. name: roleid
  11720. type: string
  11721. produces:
  11722. - application/json
  11723. responses:
  11724. "200":
  11725. description: OK
  11726. schema:
  11727. items:
  11728. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  11729. type: array
  11730. "500":
  11731. description: Internal Server Error
  11732. schema:
  11733. $ref: '#/definitions/app.Response'
  11734. security:
  11735. - ApiKeyAuth: []
  11736. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  11737. tags:
  11738. - 企业风险管理(app)
  11739. /Ermcp/QueryAccMgrTaAccountInfo:
  11740. get:
  11741. parameters:
  11742. - description: 用户ID
  11743. in: query
  11744. name: userid
  11745. required: true
  11746. type: integer
  11747. - description: 账号id
  11748. in: query
  11749. name: accountid
  11750. type: integer
  11751. produces:
  11752. - application/json
  11753. responses:
  11754. "200":
  11755. description: OK
  11756. schema:
  11757. items:
  11758. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  11759. type: array
  11760. "500":
  11761. description: Internal Server Error
  11762. schema:
  11763. $ref: '#/definitions/app.Response'
  11764. security:
  11765. - ApiKeyAuth: []
  11766. summary: 查询账户管理授信(账户管理/账户设置/授信)
  11767. tags:
  11768. - 企业风险管理(app)
  11769. /Ermcp/QueryAccMgrTaaccount:
  11770. get:
  11771. parameters:
  11772. - description: 用户ID
  11773. in: query
  11774. name: userid
  11775. required: true
  11776. type: integer
  11777. produces:
  11778. - application/json
  11779. responses:
  11780. "200":
  11781. description: OK
  11782. schema:
  11783. items:
  11784. $ref: '#/definitions/models.ErmcpTaAccountEx'
  11785. type: array
  11786. "500":
  11787. description: Internal Server Error
  11788. schema:
  11789. $ref: '#/definitions/app.Response'
  11790. security:
  11791. - ApiKeyAuth: []
  11792. summary: 查询账户管理期货账号(账户管理/期货账号)
  11793. tags:
  11794. - 企业风险管理(app)
  11795. /Ermcp/QueryAreaStock:
  11796. get:
  11797. parameters:
  11798. - description: 用户ID
  11799. in: query
  11800. name: userid
  11801. required: true
  11802. type: integer
  11803. produces:
  11804. - application/json
  11805. responses:
  11806. "200":
  11807. description: OK
  11808. schema:
  11809. items:
  11810. $ref: '#/definitions/models.ErmcpAreaStock'
  11811. type: array
  11812. "500":
  11813. description: Internal Server Error
  11814. schema:
  11815. $ref: '#/definitions/app.Response'
  11816. security:
  11817. - ApiKeyAuth: []
  11818. summary: 查询机构库存(库存管理/当前库存)
  11819. tags:
  11820. - 企业风险管理(app)
  11821. /Ermcp/QueryAreaStockApply:
  11822. get:
  11823. parameters:
  11824. - description: 用户ID
  11825. in: query
  11826. name: userid
  11827. required: true
  11828. type: integer
  11829. - description: 出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  11830. in: query
  11831. name: inouttype
  11832. type: string
  11833. - description: 合同ID
  11834. in: query
  11835. name: spotcontractid
  11836. type: integer
  11837. - description: 现货商品ID
  11838. in: query
  11839. name: wrstandardid
  11840. type: integer
  11841. - description: 品牌ID
  11842. in: query
  11843. name: spotgoodsbrandid
  11844. type: integer
  11845. - description: 型号ID
  11846. in: query
  11847. name: spotgoodsmodelid
  11848. type: integer
  11849. - description: 仓库ID
  11850. in: query
  11851. name: warehouseinfoid
  11852. type: integer
  11853. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11854. in: query
  11855. name: applystatus
  11856. type: string
  11857. produces:
  11858. - application/json
  11859. responses:
  11860. "200":
  11861. description: OK
  11862. schema:
  11863. items:
  11864. $ref: '#/definitions/ermcp.QryAreaStockApplyRsp'
  11865. type: array
  11866. "500":
  11867. description: Internal Server Error
  11868. schema:
  11869. $ref: '#/definitions/app.Response'
  11870. security:
  11871. - ApiKeyAuth: []
  11872. summary: 查询库存申请(出入库记录|库存审核)
  11873. tags:
  11874. - 企业风险管理(app)
  11875. /Ermcp/QueryAreaStockApplySum:
  11876. get:
  11877. parameters:
  11878. - description: 合同ID
  11879. in: query
  11880. name: spotcontractid
  11881. type: integer
  11882. produces:
  11883. - application/json
  11884. responses:
  11885. "200":
  11886. description: OK
  11887. schema:
  11888. items:
  11889. $ref: '#/definitions/ermcp.QueryAreaStockApplySumRsp'
  11890. type: array
  11891. "500":
  11892. description: Internal Server Error
  11893. schema:
  11894. $ref: '#/definitions/app.Response'
  11895. security:
  11896. - ApiKeyAuth: []
  11897. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  11898. tags:
  11899. - 企业风险管理(app)
  11900. /Ermcp/QueryAreaStockReport:
  11901. get:
  11902. parameters:
  11903. - description: 用户ID
  11904. in: query
  11905. name: userid
  11906. required: true
  11907. type: integer
  11908. - description: 查询类型 1-日报表 2-月报表
  11909. in: query
  11910. name: querytype
  11911. required: true
  11912. type: integer
  11913. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11914. in: query
  11915. name: querydate
  11916. required: true
  11917. type: string
  11918. - description: 现货商品ID
  11919. in: query
  11920. name: wrstandardid
  11921. type: integer
  11922. - description: 品牌ID
  11923. in: query
  11924. name: spotgoodsbrandid
  11925. type: integer
  11926. - description: 型号ID
  11927. in: query
  11928. name: spotgoodsmodelid
  11929. type: integer
  11930. - description: 仓库ID
  11931. in: query
  11932. name: warehouseinfoid
  11933. type: integer
  11934. produces:
  11935. - application/json
  11936. responses:
  11937. "200":
  11938. description: OK
  11939. schema:
  11940. items:
  11941. $ref: '#/definitions/models.ErmcpAreaStockReport'
  11942. type: array
  11943. "500":
  11944. description: Internal Server Error
  11945. schema:
  11946. $ref: '#/definitions/app.Response'
  11947. security:
  11948. - ApiKeyAuth: []
  11949. summary: 查询库存报表
  11950. tags:
  11951. - 企业风险管理(app)
  11952. /Ermcp/QueryAreaStockReportDetail:
  11953. get:
  11954. parameters:
  11955. - description: 用户ID
  11956. in: query
  11957. name: userid
  11958. required: true
  11959. type: integer
  11960. - description: 查询类型 1-日报表明细 2-月报表明细
  11961. in: query
  11962. name: querytype
  11963. required: true
  11964. type: integer
  11965. - description: 明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)
  11966. in: query
  11967. name: detailtype
  11968. required: true
  11969. type: integer
  11970. - description: 查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)
  11971. in: query
  11972. name: querydate
  11973. required: true
  11974. type: string
  11975. - description: 现货商品ID
  11976. in: query
  11977. name: wrstandardid
  11978. type: integer
  11979. - description: 品牌ID
  11980. in: query
  11981. name: spotgoodsbrandid
  11982. type: integer
  11983. - description: 型号ID
  11984. in: query
  11985. name: spotgoodsmodelid
  11986. type: integer
  11987. - description: 仓库ID
  11988. in: query
  11989. name: warehouseinfoid
  11990. type: integer
  11991. produces:
  11992. - application/json
  11993. responses:
  11994. "200":
  11995. description: OK
  11996. schema:
  11997. items:
  11998. $ref: '#/definitions/models.ErmcpAreaStockApply'
  11999. type: array
  12000. "500":
  12001. description: Internal Server Error
  12002. schema:
  12003. $ref: '#/definitions/app.Response'
  12004. security:
  12005. - ApiKeyAuth: []
  12006. summary: 查询库存报表明细
  12007. tags:
  12008. - 企业风险管理(app)
  12009. /Ermcp/QueryAvaildGoodsGroup:
  12010. get:
  12011. parameters:
  12012. - description: 所属机构ID
  12013. in: query
  12014. name: userid
  12015. required: true
  12016. type: integer
  12017. produces:
  12018. - application/json
  12019. responses:
  12020. "200":
  12021. description: OK
  12022. schema:
  12023. items:
  12024. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12025. type: array
  12026. "500":
  12027. description: Internal Server Error
  12028. schema:
  12029. $ref: '#/definitions/app.Response'
  12030. security:
  12031. - ApiKeyAuth: []
  12032. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12033. tags:
  12034. - 企业风险管理(app)
  12035. /Ermcp/QueryBusinessDj:
  12036. get:
  12037. parameters:
  12038. - description: 用户ID
  12039. in: query
  12040. name: UserId
  12041. required: true
  12042. type: integer
  12043. - description: 现货合同ID, 不填则查所有
  12044. in: query
  12045. name: relatedid
  12046. type: string
  12047. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12048. in: query
  12049. name: applystatus
  12050. type: string
  12051. produces:
  12052. - application/json
  12053. responses:
  12054. "200":
  12055. description: OK
  12056. schema:
  12057. items:
  12058. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12059. type: array
  12060. "500":
  12061. description: Internal Server Error
  12062. schema:
  12063. $ref: '#/definitions/app.Response'
  12064. security:
  12065. - ApiKeyAuth: []
  12066. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12067. tags:
  12068. - 企业风险管理(app)
  12069. /Ermcp/QueryBusinessFp:
  12070. get:
  12071. parameters:
  12072. - description: 用户ID
  12073. in: query
  12074. name: UserId
  12075. required: true
  12076. type: integer
  12077. - description: 现货合同ID, 不填则查所有
  12078. in: query
  12079. name: relatedid
  12080. type: string
  12081. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12082. in: query
  12083. name: applystatus
  12084. type: string
  12085. produces:
  12086. - application/json
  12087. responses:
  12088. "200":
  12089. description: OK
  12090. schema:
  12091. items:
  12092. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12093. type: array
  12094. "500":
  12095. description: Internal Server Error
  12096. schema:
  12097. $ref: '#/definitions/app.Response'
  12098. security:
  12099. - ApiKeyAuth: []
  12100. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12101. tags:
  12102. - 企业风险管理(app)
  12103. /Ermcp/QueryBusinessJs:
  12104. get:
  12105. parameters:
  12106. - description: 用户ID
  12107. in: query
  12108. name: UserId
  12109. required: true
  12110. type: integer
  12111. - description: 现货合同ID, 不填则查所有
  12112. in: query
  12113. name: relatedid
  12114. type: string
  12115. - description: 操作申请id
  12116. in: query
  12117. name: operateapplyid
  12118. type: string
  12119. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12120. in: query
  12121. name: applystatus
  12122. type: string
  12123. produces:
  12124. - application/json
  12125. responses:
  12126. "200":
  12127. description: OK
  12128. schema:
  12129. items:
  12130. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12131. type: array
  12132. "500":
  12133. description: Internal Server Error
  12134. schema:
  12135. $ref: '#/definitions/app.Response'
  12136. security:
  12137. - ApiKeyAuth: []
  12138. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12139. tags:
  12140. - 企业风险管理(app)
  12141. /Ermcp/QueryBusinessJsEx:
  12142. get:
  12143. parameters:
  12144. - description: 用户ID
  12145. in: query
  12146. name: UserId
  12147. required: true
  12148. type: integer
  12149. - description: 现货合同ID, 不填则查所有
  12150. in: query
  12151. name: relatedid
  12152. type: string
  12153. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12154. in: query
  12155. name: applystatus
  12156. type: string
  12157. produces:
  12158. - application/json
  12159. responses:
  12160. "200":
  12161. description: OK
  12162. schema:
  12163. items:
  12164. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12165. type: array
  12166. "500":
  12167. description: Internal Server Error
  12168. schema:
  12169. $ref: '#/definitions/app.Response'
  12170. security:
  12171. - ApiKeyAuth: []
  12172. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12173. tags:
  12174. - 企业风险管理(app)
  12175. /Ermcp/QueryBusinessKx:
  12176. get:
  12177. parameters:
  12178. - description: 用户ID
  12179. in: query
  12180. name: UserId
  12181. required: true
  12182. type: integer
  12183. - description: 现货合同ID, 不填则查所有
  12184. in: query
  12185. name: relatedid
  12186. type: string
  12187. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12188. in: query
  12189. name: applystatus
  12190. type: string
  12191. produces:
  12192. - application/json
  12193. responses:
  12194. "200":
  12195. description: OK
  12196. schema:
  12197. items:
  12198. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12199. type: array
  12200. "500":
  12201. description: Internal Server Error
  12202. schema:
  12203. $ref: '#/definitions/app.Response'
  12204. security:
  12205. - ApiKeyAuth: []
  12206. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12207. tags:
  12208. - 企业风险管理(app)
  12209. /Ermcp/QueryChangeLog:
  12210. get:
  12211. parameters:
  12212. - description: 合同ID
  12213. in: query
  12214. name: RelatedId
  12215. required: true
  12216. type: string
  12217. produces:
  12218. - application/json
  12219. responses:
  12220. "200":
  12221. description: OK
  12222. schema:
  12223. items:
  12224. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12225. type: array
  12226. "500":
  12227. description: Internal Server Error
  12228. schema:
  12229. $ref: '#/definitions/app.Response'
  12230. security:
  12231. - ApiKeyAuth: []
  12232. summary: 查询变更记录
  12233. tags:
  12234. - 企业风险管理(app)
  12235. /Ermcp/QueryContract:
  12236. get:
  12237. parameters:
  12238. - description: 用户ID
  12239. in: query
  12240. name: userId
  12241. required: true
  12242. type: integer
  12243. - description: 合同类型 1-采购, -1-销售
  12244. in: query
  12245. name: contracttype
  12246. required: true
  12247. type: integer
  12248. - description: 查询类型 1-全部 2-待点价 3-履约结算
  12249. in: query
  12250. name: querytype
  12251. required: true
  12252. type: integer
  12253. - description: 合同ID(SpotContractId)
  12254. in: query
  12255. name: contractid
  12256. type: string
  12257. produces:
  12258. - application/json
  12259. responses:
  12260. "200":
  12261. description: OK
  12262. schema:
  12263. items:
  12264. $ref: '#/definitions/ermcp.QryErmcpRsp'
  12265. type: array
  12266. "500":
  12267. description: Internal Server Error
  12268. schema:
  12269. $ref: '#/definitions/app.Response'
  12270. security:
  12271. - ApiKeyAuth: []
  12272. summary: 查询合同(采购和销售)
  12273. tags:
  12274. - 企业风险管理(app)
  12275. /Ermcp/QueryErmcpHisOrderDetails:
  12276. get:
  12277. parameters:
  12278. - description: 资金账户ID
  12279. in: query
  12280. name: accountID
  12281. required: true
  12282. type: integer
  12283. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12284. in: query
  12285. name: startDate
  12286. type: string
  12287. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12288. in: query
  12289. name: endDate
  12290. type: string
  12291. produces:
  12292. - application/json
  12293. responses:
  12294. "200":
  12295. description: OK
  12296. schema:
  12297. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12298. "500":
  12299. description: Internal Server Error
  12300. schema:
  12301. $ref: '#/definitions/app.Response'
  12302. security:
  12303. - ApiKeyAuth: []
  12304. summary: 获取企业风管期货历史委托单信息
  12305. tags:
  12306. - 企业风险管理(app)
  12307. /Ermcp/QueryErmcpHisTradeDetails:
  12308. get:
  12309. parameters:
  12310. - description: 资金账户ID
  12311. in: query
  12312. name: accountID
  12313. required: true
  12314. type: integer
  12315. - description: 商品ID
  12316. in: query
  12317. name: goodsID
  12318. type: integer
  12319. - description: 买卖方向,0:买 1:卖
  12320. in: query
  12321. name: buyOrSell
  12322. type: integer
  12323. - description: 关联委托单号
  12324. in: query
  12325. name: orderID
  12326. type: integer
  12327. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12328. in: query
  12329. name: startDate
  12330. type: string
  12331. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12332. in: query
  12333. name: endDate
  12334. type: string
  12335. produces:
  12336. - application/json
  12337. responses:
  12338. "200":
  12339. description: OK
  12340. schema:
  12341. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12342. "500":
  12343. description: Internal Server Error
  12344. schema:
  12345. $ref: '#/definitions/app.Response'
  12346. security:
  12347. - ApiKeyAuth: []
  12348. summary: 获取企业风管期货历史成交单信息
  12349. tags:
  12350. - 企业风险管理(app)
  12351. /Ermcp/QueryErmcpInnerHolderDetails:
  12352. get:
  12353. parameters:
  12354. - description: 资金账户ID
  12355. in: query
  12356. name: accountID
  12357. required: true
  12358. type: integer
  12359. - description: 商品ID
  12360. in: query
  12361. name: goodsID
  12362. type: integer
  12363. - description: 买卖方向,0:买 1:卖
  12364. in: query
  12365. name: buyOrSell
  12366. type: integer
  12367. produces:
  12368. - application/json
  12369. responses:
  12370. "200":
  12371. description: OK
  12372. schema:
  12373. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12374. "500":
  12375. description: Internal Server Error
  12376. schema:
  12377. $ref: '#/definitions/app.Response'
  12378. security:
  12379. - ApiKeyAuth: []
  12380. summary: 获取企业风管期货内部持仓单信息
  12381. tags:
  12382. - 企业风险管理(app)
  12383. /Ermcp/QueryErmcpOrderDetails:
  12384. get:
  12385. parameters:
  12386. - description: 资金账户ID
  12387. in: query
  12388. name: accountID
  12389. required: true
  12390. type: integer
  12391. produces:
  12392. - application/json
  12393. responses:
  12394. "200":
  12395. description: OK
  12396. schema:
  12397. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12398. "500":
  12399. description: Internal Server Error
  12400. schema:
  12401. $ref: '#/definitions/app.Response'
  12402. security:
  12403. - ApiKeyAuth: []
  12404. summary: 获取企业风管期货委托单信息
  12405. tags:
  12406. - 企业风险管理(app)
  12407. /Ermcp/QueryErmcpTradeDetails:
  12408. get:
  12409. parameters:
  12410. - description: 资金账户ID
  12411. in: query
  12412. name: accountID
  12413. required: true
  12414. type: integer
  12415. - description: 商品ID
  12416. in: query
  12417. name: goodsID
  12418. type: integer
  12419. - description: 买卖方向,0:买 1:卖
  12420. in: query
  12421. name: buyOrSell
  12422. type: integer
  12423. - description: 关联委托单号
  12424. in: query
  12425. name: orderID
  12426. type: integer
  12427. produces:
  12428. - application/json
  12429. responses:
  12430. "200":
  12431. description: OK
  12432. schema:
  12433. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12434. "500":
  12435. description: Internal Server Error
  12436. schema:
  12437. $ref: '#/definitions/app.Response'
  12438. security:
  12439. - ApiKeyAuth: []
  12440. summary: 获取企业风管期货成交单信息
  12441. tags:
  12442. - 企业风险管理(app)
  12443. /Ermcp/QueryErmcpTradePosition:
  12444. get:
  12445. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12446. parameters:
  12447. - description: 资金账户ID
  12448. in: query
  12449. name: accountID
  12450. required: true
  12451. type: integer
  12452. - description: 所属市场ID
  12453. in: query
  12454. name: marketID
  12455. type: integer
  12456. produces:
  12457. - application/json
  12458. responses:
  12459. "200":
  12460. description: OK
  12461. schema:
  12462. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12463. "500":
  12464. description: Internal Server Error
  12465. schema:
  12466. $ref: '#/definitions/app.Response'
  12467. security:
  12468. - ApiKeyAuth: []
  12469. summary: 获取企业风管期货持仓头寸信息
  12470. tags:
  12471. - 企业风险管理(app)
  12472. /Ermcp/QueryExposureDetail:
  12473. get:
  12474. parameters:
  12475. - description: 所属机构ID
  12476. in: query
  12477. name: areaUserId
  12478. required: true
  12479. type: integer
  12480. - description: 套保商品
  12481. in: query
  12482. name: middleGoodsId
  12483. required: true
  12484. type: integer
  12485. produces:
  12486. - application/json
  12487. responses:
  12488. "200":
  12489. description: OK
  12490. schema:
  12491. items:
  12492. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12493. type: array
  12494. "500":
  12495. description: Internal Server Error
  12496. schema:
  12497. $ref: '#/definitions/app.Response'
  12498. security:
  12499. - ApiKeyAuth: []
  12500. summary: 查询敞口现货明细
  12501. tags:
  12502. - 企业风险管理(app)
  12503. /Ermcp/QueryExposureHedgePosition:
  12504. get:
  12505. parameters:
  12506. - description: 所属机构ID
  12507. in: query
  12508. name: areaUserId
  12509. required: true
  12510. type: integer
  12511. produces:
  12512. - application/json
  12513. responses:
  12514. "200":
  12515. description: OK
  12516. schema:
  12517. items:
  12518. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12519. type: array
  12520. "500":
  12521. description: Internal Server Error
  12522. schema:
  12523. $ref: '#/definitions/app.Response'
  12524. security:
  12525. - ApiKeyAuth: []
  12526. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12527. tags:
  12528. - 企业风险管理(app)
  12529. /Ermcp/QueryExposureHedgePositionDetail:
  12530. get:
  12531. parameters:
  12532. - description: 所属机构ID
  12533. in: query
  12534. name: areaUserId
  12535. required: true
  12536. type: integer
  12537. - description: 商品id
  12538. in: query
  12539. name: goodsId
  12540. required: true
  12541. type: integer
  12542. produces:
  12543. - application/json
  12544. responses:
  12545. "200":
  12546. description: OK
  12547. schema:
  12548. items:
  12549. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  12550. type: array
  12551. "500":
  12552. description: Internal Server Error
  12553. schema:
  12554. $ref: '#/definitions/app.Response'
  12555. security:
  12556. - ApiKeyAuth: []
  12557. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  12558. tags:
  12559. - 企业风险管理(app)
  12560. /Ermcp/QueryExposureSpot:
  12561. get:
  12562. parameters:
  12563. - description: 所属机构ID
  12564. in: query
  12565. name: areaUserId
  12566. required: true
  12567. type: integer
  12568. produces:
  12569. - application/json
  12570. responses:
  12571. "200":
  12572. description: OK
  12573. schema:
  12574. items:
  12575. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  12576. type: array
  12577. "500":
  12578. description: Internal Server Error
  12579. schema:
  12580. $ref: '#/definitions/app.Response'
  12581. security:
  12582. - ApiKeyAuth: []
  12583. summary: 查询敞口现货头寸(敞口/现货头寸)
  12584. tags:
  12585. - 企业风险管理(app)
  12586. /Ermcp/QueryExposureSpotDetail:
  12587. get:
  12588. parameters:
  12589. - description: 所属机构ID
  12590. in: query
  12591. name: areaUserId
  12592. required: true
  12593. type: integer
  12594. - description: 现货品种ID
  12595. in: query
  12596. name: wrstandardId
  12597. required: true
  12598. type: integer
  12599. produces:
  12600. - application/json
  12601. responses:
  12602. "200":
  12603. description: OK
  12604. schema:
  12605. items:
  12606. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  12607. type: array
  12608. "500":
  12609. description: Internal Server Error
  12610. schema:
  12611. $ref: '#/definitions/app.Response'
  12612. security:
  12613. - ApiKeyAuth: []
  12614. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  12615. tags:
  12616. - 企业风险管理(app)
  12617. /Ermcp/QueryFuturesCompany:
  12618. get:
  12619. produces:
  12620. - application/json
  12621. responses:
  12622. "200":
  12623. description: OK
  12624. schema:
  12625. items:
  12626. $ref: '#/definitions/models.ErmcpFuturesCompany'
  12627. type: array
  12628. "500":
  12629. description: Internal Server Error
  12630. schema:
  12631. $ref: '#/definitions/app.Response'
  12632. security:
  12633. - ApiKeyAuth: []
  12634. summary: 查询期货公司
  12635. tags:
  12636. - 企业风险管理(app)
  12637. /Ermcp/QueryGGConvertConfig:
  12638. get:
  12639. parameters:
  12640. - description: 品种id(不填则查所有)
  12641. in: query
  12642. name: goodsgroupid
  12643. type: integer
  12644. produces:
  12645. - application/json
  12646. responses:
  12647. "200":
  12648. description: OK
  12649. schema:
  12650. items:
  12651. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  12652. type: array
  12653. "500":
  12654. description: Internal Server Error
  12655. schema:
  12656. $ref: '#/definitions/app.Response'
  12657. security:
  12658. - ApiKeyAuth: []
  12659. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  12660. tags:
  12661. - 企业风险管理(app)
  12662. /Ermcp/QueryGoodsBrand:
  12663. get:
  12664. parameters:
  12665. - description: 用户ID
  12666. in: query
  12667. name: userid
  12668. required: true
  12669. type: integer
  12670. - description: 现货商品ID
  12671. in: query
  12672. name: wrstandardid
  12673. type: integer
  12674. produces:
  12675. - application/json
  12676. responses:
  12677. "200":
  12678. description: OK
  12679. schema:
  12680. items:
  12681. $ref: '#/definitions/models.ErmcpGoodsBrand'
  12682. type: array
  12683. "500":
  12684. description: Internal Server Error
  12685. schema:
  12686. $ref: '#/definitions/app.Response'
  12687. security:
  12688. - ApiKeyAuth: []
  12689. summary: 查询商品品牌
  12690. tags:
  12691. - 企业风险管理(app)
  12692. /Ermcp/QueryGoodsModel:
  12693. get:
  12694. parameters:
  12695. - description: 用户ID
  12696. in: query
  12697. name: userid
  12698. required: true
  12699. type: integer
  12700. produces:
  12701. - application/json
  12702. responses:
  12703. "200":
  12704. description: OK
  12705. schema:
  12706. items:
  12707. $ref: '#/definitions/models.ErmcpGoodsModel'
  12708. type: array
  12709. "500":
  12710. description: Internal Server Error
  12711. schema:
  12712. $ref: '#/definitions/app.Response'
  12713. security:
  12714. - ApiKeyAuth: []
  12715. summary: 查询商品型号
  12716. tags:
  12717. - 企业风险管理(app)
  12718. /Ermcp/QueryHedgePlan:
  12719. get:
  12720. parameters:
  12721. - description: 用户ID
  12722. in: query
  12723. name: userId
  12724. required: true
  12725. type: integer
  12726. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  12727. in: query
  12728. name: HedgePlanStatus
  12729. required: true
  12730. type: string
  12731. produces:
  12732. - application/json
  12733. responses:
  12734. "200":
  12735. description: OK
  12736. schema:
  12737. items:
  12738. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  12739. type: array
  12740. "500":
  12741. description: Internal Server Error
  12742. schema:
  12743. $ref: '#/definitions/app.Response'
  12744. security:
  12745. - ApiKeyAuth: []
  12746. summary: 查询套保计划
  12747. tags:
  12748. - 企业风险管理(app)
  12749. /Ermcp/QueryHisExposure:
  12750. get:
  12751. parameters:
  12752. - description: 所属机构ID
  12753. in: query
  12754. name: areaUserId
  12755. required: true
  12756. type: integer
  12757. - description: 每个品种记录数
  12758. in: query
  12759. name: lastNum
  12760. required: true
  12761. type: integer
  12762. produces:
  12763. - application/json
  12764. responses:
  12765. "200":
  12766. description: OK
  12767. schema:
  12768. items:
  12769. $ref: '#/definitions/ermcp.HisExposureRsp'
  12770. type: array
  12771. "500":
  12772. description: Internal Server Error
  12773. schema:
  12774. $ref: '#/definitions/app.Response'
  12775. security:
  12776. - ApiKeyAuth: []
  12777. summary: 查询历史敞口(菜单:敞口/历史敞口)
  12778. tags:
  12779. - 企业风险管理(app)
  12780. /Ermcp/QueryMiddleGoods:
  12781. get:
  12782. parameters:
  12783. - description: 所属机构ID
  12784. in: query
  12785. name: userid
  12786. required: true
  12787. type: integer
  12788. - description: 状态 0-停用 1-正常
  12789. in: query
  12790. name: status
  12791. required: true
  12792. type: integer
  12793. produces:
  12794. - application/json
  12795. responses:
  12796. "200":
  12797. description: OK
  12798. schema:
  12799. items:
  12800. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  12801. type: array
  12802. "500":
  12803. description: Internal Server Error
  12804. schema:
  12805. $ref: '#/definitions/app.Response'
  12806. security:
  12807. - ApiKeyAuth: []
  12808. summary: 查询套保品种(菜单:套保品种)
  12809. tags:
  12810. - 企业风险管理(app)
  12811. /Ermcp/QueryMiddleGoodsChangeLog:
  12812. get:
  12813. parameters:
  12814. - description: 所属机构ID
  12815. in: query
  12816. name: userid
  12817. required: true
  12818. type: integer
  12819. - description: 套保品种id
  12820. in: query
  12821. name: middlegoodsid
  12822. required: true
  12823. type: integer
  12824. produces:
  12825. - application/json
  12826. responses:
  12827. "200":
  12828. description: OK
  12829. schema:
  12830. items:
  12831. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  12832. type: array
  12833. "500":
  12834. description: Internal Server Error
  12835. schema:
  12836. $ref: '#/definitions/app.Response'
  12837. security:
  12838. - ApiKeyAuth: []
  12839. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  12840. tags:
  12841. - 企业风险管理(app)
  12842. /Ermcp/QueryMiddleGoodsDetail:
  12843. get:
  12844. parameters:
  12845. - description: 所属机构ID
  12846. in: query
  12847. name: userid
  12848. required: true
  12849. type: integer
  12850. - description: 套保品种id
  12851. in: query
  12852. name: middlegoodsid
  12853. type: integer
  12854. produces:
  12855. - application/json
  12856. responses:
  12857. "200":
  12858. description: OK
  12859. schema:
  12860. items:
  12861. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  12862. type: array
  12863. "500":
  12864. description: Internal Server Error
  12865. schema:
  12866. $ref: '#/definitions/app.Response'
  12867. security:
  12868. - ApiKeyAuth: []
  12869. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  12870. tags:
  12871. - 企业风险管理(app)
  12872. /Ermcp/QueryPendingAuditInfo:
  12873. get:
  12874. parameters:
  12875. - description: 用户ID
  12876. in: query
  12877. name: UserId
  12878. required: true
  12879. type: integer
  12880. produces:
  12881. - application/json
  12882. responses:
  12883. "200":
  12884. description: OK
  12885. schema:
  12886. items:
  12887. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  12888. type: array
  12889. "500":
  12890. description: Internal Server Error
  12891. schema:
  12892. $ref: '#/definitions/app.Response'
  12893. security:
  12894. - ApiKeyAuth: []
  12895. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  12896. tags:
  12897. - 企业风险管理(app)
  12898. /Ermcp/QueryRealtimeExposure:
  12899. get:
  12900. parameters:
  12901. - description: 所属机构ID
  12902. in: query
  12903. name: AreaUserID
  12904. required: true
  12905. type: integer
  12906. produces:
  12907. - application/json
  12908. responses:
  12909. "200":
  12910. description: OK
  12911. schema:
  12912. items:
  12913. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  12914. type: array
  12915. "500":
  12916. description: Internal Server Error
  12917. schema:
  12918. $ref: '#/definitions/app.Response'
  12919. security:
  12920. - ApiKeyAuth: []
  12921. summary: 查询实时敞口
  12922. tags:
  12923. - 企业风险管理(app)
  12924. /Ermcp/QueryRealtimeExposurePosition:
  12925. get:
  12926. parameters:
  12927. - description: 所属机构ID
  12928. in: query
  12929. name: areaUserId
  12930. required: true
  12931. type: integer
  12932. - description: 套保商品ID
  12933. in: query
  12934. name: middleGoodsId
  12935. required: true
  12936. type: integer
  12937. produces:
  12938. - application/json
  12939. responses:
  12940. "200":
  12941. description: OK
  12942. schema:
  12943. items:
  12944. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  12945. type: array
  12946. "500":
  12947. description: Internal Server Error
  12948. schema:
  12949. $ref: '#/definitions/app.Response'
  12950. security:
  12951. - ApiKeyAuth: []
  12952. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  12953. tags:
  12954. - 企业风险管理(app)
  12955. /Ermcp/QuerySpotContract:
  12956. get:
  12957. parameters:
  12958. - description: 用户ID
  12959. in: query
  12960. name: userId
  12961. required: true
  12962. type: integer
  12963. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  12964. in: query
  12965. name: QueryType
  12966. required: true
  12967. type: integer
  12968. produces:
  12969. - application/json
  12970. responses:
  12971. "200":
  12972. description: OK
  12973. schema:
  12974. items:
  12975. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  12976. type: array
  12977. "500":
  12978. description: Internal Server Error
  12979. schema:
  12980. $ref: '#/definitions/app.Response'
  12981. security:
  12982. - ApiKeyAuth: []
  12983. summary: 查询现货合同(对应现货合同菜单)
  12984. tags:
  12985. - 企业风险管理(app)
  12986. /Ermcp/QuerySpotGoodsPrice:
  12987. get:
  12988. parameters:
  12989. - description: 用户ID
  12990. in: query
  12991. name: userid
  12992. required: true
  12993. type: integer
  12994. produces:
  12995. - application/json
  12996. responses:
  12997. "200":
  12998. description: OK
  12999. schema:
  13000. items:
  13001. $ref: '#/definitions/models.ErmcpSpotGoodsPrice'
  13002. type: array
  13003. "500":
  13004. description: Internal Server Error
  13005. schema:
  13006. $ref: '#/definitions/app.Response'
  13007. security:
  13008. - ApiKeyAuth: []
  13009. summary: 查询现货市价(现货市价)
  13010. tags:
  13011. - 企业风险管理(app)
  13012. /Ermcp/QuerySpotGoodsPriceLog:
  13013. get:
  13014. parameters:
  13015. - description: 用户ID
  13016. in: query
  13017. name: userid
  13018. required: true
  13019. type: integer
  13020. - description: 现货商品ID
  13021. in: query
  13022. name: wrstandardid
  13023. required: true
  13024. type: integer
  13025. produces:
  13026. - application/json
  13027. responses:
  13028. "200":
  13029. description: OK
  13030. schema:
  13031. items:
  13032. $ref: '#/definitions/models.ErmcpSpotGoodsPriceLog'
  13033. type: array
  13034. "500":
  13035. description: Internal Server Error
  13036. schema:
  13037. $ref: '#/definitions/app.Response'
  13038. security:
  13039. - ApiKeyAuth: []
  13040. summary: 查询现货市价详情(现货市价/详情)
  13041. tags:
  13042. - 企业风险管理(app)
  13043. /Ermcp/QueryTradeConfigTMP:
  13044. get:
  13045. parameters:
  13046. - description: 所属机构id
  13047. in: query
  13048. name: areauserid
  13049. required: true
  13050. type: integer
  13051. produces:
  13052. - application/json
  13053. responses:
  13054. "200":
  13055. description: OK
  13056. schema:
  13057. items:
  13058. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13059. type: array
  13060. "500":
  13061. description: Internal Server Error
  13062. schema:
  13063. $ref: '#/definitions/app.Response'
  13064. security:
  13065. - ApiKeyAuth: []
  13066. summary: 查询交易模板配置
  13067. tags:
  13068. - 企业风险管理(app)
  13069. /Ermcp/QueryUserInfo:
  13070. get:
  13071. parameters:
  13072. - description: 所属机构用户ID
  13073. in: query
  13074. name: MemberUserID
  13075. required: true
  13076. type: integer
  13077. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13078. in: query
  13079. name: queryType
  13080. required: true
  13081. type: integer
  13082. produces:
  13083. - application/json
  13084. responses:
  13085. "200":
  13086. description: OK
  13087. schema:
  13088. items:
  13089. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13090. type: array
  13091. "500":
  13092. description: Internal Server Error
  13093. schema:
  13094. $ref: '#/definitions/app.Response'
  13095. security:
  13096. - ApiKeyAuth: []
  13097. summary: 查询客户资料
  13098. tags:
  13099. - 企业风险管理(app)
  13100. /Ermcp/QueryWarehouseInfo:
  13101. get:
  13102. parameters:
  13103. - description: 用户ID
  13104. in: query
  13105. name: userid
  13106. required: true
  13107. type: integer
  13108. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13109. in: query
  13110. name: status
  13111. type: string
  13112. produces:
  13113. - application/json
  13114. responses:
  13115. "200":
  13116. description: OK
  13117. schema:
  13118. items:
  13119. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13120. type: array
  13121. "500":
  13122. description: Internal Server Error
  13123. schema:
  13124. $ref: '#/definitions/app.Response'
  13125. security:
  13126. - ApiKeyAuth: []
  13127. summary: 查询仓库信息
  13128. tags:
  13129. - 企业风险管理(app)
  13130. /Ermcp/QueryWrStandard:
  13131. get:
  13132. parameters:
  13133. - description: 所属机构ID
  13134. in: query
  13135. name: userid
  13136. required: true
  13137. type: integer
  13138. - description: 状态 0-停用 1-正常
  13139. in: query
  13140. name: status
  13141. required: true
  13142. type: integer
  13143. produces:
  13144. - application/json
  13145. responses:
  13146. "200":
  13147. description: OK
  13148. schema:
  13149. items:
  13150. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  13151. type: array
  13152. "500":
  13153. description: Internal Server Error
  13154. schema:
  13155. $ref: '#/definitions/app.Response'
  13156. security:
  13157. - ApiKeyAuth: []
  13158. summary: 查询现货商品
  13159. tags:
  13160. - 企业风险管理(app)
  13161. /Ermcp/QueryWrStandardDetail:
  13162. get:
  13163. parameters:
  13164. - description: 所属机构ID
  13165. in: query
  13166. name: userid
  13167. required: true
  13168. type: integer
  13169. - description: 现货商品ID
  13170. in: query
  13171. name: wrstandardid
  13172. type: integer
  13173. - description: 可不填, 1-查询关联交易商品
  13174. in: query
  13175. name: goods
  13176. type: integer
  13177. produces:
  13178. - application/json
  13179. responses:
  13180. "200":
  13181. description: OK
  13182. schema:
  13183. items:
  13184. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  13185. type: array
  13186. "500":
  13187. description: Internal Server Error
  13188. schema:
  13189. $ref: '#/definitions/app.Response'
  13190. security:
  13191. - ApiKeyAuth: []
  13192. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  13193. tags:
  13194. - 企业风险管理(app)
  13195. /Ermcp3/QueryDeliveryGoods:
  13196. get:
  13197. parameters:
  13198. - description: 所属机构id
  13199. in: query
  13200. name: areauserid
  13201. required: true
  13202. type: integer
  13203. - description: 排除已配置的现货商品 1-排除
  13204. in: query
  13205. name: excludecfg
  13206. type: integer
  13207. produces:
  13208. - application/json
  13209. responses:
  13210. "200":
  13211. description: OK
  13212. schema:
  13213. items:
  13214. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13215. type: array
  13216. "500":
  13217. description: Internal Server Error
  13218. schema:
  13219. $ref: '#/definitions/app.Response'
  13220. security:
  13221. - ApiKeyAuth: []
  13222. summary: 查询现货商品
  13223. tags:
  13224. - 企业风险管理v3(app)
  13225. /Ermcp3/QueryDeliveryGoodsDetail:
  13226. get:
  13227. parameters:
  13228. - description: 所属机构id
  13229. in: query
  13230. name: areauserid
  13231. required: true
  13232. type: integer
  13233. - description: 现货商品id
  13234. in: query
  13235. name: deliverygoodsid
  13236. type: integer
  13237. - description: 是否查询关联交易商品 1-查询
  13238. in: query
  13239. name: qrytradegoods
  13240. type: integer
  13241. produces:
  13242. - application/json
  13243. responses:
  13244. "200":
  13245. description: OK
  13246. schema:
  13247. items:
  13248. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail'
  13249. type: array
  13250. "500":
  13251. description: Internal Server Error
  13252. schema:
  13253. $ref: '#/definitions/app.Response'
  13254. security:
  13255. - ApiKeyAuth: []
  13256. summary: 查询现货商品详情
  13257. tags:
  13258. - 企业风险管理v3(app)
  13259. /Erms2/QueryArbitrageStrategy:
  13260. get:
  13261. parameters:
  13262. - description: 账户ID
  13263. in: query
  13264. name: userid
  13265. required: true
  13266. type: integer
  13267. - description: 商品组ID(品种ID)
  13268. in: query
  13269. name: goodsgroupid
  13270. type: string
  13271. produces:
  13272. - application/json
  13273. responses:
  13274. "200":
  13275. description: OK
  13276. schema:
  13277. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  13278. "500":
  13279. description: Internal Server Error
  13280. schema:
  13281. $ref: '#/definitions/app.Response'
  13282. security:
  13283. - ApiKeyAuth: []
  13284. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  13285. tags:
  13286. - 风险管理
  13287. /Erms2/QueryInnerTradeDetail:
  13288. get:
  13289. parameters:
  13290. - description: 资金账户
  13291. in: query
  13292. name: accountid
  13293. required: true
  13294. type: integer
  13295. produces:
  13296. - application/json
  13297. responses:
  13298. "200":
  13299. description: OK
  13300. schema:
  13301. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  13302. "500":
  13303. description: Internal Server Error
  13304. schema:
  13305. $ref: '#/definitions/app.Response'
  13306. security:
  13307. - ApiKeyAuth: []
  13308. summary: 查询内部成交单信息
  13309. tags:
  13310. - 风险管理
  13311. /Erms2/QuerySpotContract:
  13312. get:
  13313. parameters:
  13314. - description: 策略申请ID
  13315. in: query
  13316. name: asapplyid
  13317. required: true
  13318. type: integer
  13319. - description: 现货合同ID
  13320. in: query
  13321. name: spotcontractid
  13322. type: integer
  13323. produces:
  13324. - application/json
  13325. responses:
  13326. "200":
  13327. description: OK
  13328. schema:
  13329. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  13330. "500":
  13331. description: Internal Server Error
  13332. schema:
  13333. $ref: '#/definitions/app.Response'
  13334. security:
  13335. - ApiKeyAuth: []
  13336. summary: 查询现货合同表信息(指定策略ID、未结束的)
  13337. tags:
  13338. - 风险管理
  13339. /Erms3/AddErms2ASApply:
  13340. post:
  13341. parameters:
  13342. - description: 申请参数
  13343. in: body
  13344. name: jsonBody
  13345. required: true
  13346. schema:
  13347. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  13348. produces:
  13349. - application/json
  13350. responses:
  13351. "200":
  13352. description: OK
  13353. schema:
  13354. $ref: '#/definitions/app.Response'
  13355. "500":
  13356. description: Internal Server Error
  13357. schema:
  13358. $ref: '#/definitions/app.Response'
  13359. security:
  13360. - ApiKeyAuth: []
  13361. summary: 新增期现套利业务申请
  13362. tags:
  13363. - 风险管理v3
  13364. /Erms3/AddErms2SpotTradeApply:
  13365. post:
  13366. parameters:
  13367. - description: 申请参数
  13368. in: body
  13369. name: jsonBody
  13370. required: true
  13371. schema:
  13372. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  13373. produces:
  13374. - application/json
  13375. responses:
  13376. "200":
  13377. description: OK
  13378. schema:
  13379. $ref: '#/definitions/app.Response'
  13380. "500":
  13381. description: Internal Server Error
  13382. schema:
  13383. $ref: '#/definitions/app.Response'
  13384. security:
  13385. - ApiKeyAuth: []
  13386. summary: 新增现货贸易业务申请
  13387. tags:
  13388. - 风险管理v3
  13389. /Erms3/AddSpotContractApply:
  13390. post:
  13391. parameters:
  13392. - description: 申请参数
  13393. in: body
  13394. name: jsonBody
  13395. required: true
  13396. schema:
  13397. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  13398. produces:
  13399. - application/json
  13400. responses:
  13401. "200":
  13402. description: OK
  13403. schema:
  13404. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  13405. "500":
  13406. description: Internal Server Error
  13407. schema:
  13408. $ref: '#/definitions/app.Response'
  13409. security:
  13410. - ApiKeyAuth: []
  13411. summary: 新增现货合同申请
  13412. tags:
  13413. - 风险管理v3
  13414. /Erms3/AddUserInfoApply:
  13415. post:
  13416. parameters:
  13417. - description: 用户信息
  13418. in: body
  13419. name: jsonBody
  13420. required: true
  13421. schema:
  13422. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  13423. produces:
  13424. - application/json
  13425. responses:
  13426. "200":
  13427. description: OK
  13428. schema:
  13429. $ref: '#/definitions/app.Response'
  13430. "500":
  13431. description: Internal Server Error
  13432. schema:
  13433. $ref: '#/definitions/app.Response'
  13434. security:
  13435. - ApiKeyAuth: []
  13436. summary: 新增客户申请
  13437. tags:
  13438. - 风险管理v3
  13439. /Erms3/ModifyUserInfoApply:
  13440. post:
  13441. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  13442. int, "userstate": 2 }'
  13443. parameters:
  13444. - description: 用户信息
  13445. in: body
  13446. name: jsonBody
  13447. required: true
  13448. schema:
  13449. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  13450. produces:
  13451. - application/json
  13452. responses:
  13453. "200":
  13454. description: OK
  13455. schema:
  13456. $ref: '#/definitions/app.Response'
  13457. "500":
  13458. description: Internal Server Error
  13459. schema:
  13460. $ref: '#/definitions/app.Response'
  13461. security:
  13462. - ApiKeyAuth: []
  13463. summary: 修改客户申请
  13464. tags:
  13465. - 风险管理v3
  13466. /Erms3/QueryBusinessInfo:
  13467. get:
  13468. parameters:
  13469. - description: 资金账号ID列表,用逗号分隔
  13470. in: query
  13471. name: accountids
  13472. required: true
  13473. type: string
  13474. - description: 状态,0为未结束 1为已结束
  13475. in: query
  13476. name: status
  13477. required: true
  13478. type: integer
  13479. produces:
  13480. - application/json
  13481. responses:
  13482. "200":
  13483. description: OK
  13484. schema:
  13485. items:
  13486. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  13487. type: array
  13488. "500":
  13489. description: Internal Server Error
  13490. schema:
  13491. $ref: '#/definitions/app.Response'
  13492. security:
  13493. - ApiKeyAuth: []
  13494. summary: 查询业务表单数据
  13495. tags:
  13496. - 风险管理v3
  13497. /Erms3/QueryPendingAuditContract:
  13498. get:
  13499. parameters:
  13500. - description: 资金账号ID列表,逗号隔开
  13501. in: query
  13502. name: accountids
  13503. required: true
  13504. type: string
  13505. - description: 合同类型 1-采购 -1-销售
  13506. in: query
  13507. name: contracttype
  13508. required: true
  13509. type: integer
  13510. - description: 合同模式 1-普通 2-回购
  13511. in: query
  13512. name: contractmode
  13513. required: true
  13514. type: integer
  13515. produces:
  13516. - application/json
  13517. responses:
  13518. "200":
  13519. description: OK
  13520. schema:
  13521. items:
  13522. $ref: '#/definitions/erms3.QryAuditContractRsp'
  13523. type: array
  13524. "500":
  13525. description: Internal Server Error
  13526. schema:
  13527. $ref: '#/definitions/app.Response'
  13528. security:
  13529. - ApiKeyAuth: []
  13530. summary: 查询待审核合同
  13531. tags:
  13532. - 风险管理v3
  13533. /Erms3/QueryPendingBusiness:
  13534. get:
  13535. parameters:
  13536. - description: 资金账号ID列表,逗号隔开
  13537. in: query
  13538. name: accountids
  13539. required: true
  13540. type: string
  13541. produces:
  13542. - application/json
  13543. responses:
  13544. "200":
  13545. description: OK
  13546. schema:
  13547. items:
  13548. $ref: '#/definitions/erms3.QryPendingBizRsp'
  13549. type: array
  13550. "500":
  13551. description: Internal Server Error
  13552. schema:
  13553. $ref: '#/definitions/app.Response'
  13554. security:
  13555. - ApiKeyAuth: []
  13556. summary: 查询待审核基差贸易业务
  13557. tags:
  13558. - 风险管理v3
  13559. /Erms3/QuerySpotContractAppleForm:
  13560. get:
  13561. parameters:
  13562. - description: 登录账号
  13563. in: query
  13564. name: loginID
  13565. required: true
  13566. type: integer
  13567. produces:
  13568. - application/json
  13569. responses:
  13570. "200":
  13571. description: OK
  13572. schema:
  13573. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  13574. "500":
  13575. description: Internal Server Error
  13576. schema:
  13577. $ref: '#/definitions/app.Response'
  13578. security:
  13579. - ApiKeyAuth: []
  13580. summary: 查询合同申请表单数据
  13581. tags:
  13582. - 风险管理v3
  13583. /Erms3/QuerySpotContractDetail:
  13584. get:
  13585. parameters:
  13586. - description: 资金账号ID列表,用逗号分隔
  13587. in: query
  13588. name: accountids
  13589. required: true
  13590. type: string
  13591. - description: 合同类型,1为采购合同 -1为销售合同
  13592. in: query
  13593. name: contracttype
  13594. required: true
  13595. type: integer
  13596. - description: 合同模式,1为普通合同 2为回购销售合同
  13597. in: query
  13598. name: contractmode
  13599. required: true
  13600. type: integer
  13601. - description: 状态,0为履约中 1为已完成
  13602. in: query
  13603. name: status
  13604. required: true
  13605. type: integer
  13606. produces:
  13607. - application/json
  13608. responses:
  13609. "200":
  13610. description: OK
  13611. schema:
  13612. items:
  13613. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  13614. type: array
  13615. "500":
  13616. description: Internal Server Error
  13617. schema:
  13618. $ref: '#/definitions/app.Response'
  13619. security:
  13620. - ApiKeyAuth: []
  13621. summary: 查询合同详细信息
  13622. tags:
  13623. - 风险管理v3
  13624. /Erms3/QueryUserInfoApplies:
  13625. get:
  13626. parameters:
  13627. - description: 页码
  13628. in: query
  13629. name: page
  13630. type: integer
  13631. - description: 每页条数
  13632. in: query
  13633. name: pagesize
  13634. type: integer
  13635. - description: 客户名称,支持模糊查询
  13636. in: query
  13637. name: userName
  13638. type: string
  13639. produces:
  13640. - application/json
  13641. responses:
  13642. "200":
  13643. description: OK
  13644. schema:
  13645. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  13646. "500":
  13647. description: Internal Server Error
  13648. schema:
  13649. $ref: '#/definitions/app.Response'
  13650. security:
  13651. - ApiKeyAuth: []
  13652. summary: 客户申请信息查询
  13653. tags:
  13654. - 风险管理v3
  13655. /Erms3/QueryUserInfos:
  13656. get:
  13657. parameters:
  13658. - description: 页码
  13659. in: query
  13660. name: page
  13661. type: integer
  13662. - description: 每页条数
  13663. in: query
  13664. name: pagesize
  13665. type: integer
  13666. - description: 客户名称,支持模糊查询
  13667. in: query
  13668. name: userName
  13669. type: string
  13670. produces:
  13671. - application/json
  13672. responses:
  13673. "200":
  13674. description: OK
  13675. schema:
  13676. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  13677. "500":
  13678. description: Internal Server Error
  13679. schema:
  13680. $ref: '#/definitions/app.Response'
  13681. security:
  13682. - ApiKeyAuth: []
  13683. summary: 客户信息查询
  13684. tags:
  13685. - 风险管理v3
  13686. /HSBY/GetHsbyMyCount:
  13687. get:
  13688. description: 说明: 不包括已完成的数量。
  13689. parameters:
  13690. - description: 资金账户列表,格式:1,2,3
  13691. in: query
  13692. name: accountIDs
  13693. required: true
  13694. type: string
  13695. produces:
  13696. - application/json
  13697. responses:
  13698. "200":
  13699. description: OK
  13700. schema:
  13701. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  13702. "500":
  13703. description: Internal Server Error
  13704. schema:
  13705. $ref: '#/definitions/app.Response'
  13706. security:
  13707. - ApiKeyAuth: []
  13708. summary: 获取我的订单与包裹数量
  13709. tags:
  13710. - 定制【海商报业】
  13711. /HSBY/QueryClientFixedADConfigs:
  13712. get:
  13713. produces:
  13714. - application/json
  13715. responses:
  13716. "200":
  13717. description: OK
  13718. schema:
  13719. $ref: '#/definitions/models.Clientfixedadconfig'
  13720. "500":
  13721. description: Internal Server Error
  13722. schema:
  13723. $ref: '#/definitions/app.Response'
  13724. security:
  13725. - ApiKeyAuth: []
  13726. summary: 获取终端固定广告配置
  13727. tags:
  13728. - 定制【海商报业】
  13729. /HSBY/QueryHsbyBuyMyTradeDetail:
  13730. get:
  13731. parameters:
  13732. - description: 页码
  13733. in: query
  13734. name: page
  13735. type: integer
  13736. - description: 每页条数
  13737. in: query
  13738. name: pagesize
  13739. type: integer
  13740. - description: 资金账户列表,格式:1,2,3
  13741. in: query
  13742. name: accountIDs
  13743. required: true
  13744. type: string
  13745. produces:
  13746. - application/json
  13747. responses:
  13748. "200":
  13749. description: OK
  13750. schema:
  13751. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  13752. "500":
  13753. description: Internal Server Error
  13754. schema:
  13755. $ref: '#/definitions/app.Response'
  13756. security:
  13757. - ApiKeyAuth: []
  13758. summary: 查询"我的订单 - 已完成"单据信息
  13759. tags:
  13760. - 定制【海商报业】
  13761. /HSBY/QueryHsbyGoodsOrderDetails:
  13762. get:
  13763. description: 说明:查询结果已按委托价格和委托时间排序
  13764. parameters:
  13765. - description: 商品ID
  13766. in: query
  13767. name: goodsID
  13768. required: true
  13769. type: integer
  13770. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  13771. in: query
  13772. name: accountIDs
  13773. type: string
  13774. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  13775. in: query
  13776. name: buyOrSell
  13777. type: integer
  13778. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  13779. in: query
  13780. name: price
  13781. type: number
  13782. - description: 档位,不传则默认为3档
  13783. in: query
  13784. name: speed
  13785. type: integer
  13786. produces:
  13787. - application/json
  13788. responses:
  13789. "200":
  13790. description: OK
  13791. schema:
  13792. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  13793. "500":
  13794. description: Internal Server Error
  13795. schema:
  13796. $ref: '#/definitions/app.Response'
  13797. security:
  13798. - ApiKeyAuth: []
  13799. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  13800. tags:
  13801. - 定制【海商报业】
  13802. /HSBY/QueryHsbyListingGoodsDetail:
  13803. get:
  13804. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  13805. parameters:
  13806. - description: 商品ID
  13807. in: query
  13808. name: goodsID
  13809. required: true
  13810. type: integer
  13811. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  13812. in: query
  13813. name: accountID
  13814. type: integer
  13815. produces:
  13816. - application/json
  13817. responses:
  13818. "200":
  13819. description: OK
  13820. schema:
  13821. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  13822. "500":
  13823. description: Internal Server Error
  13824. schema:
  13825. $ref: '#/definitions/app.Response'
  13826. security:
  13827. - ApiKeyAuth: []
  13828. summary: 查询二级市场(挂牌点选)商品信息详情
  13829. tags:
  13830. - 定制【海商报业】
  13831. /HSBY/QueryHsbyMarketGoodsDetail:
  13832. get:
  13833. parameters:
  13834. - description: 委托单号
  13835. in: query
  13836. name: orderID
  13837. required: true
  13838. type: integer
  13839. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  13840. in: query
  13841. name: accountID
  13842. type: integer
  13843. produces:
  13844. - application/json
  13845. responses:
  13846. "200":
  13847. description: OK
  13848. schema:
  13849. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  13850. "500":
  13851. description: Internal Server Error
  13852. schema:
  13853. $ref: '#/definitions/app.Response'
  13854. security:
  13855. - ApiKeyAuth: []
  13856. summary: 查询三级市场(商城)商品信息详情
  13857. tags:
  13858. - 定制【海商报业】
  13859. /HSBY/QueryHsbyMarketGoodses:
  13860. get:
  13861. parameters:
  13862. - description: 页码
  13863. in: query
  13864. name: page
  13865. type: integer
  13866. - description: 每页条数
  13867. in: query
  13868. name: pagesize
  13869. type: integer
  13870. - description: 市场ID列表,格式:1,2,3
  13871. in: query
  13872. name: marketIDs
  13873. required: true
  13874. type: string
  13875. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  13876. in: query
  13877. name: accountID
  13878. required: true
  13879. type: integer
  13880. - description: 类别ID
  13881. in: query
  13882. name: categoryID
  13883. type: integer
  13884. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  13885. in: query
  13886. name: goodsIDs
  13887. type: string
  13888. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  13889. in: query
  13890. name: couponTypeID
  13891. type: integer
  13892. produces:
  13893. - application/json
  13894. responses:
  13895. "200":
  13896. description: OK
  13897. schema:
  13898. $ref: '#/definitions/models.HsbyMarketGoods'
  13899. "500":
  13900. description: Internal Server Error
  13901. schema:
  13902. $ref: '#/definitions/app.Response'
  13903. security:
  13904. - ApiKeyAuth: []
  13905. summary: 查询特卖商品列表(三级商城)
  13906. tags:
  13907. - 定制【海商报业】
  13908. /HSBY/QueryHsbyMarkets:
  13909. get:
  13910. produces:
  13911. - application/json
  13912. responses:
  13913. "200":
  13914. description: OK
  13915. schema:
  13916. $ref: '#/definitions/models.HsbyMarketInfo'
  13917. "500":
  13918. description: Internal Server Error
  13919. schema:
  13920. $ref: '#/definitions/app.Response'
  13921. security:
  13922. - ApiKeyAuth: []
  13923. summary: 查询海商报业相关市场信息
  13924. tags:
  13925. - 定制【海商报业】
  13926. /HSBY/QueryHsbyMyBuyOrderDetails:
  13927. get:
  13928. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  13929. parameters:
  13930. - description: 资金账户列表,格式:1,2,3
  13931. in: query
  13932. name: accountIDs
  13933. required: true
  13934. type: string
  13935. produces:
  13936. - application/json
  13937. responses:
  13938. "200":
  13939. description: OK
  13940. schema:
  13941. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  13942. "500":
  13943. description: Internal Server Error
  13944. schema:
  13945. $ref: '#/definitions/app.Response'
  13946. security:
  13947. - ApiKeyAuth: []
  13948. summary: 查询“我的订单”信息
  13949. tags:
  13950. - 定制【海商报业】
  13951. /HSBY/QueryHsbyMyGoods:
  13952. get:
  13953. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  13954. parameters:
  13955. - description: 资金账户列表,格式:1,2,3
  13956. in: query
  13957. name: accountIDs
  13958. required: true
  13959. type: string
  13960. produces:
  13961. - application/json
  13962. responses:
  13963. "200":
  13964. description: OK
  13965. schema:
  13966. $ref: '#/definitions/models.HsbyMyGoods'
  13967. "500":
  13968. description: Internal Server Error
  13969. schema:
  13970. $ref: '#/definitions/app.Response'
  13971. security:
  13972. - ApiKeyAuth: []
  13973. summary: 查询“我的商品”信息
  13974. tags:
  13975. - 定制【海商报业】
  13976. /HSBY/QueryHsbyMyPackages:
  13977. get:
  13978. parameters:
  13979. - description: 资金账户列表,格式:1,2,3
  13980. in: query
  13981. name: accountIDs
  13982. required: true
  13983. type: string
  13984. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  13985. in: query
  13986. name: takeOrderStatus
  13987. type: integer
  13988. produces:
  13989. - application/json
  13990. responses:
  13991. "200":
  13992. description: OK
  13993. schema:
  13994. $ref: '#/definitions/models.HsbyMyPackage'
  13995. "500":
  13996. description: Internal Server Error
  13997. schema:
  13998. $ref: '#/definitions/app.Response'
  13999. security:
  14000. - ApiKeyAuth: []
  14001. summary: 查询我的包裹信息
  14002. tags:
  14003. - 定制【海商报业】
  14004. /HSBY/QueryHsbyPreGoodsDetail:
  14005. get:
  14006. parameters:
  14007. - description: 商品ID
  14008. in: query
  14009. name: goodsID
  14010. required: true
  14011. type: integer
  14012. - description: 资金账户,主要用于获取预售商品购买上限
  14013. in: query
  14014. name: accountID
  14015. type: integer
  14016. produces:
  14017. - application/json
  14018. responses:
  14019. "200":
  14020. description: OK
  14021. schema:
  14022. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  14023. "500":
  14024. description: Internal Server Error
  14025. schema:
  14026. $ref: '#/definitions/app.Response'
  14027. security:
  14028. - ApiKeyAuth: []
  14029. summary: 查询一级市场(预售)商品信息详情
  14030. tags:
  14031. - 定制【海商报业】
  14032. /HSBY/QueryHsbyPreGoodses:
  14033. get:
  14034. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  14035. parameters:
  14036. - description: 页码
  14037. in: query
  14038. name: page
  14039. type: integer
  14040. - description: 每页条数
  14041. in: query
  14042. name: pagesize
  14043. type: integer
  14044. - description: 市场ID列表,格式:1,2,3
  14045. in: query
  14046. name: marketIDs
  14047. required: true
  14048. type: string
  14049. - description: 目的地(省)ID
  14050. in: query
  14051. name: descProvinceID
  14052. type: integer
  14053. - description: 目的地(市)ID
  14054. in: query
  14055. name: descCityID
  14056. type: integer
  14057. produces:
  14058. - application/json
  14059. responses:
  14060. "200":
  14061. description: OK
  14062. schema:
  14063. $ref: '#/definitions/models.HsbyPreGoods'
  14064. "500":
  14065. description: Internal Server Error
  14066. schema:
  14067. $ref: '#/definitions/app.Response'
  14068. security:
  14069. - ApiKeyAuth: []
  14070. summary: 查询新品上市商品列表(一级市场预售)
  14071. tags:
  14072. - 定制【海商报业】
  14073. /HSBY/QueryHsbySellMyDetails:
  14074. get:
  14075. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  14076. parameters:
  14077. - description: 页码
  14078. in: query
  14079. name: page
  14080. type: integer
  14081. - description: 每页条数
  14082. in: query
  14083. name: pagesize
  14084. type: integer
  14085. - description: 资金账户列表,格式:1,2,3
  14086. in: query
  14087. name: accountIDs
  14088. required: true
  14089. type: string
  14090. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  14091. in: query
  14092. name: orderType
  14093. type: integer
  14094. produces:
  14095. - application/json
  14096. responses:
  14097. "200":
  14098. description: OK
  14099. schema:
  14100. $ref: '#/definitions/models.HsbySellMyDetail'
  14101. "500":
  14102. description: Internal Server Error
  14103. schema:
  14104. $ref: '#/definitions/app.Response'
  14105. security:
  14106. - ApiKeyAuth: []
  14107. summary: 查询"我的闲置"单据信息
  14108. tags:
  14109. - 定制【海商报业】
  14110. /HSBY/QueryHsbyTopGoodses:
  14111. get:
  14112. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  14113. parameters:
  14114. - description: 页码
  14115. in: query
  14116. name: page
  14117. type: integer
  14118. - description: 每页条数
  14119. in: query
  14120. name: pagesize
  14121. type: integer
  14122. - description: 市场ID列表,格式:1,2,3
  14123. in: query
  14124. name: marketIDs
  14125. required: true
  14126. type: string
  14127. - description: 目的地(省)ID
  14128. in: query
  14129. name: descProvinceID
  14130. type: integer
  14131. - description: 目的地(市)ID
  14132. in: query
  14133. name: descCityID
  14134. type: integer
  14135. produces:
  14136. - application/json
  14137. responses:
  14138. "200":
  14139. description: OK
  14140. schema:
  14141. $ref: '#/definitions/models.HsbyTopGoods'
  14142. "500":
  14143. description: Internal Server Error
  14144. schema:
  14145. $ref: '#/definitions/app.Response'
  14146. security:
  14147. - ApiKeyAuth: []
  14148. summary: 查询热卖商品列表(二级市场挂牌点选)
  14149. tags:
  14150. - 定制【海商报业】
  14151. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  14152. get:
  14153. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  14154. parameters:
  14155. - description: 商品ID
  14156. in: query
  14157. name: goodsID
  14158. required: true
  14159. type: integer
  14160. produces:
  14161. - application/json
  14162. responses:
  14163. "200":
  14164. description: OK
  14165. schema:
  14166. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  14167. "500":
  14168. description: Internal Server Error
  14169. schema:
  14170. $ref: '#/definitions/app.Response'
  14171. security:
  14172. - ApiKeyAuth: []
  14173. summary: 查询游客三级市场(商城)商品信息详情
  14174. tags:
  14175. - 定制【海商报业】
  14176. /HSBY/QueryHsbyVisitorMarketGoodses:
  14177. get:
  14178. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  14179. parameters:
  14180. - description: 页码
  14181. in: query
  14182. name: page
  14183. type: integer
  14184. - description: 每页条数
  14185. in: query
  14186. name: pagesize
  14187. type: integer
  14188. - description: 市场ID列表,格式:1,2,3
  14189. in: query
  14190. name: marketIDs
  14191. required: true
  14192. type: string
  14193. - description: 类别ID
  14194. in: query
  14195. name: categoryID
  14196. type: integer
  14197. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  14198. in: query
  14199. name: goodsIDs
  14200. type: string
  14201. produces:
  14202. - application/json
  14203. responses:
  14204. "200":
  14205. description: OK
  14206. schema:
  14207. $ref: '#/definitions/models.HsbyMarketGoods'
  14208. "500":
  14209. description: Internal Server Error
  14210. schema:
  14211. $ref: '#/definitions/app.Response'
  14212. security:
  14213. - ApiKeyAuth: []
  14214. summary: 查询游客特卖商品列表(三级商城)
  14215. tags:
  14216. - 定制【海商报业】
  14217. /HSBY/QueryMyCollectionOrders:
  14218. get:
  14219. parameters:
  14220. - description: 页码
  14221. in: query
  14222. name: page
  14223. type: integer
  14224. - description: 每页条数
  14225. in: query
  14226. name: pagesize
  14227. type: integer
  14228. - description: 资金账户,格式:1,2,3
  14229. in: query
  14230. name: accountIDs
  14231. required: true
  14232. type: string
  14233. produces:
  14234. - application/json
  14235. responses:
  14236. "200":
  14237. description: OK
  14238. schema:
  14239. $ref: '#/definitions/models.HsbySellCollectionOrder'
  14240. "500":
  14241. description: Internal Server Error
  14242. schema:
  14243. $ref: '#/definitions/app.Response'
  14244. security:
  14245. - ApiKeyAuth: []
  14246. summary: 我的闲置中收款信息查询
  14247. tags:
  14248. - 定制【海商报业】
  14249. /HSBY/QueryMyCouponHolds:
  14250. get:
  14251. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  14252. parameters:
  14253. - description: 资金账户列表,格式:1,2,3
  14254. in: query
  14255. name: accountIDs
  14256. required: true
  14257. type: string
  14258. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  14259. in: query
  14260. name: holdStatus
  14261. type: string
  14262. produces:
  14263. - application/json
  14264. responses:
  14265. "200":
  14266. description: OK
  14267. schema:
  14268. $ref: '#/definitions/models.MyCouponHold'
  14269. "500":
  14270. description: Internal Server Error
  14271. schema:
  14272. $ref: '#/definitions/app.Response'
  14273. security:
  14274. - ApiKeyAuth: []
  14275. summary: 我的优惠卷持仓查询
  14276. tags:
  14277. - 定制【海商报业】
  14278. /HSBY/QueryMyCoupons:
  14279. get:
  14280. parameters:
  14281. - description: 资金账户列表,格式:1,2,3
  14282. in: query
  14283. name: accountIDs
  14284. required: true
  14285. type: string
  14286. - description: 商品ID, 一般与sellUserID配套传入
  14287. in: query
  14288. name: goodsID
  14289. type: integer
  14290. - description: 卖方UserID
  14291. in: query
  14292. name: sellUserID
  14293. type: integer
  14294. produces:
  14295. - application/json
  14296. responses:
  14297. "200":
  14298. description: OK
  14299. schema:
  14300. $ref: '#/definitions/models.MyCoupon'
  14301. "500":
  14302. description: Internal Server Error
  14303. schema:
  14304. $ref: '#/definitions/app.Response'
  14305. security:
  14306. - ApiKeyAuth: []
  14307. summary: 我的优惠卷查询
  14308. tags:
  14309. - 定制【海商报业】
  14310. /HSBY/QueryMyPayOrders:
  14311. get:
  14312. parameters:
  14313. - description: 页码
  14314. in: query
  14315. name: page
  14316. type: integer
  14317. - description: 每页条数
  14318. in: query
  14319. name: pagesize
  14320. type: integer
  14321. - description: 资金账户列表,格式:1,2,3
  14322. in: query
  14323. name: accountIDs
  14324. required: true
  14325. type: string
  14326. - description: 买方委托单号
  14327. in: query
  14328. name: buyOrderID
  14329. type: integer
  14330. - description: 卖方委托单号
  14331. in: query
  14332. name: sellOrderID
  14333. type: integer
  14334. produces:
  14335. - application/json
  14336. responses:
  14337. "200":
  14338. description: OK
  14339. schema:
  14340. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  14341. "500":
  14342. description: Internal Server Error
  14343. schema:
  14344. $ref: '#/definitions/app.Response'
  14345. security:
  14346. - ApiKeyAuth: []
  14347. summary: 获取我的订单中待付款信息
  14348. tags:
  14349. - 定制【海商报业】
  14350. /HSBY/QueryMyUsedCoupon:
  14351. get:
  14352. parameters:
  14353. - description: 资金账户列表,格式:1,2,3
  14354. in: query
  14355. name: accountIDs
  14356. required: true
  14357. type: string
  14358. produces:
  14359. - application/json
  14360. responses:
  14361. "200":
  14362. description: OK
  14363. schema:
  14364. $ref: '#/definitions/models.MyUsedCoupon'
  14365. "500":
  14366. description: Internal Server Error
  14367. schema:
  14368. $ref: '#/definitions/app.Response'
  14369. security:
  14370. - ApiKeyAuth: []
  14371. summary: 已使用优惠卷查询
  14372. tags:
  14373. - 定制【海商报业】
  14374. /HSBY/QueryProvincesAndCities:
  14375. get:
  14376. description: 查询结果只包括二级市场商品已关连的省市信息。
  14377. parameters:
  14378. - description: 省ID
  14379. in: query
  14380. name: provinceID
  14381. type: integer
  14382. produces:
  14383. - application/json
  14384. responses:
  14385. "200":
  14386. description: OK
  14387. schema:
  14388. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  14389. "500":
  14390. description: Internal Server Error
  14391. schema:
  14392. $ref: '#/definitions/app.Response'
  14393. security:
  14394. - ApiKeyAuth: []
  14395. summary: 查询省市信息(不包括区)
  14396. tags:
  14397. - 定制【海商报业】
  14398. /HSBY/SetHsbyMyPackagesStatus:
  14399. post:
  14400. parameters:
  14401. - description: 提货单号
  14402. in: query
  14403. name: takeOrderID
  14404. required: true
  14405. type: string
  14406. - description: 资金账号
  14407. in: query
  14408. name: accountID
  14409. required: true
  14410. type: integer
  14411. produces:
  14412. - application/json
  14413. responses:
  14414. "200":
  14415. description: OK
  14416. schema:
  14417. $ref: '#/definitions/app.Response'
  14418. "500":
  14419. description: Internal Server Error
  14420. schema:
  14421. $ref: '#/definitions/app.Response'
  14422. security:
  14423. - ApiKeyAuth: []
  14424. summary: 设置我的包裹已收货状态
  14425. tags:
  14426. - 定制【海商报业】
  14427. /Market/QueryGoodsesByLoginID:
  14428. get:
  14429. parameters:
  14430. - description: 登录账号
  14431. in: query
  14432. name: loginID
  14433. required: true
  14434. type: integer
  14435. - description: 市场ID列表,格式:1,2,3
  14436. in: query
  14437. name: marketIDs
  14438. type: string
  14439. produces:
  14440. - application/json
  14441. responses:
  14442. "200":
  14443. description: OK
  14444. schema:
  14445. $ref: '#/definitions/models.Goods'
  14446. "500":
  14447. description: Internal Server Error
  14448. schema:
  14449. $ref: '#/definitions/app.Response'
  14450. security:
  14451. - ApiKeyAuth: []
  14452. summary: 获取登录账号有权限的商品信息
  14453. tags:
  14454. - 通用市场
  14455. /Market/QueryMarketRun:
  14456. get:
  14457. parameters:
  14458. - description: 市场ID,不传返回所有
  14459. in: query
  14460. name: marketID
  14461. type: integer
  14462. produces:
  14463. - application/json
  14464. responses:
  14465. "200":
  14466. description: OK
  14467. schema:
  14468. $ref: '#/definitions/models.Marketrun'
  14469. "500":
  14470. description: Internal Server Error
  14471. schema:
  14472. $ref: '#/definitions/app.Response'
  14473. security:
  14474. - ApiKeyAuth: []
  14475. summary: 查询市场运行信息
  14476. tags:
  14477. - 通用市场
  14478. /Market/QueryMarketsByLoginID:
  14479. get:
  14480. parameters:
  14481. - description: 登录账号
  14482. in: query
  14483. name: loginID
  14484. required: true
  14485. type: integer
  14486. produces:
  14487. - application/json
  14488. responses:
  14489. "200":
  14490. description: OK
  14491. schema:
  14492. $ref: '#/definitions/models.Market'
  14493. "500":
  14494. description: Internal Server Error
  14495. schema:
  14496. $ref: '#/definitions/app.Response'
  14497. security:
  14498. - ApiKeyAuth: []
  14499. summary: 获取登录账号有权限的市场信息
  14500. tags:
  14501. - 通用市场
  14502. /Order/QueryHisTradeDetail:
  14503. get:
  14504. parameters:
  14505. - description: 资金账户 - 格式:1,2,3
  14506. in: query
  14507. name: accountID
  14508. required: true
  14509. type: string
  14510. - description: 成交单号
  14511. in: query
  14512. name: tradeID
  14513. type: integer
  14514. - description: 委托单号
  14515. in: query
  14516. name: orderID
  14517. type: integer
  14518. - description: 交易模式 - 格式:1,2,3
  14519. in: query
  14520. name: tradeMode
  14521. type: string
  14522. - description: 委托单据类型
  14523. in: query
  14524. name: buildType
  14525. type: integer
  14526. - description: 成交类别 - 格式:1,2,3
  14527. in: query
  14528. name: tradeType
  14529. type: string
  14530. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14531. in: query
  14532. name: startDate
  14533. type: string
  14534. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14535. in: query
  14536. name: endDate
  14537. type: string
  14538. produces:
  14539. - application/json
  14540. responses:
  14541. "200":
  14542. description: OK
  14543. schema:
  14544. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  14545. "500":
  14546. description: Internal Server Error
  14547. schema:
  14548. $ref: '#/definitions/app.Response'
  14549. security:
  14550. - ApiKeyAuth: []
  14551. summary: 历史成交单查询(合约市场)
  14552. tags:
  14553. - 通用单据
  14554. /Order/QueryHisTradeOrderDetail:
  14555. get:
  14556. parameters:
  14557. - description: 资金账户 - 格式:1,2,3
  14558. in: query
  14559. name: accountID
  14560. required: true
  14561. type: string
  14562. - description: 交易模式 - 格式:1,2,3
  14563. in: query
  14564. name: tradeMode
  14565. type: string
  14566. - description: 委托状态 - 格式:1,2,3
  14567. in: query
  14568. name: orderStatus
  14569. type: string
  14570. - description: 委托单号
  14571. in: query
  14572. name: orderID
  14573. type: integer
  14574. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  14575. in: query
  14576. name: startDate
  14577. type: string
  14578. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  14579. in: query
  14580. name: endDate
  14581. type: string
  14582. produces:
  14583. - application/json
  14584. responses:
  14585. "200":
  14586. description: OK
  14587. schema:
  14588. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  14589. "500":
  14590. description: Internal Server Error
  14591. schema:
  14592. $ref: '#/definitions/app.Response'
  14593. security:
  14594. - ApiKeyAuth: []
  14595. summary: 历史委托单查询请求(合约市场)
  14596. tags:
  14597. - 通用单据
  14598. /Order/QueryTradeDetail:
  14599. get:
  14600. parameters:
  14601. - description: 资金账户 - 格式:1,2,3
  14602. in: query
  14603. name: accountID
  14604. required: true
  14605. type: string
  14606. - description: 成交单号
  14607. in: query
  14608. name: tradeID
  14609. type: integer
  14610. - description: 委托单号
  14611. in: query
  14612. name: orderID
  14613. type: integer
  14614. - description: 交易模式 - 格式:1,2,3
  14615. in: query
  14616. name: tradeMode
  14617. type: string
  14618. - description: 委托单据类型
  14619. in: query
  14620. name: buildType
  14621. type: integer
  14622. - description: 成交类别 - 格式:1,2,3
  14623. in: query
  14624. name: tradeType
  14625. type: string
  14626. produces:
  14627. - application/json
  14628. responses:
  14629. "200":
  14630. description: OK
  14631. schema:
  14632. $ref: '#/definitions/order.QueryTradeDetailRsp'
  14633. "500":
  14634. description: Internal Server Error
  14635. schema:
  14636. $ref: '#/definitions/app.Response'
  14637. security:
  14638. - ApiKeyAuth: []
  14639. summary: 成交单查询(合约市场)
  14640. tags:
  14641. - 通用单据
  14642. /Order/QueryTradeOrderDetail:
  14643. get:
  14644. parameters:
  14645. - description: 资金账户 - 格式:1,2,3
  14646. in: query
  14647. name: accountID
  14648. required: true
  14649. type: string
  14650. - description: 交易模式 - 格式:1,2,3
  14651. in: query
  14652. name: tradeMode
  14653. type: string
  14654. - description: 委托状态 - 格式:1,2,3
  14655. in: query
  14656. name: orderStatus
  14657. type: string
  14658. - description: 委托单号
  14659. in: query
  14660. name: orderID
  14661. type: integer
  14662. produces:
  14663. - application/json
  14664. responses:
  14665. "200":
  14666. description: OK
  14667. schema:
  14668. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  14669. "500":
  14670. description: Internal Server Error
  14671. schema:
  14672. $ref: '#/definitions/app.Response'
  14673. security:
  14674. - ApiKeyAuth: []
  14675. summary: 委托单查询请求(合约市场)
  14676. tags:
  14677. - 通用单据
  14678. /Order/QueryTradePosition:
  14679. get:
  14680. parameters:
  14681. - description: 资金账户 - 格式:1,2,3
  14682. in: query
  14683. name: accountID
  14684. required: true
  14685. type: string
  14686. - description: 交易模式 - 格式:1,2,3
  14687. in: query
  14688. name: tradeMode
  14689. type: string
  14690. produces:
  14691. - application/json
  14692. responses:
  14693. "200":
  14694. description: OK
  14695. schema:
  14696. $ref: '#/definitions/order.QueryTradePositionRsp'
  14697. "500":
  14698. description: Internal Server Error
  14699. schema:
  14700. $ref: '#/definitions/app.Response'
  14701. security:
  14702. - ApiKeyAuth: []
  14703. summary: 持仓汇总查询(合约市场)
  14704. tags:
  14705. - 通用单据
  14706. /Quote/QueryHistoryDatas:
  14707. get:
  14708. parameters:
  14709. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  14710. 日线'
  14711. in: query
  14712. name: cycleType
  14713. required: true
  14714. type: integer
  14715. - description: 商品代码
  14716. in: query
  14717. name: goodsCode
  14718. required: true
  14719. type: string
  14720. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14721. in: query
  14722. name: startTime
  14723. type: string
  14724. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14725. in: query
  14726. name: endTime
  14727. type: string
  14728. - description: 条数
  14729. in: query
  14730. name: count
  14731. type: integer
  14732. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14733. in: query
  14734. name: isAsc
  14735. type: boolean
  14736. produces:
  14737. - application/json
  14738. responses:
  14739. "200":
  14740. description: OK
  14741. schema:
  14742. $ref: '#/definitions/quote.HistoryData'
  14743. "500":
  14744. description: Internal Server Error
  14745. schema:
  14746. $ref: '#/definitions/app.Response'
  14747. security:
  14748. - ApiKeyAuth: []
  14749. summary: 查询行情历史数据
  14750. tags:
  14751. - 行情服务
  14752. /Quote/QueryHistoryTikDatas:
  14753. get:
  14754. parameters:
  14755. - description: 商品代码
  14756. in: query
  14757. name: goodsCode
  14758. required: true
  14759. type: string
  14760. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  14761. in: query
  14762. name: startTime
  14763. type: string
  14764. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  14765. in: query
  14766. name: endTime
  14767. type: string
  14768. - description: 条数
  14769. in: query
  14770. name: count
  14771. type: integer
  14772. - description: 是否按时间顺序排序(默认为时间倒序排序)
  14773. in: query
  14774. name: isAsc
  14775. type: boolean
  14776. produces:
  14777. - application/json
  14778. responses:
  14779. "200":
  14780. description: OK
  14781. schema:
  14782. $ref: '#/definitions/quote.HistoryTikData'
  14783. "500":
  14784. description: Internal Server Error
  14785. schema:
  14786. $ref: '#/definitions/app.Response'
  14787. security:
  14788. - ApiKeyAuth: []
  14789. summary: 查询行情Tik数据
  14790. tags:
  14791. - 行情服务
  14792. /Quote/QueryQuoteDay:
  14793. get:
  14794. parameters:
  14795. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  14796. in: query
  14797. name: goodsCodes
  14798. required: true
  14799. type: string
  14800. produces:
  14801. - application/json
  14802. responses:
  14803. "200":
  14804. description: OK
  14805. schema:
  14806. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  14807. "500":
  14808. description: Internal Server Error
  14809. schema:
  14810. $ref: '#/definitions/app.Response'
  14811. security:
  14812. - ApiKeyAuth: []
  14813. summary: 获取商品盘面信息
  14814. tags:
  14815. - 行情服务
  14816. /Quote/QueryTSData:
  14817. get:
  14818. parameters:
  14819. - description: 商品代码
  14820. in: query
  14821. name: goodsCode
  14822. required: true
  14823. type: string
  14824. produces:
  14825. - application/json
  14826. responses:
  14827. "200":
  14828. description: OK
  14829. schema:
  14830. $ref: '#/definitions/quote.QueryTSDataRsp'
  14831. "500":
  14832. description: Internal Server Error
  14833. schema:
  14834. $ref: '#/definitions/app.Response'
  14835. security:
  14836. - ApiKeyAuth: []
  14837. summary: 分时图数据查询
  14838. tags:
  14839. - 行情服务
  14840. /SZDZ/QueryConvertConfig:
  14841. get:
  14842. parameters:
  14843. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  14844. 6:交易转花生米(不设置)
  14845. in: query
  14846. name: convertType
  14847. type: integer
  14848. - description: 外部商品代码[JD\PD]
  14849. in: query
  14850. name: outerGoodsCode
  14851. type: string
  14852. - description: 内部商品ID列表[交易],格式:1,2,3
  14853. in: query
  14854. name: innerGoodsIDs
  14855. type: string
  14856. produces:
  14857. - application/json
  14858. responses:
  14859. "200":
  14860. description: OK
  14861. schema:
  14862. $ref: '#/definitions/models.Szdz3convertconfig'
  14863. "500":
  14864. description: Internal Server Error
  14865. schema:
  14866. $ref: '#/definitions/app.Response'
  14867. security:
  14868. - ApiKeyAuth: []
  14869. summary: 查询交易系统转换设置
  14870. tags:
  14871. - 定制【尚志大宗】
  14872. /SZDZ/QueryConvertLog:
  14873. get:
  14874. parameters:
  14875. - description: 资金账户 - 格式:1,2,3
  14876. in: query
  14877. name: accountID
  14878. required: true
  14879. type: string
  14880. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14881. in: query
  14882. name: startDate
  14883. type: string
  14884. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  14885. in: query
  14886. name: endDate
  14887. type: string
  14888. produces:
  14889. - application/json
  14890. responses:
  14891. "200":
  14892. description: OK
  14893. schema:
  14894. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  14895. "500":
  14896. description: Internal Server Error
  14897. schema:
  14898. $ref: '#/definitions/app.Response'
  14899. security:
  14900. - ApiKeyAuth: []
  14901. summary: 交易系统转换流水查询
  14902. tags:
  14903. - 定制【尚志大宗】
  14904. /SZDZ/QueryGoodsPickup:
  14905. get:
  14906. parameters:
  14907. - description: 资金账户 - 格式:1,2,3
  14908. in: query
  14909. name: accountID
  14910. required: true
  14911. type: string
  14912. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  14913. in: query
  14914. name: takeOrderStatus
  14915. type: integer
  14916. produces:
  14917. - application/json
  14918. responses:
  14919. "200":
  14920. description: OK
  14921. schema:
  14922. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  14923. "500":
  14924. description: Internal Server Error
  14925. schema:
  14926. $ref: '#/definitions/app.Response'
  14927. security:
  14928. - ApiKeyAuth: []
  14929. summary: 商品提货单查询
  14930. tags:
  14931. - 定制【尚志大宗】
  14932. /SZDZ/QueryRecieptOrder:
  14933. get:
  14934. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  14935. parameters:
  14936. - description: 页码
  14937. in: query
  14938. name: page
  14939. type: integer
  14940. - description: 每页条数
  14941. in: query
  14942. name: pagesize
  14943. type: integer
  14944. - description: 商品ID
  14945. in: query
  14946. name: goodsID
  14947. required: true
  14948. type: integer
  14949. - description: 所属账户名称
  14950. in: query
  14951. name: accountName
  14952. type: string
  14953. - description: 市场ID
  14954. in: query
  14955. name: marketID
  14956. type: integer
  14957. - description: 方向 - 0:买 1:卖
  14958. in: query
  14959. name: buyorsell
  14960. required: true
  14961. type: integer
  14962. produces:
  14963. - application/json
  14964. responses:
  14965. "200":
  14966. description: OK
  14967. schema:
  14968. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  14969. "500":
  14970. description: Internal Server Error
  14971. schema:
  14972. $ref: '#/definitions/app.Response'
  14973. security:
  14974. - ApiKeyAuth: []
  14975. summary: 点选挂牌委托单据查询(摘牌大厅)
  14976. tags:
  14977. - 定制【尚志大宗】
  14978. /SZDZ/QuerySZDZTradePosition:
  14979. get:
  14980. parameters:
  14981. - description: 资金账户
  14982. in: query
  14983. name: accountID
  14984. required: true
  14985. type: integer
  14986. produces:
  14987. - application/json
  14988. responses:
  14989. "200":
  14990. description: OK
  14991. schema:
  14992. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  14993. "500":
  14994. description: Internal Server Error
  14995. schema:
  14996. $ref: '#/definitions/app.Response'
  14997. security:
  14998. - ApiKeyAuth: []
  14999. summary: 持仓汇总查询(尚志大宗)
  15000. tags:
  15001. - 定制【尚志大宗】
  15002. /SZDZ/SearchWhite:
  15003. get:
  15004. parameters:
  15005. - description: 用户ID
  15006. in: query
  15007. name: userID
  15008. required: true
  15009. type: integer
  15010. produces:
  15011. - application/json
  15012. responses:
  15013. "200":
  15014. description: OK
  15015. schema:
  15016. $ref: '#/definitions/models.Szdz3searchwhitelist'
  15017. "500":
  15018. description: Internal Server Error
  15019. schema:
  15020. $ref: '#/definitions/app.Response'
  15021. security:
  15022. - ApiKeyAuth: []
  15023. summary: 搜索白名单
  15024. tags:
  15025. - 定制【尚志大宗】
  15026. /Search/SearchGoodses:
  15027. get:
  15028. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  15029. parameters:
  15030. - description: 检索内容
  15031. in: query
  15032. name: content
  15033. required: true
  15034. type: string
  15035. - description: 交易模式,格式:1,2,3
  15036. in: query
  15037. name: tradeModes
  15038. type: string
  15039. produces:
  15040. - application/json
  15041. responses:
  15042. "200":
  15043. description: OK
  15044. schema:
  15045. $ref: '#/definitions/models.SearchGoods'
  15046. "500":
  15047. description: Internal Server Error
  15048. schema:
  15049. $ref: '#/definitions/app.Response'
  15050. summary: 检索商品信息
  15051. tags:
  15052. - 检索服务
  15053. /TaAccount/GetTaAccounts:
  15054. get:
  15055. parameters:
  15056. - description: 登录账户
  15057. in: query
  15058. name: loginID
  15059. required: true
  15060. type: integer
  15061. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  15062. in: query
  15063. name: taAccountType
  15064. type: integer
  15065. produces:
  15066. - application/json
  15067. responses:
  15068. "200":
  15069. description: OK
  15070. schema:
  15071. $ref: '#/definitions/models.Taaccount'
  15072. "500":
  15073. description: Internal Server Error
  15074. schema:
  15075. $ref: '#/definitions/app.Response'
  15076. security:
  15077. - ApiKeyAuth: []
  15078. summary: 获取资金账户信息
  15079. tags:
  15080. - 资金账户
  15081. /TaAccount/QueryAmountLog:
  15082. get:
  15083. parameters:
  15084. - description: 页码
  15085. in: query
  15086. name: page
  15087. type: integer
  15088. - description: 每页条数
  15089. in: query
  15090. name: pagesize
  15091. type: integer
  15092. - description: 资金账户 - 格式:1,2,3
  15093. in: query
  15094. name: accountID
  15095. required: true
  15096. type: string
  15097. - description: 资金操作类型 - 格式:1,2,3
  15098. in: query
  15099. name: OperateType
  15100. type: string
  15101. produces:
  15102. - application/json
  15103. responses:
  15104. "200":
  15105. description: OK
  15106. schema:
  15107. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  15108. "500":
  15109. description: Internal Server Error
  15110. schema:
  15111. $ref: '#/definitions/app.Response'
  15112. security:
  15113. - ApiKeyAuth: []
  15114. summary: 资金流水查询(当前)
  15115. tags:
  15116. - 资金账户
  15117. /TaAccount/QueryHisAmountLog:
  15118. get:
  15119. parameters:
  15120. - description: 页码
  15121. in: query
  15122. name: page
  15123. type: integer
  15124. - description: 每页条数
  15125. in: query
  15126. name: pagesize
  15127. type: integer
  15128. - description: 资金账户 - 格式:1,2,3
  15129. in: query
  15130. name: accountID
  15131. required: true
  15132. type: string
  15133. - description: 资金操作类型 - 格式:1,2,3
  15134. in: query
  15135. name: OperateType
  15136. type: string
  15137. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15138. in: query
  15139. name: startDate
  15140. type: string
  15141. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15142. in: query
  15143. name: endDate
  15144. type: string
  15145. produces:
  15146. - application/json
  15147. responses:
  15148. "200":
  15149. description: OK
  15150. schema:
  15151. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  15152. "500":
  15153. description: Internal Server Error
  15154. schema:
  15155. $ref: '#/definitions/app.Response'
  15156. security:
  15157. - ApiKeyAuth: []
  15158. summary: 资金流水查询(历史)
  15159. tags:
  15160. - 资金账户
  15161. /Trade/QueryRecieptOrder:
  15162. get:
  15163. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  15164. parameters:
  15165. - description: 页码
  15166. in: query
  15167. name: page
  15168. type: integer
  15169. - description: 每页条数
  15170. in: query
  15171. name: pagesize
  15172. type: integer
  15173. - description: 商品ID
  15174. in: query
  15175. name: goodsID
  15176. required: true
  15177. type: integer
  15178. - description: 所属账户名称
  15179. in: query
  15180. name: accountName
  15181. type: string
  15182. - description: 市场ID
  15183. in: query
  15184. name: marketID
  15185. type: integer
  15186. - description: 方向 - 0:买 1:卖
  15187. in: query
  15188. name: buyorsell
  15189. required: true
  15190. type: integer
  15191. produces:
  15192. - application/json
  15193. responses:
  15194. "200":
  15195. description: OK
  15196. schema:
  15197. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  15198. "500":
  15199. description: Internal Server Error
  15200. schema:
  15201. $ref: '#/definitions/app.Response'
  15202. security:
  15203. - ApiKeyAuth: []
  15204. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  15205. tags:
  15206. - 通用交易
  15207. /User/AddMessageBoard:
  15208. post:
  15209. parameters:
  15210. - description: 用户ID
  15211. in: query
  15212. name: userID
  15213. required: true
  15214. type: integer
  15215. - description: 留言信息
  15216. in: query
  15217. name: message
  15218. required: true
  15219. type: string
  15220. - description: 联系电话
  15221. in: query
  15222. name: contactNum
  15223. required: true
  15224. type: string
  15225. produces:
  15226. - application/json
  15227. responses:
  15228. "200":
  15229. description: OK
  15230. schema:
  15231. $ref: '#/definitions/app.Response'
  15232. "500":
  15233. description: Internal Server Error
  15234. schema:
  15235. $ref: '#/definitions/app.Response'
  15236. security:
  15237. - ApiKeyAuth: []
  15238. summary: 添加用户留言板信息
  15239. tags:
  15240. - 用户信息
  15241. /User/AddUserFavoriteGoods:
  15242. post:
  15243. parameters:
  15244. - description: 用户ID
  15245. in: query
  15246. name: userID
  15247. required: true
  15248. type: integer
  15249. - description: 商品ID
  15250. in: query
  15251. name: goodsID
  15252. required: true
  15253. type: integer
  15254. produces:
  15255. - application/json
  15256. responses:
  15257. "200":
  15258. description: OK
  15259. schema:
  15260. $ref: '#/definitions/app.Response'
  15261. "500":
  15262. description: Internal Server Error
  15263. schema:
  15264. $ref: '#/definitions/app.Response'
  15265. security:
  15266. - ApiKeyAuth: []
  15267. summary: 添加用户商品收藏信息
  15268. tags:
  15269. - 用户信息
  15270. /User/GetLoginID:
  15271. get:
  15272. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  15273. parameters:
  15274. - description: 登录代码
  15275. in: query
  15276. name: username
  15277. required: true
  15278. type: string
  15279. produces:
  15280. - application/json
  15281. responses:
  15282. "200":
  15283. description: OK
  15284. schema:
  15285. $ref: '#/definitions/app.Response'
  15286. "500":
  15287. description: Internal Server Error
  15288. schema:
  15289. $ref: '#/definitions/app.Response'
  15290. summary: 获取登录ID
  15291. tags:
  15292. - 用户信息
  15293. /User/GetUserAccount:
  15294. get:
  15295. parameters:
  15296. - description: 用户ID
  15297. in: query
  15298. name: userID
  15299. required: true
  15300. type: integer
  15301. produces:
  15302. - application/json
  15303. responses:
  15304. "200":
  15305. description: OK
  15306. schema:
  15307. $ref: '#/definitions/models.Useraccount'
  15308. "500":
  15309. description: Internal Server Error
  15310. schema:
  15311. $ref: '#/definitions/app.Response'
  15312. security:
  15313. - ApiKeyAuth: []
  15314. summary: 获取用户账号信息
  15315. tags:
  15316. - 用户信息
  15317. /User/GetUserAuthStatus:
  15318. get:
  15319. parameters:
  15320. - description: 用户ID
  15321. in: query
  15322. name: userID
  15323. required: true
  15324. type: integer
  15325. produces:
  15326. - application/json
  15327. responses:
  15328. "200":
  15329. description: OK
  15330. schema:
  15331. $ref: '#/definitions/app.Response'
  15332. "500":
  15333. description: Internal Server Error
  15334. schema:
  15335. $ref: '#/definitions/app.Response'
  15336. security:
  15337. - ApiKeyAuth: []
  15338. summary: 获取用户实名认证状态
  15339. tags:
  15340. - 用户信息
  15341. /User/LoginQuery:
  15342. get:
  15343. parameters:
  15344. - description: 登录账号
  15345. in: query
  15346. name: loginID
  15347. required: true
  15348. type: integer
  15349. produces:
  15350. - application/json
  15351. responses:
  15352. "200":
  15353. description: OK
  15354. schema:
  15355. $ref: '#/definitions/user.LoginQueryRsp'
  15356. "500":
  15357. description: Internal Server Error
  15358. schema:
  15359. $ref: '#/definitions/app.Response'
  15360. security:
  15361. - ApiKeyAuth: []
  15362. summary: 账户登录后信息查询
  15363. tags:
  15364. - 用户信息
  15365. /User/QueryMessageBoard:
  15366. get:
  15367. parameters:
  15368. - description: 用户ID
  15369. in: query
  15370. name: userID
  15371. required: true
  15372. type: integer
  15373. produces:
  15374. - application/json
  15375. responses:
  15376. "200":
  15377. description: OK
  15378. schema:
  15379. $ref: '#/definitions/models.Messageboard'
  15380. "500":
  15381. description: Internal Server Error
  15382. schema:
  15383. $ref: '#/definitions/app.Response'
  15384. security:
  15385. - ApiKeyAuth: []
  15386. summary: 获取用户留言板信息
  15387. tags:
  15388. - 用户信息
  15389. /User/QueryUserFavoriteGoodses:
  15390. get:
  15391. parameters:
  15392. - description: 用户ID
  15393. in: query
  15394. name: userID
  15395. required: true
  15396. type: integer
  15397. produces:
  15398. - application/json
  15399. responses:
  15400. "200":
  15401. description: OK
  15402. schema:
  15403. $ref: '#/definitions/models.Userfavoritegoods'
  15404. "500":
  15405. description: Internal Server Error
  15406. schema:
  15407. $ref: '#/definitions/app.Response'
  15408. security:
  15409. - ApiKeyAuth: []
  15410. summary: 获取用户商品收藏信息
  15411. tags:
  15412. - 用户信息
  15413. /User/QueryUserInfo:
  15414. get:
  15415. parameters:
  15416. - description: 用户ID
  15417. in: query
  15418. name: userID
  15419. required: true
  15420. type: integer
  15421. - description: 是否解密
  15422. in: query
  15423. name: isDecrypt
  15424. type: boolean
  15425. produces:
  15426. - application/json
  15427. responses:
  15428. "200":
  15429. description: OK
  15430. schema:
  15431. $ref: '#/definitions/models.Userinfo'
  15432. "500":
  15433. description: Internal Server Error
  15434. schema:
  15435. $ref: '#/definitions/app.Response'
  15436. security:
  15437. - ApiKeyAuth: []
  15438. summary: 获取用户信息
  15439. tags:
  15440. - 用户信息
  15441. /User/QueryUserReferNum:
  15442. get:
  15443. parameters:
  15444. - description: 用户ID
  15445. in: query
  15446. name: userID
  15447. required: true
  15448. type: integer
  15449. produces:
  15450. - application/json
  15451. responses:
  15452. "200":
  15453. description: OK
  15454. schema:
  15455. $ref: '#/definitions/app.Response'
  15456. "500":
  15457. description: Internal Server Error
  15458. schema:
  15459. $ref: '#/definitions/app.Response'
  15460. summary: 获取用户邀请码
  15461. tags:
  15462. - 用户信息
  15463. /User/RemoveUserFavoriteGoods:
  15464. post:
  15465. parameters:
  15466. - description: 用户ID
  15467. in: query
  15468. name: userID
  15469. required: true
  15470. type: integer
  15471. - description: 商品ID
  15472. in: query
  15473. name: goodsID
  15474. required: true
  15475. type: integer
  15476. produces:
  15477. - application/json
  15478. responses:
  15479. "200":
  15480. description: OK
  15481. schema:
  15482. $ref: '#/definitions/app.Response'
  15483. "500":
  15484. description: Internal Server Error
  15485. schema:
  15486. $ref: '#/definitions/app.Response'
  15487. security:
  15488. - ApiKeyAuth: []
  15489. summary: 移除用户商品收藏信息
  15490. tags:
  15491. - 用户信息
  15492. /User/UpdateUserAccountStatus:
  15493. post:
  15494. parameters:
  15495. - description: 用户ID
  15496. in: query
  15497. name: userID
  15498. required: true
  15499. type: integer
  15500. - description: 账户状态 - 4:正常 6:注销(停用)
  15501. in: query
  15502. name: accountStatus
  15503. required: true
  15504. type: integer
  15505. produces:
  15506. - application/json
  15507. responses:
  15508. "200":
  15509. description: OK
  15510. schema:
  15511. $ref: '#/definitions/app.Response'
  15512. "500":
  15513. description: Internal Server Error
  15514. schema:
  15515. $ref: '#/definitions/app.Response'
  15516. security:
  15517. - ApiKeyAuth: []
  15518. summary: 更新用户状态
  15519. tags:
  15520. - 用户信息
  15521. /WR/GetWRCategoryInfo:
  15522. get:
  15523. produces:
  15524. - application/json
  15525. responses:
  15526. "200":
  15527. description: OK
  15528. schema:
  15529. $ref: '#/definitions/models.WRCategoryTree'
  15530. "500":
  15531. description: Internal Server Error
  15532. schema:
  15533. $ref: '#/definitions/app.Response'
  15534. summary: 获取现货分类信息
  15535. tags:
  15536. - 仓单服务
  15537. /WRTrade/GetAllDeliveryGoods:
  15538. get:
  15539. produces:
  15540. - application/json
  15541. - application/json
  15542. responses:
  15543. "200":
  15544. description: OK
  15545. schema:
  15546. $ref: '#/definitions/app.Response'
  15547. "500":
  15548. description: Internal Server Error
  15549. schema:
  15550. $ref: '#/definitions/app.Response'
  15551. security:
  15552. - ApiKeyAuth: []
  15553. - ApiKeyAuth: []
  15554. summary: 获取带仓单分类的种类信息
  15555. tags:
  15556. - 仓单贸易
  15557. - 仓单贸易
  15558. securityDefinitions:
  15559. ApiKeyAuth:
  15560. in: header
  15561. name: Authorization
  15562. type: apiKey
  15563. swagger: "2.0"