swagger.yaml 463 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808
  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.QryAvalidGPRsp:
  935. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  936. ermcp.QryBusinessDjRsp:
  937. properties:
  938. amount:
  939. description: 点价金额=(点价价格+升贴水)*点价数量
  940. type: number
  941. applyid:
  942. description: 申请人
  943. type: string
  944. applyname:
  945. description: 申请人名称
  946. type: string
  947. applystatus:
  948. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  949. type: integer
  950. applytime:
  951. description: 申请时间
  952. type: string
  953. attachurl:
  954. description: 附件
  955. type: string
  956. auditid:
  957. description: 审核人ID
  958. type: string
  959. auditname:
  960. description: 审核人名称
  961. type: string
  962. audittime:
  963. description: 审核时间
  964. type: string
  965. buyusername:
  966. description: 采购方名称
  967. type: string
  968. contractno:
  969. description: 合同编号
  970. type: string
  971. contractstatus:
  972. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  973. type: integer
  974. contracttype:
  975. description: 现货合同类型 - 1:采购 -1:销售
  976. type: integer
  977. deliverygoodscode:
  978. description: 现货品种代码
  979. type: string
  980. deliverygoodsid:
  981. description: 现货商品ID
  982. type: integer
  983. deliverygoodsname:
  984. description: 现货品种名称
  985. type: string
  986. enumdicname:
  987. description: 单位名称
  988. type: string
  989. goodscode:
  990. description: 点价合约
  991. type: string
  992. goodsname:
  993. description: 商品名称
  994. type: string
  995. operateapplyid:
  996. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  997. type: string
  998. operateapplytype:
  999. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1000. type: integer
  1001. pricedPrice:
  1002. description: 点价价格(非必填)
  1003. type: number
  1004. pricedQty:
  1005. description: 点价数量(非必填)
  1006. type: number
  1007. pricemove:
  1008. description: 升贴水
  1009. type: number
  1010. pricetype:
  1011. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1012. type: integer
  1013. relatedid:
  1014. description: 现货合同ID
  1015. type: string
  1016. sellusername:
  1017. description: 销售方名字
  1018. type: string
  1019. userid:
  1020. description: 用户ID
  1021. type: integer
  1022. wrstandardcode:
  1023. description: 品类代码
  1024. type: string
  1025. wrstandardid:
  1026. description: 品类id
  1027. type: integer
  1028. wrstandardname:
  1029. description: 品类名称
  1030. type: string
  1031. type: object
  1032. ermcp.QryBussinessFpRsp:
  1033. properties:
  1034. applyid:
  1035. description: 申请人
  1036. type: string
  1037. applyname:
  1038. description: 申请人名称
  1039. type: string
  1040. applystatus:
  1041. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1042. type: integer
  1043. applytime:
  1044. description: 申请时间
  1045. type: string
  1046. attachurl:
  1047. description: 附件
  1048. type: string
  1049. auditid:
  1050. description: 审核人ID
  1051. type: string
  1052. auditname:
  1053. description: 审核人名称
  1054. type: string
  1055. audittime:
  1056. description: 审核时间
  1057. type: string
  1058. buyusername:
  1059. description: 采购方名称
  1060. type: string
  1061. contractno:
  1062. description: 合同编号
  1063. type: string
  1064. contractstatus:
  1065. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1066. type: integer
  1067. contracttype:
  1068. description: 现货合同类型 - 1:采购 -1:销售
  1069. type: integer
  1070. deliverygoodscode:
  1071. description: 现货品种代码
  1072. type: string
  1073. deliverygoodsid:
  1074. description: 现货商品ID
  1075. type: integer
  1076. deliverygoodsname:
  1077. description: 现货品种名称
  1078. type: string
  1079. enumdicname:
  1080. description: 单位名称
  1081. type: string
  1082. goodscode:
  1083. description: 点价合约
  1084. type: string
  1085. goodsname:
  1086. description: 商品名称
  1087. type: string
  1088. invoiceAmount:
  1089. description: 已开收票金额(销售为开票,采购为收票)
  1090. type: number
  1091. operateapplyid:
  1092. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1093. type: string
  1094. operateapplytype:
  1095. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1096. type: integer
  1097. pricemove:
  1098. description: 升贴水
  1099. type: number
  1100. pricetype:
  1101. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1102. type: integer
  1103. relatedid:
  1104. description: 现货合同ID
  1105. type: string
  1106. sellusername:
  1107. description: 销售方名字
  1108. type: string
  1109. userid:
  1110. description: 用户ID
  1111. type: integer
  1112. wrstandardcode:
  1113. description: 品类代码
  1114. type: string
  1115. wrstandardid:
  1116. description: 品类id
  1117. type: integer
  1118. wrstandardname:
  1119. description: 品类名称
  1120. type: string
  1121. type: object
  1122. ermcp.QryBussinessJsExRsp:
  1123. properties:
  1124. applyid:
  1125. description: 申请人
  1126. type: string
  1127. applyname:
  1128. description: 申请人名称
  1129. type: string
  1130. applystatus:
  1131. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1132. type: integer
  1133. applytime:
  1134. description: 申请时间
  1135. type: string
  1136. attachurl:
  1137. description: 附件
  1138. type: string
  1139. auditid:
  1140. description: 审核人ID
  1141. type: string
  1142. auditname:
  1143. description: 审核人名称
  1144. type: string
  1145. audittime:
  1146. description: 审核时间
  1147. type: string
  1148. buyusername:
  1149. description: 采购方名称
  1150. type: string
  1151. contractno:
  1152. description: 合同编号
  1153. type: string
  1154. contractstatus:
  1155. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1156. type: integer
  1157. contracttype:
  1158. description: 现货合同类型 - 1:采购 -1:销售
  1159. type: integer
  1160. deliverygoodscode:
  1161. description: 现货品种代码
  1162. type: string
  1163. deliverygoodsid:
  1164. description: 现货商品ID
  1165. type: integer
  1166. deliverygoodsname:
  1167. description: 现货品种名称
  1168. type: string
  1169. enumdicname:
  1170. description: 单位名称
  1171. type: string
  1172. goodscode:
  1173. description: 点价合约
  1174. type: string
  1175. goodsname:
  1176. description: 商品名称
  1177. type: string
  1178. operateapplyid:
  1179. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1180. type: string
  1181. operateapplytype:
  1182. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1183. type: integer
  1184. pricemove:
  1185. description: 升贴水
  1186. type: number
  1187. pricetype:
  1188. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1189. type: integer
  1190. reckontype:
  1191. description: 结算类型
  1192. type: string
  1193. reckonvalue:
  1194. description: 值
  1195. type: number
  1196. relatedid:
  1197. description: 现货合同ID
  1198. type: string
  1199. sellusername:
  1200. description: 销售方名字
  1201. type: string
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. wrstandardcode:
  1206. description: 品类代码
  1207. type: string
  1208. wrstandardid:
  1209. description: 品类id
  1210. type: integer
  1211. wrstandardname:
  1212. description: 品类名称
  1213. type: string
  1214. type: object
  1215. ermcp.QryBussinessJsRsp:
  1216. properties:
  1217. addmargin:
  1218. description: 追加保证金(非必填)
  1219. type: number
  1220. applyid:
  1221. description: 申请人
  1222. type: string
  1223. applyname:
  1224. description: 申请人名称
  1225. type: string
  1226. applystatus:
  1227. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1228. type: integer
  1229. applytime:
  1230. description: 申请时间
  1231. type: string
  1232. attachurl:
  1233. description: 附件
  1234. type: string
  1235. auditid:
  1236. description: 审核人ID
  1237. type: string
  1238. auditname:
  1239. description: 审核人名称
  1240. type: string
  1241. audittime:
  1242. description: 审核时间
  1243. type: string
  1244. buyusername:
  1245. description: 采购方名称
  1246. type: string
  1247. contractno:
  1248. description: 合同编号
  1249. type: string
  1250. contractstatus:
  1251. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1252. type: integer
  1253. contracttype:
  1254. description: 现货合同类型 - 1:采购 -1:销售
  1255. type: integer
  1256. decmargin:
  1257. description: 减少保证金(非必填)
  1258. type: number
  1259. deliverygoodscode:
  1260. description: 现货品种代码
  1261. type: string
  1262. deliverygoodsid:
  1263. description: 现货商品ID
  1264. type: integer
  1265. deliverygoodsname:
  1266. description: 现货品种名称
  1267. type: string
  1268. enumdicname:
  1269. description: 单位名称
  1270. type: string
  1271. goodscode:
  1272. description: 点价合约
  1273. type: string
  1274. goodsname:
  1275. description: 商品名称
  1276. type: string
  1277. operateapplyid:
  1278. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1279. type: string
  1280. operateapplytype:
  1281. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1282. type: integer
  1283. pricemove:
  1284. description: 升贴水
  1285. type: number
  1286. pricetype:
  1287. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1288. type: integer
  1289. reckonadjustamount:
  1290. description: 结算调整金额(非必填)
  1291. type: number
  1292. reckonosamount:
  1293. description: 结算溢短金额(非必填)
  1294. type: number
  1295. reckonotheramount:
  1296. description: 结算其他费用(非必填)
  1297. type: number
  1298. reckonrealqty:
  1299. description: 结算实际数量(非必填)
  1300. type: number
  1301. relatedid:
  1302. description: 现货合同ID
  1303. type: string
  1304. sellusername:
  1305. description: 销售方名字
  1306. type: string
  1307. userid:
  1308. description: 用户ID
  1309. type: integer
  1310. wrstandardcode:
  1311. description: 品类代码
  1312. type: string
  1313. wrstandardid:
  1314. description: 品类id
  1315. type: integer
  1316. wrstandardname:
  1317. description: 品类名称
  1318. type: string
  1319. type: object
  1320. ermcp.QryBussinessKxRsp:
  1321. properties:
  1322. applyid:
  1323. description: 申请人
  1324. type: string
  1325. applyname:
  1326. description: 申请人名称
  1327. type: string
  1328. applystatus:
  1329. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1330. type: integer
  1331. applytime:
  1332. description: 申请时间
  1333. type: string
  1334. attachurl:
  1335. description: 附件
  1336. type: string
  1337. auditid:
  1338. description: 审核人ID
  1339. type: string
  1340. auditname:
  1341. description: 审核人名称
  1342. type: string
  1343. audittime:
  1344. description: 审核时间
  1345. type: string
  1346. buyusername:
  1347. description: 采购方名称
  1348. type: string
  1349. contractno:
  1350. description: 合同编号
  1351. type: string
  1352. contractstatus:
  1353. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1354. type: integer
  1355. contracttype:
  1356. description: 现货合同类型 - 1:采购 -1:销售
  1357. type: integer
  1358. deductamount:
  1359. description: 退款(非必填)
  1360. type: number
  1361. deliverygoodscode:
  1362. description: 现货品种代码
  1363. type: string
  1364. deliverygoodsid:
  1365. description: 现货商品ID
  1366. type: integer
  1367. deliverygoodsname:
  1368. description: 现货品种名称
  1369. type: string
  1370. enumdicname:
  1371. description: 单位名称
  1372. type: string
  1373. goodscode:
  1374. description: 点价合约
  1375. type: string
  1376. goodsname:
  1377. description: 商品名称
  1378. type: string
  1379. kxtype:
  1380. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1381. type: integer
  1382. operateapplyid:
  1383. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1384. type: string
  1385. operateapplytype:
  1386. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1387. type: integer
  1388. payamount:
  1389. description: 收付款(非必填)
  1390. type: number
  1391. pricemove:
  1392. description: 升贴水
  1393. type: number
  1394. pricetype:
  1395. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1396. type: integer
  1397. relatedid:
  1398. description: 现货合同ID
  1399. type: string
  1400. sellusername:
  1401. description: 销售方名字
  1402. type: string
  1403. userid:
  1404. description: 用户ID
  1405. type: integer
  1406. wrstandardcode:
  1407. description: 品类代码
  1408. type: string
  1409. wrstandardid:
  1410. description: 品类id
  1411. type: integer
  1412. wrstandardname:
  1413. description: 品类名称
  1414. type: string
  1415. type: object
  1416. ermcp.QryGGCovertCfgRsp:
  1417. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1418. ermcp.QryMGChangeLogRsp:
  1419. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1420. ermcp.QryMiddleGoodsDetailRsp:
  1421. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1422. ermcp.QryMiddleGoodsRsp:
  1423. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1424. ermcp.QryOPLogRsp:
  1425. $ref: '#/definitions/models.ErmcpOPLogModel'
  1426. ermcp.QryUserInfoRsp:
  1427. $ref: '#/definitions/models.ErmcpUserModel'
  1428. ermcp.QryWarehouseRsp:
  1429. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1430. ermcp.QueryErmcpTradePositionRsp:
  1431. properties:
  1432. agreeunit:
  1433. description: 合约单位
  1434. type: number
  1435. buyorsell:
  1436. description: 方向 - 0:买 1:卖
  1437. type: integer
  1438. curpositionqty:
  1439. description: 持仓(总仓数量, 期末头寸)
  1440. type: integer
  1441. curtdposition:
  1442. description: 今仓数量(期末今日头寸)
  1443. type: integer
  1444. curtdpositionenabled:
  1445. description: 今仓可用
  1446. type: integer
  1447. decimalplace:
  1448. description: 报价小数位
  1449. type: integer
  1450. enableqty:
  1451. description: 可用(总仓可用)
  1452. type: integer
  1453. exexchangename:
  1454. description: 外部交易所名称
  1455. type: string
  1456. goodscode:
  1457. description: 商品代码(内部)
  1458. type: string
  1459. goodsid:
  1460. description: 商品ID(自增ID SEQ_GOODS)
  1461. type: integer
  1462. goodsname:
  1463. description: 商品名称
  1464. type: string
  1465. last:
  1466. description: 现价
  1467. type: number
  1468. marketid:
  1469. description: 所属市场ID
  1470. type: integer
  1471. openaverageprice:
  1472. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1473. type: number
  1474. opencost:
  1475. description: 开仓成本
  1476. type: number
  1477. openpl:
  1478. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1479. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1480. type: number
  1481. outgoodscode:
  1482. description: 商品代码(外部)
  1483. type: string
  1484. positionaverageprice:
  1485. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1486. type: number
  1487. positioncost:
  1488. description: 持仓成本
  1489. type: number
  1490. positionpl:
  1491. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1492. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1493. type: number
  1494. positionplrate:
  1495. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1496. type: number
  1497. usedmargin:
  1498. description: 占用保证金
  1499. type: number
  1500. type: object
  1501. ermcp.RealtimeExposurePositionRsp:
  1502. $ref: '#/definitions/models.ErmcpExposurePostion'
  1503. ermcp.RealtimeExposureRsp:
  1504. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1505. erms2.QueryArbitrageStrategyRsp:
  1506. properties:
  1507. applybasis:
  1508. description: 申请基差
  1509. type: number
  1510. asapplyid:
  1511. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1512. type: string
  1513. asname:
  1514. description: 策略名称
  1515. type: string
  1516. asno:
  1517. description: 策略编号
  1518. type: string
  1519. basischangepl:
  1520. description: 基差变动损益[结算更新]
  1521. type: number
  1522. biztype:
  1523. description: 业务类型 - 1:正向套利 -1:反向套利
  1524. type: integer
  1525. closetradedate:
  1526. description: 完结交易日(yyyyMMdd)
  1527. type: string
  1528. curbasis:
  1529. description: 当前基差[结算更新]
  1530. type: number
  1531. deliverygoodsid:
  1532. description: 现货品种ID
  1533. type: integer
  1534. futureavgprice:
  1535. description: 期货建仓均价
  1536. type: number
  1537. futurecloseamount:
  1538. description: 期货平仓金额
  1539. type: number
  1540. futurecloseqty:
  1541. description: 期货平仓数量
  1542. type: number
  1543. futureopenamount:
  1544. description: 期货开仓金额
  1545. type: number
  1546. futureopenqty:
  1547. description: 期货开仓数量
  1548. type: number
  1549. futurepl:
  1550. description: 期货总盈亏[结算更新]
  1551. type: number
  1552. futureqty:
  1553. description: 期货持仓数量
  1554. type: number
  1555. futurequote:
  1556. description: 期货额度
  1557. type: number
  1558. goodsgroupid:
  1559. description: 期货品种ID
  1560. type: integer
  1561. marketid:
  1562. description: 市场ID
  1563. type: integer
  1564. netexposure:
  1565. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1566. type: number
  1567. netexposurepl:
  1568. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1569. type: number
  1570. netexposurerate:
  1571. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1572. type: number
  1573. openbasis:
  1574. description: 建仓基差
  1575. type: number
  1576. pricedspotqty:
  1577. description: 已定价现货数量
  1578. type: number
  1579. pricedspotqtynotax:
  1580. description: 已定价现货不含税数量
  1581. type: number
  1582. remark:
  1583. description: 备注
  1584. type: string
  1585. spotavgprice:
  1586. description: 现货均价
  1587. type: number
  1588. spotbuyamount:
  1589. description: 现货采购金额
  1590. type: number
  1591. spotbuyqty:
  1592. description: 现货采购数量
  1593. type: number
  1594. spotpl:
  1595. description: 现货总盈亏[结算更新]
  1596. type: number
  1597. spotquota:
  1598. description: 现货额度
  1599. type: number
  1600. spotsellamount:
  1601. description: 现货销售金额
  1602. type: number
  1603. spotsellqty:
  1604. description: 现货销售数量
  1605. type: number
  1606. spotusedquota:
  1607. description: 现货占用资金
  1608. type: number
  1609. strategystatus:
  1610. description: 策略状态 - 0:未结束 1:已结束
  1611. type: integer
  1612. totalpl:
  1613. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1614. type: number
  1615. tradedate:
  1616. description: 交易日(yyyyMMdd)
  1617. type: string
  1618. updatetime:
  1619. description: 更新时间
  1620. type: string
  1621. usedquota:
  1622. description: 已占用资金
  1623. type: number
  1624. userid:
  1625. description: 所属机构
  1626. type: integer
  1627. required:
  1628. - asapplyid
  1629. type: object
  1630. erms2.QueryInnerTradeDetailRsp:
  1631. properties:
  1632. accountid:
  1633. description: 账号ID
  1634. type: integer
  1635. agreeunit:
  1636. description: 合约单位
  1637. type: number
  1638. asapplyid:
  1639. description: 策略申请ID
  1640. type: integer
  1641. asname:
  1642. description: 策略名称
  1643. type: string
  1644. asno:
  1645. description: 策略编号
  1646. type: string
  1647. buyorsell:
  1648. description: 方向 - 0:买 1:卖
  1649. type: integer
  1650. channelbuildtype:
  1651. description: 委托单据类型 0:无 1:建仓 2:平仓
  1652. type: integer
  1653. closetype:
  1654. description: 平仓方式 - 0:无 1:平今 2:平昨
  1655. type: integer
  1656. decimalplace:
  1657. description: 报价小数位
  1658. type: integer
  1659. detailtype:
  1660. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1661. type: integer
  1662. exexchangecode:
  1663. description: 外部交易所代码
  1664. type: string
  1665. exexchangename:
  1666. description: 外部交易所名称
  1667. type: string
  1668. goodscode:
  1669. description: 商品代码(合约)
  1670. type: string
  1671. goodsgroupid:
  1672. description: 商品组ID(品种ID)
  1673. type: integer
  1674. goodsgroupname:
  1675. description: 商品组名称(品种)
  1676. type: string
  1677. goodsid:
  1678. description: 商品ID
  1679. type: integer
  1680. goodsname:
  1681. description: 商品名称(合约)
  1682. type: string
  1683. goodunit:
  1684. description: 报价单位
  1685. type: string
  1686. marketid:
  1687. description: 市场ID
  1688. type: integer
  1689. orderid:
  1690. description: 委托单号
  1691. type: string
  1692. outgoodscode:
  1693. description: 商品代码(外部)
  1694. type: string
  1695. relatedouttradeid:
  1696. description: 关联外部成交单ID
  1697. type: string
  1698. remark:
  1699. description: 备注
  1700. type: string
  1701. spotcontractid:
  1702. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1703. type: integer
  1704. spotcontractno:
  1705. description: 现货合同编号
  1706. type: string
  1707. tradeid:
  1708. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1709. type: string
  1710. tradeprice:
  1711. description: 成交价格
  1712. type: number
  1713. tradeqty:
  1714. description: 成交数量
  1715. type: integer
  1716. tradetime:
  1717. description: 成交时间
  1718. type: string
  1719. updatetime:
  1720. description: 更新时间
  1721. type: string
  1722. required:
  1723. - asapplyid
  1724. - buyorsell
  1725. - goodscode
  1726. - goodsgroupid
  1727. - goodsgroupname
  1728. - goodsname
  1729. - tradeid
  1730. type: object
  1731. erms2.QuerySpotContractRsp:
  1732. properties:
  1733. accountid:
  1734. description: 资金账户ID
  1735. type: integer
  1736. areauserid:
  1737. description: 所属机构
  1738. type: integer
  1739. closedate:
  1740. description: 终止日期
  1741. type: string
  1742. closeremark:
  1743. description: 结束备注
  1744. type: string
  1745. closetradedate:
  1746. description: 完结交易日(yyyyMMdd)
  1747. type: string
  1748. closetype:
  1749. description: 终止类型 - 1:违约 2:提前终止
  1750. type: integer
  1751. contractamount:
  1752. description: 合同金额
  1753. type: number
  1754. contractattachment:
  1755. description: 合同附件
  1756. type: string
  1757. contractno:
  1758. description: 现货合同编号
  1759. type: string
  1760. contractqty:
  1761. description: 合同数量(数值) (用于计算)
  1762. type: number
  1763. contractqtychar:
  1764. description: 合同数量\已订价数量 (用于显示)
  1765. type: string
  1766. contractstatus:
  1767. description: 合同状态 - 0:未结束 1:已结束
  1768. type: integer
  1769. contracttype:
  1770. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1771. type: integer
  1772. customeraccountid:
  1773. description: 客户资金账户ID
  1774. type: integer
  1775. customeruserid:
  1776. description: 客户ID
  1777. type: integer
  1778. deliverygoodsdesc:
  1779. description: 品种说明
  1780. type: string
  1781. deliverygoodsid:
  1782. description: 现货品种ID
  1783. type: integer
  1784. handlestatus:
  1785. description: 处理状态
  1786. type: integer
  1787. invoiceatt:
  1788. description: 发票附件
  1789. type: string
  1790. invoicedatetime:
  1791. description: 开收票更新时间
  1792. type: string
  1793. invoiceopentime:
  1794. description: 开票时间
  1795. type: string
  1796. invoiceremark:
  1797. description: 发票备注
  1798. type: string
  1799. invoicestatus:
  1800. description: 开收票状态 - 0:未开票 1:已开票
  1801. type: integer
  1802. lastdate:
  1803. description: 交货时间
  1804. type: string
  1805. marketid:
  1806. description: 市场ID
  1807. type: integer
  1808. paydatetime:
  1809. description: 收付款更新时间
  1810. type: string
  1811. payremark:
  1812. description: 收付款备注
  1813. type: string
  1814. paystatus:
  1815. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1816. type: integer
  1817. positionqty:
  1818. description: 头寸数量 - 合同数量去小数部分
  1819. type: integer
  1820. producttype:
  1821. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1822. type: integer
  1823. relatedqty:
  1824. description: 已关联数量
  1825. type: number
  1826. relatedstatus:
  1827. description: 关联完结状态 - 0:未结束 1:已结束
  1828. type: integer
  1829. remark:
  1830. description: 备注
  1831. type: string
  1832. signdate:
  1833. description: 签订日期
  1834. type: string
  1835. spotcontractid:
  1836. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1837. type: string
  1838. spotdatetime:
  1839. description: 收发货更新时间
  1840. type: string
  1841. spotprice:
  1842. description: 价格
  1843. type: number
  1844. spotremark:
  1845. description: 收发货备注
  1846. type: string
  1847. spotstatus:
  1848. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. userid:
  1854. description: 业务员用户ID
  1855. type: integer
  1856. warehouseid:
  1857. description: 仓库ID
  1858. type: integer
  1859. wrfactortypeid:
  1860. description: 仓单要素类型ID
  1861. type: integer
  1862. wrstandardid:
  1863. description: 仓单标准ID(SEQ_WRSTANDARD)
  1864. type: integer
  1865. required:
  1866. - spotcontractid
  1867. type: object
  1868. erms3.AddErms2ASApplyReq:
  1869. properties:
  1870. applybasis:
  1871. description: 申请基差
  1872. type: number
  1873. applystatus:
  1874. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1875. type: integer
  1876. asapplyid:
  1877. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1878. type: integer
  1879. asname:
  1880. description: 策略名称
  1881. type: string
  1882. asno:
  1883. description: 策略编号
  1884. type: string
  1885. auditid:
  1886. description: 审核人
  1887. type: integer
  1888. auditremark:
  1889. description: 审核备注
  1890. type: string
  1891. audittime:
  1892. description: 审核时间
  1893. type: string
  1894. biztype:
  1895. description: 业务类型 - 1:正向套利 2:反向套利
  1896. type: integer
  1897. createtime:
  1898. description: 创建时间
  1899. type: string
  1900. creatorid:
  1901. description: 创建人
  1902. type: integer
  1903. deliverygoodsid:
  1904. description: 现货品种ID
  1905. type: integer
  1906. futurequote:
  1907. description: 期货额度
  1908. type: number
  1909. goodsgroupid:
  1910. description: 期货品种ID
  1911. type: integer
  1912. marketid:
  1913. description: 市场ID
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. spotquota:
  1919. description: 现货额度
  1920. type: number
  1921. tradedate:
  1922. description: 交易日(yyyyMMdd)
  1923. type: string
  1924. userid:
  1925. description: 所属机构
  1926. type: integer
  1927. required:
  1928. - asapplyid
  1929. type: object
  1930. erms3.AddErms2SpotTradeApplyReq:
  1931. properties:
  1932. applyjsondetail:
  1933. description: 申请明细(JSON)
  1934. type: string
  1935. applystatus:
  1936. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1937. type: integer
  1938. areauserid:
  1939. description: 所属机构
  1940. type: integer
  1941. auditid:
  1942. description: 审核人
  1943. type: integer
  1944. auditremark:
  1945. description: 审核备注
  1946. type: string
  1947. audittime:
  1948. description: 审核时间
  1949. type: string
  1950. createtime:
  1951. description: 创建时间
  1952. type: string
  1953. creatorid:
  1954. description: 创建人
  1955. type: integer
  1956. deliverygoodsid:
  1957. description: 现货品种ID
  1958. type: integer
  1959. futureaccountid:
  1960. description: 期货资金账户
  1961. type: integer
  1962. goodsgroupid:
  1963. description: 期货品种
  1964. type: integer
  1965. marketid:
  1966. description: 市场ID
  1967. type: integer
  1968. remark:
  1969. description: 备注
  1970. type: string
  1971. spotaccountid:
  1972. description: 现货资金账户
  1973. type: integer
  1974. spottradeid:
  1975. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1976. type: integer
  1977. spottradename:
  1978. description: 业务名称
  1979. type: string
  1980. spottradeno:
  1981. description: 业务编号
  1982. type: string
  1983. tradedate:
  1984. description: 交易日(yyyyMMdd)
  1985. type: string
  1986. wrstandardid:
  1987. description: 仓单标准ID
  1988. type: integer
  1989. required:
  1990. - spottradeid
  1991. type: object
  1992. erms3.AddSpotContractApplyReq:
  1993. properties:
  1994. accountid:
  1995. description: 资金账户ID
  1996. type: integer
  1997. areauserid:
  1998. description: 所属机构
  1999. type: integer
  2000. contractattachment:
  2001. description: 合同附件
  2002. type: string
  2003. contractno:
  2004. description: 现货合同编号
  2005. type: string
  2006. contracttype:
  2007. description: 现货合同类型 - 1:采购 -1:销售
  2008. type: integer
  2009. creatorid:
  2010. description: 申请人
  2011. type: integer
  2012. customeraccountid:
  2013. description: 客户资金账户ID
  2014. type: integer
  2015. customeruserid:
  2016. description: 客户ID
  2017. type: integer
  2018. details:
  2019. description: 明细
  2020. items:
  2021. $ref: '#/definitions/erms3.SoptContractDetail'
  2022. type: array
  2023. orimargin:
  2024. description: 初始保证金
  2025. type: number
  2026. remark:
  2027. description: 备注
  2028. type: string
  2029. signdate:
  2030. description: 签订日期
  2031. type: string
  2032. required:
  2033. - accountid
  2034. - areauserid
  2035. - contractno
  2036. - contracttype
  2037. - customeraccountid
  2038. - customeruserid
  2039. - details
  2040. - orimargin
  2041. - signdate
  2042. type: object
  2043. erms3.AddSpotContractApplyRsp:
  2044. properties:
  2045. contractno:
  2046. description: 现货合同编号
  2047. type: string
  2048. spotcontractid:
  2049. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2050. type: integer
  2051. required:
  2052. - contractno
  2053. type: object
  2054. erms3.AddUserInfoApplyReq:
  2055. properties:
  2056. accountid:
  2057. description: 交易系统帐号Id (加密存储)
  2058. type: integer
  2059. areacode:
  2060. description: 机构代码
  2061. type: string
  2062. areaid:
  2063. description: 机构Id
  2064. type: integer
  2065. attachment1:
  2066. description: 附件1
  2067. type: string
  2068. attachment2:
  2069. description: 附件2
  2070. type: string
  2071. attachment3:
  2072. description: 附件3
  2073. type: string
  2074. attachment4:
  2075. description: 附件4
  2076. type: string
  2077. attachment5:
  2078. description: 附件5
  2079. type: string
  2080. auditedby:
  2081. description: 审核人
  2082. type: string
  2083. auditime:
  2084. description: 审核时间
  2085. type: string
  2086. auditsrc:
  2087. description: 审核来源 - 1:管理端 2:终端
  2088. type: integer
  2089. bankaccount:
  2090. description: 银行帐号 (加密存储)
  2091. type: string
  2092. bankaccountname:
  2093. description: 收款人名称
  2094. type: string
  2095. bankcardbackphotourl:
  2096. description: 银行卡背面照地址
  2097. type: string
  2098. bankcardfrontphotourl:
  2099. description: 银行卡正面照地址
  2100. type: string
  2101. bankid:
  2102. description: 银行编码
  2103. type: string
  2104. bankname:
  2105. description: 银行名称
  2106. type: string
  2107. bankpictureurl:
  2108. description: 银行卡正面地址
  2109. type: string
  2110. biznature:
  2111. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2112. type: integer
  2113. bizscope:
  2114. description: 企业经营范围(企业)
  2115. type: string
  2116. biztype:
  2117. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2118. type: integer
  2119. brokerid:
  2120. description: 经纪人ID(加密存储)
  2121. type: string
  2122. cardaddress:
  2123. description: 证件地址 (加密存储)
  2124. type: string
  2125. cardbackphotourl:
  2126. description: 背面证件照地址
  2127. type: string
  2128. cardfrontphotourl:
  2129. description: 正面证件照地址
  2130. type: string
  2131. cardnum:
  2132. description: 证件号码 (加密存储)
  2133. type: string
  2134. cardtype:
  2135. description: 证件类型
  2136. type: integer
  2137. cityid:
  2138. description: 市
  2139. type: integer
  2140. company:
  2141. description: 公司(个人)
  2142. type: string
  2143. contactcardbackphotourl:
  2144. description: 联系人证件背面图片地址
  2145. type: string
  2146. contactcardfrontphotourl:
  2147. description: 联系人证件正面图片地址
  2148. type: string
  2149. contactname:
  2150. description: 联系人
  2151. type: string
  2152. countryid:
  2153. description: 国家
  2154. type: integer
  2155. createtime:
  2156. description: 开户申请时间
  2157. type: string
  2158. cusbankid:
  2159. description: 签约类型
  2160. type: string
  2161. cusbankname:
  2162. description: 签约类型名称
  2163. type: string
  2164. customername:
  2165. description: 客户名称(企业名称)
  2166. type: string
  2167. districtid:
  2168. description: 地区
  2169. type: integer
  2170. email:
  2171. description: Email地址(加密存储)
  2172. type: string
  2173. halfbodyphotourl:
  2174. description: 半身照地址
  2175. type: string
  2176. headurl:
  2177. description: 头像地址
  2178. type: string
  2179. ipaddress:
  2180. description: IP地址
  2181. type: string
  2182. isvalidate:
  2183. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2184. type: string
  2185. legalcardbackphotourl:
  2186. description: 法人身份证背面照地址
  2187. type: string
  2188. legalcardfrontphotourl:
  2189. description: 法人身份证正面照地址
  2190. type: string
  2191. legalpersonname:
  2192. description: 法人姓名(企业)
  2193. type: string
  2194. logincode:
  2195. description: 登录帐号 (加密存储)
  2196. type: string
  2197. memberareaid:
  2198. description: 所属会员ID
  2199. type: integer
  2200. mobile2:
  2201. description: 手机号码[明文-尚志]
  2202. type: string
  2203. mobilephone:
  2204. description: 手机号码 (加密存储)
  2205. type: string
  2206. modifiedby:
  2207. description: 修改人帐号
  2208. type: integer
  2209. modifiedtime:
  2210. description: 修改时间
  2211. type: string
  2212. nickname:
  2213. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2214. type: string
  2215. openmode:
  2216. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2217. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2218. type: integer
  2219. otherurl:
  2220. description: 其它图片地址[使用分号分隔]
  2221. type: string
  2222. postalcode:
  2223. description: 邮政编码
  2224. type: string
  2225. provinceid:
  2226. description: 省
  2227. type: integer
  2228. proxystatementurl:
  2229. description: 授权委托书
  2230. type: string
  2231. qq:
  2232. description: QQ(加密存储
  2233. type: string
  2234. referral:
  2235. description: 推荐人编码
  2236. type: string
  2237. remark:
  2238. description: 备注
  2239. type: string
  2240. removebeforestatus:
  2241. description: REMOVEBEFORESTATUS
  2242. type: integer
  2243. sex:
  2244. description: 性别 - 0:女 1:男
  2245. type: integer
  2246. signedstatus:
  2247. description: 账户一号签签约状态
  2248. type: integer
  2249. signpdfurl:
  2250. description: 签约pdf文件
  2251. type: string
  2252. subbranch:
  2253. description: 开户支行
  2254. type: string
  2255. taxpayernum:
  2256. description: 纳税人识别号
  2257. type: string
  2258. telphone:
  2259. description: 联系电话(加密存储)
  2260. type: string
  2261. userid:
  2262. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2263. type: integer
  2264. userinfotype:
  2265. description: 用户信息类型 - 1:个人 2:企业
  2266. type: integer
  2267. username:
  2268. description: 用户姓名
  2269. type: string
  2270. userstate:
  2271. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2272. type: integer
  2273. usertype:
  2274. description: 用户类型 - 1:投资者 2:机构
  2275. type: integer
  2276. videourl:
  2277. description: 视频地址
  2278. type: string
  2279. wechat:
  2280. description: 微信号 (加密存储)
  2281. type: string
  2282. required:
  2283. - userid
  2284. type: object
  2285. erms3.CustomerInfo:
  2286. properties:
  2287. accountids:
  2288. description: 资金账户ID列表
  2289. items:
  2290. type: integer
  2291. type: array
  2292. customername:
  2293. description: 名称(企业名称)
  2294. type: string
  2295. mobile:
  2296. description: 手机号码
  2297. type: string
  2298. userid:
  2299. description: 用户ID
  2300. type: integer
  2301. required:
  2302. - userid
  2303. type: object
  2304. erms3.ModifyUserInfoApplyReq:
  2305. properties:
  2306. accountid:
  2307. description: 交易系统帐号Id (加密存储)
  2308. type: integer
  2309. areacode:
  2310. description: 机构代码
  2311. type: string
  2312. areaid:
  2313. description: 机构Id
  2314. type: integer
  2315. attachment1:
  2316. description: 附件1
  2317. type: string
  2318. attachment2:
  2319. description: 附件2
  2320. type: string
  2321. attachment3:
  2322. description: 附件3
  2323. type: string
  2324. attachment4:
  2325. description: 附件4
  2326. type: string
  2327. attachment5:
  2328. description: 附件5
  2329. type: string
  2330. auditedby:
  2331. description: 审核人
  2332. type: string
  2333. auditime:
  2334. description: 审核时间
  2335. type: string
  2336. auditsrc:
  2337. description: 审核来源 - 1:管理端 2:终端
  2338. type: integer
  2339. bankaccount:
  2340. description: 银行帐号 (加密存储)
  2341. type: string
  2342. bankaccountname:
  2343. description: 收款人名称
  2344. type: string
  2345. bankcardbackphotourl:
  2346. description: 银行卡背面照地址
  2347. type: string
  2348. bankcardfrontphotourl:
  2349. description: 银行卡正面照地址
  2350. type: string
  2351. bankid:
  2352. description: 银行编码
  2353. type: string
  2354. bankname:
  2355. description: 银行名称
  2356. type: string
  2357. bankpictureurl:
  2358. description: 银行卡正面地址
  2359. type: string
  2360. biznature:
  2361. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2362. type: integer
  2363. bizscope:
  2364. description: 企业经营范围(企业)
  2365. type: string
  2366. biztype:
  2367. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2368. type: integer
  2369. brokerid:
  2370. description: 经纪人ID(加密存储)
  2371. type: string
  2372. cardaddress:
  2373. description: 证件地址 (加密存储)
  2374. type: string
  2375. cardbackphotourl:
  2376. description: 背面证件照地址
  2377. type: string
  2378. cardfrontphotourl:
  2379. description: 正面证件照地址
  2380. type: string
  2381. cardnum:
  2382. description: 证件号码 (加密存储)
  2383. type: string
  2384. cardtype:
  2385. description: 证件类型
  2386. type: integer
  2387. cityid:
  2388. description: 市
  2389. type: integer
  2390. company:
  2391. description: 公司(个人)
  2392. type: string
  2393. contactcardbackphotourl:
  2394. description: 联系人证件背面图片地址
  2395. type: string
  2396. contactcardfrontphotourl:
  2397. description: 联系人证件正面图片地址
  2398. type: string
  2399. contactname:
  2400. description: 联系人
  2401. type: string
  2402. countryid:
  2403. description: 国家
  2404. type: integer
  2405. createtime:
  2406. description: 开户申请时间
  2407. type: string
  2408. cusbankid:
  2409. description: 签约类型
  2410. type: string
  2411. cusbankname:
  2412. description: 签约类型名称
  2413. type: string
  2414. customername:
  2415. description: 客户名称(企业名称)
  2416. type: string
  2417. districtid:
  2418. description: 地区
  2419. type: integer
  2420. email:
  2421. description: Email地址(加密存储)
  2422. type: string
  2423. halfbodyphotourl:
  2424. description: 半身照地址
  2425. type: string
  2426. headurl:
  2427. description: 头像地址
  2428. type: string
  2429. ipaddress:
  2430. description: IP地址
  2431. type: string
  2432. isvalidate:
  2433. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2434. type: string
  2435. legalcardbackphotourl:
  2436. description: 法人身份证背面照地址
  2437. type: string
  2438. legalcardfrontphotourl:
  2439. description: 法人身份证正面照地址
  2440. type: string
  2441. legalpersonname:
  2442. description: 法人姓名(企业)
  2443. type: string
  2444. logincode:
  2445. description: 登录帐号 (加密存储)
  2446. type: string
  2447. memberareaid:
  2448. description: 所属会员ID
  2449. type: integer
  2450. mobile2:
  2451. description: 手机号码[明文-尚志]
  2452. type: string
  2453. mobilephone:
  2454. description: 手机号码 (加密存储)
  2455. type: string
  2456. modifiedby:
  2457. description: 修改人帐号
  2458. type: integer
  2459. modifiedtime:
  2460. description: 修改时间
  2461. type: string
  2462. nickname:
  2463. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2464. type: string
  2465. openmode:
  2466. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2467. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2468. type: integer
  2469. otherurl:
  2470. description: 其它图片地址[使用分号分隔]
  2471. type: string
  2472. postalcode:
  2473. description: 邮政编码
  2474. type: string
  2475. provinceid:
  2476. description: 省
  2477. type: integer
  2478. proxystatementurl:
  2479. description: 授权委托书
  2480. type: string
  2481. qq:
  2482. description: QQ(加密存储
  2483. type: string
  2484. referral:
  2485. description: 推荐人编码
  2486. type: string
  2487. remark:
  2488. description: 备注
  2489. type: string
  2490. removebeforestatus:
  2491. description: REMOVEBEFORESTATUS
  2492. type: integer
  2493. sex:
  2494. description: 性别 - 0:女 1:男
  2495. type: integer
  2496. signedstatus:
  2497. description: 账户一号签签约状态
  2498. type: integer
  2499. signpdfurl:
  2500. description: 签约pdf文件
  2501. type: string
  2502. subbranch:
  2503. description: 开户支行
  2504. type: string
  2505. taxpayernum:
  2506. description: 纳税人识别号
  2507. type: string
  2508. telphone:
  2509. description: 联系电话(加密存储)
  2510. type: string
  2511. userid:
  2512. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2513. type: integer
  2514. userinfotype:
  2515. description: 用户信息类型 - 1:个人 2:企业
  2516. type: integer
  2517. username:
  2518. description: 用户姓名
  2519. type: string
  2520. userstate:
  2521. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2522. type: integer
  2523. usertype:
  2524. description: 用户类型 - 1:投资者 2:机构
  2525. type: integer
  2526. videourl:
  2527. description: 视频地址
  2528. type: string
  2529. wechat:
  2530. description: 微信号 (加密存储)
  2531. type: string
  2532. required:
  2533. - userid
  2534. type: object
  2535. erms3.QryAuditContractRsp:
  2536. properties:
  2537. accountid:
  2538. description: 交易员ID
  2539. type: string
  2540. applystatus:
  2541. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2542. type: integer
  2543. curdeliveryqty:
  2544. description: 未交收量
  2545. type: integer
  2546. customername:
  2547. description: 采购方ID
  2548. type: string
  2549. deliverygoodsid:
  2550. description: 品种ID
  2551. type: string
  2552. deliveryqty:
  2553. description: 交收量
  2554. type: integer
  2555. enumdicname:
  2556. description: 单位名称
  2557. type: string
  2558. matchaccountid:
  2559. description: 业务员ID
  2560. type: string
  2561. matchcustomername:
  2562. description: 销售方ID
  2563. type: string
  2564. pricedqty:
  2565. description: 定价量
  2566. type: number
  2567. signdate:
  2568. description: 签订日期
  2569. type: string
  2570. spotcontractid:
  2571. description: 合同ID
  2572. type: string
  2573. totaldqty:
  2574. description: 合同量
  2575. type: number
  2576. unpricedqty:
  2577. description: 未定价量
  2578. type: number
  2579. wrstandardname:
  2580. description: 商品名称
  2581. type: string
  2582. required:
  2583. - matchcustomername
  2584. - spotcontractid
  2585. type: object
  2586. erms3.QryPendingBizRsp:
  2587. $ref: '#/definitions/models.PendingAuditBizModel'
  2588. erms3.QueryBusinessInfoRsp:
  2589. properties:
  2590. businessid:
  2591. description: 业务ID.
  2592. type: integer
  2593. buyamount:
  2594. description: 采购额.
  2595. type: number
  2596. buyqty:
  2597. description: 采购量.
  2598. type: string
  2599. futurepl:
  2600. description: 期货盈亏.
  2601. type: number
  2602. futureqty:
  2603. description: 期货敞口.
  2604. type: string
  2605. goodsid:
  2606. description: 商品名称/商品代码.
  2607. type: string
  2608. hedgingqty:
  2609. description: 套保量.
  2610. type: string
  2611. sellamount:
  2612. description: 销售额.
  2613. type: number
  2614. sellqty:
  2615. description: 销售量.
  2616. type: string
  2617. spotmarketvalue:
  2618. description: 现货市值.
  2619. type: number
  2620. spotpl:
  2621. description: 浮动权益.
  2622. type: number
  2623. spotqty:
  2624. description: 现货量.
  2625. type: string
  2626. statu:
  2627. description: 状态,0-未结束 1-已结束.
  2628. type: integer
  2629. totalpl:
  2630. description: 总盈亏.
  2631. type: number
  2632. totalqty:
  2633. description: 总敞口.
  2634. type: string
  2635. type:
  2636. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2637. type: integer
  2638. type: object
  2639. erms3.QuerySpotContractAppleFormRsp:
  2640. properties:
  2641. goodses:
  2642. description: 合约列表
  2643. items:
  2644. $ref: '#/definitions/models.GoodsIDAndName'
  2645. type: array
  2646. oppositeusers:
  2647. description: 对方账号列表
  2648. items:
  2649. $ref: '#/definitions/erms3.CustomerInfo'
  2650. type: array
  2651. ouruser:
  2652. $ref: '#/definitions/erms3.CustomerInfo'
  2653. description: 我方账号
  2654. type: object
  2655. warehouseinfos:
  2656. description: 仓库信息列表
  2657. items:
  2658. $ref: '#/definitions/models.Warehouseinfo'
  2659. type: array
  2660. wrstandards:
  2661. description: 仓单标准列表
  2662. items:
  2663. $ref: '#/definitions/models.WRStandardInfo'
  2664. type: array
  2665. type: object
  2666. erms3.QuerySpotContractInfoRsp:
  2667. properties:
  2668. accountid:
  2669. description: 表示交易员ID.
  2670. type: integer
  2671. curdeliveryqty:
  2672. description: 表示未交收量.
  2673. type: number
  2674. customername:
  2675. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2676. type: string
  2677. deliverygoodsid:
  2678. description: 表示品种ID.
  2679. type: string
  2680. deliveryqty:
  2681. description: 表示交收量.
  2682. type: number
  2683. matchaccountid:
  2684. description: 表示业务员ID.
  2685. type: integer
  2686. matchcustomername:
  2687. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2688. type: string
  2689. priceqty:
  2690. description: 表示定价量.
  2691. type: number
  2692. relatedbizid:
  2693. description: 表示业务ID.
  2694. type: string
  2695. signdate:
  2696. description: 表示签订日期.
  2697. type: string
  2698. spotcontractid:
  2699. description: 合同ID
  2700. type: string
  2701. status:
  2702. description: 表示状态,0-履约中 1-已完成.
  2703. type: integer
  2704. totalqty:
  2705. description: 表示合同量.
  2706. type: number
  2707. unpricedqty:
  2708. description: 表示未定价量.
  2709. type: number
  2710. wrstandardname:
  2711. description: 表示商品ID.
  2712. type: string
  2713. type: object
  2714. erms3.QueryUserInfoAppliesRsp:
  2715. properties:
  2716. biznature:
  2717. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2718. type: integer
  2719. contactname:
  2720. description: 联系人
  2721. type: string
  2722. createtime:
  2723. description: 开户申请时间
  2724. type: string
  2725. userid:
  2726. description: 用户ID(自增ID)
  2727. type: integer
  2728. userinfotype:
  2729. description: 用户信息类型 - 1:个人 2:企业
  2730. type: integer
  2731. username:
  2732. description: 用户姓名
  2733. type: string
  2734. userstate:
  2735. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2736. type: integer
  2737. required:
  2738. - userid
  2739. type: object
  2740. erms3.QueryUserInfosRsp:
  2741. properties:
  2742. biznature:
  2743. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2744. type: integer
  2745. contactname:
  2746. description: 联系人
  2747. type: string
  2748. customername:
  2749. description: 客户名称(企业名称)
  2750. type: string
  2751. userid:
  2752. description: 用户ID
  2753. type: integer
  2754. userinfotype:
  2755. description: 用户信息类型 - 1:个人 2:企业
  2756. type: integer
  2757. userstatus:
  2758. description: 用户状态 - 1:正常 2:注销
  2759. type: integer
  2760. required:
  2761. - userid
  2762. type: object
  2763. erms3.SoptContractDetail:
  2764. properties:
  2765. deliverygoodsdesc:
  2766. description: 现货品种说明
  2767. type: string
  2768. deliverygoodsid:
  2769. description: 现货品种ID
  2770. type: integer
  2771. deliverygoodsname:
  2772. description: 现货品种名称
  2773. type: string
  2774. pointdesc:
  2775. description: 点价描述
  2776. type: string
  2777. producttype:
  2778. description: 产品类型 1:标准仓单 2:等标 3:非标
  2779. type: integer
  2780. producttypename:
  2781. description: 产品类型名称
  2782. type: string
  2783. spotPointOrderVoList:
  2784. description: 点价列表
  2785. items:
  2786. $ref: '#/definitions/erms3.SpotPointOrder'
  2787. type: array
  2788. spotPriceOrderList:
  2789. description: 定价列表
  2790. items:
  2791. $ref: '#/definitions/erms3.SpotPriceOrder'
  2792. type: array
  2793. unitname:
  2794. description: 单位名称
  2795. type: string
  2796. warehouseid:
  2797. description: 仓库ID
  2798. type: integer
  2799. warehousename:
  2800. description: 仓库名称
  2801. type: string
  2802. wrstandardid:
  2803. description: 交易标的ID
  2804. type: integer
  2805. wrstandardname:
  2806. description: 交易标的名称
  2807. type: string
  2808. required:
  2809. - deliverygoodsid
  2810. - producttype
  2811. - unitname
  2812. - warehouseid
  2813. - wrstandardid
  2814. - wrstandardname
  2815. type: object
  2816. erms3.SpotPointOrder:
  2817. properties:
  2818. basic:
  2819. description: 基差
  2820. type: number
  2821. deliveryenddate:
  2822. description: 交收结束日期
  2823. type: string
  2824. deliverystartdate:
  2825. description: 交收开始日期
  2826. type: string
  2827. enddate:
  2828. description: 点价结束日期
  2829. type: string
  2830. goodsid:
  2831. description: 商品ID
  2832. type: integer
  2833. goodsname:
  2834. description: 商品名称
  2835. type: string
  2836. qty:
  2837. description: 数量
  2838. type: number
  2839. startdate:
  2840. description: 点价开始日期
  2841. type: string
  2842. required:
  2843. - basic
  2844. - goodsid
  2845. - qty
  2846. type: object
  2847. erms3.SpotPriceOrder:
  2848. properties:
  2849. amount:
  2850. description: 金额
  2851. type: number
  2852. deliveryenddate:
  2853. description: 交收结束日期
  2854. type: string
  2855. deliverystartdate:
  2856. description: 交收开始日期
  2857. type: string
  2858. price:
  2859. description: 价格
  2860. type: number
  2861. qty:
  2862. description: 数量
  2863. type: number
  2864. required:
  2865. - amount
  2866. - price
  2867. - qty
  2868. type: object
  2869. hsby.GetHsbyMyCountRsp:
  2870. properties:
  2871. myCouponCount:
  2872. description: 我的优惠卷数量
  2873. type: integer
  2874. myOrderDetailListingCount:
  2875. description: 我的订单求购中数量
  2876. type: integer
  2877. myOrderDetailPreCount:
  2878. description: 我的订单抢购中数量
  2879. type: integer
  2880. myPackageUnReceiveCount:
  2881. description: 我的包裹待收货数量
  2882. type: integer
  2883. myPackageUnSendCount:
  2884. description: 我的包裹待发货数量
  2885. type: integer
  2886. myPayOrderCount:
  2887. description: 我的订单待付款数量
  2888. type: integer
  2889. type: object
  2890. hsby.QueryProvincesAndCitiesRsp:
  2891. properties:
  2892. cities:
  2893. description: 市
  2894. items:
  2895. $ref: '#/definitions/models.Division'
  2896. type: array
  2897. province:
  2898. $ref: '#/definitions/models.Division'
  2899. description: 省
  2900. type: object
  2901. type: object
  2902. models.AreaSpotModel:
  2903. properties:
  2904. areauserid:
  2905. description: 所属机构
  2906. type: integer
  2907. decreaseqty:
  2908. description: 减少数量=-(销售已定价数量+采购计划数量)
  2909. type: number
  2910. increaseqty:
  2911. description: 增加数量=销售计划数量+采购已定价数量
  2912. type: number
  2913. oritoalspotqty:
  2914. description: 昨日数量
  2915. type: number
  2916. totalspotqty:
  2917. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2918. type: number
  2919. updatetime:
  2920. description: 更新时间
  2921. type: string
  2922. wrstandardcode:
  2923. description: 现货品种代码
  2924. type: string
  2925. wrstandardid:
  2926. description: 现货商品ID
  2927. type: integer
  2928. wrstandardname:
  2929. description: 现货品种
  2930. type: string
  2931. type: object
  2932. models.Arearole:
  2933. properties:
  2934. createtime:
  2935. description: 创建时间
  2936. type: string
  2937. creatorid:
  2938. description: 创建人ID
  2939. type: integer
  2940. isreturnscore:
  2941. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2942. type: integer
  2943. modifierid:
  2944. description: 修改人ID
  2945. type: integer
  2946. modifytime:
  2947. description: 修改时间
  2948. type: string
  2949. orgtype:
  2950. description: 组织机构类型 1:机构 2:交易员
  2951. type: integer
  2952. outuserid:
  2953. description: 外部账户[场外期权做市商]
  2954. type: string
  2955. parentuserid:
  2956. description: 上级组织机构(组织机构)
  2957. type: integer
  2958. roletype:
  2959. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2960. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2961. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员
  2962. type: integer
  2963. rootuserid:
  2964. description: 顶级组织机构用户ID(组织机构)
  2965. type: integer
  2966. shoppassword:
  2967. description: 商城店铺登陆密码(商城店铺角色使用)
  2968. type: string
  2969. sublevelpath:
  2970. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2971. type: string
  2972. tradeaccountid:
  2973. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2974. type: integer
  2975. transurl:
  2976. description: 物流地址(物流机构)
  2977. type: string
  2978. userid:
  2979. description: 机构用户ID其他做市关系,都设置为 1
  2980. type: integer
  2981. required:
  2982. - roletype
  2983. - userid
  2984. type: object
  2985. models.Clientfixedadconfig:
  2986. properties:
  2987. adsort:
  2988. description: 排序
  2989. type: integer
  2990. adtype:
  2991. description: 广告位类型 - 1:新品抢购(HSBY)
  2992. type: integer
  2993. areauserid:
  2994. description: 所属机构ID
  2995. type: integer
  2996. createdate:
  2997. description: 创建时间
  2998. type: string
  2999. creatorid:
  3000. description: 创建人
  3001. type: integer
  3002. imagepath:
  3003. description: 图片
  3004. type: string
  3005. isshow:
  3006. description: 是否展示 - 0:不展示 1:展示
  3007. type: integer
  3008. modifierid:
  3009. description: 操作人
  3010. type: integer
  3011. recsize:
  3012. description: 推荐尺寸
  3013. type: string
  3014. title:
  3015. description: 标题
  3016. type: string
  3017. updatedate:
  3018. description: 更新时间
  3019. type: string
  3020. urlcontent:
  3021. description: 链接(地址或商品ID)
  3022. type: string
  3023. urltype:
  3024. description: 链接类型 - 1:直接地址 2:商品ID
  3025. type: integer
  3026. required:
  3027. - adsort
  3028. - adtype
  3029. type: object
  3030. models.Division:
  3031. properties:
  3032. autoid:
  3033. description: 自增ID
  3034. type: integer
  3035. divisioncode:
  3036. description: 行政代码
  3037. type: string
  3038. divisionlevel:
  3039. description: 行政级别
  3040. type: string
  3041. divisionname:
  3042. description: 行政名称
  3043. type: string
  3044. modifierid:
  3045. description: 修改人
  3046. type: integer
  3047. modifytime:
  3048. description: 修改时间
  3049. type: string
  3050. parentcode:
  3051. description: 上级行政代码
  3052. type: string
  3053. pathname:
  3054. description: 路径名称
  3055. type: string
  3056. postcode:
  3057. description: 邮政编码
  3058. type: string
  3059. separablename:
  3060. description: 可拆分的全称
  3061. type: string
  3062. shortcode:
  3063. description: 地区简码
  3064. type: string
  3065. required:
  3066. - autoid
  3067. - divisioncode
  3068. type: object
  3069. models.Enumdicitem:
  3070. properties:
  3071. autoid:
  3072. description: 自增ID
  3073. type: integer
  3074. bankmappedvalue:
  3075. description: 银行服务对应值
  3076. type: string
  3077. enumdiccode:
  3078. description: 所属枚举代码
  3079. type: string
  3080. enumdicid:
  3081. description: 所属枚举ID
  3082. type: integer
  3083. enumdicname:
  3084. description: 枚举项名称
  3085. type: string
  3086. enumitemname:
  3087. description: 枚举项值
  3088. type: integer
  3089. enumitemstatus:
  3090. description: 枚举项状态 - 1.启用 2.不启用
  3091. type: integer
  3092. enumitemvalue:
  3093. description: 通用值 - [币种通用简写]
  3094. type: string
  3095. param1:
  3096. description: 参数1[币种:币种小数位]
  3097. type: string
  3098. param2:
  3099. description: 参数1[币种:币种显示单位]
  3100. type: string
  3101. remark:
  3102. description: 备注
  3103. type: string
  3104. required:
  3105. - autoid
  3106. - enumdiccode
  3107. - enumdicid
  3108. - enumitemname
  3109. type: object
  3110. models.Ermcp3AreaSpot:
  3111. properties:
  3112. areauserid:
  3113. description: 所属机构
  3114. type: integer
  3115. decreaseqty:
  3116. description: 减少数量=-(销售已定价数量+采购计划数量)
  3117. type: number
  3118. deliverygoodscode:
  3119. description: 现货品种代码
  3120. type: string
  3121. deliverygoodsid:
  3122. description: 现货品种id
  3123. type: integer
  3124. deliverygoodsname:
  3125. description: 现货品种名称
  3126. type: string
  3127. enumdicname:
  3128. description: 单位名称
  3129. type: string
  3130. goodsunitid:
  3131. description: 现货品种单位id
  3132. type: integer
  3133. increaseqty:
  3134. description: 增加数量=销售计划数量+采购已定价数量
  3135. type: number
  3136. oritoalspotqty:
  3137. description: 昨日数量
  3138. type: number
  3139. totalspotqty:
  3140. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3141. type: number
  3142. updatetime:
  3143. description: 更新时间
  3144. type: string
  3145. type: object
  3146. models.Ermcp3AreaSpotDetail:
  3147. properties:
  3148. contracttype:
  3149. description: 合同类型 1-采购 -1-销售
  3150. type: integer
  3151. createtime:
  3152. description: 创建时间
  3153. type: string
  3154. deliverygoodscode:
  3155. description: 现货品种代码
  3156. type: string
  3157. deliverygoodsid:
  3158. description: 现货品种id
  3159. type: integer
  3160. deliverygoodsname:
  3161. description: 现货品种名称
  3162. type: string
  3163. enumdicname:
  3164. description: 现货商品单位名称
  3165. type: string
  3166. logtype:
  3167. description: 记录类型 1-套保 2-现货合同
  3168. type: integer
  3169. qty:
  3170. description: 数量
  3171. type: number
  3172. recordname:
  3173. description: 类型名称
  3174. type: string
  3175. relatedid:
  3176. description: 套保计划ID/现货合同ID
  3177. type: string
  3178. relatedno:
  3179. description: 编号
  3180. type: string
  3181. strtime:
  3182. description: 时间
  3183. type: string
  3184. type: object
  3185. models.Ermcp3AreaSpotPLReport:
  3186. properties:
  3187. accountid:
  3188. description: 期货账户ID (作废, 默认为0)
  3189. type: integer
  3190. accountname:
  3191. description: 机构名称
  3192. type: string
  3193. actualpl:
  3194. description: 现货损益
  3195. type: number
  3196. areauserid:
  3197. description: 所属机构\交易用户ID
  3198. type: integer
  3199. begindate:
  3200. description: 开始交易日
  3201. type: string
  3202. biztype:
  3203. description: 业务类型 - 1:套保 2:套利
  3204. type: integer
  3205. brandname:
  3206. description: 品牌名称
  3207. type: string
  3208. curamount:
  3209. description: 期末额
  3210. type: number
  3211. curaverageprice:
  3212. description: 期末均价
  3213. type: number
  3214. curbuyamount:
  3215. description: 期末采购总额
  3216. type: number
  3217. curbuyqty:
  3218. description: 期末采购总量
  3219. type: number
  3220. curmarketvalue:
  3221. description: 参考市值(期末市值)
  3222. type: number
  3223. curqty:
  3224. description: 期末量
  3225. type: number
  3226. currencyid:
  3227. description: 结算币种ID【原值】
  3228. type: integer
  3229. currencyname:
  3230. description: 币种名称
  3231. type: string
  3232. cursellamount:
  3233. description: 期末销售总额
  3234. type: number
  3235. cursellqty:
  3236. description: 期末销售总量
  3237. type: number
  3238. curspotprice:
  3239. description: 参考市价(最新价)
  3240. type: number
  3241. cycletime:
  3242. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3243. type: string
  3244. cycletype:
  3245. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3246. type: integer
  3247. deliverygoodscode:
  3248. description: 现货商品代码
  3249. type: string
  3250. deliverygoodsid:
  3251. description: 现货品种ID
  3252. type: integer
  3253. deliverygoodsname:
  3254. description: 现货商品名称
  3255. type: string
  3256. enddate:
  3257. description: 结束交易日
  3258. type: string
  3259. enumdicname:
  3260. description: 现货商品单位名称
  3261. type: string
  3262. floatpl:
  3263. description: 浮动损益
  3264. type: number
  3265. goodsunitid:
  3266. description: 现货商品单位id
  3267. type: integer
  3268. oriamount:
  3269. description: 期初额
  3270. type: number
  3271. oriaverageprice:
  3272. description: 期初均价
  3273. type: number
  3274. oribuyamount:
  3275. description: 期初采购总额
  3276. type: number
  3277. oribuyqty:
  3278. description: 期初采购总量
  3279. type: number
  3280. oriqty:
  3281. description: 期初量
  3282. type: number
  3283. orisellamount:
  3284. description: 期初销售总额
  3285. type: number
  3286. orisellqty:
  3287. description: 期初销售总量
  3288. type: number
  3289. reckondate:
  3290. description: 日照时期(yyyyMMdd)
  3291. type: string
  3292. spotgoodsbrandid:
  3293. description: 现货品牌ID
  3294. type: integer
  3295. todaybuyamount:
  3296. description: 今日采购额(今采购额)
  3297. type: number
  3298. todaybuyaverageprice:
  3299. description: 今日采购均价
  3300. type: number
  3301. todaybuyqty:
  3302. description: 今日采购量(今采购量)
  3303. type: number
  3304. todayinqty:
  3305. description: 今日入库量(今入库量)
  3306. type: number
  3307. todayoutqty:
  3308. description: 今日出库量(今出库量)
  3309. type: number
  3310. todaysellamount:
  3311. description: 今日销售额(今销售额)
  3312. type: number
  3313. todaysellaverageprice:
  3314. description: 今日销售均价
  3315. type: number
  3316. todaysellqty:
  3317. description: 今日销售量(今销售量)
  3318. type: number
  3319. unitid:
  3320. description: 品类单位id
  3321. type: integer
  3322. unitidname:
  3323. description: 品类单位名称
  3324. type: string
  3325. updatetime:
  3326. description: 更新时间
  3327. type: string
  3328. wrfactortypeid:
  3329. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3330. type: integer
  3331. wrstandardcode:
  3332. description: 品类代码
  3333. type: string
  3334. wrstandardid:
  3335. description: 现货品类ID
  3336. type: integer
  3337. wrstandardname:
  3338. description: 品类名称
  3339. type: string
  3340. type: object
  3341. models.Ermcp3AreaStock:
  3342. properties:
  3343. brandname:
  3344. description: 品牌名称
  3345. type: string
  3346. curstock:
  3347. description: 期末库存量(今日量)
  3348. type: number
  3349. deliverygoodscode:
  3350. description: 现货品种代码
  3351. type: string
  3352. deliverygoodsid:
  3353. description: 现货品种id
  3354. type: integer
  3355. deliverygoodsname:
  3356. description: 现货品种名称
  3357. type: string
  3358. enumdicname:
  3359. description: 单位名称
  3360. type: string
  3361. goodsunitid:
  3362. description: 现货商品单位id
  3363. type: integer
  3364. oristock:
  3365. description: 期初库存量(昨日量)
  3366. type: number
  3367. spotgoodsbrandid:
  3368. description: 现货品牌ID
  3369. type: integer
  3370. todaybuyinqty:
  3371. description: 今日采购入库量
  3372. type: number
  3373. todayproduceinqty:
  3374. description: 今日生产入库量
  3375. type: number
  3376. todayproduceoutqty:
  3377. description: 今日生产出库量
  3378. type: number
  3379. todayselloutqty:
  3380. description: 今日销售出库量
  3381. type: number
  3382. unitid:
  3383. description: 单位id
  3384. type: integer
  3385. updatetime:
  3386. description: 更新时间
  3387. type: string
  3388. userid:
  3389. description: 机构ID
  3390. type: integer
  3391. username:
  3392. description: 机构名称
  3393. type: string
  3394. warehousecode:
  3395. description: 仓库代码
  3396. type: string
  3397. warehouseinfoid:
  3398. description: 仓库ID
  3399. type: string
  3400. warehousename:
  3401. description: 仓库名称
  3402. type: string
  3403. warehousetype:
  3404. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3405. type: integer
  3406. wrstandardcode:
  3407. description: 品类代码
  3408. type: string
  3409. wrstandardid:
  3410. description: 品类ID
  3411. type: string
  3412. wrstandardname:
  3413. description: 品类名称
  3414. type: string
  3415. required:
  3416. - userid
  3417. type: object
  3418. models.Ermcp3AreaStockApply:
  3419. properties:
  3420. applyid:
  3421. description: 申请人
  3422. type: integer
  3423. applyname:
  3424. description: 申请人名称
  3425. type: string
  3426. applyremark:
  3427. description: 申请备注
  3428. type: string
  3429. applysrc:
  3430. description: 申请来源 - 1:管理端 2:终端
  3431. type: integer
  3432. applystatus:
  3433. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3434. type: integer
  3435. applytime:
  3436. description: 申请时间
  3437. type: string
  3438. auditid:
  3439. description: 审核人
  3440. type: integer
  3441. auditname:
  3442. description: 审核人名称
  3443. type: string
  3444. auditremark:
  3445. description: 审核备注
  3446. type: string
  3447. auditsrc:
  3448. description: 审核来源 - 1:管理端 2:终端
  3449. type: integer
  3450. audittime:
  3451. description: 审核时间
  3452. type: string
  3453. audittradedate:
  3454. description: 审核交易日(yyyyMMdd)
  3455. type: string
  3456. brandname:
  3457. description: 品牌名称
  3458. type: string
  3459. buynickname:
  3460. description: 采购方昵称
  3461. type: string
  3462. buyuserid:
  3463. description: 采购方userid
  3464. type: integer
  3465. buyusername:
  3466. description: 采购方名称
  3467. type: string
  3468. contractno:
  3469. description: 合同编号
  3470. type: string
  3471. contractqty:
  3472. description: 合同量
  3473. type: number
  3474. contracttype:
  3475. description: 现货合同类型 - 1:采购 -1:销售
  3476. type: integer
  3477. deliverygoodscode:
  3478. description: 现货品种代码
  3479. type: string
  3480. deliverygoodsid:
  3481. description: 现货品种id
  3482. type: integer
  3483. deliverygoodsname:
  3484. description: 现货品种名称
  3485. type: string
  3486. detailjson:
  3487. description: 明细数据
  3488. type: string
  3489. enumdicname:
  3490. description: 现货商品单位名称
  3491. type: string
  3492. inoutapplyid:
  3493. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3494. type: string
  3495. inouttype:
  3496. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3497. type: integer
  3498. pricetype:
  3499. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3500. type: integer
  3501. qty:
  3502. description: 数量
  3503. type: number
  3504. sellnickname:
  3505. description: 销售方昵称
  3506. type: string
  3507. selluserid:
  3508. description: 销售方userid
  3509. type: integer
  3510. sellusername:
  3511. description: 销售方名称
  3512. type: string
  3513. spotcontractid:
  3514. description: 关联现货合同ID
  3515. type: string
  3516. spotgoodsbrandid:
  3517. description: 现货品牌ID
  3518. type: integer
  3519. unitid:
  3520. description: 单位id
  3521. type: integer
  3522. userid:
  3523. description: 机构ID
  3524. type: integer
  3525. warehousecode:
  3526. description: 仓库代码
  3527. type: string
  3528. warehouseinfoid:
  3529. description: 现货仓库ID
  3530. type: string
  3531. warehousename:
  3532. description: 仓库名称
  3533. type: string
  3534. warehousetype:
  3535. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3536. type: integer
  3537. wrstandardcode:
  3538. description: 品类代码
  3539. type: string
  3540. wrstandardid:
  3541. description: 品类ID
  3542. type: integer
  3543. wrstandardname:
  3544. description: 品类名称
  3545. type: string
  3546. type: object
  3547. models.Ermcp3AreaStockApplySum:
  3548. properties:
  3549. brandname:
  3550. description: 品牌名称
  3551. type: string
  3552. inouttype:
  3553. description: 出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库
  3554. type: integer
  3555. spotcontractid:
  3556. description: 关联现货合同ID
  3557. type: string
  3558. spotgoodsbrandid:
  3559. description: 品牌id
  3560. type: integer
  3561. totalqty:
  3562. description: 总数量
  3563. type: number
  3564. wrstandardid:
  3565. description: 品类id
  3566. type: integer
  3567. wrstandardname:
  3568. description: 品类名称
  3569. type: string
  3570. type: object
  3571. models.Ermcp3AreaStockReportEx:
  3572. properties:
  3573. begindate:
  3574. description: 开始交易日
  3575. type: string
  3576. brandname:
  3577. description: 品牌名称
  3578. type: string
  3579. curstock:
  3580. description: 期末库存量
  3581. type: number
  3582. cycletime:
  3583. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3584. type: string
  3585. cycletype:
  3586. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3587. type: integer
  3588. deliverygoodscode:
  3589. description: 现货品种代码
  3590. type: string
  3591. deliverygoodsid:
  3592. description: 现货品种id
  3593. type: integer
  3594. deliverygoodsname:
  3595. description: 现货品种名称
  3596. type: string
  3597. diffqty:
  3598. description: 库存变化量 = 期末 - 期初
  3599. type: number
  3600. enddate:
  3601. description: 结束交易日
  3602. type: string
  3603. enumdicname:
  3604. description: 单位名称
  3605. type: string
  3606. goodsunitid:
  3607. description: 现货单位id
  3608. type: integer
  3609. oristock:
  3610. description: 期初库存量
  3611. type: number
  3612. reckondate:
  3613. description: 日照时期(yyyyMMdd)
  3614. type: string
  3615. spotgoodsbrandid:
  3616. description: 现货品牌ID
  3617. type: integer
  3618. todaybuyinqty:
  3619. description: 今采购入库量
  3620. type: number
  3621. todayproduceinqty:
  3622. description: 今内部入库量
  3623. type: number
  3624. todayproduceoutqty:
  3625. description: 今内部出库量
  3626. type: number
  3627. todayselloutqty:
  3628. description: 今销售出库量
  3629. type: number
  3630. unbuyinqty:
  3631. description: 采购未入库量(数据库未找到相关字段?)
  3632. type: number
  3633. unitid:
  3634. description: 品类单位id
  3635. type: integer
  3636. unselloutqty:
  3637. description: 销售未出库量(数据库未找到相关字段?)
  3638. type: number
  3639. updatetime:
  3640. description: 更新时间
  3641. type: string
  3642. userid:
  3643. description: 机构ID
  3644. type: integer
  3645. username:
  3646. description: 机构名称
  3647. type: string
  3648. warehousecode:
  3649. description: 仓库代码
  3650. type: string
  3651. warehouseinfoid:
  3652. description: 仓库ID
  3653. type: string
  3654. warehousename:
  3655. description: 仓库名称
  3656. type: string
  3657. warehousetype:
  3658. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3659. type: integer
  3660. wrstandardcode:
  3661. description: 品类代码
  3662. type: string
  3663. wrstandardid:
  3664. description: 品类ID
  3665. type: integer
  3666. wrstandardname:
  3667. description: 品类名称
  3668. type: string
  3669. type: object
  3670. models.Ermcp3ArealSumPL:
  3671. properties:
  3672. accountname:
  3673. description: 机构名称
  3674. type: string
  3675. areauserid:
  3676. description: 所属机构\交易用户ID
  3677. type: integer
  3678. begindate:
  3679. description: 开始交易日
  3680. type: string
  3681. currencyid:
  3682. description: 结算币种ID
  3683. type: integer
  3684. currencyname:
  3685. description: 币种名称
  3686. type: string
  3687. cycletime:
  3688. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3689. type: string
  3690. cycletype:
  3691. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3692. type: integer
  3693. enddate:
  3694. description: 结束交易日
  3695. type: string
  3696. enumdicname:
  3697. description: 单位名称(套保品种)
  3698. type: string
  3699. futureactualpl:
  3700. description: 期货损益
  3701. type: number
  3702. futurefloatpl:
  3703. description: 期货浮动损益
  3704. type: number
  3705. goodsunitid:
  3706. description: 套保品种单位id
  3707. type: integer
  3708. middlegoodscode:
  3709. description: 套保品种代码
  3710. type: string
  3711. middlegoodsid:
  3712. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3713. type: integer
  3714. middlegoodsname:
  3715. description: 套保品种名称
  3716. type: string
  3717. reckondate:
  3718. description: 日照时期(yyyyMMdd)
  3719. type: string
  3720. spotactualpl:
  3721. description: 现货损益
  3722. type: number
  3723. spotfloatpl:
  3724. description: 现货浮动损益
  3725. type: number
  3726. sumactualpl:
  3727. description: 实际损益 = (ActualPL + FutureActualPL)
  3728. type: number
  3729. sumpl:
  3730. description: 汇总损益
  3731. type: number
  3732. updatetime:
  3733. description: 更新时间
  3734. type: string
  3735. type: object
  3736. models.Ermcp3Brand:
  3737. properties:
  3738. areauserid:
  3739. description: 用户id
  3740. type: integer
  3741. brandid:
  3742. description: 品牌id
  3743. type: integer
  3744. brandname:
  3745. description: 品牌名称
  3746. type: string
  3747. deliverygoodsid:
  3748. description: 品种ID
  3749. type: integer
  3750. type: object
  3751. models.Ermcp3Contract:
  3752. properties:
  3753. accountid:
  3754. description: 期货账户id
  3755. type: string
  3756. amount:
  3757. description: 金额 [1:一口价、3:暂定价]
  3758. type: number
  3759. attachment:
  3760. description: 附件
  3761. type: string
  3762. auditremark:
  3763. description: 审核意见
  3764. type: string
  3765. audittime:
  3766. description: 审核时间
  3767. type: string
  3768. biztype:
  3769. description: 业务类型 1-套保 2-套利
  3770. type: integer
  3771. brandname:
  3772. description: 品牌名称
  3773. type: string
  3774. buynickname:
  3775. description: 销售方昵称
  3776. type: string
  3777. buyuserid:
  3778. description: 采购方ID
  3779. type: integer
  3780. buyusername:
  3781. description: 采购方名称
  3782. type: string
  3783. contracctstatus:
  3784. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3785. type: integer
  3786. contractmargin:
  3787. description: 合同保证金
  3788. type: number
  3789. contractno:
  3790. description: 现货合同编号
  3791. type: string
  3792. contracttype:
  3793. description: 现货合同类型 - 1:采购 -1:销售
  3794. type: integer
  3795. convertfactor:
  3796. description: 标仓系数(品类)
  3797. type: number
  3798. createtime:
  3799. description: 创建时间
  3800. type: string
  3801. currencyid:
  3802. description: 币种id
  3803. type: integer
  3804. currencyname:
  3805. description: 币种名称
  3806. type: string
  3807. deliveryenddate:
  3808. description: 交收期(结束)
  3809. type: string
  3810. deliverygoodscode:
  3811. description: 现货品种代码
  3812. type: string
  3813. deliverygoodsid:
  3814. description: 现货品种ID
  3815. type: integer
  3816. deliverygoodsname:
  3817. description: 现货品种名称
  3818. type: string
  3819. deliverystartdate:
  3820. description: 交收期(开始)
  3821. type: string
  3822. enddate:
  3823. description: 点价结束日期 [2:点价 3:暂定价]
  3824. type: string
  3825. enumdicname:
  3826. description: 单位名称
  3827. type: string
  3828. goodscode:
  3829. description: 点价合约代码
  3830. type: string
  3831. goodsid:
  3832. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3833. type: integer
  3834. goodsname:
  3835. description: 点价商品名称
  3836. type: string
  3837. margin:
  3838. description: 当前保证金
  3839. type: number
  3840. meruserid:
  3841. description: 跟单员id
  3842. type: integer
  3843. meruserlogincode:
  3844. description: 跟单员登录代码
  3845. type: string
  3846. price:
  3847. description: 价格\暂定价 [1:一口价、3:暂定价]
  3848. type: number
  3849. pricemove:
  3850. description: 升贴水 [2:点价 3:暂定价]
  3851. type: number
  3852. pricetype:
  3853. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3854. type: integer
  3855. producttype:
  3856. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3857. type: integer
  3858. qty:
  3859. description: 数量
  3860. type: number
  3861. remark:
  3862. description: 备注
  3863. type: string
  3864. saleuserid:
  3865. description: 业务员id
  3866. type: integer
  3867. saleuserlogincode:
  3868. description: 业务员登录代码
  3869. type: string
  3870. sellnickname:
  3871. description: 采购方昵称
  3872. type: string
  3873. selluserid:
  3874. description: 销售方ID
  3875. type: integer
  3876. sellusername:
  3877. description: 销售方名称
  3878. type: string
  3879. spotcontractid:
  3880. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3881. type: string
  3882. spotgoodsbrandid:
  3883. description: 现货品牌ID(DGFactoryItem表的ID)
  3884. type: integer
  3885. spotgoodsdesc:
  3886. description: 商品型号
  3887. type: string
  3888. startdate:
  3889. description: 点价开始日期 [2:点价 3:暂定价]
  3890. type: string
  3891. tradeuserid:
  3892. description: 交易员id
  3893. type: integer
  3894. tradeuserlogincode:
  3895. description: 交易员登录代码
  3896. type: string
  3897. tradeusername:
  3898. description: 交易员名称
  3899. type: string
  3900. unitid:
  3901. description: 单位id(取品类上的单位id)
  3902. type: integer
  3903. updatetime:
  3904. description: 更新时间
  3905. type: string
  3906. userid:
  3907. description: 所属机构ID
  3908. type: integer
  3909. wrstandardcode:
  3910. description: 品类代码
  3911. type: string
  3912. wrstandardid:
  3913. description: 品类ID
  3914. type: integer
  3915. wrstandardname:
  3916. description: 品类名称
  3917. type: string
  3918. type: object
  3919. models.Ermcp3ExposureContractDetail:
  3920. properties:
  3921. biztype:
  3922. description: 业务类型 1-套保 2-套利
  3923. type: integer
  3924. brandname:
  3925. description: 品牌名称
  3926. type: string
  3927. buyuserid:
  3928. description: 采购方id
  3929. type: integer
  3930. buyusername:
  3931. description: 采购方名称
  3932. type: string
  3933. contractno:
  3934. description: 合同编号
  3935. type: string
  3936. contracttype:
  3937. description: 现货合同类型 - 1:采购 -1:销售
  3938. type: integer
  3939. convertratio:
  3940. description: 折算系数(套保品种)
  3941. type: number
  3942. curqty:
  3943. description: 今定价量
  3944. type: number
  3945. deliverygoodscode:
  3946. description: 现货商品代码
  3947. type: string
  3948. deliverygoodsid:
  3949. description: 现货商品id
  3950. type: integer
  3951. deliverygoodsname:
  3952. description: 现货商品名称
  3953. type: string
  3954. diffqty:
  3955. description: 套保品种今变动量
  3956. type: number
  3957. enumdicname:
  3958. description: 单位名称
  3959. type: string
  3960. middlegoodscode:
  3961. description: 套保品种代码
  3962. type: string
  3963. middlegoodsid:
  3964. description: 套保品种id
  3965. type: integer
  3966. middlegoodsname:
  3967. description: 套保品种名称
  3968. type: string
  3969. needarbitrageratio:
  3970. description: 应套利比例
  3971. type: number
  3972. needhedgeratio:
  3973. description: 应套保比例
  3974. type: number
  3975. pricedqty:
  3976. description: 已定价量
  3977. type: number
  3978. qty:
  3979. description: 合同量
  3980. type: number
  3981. selluserid:
  3982. description: 销售方id
  3983. type: integer
  3984. sellusername:
  3985. description: 销售方名称
  3986. type: string
  3987. spotcontractid:
  3988. description: 合同id
  3989. type: string
  3990. tradedate:
  3991. description: 交易日
  3992. type: string
  3993. unitid:
  3994. description: 品类单位id
  3995. type: integer
  3996. userid:
  3997. description: 机构id
  3998. type: integer
  3999. wrstandardcode:
  4000. description: 品类代码
  4001. type: string
  4002. wrstandardid:
  4003. description: 品类id
  4004. type: integer
  4005. wrstandardname:
  4006. description: 品类名称
  4007. type: string
  4008. type: object
  4009. models.Ermcp3ExposureDetail:
  4010. properties:
  4011. areauserid:
  4012. description: 机构ID
  4013. type: integer
  4014. changeQty:
  4015. description: 套保变动量
  4016. type: number
  4017. contracttype:
  4018. description: 现货合同类型 - 1:采购 -1:销售
  4019. type: integer
  4020. convertfactor:
  4021. description: 标仓系数
  4022. type: number
  4023. convertratio:
  4024. description: 套保系数
  4025. type: number
  4026. createtime:
  4027. description: 时间
  4028. type: string
  4029. deliverygoodscode:
  4030. description: 现货品种代码
  4031. type: string
  4032. deliverygoodsid:
  4033. description: 现货品种id
  4034. type: integer
  4035. deliverygoodsname:
  4036. description: 现货品种名称
  4037. type: string
  4038. enumdicname:
  4039. description: 现货商品单位名称
  4040. type: string
  4041. logtype:
  4042. description: 类型 - 1:套保计划 2:现货合同
  4043. type: integer
  4044. mgunitid:
  4045. description: 套保品种单位id
  4046. type: integer
  4047. mgunitidname:
  4048. description: 套保品种单位名称
  4049. type: string
  4050. middlegoodsId:
  4051. description: 套保商品id
  4052. type: integer
  4053. middlegoodscode:
  4054. description: 套保商品代码
  4055. type: string
  4056. middlegoodsname:
  4057. description: 套保商品名称
  4058. type: string
  4059. qty:
  4060. description: 数量
  4061. type: number
  4062. relateNo:
  4063. description: 现货合同/套保计划编号
  4064. type: string
  4065. type: object
  4066. models.Ermcp3ExposureHedgeplanDetail:
  4067. properties:
  4068. biztype:
  4069. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4070. type: integer
  4071. changqty:
  4072. description: 应套保总量变化量
  4073. type: number
  4074. contracttype:
  4075. description: 计划类型 - 1:采购 -1:销售
  4076. type: integer
  4077. convertratio:
  4078. description: 折算系数(套保品种)
  4079. type: number
  4080. deliverygoodscode:
  4081. description: 现货商品代码
  4082. type: string
  4083. deliverygoodsid:
  4084. description: 现货商品id
  4085. type: integer
  4086. deliverygoodsname:
  4087. description: 现货商吕名称
  4088. type: string
  4089. dgunitid:
  4090. description: 现货商品单位id
  4091. type: integer
  4092. dgunitidname:
  4093. description: 单位名称(现货商品)
  4094. type: string
  4095. diffqty:
  4096. description: 套保品种今变动量
  4097. type: number
  4098. enumdicname:
  4099. description: 单位名称(品类)
  4100. type: string
  4101. hedgeplanid:
  4102. description: 套保计划id
  4103. type: string
  4104. hedgeplanno:
  4105. description: 套保计划编号
  4106. type: string
  4107. hedgeplanstatus:
  4108. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4109. type: integer
  4110. mgunitidname:
  4111. description: 单位名称(套保商品)
  4112. type: string
  4113. middlegoodscode:
  4114. description: 套保品种代码
  4115. type: string
  4116. middlegoodsid:
  4117. description: 套保品种id
  4118. type: integer
  4119. middlegoodsname:
  4120. description: 套保品种名称
  4121. type: string
  4122. needarbitrageratio:
  4123. description: 应套利比例
  4124. type: number
  4125. needhedgeratio:
  4126. description: 应套保比例
  4127. type: number
  4128. pricedqty:
  4129. description: 已定价量
  4130. type: number
  4131. qty:
  4132. description: 合同量
  4133. type: number
  4134. tradedate:
  4135. description: 交易日(登记日)
  4136. type: string
  4137. unitid:
  4138. description: 品类单位id
  4139. type: integer
  4140. userid:
  4141. description: 机构id
  4142. type: integer
  4143. wrstandardcode:
  4144. description: 品类代码
  4145. type: string
  4146. wrstandardid:
  4147. description: 品类id
  4148. type: integer
  4149. wrstandardname:
  4150. description: 品类名称
  4151. type: string
  4152. type: object
  4153. models.Ermcp3ExpourseReport:
  4154. properties:
  4155. accountid:
  4156. description: 期货账户ID (作废, 默认为0)
  4157. type: integer
  4158. accountname:
  4159. description: 机构名称
  4160. type: string
  4161. arbitrageqty:
  4162. description: 套利量
  4163. type: number
  4164. areauserid:
  4165. description: 所属机构\交易用户ID
  4166. type: integer
  4167. begindate:
  4168. description: 开始交易日
  4169. type: string
  4170. buyfutureqty:
  4171. description: 买入期货数量
  4172. type: number
  4173. buyplanqty:
  4174. description: 采购计划数量
  4175. type: number
  4176. buypricedqty:
  4177. description: 采购合同已定价数量
  4178. type: number
  4179. cycletime:
  4180. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4181. type: string
  4182. cycletype:
  4183. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4184. type: integer
  4185. diffexposure:
  4186. description: 变动量(套保敞口)
  4187. type: number
  4188. difffutuqty:
  4189. description: 变动量(期货)
  4190. type: number
  4191. diffhedgeqty:
  4192. description: 变动量(现货应套保总量)
  4193. type: number
  4194. diffmgqtya:
  4195. description: 套保变动量
  4196. type: number
  4197. diffmgqtyb:
  4198. description: 套利变动量
  4199. type: number
  4200. diffqty:
  4201. description: 变动量(总敞口)
  4202. type: number
  4203. diffspotqty:
  4204. description: 变动量(现货)
  4205. type: number
  4206. enddate:
  4207. description: 结束交易日
  4208. type: string
  4209. enumdicname:
  4210. description: 单位名称
  4211. type: string
  4212. hedgeqty:
  4213. description: 套保量
  4214. type: number
  4215. mgneedhedgeratio:
  4216. description: 套保比例(套保品的)
  4217. type: number
  4218. middlegoodsid:
  4219. description: 套保品种ID
  4220. type: integer
  4221. middlegoodsname:
  4222. description: 套保商品名称
  4223. type: string
  4224. middlgoodscode:
  4225. description: 套保商品代码
  4226. type: string
  4227. needarbitrageqty:
  4228. description: 应套利量
  4229. type: number
  4230. needarbitrageratio:
  4231. description: 套利比例(套保品的)
  4232. type: number
  4233. needhedgeexposoure:
  4234. description: 应套保敞口(套保敞口)
  4235. type: number
  4236. needhedgeqty:
  4237. description: 应套保量
  4238. type: number
  4239. needhedgeratio:
  4240. description: 应套保敞口比例
  4241. type: number
  4242. oriarbitrageqty:
  4243. description: 期初套利量
  4244. type: number
  4245. oribuyfutureqty:
  4246. description: 期初买入期货数量
  4247. type: number
  4248. oribuyplanqty:
  4249. description: 期初采购计划数量
  4250. type: number
  4251. oribuypricedqty:
  4252. description: 期初采购合同已定价数量
  4253. type: number
  4254. orihedgeqty:
  4255. description: 期初套保量
  4256. type: number
  4257. orineedarbitrageqty:
  4258. description: 期初应套利量
  4259. type: number
  4260. orineedhedgeexposoure:
  4261. description: 期初应套保敞口
  4262. type: number
  4263. orineedhedgeqty:
  4264. description: 期初应套保量
  4265. type: number
  4266. orisellfutureqty:
  4267. description: 期初卖出期货数量
  4268. type: number
  4269. orisellplanqty:
  4270. description: 期初销售计划数量
  4271. type: number
  4272. orisellpricedqty:
  4273. description: 期初销售合同已定价数量
  4274. type: number
  4275. oritotalexposure:
  4276. description: 期初实时总敞口
  4277. type: number
  4278. oritotalfutureqty:
  4279. description: 期初期货头寸总量
  4280. type: number
  4281. oritotalneedhedgeqty:
  4282. description: 期初应套保总量
  4283. type: number
  4284. oritotalspotqty:
  4285. description: 期初现货头寸总量
  4286. type: number
  4287. reckondate:
  4288. description: 日照时期(yyyyMMdd)
  4289. type: string
  4290. sellfutureqty:
  4291. description: 卖出期货数量
  4292. type: number
  4293. sellplanqty:
  4294. description: 销售计划数量
  4295. type: number
  4296. sellpricedqty:
  4297. description: 销售合同已定价数量
  4298. type: number
  4299. totalexposure:
  4300. description: 实时总敞口(总敞口)
  4301. type: number
  4302. totalfutureqty:
  4303. description: 期货头寸总量(期货总量)
  4304. type: number
  4305. totalhedgeratio:
  4306. description: 敞口比例
  4307. type: number
  4308. totalneedhedgeqty:
  4309. description: 应套保总量(现货应套保总量)
  4310. type: number
  4311. totalspotqty:
  4312. description: 现货头寸总量
  4313. type: number
  4314. unitid:
  4315. description: 单位id
  4316. type: integer
  4317. updatetime:
  4318. description: 更新时间
  4319. type: string
  4320. type: object
  4321. models.Ermcp3FinanceReport:
  4322. properties:
  4323. accountname:
  4324. description: 机构名称
  4325. type: string
  4326. areauserid:
  4327. description: 所属机构\交易用户ID
  4328. type: integer
  4329. begindate:
  4330. description: 开始交易日
  4331. type: string
  4332. biztype:
  4333. description: 业务类型 - 1:套保 2:套利
  4334. type: integer
  4335. brandname:
  4336. description: 品牌名称
  4337. type: string
  4338. buypreinvoicedamount:
  4339. description: 采购预收票额(预收票额)
  4340. type: number
  4341. buyprepaidamount:
  4342. description: 采购预付款额(预付货款额)
  4343. type: number
  4344. buytodayinvoiceamount:
  4345. description: 采购今收票额(今收票额)
  4346. type: number
  4347. buytodayrefundamount:
  4348. description: 采购今收退款额(今收退款额)
  4349. type: number
  4350. buytodaysettleamount:
  4351. description: 采购今付款额(今付货款额)
  4352. type: number
  4353. buyuninvoicedamount:
  4354. description: 采购应收票额(应收票额)
  4355. type: number
  4356. buyunpaidamount:
  4357. description: 采购应付款额(应付货款额)
  4358. type: number
  4359. currencyid:
  4360. description: 结算币种ID
  4361. type: integer
  4362. currencyname:
  4363. description: 币种名称
  4364. type: string
  4365. cycletime:
  4366. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4367. type: string
  4368. cycletype:
  4369. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4370. type: integer
  4371. deliverygoodscode:
  4372. description: 现货品种代码
  4373. type: string
  4374. deliverygoodsid:
  4375. description: 现货品种ID
  4376. type: integer
  4377. deliverygoodsname:
  4378. description: 现货品种名称
  4379. type: string
  4380. enddate:
  4381. description: 结束交易日
  4382. type: string
  4383. reckondate:
  4384. description: 日照时期(yyyyMMdd)
  4385. type: string
  4386. sellpreinvoicedamount:
  4387. description: 销售预开票额(预开票额)
  4388. type: number
  4389. sellprepaidamount:
  4390. description: 销售预收款额(预收货款额)
  4391. type: number
  4392. selltodayinvoiceamount:
  4393. description: 销售今开票额(今开票额)
  4394. type: number
  4395. selltodayrefundamount:
  4396. description: 销售今付退款额(今付退款额)
  4397. type: number
  4398. selltodaysettleamount:
  4399. description: 销售今收款额(今收货款额)
  4400. type: number
  4401. selluninvoicedamount:
  4402. description: 销售应开票额(应开票额)
  4403. type: number
  4404. sellunpaidamount:
  4405. description: 销售应收款额(应收货款额)
  4406. type: number
  4407. spotgoodsbrandid:
  4408. description: 现货品牌ID
  4409. type: integer
  4410. todaypaysum:
  4411. description: 今付款合计
  4412. type: number
  4413. todayreceivesum:
  4414. description: 今收款合计
  4415. type: number
  4416. updatetime:
  4417. description: 更新时间
  4418. type: string
  4419. wrfactortypeid:
  4420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4421. type: integer
  4422. wrstandardcode:
  4423. description: 品类代码
  4424. type: string
  4425. wrstandardid:
  4426. description: 现货商品ID
  4427. type: integer
  4428. wrstandardname:
  4429. description: 品类名称
  4430. type: string
  4431. type: object
  4432. models.Ermcp3Goods:
  4433. properties:
  4434. agreeunit:
  4435. description: 合约单位(合约乘数)
  4436. type: number
  4437. enumdicname:
  4438. description: 单位名称
  4439. type: string
  4440. exexchangecode:
  4441. description: 交易所代码
  4442. type: string
  4443. goodscode:
  4444. description: 期货商品代码
  4445. type: string
  4446. goodsid:
  4447. description: 期货商品id
  4448. type: integer
  4449. goodsname:
  4450. description: 期货商品名称
  4451. type: string
  4452. type: object
  4453. models.Ermcp3GoodsGroup:
  4454. properties:
  4455. agreeunit:
  4456. description: 合约单位
  4457. type: number
  4458. areauserid:
  4459. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4460. type: integer
  4461. canshort:
  4462. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4463. type: integer
  4464. closepricemode:
  4465. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4466. type: integer
  4467. createtime:
  4468. description: 创建时间
  4469. type: string
  4470. creatorid:
  4471. description: 创建人
  4472. type: integer
  4473. currencyid:
  4474. description: 报价货币ID
  4475. type: integer
  4476. decimalplace:
  4477. description: 报价小数位
  4478. type: integer
  4479. enumdicname:
  4480. description: 单位名称
  4481. type: string
  4482. excludecfg:
  4483. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4484. type: integer
  4485. exexchangeid:
  4486. description: 外部交易所ID[通道交易]
  4487. type: integer
  4488. goodsgroupid:
  4489. description: 商品组ID(自增ID)
  4490. type: integer
  4491. goodsgroupname:
  4492. description: 商品组名称
  4493. type: string
  4494. goodsgroupstatus:
  4495. description: 商品组状态 - 1:正常 2:注销
  4496. type: integer
  4497. goodunitid:
  4498. description: 报价单位ID
  4499. type: integer
  4500. groupcategroyid:
  4501. description: 品种分类ID
  4502. type: integer
  4503. innerdealmode:
  4504. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4505. type: integer
  4506. marketid:
  4507. description: 所属市场ID
  4508. type: integer
  4509. modifierid:
  4510. description: 修改人
  4511. type: integer
  4512. modifytime:
  4513. description: 修改时间
  4514. type: string
  4515. outerdealmode:
  4516. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4517. type: integer
  4518. outergroupcode:
  4519. description: 外部商品组代码[通道交易]
  4520. type: string
  4521. quoteminunit:
  4522. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4523. type: integer
  4524. quotesourcegroupid:
  4525. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4526. type: integer
  4527. syncgoodsqty:
  4528. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4529. type: integer
  4530. required:
  4531. - areauserid
  4532. type: object
  4533. models.Ermcp3GoodsGroupEx:
  4534. properties:
  4535. convertratio:
  4536. description: 折算系数(品种系数)
  4537. type: number
  4538. enumdicname:
  4539. description: 单位名称
  4540. type: string
  4541. exexchangecode:
  4542. description: 交易所代码
  4543. type: string
  4544. glist:
  4545. description: 合约列表
  4546. items:
  4547. $ref: '#/definitions/models.Ermcp3Goods'
  4548. type: array
  4549. goodsgroupid:
  4550. description: 商品组id
  4551. type: integer
  4552. goodsgroupname:
  4553. description: 商品组名称
  4554. type: string
  4555. goodsunitid:
  4556. description: 单位id
  4557. type: integer
  4558. middlegoodsid:
  4559. description: 套保商品id
  4560. type: integer
  4561. type: object
  4562. models.Ermcp3HedgePlan:
  4563. properties:
  4564. accountid:
  4565. description: 资金账号
  4566. type: integer
  4567. areauserid:
  4568. description: 用户ID
  4569. type: integer
  4570. audittime:
  4571. description: 审核时间
  4572. type: string
  4573. contracttype:
  4574. description: 计划类型 - 1:采购 -1:销售
  4575. type: integer
  4576. convertfactor:
  4577. description: 标仓系数
  4578. type: number
  4579. createtime:
  4580. description: 创建时间
  4581. type: string
  4582. currencyid:
  4583. description: 币种id
  4584. type: integer
  4585. currencyname:
  4586. description: 币种名称
  4587. type: string
  4588. deliverygoodscode:
  4589. description: 现货品种代码
  4590. type: string
  4591. deliverygoodsid:
  4592. description: 现货品种ID
  4593. type: integer
  4594. deliverygoodsname:
  4595. description: 现货品种名称
  4596. type: string
  4597. enumdicname:
  4598. description: 单位名称(现货商品)
  4599. type: string
  4600. hedgeplanid:
  4601. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4602. type: string
  4603. hedgeplanno:
  4604. description: 套保计划编号(名称)
  4605. type: string
  4606. hedgeplanstatus:
  4607. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4608. type: integer
  4609. planqty:
  4610. description: 计划数量
  4611. type: number
  4612. plantime:
  4613. description: 计划时间
  4614. type: string
  4615. producttype:
  4616. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4617. type: integer
  4618. remark:
  4619. description: 备注
  4620. type: string
  4621. spotgoodsdesc:
  4622. description: 商品型号
  4623. type: string
  4624. taaccountname:
  4625. description: 资金账号名称
  4626. type: string
  4627. tradeuserid:
  4628. description: 交易用户id
  4629. type: integer
  4630. tradeusername:
  4631. description: 交易用户名称
  4632. type: string
  4633. unitid:
  4634. description: 单位id(现货商品)
  4635. type: integer
  4636. updatetime:
  4637. description: 更新时间
  4638. type: string
  4639. wrstandardcode:
  4640. description: 品类代码
  4641. type: string
  4642. wrstandardid:
  4643. description: 品类id
  4644. type: integer
  4645. wrstandardname:
  4646. description: 品类名称
  4647. type: string
  4648. wrunitid:
  4649. description: 品类单位id
  4650. type: integer
  4651. wrunitidame:
  4652. description: 品类单位名称
  4653. type: string
  4654. type: object
  4655. models.Ermcp3MiddleGoodsDetail2:
  4656. properties:
  4657. convertratio:
  4658. description: 套保系数(折算系数)
  4659. type: number
  4660. gplist:
  4661. description: 关联商品组列表
  4662. items:
  4663. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4664. type: array
  4665. mg:
  4666. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4667. description: 套保商品信息
  4668. type: object
  4669. type: object
  4670. models.Ermcp3MiddleGoodsDetailEx:
  4671. properties:
  4672. dglist:
  4673. description: 关联的现货品种列表
  4674. items:
  4675. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4676. type: array
  4677. gplist:
  4678. description: 关联商品组列表
  4679. items:
  4680. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4681. type: array
  4682. mg:
  4683. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4684. description: 套保商品信息
  4685. type: object
  4686. type: object
  4687. models.Ermcp3SellBuyContract:
  4688. properties:
  4689. accountid:
  4690. description: 期货账户id
  4691. type: string
  4692. accountname:
  4693. description: 账户名称
  4694. type: string
  4695. attachment:
  4696. description: 附件
  4697. type: string
  4698. audittime:
  4699. description: 审核时间
  4700. type: string
  4701. biztype:
  4702. description: 业务类型 1-套保 2-套利
  4703. type: integer
  4704. brandname:
  4705. description: 品牌名称
  4706. type: string
  4707. contracctstatus:
  4708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4709. type: integer
  4710. contractmargin:
  4711. description: 合同保证金
  4712. type: number
  4713. contractno:
  4714. description: 合同编号
  4715. type: string
  4716. contracttype:
  4717. description: 合同类型 1-采购, -1-销售
  4718. type: integer
  4719. convertfactor:
  4720. description: 标仓系数(品类)
  4721. type: number
  4722. createtime:
  4723. description: 创建时间
  4724. type: string
  4725. currencyid:
  4726. description: 币种id
  4727. type: integer
  4728. currencyname:
  4729. description: 币种名称
  4730. type: string
  4731. daikaiamount:
  4732. description: 应收(开)票额
  4733. type: number
  4734. deliveryenddate:
  4735. description: 交割结束日
  4736. type: string
  4737. deliverygoodscode:
  4738. description: 现货品种代码
  4739. type: string
  4740. deliverygoodsid:
  4741. description: 现货商品ID
  4742. type: integer
  4743. deliverygoodsname:
  4744. description: 现货品种名称
  4745. type: string
  4746. deliverystartdate:
  4747. description: 交割开始日
  4748. type: string
  4749. enddate:
  4750. description: 点价结束日
  4751. type: string
  4752. enumdicname:
  4753. description: 单位名称
  4754. type: string
  4755. goodscode:
  4756. description: 点价商品代码
  4757. type: string
  4758. goodsid:
  4759. description: 点价商品ID
  4760. type: integer
  4761. goodsname:
  4762. description: 点价商品名称
  4763. type: string
  4764. invoiceamount:
  4765. description: 已开票额
  4766. type: number
  4767. loanamount:
  4768. description: 贷款总额=已定价额+调整金额
  4769. type: number
  4770. margin:
  4771. description: 保证金
  4772. type: number
  4773. meruserid:
  4774. description: 跟单员id
  4775. type: integer
  4776. meruserlogincode:
  4777. description: 跟单员登录代码
  4778. type: string
  4779. nickname:
  4780. description: 账户昵称
  4781. type: string
  4782. payamount:
  4783. description: 已收付额(收款或付款)
  4784. type: number
  4785. preinvoiceamount:
  4786. description: 预收(开)票额
  4787. type: number
  4788. prepayamount:
  4789. description: 预收付额
  4790. type: number
  4791. price:
  4792. description: 价格
  4793. type: number
  4794. pricedamount:
  4795. description: 已定价额
  4796. type: number
  4797. pricedavg:
  4798. description: 已点均价
  4799. type: number
  4800. pricedqty:
  4801. description: 已定价量
  4802. type: number
  4803. pricemove:
  4804. description: 升贴水
  4805. type: number
  4806. pricetype:
  4807. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4808. type: integer
  4809. producttype:
  4810. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4811. type: integer
  4812. qty:
  4813. description: 合同量
  4814. type: number
  4815. reckonadjustamount:
  4816. description: 调整金额
  4817. type: number
  4818. reckonedamount:
  4819. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  4820. type: number
  4821. reckonotheramount:
  4822. description: 其它费用
  4823. type: number
  4824. reckonrealqty:
  4825. description: 已确定量
  4826. type: number
  4827. remark:
  4828. description: 备注
  4829. type: string
  4830. saleuserid:
  4831. description: 业务员id
  4832. type: integer
  4833. saleuserlogincode:
  4834. description: 业务员登录代码
  4835. type: string
  4836. spotcontractid:
  4837. description: 合同ID
  4838. type: string
  4839. spotgoodsbrandid:
  4840. description: 现货品牌ID(DGFactoryItem表的ID)
  4841. type: integer
  4842. spotgoodsdesc:
  4843. description: 商品型号(商品规格)
  4844. type: string
  4845. startdate:
  4846. description: 点价开始日
  4847. type: string
  4848. totalamount:
  4849. description: 合计总额
  4850. type: number
  4851. tradeuserid:
  4852. description: 交易员id
  4853. type: integer
  4854. tradeuserlogincode:
  4855. description: 交易员登录代码
  4856. type: string
  4857. tradeusername:
  4858. description: 交易员名称
  4859. type: string
  4860. unpayamount:
  4861. description: 应收付款额(应支付或应收款)
  4862. type: number
  4863. unpricedqty:
  4864. description: 未定价量
  4865. type: number
  4866. unsureqty:
  4867. description: 未确定量
  4868. type: number
  4869. userid:
  4870. description: 机构ID
  4871. type: integer
  4872. wrstandardcode:
  4873. description: 品类代码
  4874. type: string
  4875. wrstandardid:
  4876. description: 品类ID
  4877. type: integer
  4878. wrstandardname:
  4879. description: 品类名称
  4880. type: string
  4881. type: object
  4882. models.Ermcp3SpotGoodsPrice:
  4883. properties:
  4884. areauserid:
  4885. description: 所属机构id
  4886. type: integer
  4887. brandname:
  4888. description: 品牌名称
  4889. type: string
  4890. currencyid:
  4891. description: 报价货币ID
  4892. type: integer
  4893. currencyname:
  4894. description: 币种名称
  4895. type: string
  4896. deliverygoodscode:
  4897. description: 现货商品代码
  4898. type: string
  4899. deliverygoodsid:
  4900. description: 现货商品id
  4901. type: integer
  4902. deliverygoodsname:
  4903. description: 现货商品名称
  4904. type: string
  4905. enumdicname:
  4906. description: 现货商品单位名称
  4907. type: string
  4908. gbenumdicname:
  4909. description: 品类单位名称
  4910. type: string
  4911. gmunitid:
  4912. description: 品类单位id
  4913. type: integer
  4914. isvalid:
  4915. description: 是否有效 - 0:无效 1:有效
  4916. type: integer
  4917. operateid:
  4918. description: 最后操作人
  4919. type: integer
  4920. operatesrc:
  4921. description: 最后操作来源 - 1:管理端 2:终端
  4922. type: integer
  4923. operatetime:
  4924. description: 最后操作时间
  4925. type: string
  4926. operatorname:
  4927. description: 操作人名称
  4928. type: string
  4929. spotgoodsbrandid:
  4930. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4931. type: integer
  4932. spotgoodsprice:
  4933. description: 现货价格
  4934. type: number
  4935. tradedate:
  4936. description: 交易日(yyyyMMdd)
  4937. type: string
  4938. unitid:
  4939. description: 现货商品单位id
  4940. type: integer
  4941. wrstandardcode:
  4942. description: 品类代码
  4943. type: string
  4944. wrstandardid:
  4945. description: 现货品类ID(通用则为0)
  4946. type: integer
  4947. wrstandardname:
  4948. description: 品类名称
  4949. type: string
  4950. type: object
  4951. models.Ermcp3SpotGoodsPriceLog:
  4952. properties:
  4953. areauserid:
  4954. description: 所属机构id
  4955. type: integer
  4956. brandname:
  4957. description: 品牌名称
  4958. type: string
  4959. currencyid:
  4960. description: 报价货币ID
  4961. type: integer
  4962. deliverygoodscode:
  4963. description: 现货商品代码
  4964. type: string
  4965. deliverygoodsid:
  4966. description: 现货商品id
  4967. type: integer
  4968. deliverygoodsname:
  4969. description: 现货商品名称
  4970. type: string
  4971. enumdicname:
  4972. description: 现货商品单位名称
  4973. type: string
  4974. gbenumdicname:
  4975. description: 品类单位名称
  4976. type: string
  4977. gmunitid:
  4978. description: 品类单位id
  4979. type: integer
  4980. logid:
  4981. description: 日志id
  4982. type: integer
  4983. operateid:
  4984. description: 最后操作人
  4985. type: integer
  4986. operatesrc:
  4987. description: 最后操作来源 - 1:管理端 2:终端
  4988. type: integer
  4989. operatetime:
  4990. description: 最后操作时间
  4991. type: string
  4992. operatorname:
  4993. description: 操作人名称
  4994. type: string
  4995. spotgoodsbrandid:
  4996. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  4997. type: integer
  4998. spotgoodsprice:
  4999. description: 现货价格
  5000. type: number
  5001. tradedate:
  5002. description: 交易日(yyyyMMdd)
  5003. type: string
  5004. unitid:
  5005. description: 现货商品单位id
  5006. type: integer
  5007. wrstandardcode:
  5008. description: 品类代码
  5009. type: string
  5010. wrstandardid:
  5011. description: 现货品类ID(通用则为0)
  5012. type: integer
  5013. wrstandardname:
  5014. description: 品类名称
  5015. type: string
  5016. type: object
  5017. models.Ermcp3Wrstandard:
  5018. properties:
  5019. areauserid:
  5020. description: 所属机构
  5021. type: integer
  5022. convertfactor:
  5023. description: 标仓系数
  5024. type: number
  5025. createtime:
  5026. description: 创建时间
  5027. type: string
  5028. creatorid:
  5029. description: 创建人
  5030. type: integer
  5031. deliverygoodsid:
  5032. description: 现货品种ID
  5033. type: integer
  5034. enumdicname:
  5035. description: 品类单位名称
  5036. type: string
  5037. isvalid:
  5038. description: 是否有效 0-无效(停用) 1-有效(正常)
  5039. type: integer
  5040. minivalue:
  5041. description: 最小变动值
  5042. type: integer
  5043. minivaluedp:
  5044. description: 最小变动值小数位
  5045. type: integer
  5046. realminivalue:
  5047. description: 实际最小变动值
  5048. type: integer
  5049. realminivaluedp:
  5050. description: 实际最小变动值小数位
  5051. type: integer
  5052. remark:
  5053. description: 备注
  5054. type: string
  5055. unitid:
  5056. description: 品类单位ID
  5057. type: integer
  5058. updatetime:
  5059. description: 更新时间
  5060. type: string
  5061. wrstandardcode:
  5062. description: 品类代码
  5063. type: string
  5064. wrstandardid:
  5065. description: 品类ID(SEQ_WRSTANDARD)
  5066. type: integer
  5067. wrstandardname:
  5068. description: 品类名称
  5069. type: string
  5070. type: object
  5071. models.ErmcpAreaSpotDetailModel:
  5072. properties:
  5073. contracttype:
  5074. description: 合同类型 1-采购 -1-销售
  5075. type: integer
  5076. createtime:
  5077. description: 创建时间
  5078. type: string
  5079. enumdicname:
  5080. description: 现货商品单位名称
  5081. type: string
  5082. logtype:
  5083. description: 记录类型 1-套保 2-现货合同
  5084. type: integer
  5085. qty:
  5086. description: 数量
  5087. type: number
  5088. recordname:
  5089. description: 类型名称
  5090. type: string
  5091. relatedid:
  5092. description: 套保计划ID/现货合同ID
  5093. type: string
  5094. relatedno:
  5095. description: 编号
  5096. type: string
  5097. strtime:
  5098. description: 时间
  5099. type: string
  5100. wrstandardcode:
  5101. description: 现货商品代码
  5102. type: string
  5103. wrstandardname:
  5104. description: 现货商品名称
  5105. type: string
  5106. type: object
  5107. models.ErmcpAvalidGoodsGroupModel:
  5108. properties:
  5109. goodsgroupid:
  5110. description: 期货品种id
  5111. type: integer
  5112. goodsgroupname:
  5113. description: 期货品种名称
  5114. type: string
  5115. goodunitid:
  5116. description: 品种单位id
  5117. type: integer
  5118. goodunitname:
  5119. description: 品种单位名称
  5120. type: string
  5121. outergroupcode:
  5122. description: 期货品种代码
  5123. type: string
  5124. type: object
  5125. models.ErmcpBizGroupEx:
  5126. properties:
  5127. acclist:
  5128. description: 账号列表
  5129. items:
  5130. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5131. type: array
  5132. bizgroupid:
  5133. description: 业务分组id
  5134. type: integer
  5135. biztype:
  5136. description: 业务类型 1-套保 2-套利
  5137. type: integer
  5138. wrlist:
  5139. description: 现货商品表
  5140. items:
  5141. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5142. type: array
  5143. type: object
  5144. models.ErmcpBizGroupSpotGoods:
  5145. properties:
  5146. areauserid:
  5147. description: 所属机构id
  5148. type: integer
  5149. bizgroupid:
  5150. description: 分组id
  5151. type: integer
  5152. biztype:
  5153. description: 业务类型 1-套保 2-套利
  5154. type: integer
  5155. deliverygoodscode:
  5156. description: 现货商品代码
  5157. type: string
  5158. deliverygoodsid:
  5159. description: 现货商品id
  5160. type: integer
  5161. deliverygoodsname:
  5162. description: 现货商品名称
  5163. type: string
  5164. unitid:
  5165. description: 现货商品单位id
  5166. type: integer
  5167. type: object
  5168. models.ErmcpBizGroupTaAccount:
  5169. properties:
  5170. accountid:
  5171. description: 账号id
  5172. type: integer
  5173. accountname:
  5174. description: 账号名称
  5175. type: string
  5176. areauserid:
  5177. description: 所属机构id
  5178. type: integer
  5179. bizgroupid:
  5180. description: 业务分组id
  5181. type: integer
  5182. ismain:
  5183. description: 是否主账号 1-是 0-否
  5184. type: integer
  5185. type: object
  5186. models.ErmcpDGFactoryItem:
  5187. properties:
  5188. areauserid:
  5189. description: 用户id
  5190. type: integer
  5191. deliverygoodsid:
  5192. description: 现货品种ID
  5193. type: integer
  5194. dgfactoryitemid:
  5195. description: 选择项ID(SEQ_DGFACTORYITEM)
  5196. type: integer
  5197. dgfactoryitemtypeid:
  5198. description: 要素项类型
  5199. type: integer
  5200. dgfactoryitemvalue:
  5201. description: 要素项值(类型为仓库时填写仓库名称)
  5202. type: string
  5203. isvalid:
  5204. description: 是否有效 - 0:无效 1:有效
  5205. type: integer
  5206. orderindex:
  5207. description: 顺序
  5208. type: integer
  5209. warehouseid:
  5210. description: 仓库ID(类型为仓库时填写)
  5211. type: integer
  5212. type: object
  5213. models.ErmcpDeliveryGoods:
  5214. properties:
  5215. agreeunit:
  5216. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5217. type: integer
  5218. areauserid:
  5219. description: 所属机构
  5220. type: integer
  5221. auditflag:
  5222. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5223. type: integer
  5224. categoryid:
  5225. description: 类别ID(SEQ_WRCATEGORY)
  5226. type: integer
  5227. deliverygoodscode:
  5228. description: 现货品种代码
  5229. type: string
  5230. deliverygoodsid:
  5231. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5232. type: integer
  5233. deliverygoodsname:
  5234. description: 现货品种名称
  5235. type: string
  5236. deliverygoodstype:
  5237. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5238. type: integer
  5239. dgstatus:
  5240. description: 品种状态 - 作废 - 0:未激活 1:正常
  5241. type: integer
  5242. enumdicname:
  5243. description: 现货品种单位名称
  5244. type: string
  5245. goodsunitid:
  5246. description: 现货品种单位ID
  5247. type: integer
  5248. isvalid:
  5249. description: 是否有效 - 0:无效 1:有效
  5250. type: integer
  5251. qtydecimalplace:
  5252. description: 成交量小数位
  5253. type: integer
  5254. remark:
  5255. description: 备注
  5256. type: string
  5257. standardqty:
  5258. description: 标准数量(库位数量) [标准品特有]
  5259. type: integer
  5260. standardqtyrange:
  5261. description: 标准数量偏差范围 [标准品特有]
  5262. type: integer
  5263. type: object
  5264. models.ErmcpDeliveryGoodsDetail2:
  5265. properties:
  5266. convertratio:
  5267. description: 套保系数(折算系数)
  5268. type: number
  5269. data:
  5270. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5271. description: 现货商品基本信息(交割品种)
  5272. type: object
  5273. gblist:
  5274. description: 品牌列表
  5275. items:
  5276. $ref: '#/definitions/models.Ermcp3Brand'
  5277. type: array
  5278. gmlist:
  5279. description: 品类列表(仓单标准)
  5280. items:
  5281. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5282. type: array
  5283. type: object
  5284. models.ErmcpDeliveryGoodsDetailEx:
  5285. properties:
  5286. data:
  5287. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5288. description: 现货商品基本信息(交割品种)
  5289. type: object
  5290. gblist:
  5291. description: 品牌列表
  5292. items:
  5293. $ref: '#/definitions/models.Ermcp3Brand'
  5294. type: array
  5295. gmlist:
  5296. description: 品类列表(仓单标准)
  5297. items:
  5298. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5299. type: array
  5300. mgList:
  5301. description: 套保列表
  5302. items:
  5303. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5304. type: array
  5305. type: object
  5306. models.ErmcpExposureDetailModel:
  5307. properties:
  5308. areauserid:
  5309. description: 机构ID
  5310. type: integer
  5311. changeQty:
  5312. description: 套保变动量
  5313. type: number
  5314. contracttype:
  5315. description: 现货合同类型 - 1:采购 -1:销售
  5316. type: integer
  5317. convertfactor:
  5318. description: 标仓系数
  5319. type: number
  5320. convertratio:
  5321. description: 套保系数
  5322. type: number
  5323. createtime:
  5324. description: 时间
  5325. type: string
  5326. enumdicname:
  5327. description: 现货商品单位名称
  5328. type: string
  5329. logtype:
  5330. description: 类型 - 1:套保计划 2:现货合同
  5331. type: integer
  5332. middlegoodsId:
  5333. description: 套保商品id
  5334. type: integer
  5335. middlegoodscode:
  5336. description: 套保商品代码
  5337. type: string
  5338. middlegoodsname:
  5339. description: 套保商品名称
  5340. type: string
  5341. qty:
  5342. description: 数量
  5343. type: number
  5344. relateNo:
  5345. description: 现货合同/套保计划编号
  5346. type: string
  5347. wrstandardcode:
  5348. description: 现货商品代码
  5349. type: string
  5350. wrstandardid:
  5351. description: 现货商品ID
  5352. type: integer
  5353. wrstandardname:
  5354. description: 现货商品名称
  5355. type: string
  5356. type: object
  5357. models.ErmcpExposurePostion:
  5358. properties:
  5359. agreeunit:
  5360. description: 合约单位
  5361. type: string
  5362. areauserid:
  5363. description: 所属机构id
  5364. type: integer
  5365. convertratio:
  5366. description: 期货品种系数(折算系数)
  5367. type: number
  5368. curqty:
  5369. description: 当前持仓
  5370. type: integer
  5371. diffhedgeqty:
  5372. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5373. type: number
  5374. diffqty:
  5375. description: 持仓变动量=当前持仓-昨日持仓
  5376. type: integer
  5377. goodscode:
  5378. description: 商品代码
  5379. type: string
  5380. goodsid:
  5381. description: 商品id
  5382. type: integer
  5383. goodsname:
  5384. description: 商品名称
  5385. type: string
  5386. middlegoodsid:
  5387. description: 套保商品id
  5388. type: integer
  5389. ydqty:
  5390. description: 昨日持仓
  5391. type: integer
  5392. type: object
  5393. models.ErmcpFuturesCompany:
  5394. properties:
  5395. brokerid:
  5396. description: 经纪公司代码
  5397. type: string
  5398. channeladdress:
  5399. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5400. type: string
  5401. channelid:
  5402. description: 对冲渠道ID
  5403. type: string
  5404. createtime:
  5405. description: 创建时间
  5406. type: string
  5407. creatorid:
  5408. description: 创建人
  5409. type: string
  5410. fcid:
  5411. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5412. type: integer
  5413. fcname:
  5414. description: 期货公司名称
  5415. type: string
  5416. isvalid:
  5417. description: 是否有效 - 0:无效 1:有效
  5418. type: integer
  5419. mhpaddress:
  5420. description: MHP服务地址(IP:Port)
  5421. type: string
  5422. riskrulegroupid:
  5423. description: 风控规则组ID
  5424. type: string
  5425. tradefeetmpid:
  5426. description: 手续费模板ID[TradeConfigTmpType为2]
  5427. type: string
  5428. trademargintmpid:
  5429. description: 保证金模板ID [TradeConfigTmpType为1]
  5430. type: string
  5431. traderatetmpid:
  5432. description: 汇率模板ID[TradeConfigTmpType为3]
  5433. type: string
  5434. updatetime:
  5435. description: 更新时间
  5436. type: string
  5437. updatorid:
  5438. description: 更新人
  5439. type: string
  5440. type: object
  5441. models.ErmcpGGConvertCfg:
  5442. properties:
  5443. convertratio:
  5444. description: 折算系数
  5445. type: number
  5446. destgoodsgroupid:
  5447. description: 目标品种ID
  5448. type: integer
  5449. dstcode:
  5450. description: 目录品种代码
  5451. type: string
  5452. dstexchangecode:
  5453. description: 目标期货交易所
  5454. type: string
  5455. dstname:
  5456. description: 目标品种名称
  5457. type: string
  5458. dstunitid:
  5459. description: 目标品种单位ID
  5460. type: integer
  5461. dstunitidname:
  5462. description: 目标品种单位名称
  5463. type: string
  5464. modifytime:
  5465. description: 修改时间
  5466. type: string
  5467. srccode:
  5468. description: 源品种代码
  5469. type: string
  5470. srcexchangecode:
  5471. description: 源期货交易所
  5472. type: string
  5473. srcgoodsgroupid:
  5474. description: 源品种ID
  5475. type: integer
  5476. srcname:
  5477. description: 源品种名称
  5478. type: string
  5479. srcunitid:
  5480. description: 源品种单位ID
  5481. type: integer
  5482. srcunitidname:
  5483. description: 源品种单位名称
  5484. type: string
  5485. type: object
  5486. models.ErmcpGoodsBrand:
  5487. properties:
  5488. areauserid:
  5489. description: 所属机构
  5490. type: integer
  5491. brandid:
  5492. description: BrandID(SEQ_SPOTGOODSBRAND)
  5493. type: integer
  5494. brandname:
  5495. description: 品牌名称
  5496. type: string
  5497. createtime:
  5498. description: 创建时间
  5499. type: string
  5500. creatorid:
  5501. description: 创建人
  5502. type: integer
  5503. creatorsrc:
  5504. description: 创建人来源 - 1:管理端 2:终端
  5505. type: integer
  5506. deliverygoodsid:
  5507. description: 现货品种ID
  5508. type: integer
  5509. isvalid:
  5510. description: 是否有效 - 0:无效 1:有效
  5511. type: integer
  5512. updatetime:
  5513. description: 更新时间
  5514. type: string
  5515. updatorid:
  5516. description: 更新人
  5517. type: integer
  5518. updatorsrc:
  5519. description: 更新人来源 - 1:管理端 2:终端
  5520. type: integer
  5521. wrstandardid:
  5522. description: 现货商品ID
  5523. type: integer
  5524. type: object
  5525. models.ErmcpGoodsModel:
  5526. properties:
  5527. areauserid:
  5528. description: 所属机构
  5529. type: integer
  5530. convertfactor:
  5531. description: 标仓系数
  5532. type: number
  5533. createtime:
  5534. description: 创建时间
  5535. type: string
  5536. creatorid:
  5537. description: 创建人
  5538. type: integer
  5539. creatorsrc:
  5540. description: 创建人来源 - 1:管理端 2:终端
  5541. type: integer
  5542. deliverygoodsid:
  5543. description: 现货品种ID
  5544. type: integer
  5545. isvalid:
  5546. description: 是否有效 - 0:无效 1:有效
  5547. type: integer
  5548. modelid:
  5549. description: ModelID(SEQ_SPOTGOODSMODEL)
  5550. type: integer
  5551. modelname:
  5552. description: 型号名称
  5553. type: string
  5554. updatetime:
  5555. description: 更新时间
  5556. type: string
  5557. updatorid:
  5558. description: 更新人
  5559. type: integer
  5560. updatorsrc:
  5561. description: 更新人来源 - 1:管理端 2:终端
  5562. type: integer
  5563. wrstandardid:
  5564. description: 现货商品ID
  5565. type: integer
  5566. type: object
  5567. models.ErmcpHedgePosition:
  5568. properties:
  5569. accountid:
  5570. description: 资金账号[外部母账户]
  5571. type: integer
  5572. curbuyposition:
  5573. description: 期末买头寸
  5574. type: integer
  5575. cursellposition:
  5576. description: 期末卖头寸
  5577. type: integer
  5578. curtdbuyposition:
  5579. description: 期末今日买头寸
  5580. type: integer
  5581. curtdsellposition:
  5582. description: 期末今日卖头寸
  5583. type: integer
  5584. curydbuyposition:
  5585. description: 期末上日买头寸
  5586. type: integer
  5587. curydsellposition:
  5588. description: 期末上日卖头寸
  5589. type: integer
  5590. decreaseqty:
  5591. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  5592. type: integer
  5593. fretdbuyposition:
  5594. description: 冻结今日买头寸
  5595. type: integer
  5596. fretdsellposition:
  5597. description: 冻结今日卖头寸
  5598. type: integer
  5599. freydbuyposition:
  5600. description: 冻结上日买头寸
  5601. type: integer
  5602. freydsellposition:
  5603. description: 冻结上日卖头寸
  5604. type: integer
  5605. goodscode:
  5606. description: 商品代码
  5607. type: string
  5608. goodsid:
  5609. description: 商品id
  5610. type: integer
  5611. goodsname:
  5612. description: 商品名称
  5613. type: string
  5614. hedgeaccountcode:
  5615. description: 对冲账号
  5616. type: string
  5617. hedgegoodsid:
  5618. description: 对冲合约ID
  5619. type: integer
  5620. increaseqty:
  5621. description: 增加数量 = 期末买头寸 - 期初买头寸
  5622. type: integer
  5623. marketid:
  5624. description: 市场ID
  5625. type: integer
  5626. relateduserid:
  5627. description: 关联用户id
  5628. type: integer
  5629. totalcurqty:
  5630. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  5631. type: integer
  5632. totalydqty:
  5633. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  5634. type: integer
  5635. tradedate:
  5636. description: 交易日(yyyyMMdd)
  5637. type: string
  5638. ydbuyposition:
  5639. description: 期初买头寸
  5640. type: integer
  5641. ydsellposition:
  5642. description: 期初卖头寸
  5643. type: integer
  5644. type: object
  5645. models.ErmcpHedgePositionDetail:
  5646. properties:
  5647. buyorsell:
  5648. description: 买卖方向 0-买 1-卖
  5649. type: integer
  5650. channelbuildtype:
  5651. description: 开平方向 1-建仓 2-平仓
  5652. type: integer
  5653. goodscode:
  5654. description: 商品代码
  5655. type: string
  5656. goodsname:
  5657. description: 商品名称
  5658. type: string
  5659. hedgegoodsid:
  5660. description: 商品id
  5661. type: integer
  5662. tradeqty:
  5663. description: 数量(成交数量)
  5664. type: integer
  5665. tradetime:
  5666. description: 时间(成交时间)
  5667. type: string
  5668. type: object
  5669. models.ErmcpHisExposure:
  5670. properties:
  5671. needhedgeexposoure:
  5672. description: 应套保敞口
  5673. type: number
  5674. reckondate:
  5675. description: 日照时期(yyyyMMdd)
  5676. type: string
  5677. totalexposure:
  5678. description: 总敞口
  5679. type: number
  5680. type: object
  5681. models.ErmcpHisExposureS:
  5682. properties:
  5683. data:
  5684. description: 历史敞口
  5685. items:
  5686. $ref: '#/definitions/models.ErmcpHisExposure'
  5687. type: array
  5688. enumdicname:
  5689. description: 单位名称
  5690. type: string
  5691. middlegoodscode:
  5692. description: 套保品种代码
  5693. type: string
  5694. middlegoodsid:
  5695. description: 套保品种ID
  5696. type: integer
  5697. middlegoodsname:
  5698. description: 套保品种名称
  5699. type: string
  5700. type: object
  5701. models.ErmcpLoginTaAccount:
  5702. properties:
  5703. accountid:
  5704. description: 账号id
  5705. type: integer
  5706. accountname:
  5707. description: 账号名称
  5708. type: string
  5709. type: object
  5710. models.ErmcpLoginUser:
  5711. properties:
  5712. acclist:
  5713. description: 关联资金账号
  5714. items:
  5715. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  5716. type: array
  5717. accountname:
  5718. description: 用户名称
  5719. type: string
  5720. clientroleid:
  5721. description: 角色id(usertype=2)
  5722. type: integer
  5723. createtime:
  5724. description: 创建时间
  5725. type: string
  5726. logincode:
  5727. description: 登录代码
  5728. type: string
  5729. loginid:
  5730. description: 登录id(LOGINID)
  5731. type: integer
  5732. loginname:
  5733. description: 登录名称(loginaccount表中的accountname字段)
  5734. type: string
  5735. loginstatus:
  5736. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  5737. type: integer
  5738. memberuserid:
  5739. description: 所属会员id
  5740. type: integer
  5741. mobile:
  5742. description: 手机号
  5743. type: string
  5744. modifytime:
  5745. description: 修改时间
  5746. type: string
  5747. password:
  5748. description: 密码(不可解密)
  5749. type: string
  5750. rolename:
  5751. description: 角色名称
  5752. type: string
  5753. rolestatus:
  5754. description: 角色状态 1-启用 2-停用
  5755. type: integer
  5756. roletype:
  5757. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  5758. type: string
  5759. userid:
  5760. description: 用户id
  5761. type: integer
  5762. usertype:
  5763. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5764. type: integer
  5765. type: object
  5766. models.ErmcpLoginUserEx:
  5767. properties:
  5768. accountstatus:
  5769. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5770. type: integer
  5771. mobile:
  5772. description: 手机号
  5773. type: string
  5774. querytype:
  5775. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  5776. type: integer
  5777. roleid:
  5778. description: 角色id(交易账户->用户id)
  5779. type: integer
  5780. rolename:
  5781. description: 角色名称(交易账户->用户名称)
  5782. type: string
  5783. userlist:
  5784. description: 用户列表
  5785. items:
  5786. $ref: '#/definitions/models.ErmcpLoginUser'
  5787. type: array
  5788. usertype:
  5789. description: 用户类型 2-机构 7-企业成员(云平台)
  5790. type: integer
  5791. type: object
  5792. models.ErmcpMiddleGoodsChangeLog:
  5793. properties:
  5794. aftervalue:
  5795. description: 变更后
  5796. type: number
  5797. applyid:
  5798. description: 操作人
  5799. type: integer
  5800. applyname:
  5801. description: 操作人名称
  5802. type: string
  5803. applysrc:
  5804. description: 操作来源 - 1:管理端 2:终端
  5805. type: integer
  5806. beforevalue:
  5807. description: 变更前
  5808. type: number
  5809. changelogtype:
  5810. description: 变更流水类型 - 1:套保比率变更
  5811. type: integer
  5812. handlestatus:
  5813. description: 处理状态
  5814. type: integer
  5815. logdatetime:
  5816. description: 流水日期
  5817. type: string
  5818. logid:
  5819. description: 流水ID
  5820. type: integer
  5821. logremark:
  5822. description: 流水备注
  5823. type: string
  5824. middlegoodsid:
  5825. description: 套保品种ID
  5826. type: integer
  5827. tradedate:
  5828. description: 交易日(yyyyMMdd)
  5829. type: string
  5830. updatetime:
  5831. description: 更新时间
  5832. type: string
  5833. type: object
  5834. models.ErmcpMiddleGoodsDetail:
  5835. properties:
  5836. cvList:
  5837. description: 期货品种折算列表
  5838. items:
  5839. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  5840. type: array
  5841. mg:
  5842. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  5843. description: 套保品种基本信息
  5844. type: object
  5845. wrcList:
  5846. description: 现货品种列表(现货商品折算配置)
  5847. items:
  5848. $ref: '#/definitions/models.WRSConverTDetail'
  5849. type: array
  5850. type: object
  5851. models.ErmcpMiddleGoodsModel:
  5852. properties:
  5853. areauserid:
  5854. description: 机构用户ID
  5855. type: integer
  5856. createtime:
  5857. description: 修改时间
  5858. type: string
  5859. enumdicname:
  5860. description: 单位名称
  5861. type: string
  5862. evaluateratio:
  5863. description: 估价系数
  5864. type: number
  5865. goodsgroupid:
  5866. description: 关联期货品种ID
  5867. type: integer
  5868. goodsunitid:
  5869. description: 单位ID
  5870. type: integer
  5871. isvalid:
  5872. description: 状态 0-无效(停用) 1-有效(正常)
  5873. type: integer
  5874. middlegoodscode:
  5875. description: 套保品种代码
  5876. type: string
  5877. middlegoodsid:
  5878. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  5879. type: integer
  5880. middlegoodsname:
  5881. description: 套保品种名称
  5882. type: string
  5883. modifytime:
  5884. description: 修改时间
  5885. type: string
  5886. needarbitrageratio:
  5887. description: 套利比例
  5888. type: number
  5889. needhedgeratio:
  5890. description: 套保比率
  5891. type: number
  5892. qtydecimalplace:
  5893. description: 数量小数位
  5894. type: integer
  5895. relatedgoodsid:
  5896. description: 关联交易商品ID
  5897. type: integer
  5898. relatedgoodstype:
  5899. description: 关联商品类型 - 1:期货合约 2:现货品种
  5900. type: integer
  5901. remark:
  5902. description: 备注
  5903. type: string
  5904. type: object
  5905. models.ErmcpOPLogModel:
  5906. properties:
  5907. aftervalue:
  5908. description: 变更后
  5909. type: number
  5910. applyid:
  5911. description: 操作人ID
  5912. type: string
  5913. applyname:
  5914. description: 操作人名称
  5915. type: string
  5916. beforevalue:
  5917. description: 变更前
  5918. type: number
  5919. biztype:
  5920. description: 业务类型 - 1:套保计划 2:现货合同
  5921. type: integer
  5922. contracttype:
  5923. description: 现货合同类型 - 1:采购 -1:销售
  5924. type: integer
  5925. logvalue:
  5926. description: 数值
  5927. type: number
  5928. operatelogtype:
  5929. description: 操作流水类型
  5930. type: integer
  5931. operatelogtypedesc:
  5932. description: 操作流水类型名称
  5933. type: string
  5934. relatedid:
  5935. description: 现货合同ID\套保计划
  5936. type: string
  5937. updatetime:
  5938. description: 更新时间
  5939. type: string
  5940. type: object
  5941. models.ErmcpPendingAudit:
  5942. properties:
  5943. areastockqty:
  5944. description: '待审核数量: 库存申请'
  5945. type: integer
  5946. businessdjqty:
  5947. description: '待审核数量: 点价'
  5948. type: integer
  5949. businessfpqty:
  5950. description: '待审核数量: 发票'
  5951. type: integer
  5952. businessjsqty:
  5953. description: '待审核数量: 结算'
  5954. type: integer
  5955. businesskxqty:
  5956. description: '待审核数量: 款项'
  5957. type: integer
  5958. hedgeplanqty:
  5959. description: '待审核数量: 套保计划'
  5960. type: integer
  5961. spotcontractqty:
  5962. description: '待审核数量: 现货合同'
  5963. type: integer
  5964. userqty:
  5965. description: '待审核数量: 用户'
  5966. type: integer
  5967. type: object
  5968. models.ErmcpRealExposureModel:
  5969. properties:
  5970. AreaUserID:
  5971. description: 所属机构
  5972. type: integer
  5973. BuyFutureQty:
  5974. description: 买入期货数量
  5975. type: number
  5976. BuyPlanQty:
  5977. description: 采购计划数量
  5978. type: number
  5979. BuyPricedQty:
  5980. description: 采购合同已定价数量
  5981. type: number
  5982. MiddleGoodsCode:
  5983. description: 套保品种代码
  5984. type: string
  5985. MiddleGoodsHedgeRatio:
  5986. description: 套保比例
  5987. type: number
  5988. MiddleGoodsID:
  5989. description: 套保品种
  5990. type: integer
  5991. MiddleGoodsName:
  5992. description: 套保品种名称
  5993. type: string
  5994. NeedHedgeExposoure:
  5995. description: 应套保敞口(套保敞口)
  5996. type: number
  5997. NeedHedgeRatio:
  5998. description: 应套保敞口比例
  5999. type: number
  6000. OriBuyFutureQty:
  6001. description: 期初买入期货数量
  6002. type: number
  6003. OriBuyPlanQty:
  6004. description: 期初采购计划数量
  6005. type: number
  6006. OriBuyPricedQty:
  6007. description: 期初采购合同已定价数量
  6008. type: number
  6009. OriSellFutureQty:
  6010. description: 期初卖出期货数量
  6011. type: number
  6012. OriSellPlanQty:
  6013. description: 期初销售计划数量
  6014. type: number
  6015. OriSellPricedQty:
  6016. description: 期初销售合同已定价数量
  6017. type: number
  6018. SellFutureQty:
  6019. description: 卖出期货数量
  6020. type: number
  6021. SellPlanQty:
  6022. description: 销售计划数量
  6023. type: number
  6024. SellPricedQty:
  6025. description: 销售合同已定价数量
  6026. type: number
  6027. TotalExposure:
  6028. description: 总敞口
  6029. type: number
  6030. TotalFutureQty:
  6031. description: 期货总量
  6032. type: number
  6033. TotalHedgeRatio:
  6034. description: 敞口比例
  6035. type: number
  6036. TotalNeedHedgeQty:
  6037. description: 应套保总量(现货应套保总量)
  6038. type: number
  6039. TotalSpotQty:
  6040. description: 现货总量
  6041. type: number
  6042. arbitrageqty:
  6043. description: 套利量
  6044. type: number
  6045. diffArbitrageQty:
  6046. description: 套利变动量
  6047. type: number
  6048. diffExposoureQty:
  6049. description: 变动量(套保敞口)
  6050. type: number
  6051. diffFutuQty:
  6052. description: 变动量(期货总量)
  6053. type: number
  6054. diffHedgeQty:
  6055. description: 套保变动量
  6056. type: number
  6057. diffQty:
  6058. description: 变动量(总敞口)
  6059. type: number
  6060. diffSpotHedgeQty:
  6061. description: 变动量(现货应套保总量)
  6062. type: number
  6063. diffSpotQty:
  6064. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6065. type: number
  6066. enumdicname:
  6067. description: 单位名称
  6068. type: string
  6069. hedgeqty:
  6070. description: 套保量
  6071. type: number
  6072. needarbitrageqty:
  6073. description: 应套利量
  6074. type: number
  6075. needarbitrageratio:
  6076. description: 套利比例
  6077. type: number
  6078. needhedgeqty:
  6079. description: 应套保量
  6080. type: number
  6081. oriTotalFutuQty:
  6082. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6083. type: number
  6084. oriTotalSpotQty:
  6085. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6086. type: number
  6087. oriarbitrageqty:
  6088. description: 期初套利量
  6089. type: number
  6090. orihedgeqty:
  6091. description: 期初套保量
  6092. type: number
  6093. orineedhedgeexposoure:
  6094. description: 期初套保敞口
  6095. type: number
  6096. oritotalexposure:
  6097. description: 期初总敞口
  6098. type: number
  6099. oritotalfutureqty:
  6100. description: 期初期货总量
  6101. type: number
  6102. oritotalneedhedgeqty:
  6103. description: 期初现货应套保量
  6104. type: number
  6105. type: object
  6106. models.ErmcpRole:
  6107. properties:
  6108. areauserid:
  6109. description: 所属机构
  6110. type: integer
  6111. autoid:
  6112. description: 角色ID(自增ID)
  6113. type: integer
  6114. modifierid:
  6115. description: 修改人(创建人)
  6116. type: integer
  6117. modifiername:
  6118. description: 修改人名称
  6119. type: string
  6120. modifytime:
  6121. description: 修改时间(创建时间)
  6122. type: string
  6123. rolename:
  6124. description: 角色名称
  6125. type: string
  6126. rolestatus:
  6127. description: 角色状态 - 1:启用 2:停用
  6128. type: integer
  6129. roletype:
  6130. description: 角色类型 - 1- 管理端 2- 交易端
  6131. type: integer
  6132. type: object
  6133. models.ErmcpRoleMenu:
  6134. properties:
  6135. iconame:
  6136. description: 菜单图标
  6137. type: string
  6138. ishadrole:
  6139. description: 是否有权限
  6140. type: boolean
  6141. menutype:
  6142. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6143. type: integer
  6144. parentcode:
  6145. description: 上级资源代码
  6146. type: string
  6147. remark:
  6148. description: 菜单备注
  6149. type: string
  6150. resourcecode:
  6151. description: 菜单代码
  6152. type: string
  6153. resourcelevel:
  6154. description: 级别
  6155. type: integer
  6156. resourcename:
  6157. description: 菜单名称
  6158. type: string
  6159. roleid:
  6160. description: 角色id
  6161. type: integer
  6162. sort:
  6163. description: 排序
  6164. type: integer
  6165. url:
  6166. description: URL
  6167. type: string
  6168. userid:
  6169. description: 用户id
  6170. type: integer
  6171. type: object
  6172. models.ErmcpRoleMenuEx:
  6173. properties:
  6174. menu:
  6175. $ref: '#/definitions/models.ErmcpRoleMenu'
  6176. description: 父级菜单
  6177. type: object
  6178. subMenu:
  6179. description: 子级菜单
  6180. items:
  6181. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6182. type: array
  6183. type: object
  6184. models.ErmcpTaAccount:
  6185. properties:
  6186. accountid:
  6187. description: 账户id
  6188. type: integer
  6189. accountname:
  6190. description: 账户名称
  6191. type: string
  6192. currencyid:
  6193. description: 币种id
  6194. type: integer
  6195. hedgeaccountcode:
  6196. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6197. type: string
  6198. ismain:
  6199. description: 是否主账户 0-否 1-是
  6200. type: integer
  6201. parentaccountid:
  6202. description: 父账户id
  6203. type: integer
  6204. relateduserid:
  6205. description: 关联userid
  6206. type: integer
  6207. tradestatus:
  6208. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6209. type: integer
  6210. userid:
  6211. description: 用户id
  6212. type: integer
  6213. type: object
  6214. models.ErmcpTaAccountEx:
  6215. properties:
  6216. mainAcc:
  6217. $ref: '#/definitions/models.ErmcpTaAccountM'
  6218. description: 主账号
  6219. type: object
  6220. subacclist:
  6221. description: 子账号列表
  6222. items:
  6223. $ref: '#/definitions/models.ErmcpTaAccount'
  6224. type: array
  6225. type: object
  6226. models.ErmcpTaAccountInfo:
  6227. properties:
  6228. accountid:
  6229. description: 资金账户ID
  6230. type: integer
  6231. accountname:
  6232. description: 账户名称
  6233. type: string
  6234. balance:
  6235. description: 期初余额
  6236. type: number
  6237. capitalbalance:
  6238. description: 本金余额[外部子账户实际出入金余额]
  6239. type: number
  6240. closepl:
  6241. description: 今日平仓盈亏
  6242. type: number
  6243. creditdecrease:
  6244. description: 今日授信减少
  6245. type: number
  6246. creditincrease:
  6247. description: 今日授信增加
  6248. type: number
  6249. curdebt:
  6250. description: 期末欠款
  6251. type: number
  6252. currencyid:
  6253. description: 货币ID
  6254. type: integer
  6255. currentbalance:
  6256. description: 期末余额
  6257. type: number
  6258. freezecharge:
  6259. description: 手续费冻结
  6260. type: number
  6261. freezemargin:
  6262. description: 冻结保证金
  6263. type: number
  6264. fromaccountid:
  6265. description: 所属上级账户
  6266. type: integer
  6267. inamount:
  6268. description: 今日入金金额(包括三方入金)
  6269. type: number
  6270. ismain:
  6271. description: 是否母账号 0:不是母账户 1:是母账户
  6272. type: integer
  6273. mortgagecredit:
  6274. description: 授信金额
  6275. type: number
  6276. oridebt:
  6277. description: 期初欠款
  6278. type: number
  6279. orifreezecharge:
  6280. description: 期初手续费冻结
  6281. type: number
  6282. orifreezemargin:
  6283. description: 期初冻结保证金
  6284. type: number
  6285. orimortgagecredit:
  6286. description: 期初授信金额
  6287. type: number
  6288. oriothercredit:
  6289. description: 期初其它授信金额
  6290. type: number
  6291. oriotherfreezemargin:
  6292. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6293. type: number
  6294. orioutamountfreeze:
  6295. description: 期初出金冻结
  6296. type: number
  6297. oriusedmargin:
  6298. description: 期初占用保证金
  6299. type: number
  6300. othercredit:
  6301. description: 其它授信金额
  6302. type: number
  6303. othercreditdecrease:
  6304. description: 今日其它授信减少
  6305. type: number
  6306. othercreditincrease:
  6307. description: 今日其它授信增加
  6308. type: number
  6309. otherfreezemargin:
  6310. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6311. type: number
  6312. outamount:
  6313. description: 今日出金金额(包括三方出金)
  6314. type: number
  6315. outamountfreeze:
  6316. description: 出金冻结
  6317. type: number
  6318. outthreshold:
  6319. description: 出金阈值
  6320. type: number
  6321. parentaccountid:
  6322. description: 所属根账号
  6323. type: integer
  6324. paycharge:
  6325. description: 今日手续费支出
  6326. type: number
  6327. relateduserid:
  6328. description: 关联用户
  6329. type: integer
  6330. signstatus:
  6331. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6332. type: integer
  6333. sublevelpath:
  6334. description: 账号层级路径(逗号分隔,首尾加逗号)
  6335. type: string
  6336. taaccounttype:
  6337. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6338. type: integer
  6339. thirdinamount:
  6340. description: 今日三方入金
  6341. type: number
  6342. thirdoutamount:
  6343. description: 今日三方出金
  6344. type: number
  6345. tradestatus:
  6346. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6347. type: integer
  6348. transferamount:
  6349. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6350. type: number
  6351. usedmargin:
  6352. description: 占用保证金
  6353. type: number
  6354. userid:
  6355. description: 用户ID
  6356. type: integer
  6357. type: object
  6358. models.ErmcpTaAccountM:
  6359. properties:
  6360. accountid:
  6361. description: 账户id
  6362. type: integer
  6363. accountname:
  6364. description: 账户名称
  6365. type: string
  6366. currencyid:
  6367. description: 币种id
  6368. type: integer
  6369. fcid:
  6370. description: 期货公司id
  6371. type: integer
  6372. fcname:
  6373. description: 期货公司代码
  6374. type: string
  6375. hedgeaccountcode:
  6376. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6377. type: string
  6378. ismain:
  6379. description: 是否主账户 0-否 1-是
  6380. type: integer
  6381. parentaccountid:
  6382. description: 父账户id
  6383. type: integer
  6384. relateduserid:
  6385. description: 关联userid
  6386. type: integer
  6387. tradestatus:
  6388. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6389. type: integer
  6390. userid:
  6391. description: 用户id
  6392. type: integer
  6393. type: object
  6394. models.ErmcpTradeConfigTMP:
  6395. properties:
  6396. areauserid:
  6397. description: 所属机构
  6398. type: integer
  6399. basiccurrencyid:
  6400. description: 基本币种ID[汇率] - 目标币种
  6401. type: integer
  6402. mainaccountid:
  6403. description: 主账户ID
  6404. type: integer
  6405. modifierid:
  6406. description: 修改人
  6407. type: integer
  6408. remark:
  6409. description: 备注
  6410. type: string
  6411. tradeconfigtmpid:
  6412. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  6413. type: integer
  6414. tradeconfigtmpname:
  6415. description: 交易配置模板名称
  6416. type: string
  6417. tradeconfigtmptype:
  6418. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  6419. type: integer
  6420. updatetime:
  6421. description: 更新时间
  6422. type: string
  6423. type: object
  6424. models.ErmcpUserModel:
  6425. properties:
  6426. address:
  6427. description: 通讯地址
  6428. type: string
  6429. attachment1:
  6430. description: 附件1
  6431. type: string
  6432. audittime:
  6433. description: 审核时间
  6434. type: string
  6435. cardbackphotourl:
  6436. description: 证件反面图片地址
  6437. type: string
  6438. cardfrontphotourl:
  6439. description: 证件正面图片地址
  6440. type: string
  6441. cardnum:
  6442. description: 证件号码
  6443. type: string
  6444. cardtype:
  6445. description: 证件类型
  6446. type: integer
  6447. cardtypename:
  6448. description: 证件类型名称
  6449. type: string
  6450. cityid:
  6451. description: 市
  6452. type: integer
  6453. contactname:
  6454. description: 联系人
  6455. type: string
  6456. countryid:
  6457. description: 国家
  6458. type: integer
  6459. createtime:
  6460. description: 创建时间
  6461. type: string
  6462. customername:
  6463. description: 企业名称
  6464. type: string
  6465. districtid:
  6466. description: 区域
  6467. type: integer
  6468. email:
  6469. description: 邮件
  6470. type: string
  6471. legalpersonname:
  6472. description: 法人姓名(企业)
  6473. type: string
  6474. memberuserid:
  6475. description: 所属机构ID
  6476. type: integer
  6477. mobile:
  6478. description: 手机号码
  6479. type: string
  6480. modifytime:
  6481. description: 修改时间
  6482. type: string
  6483. nickname:
  6484. description: 昵称
  6485. type: string
  6486. provinceid:
  6487. description: 省
  6488. type: integer
  6489. remark:
  6490. description: 备注
  6491. type: string
  6492. status:
  6493. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6494. type: integer
  6495. statusdesc:
  6496. description: 账户状态中文描述
  6497. type: string
  6498. taxpayernum:
  6499. description: 纳税人识别号
  6500. type: string
  6501. telphone:
  6502. description: 联系电话
  6503. type: string
  6504. userid:
  6505. description: 用户ID
  6506. type: integer
  6507. userinfotype:
  6508. description: 客户类型
  6509. type: string
  6510. type: object
  6511. models.ErmcpWareHouseInfo:
  6512. properties:
  6513. address:
  6514. description: 详细地址
  6515. type: string
  6516. areauserid:
  6517. description: 所属机构
  6518. type: integer
  6519. autoid:
  6520. description: 自增ID(仓库ID)
  6521. type: integer
  6522. cityid:
  6523. description: 市
  6524. type: integer
  6525. contactname:
  6526. description: 联系人
  6527. type: string
  6528. contactnum:
  6529. description: 联系电话
  6530. type: string
  6531. countryid:
  6532. description: 国家
  6533. type: integer
  6534. createtime:
  6535. description: 创建时间
  6536. type: string
  6537. districtid:
  6538. description: 区
  6539. type: integer
  6540. hasvideo:
  6541. description: 是否有视频 - 0:无 1:有
  6542. type: integer
  6543. provinceid:
  6544. description: 省
  6545. type: integer
  6546. remark:
  6547. description: 审核备注
  6548. type: string
  6549. videourl:
  6550. description: 视频地址
  6551. type: string
  6552. warehousecode:
  6553. description: 仓库代码
  6554. type: string
  6555. warehousename:
  6556. description: 仓库名称
  6557. type: string
  6558. warehousestatus:
  6559. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6560. type: integer
  6561. warehousetype:
  6562. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6563. type: integer
  6564. type: object
  6565. models.Externalexchange:
  6566. properties:
  6567. autoid:
  6568. description: AutoID - SEQ_EXTERNALEXCHANGE
  6569. type: integer
  6570. exchangefullname:
  6571. description: 外部交易所全称
  6572. type: string
  6573. exexchangecode:
  6574. description: 外部交易所代码
  6575. type: string
  6576. exexchangename:
  6577. description: 外部交易所名称(简称)
  6578. type: string
  6579. ismarketprice:
  6580. description: 是否支持市价 - 0:不支持 1:支持
  6581. type: integer
  6582. quotegear:
  6583. description: 行情档位(1-10)
  6584. type: integer
  6585. showbrokerflag:
  6586. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  6587. type: integer
  6588. updatetime:
  6589. description: 更新时间
  6590. type: string
  6591. required:
  6592. - autoid
  6593. type: object
  6594. models.Funcmenulist:
  6595. properties:
  6596. iconame:
  6597. description: 菜单图标
  6598. type: string
  6599. menutype:
  6600. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  6601. type: integer
  6602. parentcode:
  6603. description: 上级资源代码
  6604. type: string
  6605. remark:
  6606. description: 备注
  6607. type: string
  6608. resourcecode:
  6609. description: 资源代码
  6610. type: string
  6611. resourcelevel:
  6612. description: 级别 1-一级 2-二级 3-三级 4-四级
  6613. type: integer
  6614. resourcename:
  6615. description: 资源名
  6616. type: string
  6617. sort:
  6618. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  6619. type: integer
  6620. url:
  6621. description: URL
  6622. type: string
  6623. required:
  6624. - resourcecode
  6625. type: object
  6626. models.Goods:
  6627. properties:
  6628. agreeunit:
  6629. description: 合约单位
  6630. type: number
  6631. auditaccountid:
  6632. description: 审核操作员账号
  6633. type: integer
  6634. audittime:
  6635. description: 审核时间
  6636. type: string
  6637. cancelaccountid:
  6638. description: 注销操作员账号
  6639. type: integer
  6640. canceltime:
  6641. description: 注销时间
  6642. type: string
  6643. closepricemode:
  6644. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6645. type: integer
  6646. closepriceparam:
  6647. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6648. type: number
  6649. createtime:
  6650. description: 创建时间
  6651. type: string
  6652. creatorid:
  6653. description: 创建人
  6654. type: integer
  6655. currencyid:
  6656. description: 报价货币ID
  6657. type: integer
  6658. cutmode:
  6659. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6660. type: integer
  6661. decimalplace:
  6662. description: 报价小数位
  6663. type: integer
  6664. delistingdate:
  6665. description: 商品退市时间(状态:退市) -- 已作废
  6666. type: string
  6667. delistingmode:
  6668. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6669. type: integer
  6670. deliveryflag:
  6671. description: 交割标志 - 0:不可交割 1:可交割
  6672. type: integer
  6673. forceclosemode:
  6674. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6675. type: integer
  6676. forceclosevalue:
  6677. description: 定期强平参数 [收益权]
  6678. type: integer
  6679. goodscode:
  6680. description: 商品代码(内部)
  6681. type: string
  6682. goodscurrencyid:
  6683. description: 合约货币ID
  6684. type: integer
  6685. goodsgroupid:
  6686. description: 所属商品组ID
  6687. type: integer
  6688. goodsid:
  6689. description: 商品ID(自增ID SEQ_GOODS)
  6690. type: integer
  6691. goodsname:
  6692. description: 商品名称
  6693. type: string
  6694. goodsquotetype:
  6695. description: '合约报价类型: 1-直接报价 2-间接报价'
  6696. type: integer
  6697. goodsstatus:
  6698. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6699. type: integer
  6700. goodstradetype:
  6701. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6702. type: integer
  6703. goodunitid:
  6704. description: 报价单位ID
  6705. type: integer
  6706. hasquoter:
  6707. description: 是否有报价商 - 0:无报价商 1:有报价商
  6708. type: integer
  6709. hqprotecttime:
  6710. description: 行情保护时间(秒)
  6711. type: integer
  6712. innerdealmode:
  6713. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6714. type: integer
  6715. isbuylimited:
  6716. description: 是否限制建仓量 - 0:不限制 1:限制
  6717. type: integer
  6718. lasttradedate:
  6719. description: 最后交易日期(状态:待退市)
  6720. type: string
  6721. listingdate:
  6722. description: 交易开始日期
  6723. type: string
  6724. marketid:
  6725. description: 所属市场ID
  6726. type: integer
  6727. modifierid:
  6728. description: 修改人
  6729. type: integer
  6730. modifystatus:
  6731. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6732. type: integer
  6733. modifytime:
  6734. description: 修改时间
  6735. type: string
  6736. outerdealmode:
  6737. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6738. type: integer
  6739. outgoodscode:
  6740. description: 商品代码(外部)
  6741. type: string
  6742. qtydecimalplace:
  6743. description: 成交量小数位
  6744. type: integer
  6745. quotegear:
  6746. description: 行情档位(1-10)
  6747. type: integer
  6748. quoteminunit:
  6749. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6750. type: integer
  6751. quoteshowtype:
  6752. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6753. type: integer
  6754. quoteshowtypeinterval:
  6755. description: 行情报价间隔时间(秒)(成交价时为0)
  6756. type: integer
  6757. remark:
  6758. description: 备注
  6759. type: string
  6760. required:
  6761. - goodscode
  6762. - goodsid
  6763. - goodsname
  6764. - marketid
  6765. type: object
  6766. models.GoodsIDAndName:
  6767. properties:
  6768. goodscode:
  6769. description: 商品代码(内部)
  6770. type: string
  6771. goodsid:
  6772. description: 商品ID(自增ID SEQ_GOODS)
  6773. type: integer
  6774. goodsname:
  6775. description: 商品名称
  6776. type: string
  6777. marketid:
  6778. description: 所属市场ID
  6779. type: integer
  6780. required:
  6781. - goodscode
  6782. - goodsid
  6783. - goodsname
  6784. - marketid
  6785. type: object
  6786. models.Goodsgroup:
  6787. properties:
  6788. agreeunit:
  6789. description: 合约单位
  6790. type: number
  6791. canshort:
  6792. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  6793. type: integer
  6794. closepricemode:
  6795. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6796. type: integer
  6797. closepriceparam:
  6798. description: 强平最新价浮动比例 - 方式为2时使用
  6799. type: number
  6800. createtime:
  6801. description: 创建时间
  6802. type: string
  6803. creatorid:
  6804. description: 创建人
  6805. type: integer
  6806. currencyid:
  6807. description: 报价货币ID
  6808. type: integer
  6809. decimalplace:
  6810. description: 报价小数位
  6811. type: integer
  6812. exercisetype:
  6813. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  6814. type: integer
  6815. exexchangeid:
  6816. description: 外部交易所ID[通道交易]
  6817. type: integer
  6818. goodsgroupid:
  6819. description: 商品组ID(自增ID)
  6820. type: integer
  6821. goodsgroupname:
  6822. description: 商品组名称
  6823. type: string
  6824. goodsgroupstatus:
  6825. description: 商品组状态 - 1:正常 2:注销
  6826. type: integer
  6827. goodunitid:
  6828. description: 报价单位ID
  6829. type: integer
  6830. innerdealmode:
  6831. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6832. type: integer
  6833. isbuylimited:
  6834. description: 是否限制建仓量 - 0:不限制 1:限制
  6835. type: integer
  6836. marketid:
  6837. description: 所属市场ID
  6838. type: integer
  6839. modifierid:
  6840. description: 修改人
  6841. type: integer
  6842. modifytime:
  6843. description: 修改时间
  6844. type: string
  6845. outerdealmode:
  6846. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6847. type: integer
  6848. outergroupcode:
  6849. description: 外部商品组代码[通道交易]
  6850. type: string
  6851. premiumdecimalplace:
  6852. description: 权利金小数位[场外期权]
  6853. type: integer
  6854. premiumspreadalgorithm:
  6855. description: 权利金点差方式[场外期权] 1:比率 2:固定
  6856. type: integer
  6857. premiumspreadvalue:
  6858. description: 权利金点差值[场外期权]
  6859. type: number
  6860. qtydecimalplace:
  6861. description: 成交量小数位
  6862. type: integer
  6863. quotegear:
  6864. description: 行情档位(1-10)
  6865. type: integer
  6866. quoteminunit:
  6867. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6868. type: integer
  6869. quoterid:
  6870. description: 报价商ID[场外期权]
  6871. type: integer
  6872. quotesourcegroupid:
  6873. description: 所属行情源分组ID[参考行情市场用\通道交易]
  6874. type: integer
  6875. syncgoodsqty:
  6876. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  6877. type: integer
  6878. required:
  6879. - goodsgroupid
  6880. - goodsgroupname
  6881. - goodsgroupstatus
  6882. - marketid
  6883. type: object
  6884. models.Goodssortbypreposition:
  6885. properties:
  6886. goodscode:
  6887. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  6888. type: string
  6889. goodsgroupcode:
  6890. description: 品种代码
  6891. type: string
  6892. prepositionqty:
  6893. description: 昨持仓量
  6894. type: integer
  6895. sortindex:
  6896. description: 排序
  6897. type: integer
  6898. tradedate:
  6899. description: 交易日
  6900. type: string
  6901. updatetime:
  6902. description: 更新时间
  6903. type: string
  6904. required:
  6905. - goodscode
  6906. - tradedate
  6907. type: object
  6908. models.Hedgeinnerholderdetail:
  6909. properties:
  6910. accountid:
  6911. description: 账号ID
  6912. type: integer
  6913. buyorsell:
  6914. description: 方向 - 0:买 1:卖
  6915. type: integer
  6916. freezeqty:
  6917. description: 冻结数量 - 按单平使用
  6918. type: integer
  6919. goodsid:
  6920. description: 商品ID
  6921. type: integer
  6922. holderamount:
  6923. description: 持仓金额 [商品币种]
  6924. type: number
  6925. holderdays:
  6926. description: 剩余冻结天数
  6927. type: integer
  6928. holderprice:
  6929. description: 持仓价格
  6930. type: number
  6931. holderqty:
  6932. description: 持仓数量
  6933. type: integer
  6934. marketid:
  6935. description: 市场ID
  6936. type: integer
  6937. openprice:
  6938. description: 建仓价格
  6939. type: number
  6940. openqty:
  6941. description: 建仓数量
  6942. type: integer
  6943. parentaccountid:
  6944. description: 所属母账户
  6945. type: integer
  6946. releaseamount:
  6947. description: 释放持仓金额[商品币种]
  6948. type: number
  6949. tradeamount:
  6950. description: 成交金额[账户]
  6951. type: number
  6952. tradedate:
  6953. description: 交易日(yyyyMMdd)
  6954. type: string
  6955. tradeid:
  6956. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6957. type: string
  6958. tradetime:
  6959. description: 交易时间
  6960. type: string
  6961. required:
  6962. - buyorsell
  6963. - tradeid
  6964. type: object
  6965. models.Hedgemarketopenlog:
  6966. properties:
  6967. accountid:
  6968. description: 资金账号[外部母账户]
  6969. type: integer
  6970. fcname:
  6971. description: 期货公司名称
  6972. type: string
  6973. handlestatus:
  6974. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  6975. type: integer
  6976. marketid:
  6977. description: 市场ID
  6978. type: integer
  6979. status:
  6980. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  6981. type: integer
  6982. tradedate:
  6983. description: 交易日(yyyyMMdd)
  6984. type: string
  6985. updatetime:
  6986. description: 更新时间
  6987. type: string
  6988. required:
  6989. - accountid
  6990. type: object
  6991. models.HsbyBuyMyPayOrder:
  6992. properties:
  6993. agreeunit:
  6994. description: 合约单位
  6995. type: number
  6996. buyaccountid:
  6997. description: 买方账号ID[报价币种]
  6998. type: integer
  6999. buyorderid:
  7000. description: 买方委托单号
  7001. type: string
  7002. createtime:
  7003. description: 创建时间
  7004. type: string
  7005. currencysign:
  7006. description: 货币符号
  7007. type: string
  7008. decimalplace:
  7009. description: 报价小数位
  7010. type: integer
  7011. goodscode:
  7012. description: 商品代码(内部)
  7013. type: string
  7014. goodsid:
  7015. description: 商品ID
  7016. type: integer
  7017. goodsname:
  7018. description: 商品名称
  7019. type: string
  7020. marketid:
  7021. description: 市场ID
  7022. type: integer
  7023. offamount:
  7024. description: 优惠金额
  7025. type: number
  7026. originalamount:
  7027. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7028. type: number
  7029. payamount:
  7030. description: 支付金额 = TradeAmount + TradeCharge
  7031. type: number
  7032. payflag:
  7033. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7034. type: integer
  7035. paylimitedtime:
  7036. description: 支付期限
  7037. type: string
  7038. paytime:
  7039. description: 付款时间
  7040. type: string
  7041. picurls1:
  7042. description: 预售商品介绍图片[多张用逗号分隔]
  7043. type: string
  7044. picurls2:
  7045. description: 挂牌商品介绍图片[多张用逗号分隔]
  7046. type: string
  7047. sellaccountid:
  7048. description: 卖方账号ID[报价币种]
  7049. type: integer
  7050. sellorderid:
  7051. description: 卖方委托单号
  7052. type: string
  7053. tradeamount:
  7054. description: 成交金额
  7055. type: number
  7056. tradecharge:
  7057. description: 成交手续费(买方)
  7058. type: number
  7059. tradedate:
  7060. description: 交易日(yyyyMMdd)
  7061. type: string
  7062. tradeid:
  7063. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7064. type: string
  7065. trademode:
  7066. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7067. 21:竞拍-大宗式 22:受托竞价
  7068. type: integer
  7069. tradeprice:
  7070. description: 成交价格
  7071. type: number
  7072. tradeqty:
  7073. description: 成交数量
  7074. type: integer
  7075. vendorname1:
  7076. description: 预售商品供应商名称
  7077. type: string
  7078. vendorname2:
  7079. description: 挂牌商品供应商名称
  7080. type: string
  7081. required:
  7082. - goodscode
  7083. - goodsname
  7084. - tradeid
  7085. - trademode
  7086. type: object
  7087. models.HsbyBuyMyTradeDetail:
  7088. properties:
  7089. accountid:
  7090. description: 账户ID[报价币种]
  7091. type: integer
  7092. agreeunit:
  7093. description: 合约单位
  7094. type: number
  7095. amount:
  7096. description: 金额 = 价格 * 数量 * 合约单位
  7097. type: number
  7098. buyorsell:
  7099. description: 买卖 - 0:买 1:卖
  7100. type: integer
  7101. currencysign:
  7102. description: 货币符号
  7103. type: string
  7104. decimalplace:
  7105. description: 报价小数位
  7106. type: integer
  7107. goodscode:
  7108. description: 商品代码(内部)
  7109. type: string
  7110. goodsid:
  7111. description: 商品ID
  7112. type: integer
  7113. goodsname:
  7114. description: 商品名称
  7115. type: string
  7116. marketid:
  7117. description: 市场ID
  7118. type: integer
  7119. orderamount:
  7120. description: 委托金额
  7121. type: number
  7122. orderid:
  7123. description: 单号(成交单号)
  7124. type: string
  7125. picurls1:
  7126. description: 预售商品介绍图片[多张用逗号分隔]
  7127. type: string
  7128. picurls2:
  7129. description: 挂牌商品介绍图片[多张用逗号分隔]
  7130. type: string
  7131. price:
  7132. description: 价格
  7133. type: number
  7134. qty:
  7135. description: 数量
  7136. type: integer
  7137. time:
  7138. description: 时间
  7139. type: string
  7140. trademode:
  7141. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7142. 21:竞拍-大宗式 22:受托竞价
  7143. type: integer
  7144. vendorname1:
  7145. description: 预售商品供应商名称
  7146. type: string
  7147. vendorname2:
  7148. description: 挂牌商品供应商名称
  7149. type: string
  7150. required:
  7151. - accountid
  7152. - buyorsell
  7153. - goodscode
  7154. - goodsid
  7155. - goodsname
  7156. - marketid
  7157. - orderid
  7158. - qty
  7159. - time
  7160. - trademode
  7161. type: object
  7162. models.HsbyGoodsOrderDetail:
  7163. properties:
  7164. buyorsell:
  7165. description: 买卖 - 0:买 1:卖
  7166. type: integer
  7167. currencysign:
  7168. description: 货币符号
  7169. type: string
  7170. customername:
  7171. description: 客户名称(企业名称),已脱敏
  7172. type: string
  7173. enableqty:
  7174. description: 可用数量
  7175. type: integer
  7176. goodunit:
  7177. description: 报价单位
  7178. type: string
  7179. orderid:
  7180. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7181. type: string
  7182. orderprice:
  7183. description: 委托价格
  7184. type: number
  7185. ordertime:
  7186. description: 委托时间
  7187. type: string
  7188. required:
  7189. - buyorsell
  7190. - orderid
  7191. - ordertime
  7192. type: object
  7193. models.HsbyListingGoodsDetail:
  7194. properties:
  7195. agreeunit:
  7196. description: 合约单位
  7197. type: number
  7198. buymaxqty:
  7199. description: 购买上限 [71] - 0为不限
  7200. type: integer
  7201. currency:
  7202. description: 货币
  7203. type: string
  7204. currencysign:
  7205. description: 货币符号
  7206. type: string
  7207. decimalplace:
  7208. description: 报价小数位
  7209. type: integer
  7210. desccityid:
  7211. description: 目的地(市)ID
  7212. type: integer
  7213. descprovinceid:
  7214. description: 目的地(省)ID
  7215. type: integer
  7216. goodscode:
  7217. description: 商品代码(内部)
  7218. type: string
  7219. goodsdesc:
  7220. description: 商品详情
  7221. type: string
  7222. goodsid:
  7223. description: 商品ID(自增ID SEQ_GOODS)
  7224. type: integer
  7225. goodsname:
  7226. description: 商品名称
  7227. type: string
  7228. goodsprice:
  7229. description: 商品价格
  7230. type: number
  7231. hotindex:
  7232. description: 景点热度
  7233. type: integer
  7234. last:
  7235. description: 现价
  7236. type: number
  7237. limitdown:
  7238. description: 跌停价
  7239. type: number
  7240. limitup:
  7241. description: 涨停价
  7242. type: number
  7243. lotsize:
  7244. description: 手数最小变动单位
  7245. type: integer
  7246. marketid:
  7247. description: 所属市场ID
  7248. type: integer
  7249. picurls:
  7250. description: 介绍图片[多张用逗号分隔]
  7251. type: string
  7252. quoteminunit:
  7253. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7254. type: integer
  7255. stepvalue:
  7256. description: 价格最小变动单位
  7257. type: number
  7258. trademode:
  7259. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7260. 21:竞拍-大宗式 22:受托竞价
  7261. type: integer
  7262. vendorattr:
  7263. description: 供应商附件(多张,逗号分隔)
  7264. type: string
  7265. vendorname:
  7266. description: 供应商名称
  7267. type: string
  7268. vendorphone:
  7269. description: 供应商客服电话
  7270. type: string
  7271. videourls:
  7272. description: 介绍视频[多张用逗号分隔]
  7273. type: string
  7274. required:
  7275. - goodscode
  7276. - goodsid
  7277. - goodsname
  7278. - marketid
  7279. - trademode
  7280. type: object
  7281. models.HsbyMarketGoods:
  7282. properties:
  7283. accountid:
  7284. description: 账户ID[报价币种]
  7285. type: integer
  7286. agreeunit:
  7287. description: 合约单位
  7288. type: number
  7289. buyorsell:
  7290. description: 买卖 - 0:买 1:卖
  7291. type: integer
  7292. categoryid:
  7293. description: 类别ID(WRCATEGORY)
  7294. type: integer
  7295. currency:
  7296. description: 货币
  7297. type: string
  7298. currencysign:
  7299. description: 货币符号
  7300. type: string
  7301. customername:
  7302. description: 卖家名称
  7303. type: string
  7304. decimalplace:
  7305. description: 报价小数位
  7306. type: integer
  7307. goodscode:
  7308. description: 商品代码(内部)
  7309. type: string
  7310. goodsid:
  7311. description: 商品ID
  7312. type: integer
  7313. goodsname:
  7314. description: 商品名称
  7315. type: string
  7316. goodsprice:
  7317. description: 商品价格
  7318. type: number
  7319. hascoupon:
  7320. description: 是否可用优惠卷
  7321. type: boolean
  7322. hotindex:
  7323. description: 景点热度
  7324. type: integer
  7325. marketid:
  7326. description: 市场ID
  7327. type: integer
  7328. orderid:
  7329. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7330. type: string
  7331. orderprice:
  7332. description: 委托价格
  7333. type: number
  7334. orderstatus:
  7335. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7336. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7337. 16:成交失败违约(荷兰式竞拍专用)
  7338. type: integer
  7339. picurls:
  7340. description: 介绍图片[多张用逗号分隔]
  7341. type: string
  7342. quoteminunit:
  7343. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7344. type: integer
  7345. sellUserID:
  7346. description: 卖方UserID
  7347. type: integer
  7348. trademode:
  7349. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7350. 21:竞拍-大宗式 22:受托竞价
  7351. type: integer
  7352. videourls:
  7353. description: 介绍视频[多张用逗号分隔]
  7354. type: string
  7355. required:
  7356. - accountid
  7357. - buyorsell
  7358. - goodscode
  7359. - goodsid
  7360. - goodsname
  7361. - marketid
  7362. - orderid
  7363. - trademode
  7364. type: object
  7365. models.HsbyMarketGoodsDetail:
  7366. properties:
  7367. accountid:
  7368. description: 账户ID[报价币种]
  7369. type: integer
  7370. agreeunit:
  7371. description: 合约单位
  7372. type: number
  7373. buymaxqty:
  7374. description: 购买上限 [71] - 0为不限
  7375. type: integer
  7376. buyorsell:
  7377. description: 买卖 - 0:买 1:卖
  7378. type: integer
  7379. cancelqty:
  7380. description: 撤单数量
  7381. type: integer
  7382. categoryid:
  7383. description: 类别ID(WRCATEGORY)
  7384. type: integer
  7385. currency:
  7386. description: 货币
  7387. type: string
  7388. currencysign:
  7389. description: 货币符号
  7390. type: string
  7391. customername:
  7392. description: 卖家名称
  7393. type: string
  7394. decimalplace:
  7395. description: 报价小数位
  7396. type: integer
  7397. goodscode:
  7398. description: 商品代码(内部)
  7399. type: string
  7400. goodsdesc:
  7401. description: 商品详情
  7402. type: string
  7403. goodsid:
  7404. description: 商品ID
  7405. type: integer
  7406. goodsname:
  7407. description: 商品名称
  7408. type: string
  7409. goodsprice:
  7410. description: 商品价格
  7411. type: number
  7412. hotindex:
  7413. description: 景点热度
  7414. type: integer
  7415. lotsize:
  7416. description: 手数最小变动单位
  7417. type: integer
  7418. marketid:
  7419. description: 市场ID
  7420. type: integer
  7421. orderid:
  7422. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7423. type: string
  7424. orderprice:
  7425. description: 委托价格
  7426. type: number
  7427. orderqty:
  7428. description: 委托数量
  7429. type: integer
  7430. orderstatus:
  7431. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7432. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7433. 16:成交失败违约(荷兰式竞拍专用)
  7434. type: integer
  7435. picurls:
  7436. description: 介绍图片[多张用逗号分隔]
  7437. type: string
  7438. quoteminunit:
  7439. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7440. type: integer
  7441. sellUserID:
  7442. description: 卖方UserID
  7443. type: integer
  7444. trademode:
  7445. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7446. 21:竞拍-大宗式 22:受托竞价
  7447. type: integer
  7448. tradeqty:
  7449. description: 成交数量
  7450. type: integer
  7451. vendorattr:
  7452. description: 供应商附件(多张,逗号分隔)
  7453. type: string
  7454. vendorname:
  7455. description: 供应商名称
  7456. type: string
  7457. vendorphone:
  7458. description: 供应商客服电话
  7459. type: string
  7460. videourls:
  7461. description: 介绍视频[多张用逗号分隔]
  7462. type: string
  7463. required:
  7464. - accountid
  7465. - buyorsell
  7466. - goodscode
  7467. - goodsid
  7468. - goodsname
  7469. - marketid
  7470. - orderid
  7471. - orderqty
  7472. - trademode
  7473. type: object
  7474. models.HsbyMarketInfo:
  7475. properties:
  7476. marketid:
  7477. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  7478. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  7479. type: integer
  7480. marketname:
  7481. description: 市场名称
  7482. type: string
  7483. marketstatus:
  7484. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  7485. type: integer
  7486. trademode:
  7487. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7488. 21:竞拍-大宗式 22:受托竞价
  7489. type: integer
  7490. required:
  7491. - marketid
  7492. - marketstatus
  7493. - trademode
  7494. type: object
  7495. models.HsbyMyGoods:
  7496. properties:
  7497. accountid:
  7498. description: 账号Id
  7499. type: integer
  7500. agreeunit:
  7501. description: 合约单位
  7502. type: number
  7503. buyaverageprice:
  7504. description: 持仓均价
  7505. type: number
  7506. buycurholderamount:
  7507. description: 买当前持仓总金额[商品币种]
  7508. type: number
  7509. buycurpositionqty:
  7510. description: 买当前持仓总数量
  7511. type: integer
  7512. buymaxqty:
  7513. description: 购买上限 [71] - 0为不限
  7514. type: integer
  7515. currencysign:
  7516. description: 货币符号
  7517. type: string
  7518. decimalplace:
  7519. description: 报价小数位
  7520. type: integer
  7521. enableqty:
  7522. description: 可用数量
  7523. type: integer
  7524. goodscode:
  7525. description: 商品代码(内部)
  7526. type: string
  7527. goodsid:
  7528. description: 商品Id
  7529. type: integer
  7530. goodsname:
  7531. description: 商品名称
  7532. type: string
  7533. goodsprice:
  7534. description: 商品价格
  7535. type: number
  7536. goodsstatus:
  7537. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7538. type: integer
  7539. last:
  7540. description: 现价(仅使用于挂牌点选)
  7541. type: number
  7542. limitdown:
  7543. description: 跌停价(仅使用于挂牌点选)
  7544. type: number
  7545. limitup:
  7546. description: 涨停价(仅使用于挂牌点选)
  7547. type: number
  7548. lotsize:
  7549. description: 手数最小变动单位
  7550. type: integer
  7551. marketid:
  7552. description: 所属市场ID
  7553. type: integer
  7554. picurls:
  7555. description: 介绍图片[多张用逗号分隔]
  7556. type: string
  7557. quoteminunit:
  7558. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7559. type: integer
  7560. stepvalue:
  7561. description: 价格最小变动单位
  7562. type: number
  7563. trademode:
  7564. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7565. 21:竞拍-大宗式 22:受托竞价
  7566. type: integer
  7567. required:
  7568. - accountid
  7569. - goodscode
  7570. - goodsid
  7571. - goodsname
  7572. - marketid
  7573. - trademode
  7574. type: object
  7575. models.HsbyMyPackage:
  7576. properties:
  7577. accountid:
  7578. description: 账户ID
  7579. type: integer
  7580. address:
  7581. description: 提货人详细地址
  7582. type: string
  7583. agreeunit:
  7584. description: 合约单位
  7585. type: number
  7586. amount:
  7587. description: 提货金额
  7588. type: number
  7589. auditer:
  7590. description: 审核人
  7591. type: integer
  7592. audittime:
  7593. description: 审核时间
  7594. type: string
  7595. averageprice:
  7596. description: 均价
  7597. type: number
  7598. cardnum:
  7599. description: 提货人证件号码
  7600. type: string
  7601. cardtypeid:
  7602. description: 提货人证件类型
  7603. type: integer
  7604. checkremark:
  7605. description: 审核备注
  7606. type: string
  7607. currencysign:
  7608. description: 货币符号
  7609. type: string
  7610. decimalplace:
  7611. description: 报价小数位
  7612. type: integer
  7613. goodscode:
  7614. description: 商品代码(内部)
  7615. type: string
  7616. goodsid:
  7617. description: 商品ID
  7618. type: integer
  7619. goodsname:
  7620. description: 商品名称
  7621. type: string
  7622. handlestatus:
  7623. description: 处理状态
  7624. type: integer
  7625. marketid:
  7626. description: 市场ID
  7627. type: integer
  7628. phonenum:
  7629. description: 提货人联系方式
  7630. type: string
  7631. picurls:
  7632. description: 介绍图片[多张用逗号分隔]
  7633. type: string
  7634. qty:
  7635. description: 提货数量
  7636. type: number
  7637. recivername:
  7638. description: 提货人姓名
  7639. type: string
  7640. reqtime:
  7641. description: 更新时间
  7642. type: string
  7643. takemode:
  7644. description: 提货方式 - 2:自提 3:配送
  7645. type: integer
  7646. takeorderid:
  7647. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7648. type: string
  7649. takeorderstatus:
  7650. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7651. type: integer
  7652. takeremark:
  7653. description: 提货备注
  7654. type: string
  7655. tradedate:
  7656. description: 交易日(yyyyMMdd)
  7657. type: string
  7658. trademode:
  7659. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7660. 21:竞拍-大宗式 22:受托竞价
  7661. type: integer
  7662. userid:
  7663. description: 用户ID
  7664. type: integer
  7665. vendorname:
  7666. description: 供应商名称
  7667. type: string
  7668. required:
  7669. - goodscode
  7670. - goodsname
  7671. - takeorderid
  7672. - trademode
  7673. type: object
  7674. models.HsbyPreGoods:
  7675. properties:
  7676. agreeunit:
  7677. description: 合约单位
  7678. type: number
  7679. currency:
  7680. description: 货币
  7681. type: string
  7682. currencysign:
  7683. description: 货币符号
  7684. type: string
  7685. decimalplace:
  7686. description: 报价小数位
  7687. type: integer
  7688. desccityid:
  7689. description: 目的地(市)
  7690. type: integer
  7691. descprovinceid:
  7692. description: 目的地(省)
  7693. type: integer
  7694. enableqty:
  7695. description: 剩余数量
  7696. type: integer
  7697. goodscode:
  7698. description: 商品代码(内部)
  7699. type: string
  7700. goodsid:
  7701. description: 商品ID(自增ID SEQ_GOODS)
  7702. type: integer
  7703. goodsname:
  7704. description: 商品名称
  7705. type: string
  7706. goodsstatus:
  7707. description: 商品状态- 2:未上市 3:上市
  7708. type: integer
  7709. lasttradedate:
  7710. description: 最后交易日期(状态:待退市)
  7711. type: string
  7712. listingdate:
  7713. description: 交易开始日期
  7714. type: string
  7715. marketid:
  7716. description: 所属市场ID
  7717. type: integer
  7718. picurls:
  7719. description: 介绍图片[多张用逗号分隔]
  7720. type: string
  7721. presaledqty:
  7722. description: 已预售量(预售结束时更新)
  7723. type: integer
  7724. presaleqty:
  7725. description: 预售数量
  7726. type: integer
  7727. quoteminunit:
  7728. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7729. type: integer
  7730. refprice:
  7731. description: 参考价格[一口价]
  7732. type: number
  7733. relatedgoodsid:
  7734. description: 关联交易合约ID
  7735. type: integer
  7736. trademode:
  7737. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7738. 21:竞拍-大宗式 22:受托竞价
  7739. type: integer
  7740. videourls:
  7741. description: 介绍视频[多张用逗号分隔]
  7742. type: string
  7743. required:
  7744. - goodscode
  7745. - goodsid
  7746. - goodsname
  7747. - marketid
  7748. - trademode
  7749. type: object
  7750. models.HsbyPreGoodsDetail:
  7751. properties:
  7752. agreeunit:
  7753. description: 合约单位
  7754. type: number
  7755. buymaxqty:
  7756. description: 购买上限 [71] - 0为不限
  7757. type: integer
  7758. currency:
  7759. description: 货币
  7760. type: string
  7761. currencysign:
  7762. description: 货币符号
  7763. type: string
  7764. customername:
  7765. description: 发行单位
  7766. type: string
  7767. decimalplace:
  7768. description: 报价小数位
  7769. type: integer
  7770. desccityid:
  7771. description: 目的地(市)ID
  7772. type: integer
  7773. descprovinceid:
  7774. description: 目的地(省)ID
  7775. type: integer
  7776. enableqty:
  7777. description: 剩余数量
  7778. type: integer
  7779. goodscode:
  7780. description: 商品代码(内部)
  7781. type: string
  7782. goodsdesc:
  7783. description: 商品详情
  7784. type: string
  7785. goodsid:
  7786. description: 商品ID(自增ID SEQ_GOODS)
  7787. type: integer
  7788. goodsname:
  7789. description: 商品名称
  7790. type: string
  7791. goodsstatus:
  7792. description: 商品状态- 2:未上市 3:上市
  7793. type: integer
  7794. goodunit:
  7795. description: 报价单位
  7796. type: string
  7797. lasttradedate:
  7798. description: 最后交易日期(状态:待退市)
  7799. type: string
  7800. listingdate:
  7801. description: 交易开始日期
  7802. type: string
  7803. lotsize:
  7804. description: 手数最小变动单位
  7805. type: integer
  7806. marketid:
  7807. description: 所属市场ID
  7808. type: integer
  7809. picurls:
  7810. description: 介绍图片[多张用逗号分隔]
  7811. type: string
  7812. presaledqty:
  7813. description: 已预售量(预售结束时更新)
  7814. type: integer
  7815. presaleqty:
  7816. description: 预售数量
  7817. type: integer
  7818. quoteminunit:
  7819. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7820. type: integer
  7821. refprice:
  7822. description: 参考价格[一口价]
  7823. type: number
  7824. relatedgoodsid:
  7825. description: 关联交易合约ID
  7826. type: integer
  7827. stepvalue:
  7828. description: 价格最小变动单位
  7829. type: number
  7830. trademode:
  7831. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7832. 21:竞拍-大宗式 22:受托竞价
  7833. type: integer
  7834. vendorattr:
  7835. description: 供应商附件(多张,逗号分隔)
  7836. type: string
  7837. vendorname:
  7838. description: 供应商名称
  7839. type: string
  7840. vendorphone:
  7841. description: 供应商客服电话
  7842. type: string
  7843. videourls:
  7844. description: 介绍视频[多张用逗号分隔]
  7845. type: string
  7846. required:
  7847. - goodscode
  7848. - goodsid
  7849. - goodsname
  7850. - marketid
  7851. - trademode
  7852. type: object
  7853. models.HsbySellCollectionOrder:
  7854. properties:
  7855. agreeunit:
  7856. description: 合约单位
  7857. type: number
  7858. buyaccountid:
  7859. description: 买方账号ID[报价币种]
  7860. type: integer
  7861. buyorderid:
  7862. description: 买方委托单号
  7863. type: string
  7864. createtime:
  7865. description: 创建时间
  7866. type: string
  7867. currencysign:
  7868. description: 货币符号
  7869. type: string
  7870. decimalplace:
  7871. description: 报价小数位
  7872. type: integer
  7873. goodscode:
  7874. description: 商品代码(内部)
  7875. type: string
  7876. goodsid:
  7877. description: 商品ID
  7878. type: integer
  7879. goodsname:
  7880. description: 商品名称
  7881. type: string
  7882. marketid:
  7883. description: 市场ID
  7884. type: integer
  7885. offamount:
  7886. description: 优惠金额
  7887. type: number
  7888. payamount:
  7889. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  7890. type: number
  7891. payflag:
  7892. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7893. type: integer
  7894. paylimitedtime:
  7895. description: 支付期限
  7896. type: string
  7897. paytime:
  7898. description: 付款时间
  7899. type: string
  7900. picurls:
  7901. description: 商品介绍图片[多张用逗号分隔]
  7902. type: string
  7903. sellaccountid:
  7904. description: 卖方账号ID[报价币种]
  7905. type: integer
  7906. sellorderid:
  7907. description: 卖方委托单号
  7908. type: string
  7909. tradeamount:
  7910. description: 成交金额
  7911. type: number
  7912. tradecharge:
  7913. description: 成交手续费(买方)
  7914. type: number
  7915. tradedate:
  7916. description: 交易日(yyyyMMdd)
  7917. type: string
  7918. tradeid:
  7919. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7920. type: string
  7921. trademode:
  7922. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7923. 21:竞拍-大宗式 22:受托竞价
  7924. type: integer
  7925. tradeprice:
  7926. description: 成交价格
  7927. type: number
  7928. tradeqty:
  7929. description: 成交数量
  7930. type: integer
  7931. required:
  7932. - goodscode
  7933. - goodsname
  7934. - tradeid
  7935. - trademode
  7936. type: object
  7937. models.HsbySellMyDetail:
  7938. properties:
  7939. accountid:
  7940. description: 账户ID[报价币种]
  7941. type: integer
  7942. agreeunit:
  7943. description: 合约单位
  7944. type: number
  7945. buyorsell:
  7946. description: 买卖 - 0:买 1:卖
  7947. type: integer
  7948. currencysign:
  7949. description: 货币符号
  7950. type: string
  7951. decimalplace:
  7952. description: 报价小数位
  7953. type: integer
  7954. goodscode:
  7955. description: 商品代码(内部)
  7956. type: string
  7957. goodsid:
  7958. description: 商品ID
  7959. type: integer
  7960. goodsname:
  7961. description: 商品名称
  7962. type: string
  7963. marketid:
  7964. description: 市场ID
  7965. type: integer
  7966. orderid:
  7967. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  7968. type: string
  7969. ordertype:
  7970. description: 单据类型:0 - 发布中, 1 - 已完成
  7971. type: integer
  7972. picurls:
  7973. description: 介绍图片[多张用逗号分隔]
  7974. type: string
  7975. price:
  7976. description: 价格
  7977. type: number
  7978. qty:
  7979. description: 数量
  7980. type: integer
  7981. time:
  7982. description: 时间
  7983. type: string
  7984. trademode:
  7985. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7986. 21:竞拍-大宗式 22:受托竞价
  7987. type: integer
  7988. vendorname:
  7989. description: 供应商名称
  7990. type: string
  7991. required:
  7992. - accountid
  7993. - buyorsell
  7994. - goodscode
  7995. - goodsid
  7996. - goodsname
  7997. - marketid
  7998. - orderid
  7999. - time
  8000. - trademode
  8001. type: object
  8002. models.HsbyTopGoods:
  8003. properties:
  8004. agreeunit:
  8005. description: 合约单位
  8006. type: number
  8007. currency:
  8008. description: 货币
  8009. type: string
  8010. currencysign:
  8011. description: 货币符号
  8012. type: string
  8013. decimalplace:
  8014. description: 报价小数位
  8015. type: integer
  8016. desccityid:
  8017. description: 目的地(市)
  8018. type: integer
  8019. descprovinceid:
  8020. description: 目的地(省)
  8021. type: integer
  8022. goodscode:
  8023. description: 商品代码(内部)
  8024. type: string
  8025. goodsid:
  8026. description: 商品ID(自增ID SEQ_GOODS)
  8027. type: integer
  8028. goodsname:
  8029. description: 商品名称
  8030. type: string
  8031. hotindex:
  8032. description: 景点热度
  8033. type: integer
  8034. last:
  8035. description: 现价
  8036. type: number
  8037. marketid:
  8038. description: 所属市场ID
  8039. type: integer
  8040. picurls:
  8041. description: 介绍图片[多张用逗号分隔]
  8042. type: string
  8043. quoteminunit:
  8044. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8045. type: integer
  8046. trademode:
  8047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8048. 21:竞拍-大宗式 22:受托竞价
  8049. type: integer
  8050. videourls:
  8051. description: 介绍视频[多张用逗号分隔]
  8052. type: string
  8053. required:
  8054. - goodscode
  8055. - goodsid
  8056. - goodsname
  8057. - marketid
  8058. - trademode
  8059. type: object
  8060. models.HybsMyBuyOrderDetail:
  8061. properties:
  8062. accountid:
  8063. description: 账户ID[报价币种]
  8064. type: integer
  8065. agreeunit:
  8066. description: 合约单位
  8067. type: number
  8068. buyorsell:
  8069. description: 买卖 - 0:买 1:卖
  8070. type: integer
  8071. cancelqty:
  8072. description: 撤单数量
  8073. type: integer
  8074. currencysign:
  8075. description: 货币符号
  8076. type: string
  8077. decimalplace:
  8078. description: 报价小数位
  8079. type: integer
  8080. goodscode:
  8081. description: 商品代码(内部)
  8082. type: string
  8083. goodsid:
  8084. description: 商品ID
  8085. type: integer
  8086. goodsname:
  8087. description: 商品名称
  8088. type: string
  8089. listingselecttype:
  8090. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8091. type: integer
  8092. marketid:
  8093. description: 市场ID
  8094. type: integer
  8095. mybuystatus:
  8096. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8097. type: integer
  8098. orderamount:
  8099. description: 委托金额
  8100. type: number
  8101. orderid:
  8102. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8103. type: string
  8104. orderprice:
  8105. description: 委托价格
  8106. type: number
  8107. orderqty:
  8108. description: 委托数量
  8109. type: integer
  8110. orderstatus:
  8111. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8112. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8113. 16:成交失败违约(荷兰式竞拍专用)
  8114. type: integer
  8115. ordertime:
  8116. description: 委托时间
  8117. type: string
  8118. picurls1:
  8119. description: 预售商品介绍图片[多张用逗号分隔]
  8120. type: string
  8121. picurls2:
  8122. description: 挂牌商品介绍图片[多张用逗号分隔]
  8123. type: string
  8124. trademode:
  8125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8126. 21:竞拍-大宗式 22:受托竞价
  8127. type: integer
  8128. tradeqty:
  8129. description: 成交数量
  8130. type: integer
  8131. vendorname1:
  8132. description: 预售商品供应商名称
  8133. type: string
  8134. vendorname2:
  8135. description: 挂牌商品供应商名称
  8136. type: string
  8137. required:
  8138. - accountid
  8139. - buyorsell
  8140. - goodscode
  8141. - goodsid
  8142. - goodsname
  8143. - marketid
  8144. - orderid
  8145. - orderqty
  8146. - ordertime
  8147. - trademode
  8148. type: object
  8149. models.Loginaccount:
  8150. properties:
  8151. canoutin:
  8152. description: 是否可出入金 - 0:不可 1:可
  8153. type: integer
  8154. clientroleid:
  8155. description: 终端角色ID
  8156. type: integer
  8157. haslogined:
  8158. description: 是否已登录 - 0:未登录 1:已登录
  8159. type: integer
  8160. hasupdatedpwd:
  8161. description: 是否已更改密码 - 0:未修改 1:已修改
  8162. type: integer
  8163. lastloginip:
  8164. description: 最新登录地址
  8165. type: string
  8166. lastloginmode:
  8167. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8168. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8169. type: integer
  8170. lastloginremark:
  8171. description: 最新登录描述
  8172. type: string
  8173. lastlogintime:
  8174. description: 最新登录时间
  8175. type: string
  8176. logincode:
  8177. description: 登录代码
  8178. type: string
  8179. loginfailnum:
  8180. description: 连续登录失败次数(登录成功时清零)
  8181. type: integer
  8182. loginid:
  8183. description: 登陆账号
  8184. type: integer
  8185. loginport:
  8186. description: 最新登录端口
  8187. type: integer
  8188. loginstatus:
  8189. description: 登录账号状态 1:正常 2:冻结 3:无效
  8190. type: integer
  8191. loginusertype:
  8192. description: 登录账号类型 - 1:投资者 2:机构交易员
  8193. type: integer
  8194. modifierid:
  8195. description: 修改人
  8196. type: integer
  8197. modifytime:
  8198. description: 修改时间
  8199. type: string
  8200. pwdwrongcount:
  8201. description: 密码错误次数
  8202. type: integer
  8203. taaccountrighttype:
  8204. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8205. type: integer
  8206. unfreezetime:
  8207. description: 账户解冻时间
  8208. type: string
  8209. userid:
  8210. description: 用户ID
  8211. type: integer
  8212. required:
  8213. - loginid
  8214. type: object
  8215. models.MainAccountInfo:
  8216. properties:
  8217. accountid:
  8218. description: 账号id
  8219. type: integer
  8220. accountname:
  8221. description: 账号名称(taaccount表中的名称)
  8222. type: string
  8223. appid:
  8224. description: AppID
  8225. type: string
  8226. authcode:
  8227. description: 授权码
  8228. type: string
  8229. brokerid:
  8230. description: 经纪商id
  8231. type: string
  8232. fcid:
  8233. description: 期货公司id
  8234. type: integer
  8235. fcname:
  8236. description: 期货公司代码
  8237. type: string
  8238. hedgeaccountcode:
  8239. description: 外部账号代码(主账号登录代码)
  8240. type: string
  8241. hedgeaccountpwd:
  8242. description: 密码
  8243. type: string
  8244. ismain:
  8245. description: 是否主账号
  8246. type: integer
  8247. relateduserid:
  8248. description: 关联用户id
  8249. type: integer
  8250. userid:
  8251. description: 关联用户id
  8252. type: integer
  8253. type: object
  8254. models.Market:
  8255. properties:
  8256. auctionwrtype:
  8257. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8258. type: integer
  8259. canacceptquote:
  8260. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8261. type: integer
  8262. cangoodsexercise:
  8263. description: '[期权]是否可现货行权- 0:否 1:是'
  8264. type: integer
  8265. cangoodsexercisetype:
  8266. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8267. type: integer
  8268. canmanualquotestrike:
  8269. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8270. type: integer
  8271. canmutistage:
  8272. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8273. type: integer
  8274. canpreexercise:
  8275. description: '[期权]是否可预申报- 0:否 1:是'
  8276. type: integer
  8277. clearinterval:
  8278. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8279. type: integer
  8280. contracttmp:
  8281. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8282. type: string
  8283. exchareaid:
  8284. description: 所属交易所,可以没有
  8285. type: integer
  8286. goodstype:
  8287. description: 商品类型 - 1:交易商品 2:仓单商品
  8288. type: integer
  8289. hasrebate:
  8290. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8291. type: integer
  8292. hastradecredit:
  8293. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8294. type: integer
  8295. haswr:
  8296. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8297. type: integer
  8298. isdeductmargin:
  8299. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8300. type: integer
  8301. isrecordsource:
  8302. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8303. type: integer
  8304. isreleasemargin:
  8305. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8306. type: integer
  8307. marginformula:
  8308. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8309. type: integer
  8310. marginformula2:
  8311. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8312. type: integer
  8313. marketid:
  8314. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8315. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8316. type: integer
  8317. marketname:
  8318. description: 市场名称
  8319. type: string
  8320. marketserviceid:
  8321. description: 市场服务ID
  8322. type: integer
  8323. marketstatus:
  8324. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8325. type: integer
  8326. markettype:
  8327. description: 市场类型- 1:非交易服务 2:交易服务
  8328. type: integer
  8329. matchermode:
  8330. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  8331. type: integer
  8332. openmethod:
  8333. description: 开盘模式 - 0 自动 1手动
  8334. type: integer
  8335. otcuserid:
  8336. description: 场外期权做市商[场外期权]
  8337. type: integer
  8338. outersynctime:
  8339. description: 外部同步时间点(h24:mi:ss)[场外期权]
  8340. type: string
  8341. pendingflag:
  8342. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  8343. type: integer
  8344. pendingtime:
  8345. description: 待开市时间[通道交易-对冲](HH:mm)
  8346. type: string
  8347. performancetempid:
  8348. description: 履约计划模板ID - 作废
  8349. type: integer
  8350. premiumquotemode:
  8351. description: 权利金报价方式 - 1:自动 2:手动
  8352. type: integer
  8353. rebateratio:
  8354. description: 返利比率[竞价式]
  8355. type: number
  8356. reckonorder:
  8357. description: 结算顺序
  8358. type: integer
  8359. reckonpricealgorithm:
  8360. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  8361. 6.卖一价 7.买一卖一均价 8.外部结算价'
  8362. type: integer
  8363. reckonpriceparam:
  8364. description: 结算价参数
  8365. type: integer
  8366. reckontime:
  8367. description: 结算时间[通道交易-对冲](HH:mm)
  8368. type: string
  8369. roleprioritytype:
  8370. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  8371. type: integer
  8372. selllistingauditflag:
  8373. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  8374. type: integer
  8375. trademarkettype:
  8376. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  8377. type: integer
  8378. trademode:
  8379. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8380. 21:竞拍-大宗式 22:受托竞价
  8381. type: integer
  8382. tradeproperty:
  8383. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  8384. 8:场外期权
  8385. type: integer
  8386. tradetype:
  8387. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  8388. type: integer
  8389. required:
  8390. - marketid
  8391. - marketstatus
  8392. - openmethod
  8393. - reckonpricealgorithm
  8394. - trademode
  8395. - tradeproperty
  8396. type: object
  8397. models.Marketrun:
  8398. properties:
  8399. afternexttradedate:
  8400. description: 下下交易日
  8401. type: string
  8402. clearquoteflag:
  8403. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  8404. type: integer
  8405. lastreckondate:
  8406. description: 最新交易日(结算成功)
  8407. type: string
  8408. machinedate:
  8409. description: 机器时间
  8410. type: string
  8411. manualflag:
  8412. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  8413. type: integer
  8414. marketid:
  8415. description: 市场ID
  8416. type: integer
  8417. nexttradedate:
  8418. description: 下一交易日
  8419. type: string
  8420. pretradedate:
  8421. description: 上一交易日
  8422. type: string
  8423. reckonflag:
  8424. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  8425. type: integer
  8426. runstatus:
  8427. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  8428. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  8429. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  8430. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  8431. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  8432. 62.今日免清算
  8433. type: integer
  8434. sectionid:
  8435. description: 时间段号[多时段时用]
  8436. type: integer
  8437. tradedate:
  8438. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  8439. type: string
  8440. tradedate2:
  8441. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  8442. type: string
  8443. updatetime:
  8444. description: 更新时间
  8445. type: string
  8446. required:
  8447. - marketid
  8448. - nexttradedate
  8449. - reckonflag
  8450. - runstatus
  8451. - tradedate
  8452. - tradedate2
  8453. type: object
  8454. models.Messageboard:
  8455. properties:
  8456. contactnum:
  8457. description: 联系电话
  8458. type: string
  8459. createtime:
  8460. description: 创建时间
  8461. type: string
  8462. message:
  8463. description: 留言信息
  8464. type: string
  8465. messageboardid:
  8466. description: 留言簿ID(SEQ_MessageBoard)
  8467. type: integer
  8468. userid:
  8469. description: 用户ID
  8470. type: integer
  8471. required:
  8472. - messageboardid
  8473. type: object
  8474. models.MyCoupon:
  8475. properties:
  8476. accountid:
  8477. description: 资金账户ID
  8478. type: integer
  8479. areauserid:
  8480. description: 所属机构
  8481. type: integer
  8482. conditionvalue:
  8483. description: 条件阈值(可为0)
  8484. type: number
  8485. couponcategroy:
  8486. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  8487. type: integer
  8488. couponname:
  8489. description: 优惠券名称
  8490. type: string
  8491. coupontypeid:
  8492. description: 优惠券类型ID
  8493. type: string
  8494. couponvalue:
  8495. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8496. type: number
  8497. curfreezeqty:
  8498. description: 期末冻结数量
  8499. type: integer
  8500. curqty:
  8501. description: 期末数量
  8502. type: integer
  8503. isgeneral:
  8504. description: 是否通用券 - 0:否 1:是
  8505. type: integer
  8506. isunusable:
  8507. description: 是否不可用
  8508. type: boolean
  8509. limitedflag:
  8510. description: 是否指定商品 - 0:不限 1:限制
  8511. type: integer
  8512. limitedgoodsids:
  8513. description: 指定商品IDs[逗号分隔,前后加逗号]
  8514. type: string
  8515. orifreezeqty:
  8516. description: 期初冻结数量
  8517. type: integer
  8518. oriqty:
  8519. description: 期初数量
  8520. type: integer
  8521. reasontype:
  8522. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  8523. type: integer
  8524. todaydecrease:
  8525. description: 今日减少
  8526. type: integer
  8527. todayincrease:
  8528. description: 今日增加
  8529. type: integer
  8530. userid:
  8531. description: 用户ID
  8532. type: integer
  8533. userscope:
  8534. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  8535. type: string
  8536. required:
  8537. - accountid
  8538. - coupontypeid
  8539. type: object
  8540. models.MyCouponHold:
  8541. properties:
  8542. accountid:
  8543. description: 资金账户ID
  8544. type: integer
  8545. conditionvalue:
  8546. description: 条件阈值(可为0)
  8547. type: number
  8548. couponcategroy:
  8549. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  8550. type: integer
  8551. couponholdid:
  8552. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  8553. type: string
  8554. couponname:
  8555. description: 优惠券名称
  8556. type: string
  8557. coupontypeid:
  8558. description: 优惠券类型ID - SEQ_COUPONTYPE
  8559. type: string
  8560. couponvalue:
  8561. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  8562. type: number
  8563. createtime:
  8564. description: 创建时间
  8565. type: string
  8566. enddate:
  8567. description: 结束日期
  8568. type: string
  8569. giveapplyid:
  8570. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  8571. type: integer
  8572. holdstatus:
  8573. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  8574. type: integer
  8575. isgeneral:
  8576. description: 是否通用券 - 0:否 1:是
  8577. type: integer
  8578. limitedflag:
  8579. description: 是否指定商品 - 0:不限 1:限制
  8580. type: integer
  8581. limitedgoodsids:
  8582. description: 指定商品IDs[逗号分隔]
  8583. type: string
  8584. qty:
  8585. description: 数量(按1平铺)
  8586. type: integer
  8587. startdate:
  8588. description: 开始日期
  8589. type: string
  8590. userid:
  8591. description: 用户ID
  8592. type: integer
  8593. userscope:
  8594. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  8595. type: string
  8596. required:
  8597. - couponholdid
  8598. type: object
  8599. models.MyUsedCoupon:
  8600. properties:
  8601. accountid:
  8602. description: 资金账户ID(买方)
  8603. type: integer
  8604. conditionvalue:
  8605. description: 条件阈值(可为0)
  8606. type: number
  8607. couponcategroy:
  8608. description: 种类 - 1:现金券 2:折扣券
  8609. type: integer
  8610. couponname:
  8611. description: 优惠券名称
  8612. type: string
  8613. coupontypeid:
  8614. description: 优惠券类型ID(买方)
  8615. type: string
  8616. couponvalue:
  8617. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  8618. type: number
  8619. createtime:
  8620. description: 创建时间
  8621. type: string
  8622. goodsid:
  8623. description: 商品ID
  8624. type: integer
  8625. handlestatus:
  8626. description: 处理状态
  8627. type: integer
  8628. marketid:
  8629. description: 市场ID
  8630. type: integer
  8631. offamount:
  8632. description: 优惠金额
  8633. type: number
  8634. orderid:
  8635. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8636. type: string
  8637. sellaccountid:
  8638. description: 资金账户ID(卖方)
  8639. type: integer
  8640. tradeamount:
  8641. description: 成交金额
  8642. type: number
  8643. tradeid:
  8644. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8645. type: string
  8646. usedqty:
  8647. description: 使用数量
  8648. type: integer
  8649. required:
  8650. - coupontypeid
  8651. - orderid
  8652. type: object
  8653. models.OperationPrimaryMenu:
  8654. properties:
  8655. Children:
  8656. description: 二级功能菜单
  8657. items:
  8658. $ref: '#/definitions/models.OperationSecondaryMenu'
  8659. type: array
  8660. Key:
  8661. description: 菜单KEY
  8662. type: string
  8663. Label:
  8664. description: 菜单标题
  8665. type: string
  8666. type: object
  8667. models.OperationSecondaryMenu:
  8668. properties:
  8669. Key:
  8670. description: 菜单KEY
  8671. type: string
  8672. Label:
  8673. description: 菜单标题
  8674. type: string
  8675. TabList:
  8676. description: 三级功能菜单
  8677. items:
  8678. $ref: '#/definitions/models.OperationTabMenu'
  8679. type: array
  8680. type: object
  8681. models.OperationTabMenu:
  8682. properties:
  8683. Key:
  8684. description: 菜单KEY
  8685. type: string
  8686. Label:
  8687. description: 菜单标题
  8688. type: string
  8689. type: object
  8690. models.PendingAuditBizModel:
  8691. properties:
  8692. accountid:
  8693. description: 现货账户
  8694. type: string
  8695. areaname:
  8696. description: 所属部门
  8697. type: string
  8698. bizid:
  8699. description: 业务ID
  8700. type: string
  8701. bizname:
  8702. description: 业务名称
  8703. type: string
  8704. status:
  8705. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  8706. type: integer
  8707. type:
  8708. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  8709. type: integer
  8710. type: object
  8711. models.QhjContract:
  8712. properties:
  8713. contractconfirmtime:
  8714. description: 合同确认时间(时间)
  8715. type: string
  8716. enumdicname:
  8717. description: 单位名称
  8718. type: string
  8719. goodscode:
  8720. description: 商品代码
  8721. type: string
  8722. goodsid:
  8723. description: 商品ID [5:融资单]
  8724. type: integer
  8725. goodsname:
  8726. description: 商品名称
  8727. type: string
  8728. goodunitid:
  8729. description: 商品单位id
  8730. type: integer
  8731. initmargin:
  8732. description: 初始保证金(首付款)
  8733. type: number
  8734. lenderamount:
  8735. description: 贷款金额(总额|订单总额)
  8736. type: number
  8737. marginratio:
  8738. description: 保证金比率(首付比例)
  8739. type: number
  8740. payamount:
  8741. description: 已付(已付货款)
  8742. type: number
  8743. recoveredmargin:
  8744. description: 已追缴保证金
  8745. type: number
  8746. remainamount:
  8747. description: 合同剩余金额(融资额)
  8748. type: number
  8749. scfcontractid:
  8750. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8751. type: integer
  8752. scfcontracttype:
  8753. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  8754. type: integer
  8755. totalinterest:
  8756. description: 已计总利息(利息)
  8757. type: number
  8758. tradeprice:
  8759. description: 成交价格(成本价格)
  8760. type: number
  8761. userid:
  8762. description: 用户ID
  8763. type: integer
  8764. username:
  8765. description: 用户名称
  8766. type: string
  8767. wrqty:
  8768. description: 仓单数量(数量)
  8769. type: integer
  8770. type: object
  8771. models.QhjContractLog:
  8772. properties:
  8773. amount:
  8774. description: 支付金额
  8775. type: number
  8776. amounttype:
  8777. description: 资金类型 - 1:首付款2:尾款 3:利息 4:追加款
  8778. type: integer
  8779. logid:
  8780. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8781. type: string
  8782. remainamount:
  8783. description: 剩余货款
  8784. type: number
  8785. scfcontractid:
  8786. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  8787. type: integer
  8788. updatetime:
  8789. description: 更新时间
  8790. type: string
  8791. type: object
  8792. models.QueryErrorInfosRsp:
  8793. properties:
  8794. description:
  8795. description: 异常描述
  8796. type: string
  8797. errorcode:
  8798. description: 异常代码
  8799. type: string
  8800. errorid:
  8801. description: 异常ID
  8802. type: integer
  8803. modulecode:
  8804. description: 所属模块
  8805. type: string
  8806. operatecode:
  8807. description: 所属操作
  8808. type: string
  8809. rownumber:
  8810. description: 行号
  8811. type: string
  8812. required:
  8813. - errorid
  8814. type: object
  8815. models.QueryHedgeOrderDetailRsp:
  8816. properties:
  8817. accountid:
  8818. description: 账户ID
  8819. type: integer
  8820. buyorsell:
  8821. description: 买卖 - 0:买 1:卖
  8822. type: integer
  8823. cancellogincode:
  8824. description: 撤单人
  8825. type: string
  8826. channelbuildtype:
  8827. description: 开平标志 - 0:无 1:建仓 2:平仓
  8828. type: integer
  8829. channelinnerorderstatus:
  8830. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  8831. 9:全部成交
  8832. type: integer
  8833. channeloperatetype:
  8834. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  8835. type: integer
  8836. closetype:
  8837. description: 平仓方式 - 0:无 1:平今 2:平昨
  8838. type: integer
  8839. curexchangerate:
  8840. description: 当前汇率
  8841. type: number
  8842. exchangefullname:
  8843. description: 外部交易所全称
  8844. type: string
  8845. goodscode:
  8846. description: 商品代码(内部)
  8847. type: string
  8848. goodsid:
  8849. description: 商品ID
  8850. type: integer
  8851. goodsname:
  8852. description: 商品名称
  8853. type: string
  8854. marketid:
  8855. description: 市场ID
  8856. type: integer
  8857. openfreezemargin:
  8858. description: 冻结保证金(冻结交易金额)
  8859. type: number
  8860. orderid:
  8861. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8862. type: string
  8863. orderlogincode:
  8864. description: 委托人
  8865. type: string
  8866. orderprice:
  8867. description: 委托价格(账户)
  8868. type: number
  8869. orderqty:
  8870. description: 委托数量
  8871. type: integer
  8872. ordertime:
  8873. description: 委托时间
  8874. type: string
  8875. pricemode:
  8876. description: '取价方式 - 1:市价 2: 限价'
  8877. type: integer
  8878. tradedate:
  8879. description: 交易日(yyyyMMdd)
  8880. type: string
  8881. tradeqty:
  8882. description: 成交数量
  8883. type: integer
  8884. type: object
  8885. models.QueryHedgeTradeDetailRsp:
  8886. properties:
  8887. accountid:
  8888. description: 账号ID
  8889. type: integer
  8890. buyorsell:
  8891. description: 方向 - 0:买 1:卖
  8892. type: integer
  8893. channelbuildtype:
  8894. description: 委托单据类型 0:无 1:建仓 2:平仓
  8895. type: integer
  8896. closecharge:
  8897. description: 平仓手续费(账户)
  8898. type: number
  8899. closecharge2:
  8900. description: 平仓手续费(商品)
  8901. type: number
  8902. closepl:
  8903. description: 平仓盈亏(账户)
  8904. type: number
  8905. closepl2:
  8906. description: 平仓盈亏(商品)
  8907. type: number
  8908. closepl3:
  8909. description: 平仓盈亏(账户)(逐笔)
  8910. type: number
  8911. closepl4:
  8912. description: 平仓盈亏(商品)(逐笔)
  8913. type: number
  8914. closetype:
  8915. description: 平仓方式 - 0:无 1:平今 2:平昨
  8916. type: integer
  8917. curexchangerate:
  8918. description: 当前汇率
  8919. type: number
  8920. exchangefullname:
  8921. description: 外部交易所全称
  8922. type: string
  8923. goodscode:
  8924. description: 商品代码(内部)
  8925. type: string
  8926. goodsid:
  8927. description: 商品ID
  8928. type: integer
  8929. goodsname:
  8930. description: 商品名称
  8931. type: string
  8932. marketid:
  8933. description: 市场ID
  8934. type: integer
  8935. opencharge:
  8936. description: 建仓手续费(账户)
  8937. type: number
  8938. opencharge2:
  8939. description: 建仓手续费(商品)
  8940. type: number
  8941. orderid:
  8942. description: 委托单号
  8943. type: string
  8944. orderlogincode:
  8945. description: 委托人
  8946. type: string
  8947. tradeamount:
  8948. description: 成交金额(账户)
  8949. type: number
  8950. tradedate:
  8951. description: 交易日(yyyyMMdd)
  8952. type: string
  8953. tradeid:
  8954. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8955. type: string
  8956. tradeprice:
  8957. description: 成交价格
  8958. type: number
  8959. tradeqty:
  8960. description: 成交数量
  8961. type: integer
  8962. tradetime:
  8963. description: 成交时间
  8964. type: string
  8965. tradetype:
  8966. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  8967. type: integer
  8968. type: object
  8969. models.QuotePrimaryMenu:
  8970. properties:
  8971. Index:
  8972. description: 序号
  8973. type: integer
  8974. Key:
  8975. description: 键名
  8976. type: string
  8977. Name:
  8978. description: 菜单名称
  8979. type: string
  8980. SubMenus:
  8981. description: 子菜单
  8982. items:
  8983. $ref: '#/definitions/models.QuoteSecondaryMenu'
  8984. type: array
  8985. SubTitleType:
  8986. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  8987. type: integer
  8988. TradeModes:
  8989. description: 包含市场交易类型
  8990. type: string
  8991. type: object
  8992. models.QuoteSecondaryMenu:
  8993. properties:
  8994. ExExchangeCode:
  8995. description: 外部交易所代码
  8996. type: string
  8997. ExExchangeID:
  8998. description: 外部交易所ID
  8999. type: integer
  9000. GoodsGroupIDs:
  9001. description: 商品组ID列表
  9002. items:
  9003. type: integer
  9004. type: array
  9005. Index:
  9006. description: 序号
  9007. type: integer
  9008. MarketID:
  9009. description: 市场ID
  9010. type: integer
  9011. MenuTitle:
  9012. description: 菜单标题(市场名称或外部交易所名称)
  9013. type: string
  9014. TradeMode:
  9015. description: 交易模式
  9016. type: integer
  9017. type: object
  9018. models.SearchGoods:
  9019. properties:
  9020. goodscode:
  9021. description: 商品代码(内部)
  9022. type: string
  9023. goodsid:
  9024. description: 商品ID(自增ID SEQ_GOODS)
  9025. type: integer
  9026. goodsname:
  9027. description: 商品名称
  9028. type: string
  9029. marketid:
  9030. description: 所属市场ID
  9031. type: integer
  9032. marketname:
  9033. description: 市场名称
  9034. type: string
  9035. trademode:
  9036. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9037. 21:竞拍-大宗式 22:受托竞价
  9038. type: integer
  9039. required:
  9040. - goodscode
  9041. - goodsid
  9042. - goodsname
  9043. - marketid
  9044. - trademode
  9045. type: object
  9046. models.Systemparam:
  9047. properties:
  9048. loginid:
  9049. description: 更新用户账号,登录账号
  9050. type: string
  9051. modifyflag:
  9052. description: 修改标志0 不允许修改 1 允许修改
  9053. type: integer
  9054. paramcode:
  9055. description: 参数代码
  9056. type: string
  9057. paramname:
  9058. description: 参数名
  9059. type: string
  9060. paramtype:
  9061. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  9062. type: integer
  9063. paramvalue:
  9064. description: 参数值
  9065. type: string
  9066. paramvalue2:
  9067. description: 参数值(CLOB)
  9068. type: string
  9069. regexpress:
  9070. description: 正则表达式
  9071. type: string
  9072. remark:
  9073. description: 备注
  9074. type: string
  9075. serverip:
  9076. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  9077. type: string
  9078. showflag:
  9079. description: 是否显示0 不显示 1 显示
  9080. type: integer
  9081. updatetime:
  9082. description: 更新时间
  9083. type: string
  9084. userid:
  9085. description: 更新用户ID
  9086. type: integer
  9087. required:
  9088. - paramcode
  9089. type: object
  9090. models.Szdz3convertconfig:
  9091. properties:
  9092. canin:
  9093. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  9094. type: integer
  9095. canout:
  9096. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  9097. type: integer
  9098. converttype:
  9099. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9100. 6:交易转花生米(不设置)
  9101. type: integer
  9102. createtime:
  9103. description: 创建时间
  9104. type: string
  9105. creatorid:
  9106. description: 创建人
  9107. type: integer
  9108. daymaxvalue:
  9109. description: 当日最大转入限制
  9110. type: number
  9111. freezedays:
  9112. description: 冻结天数 [5:花生米转交易]
  9113. type: integer
  9114. innergoodsid:
  9115. description: 内部商品ID[交易]
  9116. type: integer
  9117. inratio:
  9118. description: 目标值
  9119. type: integer
  9120. modifierid:
  9121. description: 修改人
  9122. type: integer
  9123. modifytime:
  9124. description: 修改时间
  9125. type: string
  9126. outergoodscode:
  9127. description: 外部商品代码[JD\PD]
  9128. type: string
  9129. outratio:
  9130. description: 源值
  9131. type: integer
  9132. pddecimalplace:
  9133. description: PD小数位
  9134. type: integer
  9135. timemaxvalue:
  9136. description: 单次最大转入限制
  9137. type: number
  9138. timeminvalue:
  9139. description: 单次最小转入限制
  9140. type: number
  9141. required:
  9142. - converttype
  9143. - innergoodsid
  9144. - outergoodscode
  9145. type: object
  9146. models.Szdz3searchwhitelist:
  9147. properties:
  9148. createtime:
  9149. description: 创建时间
  9150. type: string
  9151. creatorid:
  9152. description: 创建人
  9153. type: integer
  9154. modifierid:
  9155. description: 修改人
  9156. type: integer
  9157. modifytime:
  9158. description: 修改时间
  9159. type: string
  9160. userid:
  9161. description: 用户ID
  9162. type: integer
  9163. required:
  9164. - userid
  9165. type: object
  9166. models.Taaccount:
  9167. properties:
  9168. accountflag:
  9169. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  9170. type: integer
  9171. accountid:
  9172. description: 资金账户ID
  9173. type: integer
  9174. accountname:
  9175. description: 账户名称
  9176. type: string
  9177. balance:
  9178. description: 期初余额
  9179. type: number
  9180. capitalbalance:
  9181. description: 本金余额[外部子账户实际出入金余额]
  9182. type: number
  9183. changeflag:
  9184. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  9185. type: integer
  9186. changetime:
  9187. description: 账户状态变更时间
  9188. type: string
  9189. closepl:
  9190. description: 今日平仓盈亏
  9191. type: number
  9192. creditdecrease:
  9193. description: 今日授信减少
  9194. type: number
  9195. creditincrease:
  9196. description: 今日授信增加
  9197. type: number
  9198. currencyid:
  9199. description: 货币ID
  9200. type: integer
  9201. currentbalance:
  9202. description: 期末余额
  9203. type: number
  9204. freezecharge:
  9205. description: 手续费冻结
  9206. type: number
  9207. freezemargin:
  9208. description: 冻结保证金
  9209. type: number
  9210. fromaccountid:
  9211. description: 所属上级账户
  9212. type: integer
  9213. inamount:
  9214. description: 今日入金金额(包括三方入金)
  9215. type: number
  9216. ismain:
  9217. description: 是否母账号 0:不是母账户 1:是母账户
  9218. type: integer
  9219. ismarketaccount:
  9220. description: 是否机构接单账号 0:不是 1:是
  9221. type: integer
  9222. isreckonaccount:
  9223. description: 是否机构分润账号 0:不是 1:是
  9224. type: integer
  9225. mortgagecredit:
  9226. description: 授信金额
  9227. type: number
  9228. orifreezecharge:
  9229. description: 期初手续费冻结
  9230. type: number
  9231. orifreezemargin:
  9232. description: 期初冻结保证金
  9233. type: number
  9234. orimortgagecredit:
  9235. description: 期初授信金额
  9236. type: number
  9237. oriothercredit:
  9238. description: 期初其它授信金额
  9239. type: number
  9240. oriotherfreezemargin:
  9241. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  9242. type: number
  9243. orioutamountfreeze:
  9244. description: 期初出金冻结
  9245. type: number
  9246. oriusedmargin:
  9247. description: 期初占用保证金
  9248. type: number
  9249. othercredit:
  9250. description: 其它授信金额
  9251. type: number
  9252. othercreditdecrease:
  9253. description: 今日其它授信减少
  9254. type: number
  9255. othercreditincrease:
  9256. description: 今日其它授信增加
  9257. type: number
  9258. otherfreezemargin:
  9259. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  9260. type: number
  9261. otherincome:
  9262. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  9263. type: number
  9264. otherpay:
  9265. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  9266. type: number
  9267. outamount:
  9268. description: 今日出金金额(包括三方出金)
  9269. type: number
  9270. outamountfreeze:
  9271. description: 出金冻结
  9272. type: number
  9273. outthreshold:
  9274. description: 出金阈值
  9275. type: number
  9276. parentaccountid:
  9277. description: 所属根账号
  9278. type: integer
  9279. paycharge:
  9280. description: 今日手续费支出
  9281. type: number
  9282. relatedaccountstatus:
  9283. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  9284. type: integer
  9285. relateduserid:
  9286. description: 关联用户
  9287. type: integer
  9288. serivcegroup:
  9289. description: 服务分组
  9290. type: integer
  9291. signstatus:
  9292. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9293. type: integer
  9294. sublevelpath:
  9295. description: 账号层级路径(逗号分隔,首尾加逗号)
  9296. type: string
  9297. taaccounttype:
  9298. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  9299. type: integer
  9300. thirdinamount:
  9301. description: 今日三方入金
  9302. type: number
  9303. thirdoutamount:
  9304. description: 今日三方出金
  9305. type: number
  9306. tradestatus:
  9307. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  9308. type: integer
  9309. tradestatuschangetime:
  9310. description: 激活时间
  9311. type: string
  9312. transferamount:
  9313. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  9314. type: number
  9315. usedmargin:
  9316. description: 占用保证金
  9317. type: number
  9318. userid:
  9319. description: 用户ID
  9320. type: integer
  9321. required:
  9322. - accountid
  9323. - userid
  9324. type: object
  9325. models.Tablecolumnconfig:
  9326. properties:
  9327. aligntype:
  9328. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  9329. type: integer
  9330. autoid:
  9331. description: AutoID
  9332. type: integer
  9333. columnfield:
  9334. description: 列字段
  9335. type: string
  9336. columntitle:
  9337. description: 列Title
  9338. type: string
  9339. columnwidth:
  9340. description: 列宽
  9341. type: string
  9342. formatterstring:
  9343. description: 格式化字符
  9344. type: string
  9345. formattertype:
  9346. description: 格式化类型
  9347. type: string
  9348. groupname:
  9349. description: 表头分组名称
  9350. type: string
  9351. isshow:
  9352. description: 是否显示 - 0:不显示 1:显示
  9353. type: integer
  9354. needsummary:
  9355. description: 是否需要汇总 - 0:不需要 1:需要
  9356. type: integer
  9357. orderindex:
  9358. description: 顺序
  9359. type: integer
  9360. remark:
  9361. description: 备注
  9362. type: string
  9363. summarytype:
  9364. description: 汇总类型 - 1:加总 2:最后一个
  9365. type: integer
  9366. tablekey:
  9367. description: 列表Key
  9368. type: string
  9369. required:
  9370. - autoid
  9371. type: object
  9372. models.Useraccount:
  9373. properties:
  9374. accountname:
  9375. description: 账户名称(机构名称)
  9376. type: string
  9377. accountstatus:
  9378. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  9379. type: integer
  9380. auditremark:
  9381. description: 审核备注
  9382. type: string
  9383. audittime:
  9384. description: 审核时间
  9385. type: string
  9386. audituserid:
  9387. description: 审核人
  9388. type: integer
  9389. broker:
  9390. description: 所属经纪人ID
  9391. type: integer
  9392. canceltime:
  9393. description: 销户时间
  9394. type: string
  9395. canceluserid:
  9396. description: 销户人
  9397. type: integer
  9398. createtime:
  9399. description: 创建时间
  9400. type: string
  9401. creatorid:
  9402. description: 创建人
  9403. type: integer
  9404. hasauth:
  9405. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  9406. type: integer
  9407. isanonymous:
  9408. description: 是否匿名下单 - 0:否 1:是
  9409. type: integer
  9410. maxinvestornum:
  9411. description: 最大用户数(经纪会员下投资者个数)
  9412. type: integer
  9413. memberuserid:
  9414. description: 所属会员ID
  9415. type: integer
  9416. modifierid:
  9417. description: 修改人
  9418. type: integer
  9419. modifyremark:
  9420. description: 变更备注
  9421. type: string
  9422. modifystatus:
  9423. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  9424. type: integer
  9425. modifytime:
  9426. description: 修改时间
  9427. type: string
  9428. parentuserid:
  9429. description: 所属机构ID
  9430. type: integer
  9431. reckonaccountid:
  9432. description: 默认结算资金账号ID(机构分润使用) 作废
  9433. type: integer
  9434. refercount:
  9435. description: 推荐总人数
  9436. type: integer
  9437. refereeuserid:
  9438. description: 推荐人ID
  9439. type: integer
  9440. refernum:
  9441. description: 推荐码
  9442. type: string
  9443. subarealevelpath:
  9444. description: 子机构层级路径(逗号分隔,首尾加逗号)
  9445. type: string
  9446. userid:
  9447. description: 用户ID
  9448. type: integer
  9449. usertype:
  9450. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9451. type: integer
  9452. required:
  9453. - userid
  9454. type: object
  9455. models.Userfavoritegoods:
  9456. properties:
  9457. goodsid:
  9458. description: 商品ID
  9459. type: integer
  9460. required:
  9461. - goodsid
  9462. type: object
  9463. models.Userinfo:
  9464. properties:
  9465. address:
  9466. description: 地址
  9467. type: string
  9468. attachment1:
  9469. description: 附件1
  9470. type: string
  9471. attachment2:
  9472. description: 附件2
  9473. type: string
  9474. bankaccount:
  9475. description: 银行帐号 (加密存储)
  9476. type: string
  9477. bankaccountname:
  9478. description: 收款人名称
  9479. type: string
  9480. bankcardfrontphotourl:
  9481. description: 银行卡正面照地址
  9482. type: string
  9483. bankid:
  9484. description: 银行编码
  9485. type: string
  9486. bankname:
  9487. description: 银行名称
  9488. type: string
  9489. biznature:
  9490. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  9491. type: integer
  9492. bizscope:
  9493. description: 企业经营范围(企业)
  9494. type: string
  9495. cardbackphotourl:
  9496. description: 证件背面图片地址
  9497. type: string
  9498. cardfrontphotourl:
  9499. description: 证件正面图片地址
  9500. type: string
  9501. cardnum:
  9502. description: 证件号码(加密存储)
  9503. type: string
  9504. cardtypeid:
  9505. description: 证件类型ID
  9506. type: integer
  9507. cityid:
  9508. description: 市
  9509. type: integer
  9510. company:
  9511. description: 公司(个人)
  9512. type: string
  9513. contactname:
  9514. description: 联系人
  9515. type: string
  9516. countryid:
  9517. description: 国家
  9518. type: integer
  9519. createtime:
  9520. description: 创建时间
  9521. type: string
  9522. creatorid:
  9523. description: 创建人
  9524. type: integer
  9525. customername:
  9526. description: 客户名称(企业名称)
  9527. type: string
  9528. districtid:
  9529. description: 地区
  9530. type: integer
  9531. email:
  9532. description: 邮件(加密存储)
  9533. type: string
  9534. fax:
  9535. description: 传真(加密存储)
  9536. type: string
  9537. halfbodyphotourl:
  9538. description: 半身照地址
  9539. type: string
  9540. hasencrypt:
  9541. description: 数据是否已加密 - 0:未加密 1:已加密
  9542. type: integer
  9543. headurl:
  9544. description: 头像地址
  9545. type: string
  9546. legalcardbackphotourl:
  9547. description: 法人身份证背面照地址
  9548. type: string
  9549. legalcardfrontphotourl:
  9550. description: 法人身份证正面照地址
  9551. type: string
  9552. legalpersonname:
  9553. description: 法人姓名(企业)
  9554. type: string
  9555. mobile:
  9556. description: 手机号码(加密存储)
  9557. type: string
  9558. mobile2:
  9559. description: 手机号码[明文-尚志]
  9560. type: string
  9561. modifierid:
  9562. description: 修改人
  9563. type: integer
  9564. modifiertime:
  9565. description: 修改时间
  9566. type: string
  9567. needinvoice:
  9568. description: 是否需要发票 - 0:不需要 1:需要
  9569. type: integer
  9570. nickname:
  9571. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  9572. type: string
  9573. openmode:
  9574. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  9575. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  9576. type: integer
  9577. otherurl:
  9578. description: 其它图片地址[使用分号分隔]
  9579. type: string
  9580. postalcode:
  9581. description: 邮政编码
  9582. type: string
  9583. provinceid:
  9584. description: 省
  9585. type: integer
  9586. qq:
  9587. description: QQ(加密存储
  9588. type: string
  9589. remark:
  9590. description: 备注
  9591. type: string
  9592. sex:
  9593. description: '用户性别 0: 女 1: 男'
  9594. type: integer
  9595. signpdfurl:
  9596. description: 签约pdf文件
  9597. type: string
  9598. telphone:
  9599. description: 联系电话(加密存储)
  9600. type: string
  9601. userid:
  9602. description: 用户ID
  9603. type: integer
  9604. userinfotype:
  9605. description: 用户信息类型 - 1:个人 2:企业
  9606. type: integer
  9607. userstatus:
  9608. description: 用户状态 - 1:正常 2:注销
  9609. type: integer
  9610. usertype:
  9611. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  9612. type: integer
  9613. wechat:
  9614. description: 微信(加密存储)
  9615. type: string
  9616. wskhinfo:
  9617. description: 开户申请信息(JSON)
  9618. type: string
  9619. required:
  9620. - userid
  9621. type: object
  9622. models.WRSConverTDetail:
  9623. properties:
  9624. convertratio:
  9625. description: 套保系数
  9626. type: number
  9627. deliverygoodscode:
  9628. description: 现货商品代码
  9629. type: string
  9630. deliverygoodsid:
  9631. description: 现货品种ID
  9632. type: integer
  9633. deliverygoodsname:
  9634. description: 现货商品名称
  9635. type: string
  9636. enumdicname:
  9637. description: 单位名称
  9638. type: string
  9639. goodsunitid:
  9640. description: 套保品种单位id
  9641. type: integer
  9642. middlegoodscode:
  9643. description: 套保品种代码
  9644. type: string
  9645. middlegoodsid:
  9646. description: 套保品种ID
  9647. type: integer
  9648. middlegoodsname:
  9649. description: 套保品种名称
  9650. type: string
  9651. modifytime:
  9652. description: 修改时间
  9653. type: string
  9654. wrstandardid:
  9655. description: 品类ID
  9656. type: integer
  9657. type: object
  9658. models.WRStandardInfo:
  9659. properties:
  9660. areauserid:
  9661. description: 所属机构
  9662. type: integer
  9663. convertfactor:
  9664. description: 标仓系数
  9665. type: number
  9666. createtime:
  9667. description: 创建时间
  9668. type: string
  9669. creatorid:
  9670. description: 创建人
  9671. type: integer
  9672. deliverygoodsid:
  9673. description: 品种ID
  9674. type: integer
  9675. deliverygoodsname:
  9676. description: 交割商品名称
  9677. type: string
  9678. factoryitemjson:
  9679. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  9680. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  9681. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  9682. 逗号分隔'
  9683. type: string
  9684. isvalid:
  9685. description: 是否有效 - 0:无效 1:有效
  9686. type: integer
  9687. minivalue:
  9688. description: 最小变动值
  9689. type: integer
  9690. minivaluedp:
  9691. description: 最小变动值小数位
  9692. type: integer
  9693. realminivalue:
  9694. description: 实际最小变动值
  9695. type: integer
  9696. realminivaluedp:
  9697. description: 实际最小变动值小数位
  9698. type: integer
  9699. remark:
  9700. description: 备注
  9701. type: string
  9702. unitid:
  9703. description: 单位ID
  9704. type: integer
  9705. unitname:
  9706. description: 单位
  9707. type: string
  9708. updatetime:
  9709. description: 更新时间
  9710. type: string
  9711. updatorid:
  9712. description: 更新人
  9713. type: integer
  9714. wrsstatus:
  9715. description: 状态 - 作废 - 0:未激活 1:正常
  9716. type: integer
  9717. wrstandardcode:
  9718. description: 现货品类代码
  9719. type: string
  9720. wrstandardid:
  9721. description: 现货品类ID(SEQ_WRSTANDARD)
  9722. type: integer
  9723. wrstandardname:
  9724. description: 现货品类名称
  9725. type: string
  9726. required:
  9727. - wrstandardid
  9728. type: object
  9729. models.Warehouseinfo:
  9730. properties:
  9731. address:
  9732. description: 详细地址
  9733. type: string
  9734. areauserid:
  9735. description: 所属机构
  9736. type: integer
  9737. autoid:
  9738. description: 自增ID
  9739. type: integer
  9740. cityid:
  9741. description: 市
  9742. type: integer
  9743. contactname:
  9744. description: 联系人
  9745. type: string
  9746. contactnum:
  9747. description: 联系电话
  9748. type: string
  9749. countryid:
  9750. description: 国家
  9751. type: integer
  9752. createtime:
  9753. description: 创建时间
  9754. type: string
  9755. districtid:
  9756. description: 区
  9757. type: integer
  9758. hasvideo:
  9759. description: 是否有视频 - 0:无 1:有
  9760. type: integer
  9761. provinceid:
  9762. description: 省
  9763. type: integer
  9764. remark:
  9765. description: 审核备注
  9766. type: string
  9767. videourl:
  9768. description: 视频地址
  9769. type: string
  9770. warehousecode:
  9771. description: 仓库代码
  9772. type: string
  9773. warehousename:
  9774. description: 仓库名称
  9775. type: string
  9776. warehousestatus:
  9777. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  9778. type: integer
  9779. warehousetype:
  9780. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  9781. type: integer
  9782. required:
  9783. - autoid
  9784. - warehousecode
  9785. type: object
  9786. order.QueryHisTradeDetailRsp:
  9787. properties:
  9788. accountid:
  9789. description: 账户ID[报价币种]
  9790. type: integer
  9791. buildtype:
  9792. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  9793. type: integer
  9794. buyorsell:
  9795. description: 方向 - 0:买 1:卖
  9796. type: integer
  9797. charge:
  9798. description: 手续费
  9799. type: number
  9800. closecharge:
  9801. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9802. type: number
  9803. closeexchagechargevalue:
  9804. description: 平仓交易所手续费设置值
  9805. type: number
  9806. closefeealgorithm:
  9807. description: 平仓手续费收取方式 1:比率 2:固定
  9808. type: integer
  9809. closememberchargevalue:
  9810. description: 平仓会员手续费设置值
  9811. type: number
  9812. closepl:
  9813. description: 平仓盈亏
  9814. type: number
  9815. closepl2:
  9816. description: 平仓盈亏[逐笔]
  9817. type: number
  9818. closeqty:
  9819. description: 平仓数量(先建后平操作 需要记录)
  9820. type: integer
  9821. creditamount:
  9822. description: 授信金额
  9823. type: number
  9824. gcaccountid:
  9825. description: 账户ID[合约币种]
  9826. type: integer
  9827. goodscode:
  9828. description: 商品代码
  9829. type: string
  9830. goodsid:
  9831. description: 商品ID
  9832. type: integer
  9833. goodsname:
  9834. description: 商品名称
  9835. type: string
  9836. histradedate:
  9837. description: 历史交易日
  9838. type: string
  9839. intclosepl:
  9840. description: 整型盈亏(用于交易结算试算平衡-收益权)
  9841. type: integer
  9842. isconfirmexercise:
  9843. description: 是否确认行权- 0:否 1:是
  9844. type: integer
  9845. ismain:
  9846. description: 是否主单 - 0:不是 1:是
  9847. type: integer
  9848. ispreexercise:
  9849. description: 是否预申报- 0:否 1:是
  9850. type: integer
  9851. isreckoned:
  9852. description: 是否结算 - 0:未结算 1:已结算
  9853. type: integer
  9854. isvaliddata:
  9855. description: 是否有效 - 0:无效 1:有效
  9856. type: integer
  9857. listingselecttype:
  9858. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9859. type: integer
  9860. marketid:
  9861. description: 市场ID
  9862. type: integer
  9863. marketname:
  9864. description: 市场名称
  9865. type: string
  9866. matchaccountid:
  9867. description: 对手账号id
  9868. type: integer
  9869. memberuserid:
  9870. description: 会员id 个人投资者 需要填写
  9871. type: integer
  9872. opencharge:
  9873. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  9874. type: number
  9875. openexchagechargevalue:
  9876. description: 建仓交易所手续费设置值
  9877. type: number
  9878. openfeealgorithm:
  9879. description: 建仓手续费收取方式 1:比率 2:固定
  9880. type: integer
  9881. openmemberchargevalue:
  9882. description: 建仓会员手续费设置值
  9883. type: number
  9884. openqty:
  9885. description: 开仓数量(先建后平操作 需要记录)
  9886. type: integer
  9887. optiontype:
  9888. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  9889. type: integer
  9890. orderid:
  9891. description: 委托单号
  9892. type: string
  9893. performanceplanid:
  9894. description: 履约计划ID[期权]
  9895. type: integer
  9896. performancestatus:
  9897. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  9898. type: integer
  9899. preexerciseprice:
  9900. description: 预申报价格
  9901. type: number
  9902. premium:
  9903. description: 权利金 - [持仓单的权利金]
  9904. type: number
  9905. relatedouttradeid:
  9906. description: 关联外部成交单ID
  9907. type: integer
  9908. status:
  9909. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  9910. type: integer
  9911. tradeamount:
  9912. description: 成交金额[账户币种,用于所有权]
  9913. type: number
  9914. tradedate:
  9915. description: 交易日(yyyyMMdd)
  9916. type: string
  9917. tradeid:
  9918. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9919. type: string
  9920. trademode:
  9921. description: 交易模式
  9922. type: integer
  9923. tradeprice:
  9924. description: 成交价格
  9925. type: number
  9926. tradeproperty:
  9927. description: 交易属性
  9928. type: integer
  9929. tradeqty:
  9930. description: 成交数量
  9931. type: integer
  9932. tradetime:
  9933. description: 成交时间
  9934. type: string
  9935. tradetype:
  9936. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  9937. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  9938. type: integer
  9939. required:
  9940. - accountid
  9941. - buyorsell
  9942. - goodsid
  9943. - histradedate
  9944. - marketid
  9945. - memberuserid
  9946. - orderid
  9947. - tradeamount
  9948. - tradedate
  9949. - tradeid
  9950. - tradeprice
  9951. - tradeqty
  9952. - tradetime
  9953. type: object
  9954. order.QueryHisTradeOrderDetailRsp:
  9955. properties:
  9956. accountid:
  9957. description: 账户ID[报价币种]
  9958. type: integer
  9959. buildtype:
  9960. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  9961. type: integer
  9962. buyorsell:
  9963. description: 买卖 - 0:买 1:卖
  9964. type: integer
  9965. cancelorderid:
  9966. description: 撤单单号(撤单时填写)
  9967. type: string
  9968. cancelqty:
  9969. description: 撤单数量
  9970. type: integer
  9971. clientordertime:
  9972. description: 客户端委托时间
  9973. type: string
  9974. clientticket:
  9975. description: 客户端流水号
  9976. type: string
  9977. clienttype:
  9978. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  9979. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9980. type: integer
  9981. closeexchagechargevalue:
  9982. description: 平仓交易所手续费设置值
  9983. type: number
  9984. closefeealgorithm:
  9985. description: 平仓手续费收取方式 1:比率 2:固定
  9986. type: integer
  9987. closefreezecharge:
  9988. description: 平仓冻结手续费(先建后平操作,需要记录)
  9989. type: number
  9990. closememberchargevalue:
  9991. description: 平仓会员手续费设置值
  9992. type: number
  9993. closeqty:
  9994. description: 平仓数量(先建后平操作 需要记录)
  9995. type: integer
  9996. closetradeqty:
  9997. description: 平仓成交数量(先建后平操作,需要记录)
  9998. type: integer
  9999. closeunfreezecharge:
  10000. description: 平仓解冻手续费(先建后平操作,需要记录)
  10001. type: number
  10002. delistingtype:
  10003. description: 摘牌类型 - 1:价格最优 2:点选成交
  10004. type: integer
  10005. freezecharge:
  10006. description: 冻结手续费
  10007. type: number
  10008. freezemargin:
  10009. description: 冻结保证金(冻结交易金额)
  10010. type: number
  10011. gcaccountid:
  10012. description: 账户ID[合约币种]
  10013. type: integer
  10014. goodscode:
  10015. description: 商品代码
  10016. type: string
  10017. goodsid:
  10018. description: 商品ID
  10019. type: integer
  10020. goodsname:
  10021. description: 商品名称
  10022. type: string
  10023. histradedate:
  10024. description: 历史交易日
  10025. type: string
  10026. isconfirmexercise:
  10027. description: 是否确认行权- 0:否 1:是
  10028. type: integer
  10029. ispreexercise:
  10030. description: 是否预申报- 0:否 1:是
  10031. type: integer
  10032. isvaliddata:
  10033. description: 是否有效 - 0:无效 1:有效
  10034. type: integer
  10035. listingselecttype:
  10036. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10037. type: integer
  10038. marginalgorithm:
  10039. description: 保证金收取方式 1:比率 2:固定
  10040. type: integer
  10041. marginvalue:
  10042. description: 即市保证金设置值
  10043. type: number
  10044. marketid:
  10045. description: 市场ID
  10046. type: integer
  10047. marketmaxsub:
  10048. description: 市价最大偏移范围
  10049. type: number
  10050. marketname:
  10051. description: 市场名称
  10052. type: string
  10053. memberuserid:
  10054. description: 所属会员UserID
  10055. type: integer
  10056. openexchagechargevalue:
  10057. description: 建仓交易所手续费设置值
  10058. type: number
  10059. openfeealgorithm:
  10060. description: 建仓手续费收取方式 1:比率 2:固定
  10061. type: integer
  10062. openfreezecharge:
  10063. description: 开仓冻结手续费(先建后平操作,需要记录)
  10064. type: number
  10065. openmemberchargevalue:
  10066. description: 建仓会员手续费设置值
  10067. type: number
  10068. openqty:
  10069. description: 开仓数量(先建后平操作,需要记录)
  10070. type: integer
  10071. opentradeqty:
  10072. description: 开仓成交数量(先建后平操作,需要记录)
  10073. type: integer
  10074. openunfreezecharge:
  10075. description: 开仓解冻手续费(先建后平操作,需要记录)
  10076. type: number
  10077. operatetype:
  10078. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10079. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10080. 15:管理端协议转让
  10081. type: integer
  10082. operatorid:
  10083. description: 登录账号(LoginID)
  10084. type: integer
  10085. optiontype:
  10086. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10087. type: integer
  10088. orderid:
  10089. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10090. type: string
  10091. orderprice:
  10092. description: 委托价格
  10093. type: number
  10094. orderqty:
  10095. description: 委托数量
  10096. type: integer
  10097. ordersrc:
  10098. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10099. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10100. type: integer
  10101. orderstatus:
  10102. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10103. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10104. 16:成交失败违约(荷兰式竞拍专用)
  10105. type: integer
  10106. ordertime:
  10107. description: 委托时间
  10108. type: string
  10109. preexerciseprice:
  10110. description: 预申报价格
  10111. type: number
  10112. premium:
  10113. description: 权利金
  10114. type: number
  10115. preorderid:
  10116. description: 关联预埋单号(止盈止损单时填写)
  10117. type: string
  10118. pricemode:
  10119. description: '取价方式 - 1:市价 2: 限价'
  10120. type: integer
  10121. quoteid:
  10122. description: 报价单ID
  10123. type: integer
  10124. relatedid:
  10125. description: 关联单号(交割单)
  10126. type: string
  10127. retcode:
  10128. description: 错误代码
  10129. type: integer
  10130. sessionid:
  10131. description: 会话ID
  10132. type: integer
  10133. tradedate:
  10134. description: 交易日(yyyyMMdd)
  10135. type: string
  10136. trademode:
  10137. description: 交易模式
  10138. type: integer
  10139. tradeproperty:
  10140. description: 交易属性
  10141. type: integer
  10142. tradeqty:
  10143. description: 成交数量
  10144. type: integer
  10145. unfreezecharge:
  10146. description: 解冻手续费
  10147. type: number
  10148. unfreezemargin:
  10149. description: 解冻保证金
  10150. type: number
  10151. updatetime:
  10152. description: 更新时间
  10153. type: string
  10154. uuid:
  10155. description: 发起端唯一id
  10156. type: string
  10157. validtime:
  10158. description: 有效期限
  10159. type: string
  10160. validtype:
  10161. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10162. type: integer
  10163. volumetype:
  10164. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10165. type: integer
  10166. required:
  10167. - accountid
  10168. - buildtype
  10169. - buyorsell
  10170. - goodsid
  10171. - histradedate
  10172. - marketid
  10173. - memberuserid
  10174. - operatetype
  10175. - orderid
  10176. - orderqty
  10177. - ordertime
  10178. - pricemode
  10179. - tradedate
  10180. - validtype
  10181. type: object
  10182. order.QueryTradeDetailRsp:
  10183. properties:
  10184. accountid:
  10185. description: 账户ID[报价币种]
  10186. type: integer
  10187. buildtype:
  10188. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  10189. type: integer
  10190. buyorsell:
  10191. description: 方向 - 0:买 1:卖
  10192. type: integer
  10193. charge:
  10194. description: 手续费
  10195. type: number
  10196. closecharge:
  10197. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10198. type: number
  10199. closeexchagechargevalue:
  10200. description: 平仓交易所手续费设置值
  10201. type: number
  10202. closefeealgorithm:
  10203. description: 平仓手续费收取方式 1:比率 2:固定
  10204. type: integer
  10205. closememberchargevalue:
  10206. description: 平仓会员手续费设置值
  10207. type: number
  10208. closepl:
  10209. description: 平仓盈亏
  10210. type: number
  10211. closepl2:
  10212. description: 平仓盈亏[逐笔]
  10213. type: number
  10214. closeqty:
  10215. description: 平仓数量(先建后平操作 需要记录)
  10216. type: integer
  10217. creditamount:
  10218. description: 授信金额
  10219. type: number
  10220. gcaccountid:
  10221. description: 账户ID[合约币种]
  10222. type: integer
  10223. goodscode:
  10224. description: 商品代码
  10225. type: string
  10226. goodsid:
  10227. description: 商品ID
  10228. type: integer
  10229. goodsname:
  10230. description: 商品名称
  10231. type: string
  10232. intclosepl:
  10233. description: 整型盈亏(用于交易结算试算平衡-收益权)
  10234. type: integer
  10235. isconfirmexercise:
  10236. description: 是否确认行权- 0:否 1:是
  10237. type: integer
  10238. ismain:
  10239. description: 是否主单 - 0:不是 1:是
  10240. type: integer
  10241. ispreexercise:
  10242. description: 是否预申报- 0:否 1:是
  10243. type: integer
  10244. isreckoned:
  10245. description: 是否结算 - 0:未结算 1:已结算
  10246. type: integer
  10247. listingselecttype:
  10248. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10249. type: integer
  10250. marketid:
  10251. description: 市场ID
  10252. type: integer
  10253. marketname:
  10254. description: 市场名称
  10255. type: string
  10256. matchaccountid:
  10257. description: 对手账号id
  10258. type: integer
  10259. memberuserid:
  10260. description: 会员id 个人投资者 需要填写
  10261. type: integer
  10262. opencharge:
  10263. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  10264. type: number
  10265. openexchagechargevalue:
  10266. description: 建仓交易所手续费设置值
  10267. type: number
  10268. openfeealgorithm:
  10269. description: 建仓手续费收取方式 1:比率 2:固定
  10270. type: integer
  10271. openmemberchargevalue:
  10272. description: 建仓会员手续费设置值
  10273. type: number
  10274. openqty:
  10275. description: 开仓数量(先建后平操作 需要记录)
  10276. type: integer
  10277. optiontype:
  10278. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  10279. type: integer
  10280. orderid:
  10281. description: 委托单号
  10282. type: string
  10283. performanceplanid:
  10284. description: 履约计划ID[期权]
  10285. type: integer
  10286. performancestatus:
  10287. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  10288. type: integer
  10289. preexerciseprice:
  10290. description: 预申报价格
  10291. type: number
  10292. premium:
  10293. description: 权利金 - [持仓单的权利金]
  10294. type: number
  10295. relatedouttradeid:
  10296. description: 关联外部成交单ID
  10297. type: integer
  10298. status:
  10299. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  10300. type: integer
  10301. tradeamount:
  10302. description: 成交金额[账户币种,用于所有权]
  10303. type: number
  10304. tradedate:
  10305. description: 交易日(yyyyMMdd)
  10306. type: string
  10307. tradeid:
  10308. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10309. type: string
  10310. trademode:
  10311. description: 交易模式
  10312. type: integer
  10313. tradeprice:
  10314. description: 成交价格
  10315. type: number
  10316. tradeproperty:
  10317. description: 交易属性
  10318. type: integer
  10319. tradeqty:
  10320. description: 成交数量
  10321. type: integer
  10322. tradetime:
  10323. description: 成交时间
  10324. type: string
  10325. tradetype:
  10326. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  10327. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  10328. type: integer
  10329. required:
  10330. - accountid
  10331. - buyorsell
  10332. - goodsid
  10333. - marketid
  10334. - memberuserid
  10335. - orderid
  10336. - tradeamount
  10337. - tradedate
  10338. - tradeid
  10339. - tradeprice
  10340. - tradeqty
  10341. - tradetime
  10342. type: object
  10343. order.QueryTradeOrderDetailRsp:
  10344. properties:
  10345. accountid:
  10346. description: 账户ID[报价币种]
  10347. type: integer
  10348. buildtype:
  10349. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  10350. type: integer
  10351. buyorsell:
  10352. description: 买卖 - 0:买 1:卖
  10353. type: integer
  10354. cancelorderid:
  10355. description: 撤单单号(撤单时填写)
  10356. type: string
  10357. cancelqty:
  10358. description: 撤单数量
  10359. type: integer
  10360. clienttype:
  10361. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  10362. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  10363. type: integer
  10364. closefreezecharge:
  10365. description: 平仓冻结手续费(先建后平操作,需要记录)
  10366. type: number
  10367. closeqty:
  10368. description: 平仓数量(先建后平操作 需要记录)
  10369. type: integer
  10370. closetradeqty:
  10371. description: 平仓成交数量(先建后平操作,需要记录)
  10372. type: integer
  10373. closeunfreezecharge:
  10374. description: 平仓解冻手续费(先建后平操作,需要记录)
  10375. type: number
  10376. delistingtype:
  10377. description: 摘牌类型 - 1:价格最优 2:点选成交
  10378. type: integer
  10379. enableqty:
  10380. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  10381. type: integer
  10382. freezecharge:
  10383. description: 冻结手续费
  10384. type: number
  10385. freezemargin:
  10386. description: 冻结保证金(冻结交易金额)
  10387. type: number
  10388. goodscode:
  10389. description: 商品代码
  10390. type: string
  10391. goodsid:
  10392. description: 商品ID
  10393. type: integer
  10394. goodsname:
  10395. description: 商品名称
  10396. type: string
  10397. listingselecttype:
  10398. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  10399. type: integer
  10400. marketid:
  10401. description: 市场ID
  10402. type: integer
  10403. marketname:
  10404. description: 市场名称
  10405. type: string
  10406. openfreezecharge:
  10407. description: 开仓冻结手续费(先建后平操作,需要记录)
  10408. type: number
  10409. openqty:
  10410. description: 开仓数量(先建后平操作,需要记录)
  10411. type: integer
  10412. opentradeqty:
  10413. description: 开仓成交数量(先建后平操作,需要记录)
  10414. type: integer
  10415. openunfreezecharge:
  10416. description: 开仓解冻手续费(先建后平操作,需要记录)
  10417. type: number
  10418. operatetype:
  10419. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  10420. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  10421. 15:管理端协议转让
  10422. type: integer
  10423. operatorid:
  10424. description: 登录账号(LoginID)
  10425. type: integer
  10426. orderid:
  10427. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10428. type: string
  10429. orderprice:
  10430. description: 委托价格
  10431. type: number
  10432. orderqty:
  10433. description: 委托数量
  10434. type: integer
  10435. ordersrc:
  10436. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  10437. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  10438. type: integer
  10439. orderstatus:
  10440. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  10441. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  10442. 16:成交失败违约(荷兰式竞拍专用)
  10443. type: integer
  10444. ordertime:
  10445. description: 委托时间
  10446. type: string
  10447. preorderid:
  10448. description: 关联预埋单号(止盈止损单时填写)
  10449. type: string
  10450. pricemode:
  10451. description: '取价方式 - 1:市价 2: 限价'
  10452. type: integer
  10453. relatedid:
  10454. description: 关联单号(交割单)
  10455. type: string
  10456. tradedate:
  10457. description: 交易日(yyyyMMdd)
  10458. type: string
  10459. trademode:
  10460. description: 交易模式
  10461. type: integer
  10462. tradeqty:
  10463. description: 成交数量
  10464. type: integer
  10465. unfreezecharge:
  10466. description: 解冻手续费
  10467. type: number
  10468. unfreezemargin:
  10469. description: 解冻保证金
  10470. type: number
  10471. validtime:
  10472. description: 有效期限
  10473. type: string
  10474. validtype:
  10475. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  10476. type: integer
  10477. volumetype:
  10478. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  10479. type: integer
  10480. required:
  10481. - accountid
  10482. - buildtype
  10483. - buyorsell
  10484. - goodsid
  10485. - marketid
  10486. - operatetype
  10487. - orderqty
  10488. - ordertime
  10489. - pricemode
  10490. - tradedate
  10491. - validtype
  10492. type: object
  10493. order.QueryTradePositionRsp:
  10494. properties:
  10495. accountid:
  10496. description: 资金账户
  10497. type: integer
  10498. agreeunit:
  10499. description: 合约单位
  10500. type: number
  10501. averageprice:
  10502. description: 持仓均价
  10503. type: number
  10504. buyorsell:
  10505. description: 方向 - 0:买 1:卖
  10506. type: integer
  10507. closetotalqty:
  10508. description: 平仓总数量
  10509. type: integer
  10510. curholderamount:
  10511. description: 当前持仓总金额[商品币种]
  10512. type: number
  10513. curpositionqty:
  10514. description: 当前持仓总数量
  10515. type: integer
  10516. currencyid:
  10517. description: 报价货币ID
  10518. type: integer
  10519. curtdposition:
  10520. description: 期末今日头寸
  10521. type: integer
  10522. decimalplace:
  10523. description: 报价小数位
  10524. type: integer
  10525. enableqty:
  10526. description: 可用量
  10527. type: integer
  10528. fretdposition:
  10529. description: 冻结今日头寸
  10530. type: integer
  10531. frozenqty:
  10532. description: 持仓冻结数量
  10533. type: integer
  10534. goodscode:
  10535. description: 商品代码
  10536. type: string
  10537. goodsid:
  10538. description: 商品Id
  10539. type: integer
  10540. goodsname:
  10541. description: 商品名称
  10542. type: string
  10543. goodunit:
  10544. description: 报价单位
  10545. type: string
  10546. goodunitid:
  10547. description: 报价单位ID
  10548. type: integer
  10549. holderamount:
  10550. description: 期初持仓总金额[商品币种]
  10551. type: number
  10552. marketid:
  10553. description: 所属市场ID
  10554. type: integer
  10555. openreqqty:
  10556. description: 开仓申请数量(用于比较最大持仓数量)
  10557. type: integer
  10558. opentotalqty:
  10559. description: 开仓总数量
  10560. type: integer
  10561. otherfrozenqty:
  10562. description: 持仓其他冻结数量(交割冻结)
  10563. type: integer
  10564. positionqty:
  10565. description: 期初持仓数量
  10566. type: integer
  10567. tnqty:
  10568. description: T+N冻结总量
  10569. type: integer
  10570. tnusedqty:
  10571. description: T+N使用量(可以使用T+N的冻结数量)
  10572. type: integer
  10573. trademode:
  10574. description: 交易模式
  10575. type: integer
  10576. usedmargin:
  10577. description: 占用保证金[商品币种]
  10578. type: number
  10579. required:
  10580. - goodsid
  10581. type: object
  10582. quote.HistoryData:
  10583. properties:
  10584. c:
  10585. description: 收盘价
  10586. type: number
  10587. f:
  10588. description: 是否补充数据
  10589. type: boolean
  10590. h:
  10591. description: 最高价
  10592. type: number
  10593. hv:
  10594. description: 持仓量
  10595. type: integer
  10596. l:
  10597. description: 最低价
  10598. type: number
  10599. o:
  10600. description: 开盘价
  10601. type: number
  10602. s:
  10603. description: 结算价,日线周期(包括)以上才有
  10604. type: number
  10605. ts:
  10606. description: 时间
  10607. type: string
  10608. tt:
  10609. description: 总金额
  10610. type: number
  10611. tv:
  10612. description: 总量
  10613. type: integer
  10614. type: object
  10615. quote.HistoryTikData:
  10616. properties:
  10617. AV:
  10618. description: 卖量
  10619. type: integer
  10620. Ask:
  10621. description: 卖价
  10622. type: number
  10623. BV:
  10624. description: 买量
  10625. type: integer
  10626. Bid:
  10627. description: 买价
  10628. type: number
  10629. HI:
  10630. description: 单笔持仓
  10631. type: integer
  10632. HV:
  10633. description: 持仓量
  10634. type: integer
  10635. PE:
  10636. description: 现价
  10637. type: number
  10638. TDR:
  10639. description: 交易方向,0:买 1:卖
  10640. type: integer
  10641. TK:
  10642. description: 交易类型
  10643. type: integer
  10644. TS:
  10645. description: 行情时间文本
  10646. type: string
  10647. TT:
  10648. description: 现金额
  10649. type: number
  10650. Vol:
  10651. description: 现量
  10652. type: integer
  10653. type: object
  10654. quote.QueryQuoteDayRsp:
  10655. properties:
  10656. ask:
  10657. description: 卖1
  10658. type: number
  10659. ask2:
  10660. description: 卖2
  10661. type: number
  10662. ask3:
  10663. description: 卖3
  10664. type: number
  10665. ask4:
  10666. description: 卖4
  10667. type: number
  10668. ask5:
  10669. description: 卖5
  10670. type: number
  10671. ask6:
  10672. description: 卖6
  10673. type: number
  10674. ask7:
  10675. description: 卖7
  10676. type: number
  10677. ask8:
  10678. description: 卖8
  10679. type: number
  10680. ask9:
  10681. description: 卖9
  10682. type: number
  10683. ask10:
  10684. description: 卖10
  10685. type: number
  10686. askorderid:
  10687. description: 卖单号1
  10688. type: integer
  10689. askorderid2:
  10690. description: 卖单号2
  10691. type: integer
  10692. askorderid3:
  10693. description: 卖单号3
  10694. type: integer
  10695. askorderid4:
  10696. description: 卖单号4
  10697. type: integer
  10698. askorderid5:
  10699. description: 卖单号5
  10700. type: integer
  10701. askordervolume:
  10702. description: 卖单量1
  10703. type: integer
  10704. askordervolume2:
  10705. description: 卖单量2
  10706. type: integer
  10707. askordervolume3:
  10708. description: 卖单量3
  10709. type: integer
  10710. askordervolume4:
  10711. description: 卖单量4
  10712. type: integer
  10713. askordervolume5:
  10714. description: 卖单量5
  10715. type: integer
  10716. askordervolume6:
  10717. description: 卖单量6
  10718. type: integer
  10719. askordervolume7:
  10720. description: 卖单量7
  10721. type: integer
  10722. askordervolume8:
  10723. description: 卖单量8
  10724. type: integer
  10725. askordervolume9:
  10726. description: 卖单量9
  10727. type: integer
  10728. askordervolume10:
  10729. description: 卖单量10
  10730. type: integer
  10731. askqueueinfo:
  10732. description: 大利市卖港股用
  10733. type: string
  10734. askvolume:
  10735. description: 卖量1
  10736. type: integer
  10737. askvolume2:
  10738. description: 卖量2
  10739. type: integer
  10740. askvolume3:
  10741. description: 卖量3
  10742. type: integer
  10743. askvolume4:
  10744. description: 卖量4
  10745. type: integer
  10746. askvolume5:
  10747. description: 卖量5
  10748. type: integer
  10749. askvolume6:
  10750. description: 卖量6
  10751. type: integer
  10752. askvolume7:
  10753. description: 卖量7
  10754. type: integer
  10755. askvolume8:
  10756. description: 卖量8
  10757. type: integer
  10758. askvolume9:
  10759. description: 卖量9
  10760. type: integer
  10761. askvolume10:
  10762. description: 卖量10
  10763. type: integer
  10764. averageprice:
  10765. description: 均价
  10766. type: number
  10767. bid:
  10768. description: 买1
  10769. type: number
  10770. bid2:
  10771. description: 买2
  10772. type: number
  10773. bid3:
  10774. description: 买3
  10775. type: number
  10776. bid4:
  10777. description: 买4
  10778. type: number
  10779. bid5:
  10780. description: 买5
  10781. type: number
  10782. bid6:
  10783. description: 买6
  10784. type: number
  10785. bid7:
  10786. description: 买7
  10787. type: number
  10788. bid8:
  10789. description: 买8
  10790. type: number
  10791. bid9:
  10792. description: 买9
  10793. type: number
  10794. bid10:
  10795. description: 买10
  10796. type: number
  10797. bidorderid:
  10798. description: 买单号1
  10799. type: integer
  10800. bidorderid2:
  10801. description: 买单号2
  10802. type: integer
  10803. bidorderid3:
  10804. description: 买单号3
  10805. type: integer
  10806. bidorderid4:
  10807. description: 买单号4
  10808. type: integer
  10809. bidorderid5:
  10810. description: 买单号5
  10811. type: integer
  10812. bidordervolume:
  10813. description: 买单量1
  10814. type: integer
  10815. bidordervolume2:
  10816. description: 买单量2
  10817. type: integer
  10818. bidordervolume3:
  10819. description: 买单量3
  10820. type: integer
  10821. bidordervolume4:
  10822. description: 买单量4
  10823. type: integer
  10824. bidordervolume5:
  10825. description: 买单量5
  10826. type: integer
  10827. bidordervolume6:
  10828. description: 买单量6
  10829. type: integer
  10830. bidordervolume7:
  10831. description: 买单量7
  10832. type: integer
  10833. bidordervolume8:
  10834. description: 买单量8
  10835. type: integer
  10836. bidordervolume9:
  10837. description: 买单量9
  10838. type: integer
  10839. bidordervolume10:
  10840. description: 买单量10
  10841. type: integer
  10842. bidqueueinfo:
  10843. description: 大利市买港股用
  10844. type: string
  10845. bidvolume:
  10846. description: 买量1
  10847. type: integer
  10848. bidvolume2:
  10849. description: 买量2
  10850. type: integer
  10851. bidvolume3:
  10852. description: 买量3
  10853. type: integer
  10854. bidvolume4:
  10855. description: 买量4
  10856. type: integer
  10857. bidvolume5:
  10858. description: 买量5
  10859. type: integer
  10860. bidvolume6:
  10861. description: 买量6
  10862. type: integer
  10863. bidvolume7:
  10864. description: 买量7
  10865. type: integer
  10866. bidvolume8:
  10867. description: 买量8
  10868. type: integer
  10869. bidvolume9:
  10870. description: 买量9
  10871. type: integer
  10872. bidvolume10:
  10873. description: 买量10
  10874. type: integer
  10875. calloptionpremiums:
  10876. description: 认购期权1
  10877. type: integer
  10878. calloptionpremiums2:
  10879. description: 认购期权2
  10880. type: integer
  10881. calloptionpremiums3:
  10882. description: 认购期权3
  10883. type: integer
  10884. calloptionpremiums4:
  10885. description: 认购期权4
  10886. type: integer
  10887. calloptionpremiums5:
  10888. description: 认购期权5
  10889. type: integer
  10890. cleartime:
  10891. description: 清盘时间
  10892. type: integer
  10893. exchangecode:
  10894. description: 交易所代码
  10895. type: integer
  10896. exchangedate:
  10897. description: 交易日
  10898. type: integer
  10899. goodscode:
  10900. description: 商品代码
  10901. type: string
  10902. grepmarketprice:
  10903. description: 暗盘价 港股专用
  10904. type: number
  10905. highest:
  10906. description: 最高价
  10907. type: number
  10908. holdincrement:
  10909. description: 单笔持仓
  10910. type: integer
  10911. holdvolume:
  10912. description: 持仓
  10913. type: integer
  10914. iep:
  10915. description: 平衡价 港股专用
  10916. type: number
  10917. iev:
  10918. description: 平衡量 港股专用
  10919. type: number
  10920. inventory:
  10921. description: 库存
  10922. type: integer
  10923. iscleared:
  10924. description: 是否清盘标志
  10925. type: integer
  10926. issettled:
  10927. description: 是否结算标志
  10928. type: integer
  10929. last:
  10930. description: 最新价
  10931. type: number
  10932. lastlot:
  10933. description: 最新成交手数
  10934. type: integer
  10935. lasttime:
  10936. description: 行情时间(只有现价变化行情时间才变化)
  10937. type: string
  10938. lastturnover:
  10939. description: 最新成交金额
  10940. type: number
  10941. lastvolume:
  10942. description: 最新成交量
  10943. type: integer
  10944. limitdown:
  10945. description: 跌停价
  10946. type: number
  10947. limitup:
  10948. description: 涨停价
  10949. type: number
  10950. lowest:
  10951. description: 最低价
  10952. type: number
  10953. nontotalholdervolume:
  10954. description: 非交易持仓量
  10955. type: integer
  10956. nontotallot:
  10957. description: 非交易总手数
  10958. type: integer
  10959. nontotalturnover:
  10960. description: 非交易总金额
  10961. type: integer
  10962. nontotalvolume:
  10963. description: 非交易总量
  10964. type: integer
  10965. opened:
  10966. description: 开盘价
  10967. type: number
  10968. opentime:
  10969. description: 开盘时间
  10970. type: string
  10971. orderid:
  10972. description: 序号
  10973. type: integer
  10974. preclose:
  10975. description: 昨收
  10976. type: number
  10977. preholdvolume:
  10978. description: 昨持仓
  10979. type: integer
  10980. presettle:
  10981. description: 昨结价
  10982. type: number
  10983. publictradetype:
  10984. description: 公共交易标志类型 港股专用
  10985. type: string
  10986. putoptionpremiums:
  10987. description: 认沽期权1
  10988. type: integer
  10989. putoptionpremiums2:
  10990. description: 认沽期权2
  10991. type: integer
  10992. putoptionpremiums3:
  10993. description: 认沽期权3
  10994. type: integer
  10995. putoptionpremiums4:
  10996. description: 认沽期权4
  10997. type: integer
  10998. putoptionpremiums5:
  10999. description: 认沽期权5
  11000. type: integer
  11001. settle:
  11002. description: 结算价
  11003. type: number
  11004. strikeprice:
  11005. description: 发行价
  11006. type: number
  11007. totalaskvolume:
  11008. description: 内盘
  11009. type: integer
  11010. totalbidvolume:
  11011. description: 外盘
  11012. type: integer
  11013. totallot:
  11014. description: 总手数
  11015. type: integer
  11016. totalturnover:
  11017. description: 总金额
  11018. type: number
  11019. totalvolume:
  11020. description: 总量
  11021. type: integer
  11022. utclasttime:
  11023. description: utc的行情时间
  11024. type: string
  11025. type: object
  11026. quote.QueryTSDataRsp:
  11027. properties:
  11028. Count:
  11029. description: 交易日应有数据个数
  11030. type: integer
  11031. decimalPlace:
  11032. description: 小数位
  11033. type: integer
  11034. endTime:
  11035. description: 结束时间
  11036. type: string
  11037. goodsCode:
  11038. description: 商品代码
  11039. type: string
  11040. historyDatas:
  11041. description: 历史数据
  11042. items:
  11043. $ref: '#/definitions/quote.HistoryData'
  11044. type: array
  11045. outGoodsCode:
  11046. description: 外部商品代码
  11047. type: string
  11048. preSettle:
  11049. description: 昨结价
  11050. type: number
  11051. runSteps:
  11052. description: 交易日开休市计划
  11053. items:
  11054. $ref: '#/definitions/quote.TSDataRunStep'
  11055. type: array
  11056. startTime:
  11057. description: 开始时间
  11058. type: string
  11059. tradeDate:
  11060. description: 交易日
  11061. type: string
  11062. type: object
  11063. quote.TSDataRunStep:
  11064. properties:
  11065. end:
  11066. description: 真实结束时间
  11067. type: string
  11068. endflag:
  11069. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  11070. type: integer
  11071. endtime:
  11072. description: 结束时间(HH:mm)
  11073. type: string
  11074. endweekday:
  11075. description: 结束周几
  11076. type: integer
  11077. groupid:
  11078. description: 分组ID
  11079. type: integer
  11080. runstep:
  11081. description: 运行阶段 - 2:连续交易
  11082. type: integer
  11083. sectionid:
  11084. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  11085. 结束时间=结算时间 结束周几=结算周几
  11086. type: integer
  11087. start:
  11088. description: 真实开始时间
  11089. type: string
  11090. startflag:
  11091. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  11092. type: integer
  11093. starttime:
  11094. description: 起始时间(HH:mm)
  11095. type: string
  11096. startweekday:
  11097. description: 起始周几
  11098. type: integer
  11099. tradeweekday:
  11100. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  11101. type: integer
  11102. type: object
  11103. szdz.QueryConvertLogRsp:
  11104. properties:
  11105. accountid:
  11106. description: 资金账户ID
  11107. type: integer
  11108. clientticket:
  11109. description: 客户端流水号
  11110. type: string
  11111. converttype:
  11112. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  11113. type: integer
  11114. createtime:
  11115. description: 记账时间
  11116. type: string
  11117. daymaxvalue:
  11118. description: 配置当日最大转入限制
  11119. type: number
  11120. daymaxvalue2:
  11121. description: 配置当日最大转入限制(转入)
  11122. type: number
  11123. goodscode:
  11124. description: 商品代码
  11125. type: string
  11126. goodsname:
  11127. description: 商品名称
  11128. type: string
  11129. handlestatus:
  11130. description: 处理状态
  11131. type: integer
  11132. innergoodsid:
  11133. description: 内部商品ID
  11134. type: integer
  11135. inratio:
  11136. description: 配置转入比值
  11137. type: integer
  11138. invalue:
  11139. description: 目标值
  11140. type: number
  11141. logid:
  11142. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11143. type: integer
  11144. mobile:
  11145. description: 手机号码(加密存储)
  11146. type: string
  11147. outergoodscode:
  11148. description: 外部商品代码[JD\PD]
  11149. type: string
  11150. outratio:
  11151. description: 配置转出比值
  11152. type: integer
  11153. outvalue:
  11154. description: 源值
  11155. type: number
  11156. pddecimalplace:
  11157. description: PD小数位
  11158. type: integer
  11159. qty:
  11160. description: 数量
  11161. type: string
  11162. remark:
  11163. description: 备注
  11164. type: string
  11165. sessionid:
  11166. description: 会话ID
  11167. type: integer
  11168. timemaxvalue:
  11169. description: 配置单次最大转入限制
  11170. type: number
  11171. timemaxvalue2:
  11172. description: 配置单次最大转入限制(转入)
  11173. type: number
  11174. timeminvalue:
  11175. description: 配置单次最小数量限制
  11176. type: number
  11177. timeminvalue2:
  11178. description: 配置单次最小数量限制(转入)
  11179. type: number
  11180. tradedate:
  11181. description: 交易日(yyyyMMdd)
  11182. type: string
  11183. userid:
  11184. description: 用户ID
  11185. type: integer
  11186. required:
  11187. - logid
  11188. type: object
  11189. szdz.QueryGoodsPickupRsp:
  11190. properties:
  11191. accountid:
  11192. description: 账户ID
  11193. type: integer
  11194. address:
  11195. description: 提货人详细地址
  11196. type: string
  11197. auditer:
  11198. description: 审核人
  11199. type: integer
  11200. audittime:
  11201. description: 审核时间
  11202. type: string
  11203. cardnum:
  11204. description: 提货人证件号码
  11205. type: string
  11206. cardtypeid:
  11207. description: 提货人证件类型
  11208. type: integer
  11209. checkremark:
  11210. description: 审核备注
  11211. type: string
  11212. goodscode:
  11213. description: 商品代码
  11214. type: string
  11215. goodsid:
  11216. description: 商品ID
  11217. type: integer
  11218. goodsname:
  11219. description: 商品名称
  11220. type: string
  11221. handlestatus:
  11222. description: 处理状态
  11223. type: integer
  11224. marketid:
  11225. description: 市场ID
  11226. type: integer
  11227. phonenum:
  11228. description: 提货人联系方式
  11229. type: string
  11230. qty:
  11231. description: 提货数量
  11232. type: number
  11233. recivername:
  11234. description: 提货人姓名
  11235. type: string
  11236. reqtime:
  11237. description: 更新时间
  11238. type: string
  11239. takemode:
  11240. description: 提货方式 - 2:自提 3:配送
  11241. type: integer
  11242. takeorderid:
  11243. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  11244. type: string
  11245. takeorderstatus:
  11246. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11247. type: integer
  11248. takeremark:
  11249. description: 提货备注
  11250. type: string
  11251. tradedate:
  11252. description: 交易日(yyyyMMdd)
  11253. type: string
  11254. userid:
  11255. description: 用户ID
  11256. type: integer
  11257. required:
  11258. - takeorderid
  11259. type: object
  11260. szdz.QueryRecieptOrderRsp:
  11261. properties:
  11262. accountName:
  11263. description: 所属账号名称(已脱敏)
  11264. type: string
  11265. accountid:
  11266. description: 资金账号
  11267. type: integer
  11268. buyorsell:
  11269. description: 方向 - 0:买 1:卖
  11270. type: integer
  11271. enableqty:
  11272. description: 可摘数量
  11273. type: integer
  11274. goodscode:
  11275. description: 商品代码
  11276. type: string
  11277. goodsid:
  11278. description: 商品ID
  11279. type: integer
  11280. goodsname:
  11281. description: 商品名称
  11282. type: string
  11283. orderid:
  11284. description: 委托单号
  11285. type: string
  11286. orderprice:
  11287. description: 委托价格
  11288. type: number
  11289. ordertime:
  11290. description: 委托时间
  11291. type: string
  11292. tradedate:
  11293. description: 交易日(yyyyMMdd)
  11294. type: string
  11295. required:
  11296. - ordertime
  11297. type: object
  11298. szdz.QuerySZDZTradePositionRsp:
  11299. properties:
  11300. accountid:
  11301. description: 账号Id
  11302. type: integer
  11303. agreeunit:
  11304. description: 合约单位
  11305. type: number
  11306. averageprice:
  11307. description: 持仓均价
  11308. type: number
  11309. buyorsell:
  11310. description: 方向 - 0:买 1:卖
  11311. type: integer
  11312. closetotalqty:
  11313. description: 平仓总数量
  11314. type: integer
  11315. curholderamount:
  11316. description: 当前持仓总金额
  11317. type: number
  11318. curpositionqty:
  11319. description: 当前持仓总数量
  11320. type: integer
  11321. currencyid:
  11322. description: 报价货币ID
  11323. type: integer
  11324. curtdposition:
  11325. description: 期末今日头寸
  11326. type: integer
  11327. decimalplace:
  11328. description: 报价小数位
  11329. type: integer
  11330. enableqty:
  11331. description: 可用量
  11332. type: integer
  11333. fretdposition:
  11334. description: 冻结今日头寸
  11335. type: integer
  11336. frozenqty:
  11337. description: 持仓冻结数量
  11338. type: integer
  11339. goodscode:
  11340. description: 商品代码(内部)
  11341. type: string
  11342. goodsid:
  11343. description: 商品Id
  11344. type: integer
  11345. goodsname:
  11346. description: 商品名称
  11347. type: string
  11348. goodunit:
  11349. description: 报价单位
  11350. type: string
  11351. goodunitid:
  11352. description: 报价单位ID
  11353. type: integer
  11354. holderamount:
  11355. description: 期初持仓总金额
  11356. type: number
  11357. marketid:
  11358. description: 市场ID
  11359. type: integer
  11360. openreqqty:
  11361. description: 开仓申请数量
  11362. type: integer
  11363. opentotalqty:
  11364. description: 开仓总数量
  11365. type: integer
  11366. otherfrozenqty:
  11367. description: 持仓其他冻结数量(交割冻结)
  11368. type: integer
  11369. positionqty:
  11370. description: 期初持仓数量
  11371. type: integer
  11372. szdz3freezqty:
  11373. description: 尚志大宗转换冻结总数量
  11374. type: integer
  11375. tnqty:
  11376. description: T+N冻结总量
  11377. type: integer
  11378. tnusedqty:
  11379. description: T+N使用量
  11380. type: integer
  11381. trademode:
  11382. description: 交易模式
  11383. type: integer
  11384. usedmargin:
  11385. description: 占用保证金
  11386. type: number
  11387. type: object
  11388. taaccount.QueryAmountLogRsp:
  11389. properties:
  11390. OPERATETYPENAME:
  11391. description: 资金操作类型名称
  11392. type: string
  11393. accountid:
  11394. description: 资金账户ID
  11395. type: integer
  11396. agoodscode:
  11397. description: 竞拍商品代码
  11398. type: string
  11399. agoodsname:
  11400. description: 竞拍商品名称
  11401. type: string
  11402. amount:
  11403. description: 资金金额
  11404. type: number
  11405. amountadjusttype:
  11406. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11407. type: integer
  11408. autoid:
  11409. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11410. type: integer
  11411. balance:
  11412. description: 期初余额
  11413. type: number
  11414. businesscode:
  11415. description: 业务编号
  11416. type: integer
  11417. createtime:
  11418. description: 发生时间
  11419. type: string
  11420. currencyid:
  11421. description: 币种ID
  11422. type: integer
  11423. currentbalance:
  11424. description: 期末余额(变动后金额)
  11425. type: number
  11426. dgoodscode:
  11427. description: 交割商品代码
  11428. type: string
  11429. dgoodsname:
  11430. description: 交割商品名称
  11431. type: string
  11432. goodscode:
  11433. description: 商品代码
  11434. type: string
  11435. goodsid:
  11436. description: 商品ID
  11437. type: integer
  11438. goodsname:
  11439. description: 商品名称
  11440. type: string
  11441. marketid:
  11442. description: 市场ID
  11443. type: integer
  11444. marketname:
  11445. description: 市场名称
  11446. type: string
  11447. moneyticket:
  11448. description: 资金流水号:银行端流水号
  11449. type: integer
  11450. operatetype:
  11451. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11452. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11453. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11454. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11455. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11456. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11457. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11458. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11459. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11460. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11461. type: integer
  11462. relationorderid:
  11463. description: 关联单号
  11464. type: string
  11465. remark:
  11466. description: 备注
  11467. type: string
  11468. trademode:
  11469. description: 交易模式
  11470. type: integer
  11471. required:
  11472. - accountid
  11473. - amount
  11474. - amountadjusttype
  11475. - autoid
  11476. - balance
  11477. - createtime
  11478. - currentbalance
  11479. - operatetype
  11480. type: object
  11481. taaccount.QueryHisAmountLogRsp:
  11482. properties:
  11483. OPERATETYPENAME:
  11484. description: 资金操作类型名称
  11485. type: string
  11486. accountid:
  11487. description: 资金账户ID
  11488. type: integer
  11489. agoodscode:
  11490. description: 竞拍商品代码
  11491. type: string
  11492. agoodsname:
  11493. description: 竞拍商品名称
  11494. type: string
  11495. amount:
  11496. description: 资金金额
  11497. type: number
  11498. amountadjusttype:
  11499. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  11500. type: integer
  11501. autoid:
  11502. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  11503. type: integer
  11504. balance:
  11505. description: 期初余额
  11506. type: number
  11507. businesscode:
  11508. description: 业务编号
  11509. type: integer
  11510. createtime:
  11511. description: 发生时间
  11512. type: string
  11513. currencyid:
  11514. description: 币种ID
  11515. type: integer
  11516. currentbalance:
  11517. description: 期末余额(变动后金额)
  11518. type: number
  11519. dgoodscode:
  11520. description: 交割商品代码
  11521. type: string
  11522. dgoodsname:
  11523. description: 交割商品名称
  11524. type: string
  11525. goodscode:
  11526. description: 商品代码
  11527. type: string
  11528. goodsid:
  11529. description: 商品ID
  11530. type: integer
  11531. goodsname:
  11532. description: 商品名称
  11533. type: string
  11534. histradedate:
  11535. description: 历史交易日
  11536. type: string
  11537. isvaliddata:
  11538. description: 是否有效 - 0:无效 1:有效
  11539. type: integer
  11540. marketid:
  11541. description: 市场ID
  11542. type: integer
  11543. marketname:
  11544. description: 市场名称
  11545. type: string
  11546. moneyticket:
  11547. description: 资金流水号:银行端流水号
  11548. type: integer
  11549. operatetype:
  11550. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  11551. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  11552. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  11553. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  11554. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  11555. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  11556. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  11557. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  11558. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  11559. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  11560. type: integer
  11561. relationorderid:
  11562. description: 关联单号
  11563. type: string
  11564. remark:
  11565. description: 备注
  11566. type: string
  11567. trademode:
  11568. description: 交易模式
  11569. type: integer
  11570. required:
  11571. - accountid
  11572. - amount
  11573. - amountadjusttype
  11574. - autoid
  11575. - balance
  11576. - createtime
  11577. - currentbalance
  11578. - histradedate
  11579. - operatetype
  11580. type: object
  11581. trade.QueryRecieptOrderRsp:
  11582. properties:
  11583. accountName:
  11584. description: 所属账号名称(已脱敏)
  11585. type: string
  11586. accountid:
  11587. description: 资金账号
  11588. type: integer
  11589. buyorsell:
  11590. description: 方向 - 0:买 1:卖
  11591. type: integer
  11592. enableqty:
  11593. description: 可摘数量
  11594. type: integer
  11595. goodscode:
  11596. description: 商品代码
  11597. type: string
  11598. goodsid:
  11599. description: 商品ID
  11600. type: integer
  11601. goodsname:
  11602. description: 商品名称
  11603. type: string
  11604. orderid:
  11605. description: 委托单号
  11606. type: string
  11607. orderprice:
  11608. description: 委托价格
  11609. type: number
  11610. ordertime:
  11611. description: 委托时间
  11612. type: string
  11613. tradedate:
  11614. description: 交易日(yyyyMMdd)
  11615. type: string
  11616. required:
  11617. - ordertime
  11618. type: object
  11619. user.LoginQueryRsp:
  11620. properties:
  11621. areaRoles:
  11622. description: 所属角色信息
  11623. items:
  11624. $ref: '#/definitions/models.Arearole'
  11625. type: array
  11626. externalExchanges:
  11627. description: 外部交易所
  11628. items:
  11629. $ref: '#/definitions/models.Externalexchange'
  11630. type: array
  11631. goodsgroups:
  11632. description: 商品组
  11633. items:
  11634. $ref: '#/definitions/models.Goodsgroup'
  11635. type: array
  11636. loginAccount:
  11637. $ref: '#/definitions/models.Loginaccount'
  11638. description: 登录账号
  11639. type: object
  11640. markets:
  11641. description: 市场
  11642. items:
  11643. $ref: '#/definitions/models.Market'
  11644. type: array
  11645. systemParams:
  11646. description: 系统参数
  11647. items:
  11648. $ref: '#/definitions/models.Systemparam'
  11649. type: array
  11650. userAccount:
  11651. $ref: '#/definitions/models.Useraccount'
  11652. description: 用户账号
  11653. type: object
  11654. userInfo:
  11655. $ref: '#/definitions/models.Userinfo'
  11656. description: 用户信息
  11657. type: object
  11658. username:
  11659. description: 用户姓名
  11660. type: string
  11661. type: object
  11662. info:
  11663. contact: {}
  11664. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  11665. license: {}
  11666. termsOfService: http://www.muchinfo.cn
  11667. title: MTP2.0 查询服务 API
  11668. version: "1.0"
  11669. paths:
  11670. /CPTrade/QueryCPTradeMyBidInfos:
  11671. get:
  11672. parameters:
  11673. - description: 资金账户
  11674. in: query
  11675. name: accountid
  11676. required: true
  11677. type: integer
  11678. - description: 预售市场ID
  11679. in: query
  11680. name: marketid
  11681. type: integer
  11682. - description: 预售商品ID
  11683. in: query
  11684. name: goodsid
  11685. type: integer
  11686. produces:
  11687. - application/json
  11688. responses:
  11689. "200":
  11690. description: OK
  11691. schema:
  11692. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  11693. "500":
  11694. description: Internal Server Error
  11695. schema:
  11696. $ref: '#/definitions/app.Response'
  11697. security:
  11698. - ApiKeyAuth: []
  11699. summary: 查询产能预售我的出价信息
  11700. tags:
  11701. - 产能预售
  11702. /CPTrade/QueryCPTradeOrderDetail:
  11703. get:
  11704. parameters:
  11705. - description: 预售商品ID
  11706. in: query
  11707. name: goodsid
  11708. type: integer
  11709. - description: 预售市场ID
  11710. in: query
  11711. name: marketid
  11712. type: integer
  11713. - description: 预售商品ID列表 - 格式:1,2,3
  11714. in: query
  11715. name: goodsids
  11716. type: string
  11717. produces:
  11718. - application/json
  11719. responses:
  11720. "200":
  11721. description: OK
  11722. schema:
  11723. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  11724. "500":
  11725. description: Internal Server Error
  11726. schema:
  11727. $ref: '#/definitions/app.Response'
  11728. security:
  11729. - ApiKeyAuth: []
  11730. summary: 查询产能预售委托单信息
  11731. tags:
  11732. - 产能预售
  11733. /CPTrade/QueryMyCPTradeGoods:
  11734. get:
  11735. parameters:
  11736. - description: 资金账户
  11737. in: query
  11738. name: accountid
  11739. required: true
  11740. type: integer
  11741. produces:
  11742. - application/json
  11743. responses:
  11744. "200":
  11745. description: OK
  11746. schema:
  11747. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  11748. "500":
  11749. description: Internal Server Error
  11750. schema:
  11751. $ref: '#/definitions/app.Response'
  11752. security:
  11753. - ApiKeyAuth: []
  11754. summary: 查询我的预售信息
  11755. tags:
  11756. - 产能预售
  11757. /CPTrade/QueryPositionCancel:
  11758. get:
  11759. parameters:
  11760. - description: 账户ID
  11761. in: query
  11762. name: userid
  11763. required: true
  11764. type: integer
  11765. - description: 注销ID
  11766. in: query
  11767. name: cancelid
  11768. type: integer
  11769. - description: 资金账户ID
  11770. in: query
  11771. name: accountid
  11772. type: integer
  11773. produces:
  11774. - application/json
  11775. responses:
  11776. "200":
  11777. description: OK
  11778. schema:
  11779. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  11780. "500":
  11781. description: Internal Server Error
  11782. schema:
  11783. $ref: '#/definitions/app.Response'
  11784. security:
  11785. - ApiKeyAuth: []
  11786. summary: 查询远期订单注销申请信息
  11787. tags:
  11788. - 产能预售
  11789. /CPTrade/QueryPreasleApply:
  11790. get:
  11791. parameters:
  11792. - description: 账户ID
  11793. in: query
  11794. name: userid
  11795. required: true
  11796. type: integer
  11797. - description: 申请ID
  11798. in: query
  11799. name: applyid
  11800. type: integer
  11801. - description: 资金账户ID
  11802. in: query
  11803. name: accountid
  11804. type: integer
  11805. produces:
  11806. - application/json
  11807. responses:
  11808. "200":
  11809. description: OK
  11810. schema:
  11811. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  11812. "500":
  11813. description: Internal Server Error
  11814. schema:
  11815. $ref: '#/definitions/app.Response'
  11816. security:
  11817. - ApiKeyAuth: []
  11818. summary: 查询产能预售申请信息
  11819. tags:
  11820. - 产能预售
  11821. /CPTrade/QueryPresaleGoodsEx:
  11822. get:
  11823. parameters:
  11824. - description: 预售商品ID
  11825. in: query
  11826. name: goodsid
  11827. type: integer
  11828. - description: 预售市场ID
  11829. in: query
  11830. name: marketid
  11831. type: integer
  11832. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  11833. in: query
  11834. name: presalemode
  11835. type: integer
  11836. - description: 预售商品ID列表 - 格式:1,2,3
  11837. in: query
  11838. name: goodsids
  11839. type: string
  11840. - description: 预售商品代码
  11841. in: query
  11842. name: goodscode
  11843. type: string
  11844. produces:
  11845. - application/json
  11846. responses:
  11847. "200":
  11848. description: OK
  11849. schema:
  11850. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  11851. "500":
  11852. description: Internal Server Error
  11853. schema:
  11854. $ref: '#/definitions/app.Response'
  11855. security:
  11856. - ApiKeyAuth: []
  11857. summary: 查询产能预售商品扩展信息
  11858. tags:
  11859. - 产能预售
  11860. /CPTrade/QueryUserGoodsData:
  11861. get:
  11862. parameters:
  11863. - description: 资金账户ID
  11864. in: query
  11865. name: accountid
  11866. required: true
  11867. type: integer
  11868. produces:
  11869. - application/json
  11870. responses:
  11871. "200":
  11872. description: OK
  11873. schema:
  11874. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  11875. "500":
  11876. description: Internal Server Error
  11877. schema:
  11878. $ref: '#/definitions/app.Response'
  11879. security:
  11880. - ApiKeyAuth: []
  11881. summary: 查询远期订单信息
  11882. tags:
  11883. - 产能预售
  11884. /Common/GetAllEnums:
  11885. get:
  11886. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  11887. parameters:
  11888. - description: 起始自增ID
  11889. in: query
  11890. name: autoid
  11891. type: integer
  11892. produces:
  11893. - application/json
  11894. responses:
  11895. "200":
  11896. description: OK
  11897. schema:
  11898. $ref: '#/definitions/models.Enumdicitem'
  11899. "500":
  11900. description: Internal Server Error
  11901. schema:
  11902. $ref: '#/definitions/app.Response'
  11903. summary: 获取所有枚举信息
  11904. tags:
  11905. - 通用服务
  11906. /Common/GetClientMenus:
  11907. get:
  11908. parameters:
  11909. - description: 登录账号
  11910. in: query
  11911. name: loginID
  11912. required: true
  11913. type: integer
  11914. - description: 终端类型,0:PC 1:Mobile
  11915. in: query
  11916. name: clientType
  11917. type: integer
  11918. produces:
  11919. - application/json
  11920. responses:
  11921. "200":
  11922. description: OK
  11923. schema:
  11924. items:
  11925. $ref: '#/definitions/common.ClientMenu'
  11926. type: array
  11927. "500":
  11928. description: Internal Server Error
  11929. schema:
  11930. $ref: '#/definitions/app.Response'
  11931. security:
  11932. - ApiKeyAuth: []
  11933. summary: 获取交易端菜单
  11934. tags:
  11935. - 通用服务
  11936. /Common/GetDivisions:
  11937. get:
  11938. produces:
  11939. - application/json
  11940. responses:
  11941. "200":
  11942. description: OK
  11943. schema:
  11944. $ref: '#/definitions/models.Division'
  11945. "500":
  11946. description: Internal Server Error
  11947. schema:
  11948. $ref: '#/definitions/app.Response'
  11949. summary: 查询区域信息
  11950. tags:
  11951. - 通用服务
  11952. /Common/GetServerTime:
  11953. get:
  11954. produces:
  11955. - application/json
  11956. responses:
  11957. "200":
  11958. description: OK
  11959. schema:
  11960. $ref: '#/definitions/app.Response'
  11961. "500":
  11962. description: Internal Server Error
  11963. schema:
  11964. $ref: '#/definitions/app.Response'
  11965. summary: 获取服务器时间
  11966. tags:
  11967. - 通用服务
  11968. /Common/NoticeReaded:
  11969. post:
  11970. parameters:
  11971. - description: 登录账号
  11972. in: query
  11973. name: loginID
  11974. required: true
  11975. type: integer
  11976. - description: 通知公告ID
  11977. in: query
  11978. name: noticeID
  11979. required: true
  11980. type: integer
  11981. produces:
  11982. - application/json
  11983. responses:
  11984. "200":
  11985. description: OK
  11986. schema:
  11987. $ref: '#/definitions/app.Response'
  11988. "500":
  11989. description: Internal Server Error
  11990. schema:
  11991. $ref: '#/definitions/app.Response'
  11992. security:
  11993. - ApiKeyAuth: []
  11994. summary: 通知公告设置已读请求
  11995. tags:
  11996. - 通用服务
  11997. /Common/QueryErrorInfos:
  11998. get:
  11999. description: 如果传入rowNumber,则返回此rowNumber后的数据
  12000. parameters:
  12001. - description: 起始行号前索引
  12002. in: query
  12003. name: rowNumber
  12004. type: string
  12005. produces:
  12006. - application/json
  12007. responses:
  12008. "200":
  12009. description: OK
  12010. schema:
  12011. $ref: '#/definitions/models.QueryErrorInfosRsp'
  12012. "500":
  12013. description: Internal Server Error
  12014. schema:
  12015. $ref: '#/definitions/app.Response'
  12016. summary: 获取数据库错误信息
  12017. tags:
  12018. - 通用服务
  12019. /Common/QueryImageConfigs:
  12020. get:
  12021. parameters:
  12022. - description: 类型 - 1:App首页轮播 2:我的
  12023. in: query
  12024. name: imageType
  12025. type: integer
  12026. produces:
  12027. - application/json
  12028. responses:
  12029. "200":
  12030. description: OK
  12031. schema:
  12032. $ref: '#/definitions/common.QueryImageConfigsRsp'
  12033. "500":
  12034. description: Internal Server Error
  12035. schema:
  12036. $ref: '#/definitions/app.Response'
  12037. summary: 查询轮播图配置信息
  12038. tags:
  12039. - 通用服务
  12040. /Common/QueryNotice:
  12041. get:
  12042. parameters:
  12043. - description: 页码
  12044. in: query
  12045. name: page
  12046. type: integer
  12047. - description: 每页条数
  12048. in: query
  12049. name: pagesize
  12050. type: integer
  12051. - description: 登录账号
  12052. in: query
  12053. name: loginID
  12054. required: true
  12055. type: integer
  12056. - description: 消息类型 - 1:公告通知 2:系统消息
  12057. in: query
  12058. name: msgType
  12059. type: integer
  12060. - description: 是否只获取未读信息
  12061. in: query
  12062. name: onlyUnRead
  12063. type: boolean
  12064. - description: 自增ID,传入后会返回这个ID后面的记录
  12065. in: query
  12066. name: lastID
  12067. type: integer
  12068. produces:
  12069. - application/json
  12070. responses:
  12071. "200":
  12072. description: OK
  12073. schema:
  12074. $ref: '#/definitions/common.QueryNoticeRsp'
  12075. "500":
  12076. description: Internal Server Error
  12077. schema:
  12078. $ref: '#/definitions/app.Response'
  12079. security:
  12080. - ApiKeyAuth: []
  12081. summary: 通知公告系统消息查询
  12082. tags:
  12083. - 通用服务
  12084. /Common/QueryProvincesAndCities:
  12085. get:
  12086. parameters:
  12087. - description: 省ID
  12088. in: query
  12089. name: provinceID
  12090. type: integer
  12091. produces:
  12092. - application/json
  12093. responses:
  12094. "200":
  12095. description: OK
  12096. schema:
  12097. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  12098. "500":
  12099. description: Internal Server Error
  12100. schema:
  12101. $ref: '#/definitions/app.Response'
  12102. summary: 查询省市信息(不包括区)
  12103. tags:
  12104. - 通用服务
  12105. /Common/QueryTableDefine:
  12106. get:
  12107. parameters:
  12108. - description: 表key
  12109. in: query
  12110. name: tableKey
  12111. type: string
  12112. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  12113. in: query
  12114. name: tableType
  12115. type: integer
  12116. produces:
  12117. - application/json
  12118. responses:
  12119. "200":
  12120. description: OK
  12121. schema:
  12122. $ref: '#/definitions/common.QueryTableDefineRsp'
  12123. "500":
  12124. description: Internal Server Error
  12125. schema:
  12126. $ref: '#/definitions/app.Response'
  12127. summary: 查询交易端列表头信息
  12128. tags:
  12129. - 通用服务
  12130. /Common/QueryTraderMenu:
  12131. get:
  12132. parameters:
  12133. - description: 登录账号
  12134. in: query
  12135. name: loginid
  12136. required: true
  12137. type: integer
  12138. produces:
  12139. - application/json
  12140. responses:
  12141. "200":
  12142. description: OK
  12143. schema:
  12144. $ref: '#/definitions/common.QueryTraderMenuRsp'
  12145. "500":
  12146. description: Internal Server Error
  12147. schema:
  12148. $ref: '#/definitions/app.Response'
  12149. summary: 查询交易端菜单
  12150. tags:
  12151. - 通用服务
  12152. /Delivery/QueryDeliveryRelation:
  12153. get:
  12154. parameters:
  12155. - description: 商品ID
  12156. in: query
  12157. name: goodsid
  12158. type: integer
  12159. - description: 品种ID
  12160. in: query
  12161. name: deliverygoodsid
  12162. type: integer
  12163. - description: 市场ID
  12164. in: query
  12165. name: marketid
  12166. type: integer
  12167. produces:
  12168. - application/json
  12169. responses:
  12170. "200":
  12171. description: OK
  12172. schema:
  12173. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  12174. "500":
  12175. description: Internal Server Error
  12176. schema:
  12177. $ref: '#/definitions/app.Response'
  12178. security:
  12179. - ApiKeyAuth: []
  12180. summary: 查询商品交割关系表
  12181. tags:
  12182. - 交割服务
  12183. /Ermcp/GetErmcpGoods:
  12184. get:
  12185. parameters:
  12186. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  12187. in: query
  12188. name: lastUpdateTime
  12189. type: string
  12190. produces:
  12191. - application/json
  12192. responses:
  12193. "200":
  12194. description: OK
  12195. schema:
  12196. $ref: '#/definitions/models.Goods'
  12197. "500":
  12198. description: Internal Server Error
  12199. schema:
  12200. $ref: '#/definitions/app.Response'
  12201. security:
  12202. - ApiKeyAuth: []
  12203. summary: 查询企业风管期货商品信息
  12204. tags:
  12205. - 企业风险管理(app)
  12206. /Ermcp/GetErmcpGoodsSortByPosition:
  12207. get:
  12208. parameters:
  12209. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  12210. in: query
  12211. name: sortIndex
  12212. type: string
  12213. produces:
  12214. - application/json
  12215. responses:
  12216. "200":
  12217. description: OK
  12218. schema:
  12219. $ref: '#/definitions/models.Goodssortbypreposition'
  12220. "500":
  12221. description: Internal Server Error
  12222. schema:
  12223. $ref: '#/definitions/app.Response'
  12224. security:
  12225. - ApiKeyAuth: []
  12226. summary: 查询企业风管期货主力、次主力商品信息
  12227. tags:
  12228. - 企业风险管理(app)
  12229. /Ermcp/GetErmcpOutAccountStatus:
  12230. get:
  12231. parameters:
  12232. - description: 登录账号
  12233. in: query
  12234. name: loginID
  12235. required: true
  12236. type: integer
  12237. produces:
  12238. - application/json
  12239. responses:
  12240. "200":
  12241. description: OK
  12242. schema:
  12243. $ref: '#/definitions/models.Hedgemarketopenlog'
  12244. "500":
  12245. description: Internal Server Error
  12246. schema:
  12247. $ref: '#/definitions/app.Response'
  12248. security:
  12249. - ApiKeyAuth: []
  12250. summary: 获取目标登录账号当前对冲账号在线状态
  12251. tags:
  12252. - 企业风险管理(app)
  12253. /Ermcp/GetErmcpRoleFuncMenuLists:
  12254. get:
  12255. parameters:
  12256. - description: 登录账号
  12257. in: query
  12258. name: loginID
  12259. required: true
  12260. type: integer
  12261. produces:
  12262. - application/json
  12263. responses:
  12264. "200":
  12265. description: OK
  12266. schema:
  12267. $ref: '#/definitions/models.Funcmenulist'
  12268. "500":
  12269. description: Internal Server Error
  12270. schema:
  12271. $ref: '#/definitions/app.Response'
  12272. security:
  12273. - ApiKeyAuth: []
  12274. summary: 获取企业风管终端权限
  12275. tags:
  12276. - 企业风险管理(app)
  12277. /Ermcp/QueryAccMgrBizGroupSet:
  12278. get:
  12279. parameters:
  12280. - description: 用户ID
  12281. in: query
  12282. name: userid
  12283. required: true
  12284. type: integer
  12285. - description: 现货商品id
  12286. in: query
  12287. name: deliverygoodsid
  12288. type: integer
  12289. produces:
  12290. - application/json
  12291. responses:
  12292. "200":
  12293. description: OK
  12294. schema:
  12295. items:
  12296. $ref: '#/definitions/models.ErmcpBizGroupEx'
  12297. type: array
  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/QueryAccMgrLoginUser:
  12308. get:
  12309. parameters:
  12310. - description: 用户ID
  12311. in: query
  12312. name: userid
  12313. required: true
  12314. type: integer
  12315. - description: 用户类型 2-机构 7-企业成员
  12316. in: query
  12317. name: usertype
  12318. type: integer
  12319. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  12320. in: query
  12321. name: querytype
  12322. required: true
  12323. type: integer
  12324. produces:
  12325. - application/json
  12326. responses:
  12327. "200":
  12328. description: OK
  12329. schema:
  12330. items:
  12331. $ref: '#/definitions/models.ErmcpLoginUserEx'
  12332. type: array
  12333. "500":
  12334. description: Internal Server Error
  12335. schema:
  12336. $ref: '#/definitions/app.Response'
  12337. security:
  12338. - ApiKeyAuth: []
  12339. summary: 查询账户管理登录账号(账户管理/登录账号)
  12340. tags:
  12341. - 企业风险管理(app)
  12342. /Ermcp/QueryAccMgrMainAccountInfo:
  12343. get:
  12344. parameters:
  12345. - description: 用户ID
  12346. in: query
  12347. name: userid
  12348. type: integer
  12349. - description: 主账号id
  12350. in: query
  12351. name: accountid
  12352. type: integer
  12353. produces:
  12354. - application/json
  12355. responses:
  12356. "200":
  12357. description: OK
  12358. schema:
  12359. items:
  12360. $ref: '#/definitions/models.MainAccountInfo'
  12361. type: array
  12362. "500":
  12363. description: Internal Server Error
  12364. schema:
  12365. $ref: '#/definitions/app.Response'
  12366. security:
  12367. - ApiKeyAuth: []
  12368. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  12369. tags:
  12370. - 企业风险管理(app)
  12371. /Ermcp/QueryAccMgrRole:
  12372. get:
  12373. parameters:
  12374. - description: 用户ID
  12375. in: query
  12376. name: userid
  12377. required: true
  12378. type: integer
  12379. produces:
  12380. - application/json
  12381. responses:
  12382. "200":
  12383. description: OK
  12384. schema:
  12385. items:
  12386. $ref: '#/definitions/models.ErmcpRole'
  12387. type: array
  12388. "500":
  12389. description: Internal Server Error
  12390. schema:
  12391. $ref: '#/definitions/app.Response'
  12392. security:
  12393. - ApiKeyAuth: []
  12394. summary: 查询账户管理角色设置(账户管理/角色设置)
  12395. tags:
  12396. - 企业风险管理(app)
  12397. /Ermcp/QueryAccMgrRoleMenu:
  12398. get:
  12399. parameters:
  12400. - description: 用户ID
  12401. in: query
  12402. name: userid
  12403. required: true
  12404. type: integer
  12405. - description: 角色id(可多个,逗号隔开)
  12406. in: query
  12407. name: roleid
  12408. type: string
  12409. produces:
  12410. - application/json
  12411. responses:
  12412. "200":
  12413. description: OK
  12414. schema:
  12415. items:
  12416. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  12417. type: array
  12418. "500":
  12419. description: Internal Server Error
  12420. schema:
  12421. $ref: '#/definitions/app.Response'
  12422. security:
  12423. - ApiKeyAuth: []
  12424. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  12425. tags:
  12426. - 企业风险管理(app)
  12427. /Ermcp/QueryAccMgrTaAccountInfo:
  12428. get:
  12429. parameters:
  12430. - description: 用户ID
  12431. in: query
  12432. name: userid
  12433. required: true
  12434. type: integer
  12435. - description: 账号id
  12436. in: query
  12437. name: accountid
  12438. type: integer
  12439. produces:
  12440. - application/json
  12441. responses:
  12442. "200":
  12443. description: OK
  12444. schema:
  12445. items:
  12446. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  12447. type: array
  12448. "500":
  12449. description: Internal Server Error
  12450. schema:
  12451. $ref: '#/definitions/app.Response'
  12452. security:
  12453. - ApiKeyAuth: []
  12454. summary: 查询账户管理授信(账户管理/账户设置/授信)
  12455. tags:
  12456. - 企业风险管理(app)
  12457. /Ermcp/QueryAccMgrTaaccount:
  12458. get:
  12459. parameters:
  12460. - description: 用户ID
  12461. in: query
  12462. name: userid
  12463. required: true
  12464. type: integer
  12465. produces:
  12466. - application/json
  12467. responses:
  12468. "200":
  12469. description: OK
  12470. schema:
  12471. items:
  12472. $ref: '#/definitions/models.ErmcpTaAccountEx'
  12473. type: array
  12474. "500":
  12475. description: Internal Server Error
  12476. schema:
  12477. $ref: '#/definitions/app.Response'
  12478. security:
  12479. - ApiKeyAuth: []
  12480. summary: 查询账户管理期货账号(账户管理/期货账号)
  12481. tags:
  12482. - 企业风险管理(app)
  12483. /Ermcp/QueryAvaildGoodsGroup:
  12484. get:
  12485. parameters:
  12486. - description: 所属机构ID
  12487. in: query
  12488. name: userid
  12489. required: true
  12490. type: integer
  12491. produces:
  12492. - application/json
  12493. responses:
  12494. "200":
  12495. description: OK
  12496. schema:
  12497. items:
  12498. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  12499. type: array
  12500. "500":
  12501. description: Internal Server Error
  12502. schema:
  12503. $ref: '#/definitions/app.Response'
  12504. security:
  12505. - ApiKeyAuth: []
  12506. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  12507. tags:
  12508. - 企业风险管理(app)
  12509. /Ermcp/QueryBusinessDj:
  12510. get:
  12511. parameters:
  12512. - description: 用户ID
  12513. in: query
  12514. name: UserId
  12515. required: true
  12516. type: integer
  12517. - description: 用户类型 2-机构 7-企业成员
  12518. in: query
  12519. name: usertype
  12520. type: integer
  12521. - description: 现货合同ID, 不填则查所有
  12522. in: query
  12523. name: relatedid
  12524. type: string
  12525. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12526. in: query
  12527. name: applystatus
  12528. type: string
  12529. produces:
  12530. - application/json
  12531. responses:
  12532. "200":
  12533. description: OK
  12534. schema:
  12535. items:
  12536. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  12537. type: array
  12538. "500":
  12539. description: Internal Server Error
  12540. schema:
  12541. $ref: '#/definitions/app.Response'
  12542. security:
  12543. - ApiKeyAuth: []
  12544. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  12545. tags:
  12546. - 企业风险管理(app)
  12547. /Ermcp/QueryBusinessFp:
  12548. get:
  12549. parameters:
  12550. - description: 用户ID
  12551. in: query
  12552. name: UserId
  12553. required: true
  12554. type: integer
  12555. - description: 用户类型 2-机构 7-企业成员
  12556. in: query
  12557. name: usertype
  12558. type: integer
  12559. - description: 现货合同ID, 不填则查所有
  12560. in: query
  12561. name: relatedid
  12562. type: string
  12563. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12564. in: query
  12565. name: applystatus
  12566. type: string
  12567. produces:
  12568. - application/json
  12569. responses:
  12570. "200":
  12571. description: OK
  12572. schema:
  12573. items:
  12574. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  12575. type: array
  12576. "500":
  12577. description: Internal Server Error
  12578. schema:
  12579. $ref: '#/definitions/app.Response'
  12580. security:
  12581. - ApiKeyAuth: []
  12582. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  12583. tags:
  12584. - 企业风险管理(app)
  12585. /Ermcp/QueryBusinessJs:
  12586. get:
  12587. parameters:
  12588. - description: 用户ID
  12589. in: query
  12590. name: UserId
  12591. required: true
  12592. type: integer
  12593. - description: 用户类型 2-机构 7-企业成员
  12594. in: query
  12595. name: usertype
  12596. type: integer
  12597. - description: 现货合同ID, 不填则查所有
  12598. in: query
  12599. name: relatedid
  12600. type: string
  12601. - description: 操作申请id
  12602. in: query
  12603. name: operateapplyid
  12604. type: string
  12605. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12606. in: query
  12607. name: applystatus
  12608. type: string
  12609. produces:
  12610. - application/json
  12611. responses:
  12612. "200":
  12613. description: OK
  12614. schema:
  12615. items:
  12616. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  12617. type: array
  12618. "500":
  12619. description: Internal Server Error
  12620. schema:
  12621. $ref: '#/definitions/app.Response'
  12622. security:
  12623. - ApiKeyAuth: []
  12624. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  12625. tags:
  12626. - 企业风险管理(app)
  12627. /Ermcp/QueryBusinessJsEx:
  12628. get:
  12629. parameters:
  12630. - description: 用户ID
  12631. in: query
  12632. name: UserId
  12633. required: true
  12634. type: integer
  12635. - description: 用户类型 2-机构 7-企业成员
  12636. in: query
  12637. name: usertype
  12638. type: integer
  12639. - description: 现货合同ID, 不填则查所有
  12640. in: query
  12641. name: relatedid
  12642. type: string
  12643. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12644. in: query
  12645. name: applystatus
  12646. type: string
  12647. produces:
  12648. - application/json
  12649. responses:
  12650. "200":
  12651. description: OK
  12652. schema:
  12653. items:
  12654. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  12655. type: array
  12656. "500":
  12657. description: Internal Server Error
  12658. schema:
  12659. $ref: '#/definitions/app.Response'
  12660. security:
  12661. - ApiKeyAuth: []
  12662. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  12663. tags:
  12664. - 企业风险管理(app)
  12665. /Ermcp/QueryBusinessKx:
  12666. get:
  12667. parameters:
  12668. - description: 用户ID
  12669. in: query
  12670. name: UserId
  12671. required: true
  12672. type: integer
  12673. - description: 用户类型 2-机构 7-企业成员
  12674. in: query
  12675. name: usertype
  12676. type: integer
  12677. - description: 现货合同ID, 不填则查所有
  12678. in: query
  12679. name: relatedid
  12680. type: string
  12681. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  12682. in: query
  12683. name: applystatus
  12684. type: string
  12685. produces:
  12686. - application/json
  12687. responses:
  12688. "200":
  12689. description: OK
  12690. schema:
  12691. items:
  12692. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  12693. type: array
  12694. "500":
  12695. description: Internal Server Error
  12696. schema:
  12697. $ref: '#/definitions/app.Response'
  12698. security:
  12699. - ApiKeyAuth: []
  12700. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  12701. tags:
  12702. - 企业风险管理(app)
  12703. /Ermcp/QueryChangeLog:
  12704. get:
  12705. parameters:
  12706. - description: 合同ID
  12707. in: query
  12708. name: RelatedId
  12709. required: true
  12710. type: string
  12711. produces:
  12712. - application/json
  12713. responses:
  12714. "200":
  12715. description: OK
  12716. schema:
  12717. items:
  12718. $ref: '#/definitions/ermcp.QryOPLogRsp'
  12719. type: array
  12720. "500":
  12721. description: Internal Server Error
  12722. schema:
  12723. $ref: '#/definitions/app.Response'
  12724. security:
  12725. - ApiKeyAuth: []
  12726. summary: 查询变更记录
  12727. tags:
  12728. - 企业风险管理(app)
  12729. /Ermcp/QueryErmcpHisOrderDetails:
  12730. get:
  12731. parameters:
  12732. - description: 资金账户ID
  12733. in: query
  12734. name: accountID
  12735. required: true
  12736. type: integer
  12737. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12738. in: query
  12739. name: startDate
  12740. type: string
  12741. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12742. in: query
  12743. name: endDate
  12744. type: string
  12745. produces:
  12746. - application/json
  12747. responses:
  12748. "200":
  12749. description: OK
  12750. schema:
  12751. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12752. "500":
  12753. description: Internal Server Error
  12754. schema:
  12755. $ref: '#/definitions/app.Response'
  12756. security:
  12757. - ApiKeyAuth: []
  12758. summary: 获取企业风管期货历史委托单信息
  12759. tags:
  12760. - 企业风险管理(app)
  12761. /Ermcp/QueryErmcpHisTradeDetails:
  12762. get:
  12763. parameters:
  12764. - description: 资金账户ID
  12765. in: query
  12766. name: accountID
  12767. required: true
  12768. type: integer
  12769. - description: 商品ID
  12770. in: query
  12771. name: goodsID
  12772. type: integer
  12773. - description: 买卖方向,0:买 1:卖
  12774. in: query
  12775. name: buyOrSell
  12776. type: integer
  12777. - description: 关联委托单号
  12778. in: query
  12779. name: orderID
  12780. type: integer
  12781. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  12782. in: query
  12783. name: startDate
  12784. type: string
  12785. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  12786. in: query
  12787. name: endDate
  12788. type: string
  12789. produces:
  12790. - application/json
  12791. responses:
  12792. "200":
  12793. description: OK
  12794. schema:
  12795. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12796. "500":
  12797. description: Internal Server Error
  12798. schema:
  12799. $ref: '#/definitions/app.Response'
  12800. security:
  12801. - ApiKeyAuth: []
  12802. summary: 获取企业风管期货历史成交单信息
  12803. tags:
  12804. - 企业风险管理(app)
  12805. /Ermcp/QueryErmcpInnerHolderDetails:
  12806. get:
  12807. parameters:
  12808. - description: 资金账户ID
  12809. in: query
  12810. name: accountID
  12811. required: true
  12812. type: integer
  12813. - description: 商品ID
  12814. in: query
  12815. name: goodsID
  12816. type: integer
  12817. - description: 买卖方向,0:买 1:卖
  12818. in: query
  12819. name: buyOrSell
  12820. type: integer
  12821. produces:
  12822. - application/json
  12823. responses:
  12824. "200":
  12825. description: OK
  12826. schema:
  12827. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  12828. "500":
  12829. description: Internal Server Error
  12830. schema:
  12831. $ref: '#/definitions/app.Response'
  12832. security:
  12833. - ApiKeyAuth: []
  12834. summary: 获取企业风管期货内部持仓单信息
  12835. tags:
  12836. - 企业风险管理(app)
  12837. /Ermcp/QueryErmcpOrderDetails:
  12838. get:
  12839. parameters:
  12840. - description: 资金账户ID
  12841. in: query
  12842. name: accountID
  12843. required: true
  12844. type: integer
  12845. produces:
  12846. - application/json
  12847. responses:
  12848. "200":
  12849. description: OK
  12850. schema:
  12851. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  12852. "500":
  12853. description: Internal Server Error
  12854. schema:
  12855. $ref: '#/definitions/app.Response'
  12856. security:
  12857. - ApiKeyAuth: []
  12858. summary: 获取企业风管期货委托单信息
  12859. tags:
  12860. - 企业风险管理(app)
  12861. /Ermcp/QueryErmcpTradeDetails:
  12862. get:
  12863. parameters:
  12864. - description: 资金账户ID
  12865. in: query
  12866. name: accountID
  12867. required: true
  12868. type: integer
  12869. - description: 商品ID
  12870. in: query
  12871. name: goodsID
  12872. type: integer
  12873. - description: 买卖方向,0:买 1:卖
  12874. in: query
  12875. name: buyOrSell
  12876. type: integer
  12877. - description: 关联委托单号
  12878. in: query
  12879. name: orderID
  12880. type: integer
  12881. produces:
  12882. - application/json
  12883. responses:
  12884. "200":
  12885. description: OK
  12886. schema:
  12887. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  12888. "500":
  12889. description: Internal Server Error
  12890. schema:
  12891. $ref: '#/definitions/app.Response'
  12892. security:
  12893. - ApiKeyAuth: []
  12894. summary: 获取企业风管期货成交单信息
  12895. tags:
  12896. - 企业风险管理(app)
  12897. /Ermcp/QueryErmcpTradePosition:
  12898. get:
  12899. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  12900. parameters:
  12901. - description: 资金账户ID
  12902. in: query
  12903. name: accountID
  12904. required: true
  12905. type: integer
  12906. - description: 所属市场ID
  12907. in: query
  12908. name: marketID
  12909. type: integer
  12910. produces:
  12911. - application/json
  12912. responses:
  12913. "200":
  12914. description: OK
  12915. schema:
  12916. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  12917. "500":
  12918. description: Internal Server Error
  12919. schema:
  12920. $ref: '#/definitions/app.Response'
  12921. security:
  12922. - ApiKeyAuth: []
  12923. summary: 获取企业风管期货持仓头寸信息
  12924. tags:
  12925. - 企业风险管理(app)
  12926. /Ermcp/QueryExposureDetail:
  12927. get:
  12928. parameters:
  12929. - description: 所属机构ID
  12930. in: query
  12931. name: areaUserId
  12932. required: true
  12933. type: integer
  12934. - description: 套保商品
  12935. in: query
  12936. name: middleGoodsId
  12937. required: true
  12938. type: integer
  12939. produces:
  12940. - application/json
  12941. responses:
  12942. "200":
  12943. description: OK
  12944. schema:
  12945. items:
  12946. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  12947. type: array
  12948. "500":
  12949. description: Internal Server Error
  12950. schema:
  12951. $ref: '#/definitions/app.Response'
  12952. security:
  12953. - ApiKeyAuth: []
  12954. summary: 查询敞口现货明细
  12955. tags:
  12956. - 企业风险管理(app)
  12957. /Ermcp/QueryExposureHedgePosition:
  12958. get:
  12959. parameters:
  12960. - description: 用户id
  12961. in: query
  12962. name: userid
  12963. required: true
  12964. type: integer
  12965. produces:
  12966. - application/json
  12967. responses:
  12968. "200":
  12969. description: OK
  12970. schema:
  12971. items:
  12972. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  12973. type: array
  12974. "500":
  12975. description: Internal Server Error
  12976. schema:
  12977. $ref: '#/definitions/app.Response'
  12978. security:
  12979. - ApiKeyAuth: []
  12980. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  12981. tags:
  12982. - 企业风险管理(app)
  12983. /Ermcp/QueryExposureHedgePositionDetail:
  12984. get:
  12985. parameters:
  12986. - description: 所属机构ID
  12987. in: query
  12988. name: userid
  12989. required: true
  12990. type: integer
  12991. - description: 商品id
  12992. in: query
  12993. name: goodsId
  12994. required: true
  12995. type: integer
  12996. produces:
  12997. - application/json
  12998. responses:
  12999. "200":
  13000. description: OK
  13001. schema:
  13002. items:
  13003. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  13004. type: array
  13005. "500":
  13006. description: Internal Server Error
  13007. schema:
  13008. $ref: '#/definitions/app.Response'
  13009. security:
  13010. - ApiKeyAuth: []
  13011. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  13012. tags:
  13013. - 企业风险管理(app)
  13014. /Ermcp/QueryExposureSpot:
  13015. get:
  13016. parameters:
  13017. - description: 所属机构ID
  13018. in: query
  13019. name: areaUserId
  13020. required: true
  13021. type: integer
  13022. produces:
  13023. - application/json
  13024. responses:
  13025. "200":
  13026. description: OK
  13027. schema:
  13028. items:
  13029. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  13030. type: array
  13031. "500":
  13032. description: Internal Server Error
  13033. schema:
  13034. $ref: '#/definitions/app.Response'
  13035. security:
  13036. - ApiKeyAuth: []
  13037. summary: 查询敞口现货头寸(敞口/现货头寸)
  13038. tags:
  13039. - 企业风险管理(app)
  13040. /Ermcp/QueryExposureSpotDetail:
  13041. get:
  13042. parameters:
  13043. - description: 所属机构ID
  13044. in: query
  13045. name: areaUserId
  13046. required: true
  13047. type: integer
  13048. - description: 现货品种ID
  13049. in: query
  13050. name: wrstandardId
  13051. required: true
  13052. type: integer
  13053. produces:
  13054. - application/json
  13055. responses:
  13056. "200":
  13057. description: OK
  13058. schema:
  13059. items:
  13060. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  13061. type: array
  13062. "500":
  13063. description: Internal Server Error
  13064. schema:
  13065. $ref: '#/definitions/app.Response'
  13066. security:
  13067. - ApiKeyAuth: []
  13068. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  13069. tags:
  13070. - 企业风险管理(app)
  13071. /Ermcp/QueryFuturesCompany:
  13072. get:
  13073. produces:
  13074. - application/json
  13075. responses:
  13076. "200":
  13077. description: OK
  13078. schema:
  13079. items:
  13080. $ref: '#/definitions/models.ErmcpFuturesCompany'
  13081. type: array
  13082. "500":
  13083. description: Internal Server Error
  13084. schema:
  13085. $ref: '#/definitions/app.Response'
  13086. security:
  13087. - ApiKeyAuth: []
  13088. summary: 查询期货公司
  13089. tags:
  13090. - 企业风险管理(app)
  13091. /Ermcp/QueryGGConvertConfig:
  13092. get:
  13093. parameters:
  13094. - description: 品种id(不填则查所有)
  13095. in: query
  13096. name: goodsgroupid
  13097. type: integer
  13098. produces:
  13099. - application/json
  13100. responses:
  13101. "200":
  13102. description: OK
  13103. schema:
  13104. items:
  13105. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  13106. type: array
  13107. "500":
  13108. description: Internal Server Error
  13109. schema:
  13110. $ref: '#/definitions/app.Response'
  13111. security:
  13112. - ApiKeyAuth: []
  13113. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  13114. tags:
  13115. - 企业风险管理(app)
  13116. /Ermcp/QueryGoodsBrand:
  13117. get:
  13118. parameters:
  13119. - description: 用户ID
  13120. in: query
  13121. name: userid
  13122. required: true
  13123. type: integer
  13124. - description: 现货商品ID
  13125. in: query
  13126. name: wrstandardid
  13127. type: integer
  13128. produces:
  13129. - application/json
  13130. responses:
  13131. "200":
  13132. description: OK
  13133. schema:
  13134. items:
  13135. $ref: '#/definitions/models.ErmcpGoodsBrand'
  13136. type: array
  13137. "500":
  13138. description: Internal Server Error
  13139. schema:
  13140. $ref: '#/definitions/app.Response'
  13141. security:
  13142. - ApiKeyAuth: []
  13143. summary: 查询商品品牌
  13144. tags:
  13145. - 企业风险管理(app)
  13146. /Ermcp/QueryGoodsModel:
  13147. get:
  13148. parameters:
  13149. - description: 用户ID
  13150. in: query
  13151. name: userid
  13152. required: true
  13153. type: integer
  13154. produces:
  13155. - application/json
  13156. responses:
  13157. "200":
  13158. description: OK
  13159. schema:
  13160. items:
  13161. $ref: '#/definitions/models.ErmcpGoodsModel'
  13162. type: array
  13163. "500":
  13164. description: Internal Server Error
  13165. schema:
  13166. $ref: '#/definitions/app.Response'
  13167. security:
  13168. - ApiKeyAuth: []
  13169. summary: 查询商品型号
  13170. tags:
  13171. - 企业风险管理(app)
  13172. /Ermcp/QueryHisExposure:
  13173. get:
  13174. parameters:
  13175. - description: 用户id
  13176. in: query
  13177. name: userid
  13178. required: true
  13179. type: integer
  13180. - description: 每个品种记录数
  13181. in: query
  13182. name: lastNum
  13183. required: true
  13184. type: integer
  13185. produces:
  13186. - application/json
  13187. responses:
  13188. "200":
  13189. description: OK
  13190. schema:
  13191. items:
  13192. $ref: '#/definitions/ermcp.HisExposureRsp'
  13193. type: array
  13194. "500":
  13195. description: Internal Server Error
  13196. schema:
  13197. $ref: '#/definitions/app.Response'
  13198. security:
  13199. - ApiKeyAuth: []
  13200. summary: 查询历史敞口(菜单:敞口/历史敞口)
  13201. tags:
  13202. - 企业风险管理(app)
  13203. /Ermcp/QueryMiddleGoods:
  13204. get:
  13205. parameters:
  13206. - description: 所属机构ID
  13207. in: query
  13208. name: userid
  13209. required: true
  13210. type: integer
  13211. - description: 状态 0-停用 1-正常
  13212. in: query
  13213. name: status
  13214. required: true
  13215. type: integer
  13216. produces:
  13217. - application/json
  13218. responses:
  13219. "200":
  13220. description: OK
  13221. schema:
  13222. items:
  13223. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  13224. type: array
  13225. "500":
  13226. description: Internal Server Error
  13227. schema:
  13228. $ref: '#/definitions/app.Response'
  13229. security:
  13230. - ApiKeyAuth: []
  13231. summary: 查询套保品种(菜单:套保品种)
  13232. tags:
  13233. - 企业风险管理(app)
  13234. /Ermcp/QueryMiddleGoodsChangeLog:
  13235. get:
  13236. parameters:
  13237. - description: 所属机构ID
  13238. in: query
  13239. name: userid
  13240. required: true
  13241. type: integer
  13242. - description: 套保品种id
  13243. in: query
  13244. name: middlegoodsid
  13245. required: true
  13246. type: integer
  13247. produces:
  13248. - application/json
  13249. responses:
  13250. "200":
  13251. description: OK
  13252. schema:
  13253. items:
  13254. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  13255. type: array
  13256. "500":
  13257. description: Internal Server Error
  13258. schema:
  13259. $ref: '#/definitions/app.Response'
  13260. security:
  13261. - ApiKeyAuth: []
  13262. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  13263. tags:
  13264. - 企业风险管理(app)
  13265. /Ermcp/QueryMiddleGoodsDetail:
  13266. get:
  13267. parameters:
  13268. - description: 所属机构ID
  13269. in: query
  13270. name: userid
  13271. required: true
  13272. type: integer
  13273. - description: 套保品种id
  13274. in: query
  13275. name: middlegoodsid
  13276. type: integer
  13277. produces:
  13278. - application/json
  13279. responses:
  13280. "200":
  13281. description: OK
  13282. schema:
  13283. items:
  13284. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  13285. type: array
  13286. "500":
  13287. description: Internal Server Error
  13288. schema:
  13289. $ref: '#/definitions/app.Response'
  13290. security:
  13291. - ApiKeyAuth: []
  13292. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  13293. tags:
  13294. - 企业风险管理(app)
  13295. /Ermcp/QueryPendingAuditInfo:
  13296. get:
  13297. parameters:
  13298. - description: 用户ID
  13299. in: query
  13300. name: UserId
  13301. required: true
  13302. type: integer
  13303. produces:
  13304. - application/json
  13305. responses:
  13306. "200":
  13307. description: OK
  13308. schema:
  13309. items:
  13310. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  13311. type: array
  13312. "500":
  13313. description: Internal Server Error
  13314. schema:
  13315. $ref: '#/definitions/app.Response'
  13316. security:
  13317. - ApiKeyAuth: []
  13318. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  13319. tags:
  13320. - 企业风险管理(app)
  13321. /Ermcp/QueryRealtimeExposure:
  13322. get:
  13323. parameters:
  13324. - description: 所属机构ID
  13325. in: query
  13326. name: userid
  13327. required: true
  13328. type: integer
  13329. produces:
  13330. - application/json
  13331. responses:
  13332. "200":
  13333. description: OK
  13334. schema:
  13335. items:
  13336. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  13337. type: array
  13338. "500":
  13339. description: Internal Server Error
  13340. schema:
  13341. $ref: '#/definitions/app.Response'
  13342. security:
  13343. - ApiKeyAuth: []
  13344. summary: 查询实时敞口
  13345. tags:
  13346. - 企业风险管理(app)
  13347. /Ermcp/QueryRealtimeExposurePosition:
  13348. get:
  13349. parameters:
  13350. - description: 用户id
  13351. in: query
  13352. name: userid
  13353. required: true
  13354. type: integer
  13355. - description: 套保商品ID
  13356. in: query
  13357. name: middleGoodsId
  13358. required: true
  13359. type: integer
  13360. produces:
  13361. - application/json
  13362. responses:
  13363. "200":
  13364. description: OK
  13365. schema:
  13366. items:
  13367. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  13368. type: array
  13369. "500":
  13370. description: Internal Server Error
  13371. schema:
  13372. $ref: '#/definitions/app.Response'
  13373. security:
  13374. - ApiKeyAuth: []
  13375. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  13376. tags:
  13377. - 企业风险管理(app)
  13378. /Ermcp/QueryTradeConfigTMP:
  13379. get:
  13380. parameters:
  13381. - description: 所属机构id
  13382. in: query
  13383. name: areauserid
  13384. type: integer
  13385. produces:
  13386. - application/json
  13387. responses:
  13388. "200":
  13389. description: OK
  13390. schema:
  13391. items:
  13392. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  13393. type: array
  13394. "500":
  13395. description: Internal Server Error
  13396. schema:
  13397. $ref: '#/definitions/app.Response'
  13398. security:
  13399. - ApiKeyAuth: []
  13400. summary: 查询交易模板配置
  13401. tags:
  13402. - 企业风险管理(app)
  13403. /Ermcp/QueryUserInfo:
  13404. get:
  13405. parameters:
  13406. - description: 所属机构用户ID
  13407. in: query
  13408. name: MemberUserID
  13409. required: true
  13410. type: integer
  13411. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  13412. in: query
  13413. name: queryType
  13414. required: true
  13415. type: integer
  13416. produces:
  13417. - application/json
  13418. responses:
  13419. "200":
  13420. description: OK
  13421. schema:
  13422. items:
  13423. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  13424. type: array
  13425. "500":
  13426. description: Internal Server Error
  13427. schema:
  13428. $ref: '#/definitions/app.Response'
  13429. security:
  13430. - ApiKeyAuth: []
  13431. summary: 查询客户资料
  13432. tags:
  13433. - 企业风险管理(app)
  13434. /Ermcp/QueryWarehouseInfo:
  13435. get:
  13436. parameters:
  13437. - description: 用户ID
  13438. in: query
  13439. name: userid
  13440. required: true
  13441. type: integer
  13442. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  13443. in: query
  13444. name: status
  13445. type: string
  13446. produces:
  13447. - application/json
  13448. responses:
  13449. "200":
  13450. description: OK
  13451. schema:
  13452. items:
  13453. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  13454. type: array
  13455. "500":
  13456. description: Internal Server Error
  13457. schema:
  13458. $ref: '#/definitions/app.Response'
  13459. security:
  13460. - ApiKeyAuth: []
  13461. summary: 查询仓库信息
  13462. tags:
  13463. - 企业风险管理(app)
  13464. /Ermcp3/QryAreaExpourseContractDetail:
  13465. get:
  13466. parameters:
  13467. - description: 用户ID
  13468. in: query
  13469. name: userid
  13470. required: true
  13471. type: integer
  13472. - description: 套保商品id
  13473. in: query
  13474. name: middlegoodsid
  13475. required: true
  13476. type: integer
  13477. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13478. in: query
  13479. name: cycletype
  13480. required: true
  13481. type: integer
  13482. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13483. 全(0)【原值】
  13484. in: query
  13485. name: cycletime
  13486. required: true
  13487. type: string
  13488. produces:
  13489. - application/json
  13490. responses:
  13491. "200":
  13492. description: OK
  13493. schema:
  13494. items:
  13495. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  13496. type: array
  13497. "500":
  13498. description: Internal Server Error
  13499. schema:
  13500. $ref: '#/definitions/app.Response'
  13501. security:
  13502. - ApiKeyAuth: []
  13503. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  13504. tags:
  13505. - 企业风险管理v3(app)
  13506. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  13507. get:
  13508. parameters:
  13509. - description: 用户ID
  13510. in: query
  13511. name: userid
  13512. required: true
  13513. type: integer
  13514. - description: 套保商品id
  13515. in: query
  13516. name: middlegoodsid
  13517. required: true
  13518. type: integer
  13519. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13520. in: query
  13521. name: cycletype
  13522. required: true
  13523. type: integer
  13524. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13525. 全(0)【原值】
  13526. in: query
  13527. name: cycletime
  13528. required: true
  13529. type: string
  13530. produces:
  13531. - application/json
  13532. responses:
  13533. "200":
  13534. description: OK
  13535. schema:
  13536. items:
  13537. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  13538. type: array
  13539. "500":
  13540. description: Internal Server Error
  13541. schema:
  13542. $ref: '#/definitions/app.Response'
  13543. security:
  13544. - ApiKeyAuth: []
  13545. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  13546. tags:
  13547. - 企业风险管理v3(app)
  13548. /Ermcp3/QryAreaExpourseReport:
  13549. get:
  13550. parameters:
  13551. - description: 用户ID
  13552. in: query
  13553. name: userid
  13554. required: true
  13555. type: integer
  13556. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  13557. in: query
  13558. name: querytype
  13559. required: true
  13560. type: integer
  13561. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13562. in: query
  13563. name: cycletype
  13564. required: true
  13565. type: integer
  13566. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13567. 全(0)【原值】
  13568. in: query
  13569. name: cycletime
  13570. required: true
  13571. type: string
  13572. produces:
  13573. - application/json
  13574. responses:
  13575. "200":
  13576. description: OK
  13577. schema:
  13578. items:
  13579. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  13580. type: array
  13581. "500":
  13582. description: Internal Server Error
  13583. schema:
  13584. $ref: '#/definitions/app.Response'
  13585. security:
  13586. - ApiKeyAuth: []
  13587. summary: 查询敞口报表
  13588. tags:
  13589. - 企业风险管理v3(app)
  13590. /Ermcp3/QryAreaSpotplReport:
  13591. get:
  13592. parameters:
  13593. - description: 用户ID
  13594. in: query
  13595. name: userid
  13596. required: true
  13597. type: integer
  13598. - description: 查询类型 1-报表 2-报表明细
  13599. in: query
  13600. name: querytype
  13601. required: true
  13602. type: integer
  13603. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13604. in: query
  13605. name: cycletype
  13606. required: true
  13607. type: integer
  13608. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13609. 全(0)【原值】
  13610. in: query
  13611. name: cycletime
  13612. required: true
  13613. type: string
  13614. - description: 现货品种id(明细必填)
  13615. in: query
  13616. name: deliverygoodsid
  13617. type: integer
  13618. - description: 品类id(明细必填)
  13619. in: query
  13620. name: wrstandardid
  13621. type: integer
  13622. - description: 币种id(明细必填)
  13623. in: query
  13624. name: currencyid
  13625. type: integer
  13626. produces:
  13627. - application/json
  13628. responses:
  13629. "200":
  13630. description: OK
  13631. schema:
  13632. items:
  13633. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  13634. type: array
  13635. "500":
  13636. description: Internal Server Error
  13637. schema:
  13638. $ref: '#/definitions/app.Response'
  13639. security:
  13640. - ApiKeyAuth: []
  13641. summary: 查询现货报表
  13642. tags:
  13643. - 企业风险管理v3(app)
  13644. /Ermcp3/QryAreaStockReport:
  13645. get:
  13646. parameters:
  13647. - description: 用户ID
  13648. in: query
  13649. name: userid
  13650. required: true
  13651. type: integer
  13652. - description: 查询类型 1-报表 2-报表明细
  13653. in: query
  13654. name: querytype
  13655. required: true
  13656. type: integer
  13657. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13658. in: query
  13659. name: cycletype
  13660. required: true
  13661. type: integer
  13662. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13663. 全(0)【原值】
  13664. in: query
  13665. name: cycletime
  13666. required: true
  13667. type: string
  13668. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  13669. in: query
  13670. name: sumfields
  13671. type: string
  13672. - description: 品种ID
  13673. in: query
  13674. name: deliverygoodsid
  13675. type: integer
  13676. - description: 品类ID
  13677. in: query
  13678. name: wrstandardid
  13679. type: integer
  13680. - description: 品牌ID
  13681. in: query
  13682. name: spotgoodsbrandid
  13683. type: integer
  13684. - description: 仓库ID
  13685. in: query
  13686. name: warehouseinfoid
  13687. type: integer
  13688. produces:
  13689. - application/json
  13690. responses:
  13691. "200":
  13692. description: OK
  13693. schema:
  13694. items:
  13695. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  13696. type: array
  13697. "500":
  13698. description: Internal Server Error
  13699. schema:
  13700. $ref: '#/definitions/app.Response'
  13701. security:
  13702. - ApiKeyAuth: []
  13703. summary: 查询库存报表
  13704. tags:
  13705. - 企业风险管理v3(app)
  13706. /Ermcp3/QryAreaSumPL:
  13707. get:
  13708. parameters:
  13709. - description: 用户ID
  13710. in: query
  13711. name: userid
  13712. required: true
  13713. type: integer
  13714. - description: 查询类型 1-报表 2-报表明细
  13715. in: query
  13716. name: querytype
  13717. required: true
  13718. type: integer
  13719. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13720. in: query
  13721. name: cycletype
  13722. required: true
  13723. type: integer
  13724. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13725. 全(0)【原值】
  13726. in: query
  13727. name: cycletime
  13728. required: true
  13729. type: string
  13730. - description: 币种id(明细必填)
  13731. in: query
  13732. name: currencyid
  13733. type: integer
  13734. produces:
  13735. - application/json
  13736. responses:
  13737. "200":
  13738. description: OK
  13739. schema:
  13740. items:
  13741. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  13742. type: array
  13743. "500":
  13744. description: Internal Server Error
  13745. schema:
  13746. $ref: '#/definitions/app.Response'
  13747. security:
  13748. - ApiKeyAuth: []
  13749. summary: 查询汇总损益表
  13750. tags:
  13751. - 企业风险管理v3(app)
  13752. /Ermcp3/QryFinanceReport:
  13753. get:
  13754. parameters:
  13755. - description: 用户ID
  13756. in: query
  13757. name: userid
  13758. required: true
  13759. type: integer
  13760. - description: 查询类型 1-报表 2-报表明细
  13761. in: query
  13762. name: querytype
  13763. required: true
  13764. type: integer
  13765. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  13766. in: query
  13767. name: cycletype
  13768. required: true
  13769. type: integer
  13770. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  13771. 全(0)【原值】
  13772. in: query
  13773. name: cycletime
  13774. required: true
  13775. type: string
  13776. - description: 币种id(日报表明细)
  13777. in: query
  13778. name: currencyid
  13779. type: integer
  13780. produces:
  13781. - application/json
  13782. responses:
  13783. "200":
  13784. description: OK
  13785. schema:
  13786. items:
  13787. $ref: '#/definitions/models.Ermcp3FinanceReport'
  13788. type: array
  13789. "500":
  13790. description: Internal Server Error
  13791. schema:
  13792. $ref: '#/definitions/app.Response'
  13793. security:
  13794. - ApiKeyAuth: []
  13795. summary: 查询财务报表
  13796. tags:
  13797. - 企业风险管理v3(app)
  13798. /Ermcp3/QueryAreaStock:
  13799. get:
  13800. parameters:
  13801. - description: 用户ID
  13802. in: query
  13803. name: userid
  13804. required: true
  13805. type: integer
  13806. produces:
  13807. - application/json
  13808. responses:
  13809. "200":
  13810. description: OK
  13811. schema:
  13812. items:
  13813. $ref: '#/definitions/models.Ermcp3AreaStock'
  13814. type: array
  13815. "500":
  13816. description: Internal Server Error
  13817. schema:
  13818. $ref: '#/definitions/app.Response'
  13819. security:
  13820. - ApiKeyAuth: []
  13821. summary: 查询机构库存(库存管理/当前库存)
  13822. tags:
  13823. - 企业风险管理v3(app)
  13824. /Ermcp3/QueryAreaStockApply:
  13825. get:
  13826. parameters:
  13827. - description: 用户ID
  13828. in: query
  13829. name: userid
  13830. required: true
  13831. type: integer
  13832. - description: 用户类型 2-机构 7-企业成员
  13833. in: query
  13834. name: usertype
  13835. type: integer
  13836. - description: 现货商品ID
  13837. in: query
  13838. name: deliverygoodsid
  13839. type: integer
  13840. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  13841. in: query
  13842. name: inouttype
  13843. type: string
  13844. - description: 合同ID
  13845. in: query
  13846. name: spotcontractid
  13847. type: integer
  13848. - description: 品类ID
  13849. in: query
  13850. name: wrstandardid
  13851. type: integer
  13852. - description: 品牌ID
  13853. in: query
  13854. name: spotgoodsbrandid
  13855. type: integer
  13856. - description: 仓库ID
  13857. in: query
  13858. name: warehouseinfoid
  13859. type: integer
  13860. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  13861. in: query
  13862. name: applystatus
  13863. type: string
  13864. produces:
  13865. - application/json
  13866. responses:
  13867. "200":
  13868. description: OK
  13869. schema:
  13870. items:
  13871. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  13872. type: array
  13873. "500":
  13874. description: Internal Server Error
  13875. schema:
  13876. $ref: '#/definitions/app.Response'
  13877. security:
  13878. - ApiKeyAuth: []
  13879. summary: 查询库存申请(出入库记录|库存审核)
  13880. tags:
  13881. - 企业风险管理v3(app)
  13882. /Ermcp3/QueryAreaStockApplySum:
  13883. get:
  13884. parameters:
  13885. - description: 合同ID
  13886. in: query
  13887. name: spotcontractid
  13888. type: integer
  13889. produces:
  13890. - application/json
  13891. responses:
  13892. "200":
  13893. description: OK
  13894. schema:
  13895. items:
  13896. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  13897. type: array
  13898. "500":
  13899. description: Internal Server Error
  13900. schema:
  13901. $ref: '#/definitions/app.Response'
  13902. security:
  13903. - ApiKeyAuth: []
  13904. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  13905. tags:
  13906. - 企业风险管理v3(app)
  13907. /Ermcp3/QueryDGFactoryItem:
  13908. get:
  13909. parameters:
  13910. - description: 用户id
  13911. in: query
  13912. name: userid
  13913. type: integer
  13914. - description: 用户类型 2-机构 7-企业成员
  13915. in: query
  13916. name: usertype
  13917. type: integer
  13918. - description: 选择项ID(SEQ_DGFACTORYITEM)
  13919. in: query
  13920. name: dgfactoryitemid
  13921. type: integer
  13922. - description: 现货品种ID
  13923. in: query
  13924. name: deliverygoodsid
  13925. type: integer
  13926. - description: 要素项类型
  13927. in: query
  13928. name: dgfactoryitemtypeid
  13929. type: integer
  13930. - description: 顺序
  13931. in: query
  13932. name: orderindex
  13933. type: integer
  13934. produces:
  13935. - application/json
  13936. responses:
  13937. "200":
  13938. description: OK
  13939. schema:
  13940. items:
  13941. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  13942. type: array
  13943. "500":
  13944. description: Internal Server Error
  13945. schema:
  13946. $ref: '#/definitions/app.Response'
  13947. security:
  13948. - ApiKeyAuth: []
  13949. summary: 查询品种要素定义项
  13950. tags:
  13951. - 企业风险管理v3(app)
  13952. /Ermcp3/QueryDeliveryGoods:
  13953. get:
  13954. parameters:
  13955. - description: 用户id
  13956. in: query
  13957. name: userid
  13958. required: true
  13959. type: integer
  13960. - description: 用户类型 2-机构 7-企业成员
  13961. in: query
  13962. name: usertype
  13963. type: integer
  13964. - description: 排除已配置的业务类型商品 1-套保 2-套利
  13965. in: query
  13966. name: excludecfg
  13967. type: integer
  13968. produces:
  13969. - application/json
  13970. responses:
  13971. "200":
  13972. description: OK
  13973. schema:
  13974. items:
  13975. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  13976. type: array
  13977. "500":
  13978. description: Internal Server Error
  13979. schema:
  13980. $ref: '#/definitions/app.Response'
  13981. security:
  13982. - ApiKeyAuth: []
  13983. summary: 查询现货商品
  13984. tags:
  13985. - 企业风险管理v3(app)
  13986. /Ermcp3/QueryDeliveryGoodsDetail:
  13987. get:
  13988. parameters:
  13989. - description: 用户id
  13990. in: query
  13991. name: userid
  13992. required: true
  13993. type: integer
  13994. - description: 用户类型 2-机构 7-企业成员
  13995. in: query
  13996. name: usertype
  13997. type: integer
  13998. - description: 现货商品id
  13999. in: query
  14000. name: deliverygoodsid
  14001. type: integer
  14002. produces:
  14003. - application/json
  14004. responses:
  14005. "200":
  14006. description: OK
  14007. schema:
  14008. items:
  14009. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  14010. type: array
  14011. "500":
  14012. description: Internal Server Error
  14013. schema:
  14014. $ref: '#/definitions/app.Response'
  14015. security:
  14016. - ApiKeyAuth: []
  14017. summary: 查询现货商品详情
  14018. tags:
  14019. - 企业风险管理v3(app)
  14020. /Ermcp3/QueryExposureDetail:
  14021. get:
  14022. parameters:
  14023. - description: 用户id
  14024. in: query
  14025. name: userid
  14026. required: true
  14027. type: integer
  14028. - description: 用户类型 2-机构 7-企业成员
  14029. in: query
  14030. name: usertype
  14031. type: integer
  14032. - description: 套保商品
  14033. in: query
  14034. name: middlegoodsid
  14035. required: true
  14036. type: integer
  14037. produces:
  14038. - application/json
  14039. responses:
  14040. "200":
  14041. description: OK
  14042. schema:
  14043. items:
  14044. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  14045. type: array
  14046. "500":
  14047. description: Internal Server Error
  14048. schema:
  14049. $ref: '#/definitions/app.Response'
  14050. security:
  14051. - ApiKeyAuth: []
  14052. summary: 查询敞口现货明细
  14053. tags:
  14054. - 企业风险管理v3(app)
  14055. /Ermcp3/QueryExposureSpot:
  14056. get:
  14057. parameters:
  14058. - description: 用户id
  14059. in: query
  14060. name: userid
  14061. required: true
  14062. type: integer
  14063. - description: 用户类型 2-机构 7-企业成员
  14064. in: query
  14065. name: usertype
  14066. type: integer
  14067. produces:
  14068. - application/json
  14069. responses:
  14070. "200":
  14071. description: OK
  14072. schema:
  14073. items:
  14074. $ref: '#/definitions/models.Ermcp3AreaSpot'
  14075. type: array
  14076. "500":
  14077. description: Internal Server Error
  14078. schema:
  14079. $ref: '#/definitions/app.Response'
  14080. security:
  14081. - ApiKeyAuth: []
  14082. summary: 查询敞口现货头寸(敞口/现货头寸)
  14083. tags:
  14084. - 企业风险管理v3(app)
  14085. /Ermcp3/QueryExposureSpotDetail:
  14086. get:
  14087. parameters:
  14088. - description: 用户id
  14089. in: query
  14090. name: userid
  14091. required: true
  14092. type: integer
  14093. - description: 用户类型 2-机构 7-企业成员
  14094. in: query
  14095. name: usertype
  14096. type: integer
  14097. - description: 现货品种ID
  14098. in: query
  14099. name: deliverygoodsid
  14100. required: true
  14101. type: integer
  14102. produces:
  14103. - application/json
  14104. responses:
  14105. "200":
  14106. description: OK
  14107. schema:
  14108. items:
  14109. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  14110. type: array
  14111. "500":
  14112. description: Internal Server Error
  14113. schema:
  14114. $ref: '#/definitions/app.Response'
  14115. security:
  14116. - ApiKeyAuth: []
  14117. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  14118. tags:
  14119. - 企业风险管理v3(app)
  14120. /Ermcp3/QueryGoodsGroup:
  14121. get:
  14122. parameters:
  14123. - description: 用户id
  14124. in: query
  14125. name: userid
  14126. required: true
  14127. type: integer
  14128. - description: 用户类型 2-机构 7-企业成员
  14129. in: query
  14130. name: usertype
  14131. type: integer
  14132. - description: 排除套保品中已关联的商品组 1-排除
  14133. in: query
  14134. name: excludecfg
  14135. type: integer
  14136. produces:
  14137. - application/json
  14138. responses:
  14139. "200":
  14140. description: OK
  14141. schema:
  14142. items:
  14143. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  14144. type: array
  14145. "500":
  14146. description: Internal Server Error
  14147. schema:
  14148. $ref: '#/definitions/app.Response'
  14149. security:
  14150. - ApiKeyAuth: []
  14151. summary: 查询期货商品组
  14152. tags:
  14153. - 企业风险管理v3(app)
  14154. /Ermcp3/QueryGoodsWrstandard:
  14155. get:
  14156. parameters:
  14157. - description: 用户id
  14158. in: query
  14159. name: userid
  14160. required: true
  14161. type: integer
  14162. - description: 用户类型 2-机构 7-企业成员
  14163. in: query
  14164. name: usertype
  14165. type: integer
  14166. - description: 现货商品id
  14167. in: query
  14168. name: deliverygoodsid
  14169. type: integer
  14170. produces:
  14171. - application/json
  14172. responses:
  14173. "200":
  14174. description: OK
  14175. schema:
  14176. items:
  14177. $ref: '#/definitions/models.Ermcp3Wrstandard'
  14178. type: array
  14179. "500":
  14180. description: Internal Server Error
  14181. schema:
  14182. $ref: '#/definitions/app.Response'
  14183. security:
  14184. - ApiKeyAuth: []
  14185. summary: 查询商品品类
  14186. tags:
  14187. - 企业风险管理v3(app)
  14188. /Ermcp3/QueryGoodsbrand:
  14189. get:
  14190. parameters:
  14191. - description: 用户id
  14192. in: query
  14193. name: userid
  14194. required: true
  14195. type: integer
  14196. - description: 用户类型 2-机构 7-企业成员
  14197. in: query
  14198. name: usertype
  14199. type: integer
  14200. produces:
  14201. - application/json
  14202. responses:
  14203. "200":
  14204. description: OK
  14205. schema:
  14206. items:
  14207. $ref: '#/definitions/models.Ermcp3Brand'
  14208. type: array
  14209. "500":
  14210. description: Internal Server Error
  14211. schema:
  14212. $ref: '#/definitions/app.Response'
  14213. security:
  14214. - ApiKeyAuth: []
  14215. summary: 查询商品品牌
  14216. tags:
  14217. - 企业风险管理v3(app)
  14218. /Ermcp3/QueryHedgePlan:
  14219. get:
  14220. parameters:
  14221. - description: 用户ID
  14222. in: query
  14223. name: userid
  14224. required: true
  14225. type: integer
  14226. - description: 用户类型 2-机构 7-企业成员
  14227. in: query
  14228. name: usertype
  14229. type: integer
  14230. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  14231. in: query
  14232. name: hedgeplanstatus
  14233. required: true
  14234. type: string
  14235. produces:
  14236. - application/json
  14237. responses:
  14238. "200":
  14239. description: OK
  14240. schema:
  14241. items:
  14242. $ref: '#/definitions/models.Ermcp3HedgePlan'
  14243. type: array
  14244. "500":
  14245. description: Internal Server Error
  14246. schema:
  14247. $ref: '#/definitions/app.Response'
  14248. security:
  14249. - ApiKeyAuth: []
  14250. summary: 查询套保计划
  14251. tags:
  14252. - 企业风险管理v3(app)
  14253. /Ermcp3/QueryMiddleGoodsDetail:
  14254. get:
  14255. parameters:
  14256. - description: 用户id
  14257. in: query
  14258. name: userid
  14259. required: true
  14260. type: integer
  14261. - description: 用户类型 2-机构 7-企业成员
  14262. in: query
  14263. name: usertype
  14264. type: integer
  14265. - description: 套保品种id
  14266. in: query
  14267. name: middlegoodsid
  14268. type: integer
  14269. produces:
  14270. - application/json
  14271. responses:
  14272. "200":
  14273. description: OK
  14274. schema:
  14275. items:
  14276. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  14277. type: array
  14278. "500":
  14279. description: Internal Server Error
  14280. schema:
  14281. $ref: '#/definitions/app.Response'
  14282. security:
  14283. - ApiKeyAuth: []
  14284. summary: 查询套保品种详情(套保品种/商品详情)
  14285. tags:
  14286. - 企业风险管理v3(app)
  14287. /Ermcp3/QuerySpotContract:
  14288. get:
  14289. parameters:
  14290. - description: 用户id
  14291. in: query
  14292. name: userid
  14293. required: true
  14294. type: integer
  14295. - description: 用户类型 2-机构 7-企业成员
  14296. in: query
  14297. name: usertype
  14298. type: integer
  14299. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  14300. in: query
  14301. name: querytype
  14302. required: true
  14303. type: integer
  14304. - description: 合同ID(SpotContractId)
  14305. in: query
  14306. name: contractid
  14307. type: string
  14308. produces:
  14309. - application/json
  14310. responses:
  14311. "200":
  14312. description: OK
  14313. schema:
  14314. items:
  14315. $ref: '#/definitions/models.Ermcp3Contract'
  14316. type: array
  14317. "500":
  14318. description: Internal Server Error
  14319. schema:
  14320. $ref: '#/definitions/app.Response'
  14321. security:
  14322. - ApiKeyAuth: []
  14323. summary: 查询现货合同
  14324. tags:
  14325. - 企业风险管理v3(app)
  14326. /Ermcp3/QuerySpotContractBS:
  14327. get:
  14328. parameters:
  14329. - description: 用户id
  14330. in: query
  14331. name: userid
  14332. required: true
  14333. type: integer
  14334. - description: 用户类型 2-机构 7-企业成员
  14335. in: query
  14336. name: usertype
  14337. type: integer
  14338. - description: 合同类型 1-采购, -1-销售
  14339. in: query
  14340. name: contracttype
  14341. required: true
  14342. type: integer
  14343. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  14344. in: query
  14345. name: querytype
  14346. required: true
  14347. type: integer
  14348. - description: 合同ID(SpotContractId)
  14349. in: query
  14350. name: contractid
  14351. type: string
  14352. produces:
  14353. - application/json
  14354. responses:
  14355. "200":
  14356. description: OK
  14357. schema:
  14358. items:
  14359. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  14360. type: array
  14361. "500":
  14362. description: Internal Server Error
  14363. schema:
  14364. $ref: '#/definitions/app.Response'
  14365. security:
  14366. - ApiKeyAuth: []
  14367. summary: 查询合同(采购/销售)
  14368. tags:
  14369. - 企业风险管理v3(app)
  14370. /Ermcp3/QuerySpotGoodsPrice:
  14371. get:
  14372. parameters:
  14373. - description: 用户ID
  14374. in: query
  14375. name: userid
  14376. required: true
  14377. type: integer
  14378. produces:
  14379. - application/json
  14380. responses:
  14381. "200":
  14382. description: OK
  14383. schema:
  14384. items:
  14385. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  14386. type: array
  14387. "500":
  14388. description: Internal Server Error
  14389. schema:
  14390. $ref: '#/definitions/app.Response'
  14391. security:
  14392. - ApiKeyAuth: []
  14393. summary: 查询现货市价(现货市价)
  14394. tags:
  14395. - 企业风险管理v3(app)
  14396. /Ermcp3/QuerySpotGoodsPriceLog:
  14397. get:
  14398. parameters:
  14399. - description: 用户ID
  14400. in: query
  14401. name: userid
  14402. required: true
  14403. type: integer
  14404. - description: 现货商品ID
  14405. in: query
  14406. name: deliverygoodsid
  14407. required: true
  14408. type: integer
  14409. - description: 品牌ID
  14410. in: query
  14411. name: brandid
  14412. type: integer
  14413. - description: 品类ID
  14414. in: query
  14415. name: wrstandardid
  14416. type: integer
  14417. produces:
  14418. - application/json
  14419. responses:
  14420. "200":
  14421. description: OK
  14422. schema:
  14423. items:
  14424. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  14425. type: array
  14426. "500":
  14427. description: Internal Server Error
  14428. schema:
  14429. $ref: '#/definitions/app.Response'
  14430. security:
  14431. - ApiKeyAuth: []
  14432. summary: 查询现货市价详情(现货市价/详情)
  14433. tags:
  14434. - 企业风险管理v3(app)
  14435. /Erms2/QueryArbitrageStrategy:
  14436. get:
  14437. parameters:
  14438. - description: 账户ID
  14439. in: query
  14440. name: userid
  14441. required: true
  14442. type: integer
  14443. - description: 商品组ID(品种ID)
  14444. in: query
  14445. name: goodsgroupid
  14446. type: string
  14447. produces:
  14448. - application/json
  14449. responses:
  14450. "200":
  14451. description: OK
  14452. schema:
  14453. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  14454. "500":
  14455. description: Internal Server Error
  14456. schema:
  14457. $ref: '#/definitions/app.Response'
  14458. security:
  14459. - ApiKeyAuth: []
  14460. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  14461. tags:
  14462. - 风险管理
  14463. /Erms2/QueryInnerTradeDetail:
  14464. get:
  14465. parameters:
  14466. - description: 资金账户
  14467. in: query
  14468. name: accountid
  14469. required: true
  14470. type: integer
  14471. produces:
  14472. - application/json
  14473. responses:
  14474. "200":
  14475. description: OK
  14476. schema:
  14477. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  14478. "500":
  14479. description: Internal Server Error
  14480. schema:
  14481. $ref: '#/definitions/app.Response'
  14482. security:
  14483. - ApiKeyAuth: []
  14484. summary: 查询内部成交单信息
  14485. tags:
  14486. - 风险管理
  14487. /Erms2/QuerySpotContract:
  14488. get:
  14489. parameters:
  14490. - description: 策略申请ID
  14491. in: query
  14492. name: asapplyid
  14493. required: true
  14494. type: integer
  14495. - description: 现货合同ID
  14496. in: query
  14497. name: spotcontractid
  14498. type: integer
  14499. produces:
  14500. - application/json
  14501. responses:
  14502. "200":
  14503. description: OK
  14504. schema:
  14505. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  14506. "500":
  14507. description: Internal Server Error
  14508. schema:
  14509. $ref: '#/definitions/app.Response'
  14510. security:
  14511. - ApiKeyAuth: []
  14512. summary: 查询现货合同表信息(指定策略ID、未结束的)
  14513. tags:
  14514. - 风险管理
  14515. /Erms3/AddErms2ASApply:
  14516. post:
  14517. parameters:
  14518. - description: 申请参数
  14519. in: body
  14520. name: jsonBody
  14521. required: true
  14522. schema:
  14523. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  14524. produces:
  14525. - application/json
  14526. responses:
  14527. "200":
  14528. description: OK
  14529. schema:
  14530. $ref: '#/definitions/app.Response'
  14531. "500":
  14532. description: Internal Server Error
  14533. schema:
  14534. $ref: '#/definitions/app.Response'
  14535. security:
  14536. - ApiKeyAuth: []
  14537. summary: 新增期现套利业务申请
  14538. tags:
  14539. - 风险管理v3
  14540. /Erms3/AddErms2SpotTradeApply:
  14541. post:
  14542. parameters:
  14543. - description: 申请参数
  14544. in: body
  14545. name: jsonBody
  14546. required: true
  14547. schema:
  14548. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  14549. produces:
  14550. - application/json
  14551. responses:
  14552. "200":
  14553. description: OK
  14554. schema:
  14555. $ref: '#/definitions/app.Response'
  14556. "500":
  14557. description: Internal Server Error
  14558. schema:
  14559. $ref: '#/definitions/app.Response'
  14560. security:
  14561. - ApiKeyAuth: []
  14562. summary: 新增现货贸易业务申请
  14563. tags:
  14564. - 风险管理v3
  14565. /Erms3/AddSpotContractApply:
  14566. post:
  14567. parameters:
  14568. - description: 申请参数
  14569. in: body
  14570. name: jsonBody
  14571. required: true
  14572. schema:
  14573. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  14574. produces:
  14575. - application/json
  14576. responses:
  14577. "200":
  14578. description: OK
  14579. schema:
  14580. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  14581. "500":
  14582. description: Internal Server Error
  14583. schema:
  14584. $ref: '#/definitions/app.Response'
  14585. security:
  14586. - ApiKeyAuth: []
  14587. summary: 新增现货合同申请
  14588. tags:
  14589. - 风险管理v3
  14590. /Erms3/AddUserInfoApply:
  14591. post:
  14592. parameters:
  14593. - description: 用户信息
  14594. in: body
  14595. name: jsonBody
  14596. required: true
  14597. schema:
  14598. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  14599. produces:
  14600. - application/json
  14601. responses:
  14602. "200":
  14603. description: OK
  14604. schema:
  14605. $ref: '#/definitions/app.Response'
  14606. "500":
  14607. description: Internal Server Error
  14608. schema:
  14609. $ref: '#/definitions/app.Response'
  14610. security:
  14611. - ApiKeyAuth: []
  14612. summary: 新增客户申请
  14613. tags:
  14614. - 风险管理v3
  14615. /Erms3/DeleteUserInfoApply:
  14616. get:
  14617. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  14618. parameters:
  14619. - description: 用户ID
  14620. in: query
  14621. name: userID
  14622. required: true
  14623. type: integer
  14624. produces:
  14625. - application/json
  14626. responses:
  14627. "200":
  14628. description: OK
  14629. schema:
  14630. $ref: '#/definitions/app.Response'
  14631. "500":
  14632. description: Internal Server Error
  14633. schema:
  14634. $ref: '#/definitions/app.Response'
  14635. security:
  14636. - ApiKeyAuth: []
  14637. summary: 删除客户申请
  14638. tags:
  14639. - 风险管理v3
  14640. /Erms3/ModifyUserInfoApply:
  14641. post:
  14642. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  14643. int, "userstate": 2 }'
  14644. parameters:
  14645. - description: 用户信息
  14646. in: body
  14647. name: jsonBody
  14648. required: true
  14649. schema:
  14650. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  14651. produces:
  14652. - application/json
  14653. responses:
  14654. "200":
  14655. description: OK
  14656. schema:
  14657. $ref: '#/definitions/app.Response'
  14658. "500":
  14659. description: Internal Server Error
  14660. schema:
  14661. $ref: '#/definitions/app.Response'
  14662. security:
  14663. - ApiKeyAuth: []
  14664. summary: 修改客户申请
  14665. tags:
  14666. - 风险管理v3
  14667. /Erms3/QueryBusinessInfo:
  14668. get:
  14669. parameters:
  14670. - description: 资金账号ID列表,用逗号分隔
  14671. in: query
  14672. name: accountids
  14673. required: true
  14674. type: string
  14675. - description: 状态,0为未结束 1为已结束
  14676. in: query
  14677. name: status
  14678. required: true
  14679. type: integer
  14680. produces:
  14681. - application/json
  14682. responses:
  14683. "200":
  14684. description: OK
  14685. schema:
  14686. items:
  14687. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  14688. type: array
  14689. "500":
  14690. description: Internal Server Error
  14691. schema:
  14692. $ref: '#/definitions/app.Response'
  14693. security:
  14694. - ApiKeyAuth: []
  14695. summary: 查询业务表单数据
  14696. tags:
  14697. - 风险管理v3
  14698. /Erms3/QueryPendingAuditContract:
  14699. get:
  14700. parameters:
  14701. - description: 资金账号ID列表,逗号隔开
  14702. in: query
  14703. name: accountids
  14704. required: true
  14705. type: string
  14706. - description: 合同类型 1-采购 -1-销售
  14707. in: query
  14708. name: contracttype
  14709. required: true
  14710. type: integer
  14711. - description: 合同模式 1-普通 2-回购
  14712. in: query
  14713. name: contractmode
  14714. required: true
  14715. type: integer
  14716. produces:
  14717. - application/json
  14718. responses:
  14719. "200":
  14720. description: OK
  14721. schema:
  14722. items:
  14723. $ref: '#/definitions/erms3.QryAuditContractRsp'
  14724. type: array
  14725. "500":
  14726. description: Internal Server Error
  14727. schema:
  14728. $ref: '#/definitions/app.Response'
  14729. security:
  14730. - ApiKeyAuth: []
  14731. summary: 查询待审核合同
  14732. tags:
  14733. - 风险管理v3
  14734. /Erms3/QueryPendingBusiness:
  14735. get:
  14736. parameters:
  14737. - description: 资金账号ID列表,逗号隔开
  14738. in: query
  14739. name: accountids
  14740. required: true
  14741. type: string
  14742. produces:
  14743. - application/json
  14744. responses:
  14745. "200":
  14746. description: OK
  14747. schema:
  14748. items:
  14749. $ref: '#/definitions/erms3.QryPendingBizRsp'
  14750. type: array
  14751. "500":
  14752. description: Internal Server Error
  14753. schema:
  14754. $ref: '#/definitions/app.Response'
  14755. security:
  14756. - ApiKeyAuth: []
  14757. summary: 查询待审核基差贸易业务
  14758. tags:
  14759. - 风险管理v3
  14760. /Erms3/QuerySpotContractAppleForm:
  14761. get:
  14762. parameters:
  14763. - description: 登录账号
  14764. in: query
  14765. name: loginID
  14766. required: true
  14767. type: integer
  14768. produces:
  14769. - application/json
  14770. responses:
  14771. "200":
  14772. description: OK
  14773. schema:
  14774. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  14775. "500":
  14776. description: Internal Server Error
  14777. schema:
  14778. $ref: '#/definitions/app.Response'
  14779. security:
  14780. - ApiKeyAuth: []
  14781. summary: 查询合同申请表单数据
  14782. tags:
  14783. - 风险管理v3
  14784. /Erms3/QuerySpotContractDetail:
  14785. get:
  14786. parameters:
  14787. - description: 资金账号ID列表,用逗号分隔
  14788. in: query
  14789. name: accountids
  14790. required: true
  14791. type: string
  14792. - description: 合同类型,1为采购合同 -1为销售合同
  14793. in: query
  14794. name: contracttype
  14795. required: true
  14796. type: integer
  14797. - description: 合同模式,1为普通合同 2为回购销售合同
  14798. in: query
  14799. name: contractmode
  14800. required: true
  14801. type: integer
  14802. - description: 状态,0为履约中 1为已完成
  14803. in: query
  14804. name: status
  14805. required: true
  14806. type: integer
  14807. produces:
  14808. - application/json
  14809. responses:
  14810. "200":
  14811. description: OK
  14812. schema:
  14813. items:
  14814. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  14815. type: array
  14816. "500":
  14817. description: Internal Server Error
  14818. schema:
  14819. $ref: '#/definitions/app.Response'
  14820. security:
  14821. - ApiKeyAuth: []
  14822. summary: 查询合同详细信息
  14823. tags:
  14824. - 风险管理v3
  14825. /Erms3/QueryUserInfoApplies:
  14826. get:
  14827. parameters:
  14828. - description: 页码
  14829. in: query
  14830. name: page
  14831. type: integer
  14832. - description: 每页条数
  14833. in: query
  14834. name: pagesize
  14835. type: integer
  14836. - description: 客户名称,支持模糊查询
  14837. in: query
  14838. name: userName
  14839. type: string
  14840. produces:
  14841. - application/json
  14842. responses:
  14843. "200":
  14844. description: OK
  14845. schema:
  14846. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  14847. "500":
  14848. description: Internal Server Error
  14849. schema:
  14850. $ref: '#/definitions/app.Response'
  14851. security:
  14852. - ApiKeyAuth: []
  14853. summary: 客户申请信息查询
  14854. tags:
  14855. - 风险管理v3
  14856. /Erms3/QueryUserInfos:
  14857. get:
  14858. parameters:
  14859. - description: 页码
  14860. in: query
  14861. name: page
  14862. type: integer
  14863. - description: 每页条数
  14864. in: query
  14865. name: pagesize
  14866. type: integer
  14867. - description: 客户名称,支持模糊查询
  14868. in: query
  14869. name: userName
  14870. type: string
  14871. produces:
  14872. - application/json
  14873. responses:
  14874. "200":
  14875. description: OK
  14876. schema:
  14877. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  14878. "500":
  14879. description: Internal Server Error
  14880. schema:
  14881. $ref: '#/definitions/app.Response'
  14882. security:
  14883. - ApiKeyAuth: []
  14884. summary: 客户信息查询
  14885. tags:
  14886. - 风险管理v3
  14887. /HSBY/GetHsbyMyCount:
  14888. get:
  14889. description: 说明: 不包括已完成的数量。
  14890. parameters:
  14891. - description: 资金账户列表,格式:1,2,3
  14892. in: query
  14893. name: accountIDs
  14894. required: true
  14895. type: string
  14896. produces:
  14897. - application/json
  14898. responses:
  14899. "200":
  14900. description: OK
  14901. schema:
  14902. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  14903. "500":
  14904. description: Internal Server Error
  14905. schema:
  14906. $ref: '#/definitions/app.Response'
  14907. security:
  14908. - ApiKeyAuth: []
  14909. summary: 获取我的订单与包裹数量
  14910. tags:
  14911. - 定制【海商报业】
  14912. /HSBY/QueryClientFixedADConfigs:
  14913. get:
  14914. produces:
  14915. - application/json
  14916. responses:
  14917. "200":
  14918. description: OK
  14919. schema:
  14920. $ref: '#/definitions/models.Clientfixedadconfig'
  14921. "500":
  14922. description: Internal Server Error
  14923. schema:
  14924. $ref: '#/definitions/app.Response'
  14925. security:
  14926. - ApiKeyAuth: []
  14927. summary: 获取终端固定广告配置
  14928. tags:
  14929. - 定制【海商报业】
  14930. /HSBY/QueryHsbyBuyMyTradeDetail:
  14931. get:
  14932. parameters:
  14933. - description: 页码
  14934. in: query
  14935. name: page
  14936. type: integer
  14937. - description: 每页条数
  14938. in: query
  14939. name: pagesize
  14940. type: integer
  14941. - description: 资金账户列表,格式:1,2,3
  14942. in: query
  14943. name: accountIDs
  14944. required: true
  14945. type: string
  14946. produces:
  14947. - application/json
  14948. responses:
  14949. "200":
  14950. description: OK
  14951. schema:
  14952. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  14953. "500":
  14954. description: Internal Server Error
  14955. schema:
  14956. $ref: '#/definitions/app.Response'
  14957. security:
  14958. - ApiKeyAuth: []
  14959. summary: 查询"我的订单 - 已完成"单据信息
  14960. tags:
  14961. - 定制【海商报业】
  14962. /HSBY/QueryHsbyGoodsOrderDetails:
  14963. get:
  14964. description: 说明:查询结果已按委托价格和委托时间排序
  14965. parameters:
  14966. - description: 商品ID
  14967. in: query
  14968. name: goodsID
  14969. required: true
  14970. type: integer
  14971. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  14972. in: query
  14973. name: accountIDs
  14974. type: string
  14975. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  14976. in: query
  14977. name: buyOrSell
  14978. type: integer
  14979. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  14980. in: query
  14981. name: price
  14982. type: number
  14983. - description: 档位,不传则默认为3档
  14984. in: query
  14985. name: speed
  14986. type: integer
  14987. produces:
  14988. - application/json
  14989. responses:
  14990. "200":
  14991. description: OK
  14992. schema:
  14993. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  14994. "500":
  14995. description: Internal Server Error
  14996. schema:
  14997. $ref: '#/definitions/app.Response'
  14998. security:
  14999. - ApiKeyAuth: []
  15000. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  15001. tags:
  15002. - 定制【海商报业】
  15003. /HSBY/QueryHsbyListingGoodsDetail:
  15004. get:
  15005. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  15006. parameters:
  15007. - description: 商品ID
  15008. in: query
  15009. name: goodsID
  15010. required: true
  15011. type: integer
  15012. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  15013. in: query
  15014. name: accountID
  15015. type: integer
  15016. produces:
  15017. - application/json
  15018. responses:
  15019. "200":
  15020. description: OK
  15021. schema:
  15022. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  15023. "500":
  15024. description: Internal Server Error
  15025. schema:
  15026. $ref: '#/definitions/app.Response'
  15027. security:
  15028. - ApiKeyAuth: []
  15029. summary: 查询二级市场(挂牌点选)商品信息详情
  15030. tags:
  15031. - 定制【海商报业】
  15032. /HSBY/QueryHsbyMarketGoodsDetail:
  15033. get:
  15034. parameters:
  15035. - description: 委托单号
  15036. in: query
  15037. name: orderID
  15038. required: true
  15039. type: integer
  15040. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  15041. in: query
  15042. name: accountID
  15043. type: integer
  15044. produces:
  15045. - application/json
  15046. responses:
  15047. "200":
  15048. description: OK
  15049. schema:
  15050. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15051. "500":
  15052. description: Internal Server Error
  15053. schema:
  15054. $ref: '#/definitions/app.Response'
  15055. security:
  15056. - ApiKeyAuth: []
  15057. summary: 查询三级市场(商城)商品信息详情
  15058. tags:
  15059. - 定制【海商报业】
  15060. /HSBY/QueryHsbyMarketGoodses:
  15061. get:
  15062. parameters:
  15063. - description: 页码
  15064. in: query
  15065. name: page
  15066. type: integer
  15067. - description: 每页条数
  15068. in: query
  15069. name: pagesize
  15070. type: integer
  15071. - description: 市场ID列表,格式:1,2,3
  15072. in: query
  15073. name: marketIDs
  15074. required: true
  15075. type: string
  15076. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  15077. in: query
  15078. name: accountID
  15079. required: true
  15080. type: integer
  15081. - description: 类别ID
  15082. in: query
  15083. name: categoryID
  15084. type: integer
  15085. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15086. in: query
  15087. name: goodsIDs
  15088. type: string
  15089. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  15090. in: query
  15091. name: couponTypeID
  15092. type: integer
  15093. produces:
  15094. - application/json
  15095. responses:
  15096. "200":
  15097. description: OK
  15098. schema:
  15099. $ref: '#/definitions/models.HsbyMarketGoods'
  15100. "500":
  15101. description: Internal Server Error
  15102. schema:
  15103. $ref: '#/definitions/app.Response'
  15104. security:
  15105. - ApiKeyAuth: []
  15106. summary: 查询特卖商品列表(三级商城)
  15107. tags:
  15108. - 定制【海商报业】
  15109. /HSBY/QueryHsbyMarkets:
  15110. get:
  15111. produces:
  15112. - application/json
  15113. responses:
  15114. "200":
  15115. description: OK
  15116. schema:
  15117. $ref: '#/definitions/models.HsbyMarketInfo'
  15118. "500":
  15119. description: Internal Server Error
  15120. schema:
  15121. $ref: '#/definitions/app.Response'
  15122. security:
  15123. - ApiKeyAuth: []
  15124. summary: 查询海商报业相关市场信息
  15125. tags:
  15126. - 定制【海商报业】
  15127. /HSBY/QueryHsbyMyBuyOrderDetails:
  15128. get:
  15129. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  15130. parameters:
  15131. - description: 资金账户列表,格式:1,2,3
  15132. in: query
  15133. name: accountIDs
  15134. required: true
  15135. type: string
  15136. produces:
  15137. - application/json
  15138. responses:
  15139. "200":
  15140. description: OK
  15141. schema:
  15142. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  15143. "500":
  15144. description: Internal Server Error
  15145. schema:
  15146. $ref: '#/definitions/app.Response'
  15147. security:
  15148. - ApiKeyAuth: []
  15149. summary: 查询“我的订单”信息
  15150. tags:
  15151. - 定制【海商报业】
  15152. /HSBY/QueryHsbyMyGoods:
  15153. get:
  15154. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  15155. parameters:
  15156. - description: 资金账户列表,格式:1,2,3
  15157. in: query
  15158. name: accountIDs
  15159. required: true
  15160. type: string
  15161. produces:
  15162. - application/json
  15163. responses:
  15164. "200":
  15165. description: OK
  15166. schema:
  15167. $ref: '#/definitions/models.HsbyMyGoods'
  15168. "500":
  15169. description: Internal Server Error
  15170. schema:
  15171. $ref: '#/definitions/app.Response'
  15172. security:
  15173. - ApiKeyAuth: []
  15174. summary: 查询“我的商品”信息
  15175. tags:
  15176. - 定制【海商报业】
  15177. /HSBY/QueryHsbyMyPackages:
  15178. get:
  15179. parameters:
  15180. - description: 资金账户列表,格式:1,2,3
  15181. in: query
  15182. name: accountIDs
  15183. required: true
  15184. type: string
  15185. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15186. in: query
  15187. name: takeOrderStatus
  15188. type: integer
  15189. produces:
  15190. - application/json
  15191. responses:
  15192. "200":
  15193. description: OK
  15194. schema:
  15195. $ref: '#/definitions/models.HsbyMyPackage'
  15196. "500":
  15197. description: Internal Server Error
  15198. schema:
  15199. $ref: '#/definitions/app.Response'
  15200. security:
  15201. - ApiKeyAuth: []
  15202. summary: 查询我的包裹信息
  15203. tags:
  15204. - 定制【海商报业】
  15205. /HSBY/QueryHsbyPreGoodsDetail:
  15206. get:
  15207. parameters:
  15208. - description: 商品ID
  15209. in: query
  15210. name: goodsID
  15211. required: true
  15212. type: integer
  15213. - description: 资金账户,主要用于获取预售商品购买上限
  15214. in: query
  15215. name: accountID
  15216. type: integer
  15217. produces:
  15218. - application/json
  15219. responses:
  15220. "200":
  15221. description: OK
  15222. schema:
  15223. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  15224. "500":
  15225. description: Internal Server Error
  15226. schema:
  15227. $ref: '#/definitions/app.Response'
  15228. security:
  15229. - ApiKeyAuth: []
  15230. summary: 查询一级市场(预售)商品信息详情
  15231. tags:
  15232. - 定制【海商报业】
  15233. /HSBY/QueryHsbyPreGoodses:
  15234. get:
  15235. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  15236. parameters:
  15237. - description: 页码
  15238. in: query
  15239. name: page
  15240. type: integer
  15241. - description: 每页条数
  15242. in: query
  15243. name: pagesize
  15244. type: integer
  15245. - description: 市场ID列表,格式:1,2,3
  15246. in: query
  15247. name: marketIDs
  15248. required: true
  15249. type: string
  15250. - description: 目的地(省)ID
  15251. in: query
  15252. name: descProvinceID
  15253. type: integer
  15254. - description: 目的地(市)ID
  15255. in: query
  15256. name: descCityID
  15257. type: integer
  15258. produces:
  15259. - application/json
  15260. responses:
  15261. "200":
  15262. description: OK
  15263. schema:
  15264. $ref: '#/definitions/models.HsbyPreGoods'
  15265. "500":
  15266. description: Internal Server Error
  15267. schema:
  15268. $ref: '#/definitions/app.Response'
  15269. security:
  15270. - ApiKeyAuth: []
  15271. summary: 查询新品上市商品列表(一级市场预售)
  15272. tags:
  15273. - 定制【海商报业】
  15274. /HSBY/QueryHsbySellMyDetails:
  15275. get:
  15276. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  15277. parameters:
  15278. - description: 页码
  15279. in: query
  15280. name: page
  15281. type: integer
  15282. - description: 每页条数
  15283. in: query
  15284. name: pagesize
  15285. type: integer
  15286. - description: 资金账户列表,格式:1,2,3
  15287. in: query
  15288. name: accountIDs
  15289. required: true
  15290. type: string
  15291. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  15292. in: query
  15293. name: orderType
  15294. type: integer
  15295. produces:
  15296. - application/json
  15297. responses:
  15298. "200":
  15299. description: OK
  15300. schema:
  15301. $ref: '#/definitions/models.HsbySellMyDetail'
  15302. "500":
  15303. description: Internal Server Error
  15304. schema:
  15305. $ref: '#/definitions/app.Response'
  15306. security:
  15307. - ApiKeyAuth: []
  15308. summary: 查询"我的闲置"单据信息
  15309. tags:
  15310. - 定制【海商报业】
  15311. /HSBY/QueryHsbyTopGoodses:
  15312. get:
  15313. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  15314. parameters:
  15315. - description: 页码
  15316. in: query
  15317. name: page
  15318. type: integer
  15319. - description: 每页条数
  15320. in: query
  15321. name: pagesize
  15322. type: integer
  15323. - description: 市场ID列表,格式:1,2,3
  15324. in: query
  15325. name: marketIDs
  15326. required: true
  15327. type: string
  15328. - description: 目的地(省)ID
  15329. in: query
  15330. name: descProvinceID
  15331. type: integer
  15332. - description: 目的地(市)ID
  15333. in: query
  15334. name: descCityID
  15335. type: integer
  15336. produces:
  15337. - application/json
  15338. responses:
  15339. "200":
  15340. description: OK
  15341. schema:
  15342. $ref: '#/definitions/models.HsbyTopGoods'
  15343. "500":
  15344. description: Internal Server Error
  15345. schema:
  15346. $ref: '#/definitions/app.Response'
  15347. security:
  15348. - ApiKeyAuth: []
  15349. summary: 查询热卖商品列表(二级市场挂牌点选)
  15350. tags:
  15351. - 定制【海商报业】
  15352. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  15353. get:
  15354. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  15355. parameters:
  15356. - description: 商品ID
  15357. in: query
  15358. name: goodsID
  15359. required: true
  15360. type: integer
  15361. produces:
  15362. - application/json
  15363. responses:
  15364. "200":
  15365. description: OK
  15366. schema:
  15367. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  15368. "500":
  15369. description: Internal Server Error
  15370. schema:
  15371. $ref: '#/definitions/app.Response'
  15372. security:
  15373. - ApiKeyAuth: []
  15374. summary: 查询游客三级市场(商城)商品信息详情
  15375. tags:
  15376. - 定制【海商报业】
  15377. /HSBY/QueryHsbyVisitorMarketGoodses:
  15378. get:
  15379. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  15380. parameters:
  15381. - description: 页码
  15382. in: query
  15383. name: page
  15384. type: integer
  15385. - description: 每页条数
  15386. in: query
  15387. name: pagesize
  15388. type: integer
  15389. - description: 市场ID列表,格式:1,2,3
  15390. in: query
  15391. name: marketIDs
  15392. required: true
  15393. type: string
  15394. - description: 类别ID
  15395. in: query
  15396. name: categoryID
  15397. type: integer
  15398. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  15399. in: query
  15400. name: goodsIDs
  15401. type: string
  15402. produces:
  15403. - application/json
  15404. responses:
  15405. "200":
  15406. description: OK
  15407. schema:
  15408. $ref: '#/definitions/models.HsbyMarketGoods'
  15409. "500":
  15410. description: Internal Server Error
  15411. schema:
  15412. $ref: '#/definitions/app.Response'
  15413. security:
  15414. - ApiKeyAuth: []
  15415. summary: 查询游客特卖商品列表(三级商城)
  15416. tags:
  15417. - 定制【海商报业】
  15418. /HSBY/QueryMyCollectionOrders:
  15419. get:
  15420. parameters:
  15421. - description: 页码
  15422. in: query
  15423. name: page
  15424. type: integer
  15425. - description: 每页条数
  15426. in: query
  15427. name: pagesize
  15428. type: integer
  15429. - description: 资金账户,格式:1,2,3
  15430. in: query
  15431. name: accountIDs
  15432. required: true
  15433. type: string
  15434. produces:
  15435. - application/json
  15436. responses:
  15437. "200":
  15438. description: OK
  15439. schema:
  15440. $ref: '#/definitions/models.HsbySellCollectionOrder'
  15441. "500":
  15442. description: Internal Server Error
  15443. schema:
  15444. $ref: '#/definitions/app.Response'
  15445. security:
  15446. - ApiKeyAuth: []
  15447. summary: 我的闲置中收款信息查询
  15448. tags:
  15449. - 定制【海商报业】
  15450. /HSBY/QueryMyCouponHolds:
  15451. get:
  15452. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  15453. parameters:
  15454. - description: 资金账户列表,格式:1,2,3
  15455. in: query
  15456. name: accountIDs
  15457. required: true
  15458. type: string
  15459. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  15460. in: query
  15461. name: holdStatus
  15462. type: string
  15463. produces:
  15464. - application/json
  15465. responses:
  15466. "200":
  15467. description: OK
  15468. schema:
  15469. $ref: '#/definitions/models.MyCouponHold'
  15470. "500":
  15471. description: Internal Server Error
  15472. schema:
  15473. $ref: '#/definitions/app.Response'
  15474. security:
  15475. - ApiKeyAuth: []
  15476. summary: 我的优惠卷持仓查询
  15477. tags:
  15478. - 定制【海商报业】
  15479. /HSBY/QueryMyCoupons:
  15480. get:
  15481. parameters:
  15482. - description: 资金账户列表,格式:1,2,3
  15483. in: query
  15484. name: accountIDs
  15485. required: true
  15486. type: string
  15487. - description: 商品ID, 一般与sellUserID配套传入
  15488. in: query
  15489. name: goodsID
  15490. type: integer
  15491. - description: 卖方UserID
  15492. in: query
  15493. name: sellUserID
  15494. type: integer
  15495. produces:
  15496. - application/json
  15497. responses:
  15498. "200":
  15499. description: OK
  15500. schema:
  15501. $ref: '#/definitions/models.MyCoupon'
  15502. "500":
  15503. description: Internal Server Error
  15504. schema:
  15505. $ref: '#/definitions/app.Response'
  15506. security:
  15507. - ApiKeyAuth: []
  15508. summary: 我的优惠卷查询
  15509. tags:
  15510. - 定制【海商报业】
  15511. /HSBY/QueryMyPayOrders:
  15512. get:
  15513. parameters:
  15514. - description: 页码
  15515. in: query
  15516. name: page
  15517. type: integer
  15518. - description: 每页条数
  15519. in: query
  15520. name: pagesize
  15521. type: integer
  15522. - description: 资金账户列表,格式:1,2,3
  15523. in: query
  15524. name: accountIDs
  15525. required: true
  15526. type: string
  15527. - description: 买方委托单号
  15528. in: query
  15529. name: buyOrderID
  15530. type: integer
  15531. - description: 卖方委托单号
  15532. in: query
  15533. name: sellOrderID
  15534. type: integer
  15535. produces:
  15536. - application/json
  15537. responses:
  15538. "200":
  15539. description: OK
  15540. schema:
  15541. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  15542. "500":
  15543. description: Internal Server Error
  15544. schema:
  15545. $ref: '#/definitions/app.Response'
  15546. security:
  15547. - ApiKeyAuth: []
  15548. summary: 获取我的订单中待付款信息
  15549. tags:
  15550. - 定制【海商报业】
  15551. /HSBY/QueryMyUsedCoupon:
  15552. get:
  15553. parameters:
  15554. - description: 资金账户列表,格式:1,2,3
  15555. in: query
  15556. name: accountIDs
  15557. required: true
  15558. type: string
  15559. produces:
  15560. - application/json
  15561. responses:
  15562. "200":
  15563. description: OK
  15564. schema:
  15565. $ref: '#/definitions/models.MyUsedCoupon'
  15566. "500":
  15567. description: Internal Server Error
  15568. schema:
  15569. $ref: '#/definitions/app.Response'
  15570. security:
  15571. - ApiKeyAuth: []
  15572. summary: 已使用优惠卷查询
  15573. tags:
  15574. - 定制【海商报业】
  15575. /HSBY/QueryProvincesAndCities:
  15576. get:
  15577. description: 查询结果只包括二级市场商品已关连的省市信息。
  15578. parameters:
  15579. - description: 省ID
  15580. in: query
  15581. name: provinceID
  15582. type: integer
  15583. produces:
  15584. - application/json
  15585. responses:
  15586. "200":
  15587. description: OK
  15588. schema:
  15589. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  15590. "500":
  15591. description: Internal Server Error
  15592. schema:
  15593. $ref: '#/definitions/app.Response'
  15594. security:
  15595. - ApiKeyAuth: []
  15596. summary: 查询省市信息(不包括区)
  15597. tags:
  15598. - 定制【海商报业】
  15599. /HSBY/SetHsbyMyPackagesStatus:
  15600. post:
  15601. parameters:
  15602. - description: 提货单号
  15603. in: query
  15604. name: takeOrderID
  15605. required: true
  15606. type: string
  15607. - description: 资金账号
  15608. in: query
  15609. name: accountID
  15610. required: true
  15611. type: integer
  15612. produces:
  15613. - application/json
  15614. responses:
  15615. "200":
  15616. description: OK
  15617. schema:
  15618. $ref: '#/definitions/app.Response'
  15619. "500":
  15620. description: Internal Server Error
  15621. schema:
  15622. $ref: '#/definitions/app.Response'
  15623. security:
  15624. - ApiKeyAuth: []
  15625. summary: 设置我的包裹已收货状态
  15626. tags:
  15627. - 定制【海商报业】
  15628. /Market/QueryGoodsesByLoginID:
  15629. get:
  15630. parameters:
  15631. - description: 登录账号
  15632. in: query
  15633. name: loginID
  15634. required: true
  15635. type: integer
  15636. - description: 市场ID列表,格式:1,2,3
  15637. in: query
  15638. name: marketIDs
  15639. type: string
  15640. produces:
  15641. - application/json
  15642. responses:
  15643. "200":
  15644. description: OK
  15645. schema:
  15646. $ref: '#/definitions/models.Goods'
  15647. "500":
  15648. description: Internal Server Error
  15649. schema:
  15650. $ref: '#/definitions/app.Response'
  15651. security:
  15652. - ApiKeyAuth: []
  15653. summary: 获取登录账号有权限的商品信息
  15654. tags:
  15655. - 通用市场
  15656. /Market/QueryMarketRun:
  15657. get:
  15658. parameters:
  15659. - description: 市场ID,不传返回所有
  15660. in: query
  15661. name: marketID
  15662. type: integer
  15663. produces:
  15664. - application/json
  15665. responses:
  15666. "200":
  15667. description: OK
  15668. schema:
  15669. $ref: '#/definitions/models.Marketrun'
  15670. "500":
  15671. description: Internal Server Error
  15672. schema:
  15673. $ref: '#/definitions/app.Response'
  15674. security:
  15675. - ApiKeyAuth: []
  15676. summary: 查询市场运行信息
  15677. tags:
  15678. - 通用市场
  15679. /Market/QueryMarketsByLoginID:
  15680. get:
  15681. parameters:
  15682. - description: 登录账号
  15683. in: query
  15684. name: loginID
  15685. required: true
  15686. type: integer
  15687. produces:
  15688. - application/json
  15689. responses:
  15690. "200":
  15691. description: OK
  15692. schema:
  15693. $ref: '#/definitions/models.Market'
  15694. "500":
  15695. description: Internal Server Error
  15696. schema:
  15697. $ref: '#/definitions/app.Response'
  15698. security:
  15699. - ApiKeyAuth: []
  15700. summary: 获取登录账号有权限的市场信息
  15701. tags:
  15702. - 通用市场
  15703. /Order/QueryHisTradeDetail:
  15704. get:
  15705. parameters:
  15706. - description: 资金账户 - 格式:1,2,3
  15707. in: query
  15708. name: accountID
  15709. required: true
  15710. type: string
  15711. - description: 成交单号
  15712. in: query
  15713. name: tradeID
  15714. type: integer
  15715. - description: 委托单号
  15716. in: query
  15717. name: orderID
  15718. type: integer
  15719. - description: 交易模式 - 格式:1,2,3
  15720. in: query
  15721. name: tradeMode
  15722. type: string
  15723. - description: 委托单据类型
  15724. in: query
  15725. name: buildType
  15726. type: integer
  15727. - description: 成交类别 - 格式:1,2,3
  15728. in: query
  15729. name: tradeType
  15730. type: string
  15731. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15732. in: query
  15733. name: startDate
  15734. type: string
  15735. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15736. in: query
  15737. name: endDate
  15738. type: string
  15739. produces:
  15740. - application/json
  15741. responses:
  15742. "200":
  15743. description: OK
  15744. schema:
  15745. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  15746. "500":
  15747. description: Internal Server Error
  15748. schema:
  15749. $ref: '#/definitions/app.Response'
  15750. security:
  15751. - ApiKeyAuth: []
  15752. summary: 历史成交单查询(合约市场)
  15753. tags:
  15754. - 通用单据
  15755. /Order/QueryHisTradeOrderDetail:
  15756. get:
  15757. parameters:
  15758. - description: 资金账户 - 格式:1,2,3
  15759. in: query
  15760. name: accountID
  15761. required: true
  15762. type: string
  15763. - description: 交易模式 - 格式:1,2,3
  15764. in: query
  15765. name: tradeMode
  15766. type: string
  15767. - description: 委托状态 - 格式:1,2,3
  15768. in: query
  15769. name: orderStatus
  15770. type: string
  15771. - description: 委托单号
  15772. in: query
  15773. name: orderID
  15774. type: integer
  15775. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  15776. in: query
  15777. name: startDate
  15778. type: string
  15779. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  15780. in: query
  15781. name: endDate
  15782. type: string
  15783. produces:
  15784. - application/json
  15785. responses:
  15786. "200":
  15787. description: OK
  15788. schema:
  15789. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  15790. "500":
  15791. description: Internal Server Error
  15792. schema:
  15793. $ref: '#/definitions/app.Response'
  15794. security:
  15795. - ApiKeyAuth: []
  15796. summary: 历史委托单查询请求(合约市场)
  15797. tags:
  15798. - 通用单据
  15799. /Order/QueryTradeDetail:
  15800. get:
  15801. parameters:
  15802. - description: 资金账户 - 格式:1,2,3
  15803. in: query
  15804. name: accountID
  15805. required: true
  15806. type: string
  15807. - description: 成交单号
  15808. in: query
  15809. name: tradeID
  15810. type: integer
  15811. - description: 委托单号
  15812. in: query
  15813. name: orderID
  15814. type: integer
  15815. - description: 交易模式 - 格式:1,2,3
  15816. in: query
  15817. name: tradeMode
  15818. type: string
  15819. - description: 委托单据类型
  15820. in: query
  15821. name: buildType
  15822. type: integer
  15823. - description: 成交类别 - 格式:1,2,3
  15824. in: query
  15825. name: tradeType
  15826. type: string
  15827. produces:
  15828. - application/json
  15829. responses:
  15830. "200":
  15831. description: OK
  15832. schema:
  15833. $ref: '#/definitions/order.QueryTradeDetailRsp'
  15834. "500":
  15835. description: Internal Server Error
  15836. schema:
  15837. $ref: '#/definitions/app.Response'
  15838. security:
  15839. - ApiKeyAuth: []
  15840. summary: 成交单查询(合约市场)
  15841. tags:
  15842. - 通用单据
  15843. /Order/QueryTradeOrderDetail:
  15844. get:
  15845. parameters:
  15846. - description: 资金账户 - 格式:1,2,3
  15847. in: query
  15848. name: accountID
  15849. required: true
  15850. type: string
  15851. - description: 交易模式 - 格式:1,2,3
  15852. in: query
  15853. name: tradeMode
  15854. type: string
  15855. - description: 委托状态 - 格式:1,2,3
  15856. in: query
  15857. name: orderStatus
  15858. type: string
  15859. - description: 委托单号
  15860. in: query
  15861. name: orderID
  15862. type: integer
  15863. produces:
  15864. - application/json
  15865. responses:
  15866. "200":
  15867. description: OK
  15868. schema:
  15869. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  15870. "500":
  15871. description: Internal Server Error
  15872. schema:
  15873. $ref: '#/definitions/app.Response'
  15874. security:
  15875. - ApiKeyAuth: []
  15876. summary: 委托单查询请求(合约市场)
  15877. tags:
  15878. - 通用单据
  15879. /Order/QueryTradePosition:
  15880. get:
  15881. parameters:
  15882. - description: 资金账户 - 格式:1,2,3
  15883. in: query
  15884. name: accountID
  15885. required: true
  15886. type: string
  15887. - description: 交易模式 - 格式:1,2,3
  15888. in: query
  15889. name: tradeMode
  15890. type: string
  15891. produces:
  15892. - application/json
  15893. responses:
  15894. "200":
  15895. description: OK
  15896. schema:
  15897. $ref: '#/definitions/order.QueryTradePositionRsp'
  15898. "500":
  15899. description: Internal Server Error
  15900. schema:
  15901. $ref: '#/definitions/app.Response'
  15902. security:
  15903. - ApiKeyAuth: []
  15904. summary: 持仓汇总查询(合约市场)
  15905. tags:
  15906. - 通用单据
  15907. /Qhj/QueryContract:
  15908. get:
  15909. parameters:
  15910. - description: 用户ID
  15911. in: query
  15912. name: userid
  15913. required: true
  15914. type: integer
  15915. - description: scf合同id
  15916. in: query
  15917. name: scfcontractid
  15918. type: integer
  15919. produces:
  15920. - application/json
  15921. responses:
  15922. "200":
  15923. description: OK
  15924. schema:
  15925. items:
  15926. $ref: '#/definitions/models.QhjContract'
  15927. type: array
  15928. "500":
  15929. description: Internal Server Error
  15930. schema:
  15931. $ref: '#/definitions/app.Response'
  15932. security:
  15933. - ApiKeyAuth: []
  15934. summary: 查询融资明细(合同)
  15935. tags:
  15936. - 大连千海金
  15937. /Qhj/QueryContractLog:
  15938. get:
  15939. parameters:
  15940. - description: scf合同id
  15941. in: query
  15942. name: scfcontractid
  15943. required: true
  15944. type: integer
  15945. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  15946. in: query
  15947. name: amounttype
  15948. type: string
  15949. produces:
  15950. - application/json
  15951. responses:
  15952. "200":
  15953. description: OK
  15954. schema:
  15955. items:
  15956. $ref: '#/definitions/models.QhjContractLog'
  15957. type: array
  15958. "500":
  15959. description: Internal Server Error
  15960. schema:
  15961. $ref: '#/definitions/app.Response'
  15962. security:
  15963. - ApiKeyAuth: []
  15964. summary: 查询融资明细流水(融资明细详情页中的流水)
  15965. tags:
  15966. - 大连千海金
  15967. /Quote/QueryHistoryDatas:
  15968. get:
  15969. parameters:
  15970. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  15971. 日线'
  15972. in: query
  15973. name: cycleType
  15974. required: true
  15975. type: integer
  15976. - description: 商品代码
  15977. in: query
  15978. name: goodsCode
  15979. required: true
  15980. type: string
  15981. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  15982. in: query
  15983. name: startTime
  15984. type: string
  15985. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  15986. in: query
  15987. name: endTime
  15988. type: string
  15989. - description: 条数
  15990. in: query
  15991. name: count
  15992. type: integer
  15993. - description: 是否按时间顺序排序(默认为时间倒序排序)
  15994. in: query
  15995. name: isAsc
  15996. type: boolean
  15997. produces:
  15998. - application/json
  15999. responses:
  16000. "200":
  16001. description: OK
  16002. schema:
  16003. $ref: '#/definitions/quote.HistoryData'
  16004. "500":
  16005. description: Internal Server Error
  16006. schema:
  16007. $ref: '#/definitions/app.Response'
  16008. security:
  16009. - ApiKeyAuth: []
  16010. summary: 查询行情历史数据
  16011. tags:
  16012. - 行情服务
  16013. /Quote/QueryHistoryTikDatas:
  16014. get:
  16015. parameters:
  16016. - description: 商品代码
  16017. in: query
  16018. name: goodsCode
  16019. required: true
  16020. type: string
  16021. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  16022. in: query
  16023. name: startTime
  16024. type: string
  16025. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  16026. in: query
  16027. name: endTime
  16028. type: string
  16029. - description: 条数
  16030. in: query
  16031. name: count
  16032. type: integer
  16033. - description: 是否按时间顺序排序(默认为时间倒序排序)
  16034. in: query
  16035. name: isAsc
  16036. type: boolean
  16037. produces:
  16038. - application/json
  16039. responses:
  16040. "200":
  16041. description: OK
  16042. schema:
  16043. $ref: '#/definitions/quote.HistoryTikData'
  16044. "500":
  16045. description: Internal Server Error
  16046. schema:
  16047. $ref: '#/definitions/app.Response'
  16048. security:
  16049. - ApiKeyAuth: []
  16050. summary: 查询行情Tik数据
  16051. tags:
  16052. - 行情服务
  16053. /Quote/QueryQuoteDay:
  16054. get:
  16055. parameters:
  16056. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  16057. in: query
  16058. name: goodsCodes
  16059. required: true
  16060. type: string
  16061. produces:
  16062. - application/json
  16063. responses:
  16064. "200":
  16065. description: OK
  16066. schema:
  16067. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  16068. "500":
  16069. description: Internal Server Error
  16070. schema:
  16071. $ref: '#/definitions/app.Response'
  16072. security:
  16073. - ApiKeyAuth: []
  16074. summary: 获取商品盘面信息
  16075. tags:
  16076. - 行情服务
  16077. /Quote/QueryTSData:
  16078. get:
  16079. parameters:
  16080. - description: 商品代码
  16081. in: query
  16082. name: goodsCode
  16083. required: true
  16084. type: string
  16085. produces:
  16086. - application/json
  16087. responses:
  16088. "200":
  16089. description: OK
  16090. schema:
  16091. $ref: '#/definitions/quote.QueryTSDataRsp'
  16092. "500":
  16093. description: Internal Server Error
  16094. schema:
  16095. $ref: '#/definitions/app.Response'
  16096. security:
  16097. - ApiKeyAuth: []
  16098. summary: 分时图数据查询
  16099. tags:
  16100. - 行情服务
  16101. /SZDZ/QueryConvertConfig:
  16102. get:
  16103. parameters:
  16104. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  16105. 6:交易转花生米(不设置)
  16106. in: query
  16107. name: convertType
  16108. type: integer
  16109. - description: 外部商品代码[JD\PD]
  16110. in: query
  16111. name: outerGoodsCode
  16112. type: string
  16113. - description: 内部商品ID列表[交易],格式:1,2,3
  16114. in: query
  16115. name: innerGoodsIDs
  16116. type: string
  16117. produces:
  16118. - application/json
  16119. responses:
  16120. "200":
  16121. description: OK
  16122. schema:
  16123. $ref: '#/definitions/models.Szdz3convertconfig'
  16124. "500":
  16125. description: Internal Server Error
  16126. schema:
  16127. $ref: '#/definitions/app.Response'
  16128. security:
  16129. - ApiKeyAuth: []
  16130. summary: 查询交易系统转换设置
  16131. tags:
  16132. - 定制【尚志大宗】
  16133. /SZDZ/QueryConvertLog:
  16134. get:
  16135. parameters:
  16136. - description: 资金账户 - 格式:1,2,3
  16137. in: query
  16138. name: accountID
  16139. required: true
  16140. type: string
  16141. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16142. in: query
  16143. name: startDate
  16144. type: string
  16145. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16146. in: query
  16147. name: endDate
  16148. type: string
  16149. produces:
  16150. - application/json
  16151. responses:
  16152. "200":
  16153. description: OK
  16154. schema:
  16155. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  16156. "500":
  16157. description: Internal Server Error
  16158. schema:
  16159. $ref: '#/definitions/app.Response'
  16160. security:
  16161. - ApiKeyAuth: []
  16162. summary: 交易系统转换流水查询
  16163. tags:
  16164. - 定制【尚志大宗】
  16165. /SZDZ/QueryGoodsPickup:
  16166. get:
  16167. parameters:
  16168. - description: 资金账户 - 格式:1,2,3
  16169. in: query
  16170. name: accountID
  16171. required: true
  16172. type: string
  16173. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  16174. in: query
  16175. name: takeOrderStatus
  16176. type: integer
  16177. produces:
  16178. - application/json
  16179. responses:
  16180. "200":
  16181. description: OK
  16182. schema:
  16183. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  16184. "500":
  16185. description: Internal Server Error
  16186. schema:
  16187. $ref: '#/definitions/app.Response'
  16188. security:
  16189. - ApiKeyAuth: []
  16190. summary: 商品提货单查询
  16191. tags:
  16192. - 定制【尚志大宗】
  16193. /SZDZ/QueryRecieptOrder:
  16194. get:
  16195. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16196. parameters:
  16197. - description: 页码
  16198. in: query
  16199. name: page
  16200. type: integer
  16201. - description: 每页条数
  16202. in: query
  16203. name: pagesize
  16204. type: integer
  16205. - description: 商品ID
  16206. in: query
  16207. name: goodsID
  16208. required: true
  16209. type: integer
  16210. - description: 所属账户名称
  16211. in: query
  16212. name: accountName
  16213. type: string
  16214. - description: 市场ID
  16215. in: query
  16216. name: marketID
  16217. type: integer
  16218. - description: 方向 - 0:买 1:卖
  16219. in: query
  16220. name: buyorsell
  16221. required: true
  16222. type: integer
  16223. produces:
  16224. - application/json
  16225. responses:
  16226. "200":
  16227. description: OK
  16228. schema:
  16229. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  16230. "500":
  16231. description: Internal Server Error
  16232. schema:
  16233. $ref: '#/definitions/app.Response'
  16234. security:
  16235. - ApiKeyAuth: []
  16236. summary: 点选挂牌委托单据查询(摘牌大厅)
  16237. tags:
  16238. - 定制【尚志大宗】
  16239. /SZDZ/QuerySZDZTradePosition:
  16240. get:
  16241. parameters:
  16242. - description: 资金账户
  16243. in: query
  16244. name: accountID
  16245. required: true
  16246. type: integer
  16247. produces:
  16248. - application/json
  16249. responses:
  16250. "200":
  16251. description: OK
  16252. schema:
  16253. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  16254. "500":
  16255. description: Internal Server Error
  16256. schema:
  16257. $ref: '#/definitions/app.Response'
  16258. security:
  16259. - ApiKeyAuth: []
  16260. summary: 持仓汇总查询(尚志大宗)
  16261. tags:
  16262. - 定制【尚志大宗】
  16263. /SZDZ/SearchWhite:
  16264. get:
  16265. parameters:
  16266. - description: 用户ID
  16267. in: query
  16268. name: userID
  16269. required: true
  16270. type: integer
  16271. produces:
  16272. - application/json
  16273. responses:
  16274. "200":
  16275. description: OK
  16276. schema:
  16277. $ref: '#/definitions/models.Szdz3searchwhitelist'
  16278. "500":
  16279. description: Internal Server Error
  16280. schema:
  16281. $ref: '#/definitions/app.Response'
  16282. security:
  16283. - ApiKeyAuth: []
  16284. summary: 搜索白名单
  16285. tags:
  16286. - 定制【尚志大宗】
  16287. /Search/SearchGoodses:
  16288. get:
  16289. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  16290. parameters:
  16291. - description: 检索内容
  16292. in: query
  16293. name: content
  16294. required: true
  16295. type: string
  16296. - description: 交易模式,格式:1,2,3
  16297. in: query
  16298. name: tradeModes
  16299. type: string
  16300. produces:
  16301. - application/json
  16302. responses:
  16303. "200":
  16304. description: OK
  16305. schema:
  16306. $ref: '#/definitions/models.SearchGoods'
  16307. "500":
  16308. description: Internal Server Error
  16309. schema:
  16310. $ref: '#/definitions/app.Response'
  16311. summary: 检索商品信息
  16312. tags:
  16313. - 检索服务
  16314. /TaAccount/GetTaAccounts:
  16315. get:
  16316. parameters:
  16317. - description: 登录账户
  16318. in: query
  16319. name: loginID
  16320. required: true
  16321. type: integer
  16322. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  16323. in: query
  16324. name: taAccountType
  16325. type: integer
  16326. produces:
  16327. - application/json
  16328. responses:
  16329. "200":
  16330. description: OK
  16331. schema:
  16332. $ref: '#/definitions/models.Taaccount'
  16333. "500":
  16334. description: Internal Server Error
  16335. schema:
  16336. $ref: '#/definitions/app.Response'
  16337. security:
  16338. - ApiKeyAuth: []
  16339. summary: 获取资金账户信息
  16340. tags:
  16341. - 资金账户
  16342. /TaAccount/QueryAmountLog:
  16343. get:
  16344. parameters:
  16345. - description: 页码
  16346. in: query
  16347. name: page
  16348. type: integer
  16349. - description: 每页条数
  16350. in: query
  16351. name: pagesize
  16352. type: integer
  16353. - description: 资金账户 - 格式:1,2,3
  16354. in: query
  16355. name: accountID
  16356. required: true
  16357. type: string
  16358. - description: 资金操作类型 - 格式:1,2,3
  16359. in: query
  16360. name: OperateType
  16361. type: string
  16362. produces:
  16363. - application/json
  16364. responses:
  16365. "200":
  16366. description: OK
  16367. schema:
  16368. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  16369. "500":
  16370. description: Internal Server Error
  16371. schema:
  16372. $ref: '#/definitions/app.Response'
  16373. security:
  16374. - ApiKeyAuth: []
  16375. summary: 资金流水查询(当前)
  16376. tags:
  16377. - 资金账户
  16378. /TaAccount/QueryHisAmountLog:
  16379. get:
  16380. parameters:
  16381. - description: 页码
  16382. in: query
  16383. name: page
  16384. type: integer
  16385. - description: 每页条数
  16386. in: query
  16387. name: pagesize
  16388. type: integer
  16389. - description: 资金账户 - 格式:1,2,3
  16390. in: query
  16391. name: accountID
  16392. required: true
  16393. type: string
  16394. - description: 资金操作类型 - 格式:1,2,3
  16395. in: query
  16396. name: OperateType
  16397. type: string
  16398. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  16399. in: query
  16400. name: startDate
  16401. type: string
  16402. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  16403. in: query
  16404. name: endDate
  16405. type: string
  16406. produces:
  16407. - application/json
  16408. responses:
  16409. "200":
  16410. description: OK
  16411. schema:
  16412. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  16413. "500":
  16414. description: Internal Server Error
  16415. schema:
  16416. $ref: '#/definitions/app.Response'
  16417. security:
  16418. - ApiKeyAuth: []
  16419. summary: 资金流水查询(历史)
  16420. tags:
  16421. - 资金账户
  16422. /Trade/QueryRecieptOrder:
  16423. get:
  16424. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  16425. parameters:
  16426. - description: 页码
  16427. in: query
  16428. name: page
  16429. type: integer
  16430. - description: 每页条数
  16431. in: query
  16432. name: pagesize
  16433. type: integer
  16434. - description: 商品ID
  16435. in: query
  16436. name: goodsID
  16437. required: true
  16438. type: integer
  16439. - description: 所属账户名称
  16440. in: query
  16441. name: accountName
  16442. type: string
  16443. - description: 市场ID
  16444. in: query
  16445. name: marketID
  16446. type: integer
  16447. - description: 方向 - 0:买 1:卖
  16448. in: query
  16449. name: buyorsell
  16450. required: true
  16451. type: integer
  16452. produces:
  16453. - application/json
  16454. responses:
  16455. "200":
  16456. description: OK
  16457. schema:
  16458. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  16459. "500":
  16460. description: Internal Server Error
  16461. schema:
  16462. $ref: '#/definitions/app.Response'
  16463. security:
  16464. - ApiKeyAuth: []
  16465. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  16466. tags:
  16467. - 通用交易
  16468. /User/AddMessageBoard:
  16469. post:
  16470. parameters:
  16471. - description: 用户ID
  16472. in: query
  16473. name: userID
  16474. required: true
  16475. type: integer
  16476. - description: 留言信息
  16477. in: query
  16478. name: message
  16479. required: true
  16480. type: string
  16481. - description: 联系电话
  16482. in: query
  16483. name: contactNum
  16484. required: true
  16485. type: string
  16486. produces:
  16487. - application/json
  16488. responses:
  16489. "200":
  16490. description: OK
  16491. schema:
  16492. $ref: '#/definitions/app.Response'
  16493. "500":
  16494. description: Internal Server Error
  16495. schema:
  16496. $ref: '#/definitions/app.Response'
  16497. security:
  16498. - ApiKeyAuth: []
  16499. summary: 添加用户留言板信息
  16500. tags:
  16501. - 用户信息
  16502. /User/AddUserFavoriteGoods:
  16503. post:
  16504. parameters:
  16505. - description: 用户ID
  16506. in: query
  16507. name: userID
  16508. required: true
  16509. type: integer
  16510. - description: 商品ID
  16511. in: query
  16512. name: goodsID
  16513. required: true
  16514. type: integer
  16515. produces:
  16516. - application/json
  16517. responses:
  16518. "200":
  16519. description: OK
  16520. schema:
  16521. $ref: '#/definitions/app.Response'
  16522. "500":
  16523. description: Internal Server Error
  16524. schema:
  16525. $ref: '#/definitions/app.Response'
  16526. security:
  16527. - ApiKeyAuth: []
  16528. summary: 添加用户商品收藏信息
  16529. tags:
  16530. - 用户信息
  16531. /User/GetLoginID:
  16532. get:
  16533. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  16534. parameters:
  16535. - description: 登录代码
  16536. in: query
  16537. name: username
  16538. required: true
  16539. type: string
  16540. produces:
  16541. - application/json
  16542. responses:
  16543. "200":
  16544. description: OK
  16545. schema:
  16546. $ref: '#/definitions/app.Response'
  16547. "500":
  16548. description: Internal Server Error
  16549. schema:
  16550. $ref: '#/definitions/app.Response'
  16551. summary: 获取登录ID
  16552. tags:
  16553. - 用户信息
  16554. /User/GetUserAccount:
  16555. get:
  16556. parameters:
  16557. - description: 用户ID
  16558. in: query
  16559. name: userID
  16560. required: true
  16561. type: integer
  16562. produces:
  16563. - application/json
  16564. responses:
  16565. "200":
  16566. description: OK
  16567. schema:
  16568. $ref: '#/definitions/models.Useraccount'
  16569. "500":
  16570. description: Internal Server Error
  16571. schema:
  16572. $ref: '#/definitions/app.Response'
  16573. security:
  16574. - ApiKeyAuth: []
  16575. summary: 获取用户账号信息
  16576. tags:
  16577. - 用户信息
  16578. /User/GetUserAuthStatus:
  16579. get:
  16580. parameters:
  16581. - description: 用户ID
  16582. in: query
  16583. name: userID
  16584. required: true
  16585. type: integer
  16586. produces:
  16587. - application/json
  16588. responses:
  16589. "200":
  16590. description: OK
  16591. schema:
  16592. $ref: '#/definitions/app.Response'
  16593. "500":
  16594. description: Internal Server Error
  16595. schema:
  16596. $ref: '#/definitions/app.Response'
  16597. security:
  16598. - ApiKeyAuth: []
  16599. summary: 获取用户实名认证状态
  16600. tags:
  16601. - 用户信息
  16602. /User/LoginQuery:
  16603. get:
  16604. parameters:
  16605. - description: 登录账号
  16606. in: query
  16607. name: loginID
  16608. required: true
  16609. type: integer
  16610. produces:
  16611. - application/json
  16612. responses:
  16613. "200":
  16614. description: OK
  16615. schema:
  16616. $ref: '#/definitions/user.LoginQueryRsp'
  16617. "500":
  16618. description: Internal Server Error
  16619. schema:
  16620. $ref: '#/definitions/app.Response'
  16621. security:
  16622. - ApiKeyAuth: []
  16623. summary: 账户登录后信息查询
  16624. tags:
  16625. - 用户信息
  16626. /User/QueryMessageBoard:
  16627. get:
  16628. parameters:
  16629. - description: 用户ID
  16630. in: query
  16631. name: userID
  16632. required: true
  16633. type: integer
  16634. produces:
  16635. - application/json
  16636. responses:
  16637. "200":
  16638. description: OK
  16639. schema:
  16640. $ref: '#/definitions/models.Messageboard'
  16641. "500":
  16642. description: Internal Server Error
  16643. schema:
  16644. $ref: '#/definitions/app.Response'
  16645. security:
  16646. - ApiKeyAuth: []
  16647. summary: 获取用户留言板信息
  16648. tags:
  16649. - 用户信息
  16650. /User/QueryUserFavoriteGoodses:
  16651. get:
  16652. parameters:
  16653. - description: 用户ID
  16654. in: query
  16655. name: userID
  16656. required: true
  16657. type: integer
  16658. produces:
  16659. - application/json
  16660. responses:
  16661. "200":
  16662. description: OK
  16663. schema:
  16664. $ref: '#/definitions/models.Userfavoritegoods'
  16665. "500":
  16666. description: Internal Server Error
  16667. schema:
  16668. $ref: '#/definitions/app.Response'
  16669. security:
  16670. - ApiKeyAuth: []
  16671. summary: 获取用户商品收藏信息
  16672. tags:
  16673. - 用户信息
  16674. /User/QueryUserInfo:
  16675. get:
  16676. parameters:
  16677. - description: 用户ID
  16678. in: query
  16679. name: userID
  16680. required: true
  16681. type: integer
  16682. - description: 是否解密
  16683. in: query
  16684. name: isDecrypt
  16685. type: boolean
  16686. produces:
  16687. - application/json
  16688. responses:
  16689. "200":
  16690. description: OK
  16691. schema:
  16692. $ref: '#/definitions/models.Userinfo'
  16693. "500":
  16694. description: Internal Server Error
  16695. schema:
  16696. $ref: '#/definitions/app.Response'
  16697. security:
  16698. - ApiKeyAuth: []
  16699. summary: 获取用户信息
  16700. tags:
  16701. - 用户信息
  16702. /User/QueryUserReferNum:
  16703. get:
  16704. parameters:
  16705. - description: 用户ID
  16706. in: query
  16707. name: userID
  16708. required: true
  16709. type: integer
  16710. produces:
  16711. - application/json
  16712. responses:
  16713. "200":
  16714. description: OK
  16715. schema:
  16716. $ref: '#/definitions/app.Response'
  16717. "500":
  16718. description: Internal Server Error
  16719. schema:
  16720. $ref: '#/definitions/app.Response'
  16721. summary: 获取用户邀请码
  16722. tags:
  16723. - 用户信息
  16724. /User/RemoveUserFavoriteGoods:
  16725. post:
  16726. parameters:
  16727. - description: 用户ID
  16728. in: query
  16729. name: userID
  16730. required: true
  16731. type: integer
  16732. - description: 商品ID
  16733. in: query
  16734. name: goodsID
  16735. required: true
  16736. type: integer
  16737. produces:
  16738. - application/json
  16739. responses:
  16740. "200":
  16741. description: OK
  16742. schema:
  16743. $ref: '#/definitions/app.Response'
  16744. "500":
  16745. description: Internal Server Error
  16746. schema:
  16747. $ref: '#/definitions/app.Response'
  16748. security:
  16749. - ApiKeyAuth: []
  16750. summary: 移除用户商品收藏信息
  16751. tags:
  16752. - 用户信息
  16753. /User/UpdateUserAccountStatus:
  16754. post:
  16755. parameters:
  16756. - description: 用户ID
  16757. in: query
  16758. name: userID
  16759. required: true
  16760. type: integer
  16761. - description: 账户状态 - 4:正常 6:注销(停用)
  16762. in: query
  16763. name: accountStatus
  16764. required: true
  16765. type: integer
  16766. produces:
  16767. - application/json
  16768. responses:
  16769. "200":
  16770. description: OK
  16771. schema:
  16772. $ref: '#/definitions/app.Response'
  16773. "500":
  16774. description: Internal Server Error
  16775. schema:
  16776. $ref: '#/definitions/app.Response'
  16777. security:
  16778. - ApiKeyAuth: []
  16779. summary: 更新用户状态
  16780. tags:
  16781. - 用户信息
  16782. /WRTrade/GetAllDeliveryGoods:
  16783. get:
  16784. produces:
  16785. - application/json
  16786. - application/json
  16787. responses:
  16788. "200":
  16789. description: OK
  16790. schema:
  16791. $ref: '#/definitions/app.Response'
  16792. "500":
  16793. description: Internal Server Error
  16794. schema:
  16795. $ref: '#/definitions/app.Response'
  16796. security:
  16797. - ApiKeyAuth: []
  16798. - ApiKeyAuth: []
  16799. summary: 获取带仓单分类的种类信息
  16800. tags:
  16801. - 仓单贸易
  16802. - 仓单贸易
  16803. securityDefinitions:
  16804. ApiKeyAuth:
  16805. in: header
  16806. name: Authorization
  16807. type: apiKey
  16808. swagger: "2.0"