swagger.json 662 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "parameters": [
  366. {
  367. "type": "integer",
  368. "description": "起始自增ID",
  369. "name": "autoid",
  370. "in": "query"
  371. }
  372. ],
  373. "responses": {
  374. "200": {
  375. "description": "OK",
  376. "schema": {
  377. "$ref": "#/definitions/models.Enumdicitem"
  378. }
  379. },
  380. "500": {
  381. "description": "Internal Server Error",
  382. "schema": {
  383. "$ref": "#/definitions/app.Response"
  384. }
  385. }
  386. }
  387. }
  388. },
  389. "/Common/GetDivisions": {
  390. "get": {
  391. "produces": [
  392. "application/json"
  393. ],
  394. "tags": [
  395. "通用服务"
  396. ],
  397. "summary": "查询区域信息",
  398. "responses": {
  399. "200": {
  400. "description": "OK",
  401. "schema": {
  402. "$ref": "#/definitions/models.Division"
  403. }
  404. },
  405. "500": {
  406. "description": "Internal Server Error",
  407. "schema": {
  408. "$ref": "#/definitions/app.Response"
  409. }
  410. }
  411. }
  412. }
  413. },
  414. "/Common/GetServerTime": {
  415. "get": {
  416. "produces": [
  417. "application/json"
  418. ],
  419. "tags": [
  420. "通用服务"
  421. ],
  422. "summary": "获取服务器时间",
  423. "responses": {
  424. "200": {
  425. "description": "OK",
  426. "schema": {
  427. "$ref": "#/definitions/app.Response"
  428. }
  429. },
  430. "500": {
  431. "description": "Internal Server Error",
  432. "schema": {
  433. "$ref": "#/definitions/app.Response"
  434. }
  435. }
  436. }
  437. }
  438. },
  439. "/Common/NoticeReaded": {
  440. "post": {
  441. "security": [
  442. {
  443. "ApiKeyAuth": []
  444. }
  445. ],
  446. "produces": [
  447. "application/json"
  448. ],
  449. "tags": [
  450. "通用服务"
  451. ],
  452. "summary": "通知公告设置已读请求",
  453. "parameters": [
  454. {
  455. "type": "integer",
  456. "description": "登录账号",
  457. "name": "loginID",
  458. "in": "query",
  459. "required": true
  460. },
  461. {
  462. "type": "integer",
  463. "description": "通知公告ID",
  464. "name": "noticeID",
  465. "in": "query",
  466. "required": true
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "OK",
  472. "schema": {
  473. "$ref": "#/definitions/app.Response"
  474. }
  475. },
  476. "500": {
  477. "description": "Internal Server Error",
  478. "schema": {
  479. "$ref": "#/definitions/app.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/Common/QueryErrorInfos": {
  486. "get": {
  487. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  488. "produces": [
  489. "application/json"
  490. ],
  491. "tags": [
  492. "通用服务"
  493. ],
  494. "summary": "获取数据库错误信息",
  495. "parameters": [
  496. {
  497. "type": "string",
  498. "description": "起始行号前索引",
  499. "name": "rowNumber",
  500. "in": "query"
  501. }
  502. ],
  503. "responses": {
  504. "200": {
  505. "description": "OK",
  506. "schema": {
  507. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  508. }
  509. },
  510. "500": {
  511. "description": "Internal Server Error",
  512. "schema": {
  513. "$ref": "#/definitions/app.Response"
  514. }
  515. }
  516. }
  517. }
  518. },
  519. "/Common/QueryImageConfigs": {
  520. "get": {
  521. "produces": [
  522. "application/json"
  523. ],
  524. "tags": [
  525. "通用服务"
  526. ],
  527. "summary": "查询轮播图配置信息",
  528. "parameters": [
  529. {
  530. "type": "integer",
  531. "description": "类型 - 1:App首页轮播 2:我的",
  532. "name": "imageType",
  533. "in": "query"
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "OK",
  539. "schema": {
  540. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/QueryNotice": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "通知公告系统消息查询",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "页码",
  570. "name": "page",
  571. "in": "query"
  572. },
  573. {
  574. "type": "integer",
  575. "description": "每页条数",
  576. "name": "pagesize",
  577. "in": "query"
  578. },
  579. {
  580. "type": "integer",
  581. "description": "登录账号",
  582. "name": "loginID",
  583. "in": "query",
  584. "required": true
  585. },
  586. {
  587. "type": "integer",
  588. "description": "消息类型 - 1:公告通知 2:系统消息",
  589. "name": "msgType",
  590. "in": "query"
  591. },
  592. {
  593. "type": "boolean",
  594. "description": "是否只获取未读信息",
  595. "name": "onlyUnRead",
  596. "in": "query"
  597. },
  598. {
  599. "type": "integer",
  600. "description": "自增ID,传入后会返回这个ID后面的记录",
  601. "name": "lastID",
  602. "in": "query"
  603. }
  604. ],
  605. "responses": {
  606. "200": {
  607. "description": "OK",
  608. "schema": {
  609. "$ref": "#/definitions/common.QueryNoticeRsp"
  610. }
  611. },
  612. "500": {
  613. "description": "Internal Server Error",
  614. "schema": {
  615. "$ref": "#/definitions/app.Response"
  616. }
  617. }
  618. }
  619. }
  620. },
  621. "/Common/QueryProvincesAndCities": {
  622. "get": {
  623. "produces": [
  624. "application/json"
  625. ],
  626. "tags": [
  627. "通用服务"
  628. ],
  629. "summary": "查询省市信息(不包括区)",
  630. "parameters": [
  631. {
  632. "type": "integer",
  633. "description": "省ID",
  634. "name": "provinceID",
  635. "in": "query"
  636. }
  637. ],
  638. "responses": {
  639. "200": {
  640. "description": "OK",
  641. "schema": {
  642. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  643. }
  644. },
  645. "500": {
  646. "description": "Internal Server Error",
  647. "schema": {
  648. "$ref": "#/definitions/app.Response"
  649. }
  650. }
  651. }
  652. }
  653. },
  654. "/Common/QueryTableDefine": {
  655. "get": {
  656. "produces": [
  657. "application/json"
  658. ],
  659. "tags": [
  660. "通用服务"
  661. ],
  662. "summary": "查询交易端列表头信息",
  663. "parameters": [
  664. {
  665. "type": "string",
  666. "description": "表key",
  667. "name": "tableKey",
  668. "in": "query"
  669. },
  670. {
  671. "type": "integer",
  672. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  673. "name": "tableType",
  674. "in": "query"
  675. }
  676. ],
  677. "responses": {
  678. "200": {
  679. "description": "OK",
  680. "schema": {
  681. "$ref": "#/definitions/common.QueryTableDefineRsp"
  682. }
  683. },
  684. "500": {
  685. "description": "Internal Server Error",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. }
  690. }
  691. }
  692. },
  693. "/Common/QueryTraderMenu": {
  694. "get": {
  695. "produces": [
  696. "application/json"
  697. ],
  698. "tags": [
  699. "通用服务"
  700. ],
  701. "summary": "查询交易端菜单",
  702. "parameters": [
  703. {
  704. "type": "integer",
  705. "description": "登录账号",
  706. "name": "loginid",
  707. "in": "query",
  708. "required": true
  709. }
  710. ],
  711. "responses": {
  712. "200": {
  713. "description": "OK",
  714. "schema": {
  715. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  716. }
  717. },
  718. "500": {
  719. "description": "Internal Server Error",
  720. "schema": {
  721. "$ref": "#/definitions/app.Response"
  722. }
  723. }
  724. }
  725. }
  726. },
  727. "/Delivery/QueryDeliveryRelation": {
  728. "get": {
  729. "security": [
  730. {
  731. "ApiKeyAuth": []
  732. }
  733. ],
  734. "produces": [
  735. "application/json"
  736. ],
  737. "tags": [
  738. "交割服务"
  739. ],
  740. "summary": "查询商品交割关系表",
  741. "parameters": [
  742. {
  743. "type": "integer",
  744. "description": "商品ID",
  745. "name": "goodsid",
  746. "in": "query"
  747. },
  748. {
  749. "type": "integer",
  750. "description": "品种ID",
  751. "name": "deliverygoodsid",
  752. "in": "query"
  753. },
  754. {
  755. "type": "integer",
  756. "description": "市场ID",
  757. "name": "marketid",
  758. "in": "query"
  759. }
  760. ],
  761. "responses": {
  762. "200": {
  763. "description": "OK",
  764. "schema": {
  765. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  766. }
  767. },
  768. "500": {
  769. "description": "Internal Server Error",
  770. "schema": {
  771. "$ref": "#/definitions/app.Response"
  772. }
  773. }
  774. }
  775. }
  776. },
  777. "/Ermcp/GetErmcpGoods": {
  778. "get": {
  779. "security": [
  780. {
  781. "ApiKeyAuth": []
  782. }
  783. ],
  784. "produces": [
  785. "application/json"
  786. ],
  787. "tags": [
  788. "企业风险管理(app)"
  789. ],
  790. "summary": "查询企业风管期货商品信息",
  791. "parameters": [
  792. {
  793. "type": "integer",
  794. "description": "已存末尾商品编号",
  795. "name": "lastID",
  796. "in": "query"
  797. }
  798. ],
  799. "responses": {
  800. "200": {
  801. "description": "OK",
  802. "schema": {
  803. "$ref": "#/definitions/models.Goods"
  804. }
  805. },
  806. "500": {
  807. "description": "Internal Server Error",
  808. "schema": {
  809. "$ref": "#/definitions/app.Response"
  810. }
  811. }
  812. }
  813. }
  814. },
  815. "/Ermcp/QryReportDayExposure": {
  816. "get": {
  817. "security": [
  818. {
  819. "ApiKeyAuth": []
  820. }
  821. ],
  822. "produces": [
  823. "application/json"
  824. ],
  825. "tags": [
  826. "企业风险管理(app)"
  827. ],
  828. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  829. "parameters": [
  830. {
  831. "type": "integer",
  832. "description": "用户ID",
  833. "name": "userid",
  834. "in": "query",
  835. "required": true
  836. },
  837. {
  838. "type": "string",
  839. "description": "交易日(格式:yyyyMMdd)",
  840. "name": "tradedate",
  841. "in": "query",
  842. "required": true
  843. }
  844. ],
  845. "responses": {
  846. "200": {
  847. "description": "OK",
  848. "schema": {
  849. "type": "array",
  850. "items": {
  851. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  852. }
  853. }
  854. },
  855. "500": {
  856. "description": "Internal Server Error",
  857. "schema": {
  858. "$ref": "#/definitions/app.Response"
  859. }
  860. }
  861. }
  862. }
  863. },
  864. "/Ermcp/QryReportDayFinance": {
  865. "get": {
  866. "security": [
  867. {
  868. "ApiKeyAuth": []
  869. }
  870. ],
  871. "produces": [
  872. "application/json"
  873. ],
  874. "tags": [
  875. "企业风险管理(app)"
  876. ],
  877. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  878. "parameters": [
  879. {
  880. "type": "integer",
  881. "description": "用户ID",
  882. "name": "userid",
  883. "in": "query",
  884. "required": true
  885. },
  886. {
  887. "type": "string",
  888. "description": "交易日(格式:yyyyMMdd)",
  889. "name": "tradedate",
  890. "in": "query",
  891. "required": true
  892. }
  893. ],
  894. "responses": {
  895. "200": {
  896. "description": "OK",
  897. "schema": {
  898. "type": "array",
  899. "items": {
  900. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  901. }
  902. }
  903. },
  904. "500": {
  905. "description": "Internal Server Error",
  906. "schema": {
  907. "$ref": "#/definitions/app.Response"
  908. }
  909. }
  910. }
  911. }
  912. },
  913. "/Ermcp/QryReportDayFinanceFp": {
  914. "get": {
  915. "security": [
  916. {
  917. "ApiKeyAuth": []
  918. }
  919. ],
  920. "produces": [
  921. "application/json"
  922. ],
  923. "tags": [
  924. "企业风险管理(app)"
  925. ],
  926. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  927. "parameters": [
  928. {
  929. "type": "integer",
  930. "description": "用户ID",
  931. "name": "userid",
  932. "in": "query",
  933. "required": true
  934. },
  935. {
  936. "type": "string",
  937. "description": "交易日(格式:yyyyMMdd)",
  938. "name": "tradedate",
  939. "in": "query",
  940. "required": true
  941. }
  942. ],
  943. "responses": {
  944. "200": {
  945. "description": "OK",
  946. "schema": {
  947. "type": "array",
  948. "items": {
  949. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  950. }
  951. }
  952. },
  953. "500": {
  954. "description": "Internal Server Error",
  955. "schema": {
  956. "$ref": "#/definitions/app.Response"
  957. }
  958. }
  959. }
  960. }
  961. },
  962. "/Ermcp/QryReportDayFinanceKx": {
  963. "get": {
  964. "security": [
  965. {
  966. "ApiKeyAuth": []
  967. }
  968. ],
  969. "produces": [
  970. "application/json"
  971. ],
  972. "tags": [
  973. "企业风险管理(app)"
  974. ],
  975. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  976. "parameters": [
  977. {
  978. "type": "integer",
  979. "description": "用户ID",
  980. "name": "userid",
  981. "in": "query",
  982. "required": true
  983. },
  984. {
  985. "type": "string",
  986. "description": "交易日(格式:yyyyMMdd)",
  987. "name": "tradedate",
  988. "in": "query",
  989. "required": true
  990. }
  991. ],
  992. "responses": {
  993. "200": {
  994. "description": "OK",
  995. "schema": {
  996. "type": "array",
  997. "items": {
  998. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  999. }
  1000. }
  1001. },
  1002. "500": {
  1003. "description": "Internal Server Error",
  1004. "schema": {
  1005. "$ref": "#/definitions/app.Response"
  1006. }
  1007. }
  1008. }
  1009. }
  1010. },
  1011. "/Ermcp/QryReportDaySpot": {
  1012. "get": {
  1013. "security": [
  1014. {
  1015. "ApiKeyAuth": []
  1016. }
  1017. ],
  1018. "produces": [
  1019. "application/json"
  1020. ],
  1021. "tags": [
  1022. "企业风险管理(app)"
  1023. ],
  1024. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1025. "parameters": [
  1026. {
  1027. "type": "integer",
  1028. "description": "用户ID",
  1029. "name": "userid",
  1030. "in": "query",
  1031. "required": true
  1032. },
  1033. {
  1034. "type": "string",
  1035. "description": "交易日(格式:yyyyMMdd)",
  1036. "name": "tradedate",
  1037. "in": "query",
  1038. "required": true
  1039. }
  1040. ],
  1041. "responses": {
  1042. "200": {
  1043. "description": "OK",
  1044. "schema": {
  1045. "type": "array",
  1046. "items": {
  1047. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1048. }
  1049. }
  1050. },
  1051. "500": {
  1052. "description": "Internal Server Error",
  1053. "schema": {
  1054. "$ref": "#/definitions/app.Response"
  1055. }
  1056. }
  1057. }
  1058. }
  1059. },
  1060. "/Ermcp/QryReportDaySpotDetail": {
  1061. "get": {
  1062. "security": [
  1063. {
  1064. "ApiKeyAuth": []
  1065. }
  1066. ],
  1067. "produces": [
  1068. "application/json"
  1069. ],
  1070. "tags": [
  1071. "企业风险管理(app)"
  1072. ],
  1073. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1074. "parameters": [
  1075. {
  1076. "type": "integer",
  1077. "description": "用户ID",
  1078. "name": "userid",
  1079. "in": "query",
  1080. "required": true
  1081. },
  1082. {
  1083. "type": "integer",
  1084. "description": "现货商品id",
  1085. "name": "wrstandardid",
  1086. "in": "query",
  1087. "required": true
  1088. },
  1089. {
  1090. "type": "string",
  1091. "description": "交易日(格式:yyyyMMdd)",
  1092. "name": "tradedate",
  1093. "in": "query",
  1094. "required": true
  1095. }
  1096. ],
  1097. "responses": {
  1098. "200": {
  1099. "description": "OK",
  1100. "schema": {
  1101. "type": "array",
  1102. "items": {
  1103. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1104. }
  1105. }
  1106. },
  1107. "500": {
  1108. "description": "Internal Server Error",
  1109. "schema": {
  1110. "$ref": "#/definitions/app.Response"
  1111. }
  1112. }
  1113. }
  1114. }
  1115. },
  1116. "/Ermcp/QryReportMonthFinance": {
  1117. "get": {
  1118. "security": [
  1119. {
  1120. "ApiKeyAuth": []
  1121. }
  1122. ],
  1123. "produces": [
  1124. "application/json"
  1125. ],
  1126. "tags": [
  1127. "企业风险管理(app)"
  1128. ],
  1129. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1130. "parameters": [
  1131. {
  1132. "type": "integer",
  1133. "description": "用户ID",
  1134. "name": "userid",
  1135. "in": "query",
  1136. "required": true
  1137. },
  1138. {
  1139. "type": "string",
  1140. "description": "周期时间:月(格式:yyyyMM)",
  1141. "name": "cycletime",
  1142. "in": "query",
  1143. "required": true
  1144. }
  1145. ],
  1146. "responses": {
  1147. "200": {
  1148. "description": "OK",
  1149. "schema": {
  1150. "type": "array",
  1151. "items": {
  1152. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1153. }
  1154. }
  1155. },
  1156. "500": {
  1157. "description": "Internal Server Error",
  1158. "schema": {
  1159. "$ref": "#/definitions/app.Response"
  1160. }
  1161. }
  1162. }
  1163. }
  1164. },
  1165. "/Ermcp/QryReportMonthSpot": {
  1166. "get": {
  1167. "security": [
  1168. {
  1169. "ApiKeyAuth": []
  1170. }
  1171. ],
  1172. "produces": [
  1173. "application/json"
  1174. ],
  1175. "tags": [
  1176. "企业风险管理(app)"
  1177. ],
  1178. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1179. "parameters": [
  1180. {
  1181. "type": "integer",
  1182. "description": "用户ID",
  1183. "name": "userid",
  1184. "in": "query",
  1185. "required": true
  1186. },
  1187. {
  1188. "type": "string",
  1189. "description": "周期时间:月(格式:yyyyMM)",
  1190. "name": "cycletime",
  1191. "in": "query",
  1192. "required": true
  1193. }
  1194. ],
  1195. "responses": {
  1196. "200": {
  1197. "description": "OK",
  1198. "schema": {
  1199. "type": "array",
  1200. "items": {
  1201. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1202. }
  1203. }
  1204. },
  1205. "500": {
  1206. "description": "Internal Server Error",
  1207. "schema": {
  1208. "$ref": "#/definitions/app.Response"
  1209. }
  1210. }
  1211. }
  1212. }
  1213. },
  1214. "/Ermcp/QryReportMonthSpotDetail": {
  1215. "get": {
  1216. "security": [
  1217. {
  1218. "ApiKeyAuth": []
  1219. }
  1220. ],
  1221. "produces": [
  1222. "application/json"
  1223. ],
  1224. "tags": [
  1225. "企业风险管理(app)"
  1226. ],
  1227. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1228. "parameters": [
  1229. {
  1230. "type": "integer",
  1231. "description": "用户ID",
  1232. "name": "userid",
  1233. "in": "query",
  1234. "required": true
  1235. },
  1236. {
  1237. "type": "integer",
  1238. "description": "现货商品id",
  1239. "name": "wrstandardid",
  1240. "in": "query",
  1241. "required": true
  1242. },
  1243. {
  1244. "type": "string",
  1245. "description": "周期时间:月(格式:yyyyMM)",
  1246. "name": "cycletime",
  1247. "in": "query",
  1248. "required": true
  1249. }
  1250. ],
  1251. "responses": {
  1252. "200": {
  1253. "description": "OK",
  1254. "schema": {
  1255. "type": "array",
  1256. "items": {
  1257. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1258. }
  1259. }
  1260. },
  1261. "500": {
  1262. "description": "Internal Server Error",
  1263. "schema": {
  1264. "$ref": "#/definitions/app.Response"
  1265. }
  1266. }
  1267. }
  1268. }
  1269. },
  1270. "/Ermcp/QueryAvaildGoodsGroup": {
  1271. "get": {
  1272. "security": [
  1273. {
  1274. "ApiKeyAuth": []
  1275. }
  1276. ],
  1277. "produces": [
  1278. "application/json"
  1279. ],
  1280. "tags": [
  1281. "企业风险管理(app)"
  1282. ],
  1283. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1284. "parameters": [
  1285. {
  1286. "type": "integer",
  1287. "description": "所属机构ID",
  1288. "name": "userid",
  1289. "in": "query",
  1290. "required": true
  1291. }
  1292. ],
  1293. "responses": {
  1294. "200": {
  1295. "description": "OK",
  1296. "schema": {
  1297. "type": "array",
  1298. "items": {
  1299. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1300. }
  1301. }
  1302. },
  1303. "500": {
  1304. "description": "Internal Server Error",
  1305. "schema": {
  1306. "$ref": "#/definitions/app.Response"
  1307. }
  1308. }
  1309. }
  1310. }
  1311. },
  1312. "/Ermcp/QueryBusinessDj": {
  1313. "get": {
  1314. "security": [
  1315. {
  1316. "ApiKeyAuth": []
  1317. }
  1318. ],
  1319. "produces": [
  1320. "application/json"
  1321. ],
  1322. "tags": [
  1323. "企业风险管理(app)"
  1324. ],
  1325. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1326. "parameters": [
  1327. {
  1328. "type": "integer",
  1329. "description": "用户ID",
  1330. "name": "UserId",
  1331. "in": "query",
  1332. "required": true
  1333. },
  1334. {
  1335. "type": "string",
  1336. "description": "现货合同ID, 不填则查所有",
  1337. "name": "relatedid",
  1338. "in": "query"
  1339. }
  1340. ],
  1341. "responses": {
  1342. "200": {
  1343. "description": "OK",
  1344. "schema": {
  1345. "type": "array",
  1346. "items": {
  1347. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1348. }
  1349. }
  1350. },
  1351. "500": {
  1352. "description": "Internal Server Error",
  1353. "schema": {
  1354. "$ref": "#/definitions/app.Response"
  1355. }
  1356. }
  1357. }
  1358. }
  1359. },
  1360. "/Ermcp/QueryBusinessFp": {
  1361. "get": {
  1362. "security": [
  1363. {
  1364. "ApiKeyAuth": []
  1365. }
  1366. ],
  1367. "produces": [
  1368. "application/json"
  1369. ],
  1370. "tags": [
  1371. "企业风险管理(app)"
  1372. ],
  1373. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1374. "parameters": [
  1375. {
  1376. "type": "integer",
  1377. "description": "用户ID",
  1378. "name": "UserId",
  1379. "in": "query",
  1380. "required": true
  1381. },
  1382. {
  1383. "type": "string",
  1384. "description": "现货合同ID, 不填则查所有",
  1385. "name": "relatedid",
  1386. "in": "query"
  1387. }
  1388. ],
  1389. "responses": {
  1390. "200": {
  1391. "description": "OK",
  1392. "schema": {
  1393. "type": "array",
  1394. "items": {
  1395. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1396. }
  1397. }
  1398. },
  1399. "500": {
  1400. "description": "Internal Server Error",
  1401. "schema": {
  1402. "$ref": "#/definitions/app.Response"
  1403. }
  1404. }
  1405. }
  1406. }
  1407. },
  1408. "/Ermcp/QueryBusinessJs": {
  1409. "get": {
  1410. "security": [
  1411. {
  1412. "ApiKeyAuth": []
  1413. }
  1414. ],
  1415. "produces": [
  1416. "application/json"
  1417. ],
  1418. "tags": [
  1419. "企业风险管理(app)"
  1420. ],
  1421. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1422. "parameters": [
  1423. {
  1424. "type": "integer",
  1425. "description": "用户ID",
  1426. "name": "UserId",
  1427. "in": "query",
  1428. "required": true
  1429. },
  1430. {
  1431. "type": "string",
  1432. "description": "现货合同ID, 不填则查所有",
  1433. "name": "relatedid",
  1434. "in": "query"
  1435. }
  1436. ],
  1437. "responses": {
  1438. "200": {
  1439. "description": "OK",
  1440. "schema": {
  1441. "type": "array",
  1442. "items": {
  1443. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1444. }
  1445. }
  1446. },
  1447. "500": {
  1448. "description": "Internal Server Error",
  1449. "schema": {
  1450. "$ref": "#/definitions/app.Response"
  1451. }
  1452. }
  1453. }
  1454. }
  1455. },
  1456. "/Ermcp/QueryBusinessJsEx": {
  1457. "get": {
  1458. "security": [
  1459. {
  1460. "ApiKeyAuth": []
  1461. }
  1462. ],
  1463. "produces": [
  1464. "application/json"
  1465. ],
  1466. "tags": [
  1467. "企业风险管理(app)"
  1468. ],
  1469. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1470. "parameters": [
  1471. {
  1472. "type": "integer",
  1473. "description": "用户ID",
  1474. "name": "UserId",
  1475. "in": "query",
  1476. "required": true
  1477. },
  1478. {
  1479. "type": "string",
  1480. "description": "现货合同ID, 不填则查所有",
  1481. "name": "relatedid",
  1482. "in": "query"
  1483. }
  1484. ],
  1485. "responses": {
  1486. "200": {
  1487. "description": "OK",
  1488. "schema": {
  1489. "type": "array",
  1490. "items": {
  1491. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1492. }
  1493. }
  1494. },
  1495. "500": {
  1496. "description": "Internal Server Error",
  1497. "schema": {
  1498. "$ref": "#/definitions/app.Response"
  1499. }
  1500. }
  1501. }
  1502. }
  1503. },
  1504. "/Ermcp/QueryBusinessKx": {
  1505. "get": {
  1506. "security": [
  1507. {
  1508. "ApiKeyAuth": []
  1509. }
  1510. ],
  1511. "produces": [
  1512. "application/json"
  1513. ],
  1514. "tags": [
  1515. "企业风险管理(app)"
  1516. ],
  1517. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1518. "parameters": [
  1519. {
  1520. "type": "integer",
  1521. "description": "用户ID",
  1522. "name": "UserId",
  1523. "in": "query",
  1524. "required": true
  1525. },
  1526. {
  1527. "type": "string",
  1528. "description": "现货合同ID, 不填则查所有",
  1529. "name": "relatedid",
  1530. "in": "query"
  1531. }
  1532. ],
  1533. "responses": {
  1534. "200": {
  1535. "description": "OK",
  1536. "schema": {
  1537. "type": "array",
  1538. "items": {
  1539. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1540. }
  1541. }
  1542. },
  1543. "500": {
  1544. "description": "Internal Server Error",
  1545. "schema": {
  1546. "$ref": "#/definitions/app.Response"
  1547. }
  1548. }
  1549. }
  1550. }
  1551. },
  1552. "/Ermcp/QueryChangeLog": {
  1553. "get": {
  1554. "security": [
  1555. {
  1556. "ApiKeyAuth": []
  1557. }
  1558. ],
  1559. "produces": [
  1560. "application/json"
  1561. ],
  1562. "tags": [
  1563. "企业风险管理(app)"
  1564. ],
  1565. "summary": "查询变更记录",
  1566. "parameters": [
  1567. {
  1568. "type": "string",
  1569. "description": "合同ID",
  1570. "name": "RelatedId",
  1571. "in": "query",
  1572. "required": true
  1573. }
  1574. ],
  1575. "responses": {
  1576. "200": {
  1577. "description": "OK",
  1578. "schema": {
  1579. "type": "array",
  1580. "items": {
  1581. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1582. }
  1583. }
  1584. },
  1585. "500": {
  1586. "description": "Internal Server Error",
  1587. "schema": {
  1588. "$ref": "#/definitions/app.Response"
  1589. }
  1590. }
  1591. }
  1592. }
  1593. },
  1594. "/Ermcp/QueryContract": {
  1595. "get": {
  1596. "security": [
  1597. {
  1598. "ApiKeyAuth": []
  1599. }
  1600. ],
  1601. "produces": [
  1602. "application/json"
  1603. ],
  1604. "tags": [
  1605. "企业风险管理(app)"
  1606. ],
  1607. "summary": "查询合同(采购和销售)",
  1608. "parameters": [
  1609. {
  1610. "type": "integer",
  1611. "description": "用户ID",
  1612. "name": "userId",
  1613. "in": "query",
  1614. "required": true
  1615. },
  1616. {
  1617. "type": "integer",
  1618. "description": "合同类型 1-采购, -1-销售",
  1619. "name": "contracttype",
  1620. "in": "query",
  1621. "required": true
  1622. },
  1623. {
  1624. "type": "integer",
  1625. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1626. "name": "querytype",
  1627. "in": "query",
  1628. "required": true
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryErmcpOrderDetails": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "获取企业风管期货委托单信息",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "资金账户ID",
  1668. "name": "accountID",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1678. }
  1679. },
  1680. "500": {
  1681. "description": "Internal Server Error",
  1682. "schema": {
  1683. "$ref": "#/definitions/app.Response"
  1684. }
  1685. }
  1686. }
  1687. }
  1688. },
  1689. "/Ermcp/QueryErmcpTradeDetails": {
  1690. "get": {
  1691. "security": [
  1692. {
  1693. "ApiKeyAuth": []
  1694. }
  1695. ],
  1696. "produces": [
  1697. "application/json"
  1698. ],
  1699. "tags": [
  1700. "企业风险管理(app)"
  1701. ],
  1702. "summary": "获取企业风管期货成交单信息",
  1703. "parameters": [
  1704. {
  1705. "type": "integer",
  1706. "description": "资金账户ID",
  1707. "name": "accountID",
  1708. "in": "query",
  1709. "required": true
  1710. },
  1711. {
  1712. "type": "integer",
  1713. "description": "商品ID",
  1714. "name": "goodsID",
  1715. "in": "query"
  1716. },
  1717. {
  1718. "type": "integer",
  1719. "description": "买卖方向,0:买 1:卖",
  1720. "name": "buyOrSell",
  1721. "in": "query"
  1722. }
  1723. ],
  1724. "responses": {
  1725. "200": {
  1726. "description": "OK",
  1727. "schema": {
  1728. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1729. }
  1730. },
  1731. "500": {
  1732. "description": "Internal Server Error",
  1733. "schema": {
  1734. "$ref": "#/definitions/app.Response"
  1735. }
  1736. }
  1737. }
  1738. }
  1739. },
  1740. "/Ermcp/QueryErmcpTradePosition": {
  1741. "get": {
  1742. "security": [
  1743. {
  1744. "ApiKeyAuth": []
  1745. }
  1746. ],
  1747. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1748. "produces": [
  1749. "application/json"
  1750. ],
  1751. "tags": [
  1752. "企业风险管理(app)"
  1753. ],
  1754. "summary": "获取企业风管期货持仓头寸信息",
  1755. "parameters": [
  1756. {
  1757. "type": "integer",
  1758. "description": "资金账户ID",
  1759. "name": "accountID",
  1760. "in": "query",
  1761. "required": true
  1762. },
  1763. {
  1764. "type": "integer",
  1765. "description": "所属市场ID",
  1766. "name": "marketID",
  1767. "in": "query"
  1768. }
  1769. ],
  1770. "responses": {
  1771. "200": {
  1772. "description": "OK",
  1773. "schema": {
  1774. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1775. }
  1776. },
  1777. "500": {
  1778. "description": "Internal Server Error",
  1779. "schema": {
  1780. "$ref": "#/definitions/app.Response"
  1781. }
  1782. }
  1783. }
  1784. }
  1785. },
  1786. "/Ermcp/QueryExposureDetail": {
  1787. "get": {
  1788. "security": [
  1789. {
  1790. "ApiKeyAuth": []
  1791. }
  1792. ],
  1793. "produces": [
  1794. "application/json"
  1795. ],
  1796. "tags": [
  1797. "企业风险管理(app)"
  1798. ],
  1799. "summary": "查询敞口现货明细",
  1800. "parameters": [
  1801. {
  1802. "type": "integer",
  1803. "description": "所属机构ID",
  1804. "name": "areaUserId",
  1805. "in": "query",
  1806. "required": true
  1807. },
  1808. {
  1809. "type": "integer",
  1810. "description": "套保商品",
  1811. "name": "middleGoodsId",
  1812. "in": "query",
  1813. "required": true
  1814. }
  1815. ],
  1816. "responses": {
  1817. "200": {
  1818. "description": "OK",
  1819. "schema": {
  1820. "type": "array",
  1821. "items": {
  1822. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1823. }
  1824. }
  1825. },
  1826. "500": {
  1827. "description": "Internal Server Error",
  1828. "schema": {
  1829. "$ref": "#/definitions/app.Response"
  1830. }
  1831. }
  1832. }
  1833. }
  1834. },
  1835. "/Ermcp/QueryExposureHedgePosition": {
  1836. "get": {
  1837. "security": [
  1838. {
  1839. "ApiKeyAuth": []
  1840. }
  1841. ],
  1842. "produces": [
  1843. "application/json"
  1844. ],
  1845. "tags": [
  1846. "企业风险管理(app)"
  1847. ],
  1848. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1849. "parameters": [
  1850. {
  1851. "type": "integer",
  1852. "description": "所属机构ID",
  1853. "name": "areaUserId",
  1854. "in": "query",
  1855. "required": true
  1856. }
  1857. ],
  1858. "responses": {
  1859. "200": {
  1860. "description": "OK",
  1861. "schema": {
  1862. "type": "array",
  1863. "items": {
  1864. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1865. }
  1866. }
  1867. },
  1868. "500": {
  1869. "description": "Internal Server Error",
  1870. "schema": {
  1871. "$ref": "#/definitions/app.Response"
  1872. }
  1873. }
  1874. }
  1875. }
  1876. },
  1877. "/Ermcp/QueryExposureHedgePositionDetail": {
  1878. "get": {
  1879. "security": [
  1880. {
  1881. "ApiKeyAuth": []
  1882. }
  1883. ],
  1884. "produces": [
  1885. "application/json"
  1886. ],
  1887. "tags": [
  1888. "企业风险管理(app)"
  1889. ],
  1890. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1891. "parameters": [
  1892. {
  1893. "type": "integer",
  1894. "description": "所属机构ID",
  1895. "name": "areaUserId",
  1896. "in": "query",
  1897. "required": true
  1898. },
  1899. {
  1900. "type": "integer",
  1901. "description": "商品id",
  1902. "name": "goodsId",
  1903. "in": "query",
  1904. "required": true
  1905. }
  1906. ],
  1907. "responses": {
  1908. "200": {
  1909. "description": "OK",
  1910. "schema": {
  1911. "type": "array",
  1912. "items": {
  1913. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1914. }
  1915. }
  1916. },
  1917. "500": {
  1918. "description": "Internal Server Error",
  1919. "schema": {
  1920. "$ref": "#/definitions/app.Response"
  1921. }
  1922. }
  1923. }
  1924. }
  1925. },
  1926. "/Ermcp/QueryExposureSpot": {
  1927. "get": {
  1928. "security": [
  1929. {
  1930. "ApiKeyAuth": []
  1931. }
  1932. ],
  1933. "produces": [
  1934. "application/json"
  1935. ],
  1936. "tags": [
  1937. "企业风险管理(app)"
  1938. ],
  1939. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1940. "parameters": [
  1941. {
  1942. "type": "integer",
  1943. "description": "所属机构ID",
  1944. "name": "areaUserId",
  1945. "in": "query",
  1946. "required": true
  1947. }
  1948. ],
  1949. "responses": {
  1950. "200": {
  1951. "description": "OK",
  1952. "schema": {
  1953. "type": "array",
  1954. "items": {
  1955. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1956. }
  1957. }
  1958. },
  1959. "500": {
  1960. "description": "Internal Server Error",
  1961. "schema": {
  1962. "$ref": "#/definitions/app.Response"
  1963. }
  1964. }
  1965. }
  1966. }
  1967. },
  1968. "/Ermcp/QueryExposureSpotDetail": {
  1969. "get": {
  1970. "security": [
  1971. {
  1972. "ApiKeyAuth": []
  1973. }
  1974. ],
  1975. "produces": [
  1976. "application/json"
  1977. ],
  1978. "tags": [
  1979. "企业风险管理(app)"
  1980. ],
  1981. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1982. "parameters": [
  1983. {
  1984. "type": "integer",
  1985. "description": "所属机构ID",
  1986. "name": "areaUserId",
  1987. "in": "query",
  1988. "required": true
  1989. },
  1990. {
  1991. "type": "integer",
  1992. "description": "现货品种ID",
  1993. "name": "wrstandardId",
  1994. "in": "query",
  1995. "required": true
  1996. }
  1997. ],
  1998. "responses": {
  1999. "200": {
  2000. "description": "OK",
  2001. "schema": {
  2002. "type": "array",
  2003. "items": {
  2004. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2005. }
  2006. }
  2007. },
  2008. "500": {
  2009. "description": "Internal Server Error",
  2010. "schema": {
  2011. "$ref": "#/definitions/app.Response"
  2012. }
  2013. }
  2014. }
  2015. }
  2016. },
  2017. "/Ermcp/QueryGGConvertConfig": {
  2018. "get": {
  2019. "security": [
  2020. {
  2021. "ApiKeyAuth": []
  2022. }
  2023. ],
  2024. "produces": [
  2025. "application/json"
  2026. ],
  2027. "tags": [
  2028. "企业风险管理(app)"
  2029. ],
  2030. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2031. "parameters": [
  2032. {
  2033. "type": "integer",
  2034. "description": "品种id(不填则查所有)",
  2035. "name": "goodsgroupid",
  2036. "in": "query"
  2037. }
  2038. ],
  2039. "responses": {
  2040. "200": {
  2041. "description": "OK",
  2042. "schema": {
  2043. "type": "array",
  2044. "items": {
  2045. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2046. }
  2047. }
  2048. },
  2049. "500": {
  2050. "description": "Internal Server Error",
  2051. "schema": {
  2052. "$ref": "#/definitions/app.Response"
  2053. }
  2054. }
  2055. }
  2056. }
  2057. },
  2058. "/Ermcp/QueryHedgePlan": {
  2059. "get": {
  2060. "security": [
  2061. {
  2062. "ApiKeyAuth": []
  2063. }
  2064. ],
  2065. "produces": [
  2066. "application/json"
  2067. ],
  2068. "tags": [
  2069. "企业风险管理(app)"
  2070. ],
  2071. "summary": "查询套保计划",
  2072. "parameters": [
  2073. {
  2074. "type": "integer",
  2075. "description": "用户ID",
  2076. "name": "userId",
  2077. "in": "query",
  2078. "required": true
  2079. },
  2080. {
  2081. "type": "string",
  2082. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  2083. "name": "HedgePlanStatus",
  2084. "in": "query",
  2085. "required": true
  2086. }
  2087. ],
  2088. "responses": {
  2089. "200": {
  2090. "description": "OK",
  2091. "schema": {
  2092. "type": "array",
  2093. "items": {
  2094. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  2095. }
  2096. }
  2097. },
  2098. "500": {
  2099. "description": "Internal Server Error",
  2100. "schema": {
  2101. "$ref": "#/definitions/app.Response"
  2102. }
  2103. }
  2104. }
  2105. }
  2106. },
  2107. "/Ermcp/QueryHisExposure": {
  2108. "get": {
  2109. "security": [
  2110. {
  2111. "ApiKeyAuth": []
  2112. }
  2113. ],
  2114. "produces": [
  2115. "application/json"
  2116. ],
  2117. "tags": [
  2118. "企业风险管理(app)"
  2119. ],
  2120. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2121. "parameters": [
  2122. {
  2123. "type": "integer",
  2124. "description": "所属机构ID",
  2125. "name": "areaUserId",
  2126. "in": "query",
  2127. "required": true
  2128. },
  2129. {
  2130. "type": "integer",
  2131. "description": "每个品种记录数",
  2132. "name": "lastNum",
  2133. "in": "query",
  2134. "required": true
  2135. }
  2136. ],
  2137. "responses": {
  2138. "200": {
  2139. "description": "OK",
  2140. "schema": {
  2141. "type": "array",
  2142. "items": {
  2143. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2144. }
  2145. }
  2146. },
  2147. "500": {
  2148. "description": "Internal Server Error",
  2149. "schema": {
  2150. "$ref": "#/definitions/app.Response"
  2151. }
  2152. }
  2153. }
  2154. }
  2155. },
  2156. "/Ermcp/QueryMiddleGoods": {
  2157. "get": {
  2158. "security": [
  2159. {
  2160. "ApiKeyAuth": []
  2161. }
  2162. ],
  2163. "produces": [
  2164. "application/json"
  2165. ],
  2166. "tags": [
  2167. "企业风险管理(app)"
  2168. ],
  2169. "summary": "查询套保品种(菜单:套保品种)",
  2170. "parameters": [
  2171. {
  2172. "type": "integer",
  2173. "description": "所属机构ID",
  2174. "name": "userid",
  2175. "in": "query",
  2176. "required": true
  2177. },
  2178. {
  2179. "type": "integer",
  2180. "description": "状态 0-停用 1-正常",
  2181. "name": "status",
  2182. "in": "query",
  2183. "required": true
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "type": "array",
  2191. "items": {
  2192. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2193. }
  2194. }
  2195. },
  2196. "500": {
  2197. "description": "Internal Server Error",
  2198. "schema": {
  2199. "$ref": "#/definitions/app.Response"
  2200. }
  2201. }
  2202. }
  2203. }
  2204. },
  2205. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2206. "get": {
  2207. "security": [
  2208. {
  2209. "ApiKeyAuth": []
  2210. }
  2211. ],
  2212. "produces": [
  2213. "application/json"
  2214. ],
  2215. "tags": [
  2216. "企业风险管理(app)"
  2217. ],
  2218. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2219. "parameters": [
  2220. {
  2221. "type": "integer",
  2222. "description": "所属机构ID",
  2223. "name": "userid",
  2224. "in": "query",
  2225. "required": true
  2226. },
  2227. {
  2228. "type": "integer",
  2229. "description": "套保品种id",
  2230. "name": "middlegoodsid",
  2231. "in": "query",
  2232. "required": true
  2233. }
  2234. ],
  2235. "responses": {
  2236. "200": {
  2237. "description": "OK",
  2238. "schema": {
  2239. "type": "array",
  2240. "items": {
  2241. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2242. }
  2243. }
  2244. },
  2245. "500": {
  2246. "description": "Internal Server Error",
  2247. "schema": {
  2248. "$ref": "#/definitions/app.Response"
  2249. }
  2250. }
  2251. }
  2252. }
  2253. },
  2254. "/Ermcp/QueryMiddleGoodsDetail": {
  2255. "get": {
  2256. "security": [
  2257. {
  2258. "ApiKeyAuth": []
  2259. }
  2260. ],
  2261. "produces": [
  2262. "application/json"
  2263. ],
  2264. "tags": [
  2265. "企业风险管理(app)"
  2266. ],
  2267. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2268. "parameters": [
  2269. {
  2270. "type": "integer",
  2271. "description": "所属机构ID",
  2272. "name": "userid",
  2273. "in": "query",
  2274. "required": true
  2275. },
  2276. {
  2277. "type": "integer",
  2278. "description": "套保品种id",
  2279. "name": "middlegoodsid",
  2280. "in": "query",
  2281. "required": true
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "type": "array",
  2289. "items": {
  2290. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2291. }
  2292. }
  2293. },
  2294. "500": {
  2295. "description": "Internal Server Error",
  2296. "schema": {
  2297. "$ref": "#/definitions/app.Response"
  2298. }
  2299. }
  2300. }
  2301. }
  2302. },
  2303. "/Ermcp/QueryPendingAuditInfo": {
  2304. "get": {
  2305. "security": [
  2306. {
  2307. "ApiKeyAuth": []
  2308. }
  2309. ],
  2310. "produces": [
  2311. "application/json"
  2312. ],
  2313. "tags": [
  2314. "企业风险管理(app)"
  2315. ],
  2316. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2317. "parameters": [
  2318. {
  2319. "type": "integer",
  2320. "description": "用户ID",
  2321. "name": "UserId",
  2322. "in": "query",
  2323. "required": true
  2324. }
  2325. ],
  2326. "responses": {
  2327. "200": {
  2328. "description": "OK",
  2329. "schema": {
  2330. "type": "array",
  2331. "items": {
  2332. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2333. }
  2334. }
  2335. },
  2336. "500": {
  2337. "description": "Internal Server Error",
  2338. "schema": {
  2339. "$ref": "#/definitions/app.Response"
  2340. }
  2341. }
  2342. }
  2343. }
  2344. },
  2345. "/Ermcp/QueryRealtimeExposure": {
  2346. "get": {
  2347. "security": [
  2348. {
  2349. "ApiKeyAuth": []
  2350. }
  2351. ],
  2352. "produces": [
  2353. "application/json"
  2354. ],
  2355. "tags": [
  2356. "企业风险管理(app)"
  2357. ],
  2358. "summary": "查询实时敞口",
  2359. "parameters": [
  2360. {
  2361. "type": "integer",
  2362. "description": "所属机构ID",
  2363. "name": "AreaUserID",
  2364. "in": "query",
  2365. "required": true
  2366. }
  2367. ],
  2368. "responses": {
  2369. "200": {
  2370. "description": "OK",
  2371. "schema": {
  2372. "type": "array",
  2373. "items": {
  2374. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2375. }
  2376. }
  2377. },
  2378. "500": {
  2379. "description": "Internal Server Error",
  2380. "schema": {
  2381. "$ref": "#/definitions/app.Response"
  2382. }
  2383. }
  2384. }
  2385. }
  2386. },
  2387. "/Ermcp/QueryRealtimeExposurePosition": {
  2388. "get": {
  2389. "security": [
  2390. {
  2391. "ApiKeyAuth": []
  2392. }
  2393. ],
  2394. "produces": [
  2395. "application/json"
  2396. ],
  2397. "tags": [
  2398. "企业风险管理(app)"
  2399. ],
  2400. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2401. "parameters": [
  2402. {
  2403. "type": "integer",
  2404. "description": "所属机构ID",
  2405. "name": "areaUserId",
  2406. "in": "query",
  2407. "required": true
  2408. },
  2409. {
  2410. "type": "integer",
  2411. "description": "套保商品ID",
  2412. "name": "middleGoodsId",
  2413. "in": "query",
  2414. "required": true
  2415. }
  2416. ],
  2417. "responses": {
  2418. "200": {
  2419. "description": "OK",
  2420. "schema": {
  2421. "type": "array",
  2422. "items": {
  2423. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2424. }
  2425. }
  2426. },
  2427. "500": {
  2428. "description": "Internal Server Error",
  2429. "schema": {
  2430. "$ref": "#/definitions/app.Response"
  2431. }
  2432. }
  2433. }
  2434. }
  2435. },
  2436. "/Ermcp/QuerySpotContract": {
  2437. "get": {
  2438. "security": [
  2439. {
  2440. "ApiKeyAuth": []
  2441. }
  2442. ],
  2443. "produces": [
  2444. "application/json"
  2445. ],
  2446. "tags": [
  2447. "企业风险管理(app)"
  2448. ],
  2449. "summary": "查询现货合同(对应现货合同菜单)",
  2450. "parameters": [
  2451. {
  2452. "type": "integer",
  2453. "description": "用户ID",
  2454. "name": "userId",
  2455. "in": "query",
  2456. "required": true
  2457. },
  2458. {
  2459. "type": "integer",
  2460. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2461. "name": "QueryType",
  2462. "in": "query",
  2463. "required": true
  2464. }
  2465. ],
  2466. "responses": {
  2467. "200": {
  2468. "description": "OK",
  2469. "schema": {
  2470. "type": "array",
  2471. "items": {
  2472. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2473. }
  2474. }
  2475. },
  2476. "500": {
  2477. "description": "Internal Server Error",
  2478. "schema": {
  2479. "$ref": "#/definitions/app.Response"
  2480. }
  2481. }
  2482. }
  2483. }
  2484. },
  2485. "/Ermcp/QueryUserInfo": {
  2486. "get": {
  2487. "security": [
  2488. {
  2489. "ApiKeyAuth": []
  2490. }
  2491. ],
  2492. "produces": [
  2493. "application/json"
  2494. ],
  2495. "tags": [
  2496. "企业风险管理(app)"
  2497. ],
  2498. "summary": "查询客户资料",
  2499. "parameters": [
  2500. {
  2501. "type": "integer",
  2502. "description": "所属机构用户ID",
  2503. "name": "MemberUserID",
  2504. "in": "query",
  2505. "required": true
  2506. },
  2507. {
  2508. "type": "integer",
  2509. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2510. "name": "queryType",
  2511. "in": "query",
  2512. "required": true
  2513. }
  2514. ],
  2515. "responses": {
  2516. "200": {
  2517. "description": "OK",
  2518. "schema": {
  2519. "type": "array",
  2520. "items": {
  2521. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2522. }
  2523. }
  2524. },
  2525. "500": {
  2526. "description": "Internal Server Error",
  2527. "schema": {
  2528. "$ref": "#/definitions/app.Response"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "/Ermcp/QueryWrStandard": {
  2535. "get": {
  2536. "security": [
  2537. {
  2538. "ApiKeyAuth": []
  2539. }
  2540. ],
  2541. "produces": [
  2542. "application/json"
  2543. ],
  2544. "tags": [
  2545. "企业风险管理(app)"
  2546. ],
  2547. "summary": "查询现货商品",
  2548. "parameters": [
  2549. {
  2550. "type": "integer",
  2551. "description": "所属机构ID",
  2552. "name": "userid",
  2553. "in": "query",
  2554. "required": true
  2555. },
  2556. {
  2557. "type": "integer",
  2558. "description": "状态 0-停用 1-正常",
  2559. "name": "status",
  2560. "in": "query",
  2561. "required": true
  2562. }
  2563. ],
  2564. "responses": {
  2565. "200": {
  2566. "description": "OK",
  2567. "schema": {
  2568. "type": "array",
  2569. "items": {
  2570. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2571. }
  2572. }
  2573. },
  2574. "500": {
  2575. "description": "Internal Server Error",
  2576. "schema": {
  2577. "$ref": "#/definitions/app.Response"
  2578. }
  2579. }
  2580. }
  2581. }
  2582. },
  2583. "/Ermcp/QueryWrStandardDetail": {
  2584. "get": {
  2585. "security": [
  2586. {
  2587. "ApiKeyAuth": []
  2588. }
  2589. ],
  2590. "produces": [
  2591. "application/json"
  2592. ],
  2593. "tags": [
  2594. "企业风险管理(app)"
  2595. ],
  2596. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2597. "parameters": [
  2598. {
  2599. "type": "integer",
  2600. "description": "所属机构ID",
  2601. "name": "userid",
  2602. "in": "query",
  2603. "required": true
  2604. },
  2605. {
  2606. "type": "integer",
  2607. "description": "现货商品ID",
  2608. "name": "wrstandardid",
  2609. "in": "query",
  2610. "required": true
  2611. }
  2612. ],
  2613. "responses": {
  2614. "200": {
  2615. "description": "OK",
  2616. "schema": {
  2617. "type": "array",
  2618. "items": {
  2619. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2620. }
  2621. }
  2622. },
  2623. "500": {
  2624. "description": "Internal Server Error",
  2625. "schema": {
  2626. "$ref": "#/definitions/app.Response"
  2627. }
  2628. }
  2629. }
  2630. }
  2631. },
  2632. "/Erms2/QueryArbitrageStrategy": {
  2633. "get": {
  2634. "security": [
  2635. {
  2636. "ApiKeyAuth": []
  2637. }
  2638. ],
  2639. "produces": [
  2640. "application/json"
  2641. ],
  2642. "tags": [
  2643. "风险管理"
  2644. ],
  2645. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2646. "parameters": [
  2647. {
  2648. "type": "integer",
  2649. "description": "账户ID",
  2650. "name": "userid",
  2651. "in": "query",
  2652. "required": true
  2653. },
  2654. {
  2655. "type": "string",
  2656. "description": "商品组ID(品种ID)",
  2657. "name": "goodsgroupid",
  2658. "in": "query"
  2659. }
  2660. ],
  2661. "responses": {
  2662. "200": {
  2663. "description": "OK",
  2664. "schema": {
  2665. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2666. }
  2667. },
  2668. "500": {
  2669. "description": "Internal Server Error",
  2670. "schema": {
  2671. "$ref": "#/definitions/app.Response"
  2672. }
  2673. }
  2674. }
  2675. }
  2676. },
  2677. "/Erms2/QueryInnerTradeDetail": {
  2678. "get": {
  2679. "security": [
  2680. {
  2681. "ApiKeyAuth": []
  2682. }
  2683. ],
  2684. "produces": [
  2685. "application/json"
  2686. ],
  2687. "tags": [
  2688. "风险管理"
  2689. ],
  2690. "summary": "查询内部成交单信息",
  2691. "parameters": [
  2692. {
  2693. "type": "integer",
  2694. "description": "资金账户",
  2695. "name": "accountid",
  2696. "in": "query",
  2697. "required": true
  2698. }
  2699. ],
  2700. "responses": {
  2701. "200": {
  2702. "description": "OK",
  2703. "schema": {
  2704. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2705. }
  2706. },
  2707. "500": {
  2708. "description": "Internal Server Error",
  2709. "schema": {
  2710. "$ref": "#/definitions/app.Response"
  2711. }
  2712. }
  2713. }
  2714. }
  2715. },
  2716. "/Erms2/QuerySpotContract": {
  2717. "get": {
  2718. "security": [
  2719. {
  2720. "ApiKeyAuth": []
  2721. }
  2722. ],
  2723. "produces": [
  2724. "application/json"
  2725. ],
  2726. "tags": [
  2727. "风险管理"
  2728. ],
  2729. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2730. "parameters": [
  2731. {
  2732. "type": "integer",
  2733. "description": "策略申请ID",
  2734. "name": "asapplyid",
  2735. "in": "query",
  2736. "required": true
  2737. },
  2738. {
  2739. "type": "integer",
  2740. "description": "现货合同ID",
  2741. "name": "spotcontractid",
  2742. "in": "query"
  2743. }
  2744. ],
  2745. "responses": {
  2746. "200": {
  2747. "description": "OK",
  2748. "schema": {
  2749. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2750. }
  2751. },
  2752. "500": {
  2753. "description": "Internal Server Error",
  2754. "schema": {
  2755. "$ref": "#/definitions/app.Response"
  2756. }
  2757. }
  2758. }
  2759. }
  2760. },
  2761. "/Erms3/AddErms2ASApply": {
  2762. "post": {
  2763. "security": [
  2764. {
  2765. "ApiKeyAuth": []
  2766. }
  2767. ],
  2768. "produces": [
  2769. "application/json"
  2770. ],
  2771. "tags": [
  2772. "风险管理v3"
  2773. ],
  2774. "summary": "新增期现套利业务申请",
  2775. "parameters": [
  2776. {
  2777. "description": "申请参数",
  2778. "name": "jsonBody",
  2779. "in": "body",
  2780. "required": true,
  2781. "schema": {
  2782. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2783. }
  2784. }
  2785. ],
  2786. "responses": {
  2787. "200": {
  2788. "description": "OK",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. },
  2793. "500": {
  2794. "description": "Internal Server Error",
  2795. "schema": {
  2796. "$ref": "#/definitions/app.Response"
  2797. }
  2798. }
  2799. }
  2800. }
  2801. },
  2802. "/Erms3/AddErms2SpotTradeApply": {
  2803. "post": {
  2804. "security": [
  2805. {
  2806. "ApiKeyAuth": []
  2807. }
  2808. ],
  2809. "produces": [
  2810. "application/json"
  2811. ],
  2812. "tags": [
  2813. "风险管理v3"
  2814. ],
  2815. "summary": "新增现货贸易业务申请",
  2816. "parameters": [
  2817. {
  2818. "description": "申请参数",
  2819. "name": "jsonBody",
  2820. "in": "body",
  2821. "required": true,
  2822. "schema": {
  2823. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2824. }
  2825. }
  2826. ],
  2827. "responses": {
  2828. "200": {
  2829. "description": "OK",
  2830. "schema": {
  2831. "$ref": "#/definitions/app.Response"
  2832. }
  2833. },
  2834. "500": {
  2835. "description": "Internal Server Error",
  2836. "schema": {
  2837. "$ref": "#/definitions/app.Response"
  2838. }
  2839. }
  2840. }
  2841. }
  2842. },
  2843. "/Erms3/AddSpotContractApply": {
  2844. "post": {
  2845. "security": [
  2846. {
  2847. "ApiKeyAuth": []
  2848. }
  2849. ],
  2850. "produces": [
  2851. "application/json"
  2852. ],
  2853. "tags": [
  2854. "风险管理v3"
  2855. ],
  2856. "summary": "新增现货合同申请",
  2857. "parameters": [
  2858. {
  2859. "description": "申请参数",
  2860. "name": "jsonBody",
  2861. "in": "body",
  2862. "required": true,
  2863. "schema": {
  2864. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2865. }
  2866. }
  2867. ],
  2868. "responses": {
  2869. "200": {
  2870. "description": "OK",
  2871. "schema": {
  2872. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2873. }
  2874. },
  2875. "500": {
  2876. "description": "Internal Server Error",
  2877. "schema": {
  2878. "$ref": "#/definitions/app.Response"
  2879. }
  2880. }
  2881. }
  2882. }
  2883. },
  2884. "/Erms3/AddUserInfoApply": {
  2885. "post": {
  2886. "security": [
  2887. {
  2888. "ApiKeyAuth": []
  2889. }
  2890. ],
  2891. "produces": [
  2892. "application/json"
  2893. ],
  2894. "tags": [
  2895. "风险管理v3"
  2896. ],
  2897. "summary": "新增客户申请",
  2898. "parameters": [
  2899. {
  2900. "description": "用户信息",
  2901. "name": "jsonBody",
  2902. "in": "body",
  2903. "required": true,
  2904. "schema": {
  2905. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2906. }
  2907. }
  2908. ],
  2909. "responses": {
  2910. "200": {
  2911. "description": "OK",
  2912. "schema": {
  2913. "$ref": "#/definitions/app.Response"
  2914. }
  2915. },
  2916. "500": {
  2917. "description": "Internal Server Error",
  2918. "schema": {
  2919. "$ref": "#/definitions/app.Response"
  2920. }
  2921. }
  2922. }
  2923. }
  2924. },
  2925. "/Erms3/ModifyUserInfoApply": {
  2926. "post": {
  2927. "security": [
  2928. {
  2929. "ApiKeyAuth": []
  2930. }
  2931. ],
  2932. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2933. "produces": [
  2934. "application/json"
  2935. ],
  2936. "tags": [
  2937. "风险管理v3"
  2938. ],
  2939. "summary": "修改客户申请",
  2940. "parameters": [
  2941. {
  2942. "description": "用户信息",
  2943. "name": "jsonBody",
  2944. "in": "body",
  2945. "required": true,
  2946. "schema": {
  2947. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2948. }
  2949. }
  2950. ],
  2951. "responses": {
  2952. "200": {
  2953. "description": "OK",
  2954. "schema": {
  2955. "$ref": "#/definitions/app.Response"
  2956. }
  2957. },
  2958. "500": {
  2959. "description": "Internal Server Error",
  2960. "schema": {
  2961. "$ref": "#/definitions/app.Response"
  2962. }
  2963. }
  2964. }
  2965. }
  2966. },
  2967. "/Erms3/QueryBusinessInfo": {
  2968. "get": {
  2969. "security": [
  2970. {
  2971. "ApiKeyAuth": []
  2972. }
  2973. ],
  2974. "produces": [
  2975. "application/json"
  2976. ],
  2977. "tags": [
  2978. "风险管理v3"
  2979. ],
  2980. "summary": "查询业务表单数据",
  2981. "parameters": [
  2982. {
  2983. "type": "string",
  2984. "description": "资金账号ID列表,用逗号分隔",
  2985. "name": "accountids",
  2986. "in": "query",
  2987. "required": true
  2988. },
  2989. {
  2990. "type": "integer",
  2991. "description": "状态,0为未结束 1为已结束",
  2992. "name": "status",
  2993. "in": "query",
  2994. "required": true
  2995. }
  2996. ],
  2997. "responses": {
  2998. "200": {
  2999. "description": "OK",
  3000. "schema": {
  3001. "type": "array",
  3002. "items": {
  3003. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  3004. }
  3005. }
  3006. },
  3007. "500": {
  3008. "description": "Internal Server Error",
  3009. "schema": {
  3010. "$ref": "#/definitions/app.Response"
  3011. }
  3012. }
  3013. }
  3014. }
  3015. },
  3016. "/Erms3/QueryPendingAuditContract": {
  3017. "get": {
  3018. "security": [
  3019. {
  3020. "ApiKeyAuth": []
  3021. }
  3022. ],
  3023. "produces": [
  3024. "application/json"
  3025. ],
  3026. "tags": [
  3027. "风险管理v3"
  3028. ],
  3029. "summary": "查询待审核合同",
  3030. "parameters": [
  3031. {
  3032. "type": "string",
  3033. "description": "资金账号ID列表,逗号隔开",
  3034. "name": "accountids",
  3035. "in": "query",
  3036. "required": true
  3037. },
  3038. {
  3039. "type": "integer",
  3040. "description": "合同类型 1-采购 -1-销售",
  3041. "name": "contracttype",
  3042. "in": "query",
  3043. "required": true
  3044. },
  3045. {
  3046. "type": "integer",
  3047. "description": "合同模式 1-普通 2-回购",
  3048. "name": "contractmode",
  3049. "in": "query",
  3050. "required": true
  3051. }
  3052. ],
  3053. "responses": {
  3054. "200": {
  3055. "description": "OK",
  3056. "schema": {
  3057. "type": "array",
  3058. "items": {
  3059. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  3060. }
  3061. }
  3062. },
  3063. "500": {
  3064. "description": "Internal Server Error",
  3065. "schema": {
  3066. "$ref": "#/definitions/app.Response"
  3067. }
  3068. }
  3069. }
  3070. }
  3071. },
  3072. "/Erms3/QueryPendingBusiness": {
  3073. "get": {
  3074. "security": [
  3075. {
  3076. "ApiKeyAuth": []
  3077. }
  3078. ],
  3079. "produces": [
  3080. "application/json"
  3081. ],
  3082. "tags": [
  3083. "风险管理v3"
  3084. ],
  3085. "summary": "查询待审核基差贸易业务",
  3086. "parameters": [
  3087. {
  3088. "type": "string",
  3089. "description": "资金账号ID列表,逗号隔开",
  3090. "name": "accountids",
  3091. "in": "query",
  3092. "required": true
  3093. }
  3094. ],
  3095. "responses": {
  3096. "200": {
  3097. "description": "OK",
  3098. "schema": {
  3099. "type": "array",
  3100. "items": {
  3101. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  3102. }
  3103. }
  3104. },
  3105. "500": {
  3106. "description": "Internal Server Error",
  3107. "schema": {
  3108. "$ref": "#/definitions/app.Response"
  3109. }
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "/Erms3/QuerySpotContractAppleForm": {
  3115. "get": {
  3116. "security": [
  3117. {
  3118. "ApiKeyAuth": []
  3119. }
  3120. ],
  3121. "produces": [
  3122. "application/json"
  3123. ],
  3124. "tags": [
  3125. "风险管理v3"
  3126. ],
  3127. "summary": "查询合同申请表单数据",
  3128. "parameters": [
  3129. {
  3130. "type": "integer",
  3131. "description": "登录账号",
  3132. "name": "loginID",
  3133. "in": "query",
  3134. "required": true
  3135. }
  3136. ],
  3137. "responses": {
  3138. "200": {
  3139. "description": "OK",
  3140. "schema": {
  3141. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3142. }
  3143. },
  3144. "500": {
  3145. "description": "Internal Server Error",
  3146. "schema": {
  3147. "$ref": "#/definitions/app.Response"
  3148. }
  3149. }
  3150. }
  3151. }
  3152. },
  3153. "/Erms3/QuerySpotContractDetail": {
  3154. "get": {
  3155. "security": [
  3156. {
  3157. "ApiKeyAuth": []
  3158. }
  3159. ],
  3160. "produces": [
  3161. "application/json"
  3162. ],
  3163. "tags": [
  3164. "风险管理v3"
  3165. ],
  3166. "summary": "查询合同详细信息",
  3167. "parameters": [
  3168. {
  3169. "type": "string",
  3170. "description": "资金账号ID列表,用逗号分隔",
  3171. "name": "accountids",
  3172. "in": "query",
  3173. "required": true
  3174. },
  3175. {
  3176. "type": "integer",
  3177. "description": "合同类型,1为采购合同 -1为销售合同",
  3178. "name": "contracttype",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "合同模式,1为普通合同 2为回购销售合同",
  3185. "name": "contractmode",
  3186. "in": "query",
  3187. "required": true
  3188. },
  3189. {
  3190. "type": "integer",
  3191. "description": "状态,0为履约中 1为已完成",
  3192. "name": "status",
  3193. "in": "query",
  3194. "required": true
  3195. }
  3196. ],
  3197. "responses": {
  3198. "200": {
  3199. "description": "OK",
  3200. "schema": {
  3201. "type": "array",
  3202. "items": {
  3203. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3204. }
  3205. }
  3206. },
  3207. "500": {
  3208. "description": "Internal Server Error",
  3209. "schema": {
  3210. "$ref": "#/definitions/app.Response"
  3211. }
  3212. }
  3213. }
  3214. }
  3215. },
  3216. "/Erms3/QueryUserInfoApplies": {
  3217. "get": {
  3218. "security": [
  3219. {
  3220. "ApiKeyAuth": []
  3221. }
  3222. ],
  3223. "produces": [
  3224. "application/json"
  3225. ],
  3226. "tags": [
  3227. "风险管理v3"
  3228. ],
  3229. "summary": "客户申请信息查询",
  3230. "parameters": [
  3231. {
  3232. "type": "integer",
  3233. "description": "页码",
  3234. "name": "page",
  3235. "in": "query"
  3236. },
  3237. {
  3238. "type": "integer",
  3239. "description": "每页条数",
  3240. "name": "pagesize",
  3241. "in": "query"
  3242. },
  3243. {
  3244. "type": "string",
  3245. "description": "客户名称,支持模糊查询",
  3246. "name": "userName",
  3247. "in": "query"
  3248. }
  3249. ],
  3250. "responses": {
  3251. "200": {
  3252. "description": "OK",
  3253. "schema": {
  3254. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3255. }
  3256. },
  3257. "500": {
  3258. "description": "Internal Server Error",
  3259. "schema": {
  3260. "$ref": "#/definitions/app.Response"
  3261. }
  3262. }
  3263. }
  3264. }
  3265. },
  3266. "/Erms3/QueryUserInfos": {
  3267. "get": {
  3268. "security": [
  3269. {
  3270. "ApiKeyAuth": []
  3271. }
  3272. ],
  3273. "produces": [
  3274. "application/json"
  3275. ],
  3276. "tags": [
  3277. "风险管理v3"
  3278. ],
  3279. "summary": "客户信息查询",
  3280. "parameters": [
  3281. {
  3282. "type": "integer",
  3283. "description": "页码",
  3284. "name": "page",
  3285. "in": "query"
  3286. },
  3287. {
  3288. "type": "integer",
  3289. "description": "每页条数",
  3290. "name": "pagesize",
  3291. "in": "query"
  3292. },
  3293. {
  3294. "type": "string",
  3295. "description": "客户名称,支持模糊查询",
  3296. "name": "userName",
  3297. "in": "query"
  3298. }
  3299. ],
  3300. "responses": {
  3301. "200": {
  3302. "description": "OK",
  3303. "schema": {
  3304. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3305. }
  3306. },
  3307. "500": {
  3308. "description": "Internal Server Error",
  3309. "schema": {
  3310. "$ref": "#/definitions/app.Response"
  3311. }
  3312. }
  3313. }
  3314. }
  3315. },
  3316. "/HSBY/GetHsbyMyCount": {
  3317. "get": {
  3318. "security": [
  3319. {
  3320. "ApiKeyAuth": []
  3321. }
  3322. ],
  3323. "description": "说明: 不包括已完成的数量。",
  3324. "produces": [
  3325. "application/json"
  3326. ],
  3327. "tags": [
  3328. "定制【海商报业】"
  3329. ],
  3330. "summary": "获取我的订单与包裹数量",
  3331. "parameters": [
  3332. {
  3333. "type": "string",
  3334. "description": "资金账户列表,格式:1,2,3",
  3335. "name": "accountIDs",
  3336. "in": "query",
  3337. "required": true
  3338. }
  3339. ],
  3340. "responses": {
  3341. "200": {
  3342. "description": "OK",
  3343. "schema": {
  3344. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3345. }
  3346. },
  3347. "500": {
  3348. "description": "Internal Server Error",
  3349. "schema": {
  3350. "$ref": "#/definitions/app.Response"
  3351. }
  3352. }
  3353. }
  3354. }
  3355. },
  3356. "/HSBY/QueryClientFixedADConfigs": {
  3357. "get": {
  3358. "security": [
  3359. {
  3360. "ApiKeyAuth": []
  3361. }
  3362. ],
  3363. "produces": [
  3364. "application/json"
  3365. ],
  3366. "tags": [
  3367. "定制【海商报业】"
  3368. ],
  3369. "summary": "获取终端固定广告配置",
  3370. "responses": {
  3371. "200": {
  3372. "description": "OK",
  3373. "schema": {
  3374. "$ref": "#/definitions/models.Clientfixedadconfig"
  3375. }
  3376. },
  3377. "500": {
  3378. "description": "Internal Server Error",
  3379. "schema": {
  3380. "$ref": "#/definitions/app.Response"
  3381. }
  3382. }
  3383. }
  3384. }
  3385. },
  3386. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3387. "get": {
  3388. "security": [
  3389. {
  3390. "ApiKeyAuth": []
  3391. }
  3392. ],
  3393. "produces": [
  3394. "application/json"
  3395. ],
  3396. "tags": [
  3397. "定制【海商报业】"
  3398. ],
  3399. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3400. "parameters": [
  3401. {
  3402. "type": "integer",
  3403. "description": "页码",
  3404. "name": "page",
  3405. "in": "query"
  3406. },
  3407. {
  3408. "type": "integer",
  3409. "description": "每页条数",
  3410. "name": "pagesize",
  3411. "in": "query"
  3412. },
  3413. {
  3414. "type": "string",
  3415. "description": "资金账户列表,格式:1,2,3",
  3416. "name": "accountIDs",
  3417. "in": "query",
  3418. "required": true
  3419. }
  3420. ],
  3421. "responses": {
  3422. "200": {
  3423. "description": "OK",
  3424. "schema": {
  3425. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3426. }
  3427. },
  3428. "500": {
  3429. "description": "Internal Server Error",
  3430. "schema": {
  3431. "$ref": "#/definitions/app.Response"
  3432. }
  3433. }
  3434. }
  3435. }
  3436. },
  3437. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3438. "get": {
  3439. "security": [
  3440. {
  3441. "ApiKeyAuth": []
  3442. }
  3443. ],
  3444. "description": "说明:查询结果已按委托价格和委托时间排序",
  3445. "produces": [
  3446. "application/json"
  3447. ],
  3448. "tags": [
  3449. "定制【海商报业】"
  3450. ],
  3451. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3452. "parameters": [
  3453. {
  3454. "type": "integer",
  3455. "description": "商品ID",
  3456. "name": "goodsID",
  3457. "in": "query",
  3458. "required": true
  3459. },
  3460. {
  3461. "type": "string",
  3462. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3463. "name": "accountIDs",
  3464. "in": "query"
  3465. },
  3466. {
  3467. "type": "integer",
  3468. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3469. "name": "buyOrSell",
  3470. "in": "query"
  3471. },
  3472. {
  3473. "type": "number",
  3474. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3475. "name": "price",
  3476. "in": "query"
  3477. },
  3478. {
  3479. "type": "integer",
  3480. "description": "档位,不传则默认为3档",
  3481. "name": "speed",
  3482. "in": "query"
  3483. }
  3484. ],
  3485. "responses": {
  3486. "200": {
  3487. "description": "OK",
  3488. "schema": {
  3489. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3490. }
  3491. },
  3492. "500": {
  3493. "description": "Internal Server Error",
  3494. "schema": {
  3495. "$ref": "#/definitions/app.Response"
  3496. }
  3497. }
  3498. }
  3499. }
  3500. },
  3501. "/HSBY/QueryHsbyListingGoodsDetail": {
  3502. "get": {
  3503. "security": [
  3504. {
  3505. "ApiKeyAuth": []
  3506. }
  3507. ],
  3508. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3509. "produces": [
  3510. "application/json"
  3511. ],
  3512. "tags": [
  3513. "定制【海商报业】"
  3514. ],
  3515. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3516. "parameters": [
  3517. {
  3518. "type": "integer",
  3519. "description": "商品ID",
  3520. "name": "goodsID",
  3521. "in": "query",
  3522. "required": true
  3523. },
  3524. {
  3525. "type": "integer",
  3526. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3527. "name": "accountID",
  3528. "in": "query"
  3529. }
  3530. ],
  3531. "responses": {
  3532. "200": {
  3533. "description": "OK",
  3534. "schema": {
  3535. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3536. }
  3537. },
  3538. "500": {
  3539. "description": "Internal Server Error",
  3540. "schema": {
  3541. "$ref": "#/definitions/app.Response"
  3542. }
  3543. }
  3544. }
  3545. }
  3546. },
  3547. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3548. "get": {
  3549. "security": [
  3550. {
  3551. "ApiKeyAuth": []
  3552. }
  3553. ],
  3554. "produces": [
  3555. "application/json"
  3556. ],
  3557. "tags": [
  3558. "定制【海商报业】"
  3559. ],
  3560. "summary": "查询三级市场(商城)商品信息详情",
  3561. "parameters": [
  3562. {
  3563. "type": "integer",
  3564. "description": "委托单号",
  3565. "name": "orderID",
  3566. "in": "query",
  3567. "required": true
  3568. },
  3569. {
  3570. "type": "integer",
  3571. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3572. "name": "accountID",
  3573. "in": "query"
  3574. }
  3575. ],
  3576. "responses": {
  3577. "200": {
  3578. "description": "OK",
  3579. "schema": {
  3580. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3581. }
  3582. },
  3583. "500": {
  3584. "description": "Internal Server Error",
  3585. "schema": {
  3586. "$ref": "#/definitions/app.Response"
  3587. }
  3588. }
  3589. }
  3590. }
  3591. },
  3592. "/HSBY/QueryHsbyMarketGoodses": {
  3593. "get": {
  3594. "security": [
  3595. {
  3596. "ApiKeyAuth": []
  3597. }
  3598. ],
  3599. "produces": [
  3600. "application/json"
  3601. ],
  3602. "tags": [
  3603. "定制【海商报业】"
  3604. ],
  3605. "summary": "查询特卖商品列表(三级商城)",
  3606. "parameters": [
  3607. {
  3608. "type": "integer",
  3609. "description": "页码",
  3610. "name": "page",
  3611. "in": "query"
  3612. },
  3613. {
  3614. "type": "integer",
  3615. "description": "每页条数",
  3616. "name": "pagesize",
  3617. "in": "query"
  3618. },
  3619. {
  3620. "type": "string",
  3621. "description": "市场ID列表,格式:1,2,3",
  3622. "name": "marketIDs",
  3623. "in": "query",
  3624. "required": true
  3625. },
  3626. {
  3627. "type": "integer",
  3628. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3629. "name": "accountID",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "类别ID",
  3636. "name": "categoryID",
  3637. "in": "query"
  3638. },
  3639. {
  3640. "type": "string",
  3641. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3642. "name": "goodsIDs",
  3643. "in": "query"
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3648. "name": "couponTypeID",
  3649. "in": "query"
  3650. }
  3651. ],
  3652. "responses": {
  3653. "200": {
  3654. "description": "OK",
  3655. "schema": {
  3656. "$ref": "#/definitions/models.HsbyMarketGoods"
  3657. }
  3658. },
  3659. "500": {
  3660. "description": "Internal Server Error",
  3661. "schema": {
  3662. "$ref": "#/definitions/app.Response"
  3663. }
  3664. }
  3665. }
  3666. }
  3667. },
  3668. "/HSBY/QueryHsbyMarkets": {
  3669. "get": {
  3670. "security": [
  3671. {
  3672. "ApiKeyAuth": []
  3673. }
  3674. ],
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "定制【海商报业】"
  3680. ],
  3681. "summary": "查询海商报业相关市场信息",
  3682. "responses": {
  3683. "200": {
  3684. "description": "OK",
  3685. "schema": {
  3686. "$ref": "#/definitions/models.HsbyMarketInfo"
  3687. }
  3688. },
  3689. "500": {
  3690. "description": "Internal Server Error",
  3691. "schema": {
  3692. "$ref": "#/definitions/app.Response"
  3693. }
  3694. }
  3695. }
  3696. }
  3697. },
  3698. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3699. "get": {
  3700. "security": [
  3701. {
  3702. "ApiKeyAuth": []
  3703. }
  3704. ],
  3705. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3706. "produces": [
  3707. "application/json"
  3708. ],
  3709. "tags": [
  3710. "定制【海商报业】"
  3711. ],
  3712. "summary": "查询“我的订单”信息",
  3713. "parameters": [
  3714. {
  3715. "type": "string",
  3716. "description": "资金账户列表,格式:1,2,3",
  3717. "name": "accountIDs",
  3718. "in": "query",
  3719. "required": true
  3720. }
  3721. ],
  3722. "responses": {
  3723. "200": {
  3724. "description": "OK",
  3725. "schema": {
  3726. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3727. }
  3728. },
  3729. "500": {
  3730. "description": "Internal Server Error",
  3731. "schema": {
  3732. "$ref": "#/definitions/app.Response"
  3733. }
  3734. }
  3735. }
  3736. }
  3737. },
  3738. "/HSBY/QueryHsbyMyGoods": {
  3739. "get": {
  3740. "security": [
  3741. {
  3742. "ApiKeyAuth": []
  3743. }
  3744. ],
  3745. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3746. "produces": [
  3747. "application/json"
  3748. ],
  3749. "tags": [
  3750. "定制【海商报业】"
  3751. ],
  3752. "summary": "查询“我的商品”信息",
  3753. "parameters": [
  3754. {
  3755. "type": "string",
  3756. "description": "资金账户列表,格式:1,2,3",
  3757. "name": "accountIDs",
  3758. "in": "query",
  3759. "required": true
  3760. }
  3761. ],
  3762. "responses": {
  3763. "200": {
  3764. "description": "OK",
  3765. "schema": {
  3766. "$ref": "#/definitions/models.HsbyMyGoods"
  3767. }
  3768. },
  3769. "500": {
  3770. "description": "Internal Server Error",
  3771. "schema": {
  3772. "$ref": "#/definitions/app.Response"
  3773. }
  3774. }
  3775. }
  3776. }
  3777. },
  3778. "/HSBY/QueryHsbyMyPackages": {
  3779. "get": {
  3780. "security": [
  3781. {
  3782. "ApiKeyAuth": []
  3783. }
  3784. ],
  3785. "produces": [
  3786. "application/json"
  3787. ],
  3788. "tags": [
  3789. "定制【海商报业】"
  3790. ],
  3791. "summary": "查询我的包裹信息",
  3792. "parameters": [
  3793. {
  3794. "type": "string",
  3795. "description": "资金账户列表,格式:1,2,3",
  3796. "name": "accountIDs",
  3797. "in": "query",
  3798. "required": true
  3799. },
  3800. {
  3801. "type": "integer",
  3802. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3803. "name": "takeOrderStatus",
  3804. "in": "query"
  3805. }
  3806. ],
  3807. "responses": {
  3808. "200": {
  3809. "description": "OK",
  3810. "schema": {
  3811. "$ref": "#/definitions/models.HsbyMyPackage"
  3812. }
  3813. },
  3814. "500": {
  3815. "description": "Internal Server Error",
  3816. "schema": {
  3817. "$ref": "#/definitions/app.Response"
  3818. }
  3819. }
  3820. }
  3821. }
  3822. },
  3823. "/HSBY/QueryHsbyPreGoodsDetail": {
  3824. "get": {
  3825. "security": [
  3826. {
  3827. "ApiKeyAuth": []
  3828. }
  3829. ],
  3830. "produces": [
  3831. "application/json"
  3832. ],
  3833. "tags": [
  3834. "定制【海商报业】"
  3835. ],
  3836. "summary": "查询一级市场(预售)商品信息详情",
  3837. "parameters": [
  3838. {
  3839. "type": "integer",
  3840. "description": "商品ID",
  3841. "name": "goodsID",
  3842. "in": "query",
  3843. "required": true
  3844. },
  3845. {
  3846. "type": "integer",
  3847. "description": "资金账户,主要用于获取预售商品购买上限",
  3848. "name": "accountID",
  3849. "in": "query"
  3850. }
  3851. ],
  3852. "responses": {
  3853. "200": {
  3854. "description": "OK",
  3855. "schema": {
  3856. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3857. }
  3858. },
  3859. "500": {
  3860. "description": "Internal Server Error",
  3861. "schema": {
  3862. "$ref": "#/definitions/app.Response"
  3863. }
  3864. }
  3865. }
  3866. }
  3867. },
  3868. "/HSBY/QueryHsbyPreGoodses": {
  3869. "get": {
  3870. "security": [
  3871. {
  3872. "ApiKeyAuth": []
  3873. }
  3874. ],
  3875. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3876. "produces": [
  3877. "application/json"
  3878. ],
  3879. "tags": [
  3880. "定制【海商报业】"
  3881. ],
  3882. "summary": "查询新品上市商品列表(一级市场预售)",
  3883. "parameters": [
  3884. {
  3885. "type": "integer",
  3886. "description": "页码",
  3887. "name": "page",
  3888. "in": "query"
  3889. },
  3890. {
  3891. "type": "integer",
  3892. "description": "每页条数",
  3893. "name": "pagesize",
  3894. "in": "query"
  3895. },
  3896. {
  3897. "type": "string",
  3898. "description": "市场ID列表,格式:1,2,3",
  3899. "name": "marketIDs",
  3900. "in": "query",
  3901. "required": true
  3902. },
  3903. {
  3904. "type": "integer",
  3905. "description": "目的地(省)ID",
  3906. "name": "descProvinceID",
  3907. "in": "query"
  3908. },
  3909. {
  3910. "type": "integer",
  3911. "description": "目的地(市)ID",
  3912. "name": "descCityID",
  3913. "in": "query"
  3914. }
  3915. ],
  3916. "responses": {
  3917. "200": {
  3918. "description": "OK",
  3919. "schema": {
  3920. "$ref": "#/definitions/models.HsbyPreGoods"
  3921. }
  3922. },
  3923. "500": {
  3924. "description": "Internal Server Error",
  3925. "schema": {
  3926. "$ref": "#/definitions/app.Response"
  3927. }
  3928. }
  3929. }
  3930. }
  3931. },
  3932. "/HSBY/QueryHsbySellMyDetails": {
  3933. "get": {
  3934. "security": [
  3935. {
  3936. "ApiKeyAuth": []
  3937. }
  3938. ],
  3939. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3940. "produces": [
  3941. "application/json"
  3942. ],
  3943. "tags": [
  3944. "定制【海商报业】"
  3945. ],
  3946. "summary": "查询\"我的闲置\"单据信息",
  3947. "parameters": [
  3948. {
  3949. "type": "integer",
  3950. "description": "页码",
  3951. "name": "page",
  3952. "in": "query"
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "每页条数",
  3957. "name": "pagesize",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "资金账户列表,格式:1,2,3",
  3963. "name": "accountIDs",
  3964. "in": "query",
  3965. "required": true
  3966. },
  3967. {
  3968. "type": "integer",
  3969. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3970. "name": "orderType",
  3971. "in": "query"
  3972. }
  3973. ],
  3974. "responses": {
  3975. "200": {
  3976. "description": "OK",
  3977. "schema": {
  3978. "$ref": "#/definitions/models.HsbySellMyDetail"
  3979. }
  3980. },
  3981. "500": {
  3982. "description": "Internal Server Error",
  3983. "schema": {
  3984. "$ref": "#/definitions/app.Response"
  3985. }
  3986. }
  3987. }
  3988. }
  3989. },
  3990. "/HSBY/QueryHsbyTopGoodses": {
  3991. "get": {
  3992. "security": [
  3993. {
  3994. "ApiKeyAuth": []
  3995. }
  3996. ],
  3997. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3998. "produces": [
  3999. "application/json"
  4000. ],
  4001. "tags": [
  4002. "定制【海商报业】"
  4003. ],
  4004. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  4005. "parameters": [
  4006. {
  4007. "type": "integer",
  4008. "description": "页码",
  4009. "name": "page",
  4010. "in": "query"
  4011. },
  4012. {
  4013. "type": "integer",
  4014. "description": "每页条数",
  4015. "name": "pagesize",
  4016. "in": "query"
  4017. },
  4018. {
  4019. "type": "string",
  4020. "description": "市场ID列表,格式:1,2,3",
  4021. "name": "marketIDs",
  4022. "in": "query",
  4023. "required": true
  4024. },
  4025. {
  4026. "type": "integer",
  4027. "description": "目的地(省)ID",
  4028. "name": "descProvinceID",
  4029. "in": "query"
  4030. },
  4031. {
  4032. "type": "integer",
  4033. "description": "目的地(市)ID",
  4034. "name": "descCityID",
  4035. "in": "query"
  4036. }
  4037. ],
  4038. "responses": {
  4039. "200": {
  4040. "description": "OK",
  4041. "schema": {
  4042. "$ref": "#/definitions/models.HsbyTopGoods"
  4043. }
  4044. },
  4045. "500": {
  4046. "description": "Internal Server Error",
  4047. "schema": {
  4048. "$ref": "#/definitions/app.Response"
  4049. }
  4050. }
  4051. }
  4052. }
  4053. },
  4054. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  4055. "get": {
  4056. "security": [
  4057. {
  4058. "ApiKeyAuth": []
  4059. }
  4060. ],
  4061. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  4062. "produces": [
  4063. "application/json"
  4064. ],
  4065. "tags": [
  4066. "定制【海商报业】"
  4067. ],
  4068. "summary": "查询游客三级市场(商城)商品信息详情",
  4069. "parameters": [
  4070. {
  4071. "type": "integer",
  4072. "description": "商品ID",
  4073. "name": "goodsID",
  4074. "in": "query",
  4075. "required": true
  4076. }
  4077. ],
  4078. "responses": {
  4079. "200": {
  4080. "description": "OK",
  4081. "schema": {
  4082. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4083. }
  4084. },
  4085. "500": {
  4086. "description": "Internal Server Error",
  4087. "schema": {
  4088. "$ref": "#/definitions/app.Response"
  4089. }
  4090. }
  4091. }
  4092. }
  4093. },
  4094. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  4095. "get": {
  4096. "security": [
  4097. {
  4098. "ApiKeyAuth": []
  4099. }
  4100. ],
  4101. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  4102. "produces": [
  4103. "application/json"
  4104. ],
  4105. "tags": [
  4106. "定制【海商报业】"
  4107. ],
  4108. "summary": "查询游客特卖商品列表(三级商城)",
  4109. "parameters": [
  4110. {
  4111. "type": "integer",
  4112. "description": "页码",
  4113. "name": "page",
  4114. "in": "query"
  4115. },
  4116. {
  4117. "type": "integer",
  4118. "description": "每页条数",
  4119. "name": "pagesize",
  4120. "in": "query"
  4121. },
  4122. {
  4123. "type": "string",
  4124. "description": "市场ID列表,格式:1,2,3",
  4125. "name": "marketIDs",
  4126. "in": "query",
  4127. "required": true
  4128. },
  4129. {
  4130. "type": "integer",
  4131. "description": "类别ID",
  4132. "name": "categoryID",
  4133. "in": "query"
  4134. },
  4135. {
  4136. "type": "string",
  4137. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4138. "name": "goodsIDs",
  4139. "in": "query"
  4140. }
  4141. ],
  4142. "responses": {
  4143. "200": {
  4144. "description": "OK",
  4145. "schema": {
  4146. "$ref": "#/definitions/models.HsbyMarketGoods"
  4147. }
  4148. },
  4149. "500": {
  4150. "description": "Internal Server Error",
  4151. "schema": {
  4152. "$ref": "#/definitions/app.Response"
  4153. }
  4154. }
  4155. }
  4156. }
  4157. },
  4158. "/HSBY/QueryMyCollectionOrders": {
  4159. "get": {
  4160. "security": [
  4161. {
  4162. "ApiKeyAuth": []
  4163. }
  4164. ],
  4165. "produces": [
  4166. "application/json"
  4167. ],
  4168. "tags": [
  4169. "定制【海商报业】"
  4170. ],
  4171. "summary": "我的闲置中收款信息查询",
  4172. "parameters": [
  4173. {
  4174. "type": "integer",
  4175. "description": "页码",
  4176. "name": "page",
  4177. "in": "query"
  4178. },
  4179. {
  4180. "type": "integer",
  4181. "description": "每页条数",
  4182. "name": "pagesize",
  4183. "in": "query"
  4184. },
  4185. {
  4186. "type": "string",
  4187. "description": "资金账户,格式:1,2,3",
  4188. "name": "accountIDs",
  4189. "in": "query",
  4190. "required": true
  4191. }
  4192. ],
  4193. "responses": {
  4194. "200": {
  4195. "description": "OK",
  4196. "schema": {
  4197. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4198. }
  4199. },
  4200. "500": {
  4201. "description": "Internal Server Error",
  4202. "schema": {
  4203. "$ref": "#/definitions/app.Response"
  4204. }
  4205. }
  4206. }
  4207. }
  4208. },
  4209. "/HSBY/QueryMyCouponHolds": {
  4210. "get": {
  4211. "security": [
  4212. {
  4213. "ApiKeyAuth": []
  4214. }
  4215. ],
  4216. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4217. "produces": [
  4218. "application/json"
  4219. ],
  4220. "tags": [
  4221. "定制【海商报业】"
  4222. ],
  4223. "summary": "我的优惠卷持仓查询",
  4224. "parameters": [
  4225. {
  4226. "type": "string",
  4227. "description": "资金账户列表,格式:1,2,3",
  4228. "name": "accountIDs",
  4229. "in": "query",
  4230. "required": true
  4231. },
  4232. {
  4233. "type": "string",
  4234. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4235. "name": "holdStatus",
  4236. "in": "query"
  4237. }
  4238. ],
  4239. "responses": {
  4240. "200": {
  4241. "description": "OK",
  4242. "schema": {
  4243. "$ref": "#/definitions/models.MyCouponHold"
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/HSBY/QueryMyCoupons": {
  4256. "get": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "produces": [
  4263. "application/json"
  4264. ],
  4265. "tags": [
  4266. "定制【海商报业】"
  4267. ],
  4268. "summary": "我的优惠卷查询",
  4269. "parameters": [
  4270. {
  4271. "type": "string",
  4272. "description": "资金账户列表,格式:1,2,3",
  4273. "name": "accountIDs",
  4274. "in": "query",
  4275. "required": true
  4276. },
  4277. {
  4278. "type": "integer",
  4279. "description": "商品ID, 一般与sellUserID配套传入",
  4280. "name": "goodsID",
  4281. "in": "query"
  4282. },
  4283. {
  4284. "type": "integer",
  4285. "description": "卖方UserID",
  4286. "name": "sellUserID",
  4287. "in": "query"
  4288. }
  4289. ],
  4290. "responses": {
  4291. "200": {
  4292. "description": "OK",
  4293. "schema": {
  4294. "$ref": "#/definitions/models.MyCoupon"
  4295. }
  4296. },
  4297. "500": {
  4298. "description": "Internal Server Error",
  4299. "schema": {
  4300. "$ref": "#/definitions/app.Response"
  4301. }
  4302. }
  4303. }
  4304. }
  4305. },
  4306. "/HSBY/QueryMyPayOrders": {
  4307. "get": {
  4308. "security": [
  4309. {
  4310. "ApiKeyAuth": []
  4311. }
  4312. ],
  4313. "produces": [
  4314. "application/json"
  4315. ],
  4316. "tags": [
  4317. "定制【海商报业】"
  4318. ],
  4319. "summary": "获取我的订单中待付款信息",
  4320. "parameters": [
  4321. {
  4322. "type": "integer",
  4323. "description": "页码",
  4324. "name": "page",
  4325. "in": "query"
  4326. },
  4327. {
  4328. "type": "integer",
  4329. "description": "每页条数",
  4330. "name": "pagesize",
  4331. "in": "query"
  4332. },
  4333. {
  4334. "type": "string",
  4335. "description": "资金账户列表,格式:1,2,3",
  4336. "name": "accountIDs",
  4337. "in": "query",
  4338. "required": true
  4339. },
  4340. {
  4341. "type": "integer",
  4342. "description": "买方委托单号",
  4343. "name": "buyOrderID",
  4344. "in": "query"
  4345. },
  4346. {
  4347. "type": "integer",
  4348. "description": "卖方委托单号",
  4349. "name": "sellOrderID",
  4350. "in": "query"
  4351. }
  4352. ],
  4353. "responses": {
  4354. "200": {
  4355. "description": "OK",
  4356. "schema": {
  4357. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4358. }
  4359. },
  4360. "500": {
  4361. "description": "Internal Server Error",
  4362. "schema": {
  4363. "$ref": "#/definitions/app.Response"
  4364. }
  4365. }
  4366. }
  4367. }
  4368. },
  4369. "/HSBY/QueryMyUsedCoupon": {
  4370. "get": {
  4371. "security": [
  4372. {
  4373. "ApiKeyAuth": []
  4374. }
  4375. ],
  4376. "produces": [
  4377. "application/json"
  4378. ],
  4379. "tags": [
  4380. "定制【海商报业】"
  4381. ],
  4382. "summary": "已使用优惠卷查询",
  4383. "parameters": [
  4384. {
  4385. "type": "string",
  4386. "description": "资金账户列表,格式:1,2,3",
  4387. "name": "accountIDs",
  4388. "in": "query",
  4389. "required": true
  4390. }
  4391. ],
  4392. "responses": {
  4393. "200": {
  4394. "description": "OK",
  4395. "schema": {
  4396. "$ref": "#/definitions/models.MyUsedCoupon"
  4397. }
  4398. },
  4399. "500": {
  4400. "description": "Internal Server Error",
  4401. "schema": {
  4402. "$ref": "#/definitions/app.Response"
  4403. }
  4404. }
  4405. }
  4406. }
  4407. },
  4408. "/HSBY/QueryProvincesAndCities": {
  4409. "get": {
  4410. "security": [
  4411. {
  4412. "ApiKeyAuth": []
  4413. }
  4414. ],
  4415. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4416. "produces": [
  4417. "application/json"
  4418. ],
  4419. "tags": [
  4420. "定制【海商报业】"
  4421. ],
  4422. "summary": "查询省市信息(不包括区)",
  4423. "parameters": [
  4424. {
  4425. "type": "integer",
  4426. "description": "省ID",
  4427. "name": "provinceID",
  4428. "in": "query"
  4429. }
  4430. ],
  4431. "responses": {
  4432. "200": {
  4433. "description": "OK",
  4434. "schema": {
  4435. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4436. }
  4437. },
  4438. "500": {
  4439. "description": "Internal Server Error",
  4440. "schema": {
  4441. "$ref": "#/definitions/app.Response"
  4442. }
  4443. }
  4444. }
  4445. }
  4446. },
  4447. "/HSBY/SetHsbyMyPackagesStatus": {
  4448. "post": {
  4449. "security": [
  4450. {
  4451. "ApiKeyAuth": []
  4452. }
  4453. ],
  4454. "produces": [
  4455. "application/json"
  4456. ],
  4457. "tags": [
  4458. "定制【海商报业】"
  4459. ],
  4460. "summary": "设置我的包裹已收货状态",
  4461. "parameters": [
  4462. {
  4463. "type": "string",
  4464. "description": "提货单号",
  4465. "name": "takeOrderID",
  4466. "in": "query",
  4467. "required": true
  4468. },
  4469. {
  4470. "type": "integer",
  4471. "description": "资金账号",
  4472. "name": "accountID",
  4473. "in": "query",
  4474. "required": true
  4475. }
  4476. ],
  4477. "responses": {
  4478. "200": {
  4479. "description": "OK",
  4480. "schema": {
  4481. "$ref": "#/definitions/app.Response"
  4482. }
  4483. },
  4484. "500": {
  4485. "description": "Internal Server Error",
  4486. "schema": {
  4487. "$ref": "#/definitions/app.Response"
  4488. }
  4489. }
  4490. }
  4491. }
  4492. },
  4493. "/Market/QueryGoodsesByLoginID": {
  4494. "get": {
  4495. "security": [
  4496. {
  4497. "ApiKeyAuth": []
  4498. }
  4499. ],
  4500. "produces": [
  4501. "application/json"
  4502. ],
  4503. "tags": [
  4504. "通用市场"
  4505. ],
  4506. "summary": "获取登录账号有权限的商品信息",
  4507. "parameters": [
  4508. {
  4509. "type": "integer",
  4510. "description": "登录账号",
  4511. "name": "loginID",
  4512. "in": "query",
  4513. "required": true
  4514. },
  4515. {
  4516. "type": "string",
  4517. "description": "市场ID列表,格式:1,2,3",
  4518. "name": "marketIDs",
  4519. "in": "query"
  4520. }
  4521. ],
  4522. "responses": {
  4523. "200": {
  4524. "description": "OK",
  4525. "schema": {
  4526. "$ref": "#/definitions/models.Goods"
  4527. }
  4528. },
  4529. "500": {
  4530. "description": "Internal Server Error",
  4531. "schema": {
  4532. "$ref": "#/definitions/app.Response"
  4533. }
  4534. }
  4535. }
  4536. }
  4537. },
  4538. "/Market/QueryMarketRun": {
  4539. "get": {
  4540. "security": [
  4541. {
  4542. "ApiKeyAuth": []
  4543. }
  4544. ],
  4545. "produces": [
  4546. "application/json"
  4547. ],
  4548. "tags": [
  4549. "通用市场"
  4550. ],
  4551. "summary": "查询市场运行信息",
  4552. "parameters": [
  4553. {
  4554. "type": "integer",
  4555. "description": "市场ID,不传返回所有",
  4556. "name": "marketID",
  4557. "in": "query"
  4558. }
  4559. ],
  4560. "responses": {
  4561. "200": {
  4562. "description": "OK",
  4563. "schema": {
  4564. "$ref": "#/definitions/models.Marketrun"
  4565. }
  4566. },
  4567. "500": {
  4568. "description": "Internal Server Error",
  4569. "schema": {
  4570. "$ref": "#/definitions/app.Response"
  4571. }
  4572. }
  4573. }
  4574. }
  4575. },
  4576. "/Market/QueryMarketsByLoginID": {
  4577. "get": {
  4578. "security": [
  4579. {
  4580. "ApiKeyAuth": []
  4581. }
  4582. ],
  4583. "produces": [
  4584. "application/json"
  4585. ],
  4586. "tags": [
  4587. "通用市场"
  4588. ],
  4589. "summary": "获取登录账号有权限的市场信息",
  4590. "parameters": [
  4591. {
  4592. "type": "integer",
  4593. "description": "登录账号",
  4594. "name": "loginID",
  4595. "in": "query",
  4596. "required": true
  4597. }
  4598. ],
  4599. "responses": {
  4600. "200": {
  4601. "description": "OK",
  4602. "schema": {
  4603. "$ref": "#/definitions/models.Market"
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Order/QueryHisTradeDetail": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "通用单据"
  4627. ],
  4628. "summary": "历史成交单查询(合约市场)",
  4629. "parameters": [
  4630. {
  4631. "type": "string",
  4632. "description": "资金账户 - 格式:1,2,3",
  4633. "name": "accountID",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "成交单号",
  4640. "name": "tradeID",
  4641. "in": "query"
  4642. },
  4643. {
  4644. "type": "integer",
  4645. "description": "委托单号",
  4646. "name": "orderID",
  4647. "in": "query"
  4648. },
  4649. {
  4650. "type": "string",
  4651. "description": "交易模式 - 格式:1,2,3",
  4652. "name": "tradeMode",
  4653. "in": "query"
  4654. },
  4655. {
  4656. "type": "integer",
  4657. "description": "委托单据类型",
  4658. "name": "buildType",
  4659. "in": "query"
  4660. },
  4661. {
  4662. "type": "string",
  4663. "description": "成交类别 - 格式:1,2,3",
  4664. "name": "tradeType",
  4665. "in": "query"
  4666. },
  4667. {
  4668. "type": "string",
  4669. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4670. "name": "startDate",
  4671. "in": "query"
  4672. },
  4673. {
  4674. "type": "string",
  4675. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4676. "name": "endDate",
  4677. "in": "query"
  4678. }
  4679. ],
  4680. "responses": {
  4681. "200": {
  4682. "description": "OK",
  4683. "schema": {
  4684. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4685. }
  4686. },
  4687. "500": {
  4688. "description": "Internal Server Error",
  4689. "schema": {
  4690. "$ref": "#/definitions/app.Response"
  4691. }
  4692. }
  4693. }
  4694. }
  4695. },
  4696. "/Order/QueryHisTradeOrderDetail": {
  4697. "get": {
  4698. "security": [
  4699. {
  4700. "ApiKeyAuth": []
  4701. }
  4702. ],
  4703. "produces": [
  4704. "application/json"
  4705. ],
  4706. "tags": [
  4707. "通用单据"
  4708. ],
  4709. "summary": "历史委托单查询请求(合约市场)",
  4710. "parameters": [
  4711. {
  4712. "type": "string",
  4713. "description": "资金账户 - 格式:1,2,3",
  4714. "name": "accountID",
  4715. "in": "query",
  4716. "required": true
  4717. },
  4718. {
  4719. "type": "string",
  4720. "description": "交易模式 - 格式:1,2,3",
  4721. "name": "tradeMode",
  4722. "in": "query"
  4723. },
  4724. {
  4725. "type": "string",
  4726. "description": "委托状态 - 格式:1,2,3",
  4727. "name": "orderStatus",
  4728. "in": "query"
  4729. },
  4730. {
  4731. "type": "integer",
  4732. "description": "委托单号",
  4733. "name": "orderID",
  4734. "in": "query"
  4735. },
  4736. {
  4737. "type": "string",
  4738. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4739. "name": "startDate",
  4740. "in": "query"
  4741. },
  4742. {
  4743. "type": "string",
  4744. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4745. "name": "endDate",
  4746. "in": "query"
  4747. }
  4748. ],
  4749. "responses": {
  4750. "200": {
  4751. "description": "OK",
  4752. "schema": {
  4753. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4754. }
  4755. },
  4756. "500": {
  4757. "description": "Internal Server Error",
  4758. "schema": {
  4759. "$ref": "#/definitions/app.Response"
  4760. }
  4761. }
  4762. }
  4763. }
  4764. },
  4765. "/Order/QueryTradeDetail": {
  4766. "get": {
  4767. "security": [
  4768. {
  4769. "ApiKeyAuth": []
  4770. }
  4771. ],
  4772. "produces": [
  4773. "application/json"
  4774. ],
  4775. "tags": [
  4776. "通用单据"
  4777. ],
  4778. "summary": "成交单查询(合约市场)",
  4779. "parameters": [
  4780. {
  4781. "type": "string",
  4782. "description": "资金账户 - 格式:1,2,3",
  4783. "name": "accountID",
  4784. "in": "query",
  4785. "required": true
  4786. },
  4787. {
  4788. "type": "integer",
  4789. "description": "成交单号",
  4790. "name": "tradeID",
  4791. "in": "query"
  4792. },
  4793. {
  4794. "type": "integer",
  4795. "description": "委托单号",
  4796. "name": "orderID",
  4797. "in": "query"
  4798. },
  4799. {
  4800. "type": "string",
  4801. "description": "交易模式 - 格式:1,2,3",
  4802. "name": "tradeMode",
  4803. "in": "query"
  4804. },
  4805. {
  4806. "type": "integer",
  4807. "description": "委托单据类型",
  4808. "name": "buildType",
  4809. "in": "query"
  4810. },
  4811. {
  4812. "type": "string",
  4813. "description": "成交类别 - 格式:1,2,3",
  4814. "name": "tradeType",
  4815. "in": "query"
  4816. }
  4817. ],
  4818. "responses": {
  4819. "200": {
  4820. "description": "OK",
  4821. "schema": {
  4822. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4823. }
  4824. },
  4825. "500": {
  4826. "description": "Internal Server Error",
  4827. "schema": {
  4828. "$ref": "#/definitions/app.Response"
  4829. }
  4830. }
  4831. }
  4832. }
  4833. },
  4834. "/Order/QueryTradeOrderDetail": {
  4835. "get": {
  4836. "security": [
  4837. {
  4838. "ApiKeyAuth": []
  4839. }
  4840. ],
  4841. "produces": [
  4842. "application/json"
  4843. ],
  4844. "tags": [
  4845. "通用单据"
  4846. ],
  4847. "summary": "委托单查询请求(合约市场)",
  4848. "parameters": [
  4849. {
  4850. "type": "string",
  4851. "description": "资金账户 - 格式:1,2,3",
  4852. "name": "accountID",
  4853. "in": "query",
  4854. "required": true
  4855. },
  4856. {
  4857. "type": "string",
  4858. "description": "交易模式 - 格式:1,2,3",
  4859. "name": "tradeMode",
  4860. "in": "query"
  4861. },
  4862. {
  4863. "type": "string",
  4864. "description": "委托状态 - 格式:1,2,3",
  4865. "name": "orderStatus",
  4866. "in": "query"
  4867. },
  4868. {
  4869. "type": "integer",
  4870. "description": "委托单号",
  4871. "name": "orderID",
  4872. "in": "query"
  4873. }
  4874. ],
  4875. "responses": {
  4876. "200": {
  4877. "description": "OK",
  4878. "schema": {
  4879. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4880. }
  4881. },
  4882. "500": {
  4883. "description": "Internal Server Error",
  4884. "schema": {
  4885. "$ref": "#/definitions/app.Response"
  4886. }
  4887. }
  4888. }
  4889. }
  4890. },
  4891. "/Order/QueryTradePosition": {
  4892. "get": {
  4893. "security": [
  4894. {
  4895. "ApiKeyAuth": []
  4896. }
  4897. ],
  4898. "produces": [
  4899. "application/json"
  4900. ],
  4901. "tags": [
  4902. "通用单据"
  4903. ],
  4904. "summary": "持仓汇总查询(合约市场)",
  4905. "parameters": [
  4906. {
  4907. "type": "string",
  4908. "description": "资金账户 - 格式:1,2,3",
  4909. "name": "accountID",
  4910. "in": "query",
  4911. "required": true
  4912. },
  4913. {
  4914. "type": "string",
  4915. "description": "交易模式 - 格式:1,2,3",
  4916. "name": "tradeMode",
  4917. "in": "query"
  4918. }
  4919. ],
  4920. "responses": {
  4921. "200": {
  4922. "description": "OK",
  4923. "schema": {
  4924. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4925. }
  4926. },
  4927. "500": {
  4928. "description": "Internal Server Error",
  4929. "schema": {
  4930. "$ref": "#/definitions/app.Response"
  4931. }
  4932. }
  4933. }
  4934. }
  4935. },
  4936. "/Quote/QueryHistoryDatas": {
  4937. "get": {
  4938. "security": [
  4939. {
  4940. "ApiKeyAuth": []
  4941. }
  4942. ],
  4943. "produces": [
  4944. "application/json"
  4945. ],
  4946. "tags": [
  4947. "行情服务"
  4948. ],
  4949. "summary": "查询行情历史数据",
  4950. "parameters": [
  4951. {
  4952. "type": "integer",
  4953. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4954. "name": "cycleType",
  4955. "in": "query",
  4956. "required": true
  4957. },
  4958. {
  4959. "type": "string",
  4960. "description": "商品代码",
  4961. "name": "goodsCode",
  4962. "in": "query",
  4963. "required": true
  4964. },
  4965. {
  4966. "type": "string",
  4967. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4968. "name": "startTime",
  4969. "in": "query"
  4970. },
  4971. {
  4972. "type": "string",
  4973. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4974. "name": "endTime",
  4975. "in": "query"
  4976. },
  4977. {
  4978. "type": "integer",
  4979. "description": "条数",
  4980. "name": "count",
  4981. "in": "query"
  4982. },
  4983. {
  4984. "type": "boolean",
  4985. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4986. "name": "isAsc",
  4987. "in": "query"
  4988. }
  4989. ],
  4990. "responses": {
  4991. "200": {
  4992. "description": "OK",
  4993. "schema": {
  4994. "$ref": "#/definitions/quote.HistoryData"
  4995. }
  4996. },
  4997. "500": {
  4998. "description": "Internal Server Error",
  4999. "schema": {
  5000. "$ref": "#/definitions/app.Response"
  5001. }
  5002. }
  5003. }
  5004. }
  5005. },
  5006. "/Quote/QueryQuoteDay": {
  5007. "get": {
  5008. "security": [
  5009. {
  5010. "ApiKeyAuth": []
  5011. }
  5012. ],
  5013. "produces": [
  5014. "application/json"
  5015. ],
  5016. "tags": [
  5017. "行情服务"
  5018. ],
  5019. "summary": "获取商品盘面信息",
  5020. "parameters": [
  5021. {
  5022. "type": "string",
  5023. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  5024. "name": "goodsCodes",
  5025. "in": "query",
  5026. "required": true
  5027. }
  5028. ],
  5029. "responses": {
  5030. "200": {
  5031. "description": "OK",
  5032. "schema": {
  5033. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  5034. }
  5035. },
  5036. "500": {
  5037. "description": "Internal Server Error",
  5038. "schema": {
  5039. "$ref": "#/definitions/app.Response"
  5040. }
  5041. }
  5042. }
  5043. }
  5044. },
  5045. "/Quote/QueryTSData": {
  5046. "get": {
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "行情服务"
  5052. ],
  5053. "summary": "分时图数据查询",
  5054. "parameters": [
  5055. {
  5056. "type": "string",
  5057. "description": "商品代码",
  5058. "name": "goodsCode",
  5059. "in": "query",
  5060. "required": true
  5061. }
  5062. ],
  5063. "responses": {
  5064. "200": {
  5065. "description": "OK",
  5066. "schema": {
  5067. "$ref": "#/definitions/quote.QueryTSDataRsp"
  5068. }
  5069. },
  5070. "500": {
  5071. "description": "Internal Server Error",
  5072. "schema": {
  5073. "$ref": "#/definitions/app.Response"
  5074. }
  5075. }
  5076. }
  5077. }
  5078. },
  5079. "/SZDZ/QueryConvertConfig": {
  5080. "get": {
  5081. "security": [
  5082. {
  5083. "ApiKeyAuth": []
  5084. }
  5085. ],
  5086. "produces": [
  5087. "application/json"
  5088. ],
  5089. "tags": [
  5090. "定制【尚志大宗】"
  5091. ],
  5092. "summary": "查询交易系统转换设置",
  5093. "parameters": [
  5094. {
  5095. "type": "integer",
  5096. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  5097. "name": "convertType",
  5098. "in": "query"
  5099. },
  5100. {
  5101. "type": "string",
  5102. "description": "外部商品代码[JD\\PD]",
  5103. "name": "outerGoodsCode",
  5104. "in": "query"
  5105. },
  5106. {
  5107. "type": "string",
  5108. "description": "内部商品ID列表[交易],格式:1,2,3",
  5109. "name": "innerGoodsIDs",
  5110. "in": "query"
  5111. }
  5112. ],
  5113. "responses": {
  5114. "200": {
  5115. "description": "OK",
  5116. "schema": {
  5117. "$ref": "#/definitions/models.Szdz3convertconfig"
  5118. }
  5119. },
  5120. "500": {
  5121. "description": "Internal Server Error",
  5122. "schema": {
  5123. "$ref": "#/definitions/app.Response"
  5124. }
  5125. }
  5126. }
  5127. }
  5128. },
  5129. "/SZDZ/QueryConvertLog": {
  5130. "get": {
  5131. "security": [
  5132. {
  5133. "ApiKeyAuth": []
  5134. }
  5135. ],
  5136. "produces": [
  5137. "application/json"
  5138. ],
  5139. "tags": [
  5140. "定制【尚志大宗】"
  5141. ],
  5142. "summary": "交易系统转换流水查询",
  5143. "parameters": [
  5144. {
  5145. "type": "string",
  5146. "description": "资金账户 - 格式:1,2,3",
  5147. "name": "accountID",
  5148. "in": "query",
  5149. "required": true
  5150. },
  5151. {
  5152. "type": "string",
  5153. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5154. "name": "startDate",
  5155. "in": "query"
  5156. },
  5157. {
  5158. "type": "string",
  5159. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  5160. "name": "endDate",
  5161. "in": "query"
  5162. }
  5163. ],
  5164. "responses": {
  5165. "200": {
  5166. "description": "OK",
  5167. "schema": {
  5168. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  5169. }
  5170. },
  5171. "500": {
  5172. "description": "Internal Server Error",
  5173. "schema": {
  5174. "$ref": "#/definitions/app.Response"
  5175. }
  5176. }
  5177. }
  5178. }
  5179. },
  5180. "/SZDZ/QueryGoodsPickup": {
  5181. "get": {
  5182. "security": [
  5183. {
  5184. "ApiKeyAuth": []
  5185. }
  5186. ],
  5187. "produces": [
  5188. "application/json"
  5189. ],
  5190. "tags": [
  5191. "定制【尚志大宗】"
  5192. ],
  5193. "summary": "商品提货单查询",
  5194. "parameters": [
  5195. {
  5196. "type": "string",
  5197. "description": "资金账户 - 格式:1,2,3",
  5198. "name": "accountID",
  5199. "in": "query",
  5200. "required": true
  5201. },
  5202. {
  5203. "type": "integer",
  5204. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5205. "name": "takeOrderStatus",
  5206. "in": "query"
  5207. }
  5208. ],
  5209. "responses": {
  5210. "200": {
  5211. "description": "OK",
  5212. "schema": {
  5213. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5214. }
  5215. },
  5216. "500": {
  5217. "description": "Internal Server Error",
  5218. "schema": {
  5219. "$ref": "#/definitions/app.Response"
  5220. }
  5221. }
  5222. }
  5223. }
  5224. },
  5225. "/SZDZ/QueryRecieptOrder": {
  5226. "get": {
  5227. "security": [
  5228. {
  5229. "ApiKeyAuth": []
  5230. }
  5231. ],
  5232. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5233. "produces": [
  5234. "application/json"
  5235. ],
  5236. "tags": [
  5237. "定制【尚志大宗】"
  5238. ],
  5239. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5240. "parameters": [
  5241. {
  5242. "type": "integer",
  5243. "description": "页码",
  5244. "name": "page",
  5245. "in": "query"
  5246. },
  5247. {
  5248. "type": "integer",
  5249. "description": "每页条数",
  5250. "name": "pagesize",
  5251. "in": "query"
  5252. },
  5253. {
  5254. "type": "integer",
  5255. "description": "商品ID",
  5256. "name": "goodsID",
  5257. "in": "query",
  5258. "required": true
  5259. },
  5260. {
  5261. "type": "string",
  5262. "description": "所属账户名称",
  5263. "name": "accountName",
  5264. "in": "query"
  5265. },
  5266. {
  5267. "type": "integer",
  5268. "description": "市场ID",
  5269. "name": "marketID",
  5270. "in": "query"
  5271. },
  5272. {
  5273. "type": "integer",
  5274. "description": "方向 - 0:买 1:卖",
  5275. "name": "buyorsell",
  5276. "in": "query",
  5277. "required": true
  5278. }
  5279. ],
  5280. "responses": {
  5281. "200": {
  5282. "description": "OK",
  5283. "schema": {
  5284. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5285. }
  5286. },
  5287. "500": {
  5288. "description": "Internal Server Error",
  5289. "schema": {
  5290. "$ref": "#/definitions/app.Response"
  5291. }
  5292. }
  5293. }
  5294. }
  5295. },
  5296. "/SZDZ/QuerySZDZTradePosition": {
  5297. "get": {
  5298. "security": [
  5299. {
  5300. "ApiKeyAuth": []
  5301. }
  5302. ],
  5303. "produces": [
  5304. "application/json"
  5305. ],
  5306. "tags": [
  5307. "定制【尚志大宗】"
  5308. ],
  5309. "summary": "持仓汇总查询(尚志大宗)",
  5310. "parameters": [
  5311. {
  5312. "type": "integer",
  5313. "description": "资金账户",
  5314. "name": "accountID",
  5315. "in": "query",
  5316. "required": true
  5317. }
  5318. ],
  5319. "responses": {
  5320. "200": {
  5321. "description": "OK",
  5322. "schema": {
  5323. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5324. }
  5325. },
  5326. "500": {
  5327. "description": "Internal Server Error",
  5328. "schema": {
  5329. "$ref": "#/definitions/app.Response"
  5330. }
  5331. }
  5332. }
  5333. }
  5334. },
  5335. "/SZDZ/SearchWhite": {
  5336. "get": {
  5337. "security": [
  5338. {
  5339. "ApiKeyAuth": []
  5340. }
  5341. ],
  5342. "produces": [
  5343. "application/json"
  5344. ],
  5345. "tags": [
  5346. "定制【尚志大宗】"
  5347. ],
  5348. "summary": "搜索白名单",
  5349. "parameters": [
  5350. {
  5351. "type": "integer",
  5352. "description": "用户ID",
  5353. "name": "userID",
  5354. "in": "query",
  5355. "required": true
  5356. }
  5357. ],
  5358. "responses": {
  5359. "200": {
  5360. "description": "OK",
  5361. "schema": {
  5362. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5363. }
  5364. },
  5365. "500": {
  5366. "description": "Internal Server Error",
  5367. "schema": {
  5368. "$ref": "#/definitions/app.Response"
  5369. }
  5370. }
  5371. }
  5372. }
  5373. },
  5374. "/Search/SearchGoodses": {
  5375. "get": {
  5376. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5377. "produces": [
  5378. "application/json"
  5379. ],
  5380. "tags": [
  5381. "检索服务"
  5382. ],
  5383. "summary": "检索商品信息",
  5384. "parameters": [
  5385. {
  5386. "type": "string",
  5387. "description": "检索内容",
  5388. "name": "content",
  5389. "in": "query",
  5390. "required": true
  5391. },
  5392. {
  5393. "type": "string",
  5394. "description": "交易模式,格式:1,2,3",
  5395. "name": "tradeModes",
  5396. "in": "query"
  5397. }
  5398. ],
  5399. "responses": {
  5400. "200": {
  5401. "description": "OK",
  5402. "schema": {
  5403. "$ref": "#/definitions/models.SearchGoods"
  5404. }
  5405. },
  5406. "500": {
  5407. "description": "Internal Server Error",
  5408. "schema": {
  5409. "$ref": "#/definitions/app.Response"
  5410. }
  5411. }
  5412. }
  5413. }
  5414. },
  5415. "/TaAccount/GetTaAccounts": {
  5416. "get": {
  5417. "security": [
  5418. {
  5419. "ApiKeyAuth": []
  5420. }
  5421. ],
  5422. "produces": [
  5423. "application/json"
  5424. ],
  5425. "tags": [
  5426. "资金账户"
  5427. ],
  5428. "summary": "获取资金账户信息",
  5429. "parameters": [
  5430. {
  5431. "type": "integer",
  5432. "description": "登录账户",
  5433. "name": "loginID",
  5434. "in": "query",
  5435. "required": true
  5436. },
  5437. {
  5438. "type": "integer",
  5439. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5440. "name": "taAccountType",
  5441. "in": "query"
  5442. }
  5443. ],
  5444. "responses": {
  5445. "200": {
  5446. "description": "OK",
  5447. "schema": {
  5448. "$ref": "#/definitions/models.Taaccount"
  5449. }
  5450. },
  5451. "500": {
  5452. "description": "Internal Server Error",
  5453. "schema": {
  5454. "$ref": "#/definitions/app.Response"
  5455. }
  5456. }
  5457. }
  5458. }
  5459. },
  5460. "/TaAccount/QueryAmountLog": {
  5461. "get": {
  5462. "security": [
  5463. {
  5464. "ApiKeyAuth": []
  5465. }
  5466. ],
  5467. "produces": [
  5468. "application/json"
  5469. ],
  5470. "tags": [
  5471. "资金账户"
  5472. ],
  5473. "summary": "资金流水查询(当前)",
  5474. "parameters": [
  5475. {
  5476. "type": "integer",
  5477. "description": "页码",
  5478. "name": "page",
  5479. "in": "query"
  5480. },
  5481. {
  5482. "type": "integer",
  5483. "description": "每页条数",
  5484. "name": "pagesize",
  5485. "in": "query"
  5486. },
  5487. {
  5488. "type": "string",
  5489. "description": "资金账户 - 格式:1,2,3",
  5490. "name": "accountID",
  5491. "in": "query",
  5492. "required": true
  5493. },
  5494. {
  5495. "type": "string",
  5496. "description": "资金操作类型 - 格式:1,2,3",
  5497. "name": "OperateType",
  5498. "in": "query"
  5499. }
  5500. ],
  5501. "responses": {
  5502. "200": {
  5503. "description": "OK",
  5504. "schema": {
  5505. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5506. }
  5507. },
  5508. "500": {
  5509. "description": "Internal Server Error",
  5510. "schema": {
  5511. "$ref": "#/definitions/app.Response"
  5512. }
  5513. }
  5514. }
  5515. }
  5516. },
  5517. "/TaAccount/QueryHisAmountLog": {
  5518. "get": {
  5519. "security": [
  5520. {
  5521. "ApiKeyAuth": []
  5522. }
  5523. ],
  5524. "produces": [
  5525. "application/json"
  5526. ],
  5527. "tags": [
  5528. "资金账户"
  5529. ],
  5530. "summary": "资金流水查询(历史)",
  5531. "parameters": [
  5532. {
  5533. "type": "integer",
  5534. "description": "页码",
  5535. "name": "page",
  5536. "in": "query"
  5537. },
  5538. {
  5539. "type": "integer",
  5540. "description": "每页条数",
  5541. "name": "pagesize",
  5542. "in": "query"
  5543. },
  5544. {
  5545. "type": "string",
  5546. "description": "资金账户 - 格式:1,2,3",
  5547. "name": "accountID",
  5548. "in": "query",
  5549. "required": true
  5550. },
  5551. {
  5552. "type": "string",
  5553. "description": "资金操作类型 - 格式:1,2,3",
  5554. "name": "OperateType",
  5555. "in": "query"
  5556. },
  5557. {
  5558. "type": "string",
  5559. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5560. "name": "startDate",
  5561. "in": "query"
  5562. },
  5563. {
  5564. "type": "string",
  5565. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5566. "name": "endDate",
  5567. "in": "query"
  5568. }
  5569. ],
  5570. "responses": {
  5571. "200": {
  5572. "description": "OK",
  5573. "schema": {
  5574. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5575. }
  5576. },
  5577. "500": {
  5578. "description": "Internal Server Error",
  5579. "schema": {
  5580. "$ref": "#/definitions/app.Response"
  5581. }
  5582. }
  5583. }
  5584. }
  5585. },
  5586. "/Trade/QueryRecieptOrder": {
  5587. "get": {
  5588. "security": [
  5589. {
  5590. "ApiKeyAuth": []
  5591. }
  5592. ],
  5593. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5594. "produces": [
  5595. "application/json"
  5596. ],
  5597. "tags": [
  5598. "通用交易"
  5599. ],
  5600. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5601. "parameters": [
  5602. {
  5603. "type": "integer",
  5604. "description": "页码",
  5605. "name": "page",
  5606. "in": "query"
  5607. },
  5608. {
  5609. "type": "integer",
  5610. "description": "每页条数",
  5611. "name": "pagesize",
  5612. "in": "query"
  5613. },
  5614. {
  5615. "type": "integer",
  5616. "description": "商品ID",
  5617. "name": "goodsID",
  5618. "in": "query",
  5619. "required": true
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "所属账户名称",
  5624. "name": "accountName",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "integer",
  5629. "description": "市场ID",
  5630. "name": "marketID",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "方向 - 0:买 1:卖",
  5636. "name": "buyorsell",
  5637. "in": "query",
  5638. "required": true
  5639. }
  5640. ],
  5641. "responses": {
  5642. "200": {
  5643. "description": "OK",
  5644. "schema": {
  5645. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5646. }
  5647. },
  5648. "500": {
  5649. "description": "Internal Server Error",
  5650. "schema": {
  5651. "$ref": "#/definitions/app.Response"
  5652. }
  5653. }
  5654. }
  5655. }
  5656. },
  5657. "/User/AddMessageBoard": {
  5658. "post": {
  5659. "security": [
  5660. {
  5661. "ApiKeyAuth": []
  5662. }
  5663. ],
  5664. "produces": [
  5665. "application/json"
  5666. ],
  5667. "tags": [
  5668. "用户信息"
  5669. ],
  5670. "summary": "添加用户留言板信息",
  5671. "parameters": [
  5672. {
  5673. "type": "integer",
  5674. "description": "用户ID",
  5675. "name": "userID",
  5676. "in": "query",
  5677. "required": true
  5678. },
  5679. {
  5680. "type": "string",
  5681. "description": "留言信息",
  5682. "name": "message",
  5683. "in": "query",
  5684. "required": true
  5685. },
  5686. {
  5687. "type": "string",
  5688. "description": "联系电话",
  5689. "name": "contactNum",
  5690. "in": "query",
  5691. "required": true
  5692. }
  5693. ],
  5694. "responses": {
  5695. "200": {
  5696. "description": "OK",
  5697. "schema": {
  5698. "$ref": "#/definitions/app.Response"
  5699. }
  5700. },
  5701. "500": {
  5702. "description": "Internal Server Error",
  5703. "schema": {
  5704. "$ref": "#/definitions/app.Response"
  5705. }
  5706. }
  5707. }
  5708. }
  5709. },
  5710. "/User/AddUserFavoriteGoods": {
  5711. "post": {
  5712. "security": [
  5713. {
  5714. "ApiKeyAuth": []
  5715. }
  5716. ],
  5717. "produces": [
  5718. "application/json"
  5719. ],
  5720. "tags": [
  5721. "用户信息"
  5722. ],
  5723. "summary": "添加用户商品收藏信息",
  5724. "parameters": [
  5725. {
  5726. "type": "integer",
  5727. "description": "用户ID",
  5728. "name": "userID",
  5729. "in": "query",
  5730. "required": true
  5731. },
  5732. {
  5733. "type": "integer",
  5734. "description": "商品ID",
  5735. "name": "goodsID",
  5736. "in": "query",
  5737. "required": true
  5738. }
  5739. ],
  5740. "responses": {
  5741. "200": {
  5742. "description": "OK",
  5743. "schema": {
  5744. "$ref": "#/definitions/app.Response"
  5745. }
  5746. },
  5747. "500": {
  5748. "description": "Internal Server Error",
  5749. "schema": {
  5750. "$ref": "#/definitions/app.Response"
  5751. }
  5752. }
  5753. }
  5754. }
  5755. },
  5756. "/User/GetLoginID": {
  5757. "get": {
  5758. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5759. "produces": [
  5760. "application/json"
  5761. ],
  5762. "tags": [
  5763. "用户信息"
  5764. ],
  5765. "summary": "获取登录ID",
  5766. "parameters": [
  5767. {
  5768. "type": "string",
  5769. "description": "登录代码",
  5770. "name": "username",
  5771. "in": "query",
  5772. "required": true
  5773. }
  5774. ],
  5775. "responses": {
  5776. "200": {
  5777. "description": "OK",
  5778. "schema": {
  5779. "$ref": "#/definitions/app.Response"
  5780. }
  5781. },
  5782. "500": {
  5783. "description": "Internal Server Error",
  5784. "schema": {
  5785. "$ref": "#/definitions/app.Response"
  5786. }
  5787. }
  5788. }
  5789. }
  5790. },
  5791. "/User/GetUserAccount": {
  5792. "get": {
  5793. "security": [
  5794. {
  5795. "ApiKeyAuth": []
  5796. }
  5797. ],
  5798. "produces": [
  5799. "application/json"
  5800. ],
  5801. "tags": [
  5802. "用户信息"
  5803. ],
  5804. "summary": "获取用户账号信息",
  5805. "parameters": [
  5806. {
  5807. "type": "integer",
  5808. "description": "用户ID",
  5809. "name": "userID",
  5810. "in": "query",
  5811. "required": true
  5812. }
  5813. ],
  5814. "responses": {
  5815. "200": {
  5816. "description": "OK",
  5817. "schema": {
  5818. "$ref": "#/definitions/models.Useraccount"
  5819. }
  5820. },
  5821. "500": {
  5822. "description": "Internal Server Error",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. }
  5827. }
  5828. }
  5829. },
  5830. "/User/GetUserAuthStatus": {
  5831. "get": {
  5832. "security": [
  5833. {
  5834. "ApiKeyAuth": []
  5835. }
  5836. ],
  5837. "produces": [
  5838. "application/json"
  5839. ],
  5840. "tags": [
  5841. "用户信息"
  5842. ],
  5843. "summary": "获取用户实名认证状态",
  5844. "parameters": [
  5845. {
  5846. "type": "integer",
  5847. "description": "用户ID",
  5848. "name": "userID",
  5849. "in": "query",
  5850. "required": true
  5851. }
  5852. ],
  5853. "responses": {
  5854. "200": {
  5855. "description": "OK",
  5856. "schema": {
  5857. "$ref": "#/definitions/app.Response"
  5858. }
  5859. },
  5860. "500": {
  5861. "description": "Internal Server Error",
  5862. "schema": {
  5863. "$ref": "#/definitions/app.Response"
  5864. }
  5865. }
  5866. }
  5867. }
  5868. },
  5869. "/User/LoginQuery": {
  5870. "get": {
  5871. "security": [
  5872. {
  5873. "ApiKeyAuth": []
  5874. }
  5875. ],
  5876. "produces": [
  5877. "application/json"
  5878. ],
  5879. "tags": [
  5880. "用户信息"
  5881. ],
  5882. "summary": "账户登录后信息查询",
  5883. "parameters": [
  5884. {
  5885. "type": "integer",
  5886. "description": "登录账号",
  5887. "name": "loginID",
  5888. "in": "query",
  5889. "required": true
  5890. }
  5891. ],
  5892. "responses": {
  5893. "200": {
  5894. "description": "OK",
  5895. "schema": {
  5896. "$ref": "#/definitions/user.LoginQueryRsp"
  5897. }
  5898. },
  5899. "500": {
  5900. "description": "Internal Server Error",
  5901. "schema": {
  5902. "$ref": "#/definitions/app.Response"
  5903. }
  5904. }
  5905. }
  5906. }
  5907. },
  5908. "/User/QueryMessageBoard": {
  5909. "get": {
  5910. "security": [
  5911. {
  5912. "ApiKeyAuth": []
  5913. }
  5914. ],
  5915. "produces": [
  5916. "application/json"
  5917. ],
  5918. "tags": [
  5919. "用户信息"
  5920. ],
  5921. "summary": "获取用户留言板信息",
  5922. "parameters": [
  5923. {
  5924. "type": "integer",
  5925. "description": "用户ID",
  5926. "name": "userID",
  5927. "in": "query",
  5928. "required": true
  5929. }
  5930. ],
  5931. "responses": {
  5932. "200": {
  5933. "description": "OK",
  5934. "schema": {
  5935. "$ref": "#/definitions/models.Messageboard"
  5936. }
  5937. },
  5938. "500": {
  5939. "description": "Internal Server Error",
  5940. "schema": {
  5941. "$ref": "#/definitions/app.Response"
  5942. }
  5943. }
  5944. }
  5945. }
  5946. },
  5947. "/User/QueryUserFavoriteGoodses": {
  5948. "get": {
  5949. "security": [
  5950. {
  5951. "ApiKeyAuth": []
  5952. }
  5953. ],
  5954. "produces": [
  5955. "application/json"
  5956. ],
  5957. "tags": [
  5958. "用户信息"
  5959. ],
  5960. "summary": "获取用户商品收藏信息",
  5961. "parameters": [
  5962. {
  5963. "type": "integer",
  5964. "description": "用户ID",
  5965. "name": "userID",
  5966. "in": "query",
  5967. "required": true
  5968. }
  5969. ],
  5970. "responses": {
  5971. "200": {
  5972. "description": "OK",
  5973. "schema": {
  5974. "$ref": "#/definitions/models.Userfavoritegoods"
  5975. }
  5976. },
  5977. "500": {
  5978. "description": "Internal Server Error",
  5979. "schema": {
  5980. "$ref": "#/definitions/app.Response"
  5981. }
  5982. }
  5983. }
  5984. }
  5985. },
  5986. "/User/QueryUserInfo": {
  5987. "get": {
  5988. "security": [
  5989. {
  5990. "ApiKeyAuth": []
  5991. }
  5992. ],
  5993. "produces": [
  5994. "application/json"
  5995. ],
  5996. "tags": [
  5997. "用户信息"
  5998. ],
  5999. "summary": "获取用户信息",
  6000. "parameters": [
  6001. {
  6002. "type": "integer",
  6003. "description": "用户ID",
  6004. "name": "userID",
  6005. "in": "query",
  6006. "required": true
  6007. }
  6008. ],
  6009. "responses": {
  6010. "200": {
  6011. "description": "OK",
  6012. "schema": {
  6013. "$ref": "#/definitions/models.Userinfo"
  6014. }
  6015. },
  6016. "500": {
  6017. "description": "Internal Server Error",
  6018. "schema": {
  6019. "$ref": "#/definitions/app.Response"
  6020. }
  6021. }
  6022. }
  6023. }
  6024. },
  6025. "/User/QueryUserReferNum": {
  6026. "get": {
  6027. "produces": [
  6028. "application/json"
  6029. ],
  6030. "tags": [
  6031. "用户信息"
  6032. ],
  6033. "summary": "获取用户邀请码",
  6034. "parameters": [
  6035. {
  6036. "type": "integer",
  6037. "description": "用户ID",
  6038. "name": "userID",
  6039. "in": "query",
  6040. "required": true
  6041. }
  6042. ],
  6043. "responses": {
  6044. "200": {
  6045. "description": "OK",
  6046. "schema": {
  6047. "$ref": "#/definitions/app.Response"
  6048. }
  6049. },
  6050. "500": {
  6051. "description": "Internal Server Error",
  6052. "schema": {
  6053. "$ref": "#/definitions/app.Response"
  6054. }
  6055. }
  6056. }
  6057. }
  6058. },
  6059. "/User/RemoveUserFavoriteGoods": {
  6060. "post": {
  6061. "security": [
  6062. {
  6063. "ApiKeyAuth": []
  6064. }
  6065. ],
  6066. "produces": [
  6067. "application/json"
  6068. ],
  6069. "tags": [
  6070. "用户信息"
  6071. ],
  6072. "summary": "移除用户商品收藏信息",
  6073. "parameters": [
  6074. {
  6075. "type": "integer",
  6076. "description": "用户ID",
  6077. "name": "userID",
  6078. "in": "query",
  6079. "required": true
  6080. },
  6081. {
  6082. "type": "integer",
  6083. "description": "商品ID",
  6084. "name": "goodsID",
  6085. "in": "query",
  6086. "required": true
  6087. }
  6088. ],
  6089. "responses": {
  6090. "200": {
  6091. "description": "OK",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. },
  6096. "500": {
  6097. "description": "Internal Server Error",
  6098. "schema": {
  6099. "$ref": "#/definitions/app.Response"
  6100. }
  6101. }
  6102. }
  6103. }
  6104. },
  6105. "/User/UpdateUserAccountStatus": {
  6106. "post": {
  6107. "security": [
  6108. {
  6109. "ApiKeyAuth": []
  6110. }
  6111. ],
  6112. "produces": [
  6113. "application/json"
  6114. ],
  6115. "tags": [
  6116. "用户信息"
  6117. ],
  6118. "summary": "更新用户状态",
  6119. "parameters": [
  6120. {
  6121. "type": "integer",
  6122. "description": "用户ID",
  6123. "name": "userID",
  6124. "in": "query",
  6125. "required": true
  6126. },
  6127. {
  6128. "type": "integer",
  6129. "description": "账户状态 - 4:正常 6:注销(停用)",
  6130. "name": "accountStatus",
  6131. "in": "query",
  6132. "required": true
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "$ref": "#/definitions/app.Response"
  6140. }
  6141. },
  6142. "500": {
  6143. "description": "Internal Server Error",
  6144. "schema": {
  6145. "$ref": "#/definitions/app.Response"
  6146. }
  6147. }
  6148. }
  6149. }
  6150. },
  6151. "/WR/GetWRCategoryInfo": {
  6152. "get": {
  6153. "produces": [
  6154. "application/json"
  6155. ],
  6156. "tags": [
  6157. "仓单服务"
  6158. ],
  6159. "summary": "获取现货分类信息",
  6160. "responses": {
  6161. "200": {
  6162. "description": "OK",
  6163. "schema": {
  6164. "$ref": "#/definitions/models.WRCategoryTree"
  6165. }
  6166. },
  6167. "500": {
  6168. "description": "Internal Server Error",
  6169. "schema": {
  6170. "$ref": "#/definitions/app.Response"
  6171. }
  6172. }
  6173. }
  6174. }
  6175. },
  6176. "/WRTrade/GetAllDeliveryGoods": {
  6177. "get": {
  6178. "security": [
  6179. {
  6180. "ApiKeyAuth": []
  6181. },
  6182. {
  6183. "ApiKeyAuth": []
  6184. }
  6185. ],
  6186. "produces": [
  6187. "application/json",
  6188. "application/json"
  6189. ],
  6190. "tags": [
  6191. "仓单贸易",
  6192. "仓单贸易"
  6193. ],
  6194. "summary": "获取带仓单分类的种类信息",
  6195. "responses": {
  6196. "200": {
  6197. "description": "OK",
  6198. "schema": {
  6199. "$ref": "#/definitions/app.Response"
  6200. }
  6201. },
  6202. "500": {
  6203. "description": "Internal Server Error",
  6204. "schema": {
  6205. "$ref": "#/definitions/app.Response"
  6206. }
  6207. }
  6208. }
  6209. }
  6210. }
  6211. },
  6212. "definitions": {
  6213. "app.Response": {
  6214. "type": "object",
  6215. "properties": {
  6216. "code": {
  6217. "type": "integer"
  6218. },
  6219. "data": {
  6220. "type": "object"
  6221. },
  6222. "msg": {
  6223. "type": "string"
  6224. },
  6225. "page": {
  6226. "description": "页码",
  6227. "type": "integer"
  6228. },
  6229. "pagesize": {
  6230. "description": "每页条数",
  6231. "type": "integer"
  6232. },
  6233. "total": {
  6234. "description": "总条数",
  6235. "type": "integer"
  6236. }
  6237. }
  6238. },
  6239. "common.QueryImageConfigsRsp": {
  6240. "type": "object",
  6241. "required": [
  6242. "configid"
  6243. ],
  6244. "properties": {
  6245. "areauserid": {
  6246. "description": "所属机构ID",
  6247. "type": "integer"
  6248. },
  6249. "configid": {
  6250. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  6251. "type": "integer"
  6252. },
  6253. "createdate": {
  6254. "description": "创建时间",
  6255. "type": "string"
  6256. },
  6257. "creatorid": {
  6258. "description": "创建人",
  6259. "type": "integer"
  6260. },
  6261. "imagepath": {
  6262. "description": "图片",
  6263. "type": "string"
  6264. },
  6265. "imagetype": {
  6266. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  6267. "type": "integer"
  6268. },
  6269. "isshow": {
  6270. "description": "是否展示 - 0:不展示 1:展示",
  6271. "type": "integer"
  6272. },
  6273. "marketid": {
  6274. "description": "市场ID",
  6275. "type": "integer"
  6276. },
  6277. "modifierid": {
  6278. "description": "操作人",
  6279. "type": "integer"
  6280. },
  6281. "sort": {
  6282. "description": "排序",
  6283. "type": "integer"
  6284. },
  6285. "title": {
  6286. "description": "标题",
  6287. "type": "string"
  6288. },
  6289. "trademode": {
  6290. "description": "交易模式",
  6291. "type": "integer"
  6292. },
  6293. "updatedate": {
  6294. "description": "修改时间",
  6295. "type": "string"
  6296. },
  6297. "url": {
  6298. "description": "链接(地址或商品ID)",
  6299. "type": "string"
  6300. },
  6301. "urltype": {
  6302. "description": "链接类型 - 1:直接地址 2:商品ID",
  6303. "type": "integer"
  6304. }
  6305. }
  6306. },
  6307. "common.QueryNoticeRsp": {
  6308. "type": "object",
  6309. "required": [
  6310. "autoid"
  6311. ],
  6312. "properties": {
  6313. "auditoruserid": {
  6314. "description": "审核人",
  6315. "type": "integer"
  6316. },
  6317. "auditremark": {
  6318. "description": "审核备注",
  6319. "type": "string"
  6320. },
  6321. "audittime": {
  6322. "description": "审核日期",
  6323. "type": "string"
  6324. },
  6325. "autoid": {
  6326. "description": "自增ID",
  6327. "type": "integer"
  6328. },
  6329. "content": {
  6330. "description": "内容",
  6331. "type": "string"
  6332. },
  6333. "createtime": {
  6334. "description": "创建时间",
  6335. "type": "string"
  6336. },
  6337. "creatorid": {
  6338. "description": "建仓人",
  6339. "type": "integer"
  6340. },
  6341. "endtime": {
  6342. "description": "结束时间",
  6343. "type": "string"
  6344. },
  6345. "istop": {
  6346. "description": "是否置顶 - 0:不置顶 1:置顶",
  6347. "type": "integer"
  6348. },
  6349. "msgiconurl": {
  6350. "description": "消息图标Url",
  6351. "type": "string"
  6352. },
  6353. "msgtype": {
  6354. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6355. "type": "integer"
  6356. },
  6357. "publisher": {
  6358. "description": "消息发布者",
  6359. "type": "string"
  6360. },
  6361. "readed": {
  6362. "description": "是否已读",
  6363. "type": "boolean"
  6364. },
  6365. "scheduletime": {
  6366. "description": "计划发送时间",
  6367. "type": "string"
  6368. },
  6369. "sendtype": {
  6370. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6371. "type": "integer"
  6372. },
  6373. "sentstatus": {
  6374. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6375. "type": "integer"
  6376. },
  6377. "title": {
  6378. "description": "标题",
  6379. "type": "string"
  6380. },
  6381. "userid": {
  6382. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6383. "type": "integer"
  6384. }
  6385. }
  6386. },
  6387. "common.QueryProvincesAndCitiesRsp": {
  6388. "type": "object",
  6389. "properties": {
  6390. "cities": {
  6391. "description": "市",
  6392. "type": "array",
  6393. "items": {
  6394. "$ref": "#/definitions/models.Division"
  6395. }
  6396. },
  6397. "province": {
  6398. "description": "省",
  6399. "$ref": "#/definitions/models.Division"
  6400. }
  6401. }
  6402. },
  6403. "common.QueryTableDefineRsp": {
  6404. "type": "object",
  6405. "required": [
  6406. "tablekey"
  6407. ],
  6408. "properties": {
  6409. "columns": {
  6410. "description": "列头信息数组",
  6411. "type": "array",
  6412. "items": {
  6413. "$ref": "#/definitions/models.Tablecolumnconfig"
  6414. }
  6415. },
  6416. "remark": {
  6417. "description": "Remark",
  6418. "type": "string"
  6419. },
  6420. "tabelmenu": {
  6421. "description": "列表菜单",
  6422. "type": "string"
  6423. },
  6424. "tablekey": {
  6425. "description": "列表Key",
  6426. "type": "string"
  6427. },
  6428. "tablename": {
  6429. "description": "列表名称",
  6430. "type": "string"
  6431. },
  6432. "tabletype": {
  6433. "description": "列表类型 - 1:管理端 2:终端",
  6434. "type": "integer"
  6435. }
  6436. }
  6437. },
  6438. "common.QueryTraderMenuRsp": {
  6439. "type": "object",
  6440. "properties": {
  6441. "OperationMenu": {
  6442. "description": "功能菜单",
  6443. "type": "array",
  6444. "items": {
  6445. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6446. }
  6447. },
  6448. "QuoteMenu": {
  6449. "description": "报价牌分类菜单",
  6450. "type": "array",
  6451. "items": {
  6452. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6453. }
  6454. }
  6455. }
  6456. },
  6457. "cptrade.Cptradepositioncancel": {
  6458. "type": "object",
  6459. "required": [
  6460. "cancelid"
  6461. ],
  6462. "properties": {
  6463. "accountid": {
  6464. "description": "申请人账户ID",
  6465. "type": "integer"
  6466. },
  6467. "applystatus": {
  6468. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6469. "type": "integer"
  6470. },
  6471. "applytime": {
  6472. "description": "申请时间",
  6473. "type": "string"
  6474. },
  6475. "cancelid": {
  6476. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6477. "type": "integer"
  6478. },
  6479. "cancelqty": {
  6480. "description": "注销数量",
  6481. "type": "integer"
  6482. },
  6483. "createtime": {
  6484. "description": "创建时间",
  6485. "type": "string"
  6486. },
  6487. "creatorid": {
  6488. "description": "创建人ID",
  6489. "type": "integer"
  6490. },
  6491. "creatorname": {
  6492. "description": "创建人",
  6493. "type": "string"
  6494. },
  6495. "goodscode": {
  6496. "description": "订单商品代码",
  6497. "type": "string"
  6498. },
  6499. "goodsid": {
  6500. "description": "商品ID",
  6501. "type": "integer"
  6502. },
  6503. "goodsname": {
  6504. "description": "订单商品名称",
  6505. "type": "string"
  6506. },
  6507. "goodunit": {
  6508. "description": "报价单位",
  6509. "type": "string"
  6510. },
  6511. "handlestatus": {
  6512. "description": "处理状态",
  6513. "type": "integer"
  6514. },
  6515. "marketid": {
  6516. "description": "市场ID",
  6517. "type": "integer"
  6518. },
  6519. "marketname": {
  6520. "description": "市场名称",
  6521. "type": "string"
  6522. },
  6523. "tradedate": {
  6524. "description": "交易日(yyyyMMdd)",
  6525. "type": "string"
  6526. },
  6527. "userid": {
  6528. "description": "申请人ID",
  6529. "type": "integer"
  6530. }
  6531. }
  6532. },
  6533. "cptrade.Cptradepresaleapply": {
  6534. "type": "object",
  6535. "required": [
  6536. "applyid"
  6537. ],
  6538. "properties": {
  6539. "accountid": {
  6540. "description": "申请人账户ID",
  6541. "type": "integer"
  6542. },
  6543. "applyid": {
  6544. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6545. "type": "integer"
  6546. },
  6547. "applyremark": {
  6548. "description": "申请备注",
  6549. "type": "string"
  6550. },
  6551. "applystatus": {
  6552. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6553. "type": "integer"
  6554. },
  6555. "applytime": {
  6556. "description": "申请时间",
  6557. "type": "string"
  6558. },
  6559. "attachmenturl": {
  6560. "description": "附件地址",
  6561. "type": "string"
  6562. },
  6563. "endtime": {
  6564. "description": "预售结束时间",
  6565. "type": "string"
  6566. },
  6567. "goodscode": {
  6568. "description": "商品代码",
  6569. "type": "string"
  6570. },
  6571. "goodsid": {
  6572. "description": "商品ID",
  6573. "type": "integer"
  6574. },
  6575. "goodsname": {
  6576. "description": "商品名称",
  6577. "type": "string"
  6578. },
  6579. "goodunit": {
  6580. "description": "报价单位",
  6581. "type": "string"
  6582. },
  6583. "handlestatus": {
  6584. "description": "处理状态",
  6585. "type": "integer"
  6586. },
  6587. "marketid": {
  6588. "description": "预售市场ID",
  6589. "type": "integer"
  6590. },
  6591. "marketname": {
  6592. "description": "预售市场名称",
  6593. "type": "string"
  6594. },
  6595. "presaleqty": {
  6596. "description": "预售数量",
  6597. "type": "integer"
  6598. },
  6599. "relatedgoodscode": {
  6600. "description": "关联交易合约代码",
  6601. "type": "string"
  6602. },
  6603. "relatedgoodsid": {
  6604. "description": "关联交易合约ID",
  6605. "type": "integer"
  6606. },
  6607. "relatedgoodsname": {
  6608. "description": "关联交易合约名称",
  6609. "type": "string"
  6610. },
  6611. "starttime": {
  6612. "description": "预售开始时间",
  6613. "type": "string"
  6614. },
  6615. "tradedate": {
  6616. "description": "交易日(yyyyMMdd)",
  6617. "type": "string"
  6618. },
  6619. "trademode": {
  6620. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6621. "type": "integer"
  6622. },
  6623. "userid": {
  6624. "description": "申请人ID",
  6625. "type": "integer"
  6626. }
  6627. }
  6628. },
  6629. "cptrade.Cptradeusergoodsdata": {
  6630. "type": "object",
  6631. "required": [
  6632. "accountid",
  6633. "goodsid"
  6634. ],
  6635. "properties": {
  6636. "EnabledQty": {
  6637. "description": "可用量",
  6638. "type": "integer"
  6639. },
  6640. "GoodsCode": {
  6641. "description": "订单商品代码",
  6642. "type": "string"
  6643. },
  6644. "GoodsName": {
  6645. "description": "订单商品名称",
  6646. "type": "string"
  6647. },
  6648. "WRStandardCode": {
  6649. "description": "仓单标准代码",
  6650. "type": "string"
  6651. },
  6652. "WRStandardName": {
  6653. "description": "仓单标准名称",
  6654. "type": "string"
  6655. },
  6656. "accountid": {
  6657. "description": "账户ID",
  6658. "type": "integer"
  6659. },
  6660. "cancelqty": {
  6661. "description": "注销量",
  6662. "type": "integer"
  6663. },
  6664. "curpresaleqty": {
  6665. "description": "当前预售量",
  6666. "type": "integer"
  6667. },
  6668. "deliveryqty": {
  6669. "description": "交割量",
  6670. "type": "integer"
  6671. },
  6672. "freezeamount": {
  6673. "description": "冻结金额",
  6674. "type": "number"
  6675. },
  6676. "goodsid": {
  6677. "description": "商品ID",
  6678. "type": "integer"
  6679. },
  6680. "goodunit": {
  6681. "description": "报价单位",
  6682. "type": "string"
  6683. },
  6684. "hasspotfreeze": {
  6685. "description": "是否有现货冻结 - 0:否 1:有",
  6686. "type": "integer"
  6687. },
  6688. "inqty": {
  6689. "description": "转入量(总数量)",
  6690. "type": "integer"
  6691. },
  6692. "marketid": {
  6693. "description": "市场ID",
  6694. "type": "integer"
  6695. },
  6696. "presaledamount": {
  6697. "description": "已预售总金额",
  6698. "type": "integer"
  6699. },
  6700. "presaledqty": {
  6701. "description": "已预售量",
  6702. "type": "integer"
  6703. },
  6704. "userid": {
  6705. "description": "用户ID",
  6706. "type": "integer"
  6707. },
  6708. "wrstandardid": {
  6709. "description": "仓单标准ID",
  6710. "type": "integer"
  6711. }
  6712. }
  6713. },
  6714. "cptrade.QueryCPTradeMyBidRsp": {
  6715. "type": "object",
  6716. "required": [
  6717. "accountid",
  6718. "goodsid",
  6719. "marketid",
  6720. "orderid",
  6721. "orderqty",
  6722. "ordertime",
  6723. "tradeprice",
  6724. "tradeqty"
  6725. ],
  6726. "properties": {
  6727. "accountid": {
  6728. "description": "账户ID[报价币种]",
  6729. "type": "integer"
  6730. },
  6731. "goodsid": {
  6732. "description": "商品ID",
  6733. "type": "integer"
  6734. },
  6735. "goodunit": {
  6736. "description": "报价单位",
  6737. "type": "string"
  6738. },
  6739. "marketid": {
  6740. "description": "市场ID",
  6741. "type": "integer"
  6742. },
  6743. "orderid": {
  6744. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6745. "type": "integer"
  6746. },
  6747. "orderprice": {
  6748. "description": "委托价格",
  6749. "type": "number"
  6750. },
  6751. "orderqty": {
  6752. "description": "委托数量",
  6753. "type": "integer"
  6754. },
  6755. "ordertime": {
  6756. "description": "委托时间",
  6757. "type": "string"
  6758. },
  6759. "ordertotalprice": {
  6760. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6761. "type": "number"
  6762. },
  6763. "ordertotalweight": {
  6764. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6765. "type": "integer"
  6766. },
  6767. "totaltotalprice": {
  6768. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6769. "type": "number"
  6770. },
  6771. "tradeprice": {
  6772. "description": "成交价格",
  6773. "type": "number"
  6774. },
  6775. "tradeqty": {
  6776. "description": "成交数量",
  6777. "type": "integer"
  6778. }
  6779. }
  6780. },
  6781. "cptrade.QueryCPTradeOrderDetailRsq": {
  6782. "type": "object",
  6783. "required": [
  6784. "accountid",
  6785. "buildtype",
  6786. "buyorsell",
  6787. "goodsid",
  6788. "marketid",
  6789. "memberuserid",
  6790. "operatetype",
  6791. "orderqty",
  6792. "ordertime",
  6793. "pricemode",
  6794. "strorderid",
  6795. "tradedate",
  6796. "validtype"
  6797. ],
  6798. "properties": {
  6799. "accountid": {
  6800. "description": "账户ID[报价币种]",
  6801. "type": "integer"
  6802. },
  6803. "buildtype": {
  6804. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6805. "type": "integer"
  6806. },
  6807. "buyorsell": {
  6808. "description": "买卖 - 0:买 1:卖",
  6809. "type": "integer"
  6810. },
  6811. "cancelorderid": {
  6812. "description": "撤单单号(撤单时填写)",
  6813. "type": "integer"
  6814. },
  6815. "cancelqty": {
  6816. "description": "撤单数量",
  6817. "type": "integer"
  6818. },
  6819. "clientordertime": {
  6820. "description": "客户端委托时间",
  6821. "type": "string"
  6822. },
  6823. "clientticket": {
  6824. "description": "客户端流水号",
  6825. "type": "string"
  6826. },
  6827. "clienttype": {
  6828. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6829. "type": "integer"
  6830. },
  6831. "closeexchagechargevalue": {
  6832. "description": "平仓交易所手续费设置值",
  6833. "type": "number"
  6834. },
  6835. "closefeealgorithm": {
  6836. "description": "平仓手续费收取方式 1:比率 2:固定",
  6837. "type": "integer"
  6838. },
  6839. "closefreezecharge": {
  6840. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6841. "type": "number"
  6842. },
  6843. "closememberchargevalue": {
  6844. "description": "平仓会员手续费设置值",
  6845. "type": "number"
  6846. },
  6847. "closeqty": {
  6848. "description": "平仓数量(先建后平操作 需要记录)",
  6849. "type": "integer"
  6850. },
  6851. "closetradeqty": {
  6852. "description": "平仓成交数量(先建后平操作,需要记录)",
  6853. "type": "integer"
  6854. },
  6855. "closeunfreezecharge": {
  6856. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6857. "type": "number"
  6858. },
  6859. "delistingtype": {
  6860. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6861. "type": "integer"
  6862. },
  6863. "freezecharge": {
  6864. "description": "冻结手续费",
  6865. "type": "number"
  6866. },
  6867. "freezemargin": {
  6868. "description": "冻结保证金(冻结交易金额)",
  6869. "type": "number"
  6870. },
  6871. "gcaccountid": {
  6872. "description": "账户ID[合约币种]",
  6873. "type": "integer"
  6874. },
  6875. "goodsid": {
  6876. "description": "商品ID",
  6877. "type": "integer"
  6878. },
  6879. "isconfirmexercise": {
  6880. "description": "是否确认行权- 0:否 1:是",
  6881. "type": "integer"
  6882. },
  6883. "ispreexercise": {
  6884. "description": "是否预申报- 0:否 1:是",
  6885. "type": "integer"
  6886. },
  6887. "listingselecttype": {
  6888. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6889. "type": "integer"
  6890. },
  6891. "marginalgorithm": {
  6892. "description": "保证金收取方式 1:比率 2:固定",
  6893. "type": "integer"
  6894. },
  6895. "marginvalue": {
  6896. "description": "即市保证金设置值",
  6897. "type": "number"
  6898. },
  6899. "marketid": {
  6900. "description": "市场ID",
  6901. "type": "integer"
  6902. },
  6903. "marketmaxsub": {
  6904. "description": "市价最大偏移范围",
  6905. "type": "number"
  6906. },
  6907. "memberuserid": {
  6908. "description": "所属会员UserID",
  6909. "type": "integer"
  6910. },
  6911. "openexchagechargevalue": {
  6912. "description": "建仓交易所手续费设置值",
  6913. "type": "number"
  6914. },
  6915. "openfeealgorithm": {
  6916. "description": "建仓手续费收取方式 1:比率 2:固定",
  6917. "type": "integer"
  6918. },
  6919. "openfreezecharge": {
  6920. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6921. "type": "number"
  6922. },
  6923. "openmemberchargevalue": {
  6924. "description": "建仓会员手续费设置值",
  6925. "type": "number"
  6926. },
  6927. "openqty": {
  6928. "description": "开仓数量(先建后平操作,需要记录)",
  6929. "type": "integer"
  6930. },
  6931. "opentradeqty": {
  6932. "description": "开仓成交数量(先建后平操作,需要记录)",
  6933. "type": "integer"
  6934. },
  6935. "openunfreezecharge": {
  6936. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6937. "type": "number"
  6938. },
  6939. "operatetype": {
  6940. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6941. "type": "integer"
  6942. },
  6943. "operatorid": {
  6944. "description": "登录账号(LoginID)",
  6945. "type": "integer"
  6946. },
  6947. "optiontype": {
  6948. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6949. "type": "integer"
  6950. },
  6951. "orderprice": {
  6952. "description": "委托价格",
  6953. "type": "number"
  6954. },
  6955. "orderqty": {
  6956. "description": "委托数量",
  6957. "type": "integer"
  6958. },
  6959. "ordersrc": {
  6960. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6961. "type": "integer"
  6962. },
  6963. "orderstatus": {
  6964. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6965. "type": "integer"
  6966. },
  6967. "ordertime": {
  6968. "description": "委托时间",
  6969. "type": "string"
  6970. },
  6971. "preexerciseprice": {
  6972. "description": "预申报价格",
  6973. "type": "number"
  6974. },
  6975. "premium": {
  6976. "description": "权利金",
  6977. "type": "number"
  6978. },
  6979. "preorderid": {
  6980. "description": "关联预埋单号(止盈止损单时填写)",
  6981. "type": "integer"
  6982. },
  6983. "pricemode": {
  6984. "description": "取价方式 - 1:市价 2: 限价",
  6985. "type": "integer"
  6986. },
  6987. "quoteid": {
  6988. "description": "报价单ID",
  6989. "type": "integer"
  6990. },
  6991. "relatedid": {
  6992. "description": "关联单号(交割单)",
  6993. "type": "integer"
  6994. },
  6995. "retcode": {
  6996. "description": "错误代码",
  6997. "type": "integer"
  6998. },
  6999. "sessionid": {
  7000. "description": "会话ID",
  7001. "type": "integer"
  7002. },
  7003. "strorderid": {
  7004. "description": "委托单号",
  7005. "type": "string"
  7006. },
  7007. "tradedate": {
  7008. "description": "交易日(yyyyMMdd)",
  7009. "type": "string"
  7010. },
  7011. "tradeproperty": {
  7012. "description": "交易属性",
  7013. "type": "integer"
  7014. },
  7015. "tradeqty": {
  7016. "description": "成交数量",
  7017. "type": "integer"
  7018. },
  7019. "unfreezecharge": {
  7020. "description": "解冻手续费",
  7021. "type": "number"
  7022. },
  7023. "unfreezemargin": {
  7024. "description": "解冻保证金",
  7025. "type": "number"
  7026. },
  7027. "updatetime": {
  7028. "description": "更新时间",
  7029. "type": "string"
  7030. },
  7031. "uuid": {
  7032. "description": "发起端唯一id",
  7033. "type": "string"
  7034. },
  7035. "validtime": {
  7036. "description": "有效期限",
  7037. "type": "string"
  7038. },
  7039. "validtype": {
  7040. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  7041. "type": "integer"
  7042. },
  7043. "volumetype": {
  7044. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  7045. "type": "integer"
  7046. }
  7047. }
  7048. },
  7049. "cptrade.QueryMyCPTradeGoodsRsp": {
  7050. "type": "object",
  7051. "required": [
  7052. "goodscode",
  7053. "goodsid",
  7054. "goodsname",
  7055. "marketid",
  7056. "relatedgoodscode",
  7057. "relatedgoodsname"
  7058. ],
  7059. "properties": {
  7060. "accountid": {
  7061. "description": "卖方账户ID",
  7062. "type": "integer"
  7063. },
  7064. "agreeunit": {
  7065. "description": "合约单位",
  7066. "type": "number"
  7067. },
  7068. "applyid": {
  7069. "description": "关联申请ID",
  7070. "type": "integer"
  7071. },
  7072. "attachmenturl": {
  7073. "description": "附件地址",
  7074. "type": "string"
  7075. },
  7076. "createtime": {
  7077. "description": "创建时间",
  7078. "type": "string"
  7079. },
  7080. "currencyid": {
  7081. "description": "报价货币ID",
  7082. "type": "integer"
  7083. },
  7084. "decimalplace": {
  7085. "description": "报价小数位",
  7086. "type": "integer"
  7087. },
  7088. "endtime": {
  7089. "description": "预售结束时间",
  7090. "type": "string"
  7091. },
  7092. "floorprice": {
  7093. "description": "底价[大宗式竞拍]",
  7094. "type": "number"
  7095. },
  7096. "goodscode": {
  7097. "description": "商品代码(预售)",
  7098. "type": "string"
  7099. },
  7100. "goodsdetail": {
  7101. "description": "详情[大宗]",
  7102. "type": "string"
  7103. },
  7104. "goodsid": {
  7105. "description": "商品ID(自增ID SEQ_GOODS)",
  7106. "type": "integer"
  7107. },
  7108. "goodsname": {
  7109. "description": "商品名称(预售)",
  7110. "type": "string"
  7111. },
  7112. "goodunit": {
  7113. "description": "报价单位",
  7114. "type": "string"
  7115. },
  7116. "goodunitid": {
  7117. "description": "报价单位ID",
  7118. "type": "integer"
  7119. },
  7120. "marketid": {
  7121. "description": "所属市场ID",
  7122. "type": "integer"
  7123. },
  7124. "marketname": {
  7125. "description": "预售市场名称",
  7126. "type": "string"
  7127. },
  7128. "presaledamount": {
  7129. "description": "已预售总金额(预售结束时更新)",
  7130. "type": "number"
  7131. },
  7132. "presaledqty": {
  7133. "description": "已预售量(预售结束时更新)",
  7134. "type": "integer"
  7135. },
  7136. "presalemode": {
  7137. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7138. "type": "integer"
  7139. },
  7140. "presaleqty": {
  7141. "description": "预售数量",
  7142. "type": "integer"
  7143. },
  7144. "refprice": {
  7145. "description": "参考价格[一口价]",
  7146. "type": "number"
  7147. },
  7148. "relatedgoodscode": {
  7149. "description": "商品代码(订单)",
  7150. "type": "string"
  7151. },
  7152. "relatedgoodsid": {
  7153. "description": "关联交易合约ID",
  7154. "type": "integer"
  7155. },
  7156. "relatedgoodsname": {
  7157. "description": "商品名称(订单)",
  7158. "type": "string"
  7159. },
  7160. "relatedmarketid": {
  7161. "description": "关联交易合约市场ID",
  7162. "type": "integer"
  7163. },
  7164. "sellstatus": {
  7165. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7166. "type": "integer"
  7167. },
  7168. "startprice": {
  7169. "description": "起拍价[大宗式竞拍]",
  7170. "type": "number"
  7171. },
  7172. "starttime": {
  7173. "description": "预售开始时间",
  7174. "type": "string"
  7175. },
  7176. "tradedate": {
  7177. "description": "交易日(yyyyMMdd)",
  7178. "type": "string"
  7179. },
  7180. "tradeprice": {
  7181. "description": "成交价[大宗]",
  7182. "type": "number"
  7183. },
  7184. "userid": {
  7185. "description": "卖方用户ID",
  7186. "type": "integer"
  7187. }
  7188. }
  7189. },
  7190. "cptrade.QueryPresaleGoodsExRsp": {
  7191. "type": "object",
  7192. "required": [
  7193. "goodsid"
  7194. ],
  7195. "properties": {
  7196. "attachmenturl": {
  7197. "description": "附件地址",
  7198. "type": "string"
  7199. },
  7200. "createtime": {
  7201. "description": "创建时间",
  7202. "type": "string"
  7203. },
  7204. "endtime": {
  7205. "description": "预售结束时间",
  7206. "type": "string"
  7207. },
  7208. "floorprice": {
  7209. "description": "底价[大宗式竞拍]",
  7210. "type": "number"
  7211. },
  7212. "goodsdetail": {
  7213. "description": "详情[大宗]",
  7214. "type": "string"
  7215. },
  7216. "goodsid": {
  7217. "description": "商品ID(预售)",
  7218. "type": "integer"
  7219. },
  7220. "goodunit": {
  7221. "description": "报价单位",
  7222. "type": "string"
  7223. },
  7224. "marketid": {
  7225. "description": "预售市场ID - 根据预售模式选择市场",
  7226. "type": "integer"
  7227. },
  7228. "presaledamount": {
  7229. "description": "已预售总金额(预售结束时更新)",
  7230. "type": "number"
  7231. },
  7232. "presaledqty": {
  7233. "description": "已预售量(预售结束时更新)",
  7234. "type": "integer"
  7235. },
  7236. "presalemode": {
  7237. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  7238. "type": "integer"
  7239. },
  7240. "presaleqty": {
  7241. "description": "预售数量",
  7242. "type": "integer"
  7243. },
  7244. "refprice": {
  7245. "description": "参考价格[一口价]",
  7246. "type": "number"
  7247. },
  7248. "relatedgoodsid": {
  7249. "description": "关联交易合约ID",
  7250. "type": "integer"
  7251. },
  7252. "relatedmarketid": {
  7253. "description": "关联交易合约市场ID",
  7254. "type": "integer"
  7255. },
  7256. "sellstatus": {
  7257. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  7258. "type": "integer"
  7259. },
  7260. "startprice": {
  7261. "description": "起拍价[大宗式竞拍]",
  7262. "type": "number"
  7263. },
  7264. "starttime": {
  7265. "description": "预售开始时间",
  7266. "type": "string"
  7267. },
  7268. "tradedate": {
  7269. "description": "交易日(yyyyMMdd)",
  7270. "type": "string"
  7271. },
  7272. "tradeprice": {
  7273. "description": "成交价[大宗]",
  7274. "type": "number"
  7275. }
  7276. }
  7277. },
  7278. "delivery.QueryDeliveryRelationRsp": {
  7279. "type": "object",
  7280. "required": [
  7281. "begindate",
  7282. "enddate",
  7283. "goodsid",
  7284. "mindeliveryqty",
  7285. "xdeliveryratio"
  7286. ],
  7287. "properties": {
  7288. "begindate": {
  7289. "description": "起始日期(yyyyMMdd)",
  7290. "type": "string"
  7291. },
  7292. "buytemplateid": {
  7293. "description": "买履约计划模板ID",
  7294. "type": "integer"
  7295. },
  7296. "deliverygoodscode": {
  7297. "description": "品种代码",
  7298. "type": "string"
  7299. },
  7300. "deliverygoodsid": {
  7301. "description": "交割商品",
  7302. "type": "integer"
  7303. },
  7304. "deliverygoodsname": {
  7305. "description": "品种名称",
  7306. "type": "string"
  7307. },
  7308. "deliverymode": {
  7309. "description": "交割方式 - 1:点选式 2:申报式",
  7310. "type": "integer"
  7311. },
  7312. "deliverypricerule": {
  7313. "description": "交割价规则- 1:行情价 2:建仓价",
  7314. "type": "integer"
  7315. },
  7316. "deliverytype": {
  7317. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7318. "type": "integer"
  7319. },
  7320. "enddate": {
  7321. "description": "结束日期(yyyyMMdd)",
  7322. "type": "string"
  7323. },
  7324. "goodscode": {
  7325. "description": "商品代码",
  7326. "type": "string"
  7327. },
  7328. "goodsid": {
  7329. "description": "交易合约ID",
  7330. "type": "integer"
  7331. },
  7332. "goodsname": {
  7333. "description": "商品名称",
  7334. "type": "string"
  7335. },
  7336. "marketid": {
  7337. "description": "市场ID",
  7338. "type": "integer"
  7339. },
  7340. "mindeliveryqty": {
  7341. "description": "最小交割系数(K)",
  7342. "type": "integer"
  7343. },
  7344. "p2deliveryprice": {
  7345. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7346. "type": "number"
  7347. },
  7348. "p2deliveryratio": {
  7349. "description": "P2合约系数(p)",
  7350. "type": "integer"
  7351. },
  7352. "p2goodsid": {
  7353. "description": "P2合约ID",
  7354. "type": "integer"
  7355. },
  7356. "p2pricemode": {
  7357. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7358. "type": "integer"
  7359. },
  7360. "pdeliveryprice": {
  7361. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7362. "type": "number"
  7363. },
  7364. "pdeliveryratio": {
  7365. "description": "P合约系数(n)",
  7366. "type": "integer"
  7367. },
  7368. "pgoodsid": {
  7369. "description": "P合约ID",
  7370. "type": "integer"
  7371. },
  7372. "ppricemode": {
  7373. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7374. "type": "integer"
  7375. },
  7376. "rratio": {
  7377. "description": "兑换系数(R)",
  7378. "type": "integer"
  7379. },
  7380. "rratio1": {
  7381. "description": "兑换系数(交易合约)(R1)",
  7382. "type": "integer"
  7383. },
  7384. "rratio2": {
  7385. "description": "兑换系数(仓单标准)(R2)",
  7386. "type": "integer"
  7387. },
  7388. "selltemplateid": {
  7389. "description": "卖履约计划模板ID",
  7390. "type": "integer"
  7391. },
  7392. "wrstandardid": {
  7393. "description": "仓单标准ID",
  7394. "type": "integer"
  7395. },
  7396. "xdeliveryratio": {
  7397. "description": "交易合约系数(m)",
  7398. "type": "integer"
  7399. }
  7400. }
  7401. },
  7402. "ermcp.ExposureDetailRsp": {
  7403. "type": "object",
  7404. "properties": {
  7405. "areauserid": {
  7406. "description": "机构ID",
  7407. "type": "integer"
  7408. },
  7409. "changeQty": {
  7410. "description": "套保变动量",
  7411. "type": "number"
  7412. },
  7413. "contracttype": {
  7414. "description": "现货合同类型 - 1:采购 -1:销售",
  7415. "type": "integer"
  7416. },
  7417. "convertfactor": {
  7418. "description": "标仓系数",
  7419. "type": "number"
  7420. },
  7421. "convertratio": {
  7422. "description": "套保系数",
  7423. "type": "number"
  7424. },
  7425. "createtime": {
  7426. "description": "时间",
  7427. "type": "string"
  7428. },
  7429. "enumdicname": {
  7430. "description": "现货商品单位名称",
  7431. "type": "string"
  7432. },
  7433. "logtype": {
  7434. "description": "类型 - 1:套保计划 2:现货合同",
  7435. "type": "integer"
  7436. },
  7437. "middlegoodsId": {
  7438. "description": "套保商品id",
  7439. "type": "integer"
  7440. },
  7441. "middlegoodscode": {
  7442. "description": "套保商品代码",
  7443. "type": "string"
  7444. },
  7445. "middlegoodsname": {
  7446. "description": "套保商品名称",
  7447. "type": "string"
  7448. },
  7449. "qty": {
  7450. "description": "数量",
  7451. "type": "number"
  7452. },
  7453. "relateNo": {
  7454. "description": "现货合同/套保计划编号",
  7455. "type": "string"
  7456. },
  7457. "wrstandardcode": {
  7458. "description": "现货商品代码",
  7459. "type": "string"
  7460. },
  7461. "wrstandardid": {
  7462. "description": "现货商品ID",
  7463. "type": "integer"
  7464. },
  7465. "wrstandardname": {
  7466. "description": "现货商品名称",
  7467. "type": "string"
  7468. }
  7469. }
  7470. },
  7471. "ermcp.ExposureHedgePosDetailRsp": {
  7472. "type": "object",
  7473. "properties": {
  7474. "buyorsell": {
  7475. "description": "买卖方向 0-买 1-卖",
  7476. "type": "integer"
  7477. },
  7478. "channelbuildtype": {
  7479. "description": "开平方向 1-建仓 2-平仓",
  7480. "type": "integer"
  7481. },
  7482. "goodscode": {
  7483. "description": "商品代码",
  7484. "type": "string"
  7485. },
  7486. "goodsname": {
  7487. "description": "商品名称",
  7488. "type": "string"
  7489. },
  7490. "hedgegoodsid": {
  7491. "description": "商品id",
  7492. "type": "integer"
  7493. },
  7494. "tradeqty": {
  7495. "description": "数量(成交数量)",
  7496. "type": "integer"
  7497. },
  7498. "tradetime": {
  7499. "description": "时间(成交时间)",
  7500. "type": "string"
  7501. }
  7502. }
  7503. },
  7504. "ermcp.ExposureHedgePositionRsp": {
  7505. "type": "object",
  7506. "properties": {
  7507. "accountid": {
  7508. "description": "资金账号[外部母账户]",
  7509. "type": "integer"
  7510. },
  7511. "curbuyposition": {
  7512. "description": "期末买头寸",
  7513. "type": "integer"
  7514. },
  7515. "cursellposition": {
  7516. "description": "期末卖头寸",
  7517. "type": "integer"
  7518. },
  7519. "curtdbuyposition": {
  7520. "description": "期末今日买头寸",
  7521. "type": "integer"
  7522. },
  7523. "curtdsellposition": {
  7524. "description": "期末今日卖头寸",
  7525. "type": "integer"
  7526. },
  7527. "curydbuyposition": {
  7528. "description": "期末上日买头寸",
  7529. "type": "integer"
  7530. },
  7531. "curydsellposition": {
  7532. "description": "期末上日卖头寸",
  7533. "type": "integer"
  7534. },
  7535. "decreaseqty": {
  7536. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7537. "type": "integer"
  7538. },
  7539. "fretdbuyposition": {
  7540. "description": "冻结今日买头寸",
  7541. "type": "integer"
  7542. },
  7543. "fretdsellposition": {
  7544. "description": "冻结今日卖头寸",
  7545. "type": "integer"
  7546. },
  7547. "freydbuyposition": {
  7548. "description": "冻结上日买头寸",
  7549. "type": "integer"
  7550. },
  7551. "freydsellposition": {
  7552. "description": "冻结上日卖头寸",
  7553. "type": "integer"
  7554. },
  7555. "goodscode": {
  7556. "description": "商品代码",
  7557. "type": "string"
  7558. },
  7559. "goodsid": {
  7560. "description": "商品id",
  7561. "type": "integer"
  7562. },
  7563. "goodsname": {
  7564. "description": "商品名称",
  7565. "type": "string"
  7566. },
  7567. "hedgeaccountcode": {
  7568. "description": "对冲账号",
  7569. "type": "string"
  7570. },
  7571. "hedgegoodsid": {
  7572. "description": "对冲合约ID",
  7573. "type": "integer"
  7574. },
  7575. "increaseqty": {
  7576. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7577. "type": "integer"
  7578. },
  7579. "marketid": {
  7580. "description": "市场ID",
  7581. "type": "integer"
  7582. },
  7583. "relateduserid": {
  7584. "description": "关联用户id",
  7585. "type": "integer"
  7586. },
  7587. "totalcurqty": {
  7588. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7589. "type": "integer"
  7590. },
  7591. "totalydqty": {
  7592. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7593. "type": "integer"
  7594. },
  7595. "tradedate": {
  7596. "description": "交易日(yyyyMMdd)",
  7597. "type": "string"
  7598. },
  7599. "ydbuyposition": {
  7600. "description": "期初买头寸",
  7601. "type": "integer"
  7602. },
  7603. "ydsellposition": {
  7604. "description": "期初卖头寸",
  7605. "type": "integer"
  7606. }
  7607. }
  7608. },
  7609. "ermcp.ExposureSpotDetailRsp": {
  7610. "type": "object",
  7611. "properties": {
  7612. "contracttype": {
  7613. "description": "合同类型 1-采购 -1-销售",
  7614. "type": "integer"
  7615. },
  7616. "createtime": {
  7617. "description": "创建时间",
  7618. "type": "string"
  7619. },
  7620. "enumdicname": {
  7621. "description": "现货商品单位名称",
  7622. "type": "string"
  7623. },
  7624. "logtype": {
  7625. "description": "记录类型 1-套保 2-现货合同",
  7626. "type": "integer"
  7627. },
  7628. "qty": {
  7629. "description": "数量",
  7630. "type": "number"
  7631. },
  7632. "recordname": {
  7633. "description": "类型名称",
  7634. "type": "string"
  7635. },
  7636. "relatedid": {
  7637. "description": "套保计划ID/现货合同ID",
  7638. "type": "string"
  7639. },
  7640. "relatedno": {
  7641. "description": "编号",
  7642. "type": "string"
  7643. },
  7644. "strtime": {
  7645. "description": "时间",
  7646. "type": "string"
  7647. },
  7648. "wrstandardcode": {
  7649. "description": "现货商品代码",
  7650. "type": "string"
  7651. },
  7652. "wrstandardname": {
  7653. "description": "现货商品名称",
  7654. "type": "string"
  7655. }
  7656. }
  7657. },
  7658. "ermcp.ExposureSpotRsp": {
  7659. "type": "object",
  7660. "properties": {
  7661. "areauserid": {
  7662. "description": "所属机构",
  7663. "type": "integer"
  7664. },
  7665. "decreaseqty": {
  7666. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7667. "type": "number"
  7668. },
  7669. "increaseqty": {
  7670. "description": "增加数量=销售计划数量+采购已定价数量",
  7671. "type": "number"
  7672. },
  7673. "oritoalspotqty": {
  7674. "description": "昨日数量",
  7675. "type": "number"
  7676. },
  7677. "totalspotqty": {
  7678. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7679. "type": "number"
  7680. },
  7681. "updatetime": {
  7682. "description": "更新时间",
  7683. "type": "string"
  7684. },
  7685. "wrstandardcode": {
  7686. "description": "现货品种代码",
  7687. "type": "string"
  7688. },
  7689. "wrstandardid": {
  7690. "description": "现货商品ID",
  7691. "type": "integer"
  7692. },
  7693. "wrstandardname": {
  7694. "description": "现货品种",
  7695. "type": "string"
  7696. }
  7697. }
  7698. },
  7699. "ermcp.HisExposureRsp": {
  7700. "type": "object",
  7701. "properties": {
  7702. "data": {
  7703. "description": "历史敞口",
  7704. "type": "array",
  7705. "items": {
  7706. "$ref": "#/definitions/models.ErmcpHisExposure"
  7707. }
  7708. },
  7709. "enumdicname": {
  7710. "description": "单位名称",
  7711. "type": "string"
  7712. },
  7713. "middlegoodscode": {
  7714. "description": "套保品种代码",
  7715. "type": "string"
  7716. },
  7717. "middlegoodsid": {
  7718. "description": "套保品种ID",
  7719. "type": "integer"
  7720. },
  7721. "middlegoodsname": {
  7722. "description": "套保品种名称",
  7723. "type": "string"
  7724. }
  7725. }
  7726. },
  7727. "ermcp.PendingAuditCntRsp": {
  7728. "type": "object",
  7729. "properties": {
  7730. "businessdjqty": {
  7731. "description": "待审核数量: 点价",
  7732. "type": "integer"
  7733. },
  7734. "businessfpqty": {
  7735. "description": "待审核数量: 发票",
  7736. "type": "integer"
  7737. },
  7738. "businessjsqty": {
  7739. "description": "待审核数量: 结算",
  7740. "type": "integer"
  7741. },
  7742. "businesskxqty": {
  7743. "description": "待审核数量: 款项",
  7744. "type": "integer"
  7745. },
  7746. "hedgeplanqty": {
  7747. "description": "待审核数量: 套保计划",
  7748. "type": "integer"
  7749. },
  7750. "spotcontractqty": {
  7751. "description": "待审核数量: 现货合同",
  7752. "type": "integer"
  7753. },
  7754. "userqty": {
  7755. "description": "待审核数量: 用户",
  7756. "type": "integer"
  7757. }
  7758. }
  7759. },
  7760. "ermcp.QryAvalidGPRsp": {
  7761. "type": "object",
  7762. "properties": {
  7763. "goodsgroupid": {
  7764. "description": "期货品种id",
  7765. "type": "integer"
  7766. },
  7767. "goodsgroupname": {
  7768. "description": "期货品种名称",
  7769. "type": "string"
  7770. },
  7771. "goodunitid": {
  7772. "description": "品种单位id",
  7773. "type": "integer"
  7774. },
  7775. "goodunitname": {
  7776. "description": "品种单位名称",
  7777. "type": "string"
  7778. },
  7779. "outergroupcode": {
  7780. "description": "期货品种代码",
  7781. "type": "string"
  7782. }
  7783. }
  7784. },
  7785. "ermcp.QryBusinessDjRsp": {
  7786. "type": "object",
  7787. "properties": {
  7788. "amount": {
  7789. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7790. "type": "number"
  7791. },
  7792. "applyid": {
  7793. "description": "申请人",
  7794. "type": "string"
  7795. },
  7796. "applyname": {
  7797. "description": "申请人名称",
  7798. "type": "string"
  7799. },
  7800. "applystatus": {
  7801. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7802. "type": "integer"
  7803. },
  7804. "applytime": {
  7805. "description": "申请时间",
  7806. "type": "string"
  7807. },
  7808. "attachurl": {
  7809. "description": "附件",
  7810. "type": "string"
  7811. },
  7812. "auditname": {
  7813. "description": "审核人名称",
  7814. "type": "string"
  7815. },
  7816. "audittime": {
  7817. "description": "审核时间",
  7818. "type": "string"
  7819. },
  7820. "buyusername": {
  7821. "description": "采购方名称",
  7822. "type": "string"
  7823. },
  7824. "contractno": {
  7825. "description": "合同编号",
  7826. "type": "string"
  7827. },
  7828. "contractstatus": {
  7829. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7830. "type": "integer"
  7831. },
  7832. "contracttype": {
  7833. "description": "现货合同类型 - 1:采购 -1:销售",
  7834. "type": "integer"
  7835. },
  7836. "enumdicname": {
  7837. "description": "单位名称",
  7838. "type": "string"
  7839. },
  7840. "goodscode": {
  7841. "description": "点价合约",
  7842. "type": "string"
  7843. },
  7844. "goodsname": {
  7845. "description": "商品名称",
  7846. "type": "string"
  7847. },
  7848. "operateapplyid": {
  7849. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7850. "type": "string"
  7851. },
  7852. "operateapplytype": {
  7853. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7854. "type": "integer"
  7855. },
  7856. "pricedPrice": {
  7857. "description": "点价价格(非必填)",
  7858. "type": "number"
  7859. },
  7860. "pricedQty": {
  7861. "description": "点价数量(非必填)",
  7862. "type": "number"
  7863. },
  7864. "pricemove": {
  7865. "description": "升贴水",
  7866. "type": "number"
  7867. },
  7868. "pricetype": {
  7869. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7870. "type": "integer"
  7871. },
  7872. "relatedid": {
  7873. "description": "现货合同ID",
  7874. "type": "string"
  7875. },
  7876. "sellusername": {
  7877. "description": "销售方名字",
  7878. "type": "string"
  7879. },
  7880. "userid": {
  7881. "description": "用户ID",
  7882. "type": "integer"
  7883. }
  7884. }
  7885. },
  7886. "ermcp.QryBussinessFpRsp": {
  7887. "type": "object",
  7888. "properties": {
  7889. "applyid": {
  7890. "description": "申请人",
  7891. "type": "string"
  7892. },
  7893. "applyname": {
  7894. "description": "申请人名称",
  7895. "type": "string"
  7896. },
  7897. "applystatus": {
  7898. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7899. "type": "integer"
  7900. },
  7901. "applytime": {
  7902. "description": "申请时间",
  7903. "type": "string"
  7904. },
  7905. "attachurl": {
  7906. "description": "附件",
  7907. "type": "string"
  7908. },
  7909. "auditname": {
  7910. "description": "审核人名称",
  7911. "type": "string"
  7912. },
  7913. "audittime": {
  7914. "description": "审核时间",
  7915. "type": "string"
  7916. },
  7917. "buyusername": {
  7918. "description": "采购方名称",
  7919. "type": "string"
  7920. },
  7921. "contractno": {
  7922. "description": "合同编号",
  7923. "type": "string"
  7924. },
  7925. "contractstatus": {
  7926. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7927. "type": "integer"
  7928. },
  7929. "contracttype": {
  7930. "description": "现货合同类型 - 1:采购 -1:销售",
  7931. "type": "integer"
  7932. },
  7933. "enumdicname": {
  7934. "description": "单位名称",
  7935. "type": "string"
  7936. },
  7937. "goodscode": {
  7938. "description": "点价合约",
  7939. "type": "string"
  7940. },
  7941. "goodsname": {
  7942. "description": "商品名称",
  7943. "type": "string"
  7944. },
  7945. "invoiceAmount": {
  7946. "description": "已开收票金额(销售为开票,采购为收票)",
  7947. "type": "number"
  7948. },
  7949. "operateapplyid": {
  7950. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7951. "type": "string"
  7952. },
  7953. "operateapplytype": {
  7954. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7955. "type": "integer"
  7956. },
  7957. "pricemove": {
  7958. "description": "升贴水",
  7959. "type": "number"
  7960. },
  7961. "pricetype": {
  7962. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7963. "type": "integer"
  7964. },
  7965. "relatedid": {
  7966. "description": "现货合同ID",
  7967. "type": "string"
  7968. },
  7969. "sellusername": {
  7970. "description": "销售方名字",
  7971. "type": "string"
  7972. },
  7973. "userid": {
  7974. "description": "用户ID",
  7975. "type": "integer"
  7976. }
  7977. }
  7978. },
  7979. "ermcp.QryBussinessJsExRsp": {
  7980. "type": "object",
  7981. "properties": {
  7982. "applyid": {
  7983. "description": "申请人",
  7984. "type": "string"
  7985. },
  7986. "applyname": {
  7987. "description": "申请人名称",
  7988. "type": "string"
  7989. },
  7990. "applystatus": {
  7991. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7992. "type": "integer"
  7993. },
  7994. "applytime": {
  7995. "description": "申请时间",
  7996. "type": "string"
  7997. },
  7998. "attachurl": {
  7999. "description": "附件",
  8000. "type": "string"
  8001. },
  8002. "auditname": {
  8003. "description": "审核人名称",
  8004. "type": "string"
  8005. },
  8006. "audittime": {
  8007. "description": "审核时间",
  8008. "type": "string"
  8009. },
  8010. "buyusername": {
  8011. "description": "采购方名称",
  8012. "type": "string"
  8013. },
  8014. "contractno": {
  8015. "description": "合同编号",
  8016. "type": "string"
  8017. },
  8018. "contractstatus": {
  8019. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8020. "type": "integer"
  8021. },
  8022. "contracttype": {
  8023. "description": "现货合同类型 - 1:采购 -1:销售",
  8024. "type": "integer"
  8025. },
  8026. "enumdicname": {
  8027. "description": "单位名称",
  8028. "type": "string"
  8029. },
  8030. "goodscode": {
  8031. "description": "点价合约",
  8032. "type": "string"
  8033. },
  8034. "goodsname": {
  8035. "description": "商品名称",
  8036. "type": "string"
  8037. },
  8038. "operateapplyid": {
  8039. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8040. "type": "string"
  8041. },
  8042. "operateapplytype": {
  8043. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8044. "type": "integer"
  8045. },
  8046. "pricemove": {
  8047. "description": "升贴水",
  8048. "type": "number"
  8049. },
  8050. "pricetype": {
  8051. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8052. "type": "integer"
  8053. },
  8054. "reckontype": {
  8055. "description": "结算类型",
  8056. "type": "string"
  8057. },
  8058. "reckonvalue": {
  8059. "description": "值",
  8060. "type": "number"
  8061. },
  8062. "relatedid": {
  8063. "description": "现货合同ID",
  8064. "type": "string"
  8065. },
  8066. "sellusername": {
  8067. "description": "销售方名字",
  8068. "type": "string"
  8069. },
  8070. "userid": {
  8071. "description": "用户ID",
  8072. "type": "integer"
  8073. }
  8074. }
  8075. },
  8076. "ermcp.QryBussinessJsRsp": {
  8077. "type": "object",
  8078. "properties": {
  8079. "addmargin": {
  8080. "description": "追加保证金(非必填)",
  8081. "type": "number"
  8082. },
  8083. "applyid": {
  8084. "description": "申请人",
  8085. "type": "string"
  8086. },
  8087. "applyname": {
  8088. "description": "申请人名称",
  8089. "type": "string"
  8090. },
  8091. "applystatus": {
  8092. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8093. "type": "integer"
  8094. },
  8095. "applytime": {
  8096. "description": "申请时间",
  8097. "type": "string"
  8098. },
  8099. "attachurl": {
  8100. "description": "附件",
  8101. "type": "string"
  8102. },
  8103. "auditname": {
  8104. "description": "审核人名称",
  8105. "type": "string"
  8106. },
  8107. "audittime": {
  8108. "description": "审核时间",
  8109. "type": "string"
  8110. },
  8111. "buyusername": {
  8112. "description": "采购方名称",
  8113. "type": "string"
  8114. },
  8115. "contractno": {
  8116. "description": "合同编号",
  8117. "type": "string"
  8118. },
  8119. "contractstatus": {
  8120. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8121. "type": "integer"
  8122. },
  8123. "contracttype": {
  8124. "description": "现货合同类型 - 1:采购 -1:销售",
  8125. "type": "integer"
  8126. },
  8127. "decmargin": {
  8128. "description": "减少保证金(非必填)",
  8129. "type": "number"
  8130. },
  8131. "enumdicname": {
  8132. "description": "单位名称",
  8133. "type": "string"
  8134. },
  8135. "goodscode": {
  8136. "description": "点价合约",
  8137. "type": "string"
  8138. },
  8139. "goodsname": {
  8140. "description": "商品名称",
  8141. "type": "string"
  8142. },
  8143. "operateapplyid": {
  8144. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8145. "type": "string"
  8146. },
  8147. "operateapplytype": {
  8148. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8149. "type": "integer"
  8150. },
  8151. "pricemove": {
  8152. "description": "升贴水",
  8153. "type": "number"
  8154. },
  8155. "pricetype": {
  8156. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8157. "type": "integer"
  8158. },
  8159. "reckonadjustamount": {
  8160. "description": "结算调整金额(非必填)",
  8161. "type": "number"
  8162. },
  8163. "reckonosamount": {
  8164. "description": "结算溢短金额(非必填)",
  8165. "type": "number"
  8166. },
  8167. "reckonotheramount": {
  8168. "description": "结算其他费用(非必填)",
  8169. "type": "number"
  8170. },
  8171. "reckonrealqty": {
  8172. "description": "结算实际数量(非必填)",
  8173. "type": "number"
  8174. },
  8175. "relatedid": {
  8176. "description": "现货合同ID",
  8177. "type": "string"
  8178. },
  8179. "sellusername": {
  8180. "description": "销售方名字",
  8181. "type": "string"
  8182. },
  8183. "userid": {
  8184. "description": "用户ID",
  8185. "type": "integer"
  8186. }
  8187. }
  8188. },
  8189. "ermcp.QryBussinessKxRsp": {
  8190. "type": "object",
  8191. "properties": {
  8192. "applyid": {
  8193. "description": "申请人",
  8194. "type": "string"
  8195. },
  8196. "applyname": {
  8197. "description": "申请人名称",
  8198. "type": "string"
  8199. },
  8200. "applystatus": {
  8201. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8202. "type": "integer"
  8203. },
  8204. "applytime": {
  8205. "description": "申请时间",
  8206. "type": "string"
  8207. },
  8208. "attachurl": {
  8209. "description": "附件",
  8210. "type": "string"
  8211. },
  8212. "auditname": {
  8213. "description": "审核人名称",
  8214. "type": "string"
  8215. },
  8216. "audittime": {
  8217. "description": "审核时间",
  8218. "type": "string"
  8219. },
  8220. "buyusername": {
  8221. "description": "采购方名称",
  8222. "type": "string"
  8223. },
  8224. "contractno": {
  8225. "description": "合同编号",
  8226. "type": "string"
  8227. },
  8228. "contractstatus": {
  8229. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8230. "type": "integer"
  8231. },
  8232. "contracttype": {
  8233. "description": "现货合同类型 - 1:采购 -1:销售",
  8234. "type": "integer"
  8235. },
  8236. "deductamount": {
  8237. "description": "退款(非必填)",
  8238. "type": "number"
  8239. },
  8240. "enumdicname": {
  8241. "description": "单位名称",
  8242. "type": "string"
  8243. },
  8244. "goodscode": {
  8245. "description": "点价合约",
  8246. "type": "string"
  8247. },
  8248. "goodsname": {
  8249. "description": "商品名称",
  8250. "type": "string"
  8251. },
  8252. "kxtype": {
  8253. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  8254. "type": "integer"
  8255. },
  8256. "operateapplyid": {
  8257. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8258. "type": "string"
  8259. },
  8260. "operateapplytype": {
  8261. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8262. "type": "integer"
  8263. },
  8264. "payamount": {
  8265. "description": "收付款(非必填)",
  8266. "type": "number"
  8267. },
  8268. "pricemove": {
  8269. "description": "升贴水",
  8270. "type": "number"
  8271. },
  8272. "pricetype": {
  8273. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8274. "type": "integer"
  8275. },
  8276. "relatedid": {
  8277. "description": "现货合同ID",
  8278. "type": "string"
  8279. },
  8280. "sellusername": {
  8281. "description": "销售方名字",
  8282. "type": "string"
  8283. },
  8284. "userid": {
  8285. "description": "用户ID",
  8286. "type": "integer"
  8287. }
  8288. }
  8289. },
  8290. "ermcp.QryErmcpRsp": {
  8291. "type": "object",
  8292. "properties": {
  8293. "accountname": {
  8294. "description": "账户名称",
  8295. "type": "string"
  8296. },
  8297. "attachment": {
  8298. "description": "附件",
  8299. "type": "string"
  8300. },
  8301. "audittime": {
  8302. "description": "审核时间",
  8303. "type": "string"
  8304. },
  8305. "contracctstatus": {
  8306. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8307. "type": "integer"
  8308. },
  8309. "contractmargin": {
  8310. "description": "合同保证金",
  8311. "type": "number"
  8312. },
  8313. "contractno": {
  8314. "description": "合同编号",
  8315. "type": "string"
  8316. },
  8317. "contracttype": {
  8318. "description": "合同类型 1-采购, -1-销售",
  8319. "type": "integer"
  8320. },
  8321. "convertfactor": {
  8322. "description": "标仓系数",
  8323. "type": "number"
  8324. },
  8325. "createtime": {
  8326. "description": "创建时间",
  8327. "type": "string"
  8328. },
  8329. "daikaiamount": {
  8330. "description": "待开票额",
  8331. "type": "number"
  8332. },
  8333. "deliveryenddate": {
  8334. "description": "交割结束日",
  8335. "type": "string"
  8336. },
  8337. "deliverygoodscode": {
  8338. "description": "现货商品代码",
  8339. "type": "string"
  8340. },
  8341. "deliverygoodsid": {
  8342. "description": "现货商品ID",
  8343. "type": "integer"
  8344. },
  8345. "deliverygoodsname": {
  8346. "description": "现货商品名称",
  8347. "type": "string"
  8348. },
  8349. "deliverystartdate": {
  8350. "description": "交割开始日",
  8351. "type": "string"
  8352. },
  8353. "enddate": {
  8354. "description": "点价结束日",
  8355. "type": "string"
  8356. },
  8357. "enumdicname": {
  8358. "description": "单位名称",
  8359. "type": "string"
  8360. },
  8361. "goodscode": {
  8362. "description": "点价商品代码",
  8363. "type": "string"
  8364. },
  8365. "goodsid": {
  8366. "description": "点价商品ID",
  8367. "type": "integer"
  8368. },
  8369. "goodsname": {
  8370. "description": "点价商品名称",
  8371. "type": "string"
  8372. },
  8373. "invoiceamount": {
  8374. "description": "已开票额",
  8375. "type": "number"
  8376. },
  8377. "loanamount": {
  8378. "description": "贷款总额=已定价额+调整金额",
  8379. "type": "number"
  8380. },
  8381. "margin": {
  8382. "description": "保证金",
  8383. "type": "number"
  8384. },
  8385. "payamount": {
  8386. "description": "已收付额(收款或付款)",
  8387. "type": "number"
  8388. },
  8389. "price": {
  8390. "description": "价格",
  8391. "type": "number"
  8392. },
  8393. "pricedamount": {
  8394. "description": "已定价额",
  8395. "type": "number"
  8396. },
  8397. "pricedavg": {
  8398. "description": "已点均价",
  8399. "type": "number"
  8400. },
  8401. "pricedqty": {
  8402. "description": "已定价量",
  8403. "type": "number"
  8404. },
  8405. "pricemove": {
  8406. "description": "升贴水",
  8407. "type": "number"
  8408. },
  8409. "pricetype": {
  8410. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8411. "type": "integer"
  8412. },
  8413. "producttype": {
  8414. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8415. "type": "integer"
  8416. },
  8417. "qty": {
  8418. "description": "合同量",
  8419. "type": "number"
  8420. },
  8421. "reckonadjustamount": {
  8422. "description": "调整金额",
  8423. "type": "number"
  8424. },
  8425. "reckonedamount": {
  8426. "description": "已收付额(已确定额)",
  8427. "type": "number"
  8428. },
  8429. "reckonotheramount": {
  8430. "description": "其它费用",
  8431. "type": "number"
  8432. },
  8433. "reckonrealqty": {
  8434. "description": "已确定量",
  8435. "type": "number"
  8436. },
  8437. "remark": {
  8438. "description": "备注",
  8439. "type": "string"
  8440. },
  8441. "spotcontractid": {
  8442. "description": "合同ID",
  8443. "type": "string"
  8444. },
  8445. "spotgoodsdesc": {
  8446. "description": "商品型号(商品规格)",
  8447. "type": "string"
  8448. },
  8449. "startdate": {
  8450. "description": "点价开始日",
  8451. "type": "string"
  8452. },
  8453. "totalamount": {
  8454. "description": "合计总额",
  8455. "type": "number"
  8456. },
  8457. "unpayamount": {
  8458. "description": "待支收额(支付或收款)",
  8459. "type": "number"
  8460. },
  8461. "unpricedqty": {
  8462. "description": "未定价量",
  8463. "type": "number"
  8464. },
  8465. "unsureqty": {
  8466. "description": "未确定量",
  8467. "type": "number"
  8468. },
  8469. "userid": {
  8470. "description": "用户ID",
  8471. "type": "integer"
  8472. }
  8473. }
  8474. },
  8475. "ermcp.QryGGCovertCfgRsp": {
  8476. "type": "object",
  8477. "properties": {
  8478. "convertratio": {
  8479. "description": "折算系数",
  8480. "type": "number"
  8481. },
  8482. "destgoodsgroupid": {
  8483. "description": "目标品种ID",
  8484. "type": "integer"
  8485. },
  8486. "dstcode": {
  8487. "description": "目录品种代码",
  8488. "type": "string"
  8489. },
  8490. "dstexchangecode": {
  8491. "description": "目标期货交易所",
  8492. "type": "string"
  8493. },
  8494. "dstname": {
  8495. "description": "目标品种名称",
  8496. "type": "string"
  8497. },
  8498. "dstunitid": {
  8499. "description": "目标品种单位ID",
  8500. "type": "integer"
  8501. },
  8502. "dstunitidname": {
  8503. "description": "目标品种单位名称",
  8504. "type": "string"
  8505. },
  8506. "srccode": {
  8507. "description": "源品种代码",
  8508. "type": "string"
  8509. },
  8510. "srcexchangecode": {
  8511. "description": "源期货交易所",
  8512. "type": "string"
  8513. },
  8514. "srcgoodsgroupid": {
  8515. "description": "源品种ID",
  8516. "type": "integer"
  8517. },
  8518. "srcname": {
  8519. "description": "源品种名称",
  8520. "type": "string"
  8521. },
  8522. "srcunitid": {
  8523. "description": "源品种单位ID",
  8524. "type": "integer"
  8525. },
  8526. "srcunitidname": {
  8527. "description": "源品种单位名称",
  8528. "type": "string"
  8529. }
  8530. }
  8531. },
  8532. "ermcp.QryHedgePlanRsp": {
  8533. "type": "object",
  8534. "properties": {
  8535. "areauserid": {
  8536. "description": "用户ID",
  8537. "type": "integer"
  8538. },
  8539. "contracttype": {
  8540. "description": "计划类型 - 1:采购 -1:销售",
  8541. "type": "integer"
  8542. },
  8543. "convertfactor": {
  8544. "description": "标仓系数",
  8545. "type": "number"
  8546. },
  8547. "createtime": {
  8548. "description": "创建时间",
  8549. "type": "string"
  8550. },
  8551. "deliverygoodsid": {
  8552. "description": "现货品种ID",
  8553. "type": "integer"
  8554. },
  8555. "deliverygoodsname": {
  8556. "description": "现货品种名称",
  8557. "type": "string"
  8558. },
  8559. "hedgeplanid": {
  8560. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8561. "type": "string"
  8562. },
  8563. "hedgeplanno": {
  8564. "description": "套保计划编号(名称)",
  8565. "type": "string"
  8566. },
  8567. "hedgeplanstatus": {
  8568. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8569. "type": "integer"
  8570. },
  8571. "planqty": {
  8572. "description": "计划数量",
  8573. "type": "number"
  8574. },
  8575. "plantime": {
  8576. "description": "计划时间",
  8577. "type": "string"
  8578. },
  8579. "producttype": {
  8580. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8581. "type": "integer"
  8582. },
  8583. "remark": {
  8584. "description": "备注",
  8585. "type": "string"
  8586. },
  8587. "spotgoodsdesc": {
  8588. "description": "商品型号",
  8589. "type": "string"
  8590. },
  8591. "wrstandardid": {
  8592. "description": "现货商品ID",
  8593. "type": "integer"
  8594. },
  8595. "wrstandardname": {
  8596. "description": "现货商品名称",
  8597. "type": "string"
  8598. }
  8599. }
  8600. },
  8601. "ermcp.QryMGChangeLogRsp": {
  8602. "type": "object",
  8603. "properties": {
  8604. "aftervalue": {
  8605. "description": "变更后",
  8606. "type": "number"
  8607. },
  8608. "applyid": {
  8609. "description": "操作人",
  8610. "type": "integer"
  8611. },
  8612. "applyname": {
  8613. "description": "操作人名称",
  8614. "type": "string"
  8615. },
  8616. "applysrc": {
  8617. "description": "操作来源 - 1:管理端 2:终端",
  8618. "type": "integer"
  8619. },
  8620. "beforevalue": {
  8621. "description": "变更前",
  8622. "type": "number"
  8623. },
  8624. "changelogtype": {
  8625. "description": "变更流水类型 - 1:套保比率变更",
  8626. "type": "integer"
  8627. },
  8628. "handlestatus": {
  8629. "description": "处理状态",
  8630. "type": "integer"
  8631. },
  8632. "logdatetime": {
  8633. "description": "流水日期",
  8634. "type": "string"
  8635. },
  8636. "logid": {
  8637. "description": "流水ID",
  8638. "type": "integer"
  8639. },
  8640. "logremark": {
  8641. "description": "流水备注",
  8642. "type": "string"
  8643. },
  8644. "middlegoodsid": {
  8645. "description": "套保品种ID",
  8646. "type": "integer"
  8647. },
  8648. "tradedate": {
  8649. "description": "交易日(yyyyMMdd)",
  8650. "type": "string"
  8651. },
  8652. "updatetime": {
  8653. "description": "更新时间",
  8654. "type": "string"
  8655. }
  8656. }
  8657. },
  8658. "ermcp.QryMiddleGoodsDetailRsp": {
  8659. "type": "object",
  8660. "properties": {
  8661. "cvList": {
  8662. "description": "期货品种折算列表",
  8663. "type": "array",
  8664. "items": {
  8665. "$ref": "#/definitions/models.GoodsGroupConvert"
  8666. }
  8667. },
  8668. "mg": {
  8669. "description": "套保品种基本信息",
  8670. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8671. }
  8672. }
  8673. },
  8674. "ermcp.QryMiddleGoodsRsp": {
  8675. "type": "object",
  8676. "properties": {
  8677. "areauserid": {
  8678. "description": "机构用户ID",
  8679. "type": "integer"
  8680. },
  8681. "enumdicname": {
  8682. "description": "单位名称",
  8683. "type": "string"
  8684. },
  8685. "evaluateratio": {
  8686. "description": "估价系数",
  8687. "type": "number"
  8688. },
  8689. "goodsgroupid": {
  8690. "description": "关联期货品种ID",
  8691. "type": "integer"
  8692. },
  8693. "isvalid": {
  8694. "description": "状态 0-无效(停用) 1-有效(正常)",
  8695. "type": "integer"
  8696. },
  8697. "middlegoodscode": {
  8698. "description": "套保品种代码",
  8699. "type": "string"
  8700. },
  8701. "middlegoodsid": {
  8702. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8703. "type": "integer"
  8704. },
  8705. "middlegoodsname": {
  8706. "description": "套保品种名称",
  8707. "type": "string"
  8708. },
  8709. "modifytime": {
  8710. "description": "修改时间",
  8711. "type": "string"
  8712. },
  8713. "needhedgeratio": {
  8714. "description": "套保比率",
  8715. "type": "number"
  8716. },
  8717. "qtydecimalplace": {
  8718. "description": "数量小数位",
  8719. "type": "integer"
  8720. },
  8721. "relatedgoodsid": {
  8722. "description": "关联交易商品ID",
  8723. "type": "integer"
  8724. },
  8725. "relatedgoodstype": {
  8726. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8727. "type": "integer"
  8728. }
  8729. }
  8730. },
  8731. "ermcp.QryOPLogRsp": {
  8732. "type": "object",
  8733. "properties": {
  8734. "aftervalue": {
  8735. "description": "变更后",
  8736. "type": "number"
  8737. },
  8738. "applyid": {
  8739. "description": "操作人ID",
  8740. "type": "string"
  8741. },
  8742. "applyname": {
  8743. "description": "操作人名称",
  8744. "type": "string"
  8745. },
  8746. "beforevalue": {
  8747. "description": "变更前",
  8748. "type": "number"
  8749. },
  8750. "biztype": {
  8751. "description": "业务类型 - 1:套保计划 2:现货合同",
  8752. "type": "integer"
  8753. },
  8754. "contracttype": {
  8755. "description": "现货合同类型 - 1:采购 -1:销售",
  8756. "type": "integer"
  8757. },
  8758. "logvalue": {
  8759. "description": "数值",
  8760. "type": "number"
  8761. },
  8762. "operatelogtype": {
  8763. "description": "操作流水类型",
  8764. "type": "integer"
  8765. },
  8766. "operatelogtypedesc": {
  8767. "description": "操作流水类型名称",
  8768. "type": "string"
  8769. },
  8770. "relatedid": {
  8771. "description": "现货合同ID\\套保计划",
  8772. "type": "string"
  8773. },
  8774. "updatetime": {
  8775. "description": "更新时间",
  8776. "type": "string"
  8777. }
  8778. }
  8779. },
  8780. "ermcp.QryReportDaySpotDetailRsp": {
  8781. "type": "object",
  8782. "properties": {
  8783. "applyid": {
  8784. "description": "操作人",
  8785. "type": "integer"
  8786. },
  8787. "applyname": {
  8788. "description": "操作人名称",
  8789. "type": "string"
  8790. },
  8791. "biztype": {
  8792. "description": "业务类型 - 1:套保计划 2:现货合同",
  8793. "type": "integer"
  8794. },
  8795. "contracttype": {
  8796. "description": "现货合同类型 - 1:采购 -1:销售",
  8797. "type": "integer"
  8798. },
  8799. "enumdicName": {
  8800. "description": "单位名称",
  8801. "type": "string"
  8802. },
  8803. "logdatetime": {
  8804. "description": "流水日期(时间)",
  8805. "type": "string"
  8806. },
  8807. "logid": {
  8808. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8809. "type": "string"
  8810. },
  8811. "logtypename": {
  8812. "description": "合同类型(名称)",
  8813. "type": "string"
  8814. },
  8815. "logvalue": {
  8816. "description": "数值",
  8817. "type": "string"
  8818. },
  8819. "operatelogtype": {
  8820. "description": "操作流水类型 -",
  8821. "type": "integer"
  8822. },
  8823. "optypename": {
  8824. "description": "流水类型名称",
  8825. "type": "string"
  8826. },
  8827. "relatedid": {
  8828. "description": "现货合同ID\\套保计划",
  8829. "type": "string"
  8830. },
  8831. "relatedno": {
  8832. "description": "合同编号",
  8833. "type": "string"
  8834. },
  8835. "tradedate": {
  8836. "description": "交易日(yyyyMMdd)",
  8837. "type": "string"
  8838. },
  8839. "userid": {
  8840. "description": "机构ID",
  8841. "type": "integer"
  8842. },
  8843. "wrstandardcode": {
  8844. "description": "现货商品代码",
  8845. "type": "string"
  8846. },
  8847. "wrstandardid": {
  8848. "description": "现货商品ID",
  8849. "type": "integer"
  8850. },
  8851. "wrstandardname": {
  8852. "description": "现货商品名称",
  8853. "type": "string"
  8854. }
  8855. }
  8856. },
  8857. "ermcp.QryReportExposureDayRsp": {
  8858. "type": "object",
  8859. "properties": {
  8860. "areauserid": {
  8861. "description": "所属机构",
  8862. "type": "integer"
  8863. },
  8864. "buyfutureqty": {
  8865. "description": "买入期货数量",
  8866. "type": "number"
  8867. },
  8868. "buyplanqty": {
  8869. "description": "采购计划数量",
  8870. "type": "number"
  8871. },
  8872. "buypricedqty": {
  8873. "description": "采购合同已定价数量",
  8874. "type": "number"
  8875. },
  8876. "diffFutuQty": {
  8877. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8878. "type": "number"
  8879. },
  8880. "diffSpotQty": {
  8881. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8882. "type": "number"
  8883. },
  8884. "enumdicname": {
  8885. "description": "单位名称",
  8886. "type": "string"
  8887. },
  8888. "middlegoodscode": {
  8889. "description": "套保品种代码",
  8890. "type": "string"
  8891. },
  8892. "middlegoodshedgeratio": {
  8893. "description": "应套保比例",
  8894. "type": "number"
  8895. },
  8896. "middlegoodsid": {
  8897. "description": "套保品种ID",
  8898. "type": "integer"
  8899. },
  8900. "middlegoodsname": {
  8901. "description": "套保品种名称",
  8902. "type": "string"
  8903. },
  8904. "needhedgeexposoure": {
  8905. "description": "应套保敞口",
  8906. "type": "number"
  8907. },
  8908. "needhedgeratio": {
  8909. "description": "应套保敞口比例",
  8910. "type": "number"
  8911. },
  8912. "oriTotalFutuQty": {
  8913. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8914. "type": "number"
  8915. },
  8916. "oriTotalSpotQty": {
  8917. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8918. "type": "number"
  8919. },
  8920. "oribuyfutureqty": {
  8921. "description": "期初买入期货数量",
  8922. "type": "number"
  8923. },
  8924. "oribuyplanqty": {
  8925. "description": "期初采购计划数量",
  8926. "type": "number"
  8927. },
  8928. "oribuypricedqty": {
  8929. "description": "期初采购合同已定价数量",
  8930. "type": "number"
  8931. },
  8932. "orisellfutureqty": {
  8933. "description": "期初卖出期货数量",
  8934. "type": "number"
  8935. },
  8936. "orisellplanqty": {
  8937. "description": "期初销售计划数量",
  8938. "type": "number"
  8939. },
  8940. "orisellpricedqty": {
  8941. "description": "期初销售合同已定价数量",
  8942. "type": "number"
  8943. },
  8944. "reckondate": {
  8945. "description": "日照时期(yyyyMMdd)",
  8946. "type": "string"
  8947. },
  8948. "sellfutureqty": {
  8949. "description": "卖出期货数量",
  8950. "type": "number"
  8951. },
  8952. "sellplanqty": {
  8953. "description": "销售计划数量",
  8954. "type": "number"
  8955. },
  8956. "sellpricedqty": {
  8957. "description": "销售合同已定价数量",
  8958. "type": "number"
  8959. },
  8960. "totalexposure": {
  8961. "description": "总敞口",
  8962. "type": "number"
  8963. },
  8964. "totalfutureqty": {
  8965. "description": "期货数量",
  8966. "type": "number"
  8967. },
  8968. "totalhedgeratio": {
  8969. "description": "敞口比例",
  8970. "type": "number"
  8971. },
  8972. "totalneedhedgeqty": {
  8973. "description": "期货应套保量",
  8974. "type": "number"
  8975. },
  8976. "totalspotqty": {
  8977. "description": "现货数量",
  8978. "type": "number"
  8979. }
  8980. }
  8981. },
  8982. "ermcp.QryReportFinanceDayRsp": {
  8983. "type": "object",
  8984. "properties": {
  8985. "areauserid": {
  8986. "description": "所属机构",
  8987. "type": "integer"
  8988. },
  8989. "collectinvoiceamount": {
  8990. "description": "今日开票金额",
  8991. "type": "number"
  8992. },
  8993. "collectinvoicecount": {
  8994. "description": "今日开票笔数",
  8995. "type": "integer"
  8996. },
  8997. "collectmoneyamount": {
  8998. "description": "今日收款金额",
  8999. "type": "number"
  9000. },
  9001. "collectmoneycount": {
  9002. "description": "今日收款笔数",
  9003. "type": "integer"
  9004. },
  9005. "payinvoiceamount": {
  9006. "description": "今日收票金额",
  9007. "type": "number"
  9008. },
  9009. "payinvoicecount": {
  9010. "description": "今日收票笔数",
  9011. "type": "integer"
  9012. },
  9013. "paymoneyamount": {
  9014. "description": "今日付款金额",
  9015. "type": "number"
  9016. },
  9017. "paymoneycount": {
  9018. "description": "今日付款笔数",
  9019. "type": "integer"
  9020. },
  9021. "reckondate": {
  9022. "description": "日照时期(yyyyMMdd)",
  9023. "type": "string"
  9024. },
  9025. "updatetime": {
  9026. "description": "更新时间",
  9027. "type": "string"
  9028. }
  9029. }
  9030. },
  9031. "ermcp.QryReportFinanceKxRsp": {
  9032. "type": "object",
  9033. "properties": {
  9034. "applyid": {
  9035. "description": "操作人",
  9036. "type": "integer"
  9037. },
  9038. "applyname": {
  9039. "description": "操作人名称",
  9040. "type": "string"
  9041. },
  9042. "biztype": {
  9043. "description": "业务类型 - 1:套保计划 2:现货合同",
  9044. "type": "integer"
  9045. },
  9046. "contracttype": {
  9047. "description": "现货合同类型 - 1:采购 -1:销售",
  9048. "type": "integer"
  9049. },
  9050. "enumdicName": {
  9051. "description": "单位名称",
  9052. "type": "string"
  9053. },
  9054. "logdatetime": {
  9055. "description": "流水日期(时间)",
  9056. "type": "string"
  9057. },
  9058. "logid": {
  9059. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  9060. "type": "string"
  9061. },
  9062. "logtypename": {
  9063. "description": "合同类型(名称)",
  9064. "type": "string"
  9065. },
  9066. "logvalue": {
  9067. "description": "数值",
  9068. "type": "string"
  9069. },
  9070. "operatelogtype": {
  9071. "description": "操作流水类型 -",
  9072. "type": "integer"
  9073. },
  9074. "optypename": {
  9075. "description": "流水类型名称",
  9076. "type": "string"
  9077. },
  9078. "relatedid": {
  9079. "description": "现货合同ID\\套保计划",
  9080. "type": "string"
  9081. },
  9082. "relatedno": {
  9083. "description": "合同编号",
  9084. "type": "string"
  9085. },
  9086. "tradedate": {
  9087. "description": "交易日(yyyyMMdd)",
  9088. "type": "string"
  9089. },
  9090. "userid": {
  9091. "description": "机构ID",
  9092. "type": "integer"
  9093. },
  9094. "wrstandardcode": {
  9095. "description": "现货商品代码",
  9096. "type": "string"
  9097. },
  9098. "wrstandardid": {
  9099. "description": "现货商品ID",
  9100. "type": "integer"
  9101. },
  9102. "wrstandardname": {
  9103. "description": "现货商品名称",
  9104. "type": "string"
  9105. }
  9106. }
  9107. },
  9108. "ermcp.QryReportFinanceMonRsp": {
  9109. "type": "object",
  9110. "properties": {
  9111. "areauserid": {
  9112. "description": "所属机构【原值】",
  9113. "type": "integer"
  9114. },
  9115. "collectinvoiceamount": {
  9116. "description": "今日开票金额【汇总】",
  9117. "type": "number"
  9118. },
  9119. "collectinvoicecount": {
  9120. "description": "今日开票笔数【汇总】",
  9121. "type": "integer"
  9122. },
  9123. "collectmoneyamount": {
  9124. "description": "今日收款金额【汇总】",
  9125. "type": "number"
  9126. },
  9127. "collectmoneycount": {
  9128. "description": "今日收款笔数 【汇总】",
  9129. "type": "integer"
  9130. },
  9131. "cycletime": {
  9132. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9133. "type": "string"
  9134. },
  9135. "cycletype": {
  9136. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9137. "type": "integer"
  9138. },
  9139. "dayFr": {
  9140. "description": "日报表明细",
  9141. "type": "array",
  9142. "items": {
  9143. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9144. }
  9145. },
  9146. "payinvoiceamount": {
  9147. "description": "今日收票金额【汇总】",
  9148. "type": "number"
  9149. },
  9150. "payinvoicecount": {
  9151. "description": "今日收票笔数【汇总】",
  9152. "type": "integer"
  9153. },
  9154. "paymoneyamount": {
  9155. "description": "今日付款金额【汇总】",
  9156. "type": "number"
  9157. },
  9158. "paymoneycount": {
  9159. "description": "今日付款笔数【汇总】",
  9160. "type": "integer"
  9161. },
  9162. "updatetime": {
  9163. "description": "更新时间",
  9164. "type": "string"
  9165. }
  9166. }
  9167. },
  9168. "ermcp.QryReportSpotDayRsp": {
  9169. "type": "object",
  9170. "properties": {
  9171. "areauserid": {
  9172. "description": "所属机构T",
  9173. "type": "integer"
  9174. },
  9175. "enumdicname": {
  9176. "description": "现货商品单位名称",
  9177. "type": "string"
  9178. },
  9179. "reckondate": {
  9180. "description": "日照时期(yyyyMMdd)",
  9181. "type": "string"
  9182. },
  9183. "todaybuyreckonqty": {
  9184. "description": "采购确定量",
  9185. "type": "number"
  9186. },
  9187. "todaysellreckonqty": {
  9188. "description": "销售确定量",
  9189. "type": "number"
  9190. },
  9191. "totalbuypricedqty": {
  9192. "description": "采购定价量 = 期末 - 期初",
  9193. "type": "number"
  9194. },
  9195. "totalsellpricedqty": {
  9196. "description": "销售定价量 = 期末 - 期初",
  9197. "type": "number"
  9198. },
  9199. "wrstandardcode": {
  9200. "description": "现货商品代码",
  9201. "type": "string"
  9202. },
  9203. "wrstandardid": {
  9204. "description": "现货商品ID",
  9205. "type": "integer"
  9206. },
  9207. "wrstandardname": {
  9208. "description": "现货商品名称",
  9209. "type": "string"
  9210. }
  9211. }
  9212. },
  9213. "ermcp.QryReportSpotMonRsp": {
  9214. "type": "object",
  9215. "properties": {
  9216. "areauserid": {
  9217. "description": "所属机构T",
  9218. "type": "integer"
  9219. },
  9220. "cycletime": {
  9221. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  9222. "type": "string"
  9223. },
  9224. "cycletype": {
  9225. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  9226. "type": "integer"
  9227. },
  9228. "enumdicname": {
  9229. "description": "现货商品单位名称",
  9230. "type": "string"
  9231. },
  9232. "todaybuyreckonqty": {
  9233. "description": "采购确定量",
  9234. "type": "number"
  9235. },
  9236. "todaysellreckonqty": {
  9237. "description": "销售确定量",
  9238. "type": "number"
  9239. },
  9240. "totalbuypricedqty": {
  9241. "description": "采购定价量 = 期末 - 期初",
  9242. "type": "number"
  9243. },
  9244. "totalsellpricedqty": {
  9245. "description": "销售定价量 = 期末 - 期初",
  9246. "type": "number"
  9247. },
  9248. "wrstandardcode": {
  9249. "description": "现货商品代码",
  9250. "type": "string"
  9251. },
  9252. "wrstandardid": {
  9253. "description": "现货商品ID",
  9254. "type": "integer"
  9255. },
  9256. "wrstandardname": {
  9257. "description": "现货商品名称",
  9258. "type": "string"
  9259. }
  9260. }
  9261. },
  9262. "ermcp.QryReportSpotMonthDetailRsp": {
  9263. "type": "object",
  9264. "properties": {
  9265. "areauserid": {
  9266. "description": "所属机构T",
  9267. "type": "integer"
  9268. },
  9269. "enumdicname": {
  9270. "description": "现货商品单位名称",
  9271. "type": "string"
  9272. },
  9273. "reckondate": {
  9274. "description": "日照时期(yyyyMMdd)",
  9275. "type": "string"
  9276. },
  9277. "todaybuyreckonqty": {
  9278. "description": "采购确定量",
  9279. "type": "number"
  9280. },
  9281. "todaysellreckonqty": {
  9282. "description": "销售确定量",
  9283. "type": "number"
  9284. },
  9285. "totalbuypricedqty": {
  9286. "description": "采购定价量 = 期末 - 期初",
  9287. "type": "number"
  9288. },
  9289. "totalsellpricedqty": {
  9290. "description": "销售定价量 = 期末 - 期初",
  9291. "type": "number"
  9292. },
  9293. "wrstandardcode": {
  9294. "description": "现货商品代码",
  9295. "type": "string"
  9296. },
  9297. "wrstandardid": {
  9298. "description": "现货商品ID",
  9299. "type": "integer"
  9300. },
  9301. "wrstandardname": {
  9302. "description": "现货商品名称",
  9303. "type": "string"
  9304. }
  9305. }
  9306. },
  9307. "ermcp.QrySpotContractRsp": {
  9308. "type": "object",
  9309. "properties": {
  9310. "amount": {
  9311. "description": "金额 [1:一口价、3:暂定价]",
  9312. "type": "number"
  9313. },
  9314. "attachment": {
  9315. "description": "附件",
  9316. "type": "string"
  9317. },
  9318. "auditremark": {
  9319. "description": "审核意见",
  9320. "type": "string"
  9321. },
  9322. "audittime": {
  9323. "description": "审核时间",
  9324. "type": "string"
  9325. },
  9326. "brandname": {
  9327. "description": "品牌名称",
  9328. "type": "string"
  9329. },
  9330. "buyuserid": {
  9331. "description": "采购方ID",
  9332. "type": "integer"
  9333. },
  9334. "buyusername": {
  9335. "description": "采购方名称",
  9336. "type": "string"
  9337. },
  9338. "contracctstatus": {
  9339. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9340. "type": "integer"
  9341. },
  9342. "contractmargin": {
  9343. "description": "合同保证金",
  9344. "type": "number"
  9345. },
  9346. "contractno": {
  9347. "description": "现货合同编号",
  9348. "type": "string"
  9349. },
  9350. "contracttype": {
  9351. "description": "现货合同类型 - 1:采购 -1:销售",
  9352. "type": "integer"
  9353. },
  9354. "convertfactor": {
  9355. "description": "标仓系数",
  9356. "type": "number"
  9357. },
  9358. "createtime": {
  9359. "description": "创建时间",
  9360. "type": "string"
  9361. },
  9362. "deliveryenddate": {
  9363. "description": "交收期(结束)",
  9364. "type": "string"
  9365. },
  9366. "deliverygoodscode": {
  9367. "description": "现货品种代码",
  9368. "type": "string"
  9369. },
  9370. "deliverygoodsid": {
  9371. "description": "现货品种ID",
  9372. "type": "integer"
  9373. },
  9374. "deliverygoodsname": {
  9375. "description": "现货品种名称",
  9376. "type": "string"
  9377. },
  9378. "deliverystartdate": {
  9379. "description": "交收期(开始)",
  9380. "type": "string"
  9381. },
  9382. "enddate": {
  9383. "description": "点价结束日期 [2:点价 3:暂定价]",
  9384. "type": "string"
  9385. },
  9386. "enumdicname": {
  9387. "description": "单位名称",
  9388. "type": "string"
  9389. },
  9390. "goodscode": {
  9391. "description": "点价合约代码",
  9392. "type": "string"
  9393. },
  9394. "goodsid": {
  9395. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9396. "type": "integer"
  9397. },
  9398. "goodsname": {
  9399. "description": "点价商品名称",
  9400. "type": "string"
  9401. },
  9402. "margin": {
  9403. "description": "当前保证金",
  9404. "type": "number"
  9405. },
  9406. "modelname": {
  9407. "description": "型号名称",
  9408. "type": "string"
  9409. },
  9410. "price": {
  9411. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9412. "type": "number"
  9413. },
  9414. "pricemove": {
  9415. "description": "升贴水 [2:点价 3:暂定价]",
  9416. "type": "number"
  9417. },
  9418. "pricetype": {
  9419. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9420. "type": "integer"
  9421. },
  9422. "producttype": {
  9423. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9424. "type": "integer"
  9425. },
  9426. "qty": {
  9427. "description": "数量",
  9428. "type": "number"
  9429. },
  9430. "remark": {
  9431. "description": "备注",
  9432. "type": "string"
  9433. },
  9434. "selluserid": {
  9435. "description": "销售方ID",
  9436. "type": "integer"
  9437. },
  9438. "sellusername": {
  9439. "description": "销售方名称",
  9440. "type": "string"
  9441. },
  9442. "spotcontractid": {
  9443. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9444. "type": "string"
  9445. },
  9446. "spotgoodsbrandid": {
  9447. "description": "现货品牌ID",
  9448. "type": "integer"
  9449. },
  9450. "spotgoodsdesc": {
  9451. "description": "商品型号",
  9452. "type": "string"
  9453. },
  9454. "spotgoodsmodelid": {
  9455. "description": "现货型号ID",
  9456. "type": "integer"
  9457. },
  9458. "startdate": {
  9459. "description": "点价开始日期 [2:点价 3:暂定价]",
  9460. "type": "string"
  9461. },
  9462. "userid": {
  9463. "description": "机构ID",
  9464. "type": "integer"
  9465. },
  9466. "wrstandardid": {
  9467. "description": "现货商品ID",
  9468. "type": "integer"
  9469. }
  9470. }
  9471. },
  9472. "ermcp.QryUserInfoRsp": {
  9473. "type": "object",
  9474. "properties": {
  9475. "address": {
  9476. "description": "通讯地址",
  9477. "type": "string"
  9478. },
  9479. "attachment1": {
  9480. "description": "附件1",
  9481. "type": "string"
  9482. },
  9483. "cardfrontphotourl": {
  9484. "description": "证件正面图片地址",
  9485. "type": "string"
  9486. },
  9487. "cardnum": {
  9488. "description": "证件号码",
  9489. "type": "string"
  9490. },
  9491. "cardtype": {
  9492. "description": "证件类型",
  9493. "type": "integer"
  9494. },
  9495. "cardtypename": {
  9496. "description": "证件类型名称",
  9497. "type": "string"
  9498. },
  9499. "cityid": {
  9500. "description": "市",
  9501. "type": "integer"
  9502. },
  9503. "countryid": {
  9504. "description": "国家",
  9505. "type": "integer"
  9506. },
  9507. "createtime": {
  9508. "description": "创建时间",
  9509. "type": "string"
  9510. },
  9511. "customername": {
  9512. "description": "企业名称",
  9513. "type": "string"
  9514. },
  9515. "memberuserid": {
  9516. "description": "所属机构ID",
  9517. "type": "integer"
  9518. },
  9519. "mobile": {
  9520. "description": "手机号码",
  9521. "type": "string"
  9522. },
  9523. "provinceid": {
  9524. "description": "省",
  9525. "type": "integer"
  9526. },
  9527. "remark": {
  9528. "description": "备注",
  9529. "type": "string"
  9530. },
  9531. "status": {
  9532. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9533. "type": "integer"
  9534. },
  9535. "statusdesc": {
  9536. "description": "账户状态中文描述",
  9537. "type": "string"
  9538. },
  9539. "telphone": {
  9540. "description": "联系电话",
  9541. "type": "string"
  9542. },
  9543. "userid": {
  9544. "description": "用户ID",
  9545. "type": "integer"
  9546. },
  9547. "userinfotype": {
  9548. "description": "客户类型",
  9549. "type": "string"
  9550. }
  9551. }
  9552. },
  9553. "ermcp.QryWrStandardDetailRsp": {
  9554. "type": "object",
  9555. "properties": {
  9556. "gbList": {
  9557. "description": "品牌列表",
  9558. "type": "array",
  9559. "items": {
  9560. "$ref": "#/definitions/models.GoodsBrand"
  9561. }
  9562. },
  9563. "gtList": {
  9564. "description": "型号列表",
  9565. "type": "array",
  9566. "items": {
  9567. "$ref": "#/definitions/models.GoodsTypeModel"
  9568. }
  9569. },
  9570. "wrd": {
  9571. "description": "基本信息",
  9572. "$ref": "#/definitions/models.ErmcpWrstandard"
  9573. },
  9574. "wrsList": {
  9575. "description": "套保信息列表",
  9576. "type": "array",
  9577. "items": {
  9578. "$ref": "#/definitions/models.WRSConverTDetail"
  9579. }
  9580. }
  9581. }
  9582. },
  9583. "ermcp.QryWrStandardRsp": {
  9584. "type": "object",
  9585. "properties": {
  9586. "areauserid": {
  9587. "description": "所属机构",
  9588. "type": "integer"
  9589. },
  9590. "createtime": {
  9591. "description": "创建时间",
  9592. "type": "string"
  9593. },
  9594. "creatorid": {
  9595. "description": "创建人",
  9596. "type": "integer"
  9597. },
  9598. "deliverygoodsid": {
  9599. "description": "品种ID",
  9600. "type": "integer"
  9601. },
  9602. "enumdicname": {
  9603. "description": "单位名称",
  9604. "type": "string"
  9605. },
  9606. "isvalid": {
  9607. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9608. "type": "integer"
  9609. },
  9610. "minivalue": {
  9611. "description": "最小变动值",
  9612. "type": "integer"
  9613. },
  9614. "minivaluedp": {
  9615. "description": "最小变动值小数位",
  9616. "type": "integer"
  9617. },
  9618. "realminivalue": {
  9619. "description": "实际最小变动值",
  9620. "type": "integer"
  9621. },
  9622. "realminivaluedp": {
  9623. "description": "实际最小变动值小数位",
  9624. "type": "integer"
  9625. },
  9626. "remark": {
  9627. "description": "备注",
  9628. "type": "string"
  9629. },
  9630. "unitid": {
  9631. "description": "单位ID",
  9632. "type": "integer"
  9633. },
  9634. "updatetime": {
  9635. "description": "更新时间",
  9636. "type": "string"
  9637. },
  9638. "wrstandardcode": {
  9639. "description": "现货商品代码",
  9640. "type": "string"
  9641. },
  9642. "wrstandardid": {
  9643. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9644. "type": "integer"
  9645. },
  9646. "wrstandardname": {
  9647. "description": "现货商品名称",
  9648. "type": "string"
  9649. }
  9650. }
  9651. },
  9652. "ermcp.QueryErmcpTradePositionRsp": {
  9653. "type": "object",
  9654. "properties": {
  9655. "agreeunit": {
  9656. "description": "合约单位",
  9657. "type": "number"
  9658. },
  9659. "buyorsell": {
  9660. "description": "方向 - 0:买 1:卖",
  9661. "type": "integer"
  9662. },
  9663. "curpositionqty": {
  9664. "description": "持仓(总仓数量, 期末头寸)",
  9665. "type": "integer"
  9666. },
  9667. "curtdposition": {
  9668. "description": "今仓数量(期末今日头寸)",
  9669. "type": "integer"
  9670. },
  9671. "curtdpositionenabled": {
  9672. "description": "今仓可用",
  9673. "type": "integer"
  9674. },
  9675. "decimalplace": {
  9676. "description": "报价小数位",
  9677. "type": "integer"
  9678. },
  9679. "enableqty": {
  9680. "description": "可用(总仓可用)",
  9681. "type": "integer"
  9682. },
  9683. "exexchangename": {
  9684. "description": "外部交易所名称",
  9685. "type": "string"
  9686. },
  9687. "goodscode": {
  9688. "description": "商品代码(内部)",
  9689. "type": "string"
  9690. },
  9691. "goodsid": {
  9692. "description": "商品ID(自增ID SEQ_GOODS)",
  9693. "type": "integer"
  9694. },
  9695. "goodsname": {
  9696. "description": "商品名称",
  9697. "type": "string"
  9698. },
  9699. "last": {
  9700. "description": "现价",
  9701. "type": "number"
  9702. },
  9703. "marketid": {
  9704. "description": "所属市场ID",
  9705. "type": "integer"
  9706. },
  9707. "openaverageprice": {
  9708. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9709. "type": "number"
  9710. },
  9711. "opencost": {
  9712. "description": "开仓成本",
  9713. "type": "number"
  9714. },
  9715. "openpl": {
  9716. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9717. "type": "number"
  9718. },
  9719. "outgoodscode": {
  9720. "description": "商品代码(外部)",
  9721. "type": "string"
  9722. },
  9723. "positionaverageprice": {
  9724. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9725. "type": "number"
  9726. },
  9727. "positioncost": {
  9728. "description": "持仓成本",
  9729. "type": "number"
  9730. },
  9731. "positionpl": {
  9732. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9733. "type": "number"
  9734. },
  9735. "positionplrate": {
  9736. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9737. "type": "number"
  9738. },
  9739. "usedmargin": {
  9740. "description": "占用保证金",
  9741. "type": "number"
  9742. }
  9743. }
  9744. },
  9745. "ermcp.RealtimeExposurePositionRsp": {
  9746. "type": "object",
  9747. "properties": {
  9748. "agreeunit": {
  9749. "description": "合约单位",
  9750. "type": "string"
  9751. },
  9752. "areauserid": {
  9753. "description": "所属机构id",
  9754. "type": "integer"
  9755. },
  9756. "convertratio": {
  9757. "description": "期货品种系数(折算系数)",
  9758. "type": "number"
  9759. },
  9760. "curqty": {
  9761. "description": "当前持仓",
  9762. "type": "integer"
  9763. },
  9764. "diffhedgeqty": {
  9765. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9766. "type": "number"
  9767. },
  9768. "diffqty": {
  9769. "description": "持仓变动量=当前持仓-昨日持仓",
  9770. "type": "integer"
  9771. },
  9772. "goodscode": {
  9773. "description": "商品代码",
  9774. "type": "string"
  9775. },
  9776. "goodsid": {
  9777. "description": "商品id",
  9778. "type": "integer"
  9779. },
  9780. "goodsname": {
  9781. "description": "商品名称",
  9782. "type": "string"
  9783. },
  9784. "middlegoodsid": {
  9785. "description": "套保商品id",
  9786. "type": "integer"
  9787. },
  9788. "ydqty": {
  9789. "description": "昨日持仓",
  9790. "type": "integer"
  9791. }
  9792. }
  9793. },
  9794. "ermcp.RealtimeExposureRsp": {
  9795. "type": "object",
  9796. "properties": {
  9797. "areaUserID": {
  9798. "description": "所属机构",
  9799. "type": "integer"
  9800. },
  9801. "buyFutureQty": {
  9802. "description": "买入期货数量",
  9803. "type": "number"
  9804. },
  9805. "buyPlanQty": {
  9806. "description": "采购计划数量",
  9807. "type": "number"
  9808. },
  9809. "buyPricedQty": {
  9810. "description": "采购合同已定价数量",
  9811. "type": "number"
  9812. },
  9813. "diffFutuQty": {
  9814. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9815. "type": "number"
  9816. },
  9817. "diffSpotQty": {
  9818. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9819. "type": "number"
  9820. },
  9821. "enumdicname": {
  9822. "description": "单位名称",
  9823. "type": "string"
  9824. },
  9825. "middleGoodsCode": {
  9826. "description": "套保品种代码",
  9827. "type": "string"
  9828. },
  9829. "middleGoodsHedgeRatio": {
  9830. "description": "应套保比例",
  9831. "type": "number"
  9832. },
  9833. "middleGoodsID": {
  9834. "description": "套保品种",
  9835. "type": "integer"
  9836. },
  9837. "middleGoodsName": {
  9838. "description": "套保品种名称",
  9839. "type": "string"
  9840. },
  9841. "needHedgeExposoure": {
  9842. "description": "应套保敞口",
  9843. "type": "number"
  9844. },
  9845. "needHedgeRatio": {
  9846. "description": "应套保敞口比例",
  9847. "type": "number"
  9848. },
  9849. "oriBuyFutureQty": {
  9850. "description": "期初买入期货数量",
  9851. "type": "number"
  9852. },
  9853. "oriBuyPlanQty": {
  9854. "description": "期初采购计划数量",
  9855. "type": "number"
  9856. },
  9857. "oriBuyPricedQty": {
  9858. "description": "期初采购合同已定价数量",
  9859. "type": "number"
  9860. },
  9861. "oriSellFutureQty": {
  9862. "description": "期初卖出期货数量",
  9863. "type": "number"
  9864. },
  9865. "oriSellPlanQty": {
  9866. "description": "期初销售计划数量",
  9867. "type": "number"
  9868. },
  9869. "oriSellPricedQty": {
  9870. "description": "期初销售合同已定价数量",
  9871. "type": "number"
  9872. },
  9873. "oriTotalFutuQty": {
  9874. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9875. "type": "number"
  9876. },
  9877. "oriTotalSpotQty": {
  9878. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9879. "type": "number"
  9880. },
  9881. "sellFutureQty": {
  9882. "description": "卖出期货数量",
  9883. "type": "number"
  9884. },
  9885. "sellPlanQty": {
  9886. "description": "销售计划数量",
  9887. "type": "number"
  9888. },
  9889. "sellPricedQty": {
  9890. "description": "销售合同已定价数量",
  9891. "type": "number"
  9892. },
  9893. "totalExposure": {
  9894. "description": "总敞口",
  9895. "type": "number"
  9896. },
  9897. "totalFutureQty": {
  9898. "description": "期货数量",
  9899. "type": "number"
  9900. },
  9901. "totalHedgeRatio": {
  9902. "description": "敞口比例",
  9903. "type": "number"
  9904. },
  9905. "totalNeedHedgeQty": {
  9906. "description": "期货应套保量",
  9907. "type": "number"
  9908. },
  9909. "totalSpotQty": {
  9910. "description": "现货数量",
  9911. "type": "number"
  9912. }
  9913. }
  9914. },
  9915. "erms2.QueryArbitrageStrategyRsp": {
  9916. "type": "object",
  9917. "required": [
  9918. "asapplyid"
  9919. ],
  9920. "properties": {
  9921. "applybasis": {
  9922. "description": "申请基差",
  9923. "type": "number"
  9924. },
  9925. "asapplyid": {
  9926. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9927. "type": "string"
  9928. },
  9929. "asname": {
  9930. "description": "策略名称",
  9931. "type": "string"
  9932. },
  9933. "asno": {
  9934. "description": "策略编号",
  9935. "type": "string"
  9936. },
  9937. "basischangepl": {
  9938. "description": "基差变动损益[结算更新]",
  9939. "type": "number"
  9940. },
  9941. "biztype": {
  9942. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9943. "type": "integer"
  9944. },
  9945. "closetradedate": {
  9946. "description": "完结交易日(yyyyMMdd)",
  9947. "type": "string"
  9948. },
  9949. "curbasis": {
  9950. "description": "当前基差[结算更新]",
  9951. "type": "number"
  9952. },
  9953. "deliverygoodsid": {
  9954. "description": "现货品种ID",
  9955. "type": "integer"
  9956. },
  9957. "futureavgprice": {
  9958. "description": "期货建仓均价",
  9959. "type": "number"
  9960. },
  9961. "futurecloseamount": {
  9962. "description": "期货平仓金额",
  9963. "type": "number"
  9964. },
  9965. "futurecloseqty": {
  9966. "description": "期货平仓数量",
  9967. "type": "number"
  9968. },
  9969. "futureopenamount": {
  9970. "description": "期货开仓金额",
  9971. "type": "number"
  9972. },
  9973. "futureopenqty": {
  9974. "description": "期货开仓数量",
  9975. "type": "number"
  9976. },
  9977. "futurepl": {
  9978. "description": "期货总盈亏[结算更新]",
  9979. "type": "number"
  9980. },
  9981. "futureqty": {
  9982. "description": "期货持仓数量",
  9983. "type": "number"
  9984. },
  9985. "futurequote": {
  9986. "description": "期货额度",
  9987. "type": "number"
  9988. },
  9989. "goodsgroupid": {
  9990. "description": "期货品种ID",
  9991. "type": "integer"
  9992. },
  9993. "marketid": {
  9994. "description": "市场ID",
  9995. "type": "integer"
  9996. },
  9997. "netexposure": {
  9998. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9999. "type": "number"
  10000. },
  10001. "netexposurepl": {
  10002. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10003. "type": "number"
  10004. },
  10005. "netexposurerate": {
  10006. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10007. "type": "number"
  10008. },
  10009. "openbasis": {
  10010. "description": "建仓基差",
  10011. "type": "number"
  10012. },
  10013. "pricedspotqty": {
  10014. "description": "已定价现货数量",
  10015. "type": "number"
  10016. },
  10017. "pricedspotqtynotax": {
  10018. "description": "已定价现货不含税数量",
  10019. "type": "number"
  10020. },
  10021. "remark": {
  10022. "description": "备注",
  10023. "type": "string"
  10024. },
  10025. "spotavgprice": {
  10026. "description": "现货均价",
  10027. "type": "number"
  10028. },
  10029. "spotbuyamount": {
  10030. "description": "现货采购金额",
  10031. "type": "number"
  10032. },
  10033. "spotbuyqty": {
  10034. "description": "现货采购数量",
  10035. "type": "number"
  10036. },
  10037. "spotpl": {
  10038. "description": "现货总盈亏[结算更新]",
  10039. "type": "number"
  10040. },
  10041. "spotquota": {
  10042. "description": "现货额度",
  10043. "type": "number"
  10044. },
  10045. "spotsellamount": {
  10046. "description": "现货销售金额",
  10047. "type": "number"
  10048. },
  10049. "spotsellqty": {
  10050. "description": "现货销售数量",
  10051. "type": "number"
  10052. },
  10053. "spotusedquota": {
  10054. "description": "现货占用资金",
  10055. "type": "number"
  10056. },
  10057. "strategystatus": {
  10058. "description": "策略状态 - 0:未结束 1:已结束",
  10059. "type": "integer"
  10060. },
  10061. "totalpl": {
  10062. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10063. "type": "number"
  10064. },
  10065. "tradedate": {
  10066. "description": "交易日(yyyyMMdd)",
  10067. "type": "string"
  10068. },
  10069. "updatetime": {
  10070. "description": "更新时间",
  10071. "type": "string"
  10072. },
  10073. "usedquota": {
  10074. "description": "已占用资金",
  10075. "type": "number"
  10076. },
  10077. "userid": {
  10078. "description": "所属机构",
  10079. "type": "integer"
  10080. }
  10081. }
  10082. },
  10083. "erms2.QueryInnerTradeDetailRsp": {
  10084. "type": "object",
  10085. "required": [
  10086. "asapplyid",
  10087. "buyorsell",
  10088. "goodscode",
  10089. "goodsgroupid",
  10090. "goodsgroupname",
  10091. "goodsname",
  10092. "tradeid"
  10093. ],
  10094. "properties": {
  10095. "accountid": {
  10096. "description": "账号ID",
  10097. "type": "integer"
  10098. },
  10099. "agreeunit": {
  10100. "description": "合约单位",
  10101. "type": "number"
  10102. },
  10103. "asapplyid": {
  10104. "description": "策略申请ID",
  10105. "type": "integer"
  10106. },
  10107. "asname": {
  10108. "description": "策略名称",
  10109. "type": "string"
  10110. },
  10111. "asno": {
  10112. "description": "策略编号",
  10113. "type": "string"
  10114. },
  10115. "buyorsell": {
  10116. "description": "方向 - 0:买 1:卖",
  10117. "type": "integer"
  10118. },
  10119. "channelbuildtype": {
  10120. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10121. "type": "integer"
  10122. },
  10123. "closetype": {
  10124. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10125. "type": "integer"
  10126. },
  10127. "decimalplace": {
  10128. "description": "报价小数位",
  10129. "type": "integer"
  10130. },
  10131. "detailtype": {
  10132. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10133. "type": "integer"
  10134. },
  10135. "exexchangecode": {
  10136. "description": "外部交易所代码",
  10137. "type": "string"
  10138. },
  10139. "exexchangename": {
  10140. "description": "外部交易所名称",
  10141. "type": "string"
  10142. },
  10143. "goodscode": {
  10144. "description": "商品代码(合约)",
  10145. "type": "string"
  10146. },
  10147. "goodsgroupid": {
  10148. "description": "商品组ID(品种ID)",
  10149. "type": "integer"
  10150. },
  10151. "goodsgroupname": {
  10152. "description": "商品组名称(品种)",
  10153. "type": "string"
  10154. },
  10155. "goodsid": {
  10156. "description": "商品ID",
  10157. "type": "integer"
  10158. },
  10159. "goodsname": {
  10160. "description": "商品名称(合约)",
  10161. "type": "string"
  10162. },
  10163. "goodunit": {
  10164. "description": "报价单位",
  10165. "type": "string"
  10166. },
  10167. "marketid": {
  10168. "description": "市场ID",
  10169. "type": "integer"
  10170. },
  10171. "orderid": {
  10172. "description": "委托单号",
  10173. "type": "string"
  10174. },
  10175. "outgoodscode": {
  10176. "description": "商品代码(外部)",
  10177. "type": "string"
  10178. },
  10179. "relatedouttradeid": {
  10180. "description": "关联外部成交单ID",
  10181. "type": "string"
  10182. },
  10183. "remark": {
  10184. "description": "备注",
  10185. "type": "string"
  10186. },
  10187. "spotcontractid": {
  10188. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10189. "type": "integer"
  10190. },
  10191. "spotcontractno": {
  10192. "description": "现货合同编号",
  10193. "type": "string"
  10194. },
  10195. "tradeid": {
  10196. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10197. "type": "string"
  10198. },
  10199. "tradeprice": {
  10200. "description": "成交价格",
  10201. "type": "number"
  10202. },
  10203. "tradeqty": {
  10204. "description": "成交数量",
  10205. "type": "integer"
  10206. },
  10207. "tradetime": {
  10208. "description": "成交时间",
  10209. "type": "string"
  10210. },
  10211. "updatetime": {
  10212. "description": "更新时间",
  10213. "type": "string"
  10214. }
  10215. }
  10216. },
  10217. "erms2.QuerySpotContractRsp": {
  10218. "type": "object",
  10219. "required": [
  10220. "spotcontractid"
  10221. ],
  10222. "properties": {
  10223. "accountid": {
  10224. "description": "资金账户ID",
  10225. "type": "integer"
  10226. },
  10227. "areauserid": {
  10228. "description": "所属机构",
  10229. "type": "integer"
  10230. },
  10231. "closedate": {
  10232. "description": "终止日期",
  10233. "type": "string"
  10234. },
  10235. "closeremark": {
  10236. "description": "结束备注",
  10237. "type": "string"
  10238. },
  10239. "closetradedate": {
  10240. "description": "完结交易日(yyyyMMdd)",
  10241. "type": "string"
  10242. },
  10243. "closetype": {
  10244. "description": "终止类型 - 1:违约 2:提前终止",
  10245. "type": "integer"
  10246. },
  10247. "contractamount": {
  10248. "description": "合同金额",
  10249. "type": "number"
  10250. },
  10251. "contractattachment": {
  10252. "description": "合同附件",
  10253. "type": "string"
  10254. },
  10255. "contractno": {
  10256. "description": "现货合同编号",
  10257. "type": "string"
  10258. },
  10259. "contractqty": {
  10260. "description": "合同数量(数值) (用于计算)",
  10261. "type": "number"
  10262. },
  10263. "contractqtychar": {
  10264. "description": "合同数量\\已订价数量 (用于显示)",
  10265. "type": "string"
  10266. },
  10267. "contractstatus": {
  10268. "description": "合同状态 - 0:未结束 1:已结束",
  10269. "type": "integer"
  10270. },
  10271. "contracttype": {
  10272. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10273. "type": "integer"
  10274. },
  10275. "customeraccountid": {
  10276. "description": "客户资金账户ID",
  10277. "type": "integer"
  10278. },
  10279. "customeruserid": {
  10280. "description": "客户ID",
  10281. "type": "integer"
  10282. },
  10283. "deliverygoodsdesc": {
  10284. "description": "品种说明",
  10285. "type": "string"
  10286. },
  10287. "deliverygoodsid": {
  10288. "description": "现货品种ID",
  10289. "type": "integer"
  10290. },
  10291. "handlestatus": {
  10292. "description": "处理状态",
  10293. "type": "integer"
  10294. },
  10295. "invoiceatt": {
  10296. "description": "发票附件",
  10297. "type": "string"
  10298. },
  10299. "invoicedatetime": {
  10300. "description": "开收票更新时间",
  10301. "type": "string"
  10302. },
  10303. "invoiceopentime": {
  10304. "description": "开票时间",
  10305. "type": "string"
  10306. },
  10307. "invoiceremark": {
  10308. "description": "发票备注",
  10309. "type": "string"
  10310. },
  10311. "invoicestatus": {
  10312. "description": "开收票状态 - 0:未开票 1:已开票",
  10313. "type": "integer"
  10314. },
  10315. "lastdate": {
  10316. "description": "交货时间",
  10317. "type": "string"
  10318. },
  10319. "marketid": {
  10320. "description": "市场ID",
  10321. "type": "integer"
  10322. },
  10323. "paydatetime": {
  10324. "description": "收付款更新时间",
  10325. "type": "string"
  10326. },
  10327. "payremark": {
  10328. "description": "收付款备注",
  10329. "type": "string"
  10330. },
  10331. "paystatus": {
  10332. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10333. "type": "integer"
  10334. },
  10335. "positionqty": {
  10336. "description": "头寸数量 - 合同数量去小数部分",
  10337. "type": "integer"
  10338. },
  10339. "producttype": {
  10340. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10341. "type": "integer"
  10342. },
  10343. "relatedqty": {
  10344. "description": "已关联数量",
  10345. "type": "number"
  10346. },
  10347. "relatedstatus": {
  10348. "description": "关联完结状态 - 0:未结束 1:已结束",
  10349. "type": "integer"
  10350. },
  10351. "remark": {
  10352. "description": "备注",
  10353. "type": "string"
  10354. },
  10355. "signdate": {
  10356. "description": "签订日期",
  10357. "type": "string"
  10358. },
  10359. "spotcontractid": {
  10360. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10361. "type": "string"
  10362. },
  10363. "spotdatetime": {
  10364. "description": "收发货更新时间",
  10365. "type": "string"
  10366. },
  10367. "spotprice": {
  10368. "description": "价格",
  10369. "type": "number"
  10370. },
  10371. "spotremark": {
  10372. "description": "收发货备注",
  10373. "type": "string"
  10374. },
  10375. "spotstatus": {
  10376. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10377. "type": "integer"
  10378. },
  10379. "tradedate": {
  10380. "description": "交易日(yyyyMMdd)",
  10381. "type": "string"
  10382. },
  10383. "userid": {
  10384. "description": "业务员用户ID",
  10385. "type": "integer"
  10386. },
  10387. "warehouseid": {
  10388. "description": "仓库ID",
  10389. "type": "integer"
  10390. },
  10391. "wrfactortypeid": {
  10392. "description": "仓单要素类型ID",
  10393. "type": "integer"
  10394. },
  10395. "wrstandardid": {
  10396. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10397. "type": "integer"
  10398. }
  10399. }
  10400. },
  10401. "erms3.AddErms2ASApplyReq": {
  10402. "type": "object",
  10403. "required": [
  10404. "asapplyid"
  10405. ],
  10406. "properties": {
  10407. "applybasis": {
  10408. "description": "申请基差",
  10409. "type": "number"
  10410. },
  10411. "applystatus": {
  10412. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10413. "type": "integer"
  10414. },
  10415. "asapplyid": {
  10416. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10417. "type": "integer"
  10418. },
  10419. "asname": {
  10420. "description": "策略名称",
  10421. "type": "string"
  10422. },
  10423. "asno": {
  10424. "description": "策略编号",
  10425. "type": "string"
  10426. },
  10427. "auditid": {
  10428. "description": "审核人",
  10429. "type": "integer"
  10430. },
  10431. "auditremark": {
  10432. "description": "审核备注",
  10433. "type": "string"
  10434. },
  10435. "audittime": {
  10436. "description": "审核时间",
  10437. "type": "string"
  10438. },
  10439. "biztype": {
  10440. "description": "业务类型 - 1:正向套利 2:反向套利",
  10441. "type": "integer"
  10442. },
  10443. "createtime": {
  10444. "description": "创建时间",
  10445. "type": "string"
  10446. },
  10447. "creatorid": {
  10448. "description": "创建人",
  10449. "type": "integer"
  10450. },
  10451. "deliverygoodsid": {
  10452. "description": "现货品种ID",
  10453. "type": "integer"
  10454. },
  10455. "futurequote": {
  10456. "description": "期货额度",
  10457. "type": "number"
  10458. },
  10459. "goodsgroupid": {
  10460. "description": "期货品种ID",
  10461. "type": "integer"
  10462. },
  10463. "marketid": {
  10464. "description": "市场ID",
  10465. "type": "integer"
  10466. },
  10467. "remark": {
  10468. "description": "备注",
  10469. "type": "string"
  10470. },
  10471. "spotquota": {
  10472. "description": "现货额度",
  10473. "type": "number"
  10474. },
  10475. "tradedate": {
  10476. "description": "交易日(yyyyMMdd)",
  10477. "type": "string"
  10478. },
  10479. "userid": {
  10480. "description": "所属机构",
  10481. "type": "integer"
  10482. }
  10483. }
  10484. },
  10485. "erms3.AddErms2SpotTradeApplyReq": {
  10486. "type": "object",
  10487. "required": [
  10488. "spottradeid"
  10489. ],
  10490. "properties": {
  10491. "applyjsondetail": {
  10492. "description": "申请明细(JSON)",
  10493. "type": "string"
  10494. },
  10495. "applystatus": {
  10496. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10497. "type": "integer"
  10498. },
  10499. "areauserid": {
  10500. "description": "所属机构",
  10501. "type": "integer"
  10502. },
  10503. "auditid": {
  10504. "description": "审核人",
  10505. "type": "integer"
  10506. },
  10507. "auditremark": {
  10508. "description": "审核备注",
  10509. "type": "string"
  10510. },
  10511. "audittime": {
  10512. "description": "审核时间",
  10513. "type": "string"
  10514. },
  10515. "createtime": {
  10516. "description": "创建时间",
  10517. "type": "string"
  10518. },
  10519. "creatorid": {
  10520. "description": "创建人",
  10521. "type": "integer"
  10522. },
  10523. "deliverygoodsid": {
  10524. "description": "现货品种ID",
  10525. "type": "integer"
  10526. },
  10527. "futureaccountid": {
  10528. "description": "期货资金账户",
  10529. "type": "integer"
  10530. },
  10531. "goodsgroupid": {
  10532. "description": "期货品种",
  10533. "type": "integer"
  10534. },
  10535. "marketid": {
  10536. "description": "市场ID",
  10537. "type": "integer"
  10538. },
  10539. "remark": {
  10540. "description": "备注",
  10541. "type": "string"
  10542. },
  10543. "spotaccountid": {
  10544. "description": "现货资金账户",
  10545. "type": "integer"
  10546. },
  10547. "spottradeid": {
  10548. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10549. "type": "integer"
  10550. },
  10551. "spottradename": {
  10552. "description": "业务名称",
  10553. "type": "string"
  10554. },
  10555. "spottradeno": {
  10556. "description": "业务编号",
  10557. "type": "string"
  10558. },
  10559. "tradedate": {
  10560. "description": "交易日(yyyyMMdd)",
  10561. "type": "string"
  10562. },
  10563. "wrstandardid": {
  10564. "description": "仓单标准ID",
  10565. "type": "integer"
  10566. }
  10567. }
  10568. },
  10569. "erms3.AddSpotContractApplyReq": {
  10570. "type": "object",
  10571. "required": [
  10572. "accountid",
  10573. "areauserid",
  10574. "contractno",
  10575. "contracttype",
  10576. "customeraccountid",
  10577. "customeruserid",
  10578. "details",
  10579. "orimargin",
  10580. "signdate"
  10581. ],
  10582. "properties": {
  10583. "accountid": {
  10584. "description": "资金账户ID",
  10585. "type": "integer"
  10586. },
  10587. "areauserid": {
  10588. "description": "所属机构",
  10589. "type": "integer"
  10590. },
  10591. "contractattachment": {
  10592. "description": "合同附件",
  10593. "type": "string"
  10594. },
  10595. "contractno": {
  10596. "description": "现货合同编号",
  10597. "type": "string"
  10598. },
  10599. "contracttype": {
  10600. "description": "现货合同类型 - 1:采购 -1:销售",
  10601. "type": "integer"
  10602. },
  10603. "creatorid": {
  10604. "description": "申请人",
  10605. "type": "integer"
  10606. },
  10607. "customeraccountid": {
  10608. "description": "客户资金账户ID",
  10609. "type": "integer"
  10610. },
  10611. "customeruserid": {
  10612. "description": "客户ID",
  10613. "type": "integer"
  10614. },
  10615. "details": {
  10616. "description": "明细",
  10617. "type": "array",
  10618. "items": {
  10619. "$ref": "#/definitions/erms3.SoptContractDetail"
  10620. }
  10621. },
  10622. "orimargin": {
  10623. "description": "初始保证金",
  10624. "type": "number"
  10625. },
  10626. "remark": {
  10627. "description": "备注",
  10628. "type": "string"
  10629. },
  10630. "signdate": {
  10631. "description": "签订日期",
  10632. "type": "string"
  10633. }
  10634. }
  10635. },
  10636. "erms3.AddSpotContractApplyRsp": {
  10637. "type": "object",
  10638. "required": [
  10639. "contractno"
  10640. ],
  10641. "properties": {
  10642. "contractno": {
  10643. "description": "现货合同编号",
  10644. "type": "string"
  10645. },
  10646. "spotcontractid": {
  10647. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10648. "type": "integer"
  10649. }
  10650. }
  10651. },
  10652. "erms3.AddUserInfoApplyReq": {
  10653. "type": "object",
  10654. "required": [
  10655. "userid"
  10656. ],
  10657. "properties": {
  10658. "accountid": {
  10659. "description": "交易系统帐号Id (加密存储)",
  10660. "type": "integer"
  10661. },
  10662. "areacode": {
  10663. "description": "机构代码",
  10664. "type": "string"
  10665. },
  10666. "areaid": {
  10667. "description": "机构Id",
  10668. "type": "integer"
  10669. },
  10670. "attachment1": {
  10671. "description": "附件1",
  10672. "type": "string"
  10673. },
  10674. "attachment2": {
  10675. "description": "附件2",
  10676. "type": "string"
  10677. },
  10678. "attachment3": {
  10679. "description": "附件3",
  10680. "type": "string"
  10681. },
  10682. "attachment4": {
  10683. "description": "附件4",
  10684. "type": "string"
  10685. },
  10686. "attachment5": {
  10687. "description": "附件5",
  10688. "type": "string"
  10689. },
  10690. "auditedby": {
  10691. "description": "审核人",
  10692. "type": "string"
  10693. },
  10694. "auditime": {
  10695. "description": "审核时间",
  10696. "type": "string"
  10697. },
  10698. "bankaccount": {
  10699. "description": "银行帐号 (加密存储)",
  10700. "type": "string"
  10701. },
  10702. "bankaccountname": {
  10703. "description": "收款人名称",
  10704. "type": "string"
  10705. },
  10706. "bankcardbackphotourl": {
  10707. "description": "银行卡背面照地址",
  10708. "type": "string"
  10709. },
  10710. "bankcardfrontphotourl": {
  10711. "description": "银行卡正面照地址",
  10712. "type": "string"
  10713. },
  10714. "bankid": {
  10715. "description": "银行编码",
  10716. "type": "string"
  10717. },
  10718. "bankname": {
  10719. "description": "银行名称",
  10720. "type": "string"
  10721. },
  10722. "bankpictureurl": {
  10723. "description": "银行卡正面地址",
  10724. "type": "string"
  10725. },
  10726. "biznature": {
  10727. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10728. "type": "integer"
  10729. },
  10730. "bizscope": {
  10731. "description": "企业经营范围(企业)",
  10732. "type": "string"
  10733. },
  10734. "biztype": {
  10735. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10736. "type": "integer"
  10737. },
  10738. "brokerid": {
  10739. "description": "经纪人ID(加密存储)",
  10740. "type": "string"
  10741. },
  10742. "cardaddress": {
  10743. "description": "证件地址 (加密存储)",
  10744. "type": "string"
  10745. },
  10746. "cardbackphotourl": {
  10747. "description": "背面证件照地址",
  10748. "type": "string"
  10749. },
  10750. "cardfrontphotourl": {
  10751. "description": "正面证件照地址",
  10752. "type": "string"
  10753. },
  10754. "cardnum": {
  10755. "description": "证件号码 (加密存储)",
  10756. "type": "string"
  10757. },
  10758. "cardtype": {
  10759. "description": "证件类型",
  10760. "type": "integer"
  10761. },
  10762. "cityid": {
  10763. "description": "市",
  10764. "type": "integer"
  10765. },
  10766. "company": {
  10767. "description": "公司(个人)",
  10768. "type": "string"
  10769. },
  10770. "contactcardbackphotourl": {
  10771. "description": "联系人证件背面图片地址",
  10772. "type": "string"
  10773. },
  10774. "contactcardfrontphotourl": {
  10775. "description": "联系人证件正面图片地址",
  10776. "type": "string"
  10777. },
  10778. "contactname": {
  10779. "description": "联系人",
  10780. "type": "string"
  10781. },
  10782. "countryid": {
  10783. "description": "国家",
  10784. "type": "integer"
  10785. },
  10786. "createtime": {
  10787. "description": "开户申请时间",
  10788. "type": "string"
  10789. },
  10790. "cusbankid": {
  10791. "description": "签约类型",
  10792. "type": "string"
  10793. },
  10794. "cusbankname": {
  10795. "description": "签约类型名称",
  10796. "type": "string"
  10797. },
  10798. "customername": {
  10799. "description": "客户名称(企业名称)",
  10800. "type": "string"
  10801. },
  10802. "districtid": {
  10803. "description": "地区",
  10804. "type": "integer"
  10805. },
  10806. "email": {
  10807. "description": "Email地址(加密存储)",
  10808. "type": "string"
  10809. },
  10810. "halfbodyphotourl": {
  10811. "description": "半身照地址",
  10812. "type": "string"
  10813. },
  10814. "headurl": {
  10815. "description": "头像地址",
  10816. "type": "string"
  10817. },
  10818. "ipaddress": {
  10819. "description": "IP地址",
  10820. "type": "string"
  10821. },
  10822. "isvalidate": {
  10823. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10824. "type": "string"
  10825. },
  10826. "legalcardbackphotourl": {
  10827. "description": "法人身份证背面照地址",
  10828. "type": "string"
  10829. },
  10830. "legalcardfrontphotourl": {
  10831. "description": "法人身份证正面照地址",
  10832. "type": "string"
  10833. },
  10834. "legalpersonname": {
  10835. "description": "法人姓名(企业)",
  10836. "type": "string"
  10837. },
  10838. "logincode": {
  10839. "description": "登录帐号 (加密存储)",
  10840. "type": "string"
  10841. },
  10842. "memberareaid": {
  10843. "description": "所属会员ID",
  10844. "type": "integer"
  10845. },
  10846. "mobile2": {
  10847. "description": "手机号码[明文-尚志]",
  10848. "type": "string"
  10849. },
  10850. "mobilephone": {
  10851. "description": "手机号码 (加密存储)",
  10852. "type": "string"
  10853. },
  10854. "modifiedby": {
  10855. "description": "修改人帐号",
  10856. "type": "integer"
  10857. },
  10858. "modifiedtime": {
  10859. "description": "修改时间",
  10860. "type": "string"
  10861. },
  10862. "nickname": {
  10863. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10864. "type": "string"
  10865. },
  10866. "openmode": {
  10867. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10868. "type": "integer"
  10869. },
  10870. "otherurl": {
  10871. "description": "其它图片地址[使用分号分隔]",
  10872. "type": "string"
  10873. },
  10874. "postalcode": {
  10875. "description": "邮政编码",
  10876. "type": "string"
  10877. },
  10878. "provinceid": {
  10879. "description": "省",
  10880. "type": "integer"
  10881. },
  10882. "proxystatementurl": {
  10883. "description": "授权委托书",
  10884. "type": "string"
  10885. },
  10886. "qq": {
  10887. "description": "QQ(加密存储",
  10888. "type": "string"
  10889. },
  10890. "referral": {
  10891. "description": "推荐人编码",
  10892. "type": "string"
  10893. },
  10894. "remark": {
  10895. "description": "备注",
  10896. "type": "string"
  10897. },
  10898. "removebeforestatus": {
  10899. "description": "REMOVEBEFORESTATUS",
  10900. "type": "integer"
  10901. },
  10902. "sex": {
  10903. "description": "性别 - 0:女 1:男",
  10904. "type": "integer"
  10905. },
  10906. "signedstatus": {
  10907. "description": "账户一号签签约状态",
  10908. "type": "integer"
  10909. },
  10910. "signpdfurl": {
  10911. "description": "签约pdf文件",
  10912. "type": "string"
  10913. },
  10914. "subbranch": {
  10915. "description": "开户支行",
  10916. "type": "string"
  10917. },
  10918. "telphone": {
  10919. "description": "联系电话(加密存储)",
  10920. "type": "string"
  10921. },
  10922. "userid": {
  10923. "description": "用户ID(自增ID)",
  10924. "type": "integer"
  10925. },
  10926. "userinfotype": {
  10927. "description": "用户信息类型 - 1:个人 2:企业",
  10928. "type": "integer"
  10929. },
  10930. "username": {
  10931. "description": "用户姓名",
  10932. "type": "string"
  10933. },
  10934. "userstate": {
  10935. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10936. "type": "integer"
  10937. },
  10938. "usertype": {
  10939. "description": "用户类型 - 1:投资者 2:机构",
  10940. "type": "integer"
  10941. },
  10942. "videourl": {
  10943. "description": "视频地址",
  10944. "type": "string"
  10945. },
  10946. "wechat": {
  10947. "description": "微信号 (加密存储)",
  10948. "type": "string"
  10949. }
  10950. }
  10951. },
  10952. "erms3.CustomerInfo": {
  10953. "type": "object",
  10954. "required": [
  10955. "userid"
  10956. ],
  10957. "properties": {
  10958. "accountids": {
  10959. "description": "资金账户ID列表",
  10960. "type": "array",
  10961. "items": {
  10962. "type": "integer"
  10963. }
  10964. },
  10965. "customername": {
  10966. "description": "名称(企业名称)",
  10967. "type": "string"
  10968. },
  10969. "mobile": {
  10970. "description": "手机号码",
  10971. "type": "string"
  10972. },
  10973. "userid": {
  10974. "description": "用户ID",
  10975. "type": "integer"
  10976. }
  10977. }
  10978. },
  10979. "erms3.ModifyUserInfoApplyReq": {
  10980. "type": "object",
  10981. "required": [
  10982. "userid"
  10983. ],
  10984. "properties": {
  10985. "accountid": {
  10986. "description": "交易系统帐号Id (加密存储)",
  10987. "type": "integer"
  10988. },
  10989. "areacode": {
  10990. "description": "机构代码",
  10991. "type": "string"
  10992. },
  10993. "areaid": {
  10994. "description": "机构Id",
  10995. "type": "integer"
  10996. },
  10997. "attachment1": {
  10998. "description": "附件1",
  10999. "type": "string"
  11000. },
  11001. "attachment2": {
  11002. "description": "附件2",
  11003. "type": "string"
  11004. },
  11005. "attachment3": {
  11006. "description": "附件3",
  11007. "type": "string"
  11008. },
  11009. "attachment4": {
  11010. "description": "附件4",
  11011. "type": "string"
  11012. },
  11013. "attachment5": {
  11014. "description": "附件5",
  11015. "type": "string"
  11016. },
  11017. "auditedby": {
  11018. "description": "审核人",
  11019. "type": "string"
  11020. },
  11021. "auditime": {
  11022. "description": "审核时间",
  11023. "type": "string"
  11024. },
  11025. "bankaccount": {
  11026. "description": "银行帐号 (加密存储)",
  11027. "type": "string"
  11028. },
  11029. "bankaccountname": {
  11030. "description": "收款人名称",
  11031. "type": "string"
  11032. },
  11033. "bankcardbackphotourl": {
  11034. "description": "银行卡背面照地址",
  11035. "type": "string"
  11036. },
  11037. "bankcardfrontphotourl": {
  11038. "description": "银行卡正面照地址",
  11039. "type": "string"
  11040. },
  11041. "bankid": {
  11042. "description": "银行编码",
  11043. "type": "string"
  11044. },
  11045. "bankname": {
  11046. "description": "银行名称",
  11047. "type": "string"
  11048. },
  11049. "bankpictureurl": {
  11050. "description": "银行卡正面地址",
  11051. "type": "string"
  11052. },
  11053. "biznature": {
  11054. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11055. "type": "integer"
  11056. },
  11057. "bizscope": {
  11058. "description": "企业经营范围(企业)",
  11059. "type": "string"
  11060. },
  11061. "biztype": {
  11062. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11063. "type": "integer"
  11064. },
  11065. "brokerid": {
  11066. "description": "经纪人ID(加密存储)",
  11067. "type": "string"
  11068. },
  11069. "cardaddress": {
  11070. "description": "证件地址 (加密存储)",
  11071. "type": "string"
  11072. },
  11073. "cardbackphotourl": {
  11074. "description": "背面证件照地址",
  11075. "type": "string"
  11076. },
  11077. "cardfrontphotourl": {
  11078. "description": "正面证件照地址",
  11079. "type": "string"
  11080. },
  11081. "cardnum": {
  11082. "description": "证件号码 (加密存储)",
  11083. "type": "string"
  11084. },
  11085. "cardtype": {
  11086. "description": "证件类型",
  11087. "type": "integer"
  11088. },
  11089. "cityid": {
  11090. "description": "市",
  11091. "type": "integer"
  11092. },
  11093. "company": {
  11094. "description": "公司(个人)",
  11095. "type": "string"
  11096. },
  11097. "contactcardbackphotourl": {
  11098. "description": "联系人证件背面图片地址",
  11099. "type": "string"
  11100. },
  11101. "contactcardfrontphotourl": {
  11102. "description": "联系人证件正面图片地址",
  11103. "type": "string"
  11104. },
  11105. "contactname": {
  11106. "description": "联系人",
  11107. "type": "string"
  11108. },
  11109. "countryid": {
  11110. "description": "国家",
  11111. "type": "integer"
  11112. },
  11113. "createtime": {
  11114. "description": "开户申请时间",
  11115. "type": "string"
  11116. },
  11117. "cusbankid": {
  11118. "description": "签约类型",
  11119. "type": "string"
  11120. },
  11121. "cusbankname": {
  11122. "description": "签约类型名称",
  11123. "type": "string"
  11124. },
  11125. "customername": {
  11126. "description": "客户名称(企业名称)",
  11127. "type": "string"
  11128. },
  11129. "districtid": {
  11130. "description": "地区",
  11131. "type": "integer"
  11132. },
  11133. "email": {
  11134. "description": "Email地址(加密存储)",
  11135. "type": "string"
  11136. },
  11137. "halfbodyphotourl": {
  11138. "description": "半身照地址",
  11139. "type": "string"
  11140. },
  11141. "headurl": {
  11142. "description": "头像地址",
  11143. "type": "string"
  11144. },
  11145. "ipaddress": {
  11146. "description": "IP地址",
  11147. "type": "string"
  11148. },
  11149. "isvalidate": {
  11150. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11151. "type": "string"
  11152. },
  11153. "legalcardbackphotourl": {
  11154. "description": "法人身份证背面照地址",
  11155. "type": "string"
  11156. },
  11157. "legalcardfrontphotourl": {
  11158. "description": "法人身份证正面照地址",
  11159. "type": "string"
  11160. },
  11161. "legalpersonname": {
  11162. "description": "法人姓名(企业)",
  11163. "type": "string"
  11164. },
  11165. "logincode": {
  11166. "description": "登录帐号 (加密存储)",
  11167. "type": "string"
  11168. },
  11169. "memberareaid": {
  11170. "description": "所属会员ID",
  11171. "type": "integer"
  11172. },
  11173. "mobile2": {
  11174. "description": "手机号码[明文-尚志]",
  11175. "type": "string"
  11176. },
  11177. "mobilephone": {
  11178. "description": "手机号码 (加密存储)",
  11179. "type": "string"
  11180. },
  11181. "modifiedby": {
  11182. "description": "修改人帐号",
  11183. "type": "integer"
  11184. },
  11185. "modifiedtime": {
  11186. "description": "修改时间",
  11187. "type": "string"
  11188. },
  11189. "nickname": {
  11190. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11191. "type": "string"
  11192. },
  11193. "openmode": {
  11194. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11195. "type": "integer"
  11196. },
  11197. "otherurl": {
  11198. "description": "其它图片地址[使用分号分隔]",
  11199. "type": "string"
  11200. },
  11201. "postalcode": {
  11202. "description": "邮政编码",
  11203. "type": "string"
  11204. },
  11205. "provinceid": {
  11206. "description": "省",
  11207. "type": "integer"
  11208. },
  11209. "proxystatementurl": {
  11210. "description": "授权委托书",
  11211. "type": "string"
  11212. },
  11213. "qq": {
  11214. "description": "QQ(加密存储",
  11215. "type": "string"
  11216. },
  11217. "referral": {
  11218. "description": "推荐人编码",
  11219. "type": "string"
  11220. },
  11221. "remark": {
  11222. "description": "备注",
  11223. "type": "string"
  11224. },
  11225. "removebeforestatus": {
  11226. "description": "REMOVEBEFORESTATUS",
  11227. "type": "integer"
  11228. },
  11229. "sex": {
  11230. "description": "性别 - 0:女 1:男",
  11231. "type": "integer"
  11232. },
  11233. "signedstatus": {
  11234. "description": "账户一号签签约状态",
  11235. "type": "integer"
  11236. },
  11237. "signpdfurl": {
  11238. "description": "签约pdf文件",
  11239. "type": "string"
  11240. },
  11241. "subbranch": {
  11242. "description": "开户支行",
  11243. "type": "string"
  11244. },
  11245. "telphone": {
  11246. "description": "联系电话(加密存储)",
  11247. "type": "string"
  11248. },
  11249. "userid": {
  11250. "description": "用户ID(自增ID)",
  11251. "type": "integer"
  11252. },
  11253. "userinfotype": {
  11254. "description": "用户信息类型 - 1:个人 2:企业",
  11255. "type": "integer"
  11256. },
  11257. "username": {
  11258. "description": "用户姓名",
  11259. "type": "string"
  11260. },
  11261. "userstate": {
  11262. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11263. "type": "integer"
  11264. },
  11265. "usertype": {
  11266. "description": "用户类型 - 1:投资者 2:机构",
  11267. "type": "integer"
  11268. },
  11269. "videourl": {
  11270. "description": "视频地址",
  11271. "type": "string"
  11272. },
  11273. "wechat": {
  11274. "description": "微信号 (加密存储)",
  11275. "type": "string"
  11276. }
  11277. }
  11278. },
  11279. "erms3.QryAuditContractRsp": {
  11280. "type": "object",
  11281. "required": [
  11282. "matchcustomername",
  11283. "spotcontractid"
  11284. ],
  11285. "properties": {
  11286. "accountid": {
  11287. "description": "交易员ID",
  11288. "type": "string"
  11289. },
  11290. "applystatus": {
  11291. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11292. "type": "integer"
  11293. },
  11294. "curdeliveryqty": {
  11295. "description": "未交收量",
  11296. "type": "integer"
  11297. },
  11298. "customername": {
  11299. "description": "采购方ID",
  11300. "type": "string"
  11301. },
  11302. "deliverygoodsid": {
  11303. "description": "品种ID",
  11304. "type": "string"
  11305. },
  11306. "deliveryqty": {
  11307. "description": "交收量",
  11308. "type": "integer"
  11309. },
  11310. "enumdicname": {
  11311. "description": "单位名称",
  11312. "type": "string"
  11313. },
  11314. "matchaccountid": {
  11315. "description": "业务员ID",
  11316. "type": "string"
  11317. },
  11318. "matchcustomername": {
  11319. "description": "销售方ID",
  11320. "type": "string"
  11321. },
  11322. "pricedqty": {
  11323. "description": "定价量",
  11324. "type": "number"
  11325. },
  11326. "signdate": {
  11327. "description": "签订日期",
  11328. "type": "string"
  11329. },
  11330. "spotcontractid": {
  11331. "description": "合同ID",
  11332. "type": "string"
  11333. },
  11334. "totaldqty": {
  11335. "description": "合同量",
  11336. "type": "number"
  11337. },
  11338. "unpricedqty": {
  11339. "description": "未定价量",
  11340. "type": "number"
  11341. },
  11342. "wrstandardname": {
  11343. "description": "商品名称",
  11344. "type": "string"
  11345. }
  11346. }
  11347. },
  11348. "erms3.QryPendingBizRsp": {
  11349. "type": "object",
  11350. "properties": {
  11351. "accountid": {
  11352. "description": "现货账户",
  11353. "type": "string"
  11354. },
  11355. "areaname": {
  11356. "description": "所属部门",
  11357. "type": "string"
  11358. },
  11359. "bizid": {
  11360. "description": "业务ID",
  11361. "type": "string"
  11362. },
  11363. "bizname": {
  11364. "description": "业务名称",
  11365. "type": "string"
  11366. },
  11367. "status": {
  11368. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11369. "type": "integer"
  11370. },
  11371. "type": {
  11372. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11373. "type": "integer"
  11374. }
  11375. }
  11376. },
  11377. "erms3.QueryBusinessInfoRsp": {
  11378. "type": "object",
  11379. "properties": {
  11380. "businessid": {
  11381. "description": "业务ID.",
  11382. "type": "integer"
  11383. },
  11384. "buyamount": {
  11385. "description": "采购额.",
  11386. "type": "number"
  11387. },
  11388. "buyqty": {
  11389. "description": "采购量.",
  11390. "type": "string"
  11391. },
  11392. "futurepl": {
  11393. "description": "期货盈亏.",
  11394. "type": "number"
  11395. },
  11396. "futureqty": {
  11397. "description": "期货敞口.",
  11398. "type": "string"
  11399. },
  11400. "goodsid": {
  11401. "description": "商品名称/商品代码.",
  11402. "type": "string"
  11403. },
  11404. "hedgingqty": {
  11405. "description": "套保量.",
  11406. "type": "string"
  11407. },
  11408. "sellamount": {
  11409. "description": "销售额.",
  11410. "type": "number"
  11411. },
  11412. "sellqty": {
  11413. "description": "销售量.",
  11414. "type": "string"
  11415. },
  11416. "spotmarketvalue": {
  11417. "description": "现货市值.",
  11418. "type": "number"
  11419. },
  11420. "spotpl": {
  11421. "description": "浮动权益.",
  11422. "type": "number"
  11423. },
  11424. "spotqty": {
  11425. "description": "现货量.",
  11426. "type": "string"
  11427. },
  11428. "statu": {
  11429. "description": "状态,0-未结束 1-已结束.",
  11430. "type": "integer"
  11431. },
  11432. "totalpl": {
  11433. "description": "总盈亏.",
  11434. "type": "number"
  11435. },
  11436. "totalqty": {
  11437. "description": "总敞口.",
  11438. "type": "string"
  11439. },
  11440. "type": {
  11441. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11442. "type": "integer"
  11443. }
  11444. }
  11445. },
  11446. "erms3.QuerySpotContractAppleFormRsp": {
  11447. "type": "object",
  11448. "properties": {
  11449. "goodses": {
  11450. "description": "合约列表",
  11451. "type": "array",
  11452. "items": {
  11453. "$ref": "#/definitions/models.GoodsIDAndName"
  11454. }
  11455. },
  11456. "oppositeusers": {
  11457. "description": "对方账号列表",
  11458. "type": "array",
  11459. "items": {
  11460. "$ref": "#/definitions/erms3.CustomerInfo"
  11461. }
  11462. },
  11463. "ouruser": {
  11464. "description": "我方账号",
  11465. "$ref": "#/definitions/erms3.CustomerInfo"
  11466. },
  11467. "warehouseinfos": {
  11468. "description": "仓库信息列表",
  11469. "type": "array",
  11470. "items": {
  11471. "$ref": "#/definitions/models.Warehouseinfo"
  11472. }
  11473. },
  11474. "wrstandards": {
  11475. "description": "仓单标准列表",
  11476. "type": "array",
  11477. "items": {
  11478. "$ref": "#/definitions/models.WRStandardInfo"
  11479. }
  11480. }
  11481. }
  11482. },
  11483. "erms3.QuerySpotContractInfoRsp": {
  11484. "type": "object",
  11485. "properties": {
  11486. "accountid": {
  11487. "description": "表示交易员ID.",
  11488. "type": "integer"
  11489. },
  11490. "curdeliveryqty": {
  11491. "description": "表示未交收量.",
  11492. "type": "number"
  11493. },
  11494. "customername": {
  11495. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11496. "type": "string"
  11497. },
  11498. "deliverygoodsid": {
  11499. "description": "表示品种ID.",
  11500. "type": "string"
  11501. },
  11502. "deliveryqty": {
  11503. "description": "表示交收量.",
  11504. "type": "number"
  11505. },
  11506. "matchaccountid": {
  11507. "description": "表示业务员ID.",
  11508. "type": "integer"
  11509. },
  11510. "matchcustomername": {
  11511. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11512. "type": "string"
  11513. },
  11514. "priceqty": {
  11515. "description": "表示定价量.",
  11516. "type": "number"
  11517. },
  11518. "relatedbizid": {
  11519. "description": "表示业务ID.",
  11520. "type": "string"
  11521. },
  11522. "signdate": {
  11523. "description": "表示签订日期.",
  11524. "type": "string"
  11525. },
  11526. "spotcontractid": {
  11527. "description": "合同ID",
  11528. "type": "string"
  11529. },
  11530. "status": {
  11531. "description": "表示状态,0-履约中 1-已完成.",
  11532. "type": "integer"
  11533. },
  11534. "totalqty": {
  11535. "description": "表示合同量.",
  11536. "type": "number"
  11537. },
  11538. "unpricedqty": {
  11539. "description": "表示未定价量.",
  11540. "type": "number"
  11541. },
  11542. "wrstandardname": {
  11543. "description": "表示商品ID.",
  11544. "type": "string"
  11545. }
  11546. }
  11547. },
  11548. "erms3.QueryUserInfoAppliesRsp": {
  11549. "type": "object",
  11550. "required": [
  11551. "userid"
  11552. ],
  11553. "properties": {
  11554. "biznature": {
  11555. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11556. "type": "integer"
  11557. },
  11558. "contactname": {
  11559. "description": "联系人",
  11560. "type": "string"
  11561. },
  11562. "createtime": {
  11563. "description": "开户申请时间",
  11564. "type": "string"
  11565. },
  11566. "userid": {
  11567. "description": "用户ID(自增ID)",
  11568. "type": "integer"
  11569. },
  11570. "userinfotype": {
  11571. "description": "用户信息类型 - 1:个人 2:企业",
  11572. "type": "integer"
  11573. },
  11574. "username": {
  11575. "description": "用户姓名",
  11576. "type": "string"
  11577. },
  11578. "userstate": {
  11579. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11580. "type": "integer"
  11581. }
  11582. }
  11583. },
  11584. "erms3.QueryUserInfosRsp": {
  11585. "type": "object",
  11586. "required": [
  11587. "userid"
  11588. ],
  11589. "properties": {
  11590. "biznature": {
  11591. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11592. "type": "integer"
  11593. },
  11594. "contactname": {
  11595. "description": "联系人",
  11596. "type": "string"
  11597. },
  11598. "customername": {
  11599. "description": "客户名称(企业名称)",
  11600. "type": "string"
  11601. },
  11602. "userid": {
  11603. "description": "用户ID",
  11604. "type": "integer"
  11605. },
  11606. "userinfotype": {
  11607. "description": "用户信息类型 - 1:个人 2:企业",
  11608. "type": "integer"
  11609. },
  11610. "userstatus": {
  11611. "description": "用户状态 - 1:正常 2:注销",
  11612. "type": "integer"
  11613. }
  11614. }
  11615. },
  11616. "erms3.SoptContractDetail": {
  11617. "type": "object",
  11618. "required": [
  11619. "deliverygoodsid",
  11620. "producttype",
  11621. "unitname",
  11622. "warehouseid",
  11623. "wrstandardid",
  11624. "wrstandardname"
  11625. ],
  11626. "properties": {
  11627. "deliverygoodsdesc": {
  11628. "description": "现货品种说明",
  11629. "type": "string"
  11630. },
  11631. "deliverygoodsid": {
  11632. "description": "现货品种ID",
  11633. "type": "integer"
  11634. },
  11635. "deliverygoodsname": {
  11636. "description": "现货品种名称",
  11637. "type": "string"
  11638. },
  11639. "pointdesc": {
  11640. "description": "点价描述",
  11641. "type": "string"
  11642. },
  11643. "producttype": {
  11644. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11645. "type": "integer"
  11646. },
  11647. "producttypename": {
  11648. "description": "产品类型名称",
  11649. "type": "string"
  11650. },
  11651. "spotPointOrderVoList": {
  11652. "description": "点价列表",
  11653. "type": "array",
  11654. "items": {
  11655. "$ref": "#/definitions/erms3.SpotPointOrder"
  11656. }
  11657. },
  11658. "spotPriceOrderList": {
  11659. "description": "定价列表",
  11660. "type": "array",
  11661. "items": {
  11662. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11663. }
  11664. },
  11665. "unitname": {
  11666. "description": "单位名称",
  11667. "type": "string"
  11668. },
  11669. "warehouseid": {
  11670. "description": "仓库ID",
  11671. "type": "integer"
  11672. },
  11673. "warehousename": {
  11674. "description": "仓库名称",
  11675. "type": "string"
  11676. },
  11677. "wrstandardid": {
  11678. "description": "交易标的ID",
  11679. "type": "integer"
  11680. },
  11681. "wrstandardname": {
  11682. "description": "交易标的名称",
  11683. "type": "string"
  11684. }
  11685. }
  11686. },
  11687. "erms3.SpotPointOrder": {
  11688. "type": "object",
  11689. "required": [
  11690. "basic",
  11691. "goodsid",
  11692. "qty"
  11693. ],
  11694. "properties": {
  11695. "basic": {
  11696. "description": "基差",
  11697. "type": "number"
  11698. },
  11699. "deliveryenddate": {
  11700. "description": "交收结束日期",
  11701. "type": "string"
  11702. },
  11703. "deliverystartdate": {
  11704. "description": "交收开始日期",
  11705. "type": "string"
  11706. },
  11707. "enddate": {
  11708. "description": "点价结束日期",
  11709. "type": "string"
  11710. },
  11711. "goodsid": {
  11712. "description": "商品ID",
  11713. "type": "integer"
  11714. },
  11715. "goodsname": {
  11716. "description": "商品名称",
  11717. "type": "string"
  11718. },
  11719. "qty": {
  11720. "description": "数量",
  11721. "type": "number"
  11722. },
  11723. "startdate": {
  11724. "description": "点价开始日期",
  11725. "type": "string"
  11726. }
  11727. }
  11728. },
  11729. "erms3.SpotPriceOrder": {
  11730. "type": "object",
  11731. "required": [
  11732. "amount",
  11733. "price",
  11734. "qty"
  11735. ],
  11736. "properties": {
  11737. "amount": {
  11738. "description": "金额",
  11739. "type": "number"
  11740. },
  11741. "deliveryenddate": {
  11742. "description": "交收结束日期",
  11743. "type": "string"
  11744. },
  11745. "deliverystartdate": {
  11746. "description": "交收开始日期",
  11747. "type": "string"
  11748. },
  11749. "price": {
  11750. "description": "价格",
  11751. "type": "number"
  11752. },
  11753. "qty": {
  11754. "description": "数量",
  11755. "type": "number"
  11756. }
  11757. }
  11758. },
  11759. "hsby.GetHsbyMyCountRsp": {
  11760. "type": "object",
  11761. "properties": {
  11762. "myCouponCount": {
  11763. "description": "我的优惠卷数量",
  11764. "type": "integer"
  11765. },
  11766. "myOrderDetailListingCount": {
  11767. "description": "我的订单求购中数量",
  11768. "type": "integer"
  11769. },
  11770. "myOrderDetailPreCount": {
  11771. "description": "我的订单抢购中数量",
  11772. "type": "integer"
  11773. },
  11774. "myPackageUnReceiveCount": {
  11775. "description": "我的包裹待收货数量",
  11776. "type": "integer"
  11777. },
  11778. "myPackageUnSendCount": {
  11779. "description": "我的包裹待发货数量",
  11780. "type": "integer"
  11781. },
  11782. "myPayOrderCount": {
  11783. "description": "我的订单待付款数量",
  11784. "type": "integer"
  11785. }
  11786. }
  11787. },
  11788. "hsby.QueryProvincesAndCitiesRsp": {
  11789. "type": "object",
  11790. "properties": {
  11791. "cities": {
  11792. "description": "市",
  11793. "type": "array",
  11794. "items": {
  11795. "$ref": "#/definitions/models.Division"
  11796. }
  11797. },
  11798. "province": {
  11799. "description": "省",
  11800. "$ref": "#/definitions/models.Division"
  11801. }
  11802. }
  11803. },
  11804. "models.Clientfixedadconfig": {
  11805. "type": "object",
  11806. "required": [
  11807. "adsort",
  11808. "adtype"
  11809. ],
  11810. "properties": {
  11811. "adsort": {
  11812. "description": "排序",
  11813. "type": "integer"
  11814. },
  11815. "adtype": {
  11816. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11817. "type": "integer"
  11818. },
  11819. "areauserid": {
  11820. "description": "所属机构ID",
  11821. "type": "integer"
  11822. },
  11823. "createdate": {
  11824. "description": "创建时间",
  11825. "type": "string"
  11826. },
  11827. "creatorid": {
  11828. "description": "创建人",
  11829. "type": "integer"
  11830. },
  11831. "imagepath": {
  11832. "description": "图片",
  11833. "type": "string"
  11834. },
  11835. "isshow": {
  11836. "description": "是否展示 - 0:不展示 1:展示",
  11837. "type": "integer"
  11838. },
  11839. "modifierid": {
  11840. "description": "操作人",
  11841. "type": "integer"
  11842. },
  11843. "recsize": {
  11844. "description": "推荐尺寸",
  11845. "type": "string"
  11846. },
  11847. "title": {
  11848. "description": "标题",
  11849. "type": "string"
  11850. },
  11851. "updatedate": {
  11852. "description": "更新时间",
  11853. "type": "string"
  11854. },
  11855. "urlcontent": {
  11856. "description": "链接(地址或商品ID)",
  11857. "type": "string"
  11858. },
  11859. "urltype": {
  11860. "description": "链接类型 - 1:直接地址 2:商品ID",
  11861. "type": "integer"
  11862. }
  11863. }
  11864. },
  11865. "models.Division": {
  11866. "type": "object",
  11867. "required": [
  11868. "autoid",
  11869. "divisioncode"
  11870. ],
  11871. "properties": {
  11872. "autoid": {
  11873. "description": "自增ID",
  11874. "type": "integer"
  11875. },
  11876. "divisioncode": {
  11877. "description": "行政代码",
  11878. "type": "string"
  11879. },
  11880. "divisionlevel": {
  11881. "description": "行政级别",
  11882. "type": "string"
  11883. },
  11884. "divisionname": {
  11885. "description": "行政名称",
  11886. "type": "string"
  11887. },
  11888. "modifierid": {
  11889. "description": "修改人",
  11890. "type": "integer"
  11891. },
  11892. "modifytime": {
  11893. "description": "修改时间",
  11894. "type": "string"
  11895. },
  11896. "parentcode": {
  11897. "description": "上级行政代码",
  11898. "type": "string"
  11899. },
  11900. "pathname": {
  11901. "description": "路径名称",
  11902. "type": "string"
  11903. },
  11904. "postcode": {
  11905. "description": "邮政编码",
  11906. "type": "string"
  11907. },
  11908. "separablename": {
  11909. "description": "可拆分的全称",
  11910. "type": "string"
  11911. },
  11912. "shortcode": {
  11913. "description": "地区简码",
  11914. "type": "string"
  11915. }
  11916. }
  11917. },
  11918. "models.Enumdicitem": {
  11919. "type": "object",
  11920. "required": [
  11921. "autoid",
  11922. "enumdiccode",
  11923. "enumdicid",
  11924. "enumitemname"
  11925. ],
  11926. "properties": {
  11927. "autoid": {
  11928. "description": "自增ID",
  11929. "type": "integer"
  11930. },
  11931. "bankmappedvalue": {
  11932. "description": "银行服务对应值",
  11933. "type": "string"
  11934. },
  11935. "enumdiccode": {
  11936. "description": "所属枚举代码",
  11937. "type": "string"
  11938. },
  11939. "enumdicid": {
  11940. "description": "所属枚举ID",
  11941. "type": "integer"
  11942. },
  11943. "enumdicname": {
  11944. "description": "枚举项名称",
  11945. "type": "string"
  11946. },
  11947. "enumitemname": {
  11948. "description": "枚举项值",
  11949. "type": "integer"
  11950. },
  11951. "enumitemstatus": {
  11952. "description": "枚举项状态 - 1.启用 2.不启用",
  11953. "type": "integer"
  11954. },
  11955. "enumitemvalue": {
  11956. "description": "通用值 - [币种通用简写]",
  11957. "type": "string"
  11958. },
  11959. "param1": {
  11960. "description": "参数1[币种:币种小数位]",
  11961. "type": "string"
  11962. },
  11963. "param2": {
  11964. "description": "参数1[币种:币种显示单位]",
  11965. "type": "string"
  11966. },
  11967. "remark": {
  11968. "description": "备注",
  11969. "type": "string"
  11970. }
  11971. }
  11972. },
  11973. "models.ErmcpHisExposure": {
  11974. "type": "object",
  11975. "properties": {
  11976. "needhedgeexposoure": {
  11977. "description": "应套保敞口",
  11978. "type": "number"
  11979. },
  11980. "reckondate": {
  11981. "description": "日照时期(yyyyMMdd)",
  11982. "type": "string"
  11983. },
  11984. "totalexposure": {
  11985. "description": "总敞口",
  11986. "type": "number"
  11987. }
  11988. }
  11989. },
  11990. "models.ErmcpMiddleGoodsModel": {
  11991. "type": "object",
  11992. "properties": {
  11993. "areauserid": {
  11994. "description": "机构用户ID",
  11995. "type": "integer"
  11996. },
  11997. "enumdicname": {
  11998. "description": "单位名称",
  11999. "type": "string"
  12000. },
  12001. "evaluateratio": {
  12002. "description": "估价系数",
  12003. "type": "number"
  12004. },
  12005. "goodsgroupid": {
  12006. "description": "关联期货品种ID",
  12007. "type": "integer"
  12008. },
  12009. "isvalid": {
  12010. "description": "状态 0-无效(停用) 1-有效(正常)",
  12011. "type": "integer"
  12012. },
  12013. "middlegoodscode": {
  12014. "description": "套保品种代码",
  12015. "type": "string"
  12016. },
  12017. "middlegoodsid": {
  12018. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  12019. "type": "integer"
  12020. },
  12021. "middlegoodsname": {
  12022. "description": "套保品种名称",
  12023. "type": "string"
  12024. },
  12025. "modifytime": {
  12026. "description": "修改时间",
  12027. "type": "string"
  12028. },
  12029. "needhedgeratio": {
  12030. "description": "套保比率",
  12031. "type": "number"
  12032. },
  12033. "qtydecimalplace": {
  12034. "description": "数量小数位",
  12035. "type": "integer"
  12036. },
  12037. "relatedgoodsid": {
  12038. "description": "关联交易商品ID",
  12039. "type": "integer"
  12040. },
  12041. "relatedgoodstype": {
  12042. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  12043. "type": "integer"
  12044. }
  12045. }
  12046. },
  12047. "models.ErmcpReportDayFR": {
  12048. "type": "object",
  12049. "properties": {
  12050. "areauserid": {
  12051. "description": "所属机构",
  12052. "type": "integer"
  12053. },
  12054. "collectinvoiceamount": {
  12055. "description": "今日开票金额",
  12056. "type": "number"
  12057. },
  12058. "collectinvoicecount": {
  12059. "description": "今日开票笔数",
  12060. "type": "integer"
  12061. },
  12062. "collectmoneyamount": {
  12063. "description": "今日收款金额",
  12064. "type": "number"
  12065. },
  12066. "collectmoneycount": {
  12067. "description": "今日收款笔数",
  12068. "type": "integer"
  12069. },
  12070. "payinvoiceamount": {
  12071. "description": "今日收票金额",
  12072. "type": "number"
  12073. },
  12074. "payinvoicecount": {
  12075. "description": "今日收票笔数",
  12076. "type": "integer"
  12077. },
  12078. "paymoneyamount": {
  12079. "description": "今日付款金额",
  12080. "type": "number"
  12081. },
  12082. "paymoneycount": {
  12083. "description": "今日付款笔数",
  12084. "type": "integer"
  12085. },
  12086. "reckondate": {
  12087. "description": "日照时期(yyyyMMdd)",
  12088. "type": "string"
  12089. },
  12090. "updatetime": {
  12091. "description": "更新时间",
  12092. "type": "string"
  12093. }
  12094. }
  12095. },
  12096. "models.ErmcpWrstandard": {
  12097. "type": "object",
  12098. "properties": {
  12099. "areauserid": {
  12100. "description": "所属机构",
  12101. "type": "integer"
  12102. },
  12103. "createtime": {
  12104. "description": "创建时间",
  12105. "type": "string"
  12106. },
  12107. "creatorid": {
  12108. "description": "创建人",
  12109. "type": "integer"
  12110. },
  12111. "deliverygoodsid": {
  12112. "description": "品种ID",
  12113. "type": "integer"
  12114. },
  12115. "enumdicname": {
  12116. "description": "单位名称",
  12117. "type": "string"
  12118. },
  12119. "isvalid": {
  12120. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  12121. "type": "integer"
  12122. },
  12123. "minivalue": {
  12124. "description": "最小变动值",
  12125. "type": "integer"
  12126. },
  12127. "minivaluedp": {
  12128. "description": "最小变动值小数位",
  12129. "type": "integer"
  12130. },
  12131. "realminivalue": {
  12132. "description": "实际最小变动值",
  12133. "type": "integer"
  12134. },
  12135. "realminivaluedp": {
  12136. "description": "实际最小变动值小数位",
  12137. "type": "integer"
  12138. },
  12139. "remark": {
  12140. "description": "备注",
  12141. "type": "string"
  12142. },
  12143. "unitid": {
  12144. "description": "单位ID",
  12145. "type": "integer"
  12146. },
  12147. "updatetime": {
  12148. "description": "更新时间",
  12149. "type": "string"
  12150. },
  12151. "wrstandardcode": {
  12152. "description": "现货商品代码",
  12153. "type": "string"
  12154. },
  12155. "wrstandardid": {
  12156. "description": "现货商品ID(SEQ_WRSTANDARD)",
  12157. "type": "integer"
  12158. },
  12159. "wrstandardname": {
  12160. "description": "现货商品名称",
  12161. "type": "string"
  12162. }
  12163. }
  12164. },
  12165. "models.Externalexchange": {
  12166. "type": "object",
  12167. "required": [
  12168. "autoid"
  12169. ],
  12170. "properties": {
  12171. "autoid": {
  12172. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  12173. "type": "integer"
  12174. },
  12175. "exchangefullname": {
  12176. "description": "外部交易所全称",
  12177. "type": "string"
  12178. },
  12179. "exexchangecode": {
  12180. "description": "外部交易所代码",
  12181. "type": "string"
  12182. },
  12183. "exexchangename": {
  12184. "description": "外部交易所名称(简称)",
  12185. "type": "string"
  12186. },
  12187. "ismarketprice": {
  12188. "description": "是否支持市价 - 0:不支持 1:支持",
  12189. "type": "integer"
  12190. },
  12191. "quotegear": {
  12192. "description": "行情档位(1-10)",
  12193. "type": "integer"
  12194. },
  12195. "showbrokerflag": {
  12196. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  12197. "type": "integer"
  12198. },
  12199. "updatetime": {
  12200. "description": "更新时间",
  12201. "type": "string"
  12202. }
  12203. }
  12204. },
  12205. "models.Goods": {
  12206. "type": "object",
  12207. "required": [
  12208. "goodscode",
  12209. "goodsid",
  12210. "goodsname",
  12211. "marketid"
  12212. ],
  12213. "properties": {
  12214. "agreeunit": {
  12215. "description": "合约单位",
  12216. "type": "number"
  12217. },
  12218. "auditaccountid": {
  12219. "description": "审核操作员账号",
  12220. "type": "integer"
  12221. },
  12222. "audittime": {
  12223. "description": "审核时间",
  12224. "type": "string"
  12225. },
  12226. "cancelaccountid": {
  12227. "description": "注销操作员账号",
  12228. "type": "integer"
  12229. },
  12230. "canceltime": {
  12231. "description": "注销时间",
  12232. "type": "string"
  12233. },
  12234. "closepricemode": {
  12235. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12236. "type": "integer"
  12237. },
  12238. "closepriceparam": {
  12239. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  12240. "type": "number"
  12241. },
  12242. "createtime": {
  12243. "description": "创建时间",
  12244. "type": "string"
  12245. },
  12246. "creatorid": {
  12247. "description": "创建人",
  12248. "type": "integer"
  12249. },
  12250. "currencyid": {
  12251. "description": "报价货币ID",
  12252. "type": "integer"
  12253. },
  12254. "cutmode": {
  12255. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  12256. "type": "integer"
  12257. },
  12258. "decimalplace": {
  12259. "description": "报价小数位",
  12260. "type": "integer"
  12261. },
  12262. "delistingdate": {
  12263. "description": "商品退市时间(状态:退市) -- 已作废",
  12264. "type": "string"
  12265. },
  12266. "delistingmode": {
  12267. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  12268. "type": "integer"
  12269. },
  12270. "deliveryflag": {
  12271. "description": "交割标志 - 0:不可交割 1:可交割",
  12272. "type": "integer"
  12273. },
  12274. "forceclosemode": {
  12275. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  12276. "type": "integer"
  12277. },
  12278. "forceclosevalue": {
  12279. "description": "定期强平参数 [收益权]",
  12280. "type": "integer"
  12281. },
  12282. "goodscode": {
  12283. "description": "商品代码(内部)",
  12284. "type": "string"
  12285. },
  12286. "goodscurrencyid": {
  12287. "description": "合约货币ID",
  12288. "type": "integer"
  12289. },
  12290. "goodsgroupid": {
  12291. "description": "所属商品组ID",
  12292. "type": "integer"
  12293. },
  12294. "goodsid": {
  12295. "description": "商品ID(自增ID SEQ_GOODS)",
  12296. "type": "integer"
  12297. },
  12298. "goodsname": {
  12299. "description": "商品名称",
  12300. "type": "string"
  12301. },
  12302. "goodsquotetype": {
  12303. "description": "合约报价类型: 1-直接报价 2-间接报价",
  12304. "type": "integer"
  12305. },
  12306. "goodsstatus": {
  12307. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12308. "type": "integer"
  12309. },
  12310. "goodstradetype": {
  12311. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  12312. "type": "integer"
  12313. },
  12314. "goodunitid": {
  12315. "description": "报价单位ID",
  12316. "type": "integer"
  12317. },
  12318. "hasquoter": {
  12319. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  12320. "type": "integer"
  12321. },
  12322. "hqprotecttime": {
  12323. "description": "行情保护时间(秒)",
  12324. "type": "integer"
  12325. },
  12326. "innerdealmode": {
  12327. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12328. "type": "integer"
  12329. },
  12330. "isbuylimited": {
  12331. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12332. "type": "integer"
  12333. },
  12334. "lasttradedate": {
  12335. "description": "最后交易日期(状态:待退市)",
  12336. "type": "string"
  12337. },
  12338. "listingdate": {
  12339. "description": "交易开始日期",
  12340. "type": "string"
  12341. },
  12342. "marketid": {
  12343. "description": "所属市场ID",
  12344. "type": "integer"
  12345. },
  12346. "modifierid": {
  12347. "description": "修改人",
  12348. "type": "integer"
  12349. },
  12350. "modifystatus": {
  12351. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  12352. "type": "integer"
  12353. },
  12354. "modifytime": {
  12355. "description": "修改时间",
  12356. "type": "string"
  12357. },
  12358. "outerdealmode": {
  12359. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12360. "type": "integer"
  12361. },
  12362. "outgoodscode": {
  12363. "description": "商品代码(外部)",
  12364. "type": "string"
  12365. },
  12366. "qtydecimalplace": {
  12367. "description": "成交量小数位",
  12368. "type": "integer"
  12369. },
  12370. "quotegear": {
  12371. "description": "行情档位(1-10)",
  12372. "type": "integer"
  12373. },
  12374. "quoteminunit": {
  12375. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12376. "type": "integer"
  12377. },
  12378. "quoteshowtype": {
  12379. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  12380. "type": "integer"
  12381. },
  12382. "quoteshowtypeinterval": {
  12383. "description": "行情报价间隔时间(秒)(成交价时为0)",
  12384. "type": "integer"
  12385. },
  12386. "remark": {
  12387. "description": "备注",
  12388. "type": "string"
  12389. }
  12390. }
  12391. },
  12392. "models.GoodsBrand": {
  12393. "type": "object",
  12394. "properties": {
  12395. "brandid": {
  12396. "description": "品牌ID",
  12397. "type": "integer"
  12398. },
  12399. "brandname": {
  12400. "description": "品牌名称",
  12401. "type": "string"
  12402. },
  12403. "isvalid": {
  12404. "description": "是否有效 - 0:无效 1:有效",
  12405. "type": "integer"
  12406. }
  12407. }
  12408. },
  12409. "models.GoodsGroupConvert": {
  12410. "type": "object",
  12411. "properties": {
  12412. "convertratio": {
  12413. "description": "折算系数",
  12414. "type": "number"
  12415. },
  12416. "dstgoodsgroupid": {
  12417. "description": "目标期货品种ID",
  12418. "type": "integer"
  12419. },
  12420. "goodsgroupname": {
  12421. "description": "期货品种名称",
  12422. "type": "string"
  12423. },
  12424. "outergroupcode": {
  12425. "description": "期货品种代码",
  12426. "type": "string"
  12427. },
  12428. "srcgoodsgroupid": {
  12429. "description": "源期货品种ID",
  12430. "type": "integer"
  12431. }
  12432. }
  12433. },
  12434. "models.GoodsIDAndName": {
  12435. "type": "object",
  12436. "required": [
  12437. "goodscode",
  12438. "goodsid",
  12439. "goodsname",
  12440. "marketid"
  12441. ],
  12442. "properties": {
  12443. "goodscode": {
  12444. "description": "商品代码(内部)",
  12445. "type": "string"
  12446. },
  12447. "goodsid": {
  12448. "description": "商品ID(自增ID SEQ_GOODS)",
  12449. "type": "integer"
  12450. },
  12451. "goodsname": {
  12452. "description": "商品名称",
  12453. "type": "string"
  12454. },
  12455. "marketid": {
  12456. "description": "所属市场ID",
  12457. "type": "integer"
  12458. }
  12459. }
  12460. },
  12461. "models.GoodsTypeModel": {
  12462. "type": "object",
  12463. "properties": {
  12464. "modelid": {
  12465. "description": "型号ID",
  12466. "type": "integer"
  12467. },
  12468. "modelname": {
  12469. "description": "型号名称",
  12470. "type": "string"
  12471. },
  12472. "updatetime": {
  12473. "description": "更新时间",
  12474. "type": "string"
  12475. }
  12476. }
  12477. },
  12478. "models.Goodsgroup": {
  12479. "type": "object",
  12480. "required": [
  12481. "goodsgroupid",
  12482. "goodsgroupname",
  12483. "goodsgroupstatus",
  12484. "marketid"
  12485. ],
  12486. "properties": {
  12487. "agreeunit": {
  12488. "description": "合约单位",
  12489. "type": "number"
  12490. },
  12491. "canshort": {
  12492. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  12493. "type": "integer"
  12494. },
  12495. "closepricemode": {
  12496. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  12497. "type": "integer"
  12498. },
  12499. "closepriceparam": {
  12500. "description": "强平最新价浮动比例 - 方式为2时使用",
  12501. "type": "number"
  12502. },
  12503. "createtime": {
  12504. "description": "创建时间",
  12505. "type": "string"
  12506. },
  12507. "creatorid": {
  12508. "description": "创建人",
  12509. "type": "integer"
  12510. },
  12511. "currencyid": {
  12512. "description": "报价货币ID",
  12513. "type": "integer"
  12514. },
  12515. "decimalplace": {
  12516. "description": "报价小数位",
  12517. "type": "integer"
  12518. },
  12519. "exercisetype": {
  12520. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  12521. "type": "integer"
  12522. },
  12523. "exexchangeid": {
  12524. "description": "外部交易所ID[通道交易]",
  12525. "type": "integer"
  12526. },
  12527. "goodsgroupid": {
  12528. "description": "商品组ID(自增ID)",
  12529. "type": "integer"
  12530. },
  12531. "goodsgroupname": {
  12532. "description": "商品组名称",
  12533. "type": "string"
  12534. },
  12535. "goodsgroupstatus": {
  12536. "description": "商品组状态 - 1:正常 2:注销",
  12537. "type": "integer"
  12538. },
  12539. "goodunitid": {
  12540. "description": "报价单位ID",
  12541. "type": "integer"
  12542. },
  12543. "innerdealmode": {
  12544. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  12545. "type": "integer"
  12546. },
  12547. "isbuylimited": {
  12548. "description": "是否限制建仓量 - 0:不限制 1:限制",
  12549. "type": "integer"
  12550. },
  12551. "marketid": {
  12552. "description": "所属市场ID",
  12553. "type": "integer"
  12554. },
  12555. "modifierid": {
  12556. "description": "修改人",
  12557. "type": "integer"
  12558. },
  12559. "modifytime": {
  12560. "description": "修改时间",
  12561. "type": "string"
  12562. },
  12563. "outerdealmode": {
  12564. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  12565. "type": "integer"
  12566. },
  12567. "outergroupcode": {
  12568. "description": "外部商品组代码[通道交易]",
  12569. "type": "string"
  12570. },
  12571. "premiumdecimalplace": {
  12572. "description": "权利金小数位[场外期权]",
  12573. "type": "integer"
  12574. },
  12575. "premiumspreadalgorithm": {
  12576. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  12577. "type": "integer"
  12578. },
  12579. "premiumspreadvalue": {
  12580. "description": "权利金点差值[场外期权]",
  12581. "type": "number"
  12582. },
  12583. "qtydecimalplace": {
  12584. "description": "成交量小数位",
  12585. "type": "integer"
  12586. },
  12587. "quotegear": {
  12588. "description": "行情档位(1-10)",
  12589. "type": "integer"
  12590. },
  12591. "quoteminunit": {
  12592. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12593. "type": "integer"
  12594. },
  12595. "quoterid": {
  12596. "description": "报价商ID[场外期权]",
  12597. "type": "integer"
  12598. },
  12599. "quotesourcegroupid": {
  12600. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  12601. "type": "integer"
  12602. },
  12603. "syncgoodsqty": {
  12604. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  12605. "type": "integer"
  12606. }
  12607. }
  12608. },
  12609. "models.HsbyBuyMyPayOrder": {
  12610. "type": "object",
  12611. "required": [
  12612. "goodscode",
  12613. "goodsname",
  12614. "tradeid",
  12615. "trademode"
  12616. ],
  12617. "properties": {
  12618. "agreeunit": {
  12619. "description": "合约单位",
  12620. "type": "number"
  12621. },
  12622. "buyaccountid": {
  12623. "description": "买方账号ID[报价币种]",
  12624. "type": "integer"
  12625. },
  12626. "buyorderid": {
  12627. "description": "买方委托单号",
  12628. "type": "string"
  12629. },
  12630. "createtime": {
  12631. "description": "创建时间",
  12632. "type": "string"
  12633. },
  12634. "currencysign": {
  12635. "description": "货币符号",
  12636. "type": "string"
  12637. },
  12638. "decimalplace": {
  12639. "description": "报价小数位",
  12640. "type": "integer"
  12641. },
  12642. "goodscode": {
  12643. "description": "商品代码(内部)",
  12644. "type": "string"
  12645. },
  12646. "goodsid": {
  12647. "description": "商品ID",
  12648. "type": "integer"
  12649. },
  12650. "goodsname": {
  12651. "description": "商品名称",
  12652. "type": "string"
  12653. },
  12654. "marketid": {
  12655. "description": "市场ID",
  12656. "type": "integer"
  12657. },
  12658. "offamount": {
  12659. "description": "优惠金额",
  12660. "type": "number"
  12661. },
  12662. "payamount": {
  12663. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12664. "type": "number"
  12665. },
  12666. "payflag": {
  12667. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12668. "type": "integer"
  12669. },
  12670. "paylimitedtime": {
  12671. "description": "支付期限",
  12672. "type": "string"
  12673. },
  12674. "paytime": {
  12675. "description": "付款时间",
  12676. "type": "string"
  12677. },
  12678. "picurls1": {
  12679. "description": "预售商品介绍图片[多张用逗号分隔]",
  12680. "type": "string"
  12681. },
  12682. "picurls2": {
  12683. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12684. "type": "string"
  12685. },
  12686. "sellaccountid": {
  12687. "description": "卖方账号ID[报价币种]",
  12688. "type": "integer"
  12689. },
  12690. "sellorderid": {
  12691. "description": "卖方委托单号",
  12692. "type": "string"
  12693. },
  12694. "tradeamount": {
  12695. "description": "成交金额",
  12696. "type": "number"
  12697. },
  12698. "tradecharge": {
  12699. "description": "成交手续费(买方)",
  12700. "type": "number"
  12701. },
  12702. "tradedate": {
  12703. "description": "交易日(yyyyMMdd)",
  12704. "type": "string"
  12705. },
  12706. "tradeid": {
  12707. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12708. "type": "string"
  12709. },
  12710. "trademode": {
  12711. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12712. "type": "integer"
  12713. },
  12714. "tradeprice": {
  12715. "description": "成交价格",
  12716. "type": "number"
  12717. },
  12718. "tradeqty": {
  12719. "description": "成交数量",
  12720. "type": "integer"
  12721. },
  12722. "vendorname1": {
  12723. "description": "预售商品供应商名称",
  12724. "type": "string"
  12725. },
  12726. "vendorname2": {
  12727. "description": "挂牌商品供应商名称",
  12728. "type": "string"
  12729. }
  12730. }
  12731. },
  12732. "models.HsbyBuyMyTradeDetail": {
  12733. "type": "object",
  12734. "required": [
  12735. "accountid",
  12736. "buyorsell",
  12737. "goodscode",
  12738. "goodsid",
  12739. "goodsname",
  12740. "marketid",
  12741. "orderid",
  12742. "qty",
  12743. "time",
  12744. "trademode"
  12745. ],
  12746. "properties": {
  12747. "accountid": {
  12748. "description": "账户ID[报价币种]",
  12749. "type": "integer"
  12750. },
  12751. "agreeunit": {
  12752. "description": "合约单位",
  12753. "type": "number"
  12754. },
  12755. "amount": {
  12756. "description": "金额 = 价格 * 数量 * 合约单位",
  12757. "type": "number"
  12758. },
  12759. "buyorsell": {
  12760. "description": "买卖 - 0:买 1:卖",
  12761. "type": "integer"
  12762. },
  12763. "currencysign": {
  12764. "description": "货币符号",
  12765. "type": "string"
  12766. },
  12767. "decimalplace": {
  12768. "description": "报价小数位",
  12769. "type": "integer"
  12770. },
  12771. "goodscode": {
  12772. "description": "商品代码(内部)",
  12773. "type": "string"
  12774. },
  12775. "goodsid": {
  12776. "description": "商品ID",
  12777. "type": "integer"
  12778. },
  12779. "goodsname": {
  12780. "description": "商品名称",
  12781. "type": "string"
  12782. },
  12783. "marketid": {
  12784. "description": "市场ID",
  12785. "type": "integer"
  12786. },
  12787. "orderid": {
  12788. "description": "单号(成交单号)",
  12789. "type": "string"
  12790. },
  12791. "picurls1": {
  12792. "description": "预售商品介绍图片[多张用逗号分隔]",
  12793. "type": "string"
  12794. },
  12795. "picurls2": {
  12796. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12797. "type": "string"
  12798. },
  12799. "price": {
  12800. "description": "价格",
  12801. "type": "number"
  12802. },
  12803. "qty": {
  12804. "description": "数量",
  12805. "type": "integer"
  12806. },
  12807. "time": {
  12808. "description": "时间",
  12809. "type": "string"
  12810. },
  12811. "trademode": {
  12812. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12813. "type": "integer"
  12814. },
  12815. "vendorname1": {
  12816. "description": "预售商品供应商名称",
  12817. "type": "string"
  12818. },
  12819. "vendorname2": {
  12820. "description": "挂牌商品供应商名称",
  12821. "type": "string"
  12822. }
  12823. }
  12824. },
  12825. "models.HsbyGoodsOrderDetail": {
  12826. "type": "object",
  12827. "required": [
  12828. "buyorsell",
  12829. "orderid",
  12830. "ordertime"
  12831. ],
  12832. "properties": {
  12833. "buyorsell": {
  12834. "description": "买卖 - 0:买 1:卖",
  12835. "type": "integer"
  12836. },
  12837. "currencysign": {
  12838. "description": "货币符号",
  12839. "type": "string"
  12840. },
  12841. "customername": {
  12842. "description": "客户名称(企业名称),已脱敏",
  12843. "type": "string"
  12844. },
  12845. "enableqty": {
  12846. "description": "可用数量",
  12847. "type": "integer"
  12848. },
  12849. "goodunit": {
  12850. "description": "报价单位",
  12851. "type": "string"
  12852. },
  12853. "orderid": {
  12854. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12855. "type": "string"
  12856. },
  12857. "orderprice": {
  12858. "description": "委托价格",
  12859. "type": "number"
  12860. },
  12861. "ordertime": {
  12862. "description": "委托时间",
  12863. "type": "string"
  12864. }
  12865. }
  12866. },
  12867. "models.HsbyListingGoodsDetail": {
  12868. "type": "object",
  12869. "required": [
  12870. "goodscode",
  12871. "goodsid",
  12872. "goodsname",
  12873. "marketid",
  12874. "trademode"
  12875. ],
  12876. "properties": {
  12877. "agreeunit": {
  12878. "description": "合约单位",
  12879. "type": "number"
  12880. },
  12881. "buymaxqty": {
  12882. "description": "购买上限 [71] - 0为不限",
  12883. "type": "integer"
  12884. },
  12885. "currency": {
  12886. "description": "货币",
  12887. "type": "string"
  12888. },
  12889. "currencysign": {
  12890. "description": "货币符号",
  12891. "type": "string"
  12892. },
  12893. "decimalplace": {
  12894. "description": "报价小数位",
  12895. "type": "integer"
  12896. },
  12897. "desccityid": {
  12898. "description": "目的地(市)ID",
  12899. "type": "integer"
  12900. },
  12901. "descprovinceid": {
  12902. "description": "目的地(省)ID",
  12903. "type": "integer"
  12904. },
  12905. "goodscode": {
  12906. "description": "商品代码(内部)",
  12907. "type": "string"
  12908. },
  12909. "goodsdesc": {
  12910. "description": "商品详情",
  12911. "type": "string"
  12912. },
  12913. "goodsid": {
  12914. "description": "商品ID(自增ID SEQ_GOODS)",
  12915. "type": "integer"
  12916. },
  12917. "goodsname": {
  12918. "description": "商品名称",
  12919. "type": "string"
  12920. },
  12921. "goodsprice": {
  12922. "description": "商品价格",
  12923. "type": "number"
  12924. },
  12925. "hotindex": {
  12926. "description": "景点热度",
  12927. "type": "integer"
  12928. },
  12929. "last": {
  12930. "description": "现价",
  12931. "type": "number"
  12932. },
  12933. "limitdown": {
  12934. "description": "跌停价",
  12935. "type": "number"
  12936. },
  12937. "limitup": {
  12938. "description": "涨停价",
  12939. "type": "number"
  12940. },
  12941. "lotsize": {
  12942. "description": "手数最小变动单位",
  12943. "type": "integer"
  12944. },
  12945. "marketid": {
  12946. "description": "所属市场ID",
  12947. "type": "integer"
  12948. },
  12949. "picurls": {
  12950. "description": "介绍图片[多张用逗号分隔]",
  12951. "type": "string"
  12952. },
  12953. "quoteminunit": {
  12954. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12955. "type": "integer"
  12956. },
  12957. "stepvalue": {
  12958. "description": "价格最小变动单位",
  12959. "type": "number"
  12960. },
  12961. "trademode": {
  12962. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12963. "type": "integer"
  12964. },
  12965. "vendorattr": {
  12966. "description": "供应商附件(多张,逗号分隔)",
  12967. "type": "string"
  12968. },
  12969. "vendorname": {
  12970. "description": "供应商名称",
  12971. "type": "string"
  12972. },
  12973. "vendorphone": {
  12974. "description": "供应商客服电话",
  12975. "type": "string"
  12976. },
  12977. "videourls": {
  12978. "description": "介绍视频[多张用逗号分隔]",
  12979. "type": "string"
  12980. }
  12981. }
  12982. },
  12983. "models.HsbyMarketGoods": {
  12984. "type": "object",
  12985. "required": [
  12986. "accountid",
  12987. "buyorsell",
  12988. "goodscode",
  12989. "goodsid",
  12990. "goodsname",
  12991. "marketid",
  12992. "orderid",
  12993. "trademode"
  12994. ],
  12995. "properties": {
  12996. "accountid": {
  12997. "description": "账户ID[报价币种]",
  12998. "type": "integer"
  12999. },
  13000. "agreeunit": {
  13001. "description": "合约单位",
  13002. "type": "number"
  13003. },
  13004. "buyorsell": {
  13005. "description": "买卖 - 0:买 1:卖",
  13006. "type": "integer"
  13007. },
  13008. "categoryid": {
  13009. "description": "类别ID(WRCATEGORY)",
  13010. "type": "integer"
  13011. },
  13012. "currency": {
  13013. "description": "货币",
  13014. "type": "string"
  13015. },
  13016. "currencysign": {
  13017. "description": "货币符号",
  13018. "type": "string"
  13019. },
  13020. "customername": {
  13021. "description": "卖家名称",
  13022. "type": "string"
  13023. },
  13024. "decimalplace": {
  13025. "description": "报价小数位",
  13026. "type": "integer"
  13027. },
  13028. "goodscode": {
  13029. "description": "商品代码(内部)",
  13030. "type": "string"
  13031. },
  13032. "goodsid": {
  13033. "description": "商品ID",
  13034. "type": "integer"
  13035. },
  13036. "goodsname": {
  13037. "description": "商品名称",
  13038. "type": "string"
  13039. },
  13040. "goodsprice": {
  13041. "description": "商品价格",
  13042. "type": "number"
  13043. },
  13044. "hascoupon": {
  13045. "description": "是否可用优惠卷",
  13046. "type": "boolean"
  13047. },
  13048. "hotindex": {
  13049. "description": "景点热度",
  13050. "type": "integer"
  13051. },
  13052. "marketid": {
  13053. "description": "市场ID",
  13054. "type": "integer"
  13055. },
  13056. "orderid": {
  13057. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13058. "type": "string"
  13059. },
  13060. "orderprice": {
  13061. "description": "委托价格",
  13062. "type": "number"
  13063. },
  13064. "orderstatus": {
  13065. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13066. "type": "integer"
  13067. },
  13068. "picurls": {
  13069. "description": "介绍图片[多张用逗号分隔]",
  13070. "type": "string"
  13071. },
  13072. "quoteminunit": {
  13073. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13074. "type": "integer"
  13075. },
  13076. "sellUserID": {
  13077. "description": "卖方UserID",
  13078. "type": "integer"
  13079. },
  13080. "trademode": {
  13081. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13082. "type": "integer"
  13083. },
  13084. "videourls": {
  13085. "description": "介绍视频[多张用逗号分隔]",
  13086. "type": "string"
  13087. }
  13088. }
  13089. },
  13090. "models.HsbyMarketGoodsDetail": {
  13091. "type": "object",
  13092. "required": [
  13093. "accountid",
  13094. "buyorsell",
  13095. "goodscode",
  13096. "goodsid",
  13097. "goodsname",
  13098. "marketid",
  13099. "orderid",
  13100. "orderqty",
  13101. "trademode"
  13102. ],
  13103. "properties": {
  13104. "accountid": {
  13105. "description": "账户ID[报价币种]",
  13106. "type": "integer"
  13107. },
  13108. "agreeunit": {
  13109. "description": "合约单位",
  13110. "type": "number"
  13111. },
  13112. "buymaxqty": {
  13113. "description": "购买上限 [71] - 0为不限",
  13114. "type": "integer"
  13115. },
  13116. "buyorsell": {
  13117. "description": "买卖 - 0:买 1:卖",
  13118. "type": "integer"
  13119. },
  13120. "cancelqty": {
  13121. "description": "撤单数量",
  13122. "type": "integer"
  13123. },
  13124. "categoryid": {
  13125. "description": "类别ID(WRCATEGORY)",
  13126. "type": "integer"
  13127. },
  13128. "currency": {
  13129. "description": "货币",
  13130. "type": "string"
  13131. },
  13132. "currencysign": {
  13133. "description": "货币符号",
  13134. "type": "string"
  13135. },
  13136. "customername": {
  13137. "description": "卖家名称",
  13138. "type": "string"
  13139. },
  13140. "decimalplace": {
  13141. "description": "报价小数位",
  13142. "type": "integer"
  13143. },
  13144. "goodscode": {
  13145. "description": "商品代码(内部)",
  13146. "type": "string"
  13147. },
  13148. "goodsdesc": {
  13149. "description": "商品详情",
  13150. "type": "string"
  13151. },
  13152. "goodsid": {
  13153. "description": "商品ID",
  13154. "type": "integer"
  13155. },
  13156. "goodsname": {
  13157. "description": "商品名称",
  13158. "type": "string"
  13159. },
  13160. "goodsprice": {
  13161. "description": "商品价格",
  13162. "type": "number"
  13163. },
  13164. "hotindex": {
  13165. "description": "景点热度",
  13166. "type": "integer"
  13167. },
  13168. "lotsize": {
  13169. "description": "手数最小变动单位",
  13170. "type": "integer"
  13171. },
  13172. "marketid": {
  13173. "description": "市场ID",
  13174. "type": "integer"
  13175. },
  13176. "orderid": {
  13177. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13178. "type": "string"
  13179. },
  13180. "orderprice": {
  13181. "description": "委托价格",
  13182. "type": "number"
  13183. },
  13184. "orderqty": {
  13185. "description": "委托数量",
  13186. "type": "integer"
  13187. },
  13188. "orderstatus": {
  13189. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13190. "type": "integer"
  13191. },
  13192. "picurls": {
  13193. "description": "介绍图片[多张用逗号分隔]",
  13194. "type": "string"
  13195. },
  13196. "quoteminunit": {
  13197. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13198. "type": "integer"
  13199. },
  13200. "sellUserID": {
  13201. "description": "卖方UserID",
  13202. "type": "integer"
  13203. },
  13204. "trademode": {
  13205. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13206. "type": "integer"
  13207. },
  13208. "tradeqty": {
  13209. "description": "成交数量",
  13210. "type": "integer"
  13211. },
  13212. "vendorattr": {
  13213. "description": "供应商附件(多张,逗号分隔)",
  13214. "type": "string"
  13215. },
  13216. "vendorname": {
  13217. "description": "供应商名称",
  13218. "type": "string"
  13219. },
  13220. "vendorphone": {
  13221. "description": "供应商客服电话",
  13222. "type": "string"
  13223. },
  13224. "videourls": {
  13225. "description": "介绍视频[多张用逗号分隔]",
  13226. "type": "string"
  13227. }
  13228. }
  13229. },
  13230. "models.HsbyMarketInfo": {
  13231. "type": "object",
  13232. "required": [
  13233. "marketid",
  13234. "marketstatus",
  13235. "trademode"
  13236. ],
  13237. "properties": {
  13238. "marketid": {
  13239. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13240. "type": "integer"
  13241. },
  13242. "marketname": {
  13243. "description": "市场名称",
  13244. "type": "string"
  13245. },
  13246. "marketstatus": {
  13247. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13248. "type": "integer"
  13249. },
  13250. "trademode": {
  13251. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13252. "type": "integer"
  13253. }
  13254. }
  13255. },
  13256. "models.HsbyMyGoods": {
  13257. "type": "object",
  13258. "required": [
  13259. "accountid",
  13260. "goodscode",
  13261. "goodsid",
  13262. "goodsname",
  13263. "marketid",
  13264. "trademode"
  13265. ],
  13266. "properties": {
  13267. "accountid": {
  13268. "description": "账号Id",
  13269. "type": "integer"
  13270. },
  13271. "agreeunit": {
  13272. "description": "合约单位",
  13273. "type": "number"
  13274. },
  13275. "buyaverageprice": {
  13276. "description": "持仓均价",
  13277. "type": "number"
  13278. },
  13279. "buycurholderamount": {
  13280. "description": "买当前持仓总金额[商品币种]",
  13281. "type": "number"
  13282. },
  13283. "buycurpositionqty": {
  13284. "description": "买当前持仓总数量",
  13285. "type": "integer"
  13286. },
  13287. "buymaxqty": {
  13288. "description": "购买上限 [71] - 0为不限",
  13289. "type": "integer"
  13290. },
  13291. "currencysign": {
  13292. "description": "货币符号",
  13293. "type": "string"
  13294. },
  13295. "decimalplace": {
  13296. "description": "报价小数位",
  13297. "type": "integer"
  13298. },
  13299. "enableqty": {
  13300. "description": "可用数量",
  13301. "type": "integer"
  13302. },
  13303. "goodscode": {
  13304. "description": "商品代码(内部)",
  13305. "type": "string"
  13306. },
  13307. "goodsid": {
  13308. "description": "商品Id",
  13309. "type": "integer"
  13310. },
  13311. "goodsname": {
  13312. "description": "商品名称",
  13313. "type": "string"
  13314. },
  13315. "goodsprice": {
  13316. "description": "商品价格",
  13317. "type": "number"
  13318. },
  13319. "goodsstatus": {
  13320. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  13321. "type": "integer"
  13322. },
  13323. "last": {
  13324. "description": "现价(仅使用于挂牌点选)",
  13325. "type": "number"
  13326. },
  13327. "limitdown": {
  13328. "description": "跌停价(仅使用于挂牌点选)",
  13329. "type": "number"
  13330. },
  13331. "limitup": {
  13332. "description": "涨停价(仅使用于挂牌点选)",
  13333. "type": "number"
  13334. },
  13335. "lotsize": {
  13336. "description": "手数最小变动单位",
  13337. "type": "integer"
  13338. },
  13339. "marketid": {
  13340. "description": "所属市场ID",
  13341. "type": "integer"
  13342. },
  13343. "picurls": {
  13344. "description": "介绍图片[多张用逗号分隔]",
  13345. "type": "string"
  13346. },
  13347. "quoteminunit": {
  13348. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13349. "type": "integer"
  13350. },
  13351. "stepvalue": {
  13352. "description": "价格最小变动单位",
  13353. "type": "number"
  13354. },
  13355. "trademode": {
  13356. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13357. "type": "integer"
  13358. }
  13359. }
  13360. },
  13361. "models.HsbyMyPackage": {
  13362. "type": "object",
  13363. "required": [
  13364. "goodscode",
  13365. "goodsname",
  13366. "takeorderid",
  13367. "trademode"
  13368. ],
  13369. "properties": {
  13370. "accountid": {
  13371. "description": "账户ID",
  13372. "type": "integer"
  13373. },
  13374. "address": {
  13375. "description": "提货人详细地址",
  13376. "type": "string"
  13377. },
  13378. "agreeunit": {
  13379. "description": "合约单位",
  13380. "type": "number"
  13381. },
  13382. "amount": {
  13383. "description": "提货金额",
  13384. "type": "number"
  13385. },
  13386. "auditer": {
  13387. "description": "审核人",
  13388. "type": "integer"
  13389. },
  13390. "audittime": {
  13391. "description": "审核时间",
  13392. "type": "string"
  13393. },
  13394. "averageprice": {
  13395. "description": "均价",
  13396. "type": "number"
  13397. },
  13398. "cardnum": {
  13399. "description": "提货人证件号码",
  13400. "type": "string"
  13401. },
  13402. "cardtypeid": {
  13403. "description": "提货人证件类型",
  13404. "type": "integer"
  13405. },
  13406. "checkremark": {
  13407. "description": "审核备注",
  13408. "type": "string"
  13409. },
  13410. "currencysign": {
  13411. "description": "货币符号",
  13412. "type": "string"
  13413. },
  13414. "decimalplace": {
  13415. "description": "报价小数位",
  13416. "type": "integer"
  13417. },
  13418. "goodscode": {
  13419. "description": "商品代码(内部)",
  13420. "type": "string"
  13421. },
  13422. "goodsid": {
  13423. "description": "商品ID",
  13424. "type": "integer"
  13425. },
  13426. "goodsname": {
  13427. "description": "商品名称",
  13428. "type": "string"
  13429. },
  13430. "handlestatus": {
  13431. "description": "处理状态",
  13432. "type": "integer"
  13433. },
  13434. "marketid": {
  13435. "description": "市场ID",
  13436. "type": "integer"
  13437. },
  13438. "phonenum": {
  13439. "description": "提货人联系方式",
  13440. "type": "string"
  13441. },
  13442. "picurls": {
  13443. "description": "介绍图片[多张用逗号分隔]",
  13444. "type": "string"
  13445. },
  13446. "qty": {
  13447. "description": "提货数量",
  13448. "type": "number"
  13449. },
  13450. "recivername": {
  13451. "description": "提货人姓名",
  13452. "type": "string"
  13453. },
  13454. "reqtime": {
  13455. "description": "更新时间",
  13456. "type": "string"
  13457. },
  13458. "takemode": {
  13459. "description": "提货方式 - 2:自提 3:配送",
  13460. "type": "integer"
  13461. },
  13462. "takeorderid": {
  13463. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  13464. "type": "string"
  13465. },
  13466. "takeorderstatus": {
  13467. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13468. "type": "integer"
  13469. },
  13470. "takeremark": {
  13471. "description": "提货备注",
  13472. "type": "string"
  13473. },
  13474. "tradedate": {
  13475. "description": "交易日(yyyyMMdd)",
  13476. "type": "string"
  13477. },
  13478. "trademode": {
  13479. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13480. "type": "integer"
  13481. },
  13482. "userid": {
  13483. "description": "用户ID",
  13484. "type": "integer"
  13485. },
  13486. "vendorname": {
  13487. "description": "供应商名称",
  13488. "type": "string"
  13489. }
  13490. }
  13491. },
  13492. "models.HsbyPreGoods": {
  13493. "type": "object",
  13494. "required": [
  13495. "goodscode",
  13496. "goodsid",
  13497. "goodsname",
  13498. "marketid",
  13499. "trademode"
  13500. ],
  13501. "properties": {
  13502. "agreeunit": {
  13503. "description": "合约单位",
  13504. "type": "number"
  13505. },
  13506. "currency": {
  13507. "description": "货币",
  13508. "type": "string"
  13509. },
  13510. "currencysign": {
  13511. "description": "货币符号",
  13512. "type": "string"
  13513. },
  13514. "decimalplace": {
  13515. "description": "报价小数位",
  13516. "type": "integer"
  13517. },
  13518. "desccityid": {
  13519. "description": "目的地(市)",
  13520. "type": "integer"
  13521. },
  13522. "descprovinceid": {
  13523. "description": "目的地(省)",
  13524. "type": "integer"
  13525. },
  13526. "enableqty": {
  13527. "description": "剩余数量",
  13528. "type": "integer"
  13529. },
  13530. "goodscode": {
  13531. "description": "商品代码(内部)",
  13532. "type": "string"
  13533. },
  13534. "goodsid": {
  13535. "description": "商品ID(自增ID SEQ_GOODS)",
  13536. "type": "integer"
  13537. },
  13538. "goodsname": {
  13539. "description": "商品名称",
  13540. "type": "string"
  13541. },
  13542. "goodsstatus": {
  13543. "description": "商品状态- 2:未上市 3:上市",
  13544. "type": "integer"
  13545. },
  13546. "lasttradedate": {
  13547. "description": "最后交易日期(状态:待退市)",
  13548. "type": "string"
  13549. },
  13550. "listingdate": {
  13551. "description": "交易开始日期",
  13552. "type": "string"
  13553. },
  13554. "marketid": {
  13555. "description": "所属市场ID",
  13556. "type": "integer"
  13557. },
  13558. "picurls": {
  13559. "description": "介绍图片[多张用逗号分隔]",
  13560. "type": "string"
  13561. },
  13562. "presaledqty": {
  13563. "description": "已预售量(预售结束时更新)",
  13564. "type": "integer"
  13565. },
  13566. "presaleqty": {
  13567. "description": "预售数量",
  13568. "type": "integer"
  13569. },
  13570. "quoteminunit": {
  13571. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13572. "type": "integer"
  13573. },
  13574. "refprice": {
  13575. "description": "参考价格[一口价]",
  13576. "type": "number"
  13577. },
  13578. "relatedgoodsid": {
  13579. "description": "关联交易合约ID",
  13580. "type": "integer"
  13581. },
  13582. "trademode": {
  13583. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13584. "type": "integer"
  13585. },
  13586. "videourls": {
  13587. "description": "介绍视频[多张用逗号分隔]",
  13588. "type": "string"
  13589. }
  13590. }
  13591. },
  13592. "models.HsbyPreGoodsDetail": {
  13593. "type": "object",
  13594. "required": [
  13595. "goodscode",
  13596. "goodsid",
  13597. "goodsname",
  13598. "marketid",
  13599. "trademode"
  13600. ],
  13601. "properties": {
  13602. "agreeunit": {
  13603. "description": "合约单位",
  13604. "type": "number"
  13605. },
  13606. "buymaxqty": {
  13607. "description": "购买上限 [71] - 0为不限",
  13608. "type": "integer"
  13609. },
  13610. "currency": {
  13611. "description": "货币",
  13612. "type": "string"
  13613. },
  13614. "currencysign": {
  13615. "description": "货币符号",
  13616. "type": "string"
  13617. },
  13618. "customername": {
  13619. "description": "发行单位",
  13620. "type": "string"
  13621. },
  13622. "decimalplace": {
  13623. "description": "报价小数位",
  13624. "type": "integer"
  13625. },
  13626. "desccityid": {
  13627. "description": "目的地(市)ID",
  13628. "type": "integer"
  13629. },
  13630. "descprovinceid": {
  13631. "description": "目的地(省)ID",
  13632. "type": "integer"
  13633. },
  13634. "enableqty": {
  13635. "description": "剩余数量",
  13636. "type": "integer"
  13637. },
  13638. "goodscode": {
  13639. "description": "商品代码(内部)",
  13640. "type": "string"
  13641. },
  13642. "goodsdesc": {
  13643. "description": "商品详情",
  13644. "type": "string"
  13645. },
  13646. "goodsid": {
  13647. "description": "商品ID(自增ID SEQ_GOODS)",
  13648. "type": "integer"
  13649. },
  13650. "goodsname": {
  13651. "description": "商品名称",
  13652. "type": "string"
  13653. },
  13654. "goodsstatus": {
  13655. "description": "商品状态- 2:未上市 3:上市",
  13656. "type": "integer"
  13657. },
  13658. "goodunit": {
  13659. "description": "报价单位",
  13660. "type": "string"
  13661. },
  13662. "lasttradedate": {
  13663. "description": "最后交易日期(状态:待退市)",
  13664. "type": "string"
  13665. },
  13666. "listingdate": {
  13667. "description": "交易开始日期",
  13668. "type": "string"
  13669. },
  13670. "lotsize": {
  13671. "description": "手数最小变动单位",
  13672. "type": "integer"
  13673. },
  13674. "marketid": {
  13675. "description": "所属市场ID",
  13676. "type": "integer"
  13677. },
  13678. "picurls": {
  13679. "description": "介绍图片[多张用逗号分隔]",
  13680. "type": "string"
  13681. },
  13682. "presaledqty": {
  13683. "description": "已预售量(预售结束时更新)",
  13684. "type": "integer"
  13685. },
  13686. "presaleqty": {
  13687. "description": "预售数量",
  13688. "type": "integer"
  13689. },
  13690. "quoteminunit": {
  13691. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13692. "type": "integer"
  13693. },
  13694. "refprice": {
  13695. "description": "参考价格[一口价]",
  13696. "type": "number"
  13697. },
  13698. "relatedgoodsid": {
  13699. "description": "关联交易合约ID",
  13700. "type": "integer"
  13701. },
  13702. "stepvalue": {
  13703. "description": "价格最小变动单位",
  13704. "type": "number"
  13705. },
  13706. "trademode": {
  13707. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13708. "type": "integer"
  13709. },
  13710. "vendorattr": {
  13711. "description": "供应商附件(多张,逗号分隔)",
  13712. "type": "string"
  13713. },
  13714. "vendorname": {
  13715. "description": "供应商名称",
  13716. "type": "string"
  13717. },
  13718. "vendorphone": {
  13719. "description": "供应商客服电话",
  13720. "type": "string"
  13721. },
  13722. "videourls": {
  13723. "description": "介绍视频[多张用逗号分隔]",
  13724. "type": "string"
  13725. }
  13726. }
  13727. },
  13728. "models.HsbySellCollectionOrder": {
  13729. "type": "object",
  13730. "required": [
  13731. "goodscode",
  13732. "goodsname",
  13733. "tradeid",
  13734. "trademode"
  13735. ],
  13736. "properties": {
  13737. "agreeunit": {
  13738. "description": "合约单位",
  13739. "type": "number"
  13740. },
  13741. "buyaccountid": {
  13742. "description": "买方账号ID[报价币种]",
  13743. "type": "integer"
  13744. },
  13745. "buyorderid": {
  13746. "description": "买方委托单号",
  13747. "type": "string"
  13748. },
  13749. "createtime": {
  13750. "description": "创建时间",
  13751. "type": "string"
  13752. },
  13753. "currencysign": {
  13754. "description": "货币符号",
  13755. "type": "string"
  13756. },
  13757. "decimalplace": {
  13758. "description": "报价小数位",
  13759. "type": "integer"
  13760. },
  13761. "goodscode": {
  13762. "description": "商品代码(内部)",
  13763. "type": "string"
  13764. },
  13765. "goodsid": {
  13766. "description": "商品ID",
  13767. "type": "integer"
  13768. },
  13769. "goodsname": {
  13770. "description": "商品名称",
  13771. "type": "string"
  13772. },
  13773. "marketid": {
  13774. "description": "市场ID",
  13775. "type": "integer"
  13776. },
  13777. "offamount": {
  13778. "description": "优惠金额",
  13779. "type": "number"
  13780. },
  13781. "payamount": {
  13782. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13783. "type": "number"
  13784. },
  13785. "payflag": {
  13786. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13787. "type": "integer"
  13788. },
  13789. "paylimitedtime": {
  13790. "description": "支付期限",
  13791. "type": "string"
  13792. },
  13793. "paytime": {
  13794. "description": "付款时间",
  13795. "type": "string"
  13796. },
  13797. "picurls": {
  13798. "description": "商品介绍图片[多张用逗号分隔]",
  13799. "type": "string"
  13800. },
  13801. "sellaccountid": {
  13802. "description": "卖方账号ID[报价币种]",
  13803. "type": "integer"
  13804. },
  13805. "sellorderid": {
  13806. "description": "卖方委托单号",
  13807. "type": "string"
  13808. },
  13809. "tradeamount": {
  13810. "description": "成交金额",
  13811. "type": "number"
  13812. },
  13813. "tradecharge": {
  13814. "description": "成交手续费(买方)",
  13815. "type": "number"
  13816. },
  13817. "tradedate": {
  13818. "description": "交易日(yyyyMMdd)",
  13819. "type": "string"
  13820. },
  13821. "tradeid": {
  13822. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13823. "type": "string"
  13824. },
  13825. "trademode": {
  13826. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13827. "type": "integer"
  13828. },
  13829. "tradeprice": {
  13830. "description": "成交价格",
  13831. "type": "number"
  13832. },
  13833. "tradeqty": {
  13834. "description": "成交数量",
  13835. "type": "integer"
  13836. }
  13837. }
  13838. },
  13839. "models.HsbySellMyDetail": {
  13840. "type": "object",
  13841. "required": [
  13842. "accountid",
  13843. "buyorsell",
  13844. "goodscode",
  13845. "goodsid",
  13846. "goodsname",
  13847. "marketid",
  13848. "orderid",
  13849. "time",
  13850. "trademode"
  13851. ],
  13852. "properties": {
  13853. "accountid": {
  13854. "description": "账户ID[报价币种]",
  13855. "type": "integer"
  13856. },
  13857. "agreeunit": {
  13858. "description": "合约单位",
  13859. "type": "number"
  13860. },
  13861. "buyorsell": {
  13862. "description": "买卖 - 0:买 1:卖",
  13863. "type": "integer"
  13864. },
  13865. "currencysign": {
  13866. "description": "货币符号",
  13867. "type": "string"
  13868. },
  13869. "decimalplace": {
  13870. "description": "报价小数位",
  13871. "type": "integer"
  13872. },
  13873. "goodscode": {
  13874. "description": "商品代码(内部)",
  13875. "type": "string"
  13876. },
  13877. "goodsid": {
  13878. "description": "商品ID",
  13879. "type": "integer"
  13880. },
  13881. "goodsname": {
  13882. "description": "商品名称",
  13883. "type": "string"
  13884. },
  13885. "marketid": {
  13886. "description": "市场ID",
  13887. "type": "integer"
  13888. },
  13889. "orderid": {
  13890. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13891. "type": "string"
  13892. },
  13893. "ordertype": {
  13894. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13895. "type": "integer"
  13896. },
  13897. "picurls": {
  13898. "description": "介绍图片[多张用逗号分隔]",
  13899. "type": "string"
  13900. },
  13901. "price": {
  13902. "description": "价格",
  13903. "type": "number"
  13904. },
  13905. "qty": {
  13906. "description": "数量",
  13907. "type": "integer"
  13908. },
  13909. "time": {
  13910. "description": "时间",
  13911. "type": "string"
  13912. },
  13913. "trademode": {
  13914. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13915. "type": "integer"
  13916. },
  13917. "vendorname": {
  13918. "description": "供应商名称",
  13919. "type": "string"
  13920. }
  13921. }
  13922. },
  13923. "models.HsbyTopGoods": {
  13924. "type": "object",
  13925. "required": [
  13926. "goodscode",
  13927. "goodsid",
  13928. "goodsname",
  13929. "marketid",
  13930. "trademode"
  13931. ],
  13932. "properties": {
  13933. "agreeunit": {
  13934. "description": "合约单位",
  13935. "type": "number"
  13936. },
  13937. "currency": {
  13938. "description": "货币",
  13939. "type": "string"
  13940. },
  13941. "currencysign": {
  13942. "description": "货币符号",
  13943. "type": "string"
  13944. },
  13945. "decimalplace": {
  13946. "description": "报价小数位",
  13947. "type": "integer"
  13948. },
  13949. "desccityid": {
  13950. "description": "目的地(市)",
  13951. "type": "integer"
  13952. },
  13953. "descprovinceid": {
  13954. "description": "目的地(省)",
  13955. "type": "integer"
  13956. },
  13957. "goodscode": {
  13958. "description": "商品代码(内部)",
  13959. "type": "string"
  13960. },
  13961. "goodsid": {
  13962. "description": "商品ID(自增ID SEQ_GOODS)",
  13963. "type": "integer"
  13964. },
  13965. "goodsname": {
  13966. "description": "商品名称",
  13967. "type": "string"
  13968. },
  13969. "hotindex": {
  13970. "description": "景点热度",
  13971. "type": "integer"
  13972. },
  13973. "last": {
  13974. "description": "现价",
  13975. "type": "number"
  13976. },
  13977. "marketid": {
  13978. "description": "所属市场ID",
  13979. "type": "integer"
  13980. },
  13981. "picurls": {
  13982. "description": "介绍图片[多张用逗号分隔]",
  13983. "type": "string"
  13984. },
  13985. "quoteminunit": {
  13986. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13987. "type": "integer"
  13988. },
  13989. "trademode": {
  13990. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13991. "type": "integer"
  13992. },
  13993. "videourls": {
  13994. "description": "介绍视频[多张用逗号分隔]",
  13995. "type": "string"
  13996. }
  13997. }
  13998. },
  13999. "models.HybsMyBuyOrderDetail": {
  14000. "type": "object",
  14001. "required": [
  14002. "accountid",
  14003. "buyorsell",
  14004. "goodscode",
  14005. "goodsid",
  14006. "goodsname",
  14007. "marketid",
  14008. "orderid",
  14009. "orderqty",
  14010. "ordertime",
  14011. "trademode"
  14012. ],
  14013. "properties": {
  14014. "accountid": {
  14015. "description": "账户ID[报价币种]",
  14016. "type": "integer"
  14017. },
  14018. "agreeunit": {
  14019. "description": "合约单位",
  14020. "type": "number"
  14021. },
  14022. "buyorsell": {
  14023. "description": "买卖 - 0:买 1:卖",
  14024. "type": "integer"
  14025. },
  14026. "cancelqty": {
  14027. "description": "撤单数量",
  14028. "type": "integer"
  14029. },
  14030. "currencysign": {
  14031. "description": "货币符号",
  14032. "type": "string"
  14033. },
  14034. "decimalplace": {
  14035. "description": "报价小数位",
  14036. "type": "integer"
  14037. },
  14038. "goodscode": {
  14039. "description": "商品代码(内部)",
  14040. "type": "string"
  14041. },
  14042. "goodsid": {
  14043. "description": "商品ID",
  14044. "type": "integer"
  14045. },
  14046. "goodsname": {
  14047. "description": "商品名称",
  14048. "type": "string"
  14049. },
  14050. "listingselecttype": {
  14051. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  14052. "type": "integer"
  14053. },
  14054. "marketid": {
  14055. "description": "市场ID",
  14056. "type": "integer"
  14057. },
  14058. "mybuystatus": {
  14059. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  14060. "type": "integer"
  14061. },
  14062. "orderamount": {
  14063. "description": "委托金额",
  14064. "type": "number"
  14065. },
  14066. "orderid": {
  14067. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14068. "type": "string"
  14069. },
  14070. "orderprice": {
  14071. "description": "委托价格",
  14072. "type": "number"
  14073. },
  14074. "orderqty": {
  14075. "description": "委托数量",
  14076. "type": "integer"
  14077. },
  14078. "orderstatus": {
  14079. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  14080. "type": "integer"
  14081. },
  14082. "ordertime": {
  14083. "description": "委托时间",
  14084. "type": "string"
  14085. },
  14086. "picurls1": {
  14087. "description": "预售商品介绍图片[多张用逗号分隔]",
  14088. "type": "string"
  14089. },
  14090. "picurls2": {
  14091. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  14092. "type": "string"
  14093. },
  14094. "trademode": {
  14095. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14096. "type": "integer"
  14097. },
  14098. "tradeqty": {
  14099. "description": "成交数量",
  14100. "type": "integer"
  14101. },
  14102. "vendorname1": {
  14103. "description": "预售商品供应商名称",
  14104. "type": "string"
  14105. },
  14106. "vendorname2": {
  14107. "description": "挂牌商品供应商名称",
  14108. "type": "string"
  14109. }
  14110. }
  14111. },
  14112. "models.Loginaccount": {
  14113. "type": "object",
  14114. "required": [
  14115. "loginid"
  14116. ],
  14117. "properties": {
  14118. "canoutin": {
  14119. "description": "是否可出入金 - 0:不可 1:可",
  14120. "type": "integer"
  14121. },
  14122. "clientroleid": {
  14123. "description": "终端角色ID",
  14124. "type": "integer"
  14125. },
  14126. "haslogined": {
  14127. "description": "是否已登录 - 0:未登录 1:已登录",
  14128. "type": "integer"
  14129. },
  14130. "hasupdatedpwd": {
  14131. "description": "是否已更改密码 - 0:未修改 1:已修改",
  14132. "type": "integer"
  14133. },
  14134. "lastloginip": {
  14135. "description": "最新登录地址",
  14136. "type": "string"
  14137. },
  14138. "lastloginmode": {
  14139. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  14140. "type": "integer"
  14141. },
  14142. "lastloginremark": {
  14143. "description": "最新登录描述",
  14144. "type": "string"
  14145. },
  14146. "lastlogintime": {
  14147. "description": "最新登录时间",
  14148. "type": "string"
  14149. },
  14150. "logincode": {
  14151. "description": "登录代码",
  14152. "type": "string"
  14153. },
  14154. "loginfailnum": {
  14155. "description": "连续登录失败次数(登录成功时清零)",
  14156. "type": "integer"
  14157. },
  14158. "loginid": {
  14159. "description": "登陆账号",
  14160. "type": "integer"
  14161. },
  14162. "loginport": {
  14163. "description": "最新登录端口",
  14164. "type": "integer"
  14165. },
  14166. "loginstatus": {
  14167. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  14168. "type": "integer"
  14169. },
  14170. "loginusertype": {
  14171. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  14172. "type": "integer"
  14173. },
  14174. "modifierid": {
  14175. "description": "修改人",
  14176. "type": "integer"
  14177. },
  14178. "modifytime": {
  14179. "description": "修改时间",
  14180. "type": "string"
  14181. },
  14182. "password": {
  14183. "description": "登陆密码",
  14184. "type": "string"
  14185. },
  14186. "pwdwrongcount": {
  14187. "description": "密码错误次数",
  14188. "type": "integer"
  14189. },
  14190. "taaccountrighttype": {
  14191. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  14192. "type": "integer"
  14193. },
  14194. "unfreezetime": {
  14195. "description": "账户解冻时间",
  14196. "type": "string"
  14197. },
  14198. "userid": {
  14199. "description": "用户ID",
  14200. "type": "integer"
  14201. }
  14202. }
  14203. },
  14204. "models.Market": {
  14205. "type": "object",
  14206. "required": [
  14207. "marketid",
  14208. "marketstatus",
  14209. "openmethod",
  14210. "reckonpricealgorithm",
  14211. "trademode",
  14212. "tradeproperty"
  14213. ],
  14214. "properties": {
  14215. "auctionwrtype": {
  14216. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  14217. "type": "integer"
  14218. },
  14219. "canacceptquote": {
  14220. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  14221. "type": "integer"
  14222. },
  14223. "cangoodsexercise": {
  14224. "description": "[期权]是否可现货行权- 0:否 1:是",
  14225. "type": "integer"
  14226. },
  14227. "cangoodsexercisetype": {
  14228. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  14229. "type": "integer"
  14230. },
  14231. "canmanualquotestrike": {
  14232. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  14233. "type": "integer"
  14234. },
  14235. "canmutistage": {
  14236. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  14237. "type": "integer"
  14238. },
  14239. "canpreexercise": {
  14240. "description": "[期权]是否可预申报- 0:否 1:是",
  14241. "type": "integer"
  14242. },
  14243. "clearinterval": {
  14244. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  14245. "type": "integer"
  14246. },
  14247. "contracttmp": {
  14248. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  14249. "type": "string"
  14250. },
  14251. "exchareaid": {
  14252. "description": "所属交易所,可以没有",
  14253. "type": "integer"
  14254. },
  14255. "goodstype": {
  14256. "description": "商品类型 - 1:交易商品 2:仓单商品",
  14257. "type": "integer"
  14258. },
  14259. "hasrebate": {
  14260. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  14261. "type": "integer"
  14262. },
  14263. "hastradecredit": {
  14264. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  14265. "type": "integer"
  14266. },
  14267. "haswr": {
  14268. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  14269. "type": "integer"
  14270. },
  14271. "isdeductmargin": {
  14272. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  14273. "type": "integer"
  14274. },
  14275. "isrecordsource": {
  14276. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  14277. "type": "integer"
  14278. },
  14279. "isreleasemargin": {
  14280. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  14281. "type": "integer"
  14282. },
  14283. "marginformula": {
  14284. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14285. "type": "integer"
  14286. },
  14287. "marginformula2": {
  14288. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  14289. "type": "integer"
  14290. },
  14291. "marketid": {
  14292. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  14293. "type": "integer"
  14294. },
  14295. "marketname": {
  14296. "description": "市场名称",
  14297. "type": "string"
  14298. },
  14299. "marketserviceid": {
  14300. "description": "市场服务ID",
  14301. "type": "integer"
  14302. },
  14303. "marketstatus": {
  14304. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  14305. "type": "integer"
  14306. },
  14307. "markettype": {
  14308. "description": "市场类型- 1:非交易服务 2:交易服务",
  14309. "type": "integer"
  14310. },
  14311. "matchermode": {
  14312. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  14313. "type": "integer"
  14314. },
  14315. "openmethod": {
  14316. "description": "开盘模式 - 0 自动 1手动",
  14317. "type": "integer"
  14318. },
  14319. "otcuserid": {
  14320. "description": "场外期权做市商[场外期权]",
  14321. "type": "integer"
  14322. },
  14323. "outersynctime": {
  14324. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  14325. "type": "string"
  14326. },
  14327. "pendingflag": {
  14328. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  14329. "type": "integer"
  14330. },
  14331. "pendingtime": {
  14332. "description": "待开市时间[通道交易-对冲](HH:mm)",
  14333. "type": "string"
  14334. },
  14335. "performancetempid": {
  14336. "description": "履约计划模板ID - 作废",
  14337. "type": "integer"
  14338. },
  14339. "premiumquotemode": {
  14340. "description": "权利金报价方式 - 1:自动 2:手动",
  14341. "type": "integer"
  14342. },
  14343. "rebateratio": {
  14344. "description": "返利比率[竞价式]",
  14345. "type": "number"
  14346. },
  14347. "reckonorder": {
  14348. "description": "结算顺序",
  14349. "type": "integer"
  14350. },
  14351. "reckonpricealgorithm": {
  14352. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  14353. "type": "integer"
  14354. },
  14355. "reckonpriceparam": {
  14356. "description": "结算价参数",
  14357. "type": "integer"
  14358. },
  14359. "reckontime": {
  14360. "description": "结算时间[通道交易-对冲](HH:mm)",
  14361. "type": "string"
  14362. },
  14363. "roleprioritytype": {
  14364. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  14365. "type": "integer"
  14366. },
  14367. "selllistingauditflag": {
  14368. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  14369. "type": "integer"
  14370. },
  14371. "trademarkettype": {
  14372. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  14373. "type": "integer"
  14374. },
  14375. "trademode": {
  14376. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14377. "type": "integer"
  14378. },
  14379. "tradeproperty": {
  14380. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  14381. "type": "integer"
  14382. },
  14383. "tradetype": {
  14384. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  14385. "type": "integer"
  14386. }
  14387. }
  14388. },
  14389. "models.Marketrun": {
  14390. "type": "object",
  14391. "required": [
  14392. "marketid",
  14393. "nexttradedate",
  14394. "reckonflag",
  14395. "runstatus",
  14396. "tradedate",
  14397. "tradedate2"
  14398. ],
  14399. "properties": {
  14400. "afternexttradedate": {
  14401. "description": "下下交易日",
  14402. "type": "string"
  14403. },
  14404. "clearquoteflag": {
  14405. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  14406. "type": "integer"
  14407. },
  14408. "lastreckondate": {
  14409. "description": "最新交易日(结算成功)",
  14410. "type": "string"
  14411. },
  14412. "machinedate": {
  14413. "description": "机器时间",
  14414. "type": "string"
  14415. },
  14416. "manualflag": {
  14417. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  14418. "type": "integer"
  14419. },
  14420. "marketid": {
  14421. "description": "市场ID",
  14422. "type": "integer"
  14423. },
  14424. "nexttradedate": {
  14425. "description": "下一交易日",
  14426. "type": "string"
  14427. },
  14428. "pretradedate": {
  14429. "description": "上一交易日",
  14430. "type": "string"
  14431. },
  14432. "reckonflag": {
  14433. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  14434. "type": "integer"
  14435. },
  14436. "runstatus": {
  14437. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  14438. "type": "integer"
  14439. },
  14440. "sectionid": {
  14441. "description": "时间段号[多时段时用]",
  14442. "type": "integer"
  14443. },
  14444. "tradedate": {
  14445. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  14446. "type": "string"
  14447. },
  14448. "tradedate2": {
  14449. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  14450. "type": "string"
  14451. },
  14452. "updatetime": {
  14453. "description": "更新时间",
  14454. "type": "string"
  14455. }
  14456. }
  14457. },
  14458. "models.Messageboard": {
  14459. "type": "object",
  14460. "required": [
  14461. "messageboardid"
  14462. ],
  14463. "properties": {
  14464. "contactnum": {
  14465. "description": "联系电话",
  14466. "type": "string"
  14467. },
  14468. "createtime": {
  14469. "description": "创建时间",
  14470. "type": "string"
  14471. },
  14472. "message": {
  14473. "description": "留言信息",
  14474. "type": "string"
  14475. },
  14476. "messageboardid": {
  14477. "description": "留言簿ID(SEQ_MessageBoard)",
  14478. "type": "integer"
  14479. },
  14480. "userid": {
  14481. "description": "用户ID",
  14482. "type": "integer"
  14483. }
  14484. }
  14485. },
  14486. "models.MyCoupon": {
  14487. "type": "object",
  14488. "required": [
  14489. "accountid",
  14490. "coupontypeid"
  14491. ],
  14492. "properties": {
  14493. "accountid": {
  14494. "description": "资金账户ID",
  14495. "type": "integer"
  14496. },
  14497. "areauserid": {
  14498. "description": "所属机构",
  14499. "type": "integer"
  14500. },
  14501. "conditionvalue": {
  14502. "description": "条件阈值(可为0)",
  14503. "type": "number"
  14504. },
  14505. "couponcategroy": {
  14506. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  14507. "type": "integer"
  14508. },
  14509. "couponname": {
  14510. "description": "优惠券名称",
  14511. "type": "string"
  14512. },
  14513. "coupontypeid": {
  14514. "description": "优惠券类型ID",
  14515. "type": "string"
  14516. },
  14517. "couponvalue": {
  14518. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14519. "type": "number"
  14520. },
  14521. "curfreezeqty": {
  14522. "description": "期末冻结数量",
  14523. "type": "integer"
  14524. },
  14525. "curqty": {
  14526. "description": "期末数量",
  14527. "type": "integer"
  14528. },
  14529. "isgeneral": {
  14530. "description": "是否通用券 - 0:否 1:是",
  14531. "type": "integer"
  14532. },
  14533. "isunusable": {
  14534. "description": "是否不可用",
  14535. "type": "boolean"
  14536. },
  14537. "limitedflag": {
  14538. "description": "是否指定商品 - 0:不限 1:限制",
  14539. "type": "integer"
  14540. },
  14541. "limitedgoodsids": {
  14542. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  14543. "type": "string"
  14544. },
  14545. "orifreezeqty": {
  14546. "description": "期初冻结数量",
  14547. "type": "integer"
  14548. },
  14549. "oriqty": {
  14550. "description": "期初数量",
  14551. "type": "integer"
  14552. },
  14553. "reasontype": {
  14554. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  14555. "type": "integer"
  14556. },
  14557. "todaydecrease": {
  14558. "description": "今日减少",
  14559. "type": "integer"
  14560. },
  14561. "todayincrease": {
  14562. "description": "今日增加",
  14563. "type": "integer"
  14564. },
  14565. "userid": {
  14566. "description": "用户ID",
  14567. "type": "integer"
  14568. },
  14569. "userscope": {
  14570. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  14571. "type": "string"
  14572. }
  14573. }
  14574. },
  14575. "models.MyCouponHold": {
  14576. "type": "object",
  14577. "required": [
  14578. "couponholdid"
  14579. ],
  14580. "properties": {
  14581. "accountid": {
  14582. "description": "资金账户ID",
  14583. "type": "integer"
  14584. },
  14585. "conditionvalue": {
  14586. "description": "条件阈值(可为0)",
  14587. "type": "number"
  14588. },
  14589. "couponcategroy": {
  14590. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  14591. "type": "integer"
  14592. },
  14593. "couponholdid": {
  14594. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  14595. "type": "string"
  14596. },
  14597. "couponname": {
  14598. "description": "优惠券名称",
  14599. "type": "string"
  14600. },
  14601. "coupontypeid": {
  14602. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  14603. "type": "string"
  14604. },
  14605. "couponvalue": {
  14606. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  14607. "type": "number"
  14608. },
  14609. "createtime": {
  14610. "description": "创建时间",
  14611. "type": "string"
  14612. },
  14613. "enddate": {
  14614. "description": "结束日期",
  14615. "type": "string"
  14616. },
  14617. "giveapplyid": {
  14618. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14619. "type": "integer"
  14620. },
  14621. "holdstatus": {
  14622. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14623. "type": "integer"
  14624. },
  14625. "isgeneral": {
  14626. "description": "是否通用券 - 0:否 1:是",
  14627. "type": "integer"
  14628. },
  14629. "limitedflag": {
  14630. "description": "是否指定商品 - 0:不限 1:限制",
  14631. "type": "integer"
  14632. },
  14633. "limitedgoodsids": {
  14634. "description": "指定商品IDs[逗号分隔]",
  14635. "type": "string"
  14636. },
  14637. "qty": {
  14638. "description": "数量(按1平铺)",
  14639. "type": "integer"
  14640. },
  14641. "startdate": {
  14642. "description": "开始日期",
  14643. "type": "string"
  14644. },
  14645. "userid": {
  14646. "description": "用户ID",
  14647. "type": "integer"
  14648. },
  14649. "userscope": {
  14650. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14651. "type": "string"
  14652. }
  14653. }
  14654. },
  14655. "models.MyUsedCoupon": {
  14656. "type": "object",
  14657. "required": [
  14658. "coupontypeid",
  14659. "orderid"
  14660. ],
  14661. "properties": {
  14662. "accountid": {
  14663. "description": "资金账户ID(买方)",
  14664. "type": "integer"
  14665. },
  14666. "conditionvalue": {
  14667. "description": "条件阈值(可为0)",
  14668. "type": "number"
  14669. },
  14670. "couponcategroy": {
  14671. "description": "种类 - 1:现金券 2:折扣券",
  14672. "type": "integer"
  14673. },
  14674. "couponname": {
  14675. "description": "优惠券名称",
  14676. "type": "string"
  14677. },
  14678. "coupontypeid": {
  14679. "description": "优惠券类型ID(买方)",
  14680. "type": "string"
  14681. },
  14682. "couponvalue": {
  14683. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14684. "type": "number"
  14685. },
  14686. "createtime": {
  14687. "description": "创建时间",
  14688. "type": "string"
  14689. },
  14690. "goodsid": {
  14691. "description": "商品ID",
  14692. "type": "integer"
  14693. },
  14694. "handlestatus": {
  14695. "description": "处理状态",
  14696. "type": "integer"
  14697. },
  14698. "marketid": {
  14699. "description": "市场ID",
  14700. "type": "integer"
  14701. },
  14702. "offamount": {
  14703. "description": "优惠金额",
  14704. "type": "number"
  14705. },
  14706. "orderid": {
  14707. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14708. "type": "string"
  14709. },
  14710. "sellaccountid": {
  14711. "description": "资金账户ID(卖方)",
  14712. "type": "integer"
  14713. },
  14714. "tradeamount": {
  14715. "description": "成交金额",
  14716. "type": "number"
  14717. },
  14718. "tradeid": {
  14719. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14720. "type": "string"
  14721. },
  14722. "usedqty": {
  14723. "description": "使用数量",
  14724. "type": "integer"
  14725. }
  14726. }
  14727. },
  14728. "models.OperationPrimaryMenu": {
  14729. "type": "object",
  14730. "properties": {
  14731. "Children": {
  14732. "description": "二级功能菜单",
  14733. "type": "array",
  14734. "items": {
  14735. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14736. }
  14737. },
  14738. "Key": {
  14739. "description": "菜单KEY",
  14740. "type": "string"
  14741. },
  14742. "Label": {
  14743. "description": "菜单标题",
  14744. "type": "string"
  14745. }
  14746. }
  14747. },
  14748. "models.OperationSecondaryMenu": {
  14749. "type": "object",
  14750. "properties": {
  14751. "Key": {
  14752. "description": "菜单KEY",
  14753. "type": "string"
  14754. },
  14755. "Label": {
  14756. "description": "菜单标题",
  14757. "type": "string"
  14758. },
  14759. "TabList": {
  14760. "description": "三级功能菜单",
  14761. "type": "array",
  14762. "items": {
  14763. "$ref": "#/definitions/models.OperationTabMenu"
  14764. }
  14765. }
  14766. }
  14767. },
  14768. "models.OperationTabMenu": {
  14769. "type": "object",
  14770. "properties": {
  14771. "Key": {
  14772. "description": "菜单KEY",
  14773. "type": "string"
  14774. },
  14775. "Label": {
  14776. "description": "菜单标题",
  14777. "type": "string"
  14778. }
  14779. }
  14780. },
  14781. "models.QueryErrorInfosRsp": {
  14782. "type": "object",
  14783. "required": [
  14784. "errorid"
  14785. ],
  14786. "properties": {
  14787. "description": {
  14788. "description": "异常描述",
  14789. "type": "string"
  14790. },
  14791. "errorcode": {
  14792. "description": "异常代码",
  14793. "type": "string"
  14794. },
  14795. "errorid": {
  14796. "description": "异常ID",
  14797. "type": "integer"
  14798. },
  14799. "modulecode": {
  14800. "description": "所属模块",
  14801. "type": "string"
  14802. },
  14803. "operatecode": {
  14804. "description": "所属操作",
  14805. "type": "string"
  14806. },
  14807. "rownumber": {
  14808. "description": "行号",
  14809. "type": "string"
  14810. }
  14811. }
  14812. },
  14813. "models.QueryHedgeOrderDetailRsp": {
  14814. "type": "object",
  14815. "properties": {
  14816. "accountid": {
  14817. "description": "账户ID",
  14818. "type": "integer"
  14819. },
  14820. "buyorsell": {
  14821. "description": "买卖 - 0:买 1:卖",
  14822. "type": "integer"
  14823. },
  14824. "channelbuildtype": {
  14825. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  14826. "type": "integer"
  14827. },
  14828. "channelinnerorderstatus": {
  14829. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  14830. "type": "integer"
  14831. },
  14832. "channeloperatetype": {
  14833. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  14834. "type": "integer"
  14835. },
  14836. "closetype": {
  14837. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14838. "type": "integer"
  14839. },
  14840. "curexchangerate": {
  14841. "description": "当前汇率",
  14842. "type": "number"
  14843. },
  14844. "exchangefullname": {
  14845. "description": "外部交易所全称",
  14846. "type": "string"
  14847. },
  14848. "goodscode": {
  14849. "description": "商品代码(内部)",
  14850. "type": "string"
  14851. },
  14852. "goodsid": {
  14853. "description": "商品ID",
  14854. "type": "integer"
  14855. },
  14856. "goodsname": {
  14857. "description": "商品名称",
  14858. "type": "string"
  14859. },
  14860. "marketid": {
  14861. "description": "市场ID",
  14862. "type": "integer"
  14863. },
  14864. "openfreezemargin": {
  14865. "description": "冻结保证金(冻结交易金额)",
  14866. "type": "number"
  14867. },
  14868. "orderid": {
  14869. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14870. "type": "string"
  14871. },
  14872. "orderprice": {
  14873. "description": "委托价格(账户)",
  14874. "type": "number"
  14875. },
  14876. "orderqty": {
  14877. "description": "委托数量",
  14878. "type": "integer"
  14879. },
  14880. "ordertime": {
  14881. "description": "委托时间",
  14882. "type": "string"
  14883. },
  14884. "pricemode": {
  14885. "description": "取价方式 - 1:市价 2: 限价",
  14886. "type": "integer"
  14887. },
  14888. "tradedate": {
  14889. "description": "交易日(yyyyMMdd)",
  14890. "type": "string"
  14891. },
  14892. "tradeqty": {
  14893. "description": "成交数量",
  14894. "type": "integer"
  14895. }
  14896. }
  14897. },
  14898. "models.QueryHedgeTradeDetailRsp": {
  14899. "type": "object",
  14900. "properties": {
  14901. "accountid": {
  14902. "description": "账号ID",
  14903. "type": "integer"
  14904. },
  14905. "buyorsell": {
  14906. "description": "方向 - 0:买 1:卖",
  14907. "type": "integer"
  14908. },
  14909. "channelbuildtype": {
  14910. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  14911. "type": "integer"
  14912. },
  14913. "closecharge": {
  14914. "description": "平仓手续费(账户)",
  14915. "type": "number"
  14916. },
  14917. "closecharge2": {
  14918. "description": "平仓手续费(商品)",
  14919. "type": "number"
  14920. },
  14921. "closetype": {
  14922. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  14923. "type": "integer"
  14924. },
  14925. "curexchangerate": {
  14926. "description": "当前汇率",
  14927. "type": "number"
  14928. },
  14929. "exchangefullname": {
  14930. "description": "外部交易所全称",
  14931. "type": "string"
  14932. },
  14933. "goodscode": {
  14934. "description": "商品代码(内部)",
  14935. "type": "string"
  14936. },
  14937. "goodsid": {
  14938. "description": "商品ID",
  14939. "type": "integer"
  14940. },
  14941. "goodsname": {
  14942. "description": "商品名称",
  14943. "type": "string"
  14944. },
  14945. "marketid": {
  14946. "description": "市场ID",
  14947. "type": "integer"
  14948. },
  14949. "opencharge": {
  14950. "description": "建仓手续费(账户)",
  14951. "type": "number"
  14952. },
  14953. "opencharge2": {
  14954. "description": "建仓手续费(商品)",
  14955. "type": "number"
  14956. },
  14957. "orderid": {
  14958. "description": "委托单号",
  14959. "type": "string"
  14960. },
  14961. "tradeamount": {
  14962. "description": "成交金额(账户)",
  14963. "type": "number"
  14964. },
  14965. "tradedate": {
  14966. "description": "交易日(yyyyMMdd)",
  14967. "type": "string"
  14968. },
  14969. "tradeid": {
  14970. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14971. "type": "string"
  14972. },
  14973. "tradeprice": {
  14974. "description": "成交价格",
  14975. "type": "number"
  14976. },
  14977. "tradeqty": {
  14978. "description": "成交数量",
  14979. "type": "integer"
  14980. },
  14981. "tradetime": {
  14982. "description": "成交时间",
  14983. "type": "string"
  14984. },
  14985. "tradetype": {
  14986. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  14987. "type": "integer"
  14988. }
  14989. }
  14990. },
  14991. "models.QuotePrimaryMenu": {
  14992. "type": "object",
  14993. "properties": {
  14994. "Index": {
  14995. "description": "序号",
  14996. "type": "integer"
  14997. },
  14998. "Key": {
  14999. "description": "键名",
  15000. "type": "string"
  15001. },
  15002. "Name": {
  15003. "description": "菜单名称",
  15004. "type": "string"
  15005. },
  15006. "SubMenus": {
  15007. "description": "子菜单",
  15008. "type": "array",
  15009. "items": {
  15010. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  15011. }
  15012. },
  15013. "SubTitleType": {
  15014. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  15015. "type": "integer"
  15016. },
  15017. "TradeModes": {
  15018. "description": "包含市场交易类型",
  15019. "type": "string"
  15020. }
  15021. }
  15022. },
  15023. "models.QuoteSecondaryMenu": {
  15024. "type": "object",
  15025. "properties": {
  15026. "ExExchangeCode": {
  15027. "description": "外部交易所代码",
  15028. "type": "string"
  15029. },
  15030. "ExExchangeID": {
  15031. "description": "外部交易所ID",
  15032. "type": "integer"
  15033. },
  15034. "GoodsGroupIDs": {
  15035. "description": "商品组ID列表",
  15036. "type": "array",
  15037. "items": {
  15038. "type": "integer"
  15039. }
  15040. },
  15041. "Index": {
  15042. "description": "序号",
  15043. "type": "integer"
  15044. },
  15045. "MarketID": {
  15046. "description": "市场ID",
  15047. "type": "integer"
  15048. },
  15049. "MenuTitle": {
  15050. "description": "菜单标题(市场名称或外部交易所名称)",
  15051. "type": "string"
  15052. },
  15053. "TradeMode": {
  15054. "description": "交易模式",
  15055. "type": "integer"
  15056. }
  15057. }
  15058. },
  15059. "models.SearchGoods": {
  15060. "type": "object",
  15061. "required": [
  15062. "goodscode",
  15063. "goodsid",
  15064. "goodsname",
  15065. "marketid",
  15066. "trademode"
  15067. ],
  15068. "properties": {
  15069. "goodscode": {
  15070. "description": "商品代码(内部)",
  15071. "type": "string"
  15072. },
  15073. "goodsid": {
  15074. "description": "商品ID(自增ID SEQ_GOODS)",
  15075. "type": "integer"
  15076. },
  15077. "goodsname": {
  15078. "description": "商品名称",
  15079. "type": "string"
  15080. },
  15081. "marketid": {
  15082. "description": "所属市场ID",
  15083. "type": "integer"
  15084. },
  15085. "marketname": {
  15086. "description": "市场名称",
  15087. "type": "string"
  15088. },
  15089. "trademode": {
  15090. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15091. "type": "integer"
  15092. }
  15093. }
  15094. },
  15095. "models.Szdz3convertconfig": {
  15096. "type": "object",
  15097. "required": [
  15098. "converttype",
  15099. "innergoodsid",
  15100. "outergoodscode"
  15101. ],
  15102. "properties": {
  15103. "canin": {
  15104. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  15105. "type": "integer"
  15106. },
  15107. "canout": {
  15108. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  15109. "type": "integer"
  15110. },
  15111. "converttype": {
  15112. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  15113. "type": "integer"
  15114. },
  15115. "createtime": {
  15116. "description": "创建时间",
  15117. "type": "string"
  15118. },
  15119. "creatorid": {
  15120. "description": "创建人",
  15121. "type": "integer"
  15122. },
  15123. "daymaxvalue": {
  15124. "description": "当日最大转入限制",
  15125. "type": "number"
  15126. },
  15127. "freezedays": {
  15128. "description": "冻结天数 [5:花生米转交易]",
  15129. "type": "integer"
  15130. },
  15131. "innergoodsid": {
  15132. "description": "内部商品ID[交易]",
  15133. "type": "integer"
  15134. },
  15135. "inratio": {
  15136. "description": "目标值",
  15137. "type": "integer"
  15138. },
  15139. "modifierid": {
  15140. "description": "修改人",
  15141. "type": "integer"
  15142. },
  15143. "modifytime": {
  15144. "description": "修改时间",
  15145. "type": "string"
  15146. },
  15147. "outergoodscode": {
  15148. "description": "外部商品代码[JD\\PD]",
  15149. "type": "string"
  15150. },
  15151. "outratio": {
  15152. "description": "源值",
  15153. "type": "integer"
  15154. },
  15155. "pddecimalplace": {
  15156. "description": "PD小数位",
  15157. "type": "integer"
  15158. },
  15159. "timemaxvalue": {
  15160. "description": "单次最大转入限制",
  15161. "type": "number"
  15162. },
  15163. "timeminvalue": {
  15164. "description": "单次最小转入限制",
  15165. "type": "number"
  15166. }
  15167. }
  15168. },
  15169. "models.Szdz3searchwhitelist": {
  15170. "type": "object",
  15171. "required": [
  15172. "userid"
  15173. ],
  15174. "properties": {
  15175. "createtime": {
  15176. "description": "创建时间",
  15177. "type": "string"
  15178. },
  15179. "creatorid": {
  15180. "description": "创建人",
  15181. "type": "integer"
  15182. },
  15183. "modifierid": {
  15184. "description": "修改人",
  15185. "type": "integer"
  15186. },
  15187. "modifytime": {
  15188. "description": "修改时间",
  15189. "type": "string"
  15190. },
  15191. "userid": {
  15192. "description": "用户ID",
  15193. "type": "integer"
  15194. }
  15195. }
  15196. },
  15197. "models.Taaccount": {
  15198. "type": "object",
  15199. "required": [
  15200. "accountid",
  15201. "userid"
  15202. ],
  15203. "properties": {
  15204. "accountflag": {
  15205. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  15206. "type": "integer"
  15207. },
  15208. "accountid": {
  15209. "description": "资金账户ID",
  15210. "type": "integer"
  15211. },
  15212. "accountname": {
  15213. "description": "账户名称",
  15214. "type": "string"
  15215. },
  15216. "balance": {
  15217. "description": "期初余额",
  15218. "type": "number"
  15219. },
  15220. "capitalbalance": {
  15221. "description": "本金余额[外部子账户实际出入金余额]",
  15222. "type": "number"
  15223. },
  15224. "changeflag": {
  15225. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  15226. "type": "integer"
  15227. },
  15228. "changetime": {
  15229. "description": "账户状态变更时间",
  15230. "type": "string"
  15231. },
  15232. "closepl": {
  15233. "description": "今日平仓盈亏",
  15234. "type": "number"
  15235. },
  15236. "creditdecrease": {
  15237. "description": "今日授信减少",
  15238. "type": "number"
  15239. },
  15240. "creditincrease": {
  15241. "description": "今日授信增加",
  15242. "type": "number"
  15243. },
  15244. "currencyid": {
  15245. "description": "货币ID",
  15246. "type": "integer"
  15247. },
  15248. "currentbalance": {
  15249. "description": "期末余额",
  15250. "type": "number"
  15251. },
  15252. "freezecharge": {
  15253. "description": "手续费冻结",
  15254. "type": "number"
  15255. },
  15256. "freezemargin": {
  15257. "description": "冻结保证金",
  15258. "type": "number"
  15259. },
  15260. "fromaccountid": {
  15261. "description": "所属上级账户",
  15262. "type": "integer"
  15263. },
  15264. "inamount": {
  15265. "description": "今日入金金额(包括三方入金)",
  15266. "type": "number"
  15267. },
  15268. "ismain": {
  15269. "description": "是否母账号 0:不是母账户 1:是母账户",
  15270. "type": "integer"
  15271. },
  15272. "ismarketaccount": {
  15273. "description": "是否机构接单账号 0:不是 1:是",
  15274. "type": "integer"
  15275. },
  15276. "isreckonaccount": {
  15277. "description": "是否机构分润账号 0:不是 1:是",
  15278. "type": "integer"
  15279. },
  15280. "mortgagecredit": {
  15281. "description": "授信金额",
  15282. "type": "number"
  15283. },
  15284. "orifreezecharge": {
  15285. "description": "期初手续费冻结",
  15286. "type": "number"
  15287. },
  15288. "orifreezemargin": {
  15289. "description": "期初冻结保证金",
  15290. "type": "number"
  15291. },
  15292. "orimortgagecredit": {
  15293. "description": "期初授信金额",
  15294. "type": "number"
  15295. },
  15296. "oriothercredit": {
  15297. "description": "期初其它授信金额",
  15298. "type": "number"
  15299. },
  15300. "oriotherfreezemargin": {
  15301. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  15302. "type": "number"
  15303. },
  15304. "orioutamountfreeze": {
  15305. "description": "期初出金冻结",
  15306. "type": "number"
  15307. },
  15308. "oriusedmargin": {
  15309. "description": "期初占用保证金",
  15310. "type": "number"
  15311. },
  15312. "othercredit": {
  15313. "description": "其它授信金额",
  15314. "type": "number"
  15315. },
  15316. "othercreditdecrease": {
  15317. "description": "今日其它授信减少",
  15318. "type": "number"
  15319. },
  15320. "othercreditincrease": {
  15321. "description": "今日其它授信增加",
  15322. "type": "number"
  15323. },
  15324. "otherfreezemargin": {
  15325. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  15326. "type": "number"
  15327. },
  15328. "otherincome": {
  15329. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  15330. "type": "number"
  15331. },
  15332. "otherpay": {
  15333. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  15334. "type": "number"
  15335. },
  15336. "outamount": {
  15337. "description": "今日出金金额(包括三方出金)",
  15338. "type": "number"
  15339. },
  15340. "outamountfreeze": {
  15341. "description": "出金冻结",
  15342. "type": "number"
  15343. },
  15344. "outthreshold": {
  15345. "description": "出金阈值",
  15346. "type": "number"
  15347. },
  15348. "parentaccountid": {
  15349. "description": "所属根账号",
  15350. "type": "integer"
  15351. },
  15352. "paycharge": {
  15353. "description": "今日手续费支出",
  15354. "type": "number"
  15355. },
  15356. "relatedaccountstatus": {
  15357. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  15358. "type": "integer"
  15359. },
  15360. "relateduserid": {
  15361. "description": "关联用户",
  15362. "type": "integer"
  15363. },
  15364. "serivcegroup": {
  15365. "description": "服务分组",
  15366. "type": "integer"
  15367. },
  15368. "signstatus": {
  15369. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  15370. "type": "integer"
  15371. },
  15372. "sublevelpath": {
  15373. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  15374. "type": "string"
  15375. },
  15376. "taaccounttype": {
  15377. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  15378. "type": "integer"
  15379. },
  15380. "thirdinamount": {
  15381. "description": "今日三方入金",
  15382. "type": "number"
  15383. },
  15384. "thirdoutamount": {
  15385. "description": "今日三方出金",
  15386. "type": "number"
  15387. },
  15388. "tradestatus": {
  15389. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  15390. "type": "integer"
  15391. },
  15392. "tradestatuschangetime": {
  15393. "description": "激活时间",
  15394. "type": "string"
  15395. },
  15396. "transferamount": {
  15397. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  15398. "type": "number"
  15399. },
  15400. "usedmargin": {
  15401. "description": "占用保证金",
  15402. "type": "number"
  15403. },
  15404. "userid": {
  15405. "description": "用户ID",
  15406. "type": "integer"
  15407. }
  15408. }
  15409. },
  15410. "models.Tablecolumnconfig": {
  15411. "type": "object",
  15412. "required": [
  15413. "autoid"
  15414. ],
  15415. "properties": {
  15416. "aligntype": {
  15417. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  15418. "type": "integer"
  15419. },
  15420. "autoid": {
  15421. "description": "AutoID",
  15422. "type": "integer"
  15423. },
  15424. "columnfield": {
  15425. "description": "列字段",
  15426. "type": "string"
  15427. },
  15428. "columntitle": {
  15429. "description": "列Title",
  15430. "type": "string"
  15431. },
  15432. "columnwidth": {
  15433. "description": "列宽",
  15434. "type": "string"
  15435. },
  15436. "formatterstring": {
  15437. "description": "格式化字符",
  15438. "type": "string"
  15439. },
  15440. "formattertype": {
  15441. "description": "格式化类型",
  15442. "type": "string"
  15443. },
  15444. "groupname": {
  15445. "description": "表头分组名称",
  15446. "type": "string"
  15447. },
  15448. "isshow": {
  15449. "description": "是否显示 - 0:不显示 1:显示",
  15450. "type": "integer"
  15451. },
  15452. "needsummary": {
  15453. "description": "是否需要汇总 - 0:不需要 1:需要",
  15454. "type": "integer"
  15455. },
  15456. "orderindex": {
  15457. "description": "顺序",
  15458. "type": "integer"
  15459. },
  15460. "remark": {
  15461. "description": "备注",
  15462. "type": "string"
  15463. },
  15464. "summarytype": {
  15465. "description": "汇总类型 - 1:加总 2:最后一个",
  15466. "type": "integer"
  15467. },
  15468. "tablekey": {
  15469. "description": "列表Key",
  15470. "type": "string"
  15471. }
  15472. }
  15473. },
  15474. "models.Useraccount": {
  15475. "type": "object",
  15476. "required": [
  15477. "userid"
  15478. ],
  15479. "properties": {
  15480. "accountname": {
  15481. "description": "账户名称(机构名称)",
  15482. "type": "string"
  15483. },
  15484. "accountstatus": {
  15485. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  15486. "type": "integer"
  15487. },
  15488. "auditremark": {
  15489. "description": "审核备注",
  15490. "type": "string"
  15491. },
  15492. "audittime": {
  15493. "description": "审核时间",
  15494. "type": "string"
  15495. },
  15496. "audituserid": {
  15497. "description": "审核人",
  15498. "type": "integer"
  15499. },
  15500. "broker": {
  15501. "description": "所属经纪人ID",
  15502. "type": "integer"
  15503. },
  15504. "canceltime": {
  15505. "description": "销户时间",
  15506. "type": "string"
  15507. },
  15508. "canceluserid": {
  15509. "description": "销户人",
  15510. "type": "integer"
  15511. },
  15512. "createtime": {
  15513. "description": "创建时间",
  15514. "type": "string"
  15515. },
  15516. "creatorid": {
  15517. "description": "创建人",
  15518. "type": "integer"
  15519. },
  15520. "hasauth": {
  15521. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  15522. "type": "integer"
  15523. },
  15524. "isanonymous": {
  15525. "description": "是否匿名下单 - 0:否 1:是",
  15526. "type": "integer"
  15527. },
  15528. "maxinvestornum": {
  15529. "description": "最大用户数(经纪会员下投资者个数)",
  15530. "type": "integer"
  15531. },
  15532. "memberuserid": {
  15533. "description": "所属会员ID",
  15534. "type": "integer"
  15535. },
  15536. "modifierid": {
  15537. "description": "修改人",
  15538. "type": "integer"
  15539. },
  15540. "modifyremark": {
  15541. "description": "变更备注",
  15542. "type": "string"
  15543. },
  15544. "modifystatus": {
  15545. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  15546. "type": "integer"
  15547. },
  15548. "modifytime": {
  15549. "description": "修改时间",
  15550. "type": "string"
  15551. },
  15552. "parentuserid": {
  15553. "description": "所属机构ID",
  15554. "type": "integer"
  15555. },
  15556. "reckonaccountid": {
  15557. "description": "默认结算资金账号ID(机构分润使用) 作废",
  15558. "type": "integer"
  15559. },
  15560. "refercount": {
  15561. "description": "推荐总人数",
  15562. "type": "integer"
  15563. },
  15564. "refereeuserid": {
  15565. "description": "推荐人ID",
  15566. "type": "integer"
  15567. },
  15568. "refernum": {
  15569. "description": "推荐码",
  15570. "type": "string"
  15571. },
  15572. "subarealevelpath": {
  15573. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  15574. "type": "string"
  15575. },
  15576. "userid": {
  15577. "description": "用户ID",
  15578. "type": "integer"
  15579. },
  15580. "usertype": {
  15581. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15582. "type": "integer"
  15583. }
  15584. }
  15585. },
  15586. "models.Userfavoritegoods": {
  15587. "type": "object",
  15588. "required": [
  15589. "goodsid"
  15590. ],
  15591. "properties": {
  15592. "goodsid": {
  15593. "description": "商品ID",
  15594. "type": "integer"
  15595. }
  15596. }
  15597. },
  15598. "models.Userinfo": {
  15599. "type": "object",
  15600. "required": [
  15601. "userid"
  15602. ],
  15603. "properties": {
  15604. "address": {
  15605. "description": "地址",
  15606. "type": "string"
  15607. },
  15608. "attachment1": {
  15609. "description": "附件1",
  15610. "type": "string"
  15611. },
  15612. "attachment2": {
  15613. "description": "附件2",
  15614. "type": "string"
  15615. },
  15616. "bankaccount": {
  15617. "description": "银行帐号 (加密存储)",
  15618. "type": "string"
  15619. },
  15620. "bankaccountname": {
  15621. "description": "收款人名称",
  15622. "type": "string"
  15623. },
  15624. "bankcardfrontphotourl": {
  15625. "description": "银行卡正面照地址",
  15626. "type": "string"
  15627. },
  15628. "bankid": {
  15629. "description": "银行编码",
  15630. "type": "string"
  15631. },
  15632. "bankname": {
  15633. "description": "银行名称",
  15634. "type": "string"
  15635. },
  15636. "biznature": {
  15637. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  15638. "type": "integer"
  15639. },
  15640. "bizscope": {
  15641. "description": "企业经营范围(企业)",
  15642. "type": "string"
  15643. },
  15644. "cardbackphotourl": {
  15645. "description": "证件背面图片地址",
  15646. "type": "string"
  15647. },
  15648. "cardfrontphotourl": {
  15649. "description": "证件正面图片地址",
  15650. "type": "string"
  15651. },
  15652. "cardnum": {
  15653. "description": "证件号码(加密存储)",
  15654. "type": "string"
  15655. },
  15656. "cardtypeid": {
  15657. "description": "证件类型ID",
  15658. "type": "integer"
  15659. },
  15660. "cityid": {
  15661. "description": "市",
  15662. "type": "integer"
  15663. },
  15664. "company": {
  15665. "description": "公司(个人)",
  15666. "type": "string"
  15667. },
  15668. "contactname": {
  15669. "description": "联系人",
  15670. "type": "string"
  15671. },
  15672. "countryid": {
  15673. "description": "国家",
  15674. "type": "integer"
  15675. },
  15676. "createtime": {
  15677. "description": "创建时间",
  15678. "type": "string"
  15679. },
  15680. "creatorid": {
  15681. "description": "创建人",
  15682. "type": "integer"
  15683. },
  15684. "customername": {
  15685. "description": "客户名称(企业名称)",
  15686. "type": "string"
  15687. },
  15688. "districtid": {
  15689. "description": "地区",
  15690. "type": "integer"
  15691. },
  15692. "email": {
  15693. "description": "邮件(加密存储)",
  15694. "type": "string"
  15695. },
  15696. "fax": {
  15697. "description": "传真(加密存储)",
  15698. "type": "string"
  15699. },
  15700. "halfbodyphotourl": {
  15701. "description": "半身照地址",
  15702. "type": "string"
  15703. },
  15704. "hasencrypt": {
  15705. "description": "数据是否已加密 - 0:未加密 1:已加密",
  15706. "type": "integer"
  15707. },
  15708. "headurl": {
  15709. "description": "头像地址",
  15710. "type": "string"
  15711. },
  15712. "legalcardbackphotourl": {
  15713. "description": "法人身份证背面照地址",
  15714. "type": "string"
  15715. },
  15716. "legalcardfrontphotourl": {
  15717. "description": "法人身份证正面照地址",
  15718. "type": "string"
  15719. },
  15720. "legalpersonname": {
  15721. "description": "法人姓名(企业)",
  15722. "type": "string"
  15723. },
  15724. "mobile": {
  15725. "description": "手机号码(加密存储)",
  15726. "type": "string"
  15727. },
  15728. "mobile2": {
  15729. "description": "手机号码[明文-尚志]",
  15730. "type": "string"
  15731. },
  15732. "modifierid": {
  15733. "description": "修改人",
  15734. "type": "integer"
  15735. },
  15736. "modifiertime": {
  15737. "description": "修改时间",
  15738. "type": "string"
  15739. },
  15740. "needinvoice": {
  15741. "description": "是否需要发票 - 0:不需要 1:需要",
  15742. "type": "integer"
  15743. },
  15744. "nickname": {
  15745. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  15746. "type": "string"
  15747. },
  15748. "openmode": {
  15749. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  15750. "type": "integer"
  15751. },
  15752. "otherurl": {
  15753. "description": "其它图片地址[使用分号分隔]",
  15754. "type": "string"
  15755. },
  15756. "postalcode": {
  15757. "description": "邮政编码",
  15758. "type": "string"
  15759. },
  15760. "provinceid": {
  15761. "description": "省",
  15762. "type": "integer"
  15763. },
  15764. "qq": {
  15765. "description": "QQ(加密存储",
  15766. "type": "string"
  15767. },
  15768. "remark": {
  15769. "description": "备注",
  15770. "type": "string"
  15771. },
  15772. "sex": {
  15773. "description": "用户性别 0: 女 1: 男",
  15774. "type": "integer"
  15775. },
  15776. "signpdfurl": {
  15777. "description": "签约pdf文件",
  15778. "type": "string"
  15779. },
  15780. "telphone": {
  15781. "description": "联系电话(加密存储)",
  15782. "type": "string"
  15783. },
  15784. "userid": {
  15785. "description": "用户ID",
  15786. "type": "integer"
  15787. },
  15788. "userinfotype": {
  15789. "description": "用户信息类型 - 1:个人 2:企业",
  15790. "type": "integer"
  15791. },
  15792. "userstatus": {
  15793. "description": "用户状态 - 1:正常 2:注销",
  15794. "type": "integer"
  15795. },
  15796. "usertype": {
  15797. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15798. "type": "integer"
  15799. },
  15800. "wechat": {
  15801. "description": "微信(加密存储)",
  15802. "type": "string"
  15803. },
  15804. "wskhinfo": {
  15805. "description": "开户申请信息(JSON)",
  15806. "type": "string"
  15807. }
  15808. }
  15809. },
  15810. "models.WRCategoryTree": {
  15811. "type": "object",
  15812. "required": [
  15813. "categoryid"
  15814. ],
  15815. "properties": {
  15816. "areauserid": {
  15817. "description": "所属机构",
  15818. "type": "integer"
  15819. },
  15820. "categorydesc": {
  15821. "description": "类别描述",
  15822. "type": "string"
  15823. },
  15824. "categoryid": {
  15825. "description": "类别ID(SEQ_WRCATEGORY)",
  15826. "type": "integer"
  15827. },
  15828. "categoryname": {
  15829. "description": "类别名称",
  15830. "type": "string"
  15831. },
  15832. "iconurl": {
  15833. "description": "图标地址",
  15834. "type": "string"
  15835. },
  15836. "orderindex": {
  15837. "description": "顺序",
  15838. "type": "integer"
  15839. },
  15840. "parentcategoryid": {
  15841. "description": "父类别ID",
  15842. "type": "integer"
  15843. },
  15844. "subcategory": {
  15845. "description": "子分类",
  15846. "type": "array",
  15847. "items": {
  15848. "$ref": "#/definitions/models.WRCategoryTree"
  15849. }
  15850. }
  15851. }
  15852. },
  15853. "models.WRSConverTDetail": {
  15854. "type": "object",
  15855. "properties": {
  15856. "convertratio": {
  15857. "description": "套保系数",
  15858. "type": "number"
  15859. },
  15860. "deliverygoodsid": {
  15861. "description": "现货品种ID",
  15862. "type": "integer"
  15863. },
  15864. "middlegoodscode": {
  15865. "description": "套保品种代码",
  15866. "type": "string"
  15867. },
  15868. "middlegoodsid": {
  15869. "description": "套保品种ID",
  15870. "type": "integer"
  15871. },
  15872. "middlegoodsname": {
  15873. "description": "套保品种名称",
  15874. "type": "string"
  15875. },
  15876. "modifytime": {
  15877. "description": "修改时间",
  15878. "type": "string"
  15879. },
  15880. "wrstandardid": {
  15881. "description": "现货商品ID",
  15882. "type": "integer"
  15883. }
  15884. }
  15885. },
  15886. "models.WRStandardInfo": {
  15887. "type": "object",
  15888. "required": [
  15889. "wrstandardid"
  15890. ],
  15891. "properties": {
  15892. "createtime": {
  15893. "description": "创建时间",
  15894. "type": "string"
  15895. },
  15896. "creatorid": {
  15897. "description": "创建人",
  15898. "type": "integer"
  15899. },
  15900. "deliverygoodsid": {
  15901. "description": "品种ID",
  15902. "type": "integer"
  15903. },
  15904. "deliverygoodsname": {
  15905. "description": "交割商品名称",
  15906. "type": "string"
  15907. },
  15908. "factoryitemjson": {
  15909. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15910. "type": "string"
  15911. },
  15912. "isvalid": {
  15913. "description": "是否有效 - 0:无效 1:有效",
  15914. "type": "integer"
  15915. },
  15916. "minivalue": {
  15917. "description": "最小变动值",
  15918. "type": "integer"
  15919. },
  15920. "minivaluedp": {
  15921. "description": "最小变动值小数位",
  15922. "type": "integer"
  15923. },
  15924. "realminivalue": {
  15925. "description": "实际最小变动值",
  15926. "type": "integer"
  15927. },
  15928. "realminivaluedp": {
  15929. "description": "实际最小变动值小数位",
  15930. "type": "integer"
  15931. },
  15932. "unitid": {
  15933. "description": "单位ID",
  15934. "type": "integer"
  15935. },
  15936. "unitname": {
  15937. "description": "单位",
  15938. "type": "string"
  15939. },
  15940. "updatetime": {
  15941. "description": "更新时间",
  15942. "type": "string"
  15943. },
  15944. "updatorid": {
  15945. "description": "更新人",
  15946. "type": "integer"
  15947. },
  15948. "wrsstatus": {
  15949. "description": "状态 - 作废 - 0:未激活 1:正常",
  15950. "type": "integer"
  15951. },
  15952. "wrstandardcode": {
  15953. "description": "仓单标准代码",
  15954. "type": "string"
  15955. },
  15956. "wrstandardid": {
  15957. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15958. "type": "integer"
  15959. },
  15960. "wrstandardname": {
  15961. "description": "仓单标准名称",
  15962. "type": "string"
  15963. }
  15964. }
  15965. },
  15966. "models.Warehouseinfo": {
  15967. "type": "object",
  15968. "required": [
  15969. "autoid",
  15970. "warehousecode"
  15971. ],
  15972. "properties": {
  15973. "address": {
  15974. "description": "详细地址",
  15975. "type": "string"
  15976. },
  15977. "areauserid": {
  15978. "description": "所属机构",
  15979. "type": "integer"
  15980. },
  15981. "autoid": {
  15982. "description": "自增ID",
  15983. "type": "integer"
  15984. },
  15985. "cityid": {
  15986. "description": "市",
  15987. "type": "integer"
  15988. },
  15989. "contactname": {
  15990. "description": "联系人",
  15991. "type": "string"
  15992. },
  15993. "contactnum": {
  15994. "description": "联系电话",
  15995. "type": "string"
  15996. },
  15997. "countryid": {
  15998. "description": "国家",
  15999. "type": "integer"
  16000. },
  16001. "createtime": {
  16002. "description": "创建时间",
  16003. "type": "string"
  16004. },
  16005. "districtid": {
  16006. "description": "区",
  16007. "type": "integer"
  16008. },
  16009. "hasvideo": {
  16010. "description": "是否有视频 - 0:无 1:有",
  16011. "type": "integer"
  16012. },
  16013. "provinceid": {
  16014. "description": "省",
  16015. "type": "integer"
  16016. },
  16017. "remark": {
  16018. "description": "审核备注",
  16019. "type": "string"
  16020. },
  16021. "videourl": {
  16022. "description": "视频地址",
  16023. "type": "string"
  16024. },
  16025. "warehousecode": {
  16026. "description": "仓库代码",
  16027. "type": "string"
  16028. },
  16029. "warehousename": {
  16030. "description": "仓库名称",
  16031. "type": "string"
  16032. },
  16033. "warehousestatus": {
  16034. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16035. "type": "integer"
  16036. },
  16037. "warehousetype": {
  16038. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16039. "type": "integer"
  16040. }
  16041. }
  16042. },
  16043. "order.QueryHisTradeDetailRsp": {
  16044. "type": "object",
  16045. "required": [
  16046. "accountid",
  16047. "buyorsell",
  16048. "goodsid",
  16049. "histradedate",
  16050. "marketid",
  16051. "memberuserid",
  16052. "orderid",
  16053. "tradeamount",
  16054. "tradedate",
  16055. "tradeid",
  16056. "tradeprice",
  16057. "tradeqty",
  16058. "tradetime"
  16059. ],
  16060. "properties": {
  16061. "accountid": {
  16062. "description": "账户ID[报价币种]",
  16063. "type": "integer"
  16064. },
  16065. "buildtype": {
  16066. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16067. "type": "integer"
  16068. },
  16069. "buyorsell": {
  16070. "description": "方向 - 0:买 1:卖",
  16071. "type": "integer"
  16072. },
  16073. "charge": {
  16074. "description": "手续费",
  16075. "type": "number"
  16076. },
  16077. "closecharge": {
  16078. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16079. "type": "number"
  16080. },
  16081. "closeexchagechargevalue": {
  16082. "description": "平仓交易所手续费设置值",
  16083. "type": "number"
  16084. },
  16085. "closefeealgorithm": {
  16086. "description": "平仓手续费收取方式 1:比率 2:固定",
  16087. "type": "integer"
  16088. },
  16089. "closememberchargevalue": {
  16090. "description": "平仓会员手续费设置值",
  16091. "type": "number"
  16092. },
  16093. "closepl": {
  16094. "description": "平仓盈亏",
  16095. "type": "number"
  16096. },
  16097. "closepl2": {
  16098. "description": "平仓盈亏[逐笔]",
  16099. "type": "number"
  16100. },
  16101. "closeqty": {
  16102. "description": "平仓数量(先建后平操作 需要记录)",
  16103. "type": "integer"
  16104. },
  16105. "creditamount": {
  16106. "description": "授信金额",
  16107. "type": "number"
  16108. },
  16109. "gcaccountid": {
  16110. "description": "账户ID[合约币种]",
  16111. "type": "integer"
  16112. },
  16113. "goodscode": {
  16114. "description": "商品代码",
  16115. "type": "string"
  16116. },
  16117. "goodsid": {
  16118. "description": "商品ID",
  16119. "type": "integer"
  16120. },
  16121. "goodsname": {
  16122. "description": "商品名称",
  16123. "type": "string"
  16124. },
  16125. "histradedate": {
  16126. "description": "历史交易日",
  16127. "type": "string"
  16128. },
  16129. "intclosepl": {
  16130. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16131. "type": "integer"
  16132. },
  16133. "isconfirmexercise": {
  16134. "description": "是否确认行权- 0:否 1:是",
  16135. "type": "integer"
  16136. },
  16137. "ismain": {
  16138. "description": "是否主单 - 0:不是 1:是",
  16139. "type": "integer"
  16140. },
  16141. "ispreexercise": {
  16142. "description": "是否预申报- 0:否 1:是",
  16143. "type": "integer"
  16144. },
  16145. "isreckoned": {
  16146. "description": "是否结算 - 0:未结算 1:已结算",
  16147. "type": "integer"
  16148. },
  16149. "isvaliddata": {
  16150. "description": "是否有效 - 0:无效 1:有效",
  16151. "type": "integer"
  16152. },
  16153. "listingselecttype": {
  16154. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16155. "type": "integer"
  16156. },
  16157. "marketid": {
  16158. "description": "市场ID",
  16159. "type": "integer"
  16160. },
  16161. "marketname": {
  16162. "description": "市场名称",
  16163. "type": "string"
  16164. },
  16165. "matchaccountid": {
  16166. "description": "对手账号id",
  16167. "type": "integer"
  16168. },
  16169. "memberuserid": {
  16170. "description": "会员id 个人投资者 需要填写",
  16171. "type": "integer"
  16172. },
  16173. "opencharge": {
  16174. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16175. "type": "number"
  16176. },
  16177. "openexchagechargevalue": {
  16178. "description": "建仓交易所手续费设置值",
  16179. "type": "number"
  16180. },
  16181. "openfeealgorithm": {
  16182. "description": "建仓手续费收取方式 1:比率 2:固定",
  16183. "type": "integer"
  16184. },
  16185. "openmemberchargevalue": {
  16186. "description": "建仓会员手续费设置值",
  16187. "type": "number"
  16188. },
  16189. "openqty": {
  16190. "description": "开仓数量(先建后平操作 需要记录)",
  16191. "type": "integer"
  16192. },
  16193. "optiontype": {
  16194. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16195. "type": "integer"
  16196. },
  16197. "orderid": {
  16198. "description": "委托单号",
  16199. "type": "string"
  16200. },
  16201. "performanceplanid": {
  16202. "description": "履约计划ID[期权]",
  16203. "type": "integer"
  16204. },
  16205. "performancestatus": {
  16206. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16207. "type": "integer"
  16208. },
  16209. "preexerciseprice": {
  16210. "description": "预申报价格",
  16211. "type": "number"
  16212. },
  16213. "premium": {
  16214. "description": "权利金 - [持仓单的权利金]",
  16215. "type": "number"
  16216. },
  16217. "relatedouttradeid": {
  16218. "description": "关联外部成交单ID",
  16219. "type": "integer"
  16220. },
  16221. "status": {
  16222. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16223. "type": "integer"
  16224. },
  16225. "tradeamount": {
  16226. "description": "成交金额[账户币种,用于所有权]",
  16227. "type": "number"
  16228. },
  16229. "tradedate": {
  16230. "description": "交易日(yyyyMMdd)",
  16231. "type": "string"
  16232. },
  16233. "tradeid": {
  16234. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16235. "type": "string"
  16236. },
  16237. "trademode": {
  16238. "description": "交易模式",
  16239. "type": "integer"
  16240. },
  16241. "tradeprice": {
  16242. "description": "成交价格",
  16243. "type": "number"
  16244. },
  16245. "tradeproperty": {
  16246. "description": "交易属性",
  16247. "type": "integer"
  16248. },
  16249. "tradeqty": {
  16250. "description": "成交数量",
  16251. "type": "integer"
  16252. },
  16253. "tradetime": {
  16254. "description": "成交时间",
  16255. "type": "string"
  16256. },
  16257. "tradetype": {
  16258. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16259. "type": "integer"
  16260. }
  16261. }
  16262. },
  16263. "order.QueryHisTradeOrderDetailRsp": {
  16264. "type": "object",
  16265. "required": [
  16266. "accountid",
  16267. "buildtype",
  16268. "buyorsell",
  16269. "goodsid",
  16270. "histradedate",
  16271. "marketid",
  16272. "memberuserid",
  16273. "operatetype",
  16274. "orderid",
  16275. "orderqty",
  16276. "ordertime",
  16277. "pricemode",
  16278. "tradedate",
  16279. "validtype"
  16280. ],
  16281. "properties": {
  16282. "accountid": {
  16283. "description": "账户ID[报价币种]",
  16284. "type": "integer"
  16285. },
  16286. "buildtype": {
  16287. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16288. "type": "integer"
  16289. },
  16290. "buyorsell": {
  16291. "description": "买卖 - 0:买 1:卖",
  16292. "type": "integer"
  16293. },
  16294. "cancelorderid": {
  16295. "description": "撤单单号(撤单时填写)",
  16296. "type": "string"
  16297. },
  16298. "cancelqty": {
  16299. "description": "撤单数量",
  16300. "type": "integer"
  16301. },
  16302. "clientordertime": {
  16303. "description": "客户端委托时间",
  16304. "type": "string"
  16305. },
  16306. "clientticket": {
  16307. "description": "客户端流水号",
  16308. "type": "string"
  16309. },
  16310. "clienttype": {
  16311. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16312. "type": "integer"
  16313. },
  16314. "closeexchagechargevalue": {
  16315. "description": "平仓交易所手续费设置值",
  16316. "type": "number"
  16317. },
  16318. "closefeealgorithm": {
  16319. "description": "平仓手续费收取方式 1:比率 2:固定",
  16320. "type": "integer"
  16321. },
  16322. "closefreezecharge": {
  16323. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16324. "type": "number"
  16325. },
  16326. "closememberchargevalue": {
  16327. "description": "平仓会员手续费设置值",
  16328. "type": "number"
  16329. },
  16330. "closeqty": {
  16331. "description": "平仓数量(先建后平操作 需要记录)",
  16332. "type": "integer"
  16333. },
  16334. "closetradeqty": {
  16335. "description": "平仓成交数量(先建后平操作,需要记录)",
  16336. "type": "integer"
  16337. },
  16338. "closeunfreezecharge": {
  16339. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16340. "type": "number"
  16341. },
  16342. "delistingtype": {
  16343. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16344. "type": "integer"
  16345. },
  16346. "freezecharge": {
  16347. "description": "冻结手续费",
  16348. "type": "number"
  16349. },
  16350. "freezemargin": {
  16351. "description": "冻结保证金(冻结交易金额)",
  16352. "type": "number"
  16353. },
  16354. "gcaccountid": {
  16355. "description": "账户ID[合约币种]",
  16356. "type": "integer"
  16357. },
  16358. "goodscode": {
  16359. "description": "商品代码",
  16360. "type": "string"
  16361. },
  16362. "goodsid": {
  16363. "description": "商品ID",
  16364. "type": "integer"
  16365. },
  16366. "goodsname": {
  16367. "description": "商品名称",
  16368. "type": "string"
  16369. },
  16370. "histradedate": {
  16371. "description": "历史交易日",
  16372. "type": "string"
  16373. },
  16374. "isconfirmexercise": {
  16375. "description": "是否确认行权- 0:否 1:是",
  16376. "type": "integer"
  16377. },
  16378. "ispreexercise": {
  16379. "description": "是否预申报- 0:否 1:是",
  16380. "type": "integer"
  16381. },
  16382. "isvaliddata": {
  16383. "description": "是否有效 - 0:无效 1:有效",
  16384. "type": "integer"
  16385. },
  16386. "listingselecttype": {
  16387. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16388. "type": "integer"
  16389. },
  16390. "marginalgorithm": {
  16391. "description": "保证金收取方式 1:比率 2:固定",
  16392. "type": "integer"
  16393. },
  16394. "marginvalue": {
  16395. "description": "即市保证金设置值",
  16396. "type": "number"
  16397. },
  16398. "marketid": {
  16399. "description": "市场ID",
  16400. "type": "integer"
  16401. },
  16402. "marketmaxsub": {
  16403. "description": "市价最大偏移范围",
  16404. "type": "number"
  16405. },
  16406. "marketname": {
  16407. "description": "市场名称",
  16408. "type": "string"
  16409. },
  16410. "memberuserid": {
  16411. "description": "所属会员UserID",
  16412. "type": "integer"
  16413. },
  16414. "openexchagechargevalue": {
  16415. "description": "建仓交易所手续费设置值",
  16416. "type": "number"
  16417. },
  16418. "openfeealgorithm": {
  16419. "description": "建仓手续费收取方式 1:比率 2:固定",
  16420. "type": "integer"
  16421. },
  16422. "openfreezecharge": {
  16423. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16424. "type": "number"
  16425. },
  16426. "openmemberchargevalue": {
  16427. "description": "建仓会员手续费设置值",
  16428. "type": "number"
  16429. },
  16430. "openqty": {
  16431. "description": "开仓数量(先建后平操作,需要记录)",
  16432. "type": "integer"
  16433. },
  16434. "opentradeqty": {
  16435. "description": "开仓成交数量(先建后平操作,需要记录)",
  16436. "type": "integer"
  16437. },
  16438. "openunfreezecharge": {
  16439. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16440. "type": "number"
  16441. },
  16442. "operatetype": {
  16443. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16444. "type": "integer"
  16445. },
  16446. "operatorid": {
  16447. "description": "登录账号(LoginID)",
  16448. "type": "integer"
  16449. },
  16450. "optiontype": {
  16451. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16452. "type": "integer"
  16453. },
  16454. "orderid": {
  16455. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16456. "type": "string"
  16457. },
  16458. "orderprice": {
  16459. "description": "委托价格",
  16460. "type": "number"
  16461. },
  16462. "orderqty": {
  16463. "description": "委托数量",
  16464. "type": "integer"
  16465. },
  16466. "ordersrc": {
  16467. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16468. "type": "integer"
  16469. },
  16470. "orderstatus": {
  16471. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16472. "type": "integer"
  16473. },
  16474. "ordertime": {
  16475. "description": "委托时间",
  16476. "type": "string"
  16477. },
  16478. "preexerciseprice": {
  16479. "description": "预申报价格",
  16480. "type": "number"
  16481. },
  16482. "premium": {
  16483. "description": "权利金",
  16484. "type": "number"
  16485. },
  16486. "preorderid": {
  16487. "description": "关联预埋单号(止盈止损单时填写)",
  16488. "type": "string"
  16489. },
  16490. "pricemode": {
  16491. "description": "取价方式 - 1:市价 2: 限价",
  16492. "type": "integer"
  16493. },
  16494. "quoteid": {
  16495. "description": "报价单ID",
  16496. "type": "integer"
  16497. },
  16498. "relatedid": {
  16499. "description": "关联单号(交割单)",
  16500. "type": "string"
  16501. },
  16502. "retcode": {
  16503. "description": "错误代码",
  16504. "type": "integer"
  16505. },
  16506. "sessionid": {
  16507. "description": "会话ID",
  16508. "type": "integer"
  16509. },
  16510. "tradedate": {
  16511. "description": "交易日(yyyyMMdd)",
  16512. "type": "string"
  16513. },
  16514. "trademode": {
  16515. "description": "交易模式",
  16516. "type": "integer"
  16517. },
  16518. "tradeproperty": {
  16519. "description": "交易属性",
  16520. "type": "integer"
  16521. },
  16522. "tradeqty": {
  16523. "description": "成交数量",
  16524. "type": "integer"
  16525. },
  16526. "unfreezecharge": {
  16527. "description": "解冻手续费",
  16528. "type": "number"
  16529. },
  16530. "unfreezemargin": {
  16531. "description": "解冻保证金",
  16532. "type": "number"
  16533. },
  16534. "updatetime": {
  16535. "description": "更新时间",
  16536. "type": "string"
  16537. },
  16538. "uuid": {
  16539. "description": "发起端唯一id",
  16540. "type": "string"
  16541. },
  16542. "validtime": {
  16543. "description": "有效期限",
  16544. "type": "string"
  16545. },
  16546. "validtype": {
  16547. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16548. "type": "integer"
  16549. },
  16550. "volumetype": {
  16551. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16552. "type": "integer"
  16553. }
  16554. }
  16555. },
  16556. "order.QueryTradeDetailRsp": {
  16557. "type": "object",
  16558. "required": [
  16559. "accountid",
  16560. "buyorsell",
  16561. "goodsid",
  16562. "marketid",
  16563. "memberuserid",
  16564. "orderid",
  16565. "tradeamount",
  16566. "tradedate",
  16567. "tradeid",
  16568. "tradeprice",
  16569. "tradeqty",
  16570. "tradetime"
  16571. ],
  16572. "properties": {
  16573. "accountid": {
  16574. "description": "账户ID[报价币种]",
  16575. "type": "integer"
  16576. },
  16577. "buildtype": {
  16578. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  16579. "type": "integer"
  16580. },
  16581. "buyorsell": {
  16582. "description": "方向 - 0:买 1:卖",
  16583. "type": "integer"
  16584. },
  16585. "charge": {
  16586. "description": "手续费",
  16587. "type": "number"
  16588. },
  16589. "closecharge": {
  16590. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16591. "type": "number"
  16592. },
  16593. "closeexchagechargevalue": {
  16594. "description": "平仓交易所手续费设置值",
  16595. "type": "number"
  16596. },
  16597. "closefeealgorithm": {
  16598. "description": "平仓手续费收取方式 1:比率 2:固定",
  16599. "type": "integer"
  16600. },
  16601. "closememberchargevalue": {
  16602. "description": "平仓会员手续费设置值",
  16603. "type": "number"
  16604. },
  16605. "closepl": {
  16606. "description": "平仓盈亏",
  16607. "type": "number"
  16608. },
  16609. "closepl2": {
  16610. "description": "平仓盈亏[逐笔]",
  16611. "type": "number"
  16612. },
  16613. "closeqty": {
  16614. "description": "平仓数量(先建后平操作 需要记录)",
  16615. "type": "integer"
  16616. },
  16617. "creditamount": {
  16618. "description": "授信金额",
  16619. "type": "number"
  16620. },
  16621. "gcaccountid": {
  16622. "description": "账户ID[合约币种]",
  16623. "type": "integer"
  16624. },
  16625. "goodscode": {
  16626. "description": "商品代码",
  16627. "type": "string"
  16628. },
  16629. "goodsid": {
  16630. "description": "商品ID",
  16631. "type": "integer"
  16632. },
  16633. "goodsname": {
  16634. "description": "商品名称",
  16635. "type": "string"
  16636. },
  16637. "intclosepl": {
  16638. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  16639. "type": "integer"
  16640. },
  16641. "isconfirmexercise": {
  16642. "description": "是否确认行权- 0:否 1:是",
  16643. "type": "integer"
  16644. },
  16645. "ismain": {
  16646. "description": "是否主单 - 0:不是 1:是",
  16647. "type": "integer"
  16648. },
  16649. "ispreexercise": {
  16650. "description": "是否预申报- 0:否 1:是",
  16651. "type": "integer"
  16652. },
  16653. "isreckoned": {
  16654. "description": "是否结算 - 0:未结算 1:已结算",
  16655. "type": "integer"
  16656. },
  16657. "listingselecttype": {
  16658. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16659. "type": "integer"
  16660. },
  16661. "marketid": {
  16662. "description": "市场ID",
  16663. "type": "integer"
  16664. },
  16665. "marketname": {
  16666. "description": "市场名称",
  16667. "type": "string"
  16668. },
  16669. "matchaccountid": {
  16670. "description": "对手账号id",
  16671. "type": "integer"
  16672. },
  16673. "memberuserid": {
  16674. "description": "会员id 个人投资者 需要填写",
  16675. "type": "integer"
  16676. },
  16677. "opencharge": {
  16678. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  16679. "type": "number"
  16680. },
  16681. "openexchagechargevalue": {
  16682. "description": "建仓交易所手续费设置值",
  16683. "type": "number"
  16684. },
  16685. "openfeealgorithm": {
  16686. "description": "建仓手续费收取方式 1:比率 2:固定",
  16687. "type": "integer"
  16688. },
  16689. "openmemberchargevalue": {
  16690. "description": "建仓会员手续费设置值",
  16691. "type": "number"
  16692. },
  16693. "openqty": {
  16694. "description": "开仓数量(先建后平操作 需要记录)",
  16695. "type": "integer"
  16696. },
  16697. "optiontype": {
  16698. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16699. "type": "integer"
  16700. },
  16701. "orderid": {
  16702. "description": "委托单号",
  16703. "type": "string"
  16704. },
  16705. "performanceplanid": {
  16706. "description": "履约计划ID[期权]",
  16707. "type": "integer"
  16708. },
  16709. "performancestatus": {
  16710. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  16711. "type": "integer"
  16712. },
  16713. "preexerciseprice": {
  16714. "description": "预申报价格",
  16715. "type": "number"
  16716. },
  16717. "premium": {
  16718. "description": "权利金 - [持仓单的权利金]",
  16719. "type": "number"
  16720. },
  16721. "relatedouttradeid": {
  16722. "description": "关联外部成交单ID",
  16723. "type": "integer"
  16724. },
  16725. "status": {
  16726. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  16727. "type": "integer"
  16728. },
  16729. "tradeamount": {
  16730. "description": "成交金额[账户币种,用于所有权]",
  16731. "type": "number"
  16732. },
  16733. "tradedate": {
  16734. "description": "交易日(yyyyMMdd)",
  16735. "type": "string"
  16736. },
  16737. "tradeid": {
  16738. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16739. "type": "string"
  16740. },
  16741. "trademode": {
  16742. "description": "交易模式",
  16743. "type": "integer"
  16744. },
  16745. "tradeprice": {
  16746. "description": "成交价格",
  16747. "type": "number"
  16748. },
  16749. "tradeproperty": {
  16750. "description": "交易属性",
  16751. "type": "integer"
  16752. },
  16753. "tradeqty": {
  16754. "description": "成交数量",
  16755. "type": "integer"
  16756. },
  16757. "tradetime": {
  16758. "description": "成交时间",
  16759. "type": "string"
  16760. },
  16761. "tradetype": {
  16762. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16763. "type": "integer"
  16764. }
  16765. }
  16766. },
  16767. "order.QueryTradeOrderDetailRsp": {
  16768. "type": "object",
  16769. "required": [
  16770. "accountid",
  16771. "buildtype",
  16772. "buyorsell",
  16773. "goodsid",
  16774. "marketid",
  16775. "operatetype",
  16776. "orderqty",
  16777. "ordertime",
  16778. "pricemode",
  16779. "tradedate",
  16780. "validtype"
  16781. ],
  16782. "properties": {
  16783. "accountid": {
  16784. "description": "账户ID[报价币种]",
  16785. "type": "integer"
  16786. },
  16787. "buildtype": {
  16788. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16789. "type": "integer"
  16790. },
  16791. "buyorsell": {
  16792. "description": "买卖 - 0:买 1:卖",
  16793. "type": "integer"
  16794. },
  16795. "cancelorderid": {
  16796. "description": "撤单单号(撤单时填写)",
  16797. "type": "string"
  16798. },
  16799. "cancelqty": {
  16800. "description": "撤单数量",
  16801. "type": "integer"
  16802. },
  16803. "clienttype": {
  16804. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16805. "type": "integer"
  16806. },
  16807. "closefreezecharge": {
  16808. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16809. "type": "number"
  16810. },
  16811. "closeqty": {
  16812. "description": "平仓数量(先建后平操作 需要记录)",
  16813. "type": "integer"
  16814. },
  16815. "closetradeqty": {
  16816. "description": "平仓成交数量(先建后平操作,需要记录)",
  16817. "type": "integer"
  16818. },
  16819. "closeunfreezecharge": {
  16820. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16821. "type": "number"
  16822. },
  16823. "delistingtype": {
  16824. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16825. "type": "integer"
  16826. },
  16827. "enableqty": {
  16828. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16829. "type": "integer"
  16830. },
  16831. "freezecharge": {
  16832. "description": "冻结手续费",
  16833. "type": "number"
  16834. },
  16835. "freezemargin": {
  16836. "description": "冻结保证金(冻结交易金额)",
  16837. "type": "number"
  16838. },
  16839. "goodscode": {
  16840. "description": "商品代码",
  16841. "type": "string"
  16842. },
  16843. "goodsid": {
  16844. "description": "商品ID",
  16845. "type": "integer"
  16846. },
  16847. "goodsname": {
  16848. "description": "商品名称",
  16849. "type": "string"
  16850. },
  16851. "listingselecttype": {
  16852. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16853. "type": "integer"
  16854. },
  16855. "marketid": {
  16856. "description": "市场ID",
  16857. "type": "integer"
  16858. },
  16859. "marketname": {
  16860. "description": "市场名称",
  16861. "type": "string"
  16862. },
  16863. "openfreezecharge": {
  16864. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16865. "type": "number"
  16866. },
  16867. "openqty": {
  16868. "description": "开仓数量(先建后平操作,需要记录)",
  16869. "type": "integer"
  16870. },
  16871. "opentradeqty": {
  16872. "description": "开仓成交数量(先建后平操作,需要记录)",
  16873. "type": "integer"
  16874. },
  16875. "openunfreezecharge": {
  16876. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16877. "type": "number"
  16878. },
  16879. "operatetype": {
  16880. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16881. "type": "integer"
  16882. },
  16883. "operatorid": {
  16884. "description": "登录账号(LoginID)",
  16885. "type": "integer"
  16886. },
  16887. "orderid": {
  16888. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16889. "type": "string"
  16890. },
  16891. "orderprice": {
  16892. "description": "委托价格",
  16893. "type": "number"
  16894. },
  16895. "orderqty": {
  16896. "description": "委托数量",
  16897. "type": "integer"
  16898. },
  16899. "ordersrc": {
  16900. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16901. "type": "integer"
  16902. },
  16903. "orderstatus": {
  16904. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16905. "type": "integer"
  16906. },
  16907. "ordertime": {
  16908. "description": "委托时间",
  16909. "type": "string"
  16910. },
  16911. "preorderid": {
  16912. "description": "关联预埋单号(止盈止损单时填写)",
  16913. "type": "string"
  16914. },
  16915. "pricemode": {
  16916. "description": "取价方式 - 1:市价 2: 限价",
  16917. "type": "integer"
  16918. },
  16919. "relatedid": {
  16920. "description": "关联单号(交割单)",
  16921. "type": "string"
  16922. },
  16923. "tradedate": {
  16924. "description": "交易日(yyyyMMdd)",
  16925. "type": "string"
  16926. },
  16927. "trademode": {
  16928. "description": "交易模式",
  16929. "type": "integer"
  16930. },
  16931. "tradeqty": {
  16932. "description": "成交数量",
  16933. "type": "integer"
  16934. },
  16935. "unfreezecharge": {
  16936. "description": "解冻手续费",
  16937. "type": "number"
  16938. },
  16939. "unfreezemargin": {
  16940. "description": "解冻保证金",
  16941. "type": "number"
  16942. },
  16943. "validtime": {
  16944. "description": "有效期限",
  16945. "type": "string"
  16946. },
  16947. "validtype": {
  16948. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16949. "type": "integer"
  16950. },
  16951. "volumetype": {
  16952. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16953. "type": "integer"
  16954. }
  16955. }
  16956. },
  16957. "order.QueryTradePositionRsp": {
  16958. "type": "object",
  16959. "required": [
  16960. "goodsid"
  16961. ],
  16962. "properties": {
  16963. "accountid": {
  16964. "description": "资金账户",
  16965. "type": "integer"
  16966. },
  16967. "agreeunit": {
  16968. "description": "合约单位",
  16969. "type": "number"
  16970. },
  16971. "averageprice": {
  16972. "description": "持仓均价",
  16973. "type": "number"
  16974. },
  16975. "buyorsell": {
  16976. "description": "方向 - 0:买 1:卖",
  16977. "type": "integer"
  16978. },
  16979. "closetotalqty": {
  16980. "description": "平仓总数量",
  16981. "type": "integer"
  16982. },
  16983. "curholderamount": {
  16984. "description": "当前持仓总金额[商品币种]",
  16985. "type": "number"
  16986. },
  16987. "curpositionqty": {
  16988. "description": "当前持仓总数量",
  16989. "type": "integer"
  16990. },
  16991. "currencyid": {
  16992. "description": "报价货币ID",
  16993. "type": "integer"
  16994. },
  16995. "curtdposition": {
  16996. "description": "期末今日头寸",
  16997. "type": "integer"
  16998. },
  16999. "decimalplace": {
  17000. "description": "报价小数位",
  17001. "type": "integer"
  17002. },
  17003. "enableqty": {
  17004. "description": "可用量",
  17005. "type": "integer"
  17006. },
  17007. "fretdposition": {
  17008. "description": "冻结今日头寸",
  17009. "type": "integer"
  17010. },
  17011. "frozenqty": {
  17012. "description": "持仓冻结数量",
  17013. "type": "integer"
  17014. },
  17015. "goodscode": {
  17016. "description": "商品代码",
  17017. "type": "string"
  17018. },
  17019. "goodsid": {
  17020. "description": "商品Id",
  17021. "type": "integer"
  17022. },
  17023. "goodsname": {
  17024. "description": "商品名称",
  17025. "type": "string"
  17026. },
  17027. "goodunit": {
  17028. "description": "报价单位",
  17029. "type": "string"
  17030. },
  17031. "goodunitid": {
  17032. "description": "报价单位ID",
  17033. "type": "integer"
  17034. },
  17035. "holderamount": {
  17036. "description": "期初持仓总金额[商品币种]",
  17037. "type": "number"
  17038. },
  17039. "marketid": {
  17040. "description": "所属市场ID",
  17041. "type": "integer"
  17042. },
  17043. "openreqqty": {
  17044. "description": "开仓申请数量(用于比较最大持仓数量)",
  17045. "type": "integer"
  17046. },
  17047. "opentotalqty": {
  17048. "description": "开仓总数量",
  17049. "type": "integer"
  17050. },
  17051. "otherfrozenqty": {
  17052. "description": "持仓其他冻结数量(交割冻结)",
  17053. "type": "integer"
  17054. },
  17055. "positionqty": {
  17056. "description": "期初持仓数量",
  17057. "type": "integer"
  17058. },
  17059. "tnqty": {
  17060. "description": "T+N冻结总量",
  17061. "type": "integer"
  17062. },
  17063. "tnusedqty": {
  17064. "description": "T+N使用量(可以使用T+N的冻结数量)",
  17065. "type": "integer"
  17066. },
  17067. "trademode": {
  17068. "description": "交易模式",
  17069. "type": "integer"
  17070. },
  17071. "usedmargin": {
  17072. "description": "占用保证金[商品币种]",
  17073. "type": "number"
  17074. }
  17075. }
  17076. },
  17077. "quote.HistoryData": {
  17078. "type": "object",
  17079. "properties": {
  17080. "c": {
  17081. "description": "收盘价",
  17082. "type": "number"
  17083. },
  17084. "f": {
  17085. "description": "是否补充数据",
  17086. "type": "boolean"
  17087. },
  17088. "h": {
  17089. "description": "最高价",
  17090. "type": "number"
  17091. },
  17092. "hv": {
  17093. "description": "持仓量",
  17094. "type": "integer"
  17095. },
  17096. "l": {
  17097. "description": "最低价",
  17098. "type": "number"
  17099. },
  17100. "o": {
  17101. "description": "开盘价",
  17102. "type": "number"
  17103. },
  17104. "s": {
  17105. "description": "结算价,日线周期(包括)以上才有",
  17106. "type": "number"
  17107. },
  17108. "ts": {
  17109. "description": "时间",
  17110. "type": "string"
  17111. },
  17112. "tt": {
  17113. "description": "总金额",
  17114. "type": "number"
  17115. },
  17116. "tv": {
  17117. "description": "总量",
  17118. "type": "integer"
  17119. }
  17120. }
  17121. },
  17122. "quote.QueryQuoteDayRsp": {
  17123. "type": "object",
  17124. "properties": {
  17125. "ask": {
  17126. "description": "卖1",
  17127. "type": "number"
  17128. },
  17129. "ask10": {
  17130. "description": "卖10",
  17131. "type": "number"
  17132. },
  17133. "ask2": {
  17134. "description": "卖2",
  17135. "type": "number"
  17136. },
  17137. "ask3": {
  17138. "description": "卖3",
  17139. "type": "number"
  17140. },
  17141. "ask4": {
  17142. "description": "卖4",
  17143. "type": "number"
  17144. },
  17145. "ask5": {
  17146. "description": "卖5",
  17147. "type": "number"
  17148. },
  17149. "ask6": {
  17150. "description": "卖6",
  17151. "type": "number"
  17152. },
  17153. "ask7": {
  17154. "description": "卖7",
  17155. "type": "number"
  17156. },
  17157. "ask8": {
  17158. "description": "卖8",
  17159. "type": "number"
  17160. },
  17161. "ask9": {
  17162. "description": "卖9",
  17163. "type": "number"
  17164. },
  17165. "askorderid": {
  17166. "description": "卖单号1",
  17167. "type": "integer"
  17168. },
  17169. "askorderid2": {
  17170. "description": "卖单号2",
  17171. "type": "integer"
  17172. },
  17173. "askorderid3": {
  17174. "description": "卖单号3",
  17175. "type": "integer"
  17176. },
  17177. "askorderid4": {
  17178. "description": "卖单号4",
  17179. "type": "integer"
  17180. },
  17181. "askorderid5": {
  17182. "description": "卖单号5",
  17183. "type": "integer"
  17184. },
  17185. "askordervolume": {
  17186. "description": "卖单量1",
  17187. "type": "integer"
  17188. },
  17189. "askordervolume10": {
  17190. "description": "卖单量10",
  17191. "type": "integer"
  17192. },
  17193. "askordervolume2": {
  17194. "description": "卖单量2",
  17195. "type": "integer"
  17196. },
  17197. "askordervolume3": {
  17198. "description": "卖单量3",
  17199. "type": "integer"
  17200. },
  17201. "askordervolume4": {
  17202. "description": "卖单量4",
  17203. "type": "integer"
  17204. },
  17205. "askordervolume5": {
  17206. "description": "卖单量5",
  17207. "type": "integer"
  17208. },
  17209. "askordervolume6": {
  17210. "description": "卖单量6",
  17211. "type": "integer"
  17212. },
  17213. "askordervolume7": {
  17214. "description": "卖单量7",
  17215. "type": "integer"
  17216. },
  17217. "askordervolume8": {
  17218. "description": "卖单量8",
  17219. "type": "integer"
  17220. },
  17221. "askordervolume9": {
  17222. "description": "卖单量9",
  17223. "type": "integer"
  17224. },
  17225. "askqueueinfo": {
  17226. "description": "大利市卖港股用",
  17227. "type": "string"
  17228. },
  17229. "askvolume": {
  17230. "description": "卖量1",
  17231. "type": "integer"
  17232. },
  17233. "askvolume10": {
  17234. "description": "卖量10",
  17235. "type": "integer"
  17236. },
  17237. "askvolume2": {
  17238. "description": "卖量2",
  17239. "type": "integer"
  17240. },
  17241. "askvolume3": {
  17242. "description": "卖量3",
  17243. "type": "integer"
  17244. },
  17245. "askvolume4": {
  17246. "description": "卖量4",
  17247. "type": "integer"
  17248. },
  17249. "askvolume5": {
  17250. "description": "卖量5",
  17251. "type": "integer"
  17252. },
  17253. "askvolume6": {
  17254. "description": "卖量6",
  17255. "type": "integer"
  17256. },
  17257. "askvolume7": {
  17258. "description": "卖量7",
  17259. "type": "integer"
  17260. },
  17261. "askvolume8": {
  17262. "description": "卖量8",
  17263. "type": "integer"
  17264. },
  17265. "askvolume9": {
  17266. "description": "卖量9",
  17267. "type": "integer"
  17268. },
  17269. "averageprice": {
  17270. "description": "均价",
  17271. "type": "number"
  17272. },
  17273. "bid": {
  17274. "description": "买1",
  17275. "type": "number"
  17276. },
  17277. "bid10": {
  17278. "description": "买10",
  17279. "type": "number"
  17280. },
  17281. "bid2": {
  17282. "description": "买2",
  17283. "type": "number"
  17284. },
  17285. "bid3": {
  17286. "description": "买3",
  17287. "type": "number"
  17288. },
  17289. "bid4": {
  17290. "description": "买4",
  17291. "type": "number"
  17292. },
  17293. "bid5": {
  17294. "description": "买5",
  17295. "type": "number"
  17296. },
  17297. "bid6": {
  17298. "description": "买6",
  17299. "type": "number"
  17300. },
  17301. "bid7": {
  17302. "description": "买7",
  17303. "type": "number"
  17304. },
  17305. "bid8": {
  17306. "description": "买8",
  17307. "type": "number"
  17308. },
  17309. "bid9": {
  17310. "description": "买9",
  17311. "type": "number"
  17312. },
  17313. "bidorderid": {
  17314. "description": "买单号1",
  17315. "type": "integer"
  17316. },
  17317. "bidorderid2": {
  17318. "description": "买单号2",
  17319. "type": "integer"
  17320. },
  17321. "bidorderid3": {
  17322. "description": "买单号3",
  17323. "type": "integer"
  17324. },
  17325. "bidorderid4": {
  17326. "description": "买单号4",
  17327. "type": "integer"
  17328. },
  17329. "bidorderid5": {
  17330. "description": "买单号5",
  17331. "type": "integer"
  17332. },
  17333. "bidordervolume": {
  17334. "description": "买单量1",
  17335. "type": "integer"
  17336. },
  17337. "bidordervolume10": {
  17338. "description": "买单量10",
  17339. "type": "integer"
  17340. },
  17341. "bidordervolume2": {
  17342. "description": "买单量2",
  17343. "type": "integer"
  17344. },
  17345. "bidordervolume3": {
  17346. "description": "买单量3",
  17347. "type": "integer"
  17348. },
  17349. "bidordervolume4": {
  17350. "description": "买单量4",
  17351. "type": "integer"
  17352. },
  17353. "bidordervolume5": {
  17354. "description": "买单量5",
  17355. "type": "integer"
  17356. },
  17357. "bidordervolume6": {
  17358. "description": "买单量6",
  17359. "type": "integer"
  17360. },
  17361. "bidordervolume7": {
  17362. "description": "买单量7",
  17363. "type": "integer"
  17364. },
  17365. "bidordervolume8": {
  17366. "description": "买单量8",
  17367. "type": "integer"
  17368. },
  17369. "bidordervolume9": {
  17370. "description": "买单量9",
  17371. "type": "integer"
  17372. },
  17373. "bidqueueinfo": {
  17374. "description": "大利市买港股用",
  17375. "type": "string"
  17376. },
  17377. "bidvolume": {
  17378. "description": "买量1",
  17379. "type": "integer"
  17380. },
  17381. "bidvolume10": {
  17382. "description": "买量10",
  17383. "type": "integer"
  17384. },
  17385. "bidvolume2": {
  17386. "description": "买量2",
  17387. "type": "integer"
  17388. },
  17389. "bidvolume3": {
  17390. "description": "买量3",
  17391. "type": "integer"
  17392. },
  17393. "bidvolume4": {
  17394. "description": "买量4",
  17395. "type": "integer"
  17396. },
  17397. "bidvolume5": {
  17398. "description": "买量5",
  17399. "type": "integer"
  17400. },
  17401. "bidvolume6": {
  17402. "description": "买量6",
  17403. "type": "integer"
  17404. },
  17405. "bidvolume7": {
  17406. "description": "买量7",
  17407. "type": "integer"
  17408. },
  17409. "bidvolume8": {
  17410. "description": "买量8",
  17411. "type": "integer"
  17412. },
  17413. "bidvolume9": {
  17414. "description": "买量9",
  17415. "type": "integer"
  17416. },
  17417. "calloptionpremiums": {
  17418. "description": "认购期权1",
  17419. "type": "integer"
  17420. },
  17421. "calloptionpremiums2": {
  17422. "description": "认购期权2",
  17423. "type": "integer"
  17424. },
  17425. "calloptionpremiums3": {
  17426. "description": "认购期权3",
  17427. "type": "integer"
  17428. },
  17429. "calloptionpremiums4": {
  17430. "description": "认购期权4",
  17431. "type": "integer"
  17432. },
  17433. "calloptionpremiums5": {
  17434. "description": "认购期权5",
  17435. "type": "integer"
  17436. },
  17437. "cleartime": {
  17438. "description": "清盘时间",
  17439. "type": "integer"
  17440. },
  17441. "exchangecode": {
  17442. "description": "交易所代码",
  17443. "type": "integer"
  17444. },
  17445. "exchangedate": {
  17446. "description": "交易日",
  17447. "type": "integer"
  17448. },
  17449. "goodscode": {
  17450. "description": "商品代码",
  17451. "type": "string"
  17452. },
  17453. "grepmarketprice": {
  17454. "description": "暗盘价 港股专用",
  17455. "type": "number"
  17456. },
  17457. "highest": {
  17458. "description": "最高价",
  17459. "type": "number"
  17460. },
  17461. "holdincrement": {
  17462. "description": "单笔持仓",
  17463. "type": "integer"
  17464. },
  17465. "holdvolume": {
  17466. "description": "持仓",
  17467. "type": "integer"
  17468. },
  17469. "iep": {
  17470. "description": "平衡价 港股专用",
  17471. "type": "number"
  17472. },
  17473. "iev": {
  17474. "description": "平衡量 港股专用",
  17475. "type": "number"
  17476. },
  17477. "inventory": {
  17478. "description": "库存",
  17479. "type": "integer"
  17480. },
  17481. "iscleared": {
  17482. "description": "是否清盘标志",
  17483. "type": "integer"
  17484. },
  17485. "issettled": {
  17486. "description": "是否结算标志",
  17487. "type": "integer"
  17488. },
  17489. "last": {
  17490. "description": "最新价",
  17491. "type": "number"
  17492. },
  17493. "lastlot": {
  17494. "description": "最新成交手数",
  17495. "type": "integer"
  17496. },
  17497. "lasttime": {
  17498. "description": "行情时间(只有现价变化行情时间才变化)",
  17499. "type": "string"
  17500. },
  17501. "lastturnover": {
  17502. "description": "最新成交金额",
  17503. "type": "number"
  17504. },
  17505. "lastvolume": {
  17506. "description": "最新成交量",
  17507. "type": "integer"
  17508. },
  17509. "limitdown": {
  17510. "description": "跌停价",
  17511. "type": "number"
  17512. },
  17513. "limitup": {
  17514. "description": "涨停价",
  17515. "type": "number"
  17516. },
  17517. "lowest": {
  17518. "description": "最低价",
  17519. "type": "number"
  17520. },
  17521. "nontotalholdervolume": {
  17522. "description": "非交易持仓量",
  17523. "type": "integer"
  17524. },
  17525. "nontotallot": {
  17526. "description": "非交易总手数",
  17527. "type": "integer"
  17528. },
  17529. "nontotalturnover": {
  17530. "description": "非交易总金额",
  17531. "type": "integer"
  17532. },
  17533. "nontotalvolume": {
  17534. "description": "非交易总量",
  17535. "type": "integer"
  17536. },
  17537. "opened": {
  17538. "description": "开盘价",
  17539. "type": "number"
  17540. },
  17541. "opentime": {
  17542. "description": "开盘时间",
  17543. "type": "string"
  17544. },
  17545. "orderid": {
  17546. "description": "序号",
  17547. "type": "integer"
  17548. },
  17549. "preclose": {
  17550. "description": "昨收",
  17551. "type": "number"
  17552. },
  17553. "preholdvolume": {
  17554. "description": "昨持仓",
  17555. "type": "integer"
  17556. },
  17557. "presettle": {
  17558. "description": "昨结价",
  17559. "type": "number"
  17560. },
  17561. "publictradetype": {
  17562. "description": "公共交易标志类型 港股专用",
  17563. "type": "string"
  17564. },
  17565. "putoptionpremiums": {
  17566. "description": "认沽期权1",
  17567. "type": "integer"
  17568. },
  17569. "putoptionpremiums2": {
  17570. "description": "认沽期权2",
  17571. "type": "integer"
  17572. },
  17573. "putoptionpremiums3": {
  17574. "description": "认沽期权3",
  17575. "type": "integer"
  17576. },
  17577. "putoptionpremiums4": {
  17578. "description": "认沽期权4",
  17579. "type": "integer"
  17580. },
  17581. "putoptionpremiums5": {
  17582. "description": "认沽期权5",
  17583. "type": "integer"
  17584. },
  17585. "settle": {
  17586. "description": "结算价",
  17587. "type": "number"
  17588. },
  17589. "strikeprice": {
  17590. "description": "发行价",
  17591. "type": "number"
  17592. },
  17593. "totalaskvolume": {
  17594. "description": "内盘",
  17595. "type": "integer"
  17596. },
  17597. "totalbidvolume": {
  17598. "description": "外盘",
  17599. "type": "integer"
  17600. },
  17601. "totallot": {
  17602. "description": "总手数",
  17603. "type": "integer"
  17604. },
  17605. "totalturnover": {
  17606. "description": "总金额",
  17607. "type": "number"
  17608. },
  17609. "totalvolume": {
  17610. "description": "总量",
  17611. "type": "integer"
  17612. },
  17613. "utclasttime": {
  17614. "description": "utc的行情时间",
  17615. "type": "string"
  17616. }
  17617. }
  17618. },
  17619. "quote.QueryTSDataRsp": {
  17620. "type": "object",
  17621. "properties": {
  17622. "decimalPlace": {
  17623. "description": "小数位",
  17624. "type": "integer"
  17625. },
  17626. "endTime": {
  17627. "description": "结束时间",
  17628. "type": "string"
  17629. },
  17630. "goodsCode": {
  17631. "description": "商品代码",
  17632. "type": "string"
  17633. },
  17634. "historyDatas": {
  17635. "description": "历史数据",
  17636. "type": "array",
  17637. "items": {
  17638. "$ref": "#/definitions/quote.HistoryData"
  17639. }
  17640. },
  17641. "outGoodsCode": {
  17642. "description": "外部商品代码",
  17643. "type": "string"
  17644. },
  17645. "preSettle": {
  17646. "description": "昨结",
  17647. "type": "number"
  17648. },
  17649. "startTime": {
  17650. "description": "开始时间",
  17651. "type": "string"
  17652. },
  17653. "tradeDate": {
  17654. "description": "交易日",
  17655. "type": "string"
  17656. }
  17657. }
  17658. },
  17659. "szdz.QueryConvertLogRsp": {
  17660. "type": "object",
  17661. "required": [
  17662. "logid"
  17663. ],
  17664. "properties": {
  17665. "accountid": {
  17666. "description": "资金账户ID",
  17667. "type": "integer"
  17668. },
  17669. "clientticket": {
  17670. "description": "客户端流水号",
  17671. "type": "string"
  17672. },
  17673. "converttype": {
  17674. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  17675. "type": "integer"
  17676. },
  17677. "createtime": {
  17678. "description": "记账时间",
  17679. "type": "string"
  17680. },
  17681. "daymaxvalue": {
  17682. "description": "配置当日最大转入限制",
  17683. "type": "number"
  17684. },
  17685. "daymaxvalue2": {
  17686. "description": "配置当日最大转入限制(转入)",
  17687. "type": "number"
  17688. },
  17689. "goodscode": {
  17690. "description": "商品代码",
  17691. "type": "string"
  17692. },
  17693. "goodsname": {
  17694. "description": "商品名称",
  17695. "type": "string"
  17696. },
  17697. "handlestatus": {
  17698. "description": "处理状态",
  17699. "type": "integer"
  17700. },
  17701. "innergoodsid": {
  17702. "description": "内部商品ID",
  17703. "type": "integer"
  17704. },
  17705. "inratio": {
  17706. "description": "配置转入比值",
  17707. "type": "integer"
  17708. },
  17709. "invalue": {
  17710. "description": "目标值",
  17711. "type": "number"
  17712. },
  17713. "logid": {
  17714. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17715. "type": "integer"
  17716. },
  17717. "mobile": {
  17718. "description": "手机号码(加密存储)",
  17719. "type": "string"
  17720. },
  17721. "outergoodscode": {
  17722. "description": "外部商品代码[JD\\PD]",
  17723. "type": "string"
  17724. },
  17725. "outratio": {
  17726. "description": "配置转出比值",
  17727. "type": "integer"
  17728. },
  17729. "outvalue": {
  17730. "description": "源值",
  17731. "type": "number"
  17732. },
  17733. "pddecimalplace": {
  17734. "description": "PD小数位",
  17735. "type": "integer"
  17736. },
  17737. "qty": {
  17738. "description": "数量",
  17739. "type": "string"
  17740. },
  17741. "remark": {
  17742. "description": "备注",
  17743. "type": "string"
  17744. },
  17745. "sessionid": {
  17746. "description": "会话ID",
  17747. "type": "integer"
  17748. },
  17749. "timemaxvalue": {
  17750. "description": "配置单次最大转入限制",
  17751. "type": "number"
  17752. },
  17753. "timemaxvalue2": {
  17754. "description": "配置单次最大转入限制(转入)",
  17755. "type": "number"
  17756. },
  17757. "timeminvalue": {
  17758. "description": "配置单次最小数量限制",
  17759. "type": "number"
  17760. },
  17761. "timeminvalue2": {
  17762. "description": "配置单次最小数量限制(转入)",
  17763. "type": "number"
  17764. },
  17765. "tradedate": {
  17766. "description": "交易日(yyyyMMdd)",
  17767. "type": "string"
  17768. },
  17769. "userid": {
  17770. "description": "用户ID",
  17771. "type": "integer"
  17772. }
  17773. }
  17774. },
  17775. "szdz.QueryGoodsPickupRsp": {
  17776. "type": "object",
  17777. "required": [
  17778. "takeorderid"
  17779. ],
  17780. "properties": {
  17781. "accountid": {
  17782. "description": "账户ID",
  17783. "type": "integer"
  17784. },
  17785. "address": {
  17786. "description": "提货人详细地址",
  17787. "type": "string"
  17788. },
  17789. "auditer": {
  17790. "description": "审核人",
  17791. "type": "integer"
  17792. },
  17793. "audittime": {
  17794. "description": "审核时间",
  17795. "type": "string"
  17796. },
  17797. "cardnum": {
  17798. "description": "提货人证件号码",
  17799. "type": "string"
  17800. },
  17801. "cardtypeid": {
  17802. "description": "提货人证件类型",
  17803. "type": "integer"
  17804. },
  17805. "checkremark": {
  17806. "description": "审核备注",
  17807. "type": "string"
  17808. },
  17809. "goodscode": {
  17810. "description": "商品代码",
  17811. "type": "string"
  17812. },
  17813. "goodsid": {
  17814. "description": "商品ID",
  17815. "type": "integer"
  17816. },
  17817. "goodsname": {
  17818. "description": "商品名称",
  17819. "type": "string"
  17820. },
  17821. "handlestatus": {
  17822. "description": "处理状态",
  17823. "type": "integer"
  17824. },
  17825. "marketid": {
  17826. "description": "市场ID",
  17827. "type": "integer"
  17828. },
  17829. "phonenum": {
  17830. "description": "提货人联系方式",
  17831. "type": "string"
  17832. },
  17833. "qty": {
  17834. "description": "提货数量",
  17835. "type": "number"
  17836. },
  17837. "recivername": {
  17838. "description": "提货人姓名",
  17839. "type": "string"
  17840. },
  17841. "reqtime": {
  17842. "description": "更新时间",
  17843. "type": "string"
  17844. },
  17845. "takemode": {
  17846. "description": "提货方式 - 2:自提 3:配送",
  17847. "type": "integer"
  17848. },
  17849. "takeorderid": {
  17850. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  17851. "type": "string"
  17852. },
  17853. "takeorderstatus": {
  17854. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  17855. "type": "integer"
  17856. },
  17857. "takeremark": {
  17858. "description": "提货备注",
  17859. "type": "string"
  17860. },
  17861. "tradedate": {
  17862. "description": "交易日(yyyyMMdd)",
  17863. "type": "string"
  17864. },
  17865. "userid": {
  17866. "description": "用户ID",
  17867. "type": "integer"
  17868. }
  17869. }
  17870. },
  17871. "szdz.QueryRecieptOrderRsp": {
  17872. "type": "object",
  17873. "required": [
  17874. "ordertime"
  17875. ],
  17876. "properties": {
  17877. "accountName": {
  17878. "description": "所属账号名称(已脱敏)",
  17879. "type": "string"
  17880. },
  17881. "accountid": {
  17882. "description": "资金账号",
  17883. "type": "integer"
  17884. },
  17885. "buyorsell": {
  17886. "description": "方向 - 0:买 1:卖",
  17887. "type": "integer"
  17888. },
  17889. "enableqty": {
  17890. "description": "可摘数量",
  17891. "type": "integer"
  17892. },
  17893. "goodscode": {
  17894. "description": "商品代码",
  17895. "type": "string"
  17896. },
  17897. "goodsid": {
  17898. "description": "商品ID",
  17899. "type": "integer"
  17900. },
  17901. "goodsname": {
  17902. "description": "商品名称",
  17903. "type": "string"
  17904. },
  17905. "orderid": {
  17906. "description": "委托单号",
  17907. "type": "string"
  17908. },
  17909. "orderprice": {
  17910. "description": "委托价格",
  17911. "type": "number"
  17912. },
  17913. "ordertime": {
  17914. "description": "委托时间",
  17915. "type": "string"
  17916. },
  17917. "tradedate": {
  17918. "description": "交易日(yyyyMMdd)",
  17919. "type": "string"
  17920. }
  17921. }
  17922. },
  17923. "szdz.QuerySZDZTradePositionRsp": {
  17924. "type": "object",
  17925. "properties": {
  17926. "accountid": {
  17927. "description": "账号Id",
  17928. "type": "integer"
  17929. },
  17930. "agreeunit": {
  17931. "description": "合约单位",
  17932. "type": "number"
  17933. },
  17934. "averageprice": {
  17935. "description": "持仓均价",
  17936. "type": "number"
  17937. },
  17938. "buyorsell": {
  17939. "description": "方向 - 0:买 1:卖",
  17940. "type": "integer"
  17941. },
  17942. "closetotalqty": {
  17943. "description": "平仓总数量",
  17944. "type": "integer"
  17945. },
  17946. "curholderamount": {
  17947. "description": "当前持仓总金额",
  17948. "type": "number"
  17949. },
  17950. "curpositionqty": {
  17951. "description": "当前持仓总数量",
  17952. "type": "integer"
  17953. },
  17954. "currencyid": {
  17955. "description": "报价货币ID",
  17956. "type": "integer"
  17957. },
  17958. "curtdposition": {
  17959. "description": "期末今日头寸",
  17960. "type": "integer"
  17961. },
  17962. "decimalplace": {
  17963. "description": "报价小数位",
  17964. "type": "integer"
  17965. },
  17966. "enableqty": {
  17967. "description": "可用量",
  17968. "type": "integer"
  17969. },
  17970. "fretdposition": {
  17971. "description": "冻结今日头寸",
  17972. "type": "integer"
  17973. },
  17974. "frozenqty": {
  17975. "description": "持仓冻结数量",
  17976. "type": "integer"
  17977. },
  17978. "goodscode": {
  17979. "description": "商品代码(内部)",
  17980. "type": "string"
  17981. },
  17982. "goodsid": {
  17983. "description": "商品Id",
  17984. "type": "integer"
  17985. },
  17986. "goodsname": {
  17987. "description": "商品名称",
  17988. "type": "string"
  17989. },
  17990. "goodunit": {
  17991. "description": "报价单位",
  17992. "type": "string"
  17993. },
  17994. "goodunitid": {
  17995. "description": "报价单位ID",
  17996. "type": "integer"
  17997. },
  17998. "holderamount": {
  17999. "description": "期初持仓总金额",
  18000. "type": "number"
  18001. },
  18002. "marketid": {
  18003. "description": "市场ID",
  18004. "type": "integer"
  18005. },
  18006. "openreqqty": {
  18007. "description": "开仓申请数量",
  18008. "type": "integer"
  18009. },
  18010. "opentotalqty": {
  18011. "description": "开仓总数量",
  18012. "type": "integer"
  18013. },
  18014. "otherfrozenqty": {
  18015. "description": "持仓其他冻结数量(交割冻结)",
  18016. "type": "integer"
  18017. },
  18018. "positionqty": {
  18019. "description": "期初持仓数量",
  18020. "type": "integer"
  18021. },
  18022. "szdz3freezqty": {
  18023. "description": "尚志大宗转换冻结总数量",
  18024. "type": "integer"
  18025. },
  18026. "tnqty": {
  18027. "description": "T+N冻结总量",
  18028. "type": "integer"
  18029. },
  18030. "tnusedqty": {
  18031. "description": "T+N使用量",
  18032. "type": "integer"
  18033. },
  18034. "trademode": {
  18035. "description": "交易模式",
  18036. "type": "integer"
  18037. },
  18038. "usedmargin": {
  18039. "description": "占用保证金",
  18040. "type": "number"
  18041. }
  18042. }
  18043. },
  18044. "taaccount.QueryAmountLogRsp": {
  18045. "type": "object",
  18046. "required": [
  18047. "accountid",
  18048. "amount",
  18049. "amountadjusttype",
  18050. "autoid",
  18051. "balance",
  18052. "createtime",
  18053. "currentbalance",
  18054. "operatetype"
  18055. ],
  18056. "properties": {
  18057. "OPERATETYPENAME": {
  18058. "description": "资金操作类型名称",
  18059. "type": "string"
  18060. },
  18061. "accountid": {
  18062. "description": "资金账户ID",
  18063. "type": "integer"
  18064. },
  18065. "agoodscode": {
  18066. "description": "竞拍商品代码",
  18067. "type": "string"
  18068. },
  18069. "agoodsname": {
  18070. "description": "竞拍商品名称",
  18071. "type": "string"
  18072. },
  18073. "amount": {
  18074. "description": "资金金额",
  18075. "type": "number"
  18076. },
  18077. "amountadjusttype": {
  18078. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18079. "type": "integer"
  18080. },
  18081. "autoid": {
  18082. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18083. "type": "integer"
  18084. },
  18085. "balance": {
  18086. "description": "期初余额",
  18087. "type": "number"
  18088. },
  18089. "businesscode": {
  18090. "description": "业务编号",
  18091. "type": "integer"
  18092. },
  18093. "createtime": {
  18094. "description": "发生时间",
  18095. "type": "string"
  18096. },
  18097. "currencyid": {
  18098. "description": "币种ID",
  18099. "type": "integer"
  18100. },
  18101. "currentbalance": {
  18102. "description": "期末余额(变动后金额)",
  18103. "type": "number"
  18104. },
  18105. "dgoodscode": {
  18106. "description": "交割商品代码",
  18107. "type": "string"
  18108. },
  18109. "dgoodsname": {
  18110. "description": "交割商品名称",
  18111. "type": "string"
  18112. },
  18113. "goodscode": {
  18114. "description": "商品代码",
  18115. "type": "string"
  18116. },
  18117. "goodsid": {
  18118. "description": "商品ID",
  18119. "type": "integer"
  18120. },
  18121. "goodsname": {
  18122. "description": "商品名称",
  18123. "type": "string"
  18124. },
  18125. "marketid": {
  18126. "description": "市场ID",
  18127. "type": "integer"
  18128. },
  18129. "marketname": {
  18130. "description": "市场名称",
  18131. "type": "string"
  18132. },
  18133. "moneyticket": {
  18134. "description": "资金流水号:银行端流水号",
  18135. "type": "integer"
  18136. },
  18137. "operatetype": {
  18138. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  18139. "type": "integer"
  18140. },
  18141. "relationorderid": {
  18142. "description": "关联单号",
  18143. "type": "string"
  18144. },
  18145. "remark": {
  18146. "description": "备注",
  18147. "type": "string"
  18148. },
  18149. "trademode": {
  18150. "description": "交易模式",
  18151. "type": "integer"
  18152. }
  18153. }
  18154. },
  18155. "taaccount.QueryHisAmountLogRsp": {
  18156. "type": "object",
  18157. "required": [
  18158. "accountid",
  18159. "amount",
  18160. "amountadjusttype",
  18161. "autoid",
  18162. "balance",
  18163. "createtime",
  18164. "currentbalance",
  18165. "histradedate",
  18166. "operatetype"
  18167. ],
  18168. "properties": {
  18169. "OPERATETYPENAME": {
  18170. "description": "资金操作类型名称",
  18171. "type": "string"
  18172. },
  18173. "accountid": {
  18174. "description": "资金账户ID",
  18175. "type": "integer"
  18176. },
  18177. "agoodscode": {
  18178. "description": "竞拍商品代码",
  18179. "type": "string"
  18180. },
  18181. "agoodsname": {
  18182. "description": "竞拍商品名称",
  18183. "type": "string"
  18184. },
  18185. "amount": {
  18186. "description": "资金金额",
  18187. "type": "number"
  18188. },
  18189. "amountadjusttype": {
  18190. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  18191. "type": "integer"
  18192. },
  18193. "autoid": {
  18194. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  18195. "type": "integer"
  18196. },
  18197. "balance": {
  18198. "description": "期初余额",
  18199. "type": "number"
  18200. },
  18201. "businesscode": {
  18202. "description": "业务编号",
  18203. "type": "integer"
  18204. },
  18205. "createtime": {
  18206. "description": "发生时间",
  18207. "type": "string"
  18208. },
  18209. "currencyid": {
  18210. "description": "币种ID",
  18211. "type": "integer"
  18212. },
  18213. "currentbalance": {
  18214. "description": "期末余额(变动后金额)",
  18215. "type": "number"
  18216. },
  18217. "dgoodscode": {
  18218. "description": "交割商品代码",
  18219. "type": "string"
  18220. },
  18221. "dgoodsname": {
  18222. "description": "交割商品名称",
  18223. "type": "string"
  18224. },
  18225. "goodscode": {
  18226. "description": "商品代码",
  18227. "type": "string"
  18228. },
  18229. "goodsid": {
  18230. "description": "商品ID",
  18231. "type": "integer"
  18232. },
  18233. "goodsname": {
  18234. "description": "商品名称",
  18235. "type": "string"
  18236. },
  18237. "histradedate": {
  18238. "description": "历史交易日",
  18239. "type": "string"
  18240. },
  18241. "isvaliddata": {
  18242. "description": "是否有效 - 0:无效 1:有效",
  18243. "type": "integer"
  18244. },
  18245. "marketid": {
  18246. "description": "市场ID",
  18247. "type": "integer"
  18248. },
  18249. "marketname": {
  18250. "description": "市场名称",
  18251. "type": "string"
  18252. },
  18253. "moneyticket": {
  18254. "description": "资金流水号:银行端流水号",
  18255. "type": "integer"
  18256. },
  18257. "operatetype": {
  18258. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  18259. "type": "integer"
  18260. },
  18261. "relationorderid": {
  18262. "description": "关联单号",
  18263. "type": "string"
  18264. },
  18265. "remark": {
  18266. "description": "备注",
  18267. "type": "string"
  18268. },
  18269. "trademode": {
  18270. "description": "交易模式",
  18271. "type": "integer"
  18272. }
  18273. }
  18274. },
  18275. "trade.QueryRecieptOrderRsp": {
  18276. "type": "object",
  18277. "required": [
  18278. "ordertime"
  18279. ],
  18280. "properties": {
  18281. "accountName": {
  18282. "description": "所属账号名称(已脱敏)",
  18283. "type": "string"
  18284. },
  18285. "accountid": {
  18286. "description": "资金账号",
  18287. "type": "integer"
  18288. },
  18289. "buyorsell": {
  18290. "description": "方向 - 0:买 1:卖",
  18291. "type": "integer"
  18292. },
  18293. "enableqty": {
  18294. "description": "可摘数量",
  18295. "type": "integer"
  18296. },
  18297. "goodscode": {
  18298. "description": "商品代码",
  18299. "type": "string"
  18300. },
  18301. "goodsid": {
  18302. "description": "商品ID",
  18303. "type": "integer"
  18304. },
  18305. "goodsname": {
  18306. "description": "商品名称",
  18307. "type": "string"
  18308. },
  18309. "orderid": {
  18310. "description": "委托单号",
  18311. "type": "string"
  18312. },
  18313. "orderprice": {
  18314. "description": "委托价格",
  18315. "type": "number"
  18316. },
  18317. "ordertime": {
  18318. "description": "委托时间",
  18319. "type": "string"
  18320. },
  18321. "tradedate": {
  18322. "description": "交易日(yyyyMMdd)",
  18323. "type": "string"
  18324. }
  18325. }
  18326. },
  18327. "user.LoginQueryRsp": {
  18328. "type": "object",
  18329. "properties": {
  18330. "externalExchanges": {
  18331. "description": "外部交易所",
  18332. "type": "array",
  18333. "items": {
  18334. "$ref": "#/definitions/models.Externalexchange"
  18335. }
  18336. },
  18337. "goodsgroups": {
  18338. "description": "商品组",
  18339. "type": "array",
  18340. "items": {
  18341. "$ref": "#/definitions/models.Goodsgroup"
  18342. }
  18343. },
  18344. "loginAccount": {
  18345. "description": "登录账号",
  18346. "$ref": "#/definitions/models.Loginaccount"
  18347. },
  18348. "markets": {
  18349. "description": "市场",
  18350. "type": "array",
  18351. "items": {
  18352. "$ref": "#/definitions/models.Market"
  18353. }
  18354. },
  18355. "userAccount": {
  18356. "description": "用户账号",
  18357. "$ref": "#/definitions/models.Useraccount"
  18358. },
  18359. "userInfo": {
  18360. "description": "用户信息",
  18361. "$ref": "#/definitions/models.Userinfo"
  18362. }
  18363. }
  18364. }
  18365. },
  18366. "securityDefinitions": {
  18367. "ApiKeyAuth": {
  18368. "type": "apiKey",
  18369. "name": "Authorization",
  18370. "in": "header"
  18371. }
  18372. }
  18373. }