swagger.json 847 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "license": {},
  9. "version": "1.0"
  10. },
  11. "basePath": "/api",
  12. "paths": {
  13. "/CPTrade/QueryCPTradeMyBidInfos": {
  14. "get": {
  15. "security": [
  16. {
  17. "ApiKeyAuth": []
  18. }
  19. ],
  20. "produces": [
  21. "application/json"
  22. ],
  23. "tags": [
  24. "产能预售"
  25. ],
  26. "summary": "查询产能预售我的出价信息",
  27. "parameters": [
  28. {
  29. "type": "integer",
  30. "description": "资金账户",
  31. "name": "accountid",
  32. "in": "query",
  33. "required": true
  34. },
  35. {
  36. "type": "integer",
  37. "description": "预售市场ID",
  38. "name": "marketid",
  39. "in": "query"
  40. },
  41. {
  42. "type": "integer",
  43. "description": "预售商品ID",
  44. "name": "goodsid",
  45. "in": "query"
  46. }
  47. ],
  48. "responses": {
  49. "200": {
  50. "description": "OK",
  51. "schema": {
  52. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  53. }
  54. },
  55. "500": {
  56. "description": "Internal Server Error",
  57. "schema": {
  58. "$ref": "#/definitions/app.Response"
  59. }
  60. }
  61. }
  62. }
  63. },
  64. "/CPTrade/QueryCPTradeOrderDetail": {
  65. "get": {
  66. "security": [
  67. {
  68. "ApiKeyAuth": []
  69. }
  70. ],
  71. "produces": [
  72. "application/json"
  73. ],
  74. "tags": [
  75. "产能预售"
  76. ],
  77. "summary": "查询产能预售委托单信息",
  78. "parameters": [
  79. {
  80. "type": "integer",
  81. "description": "预售商品ID",
  82. "name": "goodsid",
  83. "in": "query"
  84. },
  85. {
  86. "type": "integer",
  87. "description": "预售市场ID",
  88. "name": "marketid",
  89. "in": "query"
  90. },
  91. {
  92. "type": "string",
  93. "description": "预售商品ID列表 - 格式:1,2,3",
  94. "name": "goodsids",
  95. "in": "query"
  96. }
  97. ],
  98. "responses": {
  99. "200": {
  100. "description": "OK",
  101. "schema": {
  102. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  103. }
  104. },
  105. "500": {
  106. "description": "Internal Server Error",
  107. "schema": {
  108. "$ref": "#/definitions/app.Response"
  109. }
  110. }
  111. }
  112. }
  113. },
  114. "/CPTrade/QueryMyCPTradeGoods": {
  115. "get": {
  116. "security": [
  117. {
  118. "ApiKeyAuth": []
  119. }
  120. ],
  121. "produces": [
  122. "application/json"
  123. ],
  124. "tags": [
  125. "产能预售"
  126. ],
  127. "summary": "查询我的预售信息",
  128. "parameters": [
  129. {
  130. "type": "integer",
  131. "description": "资金账户",
  132. "name": "accountid",
  133. "in": "query",
  134. "required": true
  135. }
  136. ],
  137. "responses": {
  138. "200": {
  139. "description": "OK",
  140. "schema": {
  141. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  142. }
  143. },
  144. "500": {
  145. "description": "Internal Server Error",
  146. "schema": {
  147. "$ref": "#/definitions/app.Response"
  148. }
  149. }
  150. }
  151. }
  152. },
  153. "/CPTrade/QueryPositionCancel": {
  154. "get": {
  155. "security": [
  156. {
  157. "ApiKeyAuth": []
  158. }
  159. ],
  160. "produces": [
  161. "application/json"
  162. ],
  163. "tags": [
  164. "产能预售"
  165. ],
  166. "summary": "查询远期订单注销申请信息",
  167. "parameters": [
  168. {
  169. "type": "integer",
  170. "description": "账户ID",
  171. "name": "userid",
  172. "in": "query",
  173. "required": true
  174. },
  175. {
  176. "type": "integer",
  177. "description": "注销ID",
  178. "name": "cancelid",
  179. "in": "query"
  180. },
  181. {
  182. "type": "integer",
  183. "description": "资金账户ID",
  184. "name": "accountid",
  185. "in": "query"
  186. }
  187. ],
  188. "responses": {
  189. "200": {
  190. "description": "OK",
  191. "schema": {
  192. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  193. }
  194. },
  195. "500": {
  196. "description": "Internal Server Error",
  197. "schema": {
  198. "$ref": "#/definitions/app.Response"
  199. }
  200. }
  201. }
  202. }
  203. },
  204. "/CPTrade/QueryPreasleApply": {
  205. "get": {
  206. "security": [
  207. {
  208. "ApiKeyAuth": []
  209. }
  210. ],
  211. "produces": [
  212. "application/json"
  213. ],
  214. "tags": [
  215. "产能预售"
  216. ],
  217. "summary": "查询产能预售申请信息",
  218. "parameters": [
  219. {
  220. "type": "integer",
  221. "description": "账户ID",
  222. "name": "userid",
  223. "in": "query",
  224. "required": true
  225. },
  226. {
  227. "type": "integer",
  228. "description": "申请ID",
  229. "name": "applyid",
  230. "in": "query"
  231. },
  232. {
  233. "type": "integer",
  234. "description": "资金账户ID",
  235. "name": "accountid",
  236. "in": "query"
  237. }
  238. ],
  239. "responses": {
  240. "200": {
  241. "description": "OK",
  242. "schema": {
  243. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  244. }
  245. },
  246. "500": {
  247. "description": "Internal Server Error",
  248. "schema": {
  249. "$ref": "#/definitions/app.Response"
  250. }
  251. }
  252. }
  253. }
  254. },
  255. "/CPTrade/QueryPresaleGoodsEx": {
  256. "get": {
  257. "security": [
  258. {
  259. "ApiKeyAuth": []
  260. }
  261. ],
  262. "produces": [
  263. "application/json"
  264. ],
  265. "tags": [
  266. "产能预售"
  267. ],
  268. "summary": "查询产能预售商品扩展信息",
  269. "parameters": [
  270. {
  271. "type": "integer",
  272. "description": "预售商品ID",
  273. "name": "goodsid",
  274. "in": "query"
  275. },
  276. {
  277. "type": "integer",
  278. "description": "预售市场ID",
  279. "name": "marketid",
  280. "in": "query"
  281. },
  282. {
  283. "type": "integer",
  284. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  285. "name": "presalemode",
  286. "in": "query"
  287. },
  288. {
  289. "type": "string",
  290. "description": "预售商品ID列表 - 格式:1,2,3",
  291. "name": "goodsids",
  292. "in": "query"
  293. },
  294. {
  295. "type": "string",
  296. "description": "预售商品代码",
  297. "name": "goodscode",
  298. "in": "query"
  299. }
  300. ],
  301. "responses": {
  302. "200": {
  303. "description": "OK",
  304. "schema": {
  305. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  306. }
  307. },
  308. "500": {
  309. "description": "Internal Server Error",
  310. "schema": {
  311. "$ref": "#/definitions/app.Response"
  312. }
  313. }
  314. }
  315. }
  316. },
  317. "/CPTrade/QueryUserGoodsData": {
  318. "get": {
  319. "security": [
  320. {
  321. "ApiKeyAuth": []
  322. }
  323. ],
  324. "produces": [
  325. "application/json"
  326. ],
  327. "tags": [
  328. "产能预售"
  329. ],
  330. "summary": "查询远期订单信息",
  331. "parameters": [
  332. {
  333. "type": "integer",
  334. "description": "资金账户ID",
  335. "name": "accountid",
  336. "in": "query",
  337. "required": true
  338. }
  339. ],
  340. "responses": {
  341. "200": {
  342. "description": "OK",
  343. "schema": {
  344. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  345. }
  346. },
  347. "500": {
  348. "description": "Internal Server Error",
  349. "schema": {
  350. "$ref": "#/definitions/app.Response"
  351. }
  352. }
  353. }
  354. }
  355. },
  356. "/Common/GetAllEnums": {
  357. "get": {
  358. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  359. "produces": [
  360. "application/json"
  361. ],
  362. "tags": [
  363. "通用服务"
  364. ],
  365. "summary": "获取所有枚举信息",
  366. "parameters": [
  367. {
  368. "type": "integer",
  369. "description": "起始自增ID",
  370. "name": "autoid",
  371. "in": "query"
  372. }
  373. ],
  374. "responses": {
  375. "200": {
  376. "description": "OK",
  377. "schema": {
  378. "$ref": "#/definitions/models.Enumdicitem"
  379. }
  380. },
  381. "500": {
  382. "description": "Internal Server Error",
  383. "schema": {
  384. "$ref": "#/definitions/app.Response"
  385. }
  386. }
  387. }
  388. }
  389. },
  390. "/Common/GetClientMenus": {
  391. "get": {
  392. "security": [
  393. {
  394. "ApiKeyAuth": []
  395. }
  396. ],
  397. "produces": [
  398. "application/json"
  399. ],
  400. "tags": [
  401. "通用服务"
  402. ],
  403. "summary": "获取交易端菜单",
  404. "parameters": [
  405. {
  406. "type": "integer",
  407. "description": "登录账号",
  408. "name": "loginID",
  409. "in": "query",
  410. "required": true
  411. },
  412. {
  413. "type": "integer",
  414. "description": "终端类型,0:PC 1:Mobile",
  415. "name": "clientType",
  416. "in": "query"
  417. }
  418. ],
  419. "responses": {
  420. "200": {
  421. "description": "OK",
  422. "schema": {
  423. "type": "array",
  424. "items": {
  425. "$ref": "#/definitions/common.ClientMenu"
  426. }
  427. }
  428. },
  429. "500": {
  430. "description": "Internal Server Error",
  431. "schema": {
  432. "$ref": "#/definitions/app.Response"
  433. }
  434. }
  435. }
  436. }
  437. },
  438. "/Common/GetDivisions": {
  439. "get": {
  440. "produces": [
  441. "application/json"
  442. ],
  443. "tags": [
  444. "通用服务"
  445. ],
  446. "summary": "查询区域信息",
  447. "responses": {
  448. "200": {
  449. "description": "OK",
  450. "schema": {
  451. "$ref": "#/definitions/models.Division"
  452. }
  453. },
  454. "500": {
  455. "description": "Internal Server Error",
  456. "schema": {
  457. "$ref": "#/definitions/app.Response"
  458. }
  459. }
  460. }
  461. }
  462. },
  463. "/Common/GetServerTime": {
  464. "get": {
  465. "produces": [
  466. "application/json"
  467. ],
  468. "tags": [
  469. "通用服务"
  470. ],
  471. "summary": "获取服务器时间",
  472. "responses": {
  473. "200": {
  474. "description": "OK",
  475. "schema": {
  476. "$ref": "#/definitions/app.Response"
  477. }
  478. },
  479. "500": {
  480. "description": "Internal Server Error",
  481. "schema": {
  482. "$ref": "#/definitions/app.Response"
  483. }
  484. }
  485. }
  486. }
  487. },
  488. "/Common/NoticeReaded": {
  489. "post": {
  490. "security": [
  491. {
  492. "ApiKeyAuth": []
  493. }
  494. ],
  495. "produces": [
  496. "application/json"
  497. ],
  498. "tags": [
  499. "通用服务"
  500. ],
  501. "summary": "通知公告设置已读请求",
  502. "parameters": [
  503. {
  504. "type": "integer",
  505. "description": "登录账号",
  506. "name": "loginID",
  507. "in": "query",
  508. "required": true
  509. },
  510. {
  511. "type": "integer",
  512. "description": "通知公告ID",
  513. "name": "noticeID",
  514. "in": "query",
  515. "required": true
  516. }
  517. ],
  518. "responses": {
  519. "200": {
  520. "description": "OK",
  521. "schema": {
  522. "$ref": "#/definitions/app.Response"
  523. }
  524. },
  525. "500": {
  526. "description": "Internal Server Error",
  527. "schema": {
  528. "$ref": "#/definitions/app.Response"
  529. }
  530. }
  531. }
  532. }
  533. },
  534. "/Common/QueryErrorInfos": {
  535. "get": {
  536. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  537. "produces": [
  538. "application/json"
  539. ],
  540. "tags": [
  541. "通用服务"
  542. ],
  543. "summary": "获取数据库错误信息",
  544. "parameters": [
  545. {
  546. "type": "string",
  547. "description": "起始行号前索引",
  548. "name": "rowNumber",
  549. "in": "query"
  550. }
  551. ],
  552. "responses": {
  553. "200": {
  554. "description": "OK",
  555. "schema": {
  556. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  557. }
  558. },
  559. "500": {
  560. "description": "Internal Server Error",
  561. "schema": {
  562. "$ref": "#/definitions/app.Response"
  563. }
  564. }
  565. }
  566. }
  567. },
  568. "/Common/QueryImageConfigs": {
  569. "get": {
  570. "produces": [
  571. "application/json"
  572. ],
  573. "tags": [
  574. "通用服务"
  575. ],
  576. "summary": "查询轮播图配置信息",
  577. "parameters": [
  578. {
  579. "type": "integer",
  580. "description": "类型 - 1:App首页轮播 2:我的",
  581. "name": "imageType",
  582. "in": "query"
  583. }
  584. ],
  585. "responses": {
  586. "200": {
  587. "description": "OK",
  588. "schema": {
  589. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/QueryNotice": {
  602. "get": {
  603. "security": [
  604. {
  605. "ApiKeyAuth": []
  606. }
  607. ],
  608. "produces": [
  609. "application/json"
  610. ],
  611. "tags": [
  612. "通用服务"
  613. ],
  614. "summary": "通知公告系统消息查询",
  615. "parameters": [
  616. {
  617. "type": "integer",
  618. "description": "页码",
  619. "name": "page",
  620. "in": "query"
  621. },
  622. {
  623. "type": "integer",
  624. "description": "每页条数",
  625. "name": "pagesize",
  626. "in": "query"
  627. },
  628. {
  629. "type": "integer",
  630. "description": "登录账号",
  631. "name": "loginID",
  632. "in": "query",
  633. "required": true
  634. },
  635. {
  636. "type": "integer",
  637. "description": "消息类型 - 1:公告通知 2:系统消息",
  638. "name": "msgType",
  639. "in": "query"
  640. },
  641. {
  642. "type": "boolean",
  643. "description": "是否只获取未读信息",
  644. "name": "onlyUnRead",
  645. "in": "query"
  646. },
  647. {
  648. "type": "integer",
  649. "description": "自增ID,传入后会返回这个ID后面的记录",
  650. "name": "lastID",
  651. "in": "query"
  652. }
  653. ],
  654. "responses": {
  655. "200": {
  656. "description": "OK",
  657. "schema": {
  658. "$ref": "#/definitions/common.QueryNoticeRsp"
  659. }
  660. },
  661. "500": {
  662. "description": "Internal Server Error",
  663. "schema": {
  664. "$ref": "#/definitions/app.Response"
  665. }
  666. }
  667. }
  668. }
  669. },
  670. "/Common/QueryProvincesAndCities": {
  671. "get": {
  672. "produces": [
  673. "application/json"
  674. ],
  675. "tags": [
  676. "通用服务"
  677. ],
  678. "summary": "查询省市信息(不包括区)",
  679. "parameters": [
  680. {
  681. "type": "integer",
  682. "description": "省ID",
  683. "name": "provinceID",
  684. "in": "query"
  685. }
  686. ],
  687. "responses": {
  688. "200": {
  689. "description": "OK",
  690. "schema": {
  691. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  692. }
  693. },
  694. "500": {
  695. "description": "Internal Server Error",
  696. "schema": {
  697. "$ref": "#/definitions/app.Response"
  698. }
  699. }
  700. }
  701. }
  702. },
  703. "/Common/QueryTableDefine": {
  704. "get": {
  705. "produces": [
  706. "application/json"
  707. ],
  708. "tags": [
  709. "通用服务"
  710. ],
  711. "summary": "查询交易端列表头信息",
  712. "parameters": [
  713. {
  714. "type": "string",
  715. "description": "表key",
  716. "name": "tableKey",
  717. "in": "query"
  718. },
  719. {
  720. "type": "integer",
  721. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  722. "name": "tableType",
  723. "in": "query"
  724. }
  725. ],
  726. "responses": {
  727. "200": {
  728. "description": "OK",
  729. "schema": {
  730. "$ref": "#/definitions/common.QueryTableDefineRsp"
  731. }
  732. },
  733. "500": {
  734. "description": "Internal Server Error",
  735. "schema": {
  736. "$ref": "#/definitions/app.Response"
  737. }
  738. }
  739. }
  740. }
  741. },
  742. "/Common/QueryTraderMenu": {
  743. "get": {
  744. "produces": [
  745. "application/json"
  746. ],
  747. "tags": [
  748. "通用服务"
  749. ],
  750. "summary": "查询交易端菜单",
  751. "parameters": [
  752. {
  753. "type": "integer",
  754. "description": "登录账号",
  755. "name": "loginid",
  756. "in": "query",
  757. "required": true
  758. }
  759. ],
  760. "responses": {
  761. "200": {
  762. "description": "OK",
  763. "schema": {
  764. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  765. }
  766. },
  767. "500": {
  768. "description": "Internal Server Error",
  769. "schema": {
  770. "$ref": "#/definitions/app.Response"
  771. }
  772. }
  773. }
  774. }
  775. },
  776. "/Delivery/QueryDeliveryRelation": {
  777. "get": {
  778. "security": [
  779. {
  780. "ApiKeyAuth": []
  781. }
  782. ],
  783. "produces": [
  784. "application/json"
  785. ],
  786. "tags": [
  787. "交割服务"
  788. ],
  789. "summary": "查询商品交割关系表",
  790. "parameters": [
  791. {
  792. "type": "integer",
  793. "description": "商品ID",
  794. "name": "goodsid",
  795. "in": "query"
  796. },
  797. {
  798. "type": "integer",
  799. "description": "品种ID",
  800. "name": "deliverygoodsid",
  801. "in": "query"
  802. },
  803. {
  804. "type": "integer",
  805. "description": "市场ID",
  806. "name": "marketid",
  807. "in": "query"
  808. }
  809. ],
  810. "responses": {
  811. "200": {
  812. "description": "OK",
  813. "schema": {
  814. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  815. }
  816. },
  817. "500": {
  818. "description": "Internal Server Error",
  819. "schema": {
  820. "$ref": "#/definitions/app.Response"
  821. }
  822. }
  823. }
  824. }
  825. },
  826. "/Ermcp/GetErmcpGoods": {
  827. "get": {
  828. "security": [
  829. {
  830. "ApiKeyAuth": []
  831. }
  832. ],
  833. "produces": [
  834. "application/json"
  835. ],
  836. "tags": [
  837. "企业风险管理(app)"
  838. ],
  839. "summary": "查询企业风管期货商品信息",
  840. "parameters": [
  841. {
  842. "type": "string",
  843. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  844. "name": "lastUpdateTime",
  845. "in": "query"
  846. }
  847. ],
  848. "responses": {
  849. "200": {
  850. "description": "OK",
  851. "schema": {
  852. "$ref": "#/definitions/models.Goods"
  853. }
  854. },
  855. "500": {
  856. "description": "Internal Server Error",
  857. "schema": {
  858. "$ref": "#/definitions/app.Response"
  859. }
  860. }
  861. }
  862. }
  863. },
  864. "/Ermcp/GetErmcpGoodsSortByPosition": {
  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": "string",
  881. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  882. "name": "sortIndex",
  883. "in": "query"
  884. }
  885. ],
  886. "responses": {
  887. "200": {
  888. "description": "OK",
  889. "schema": {
  890. "$ref": "#/definitions/models.Goodssortbypreposition"
  891. }
  892. },
  893. "500": {
  894. "description": "Internal Server Error",
  895. "schema": {
  896. "$ref": "#/definitions/app.Response"
  897. }
  898. }
  899. }
  900. }
  901. },
  902. "/Ermcp/GetErmcpOutAccountStatus": {
  903. "get": {
  904. "security": [
  905. {
  906. "ApiKeyAuth": []
  907. }
  908. ],
  909. "produces": [
  910. "application/json"
  911. ],
  912. "tags": [
  913. "企业风险管理(app)"
  914. ],
  915. "summary": "获取目标登录账号当前对冲账号在线状态",
  916. "parameters": [
  917. {
  918. "type": "integer",
  919. "description": "登录账号",
  920. "name": "loginID",
  921. "in": "query",
  922. "required": true
  923. }
  924. ],
  925. "responses": {
  926. "200": {
  927. "description": "OK",
  928. "schema": {
  929. "$ref": "#/definitions/models.Hedgemarketopenlog"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  942. "get": {
  943. "security": [
  944. {
  945. "ApiKeyAuth": []
  946. }
  947. ],
  948. "produces": [
  949. "application/json"
  950. ],
  951. "tags": [
  952. "企业风险管理(app)"
  953. ],
  954. "summary": "获取企业风管终端权限",
  955. "parameters": [
  956. {
  957. "type": "integer",
  958. "description": "登录账号",
  959. "name": "loginID",
  960. "in": "query",
  961. "required": true
  962. }
  963. ],
  964. "responses": {
  965. "200": {
  966. "description": "OK",
  967. "schema": {
  968. "$ref": "#/definitions/models.Funcmenulist"
  969. }
  970. },
  971. "500": {
  972. "description": "Internal Server Error",
  973. "schema": {
  974. "$ref": "#/definitions/app.Response"
  975. }
  976. }
  977. }
  978. }
  979. },
  980. "/Ermcp/QueryAccMgrBizGroupSet": {
  981. "get": {
  982. "security": [
  983. {
  984. "ApiKeyAuth": []
  985. }
  986. ],
  987. "produces": [
  988. "application/json"
  989. ],
  990. "tags": [
  991. "企业风险管理(app)"
  992. ],
  993. "summary": "查询业务类型分组(账户管理/账户设置)",
  994. "parameters": [
  995. {
  996. "type": "integer",
  997. "description": "用户ID",
  998. "name": "userid",
  999. "in": "query",
  1000. "required": true
  1001. },
  1002. {
  1003. "type": "integer",
  1004. "description": "现货商品id",
  1005. "name": "deliverygoodsid",
  1006. "in": "query"
  1007. }
  1008. ],
  1009. "responses": {
  1010. "200": {
  1011. "description": "OK",
  1012. "schema": {
  1013. "type": "array",
  1014. "items": {
  1015. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1016. }
  1017. }
  1018. },
  1019. "500": {
  1020. "description": "Internal Server Error",
  1021. "schema": {
  1022. "$ref": "#/definitions/app.Response"
  1023. }
  1024. }
  1025. }
  1026. }
  1027. },
  1028. "/Ermcp/QueryAccMgrLoginUser": {
  1029. "get": {
  1030. "security": [
  1031. {
  1032. "ApiKeyAuth": []
  1033. }
  1034. ],
  1035. "produces": [
  1036. "application/json"
  1037. ],
  1038. "tags": [
  1039. "企业风险管理(app)"
  1040. ],
  1041. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1042. "parameters": [
  1043. {
  1044. "type": "integer",
  1045. "description": "用户ID",
  1046. "name": "userid",
  1047. "in": "query",
  1048. "required": true
  1049. },
  1050. {
  1051. "type": "integer",
  1052. "description": "用户类型 2-机构 7-企业成员",
  1053. "name": "usertype",
  1054. "in": "query"
  1055. },
  1056. {
  1057. "type": "integer",
  1058. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1059. "name": "querytype",
  1060. "in": "query",
  1061. "required": true
  1062. }
  1063. ],
  1064. "responses": {
  1065. "200": {
  1066. "description": "OK",
  1067. "schema": {
  1068. "type": "array",
  1069. "items": {
  1070. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1071. }
  1072. }
  1073. },
  1074. "500": {
  1075. "description": "Internal Server Error",
  1076. "schema": {
  1077. "$ref": "#/definitions/app.Response"
  1078. }
  1079. }
  1080. }
  1081. }
  1082. },
  1083. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1084. "get": {
  1085. "security": [
  1086. {
  1087. "ApiKeyAuth": []
  1088. }
  1089. ],
  1090. "produces": [
  1091. "application/json"
  1092. ],
  1093. "tags": [
  1094. "企业风险管理(app)"
  1095. ],
  1096. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1097. "parameters": [
  1098. {
  1099. "type": "integer",
  1100. "description": "用户ID",
  1101. "name": "userid",
  1102. "in": "query"
  1103. },
  1104. {
  1105. "type": "integer",
  1106. "description": "主账号id",
  1107. "name": "accountid",
  1108. "in": "query"
  1109. }
  1110. ],
  1111. "responses": {
  1112. "200": {
  1113. "description": "OK",
  1114. "schema": {
  1115. "type": "array",
  1116. "items": {
  1117. "$ref": "#/definitions/models.MainAccountInfo"
  1118. }
  1119. }
  1120. },
  1121. "500": {
  1122. "description": "Internal Server Error",
  1123. "schema": {
  1124. "$ref": "#/definitions/app.Response"
  1125. }
  1126. }
  1127. }
  1128. }
  1129. },
  1130. "/Ermcp/QueryAccMgrRole": {
  1131. "get": {
  1132. "security": [
  1133. {
  1134. "ApiKeyAuth": []
  1135. }
  1136. ],
  1137. "produces": [
  1138. "application/json"
  1139. ],
  1140. "tags": [
  1141. "企业风险管理(app)"
  1142. ],
  1143. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1144. "parameters": [
  1145. {
  1146. "type": "integer",
  1147. "description": "用户ID",
  1148. "name": "userid",
  1149. "in": "query",
  1150. "required": true
  1151. }
  1152. ],
  1153. "responses": {
  1154. "200": {
  1155. "description": "OK",
  1156. "schema": {
  1157. "type": "array",
  1158. "items": {
  1159. "$ref": "#/definitions/models.ErmcpRole"
  1160. }
  1161. }
  1162. },
  1163. "500": {
  1164. "description": "Internal Server Error",
  1165. "schema": {
  1166. "$ref": "#/definitions/app.Response"
  1167. }
  1168. }
  1169. }
  1170. }
  1171. },
  1172. "/Ermcp/QueryAccMgrRoleMenu": {
  1173. "get": {
  1174. "security": [
  1175. {
  1176. "ApiKeyAuth": []
  1177. }
  1178. ],
  1179. "produces": [
  1180. "application/json"
  1181. ],
  1182. "tags": [
  1183. "企业风险管理(app)"
  1184. ],
  1185. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1186. "parameters": [
  1187. {
  1188. "type": "integer",
  1189. "description": "用户ID",
  1190. "name": "userid",
  1191. "in": "query",
  1192. "required": true
  1193. },
  1194. {
  1195. "type": "string",
  1196. "description": "角色id(可多个,逗号隔开)",
  1197. "name": "roleid",
  1198. "in": "query"
  1199. }
  1200. ],
  1201. "responses": {
  1202. "200": {
  1203. "description": "OK",
  1204. "schema": {
  1205. "type": "array",
  1206. "items": {
  1207. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1208. }
  1209. }
  1210. },
  1211. "500": {
  1212. "description": "Internal Server Error",
  1213. "schema": {
  1214. "$ref": "#/definitions/app.Response"
  1215. }
  1216. }
  1217. }
  1218. }
  1219. },
  1220. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1221. "get": {
  1222. "security": [
  1223. {
  1224. "ApiKeyAuth": []
  1225. }
  1226. ],
  1227. "produces": [
  1228. "application/json"
  1229. ],
  1230. "tags": [
  1231. "企业风险管理(app)"
  1232. ],
  1233. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1234. "parameters": [
  1235. {
  1236. "type": "integer",
  1237. "description": "用户ID",
  1238. "name": "userid",
  1239. "in": "query",
  1240. "required": true
  1241. },
  1242. {
  1243. "type": "integer",
  1244. "description": "账号id",
  1245. "name": "accountid",
  1246. "in": "query"
  1247. }
  1248. ],
  1249. "responses": {
  1250. "200": {
  1251. "description": "OK",
  1252. "schema": {
  1253. "type": "array",
  1254. "items": {
  1255. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1256. }
  1257. }
  1258. },
  1259. "500": {
  1260. "description": "Internal Server Error",
  1261. "schema": {
  1262. "$ref": "#/definitions/app.Response"
  1263. }
  1264. }
  1265. }
  1266. }
  1267. },
  1268. "/Ermcp/QueryAccMgrTaaccount": {
  1269. "get": {
  1270. "security": [
  1271. {
  1272. "ApiKeyAuth": []
  1273. }
  1274. ],
  1275. "produces": [
  1276. "application/json"
  1277. ],
  1278. "tags": [
  1279. "企业风险管理(app)"
  1280. ],
  1281. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1282. "parameters": [
  1283. {
  1284. "type": "integer",
  1285. "description": "用户ID",
  1286. "name": "userid",
  1287. "in": "query",
  1288. "required": true
  1289. }
  1290. ],
  1291. "responses": {
  1292. "200": {
  1293. "description": "OK",
  1294. "schema": {
  1295. "type": "array",
  1296. "items": {
  1297. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1298. }
  1299. }
  1300. },
  1301. "500": {
  1302. "description": "Internal Server Error",
  1303. "schema": {
  1304. "$ref": "#/definitions/app.Response"
  1305. }
  1306. }
  1307. }
  1308. }
  1309. },
  1310. "/Ermcp/QueryAvaildGoodsGroup": {
  1311. "get": {
  1312. "security": [
  1313. {
  1314. "ApiKeyAuth": []
  1315. }
  1316. ],
  1317. "produces": [
  1318. "application/json"
  1319. ],
  1320. "tags": [
  1321. "企业风险管理(app)"
  1322. ],
  1323. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1324. "parameters": [
  1325. {
  1326. "type": "integer",
  1327. "description": "所属机构ID",
  1328. "name": "userid",
  1329. "in": "query",
  1330. "required": true
  1331. }
  1332. ],
  1333. "responses": {
  1334. "200": {
  1335. "description": "OK",
  1336. "schema": {
  1337. "type": "array",
  1338. "items": {
  1339. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1340. }
  1341. }
  1342. },
  1343. "500": {
  1344. "description": "Internal Server Error",
  1345. "schema": {
  1346. "$ref": "#/definitions/app.Response"
  1347. }
  1348. }
  1349. }
  1350. }
  1351. },
  1352. "/Ermcp/QueryBusinessDj": {
  1353. "get": {
  1354. "security": [
  1355. {
  1356. "ApiKeyAuth": []
  1357. }
  1358. ],
  1359. "produces": [
  1360. "application/json"
  1361. ],
  1362. "tags": [
  1363. "企业风险管理(app)"
  1364. ],
  1365. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1366. "parameters": [
  1367. {
  1368. "type": "integer",
  1369. "description": "用户ID",
  1370. "name": "UserId",
  1371. "in": "query",
  1372. "required": true
  1373. },
  1374. {
  1375. "type": "integer",
  1376. "description": "用户类型 2-机构 7-企业成员",
  1377. "name": "usertype",
  1378. "in": "query"
  1379. },
  1380. {
  1381. "type": "string",
  1382. "description": "现货合同ID, 不填则查所有",
  1383. "name": "relatedid",
  1384. "in": "query"
  1385. },
  1386. {
  1387. "type": "string",
  1388. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1389. "name": "applystatus",
  1390. "in": "query"
  1391. }
  1392. ],
  1393. "responses": {
  1394. "200": {
  1395. "description": "OK",
  1396. "schema": {
  1397. "type": "array",
  1398. "items": {
  1399. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1400. }
  1401. }
  1402. },
  1403. "500": {
  1404. "description": "Internal Server Error",
  1405. "schema": {
  1406. "$ref": "#/definitions/app.Response"
  1407. }
  1408. }
  1409. }
  1410. }
  1411. },
  1412. "/Ermcp/QueryBusinessFp": {
  1413. "get": {
  1414. "security": [
  1415. {
  1416. "ApiKeyAuth": []
  1417. }
  1418. ],
  1419. "produces": [
  1420. "application/json"
  1421. ],
  1422. "tags": [
  1423. "企业风险管理(app)"
  1424. ],
  1425. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1426. "parameters": [
  1427. {
  1428. "type": "integer",
  1429. "description": "用户ID",
  1430. "name": "UserId",
  1431. "in": "query",
  1432. "required": true
  1433. },
  1434. {
  1435. "type": "integer",
  1436. "description": "用户类型 2-机构 7-企业成员",
  1437. "name": "usertype",
  1438. "in": "query"
  1439. },
  1440. {
  1441. "type": "string",
  1442. "description": "现货合同ID, 不填则查所有",
  1443. "name": "relatedid",
  1444. "in": "query"
  1445. },
  1446. {
  1447. "type": "string",
  1448. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1449. "name": "applystatus",
  1450. "in": "query"
  1451. }
  1452. ],
  1453. "responses": {
  1454. "200": {
  1455. "description": "OK",
  1456. "schema": {
  1457. "type": "array",
  1458. "items": {
  1459. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1460. }
  1461. }
  1462. },
  1463. "500": {
  1464. "description": "Internal Server Error",
  1465. "schema": {
  1466. "$ref": "#/definitions/app.Response"
  1467. }
  1468. }
  1469. }
  1470. }
  1471. },
  1472. "/Ermcp/QueryBusinessJs": {
  1473. "get": {
  1474. "security": [
  1475. {
  1476. "ApiKeyAuth": []
  1477. }
  1478. ],
  1479. "produces": [
  1480. "application/json"
  1481. ],
  1482. "tags": [
  1483. "企业风险管理(app)"
  1484. ],
  1485. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1486. "parameters": [
  1487. {
  1488. "type": "integer",
  1489. "description": "用户ID",
  1490. "name": "UserId",
  1491. "in": "query",
  1492. "required": true
  1493. },
  1494. {
  1495. "type": "integer",
  1496. "description": "用户类型 2-机构 7-企业成员",
  1497. "name": "usertype",
  1498. "in": "query"
  1499. },
  1500. {
  1501. "type": "string",
  1502. "description": "现货合同ID, 不填则查所有",
  1503. "name": "relatedid",
  1504. "in": "query"
  1505. },
  1506. {
  1507. "type": "string",
  1508. "description": "操作申请id",
  1509. "name": "operateapplyid",
  1510. "in": "query"
  1511. },
  1512. {
  1513. "type": "string",
  1514. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1515. "name": "applystatus",
  1516. "in": "query"
  1517. }
  1518. ],
  1519. "responses": {
  1520. "200": {
  1521. "description": "OK",
  1522. "schema": {
  1523. "type": "array",
  1524. "items": {
  1525. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1526. }
  1527. }
  1528. },
  1529. "500": {
  1530. "description": "Internal Server Error",
  1531. "schema": {
  1532. "$ref": "#/definitions/app.Response"
  1533. }
  1534. }
  1535. }
  1536. }
  1537. },
  1538. "/Ermcp/QueryBusinessJsEx": {
  1539. "get": {
  1540. "security": [
  1541. {
  1542. "ApiKeyAuth": []
  1543. }
  1544. ],
  1545. "produces": [
  1546. "application/json"
  1547. ],
  1548. "tags": [
  1549. "企业风险管理(app)"
  1550. ],
  1551. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1552. "parameters": [
  1553. {
  1554. "type": "integer",
  1555. "description": "用户ID",
  1556. "name": "UserId",
  1557. "in": "query",
  1558. "required": true
  1559. },
  1560. {
  1561. "type": "integer",
  1562. "description": "用户类型 2-机构 7-企业成员",
  1563. "name": "usertype",
  1564. "in": "query"
  1565. },
  1566. {
  1567. "type": "string",
  1568. "description": "现货合同ID, 不填则查所有",
  1569. "name": "relatedid",
  1570. "in": "query"
  1571. },
  1572. {
  1573. "type": "string",
  1574. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1575. "name": "applystatus",
  1576. "in": "query"
  1577. }
  1578. ],
  1579. "responses": {
  1580. "200": {
  1581. "description": "OK",
  1582. "schema": {
  1583. "type": "array",
  1584. "items": {
  1585. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1586. }
  1587. }
  1588. },
  1589. "500": {
  1590. "description": "Internal Server Error",
  1591. "schema": {
  1592. "$ref": "#/definitions/app.Response"
  1593. }
  1594. }
  1595. }
  1596. }
  1597. },
  1598. "/Ermcp/QueryBusinessKx": {
  1599. "get": {
  1600. "security": [
  1601. {
  1602. "ApiKeyAuth": []
  1603. }
  1604. ],
  1605. "produces": [
  1606. "application/json"
  1607. ],
  1608. "tags": [
  1609. "企业风险管理(app)"
  1610. ],
  1611. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1612. "parameters": [
  1613. {
  1614. "type": "integer",
  1615. "description": "用户ID",
  1616. "name": "UserId",
  1617. "in": "query",
  1618. "required": true
  1619. },
  1620. {
  1621. "type": "integer",
  1622. "description": "用户类型 2-机构 7-企业成员",
  1623. "name": "usertype",
  1624. "in": "query"
  1625. },
  1626. {
  1627. "type": "string",
  1628. "description": "现货合同ID, 不填则查所有",
  1629. "name": "relatedid",
  1630. "in": "query"
  1631. },
  1632. {
  1633. "type": "string",
  1634. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1635. "name": "applystatus",
  1636. "in": "query"
  1637. }
  1638. ],
  1639. "responses": {
  1640. "200": {
  1641. "description": "OK",
  1642. "schema": {
  1643. "type": "array",
  1644. "items": {
  1645. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1646. }
  1647. }
  1648. },
  1649. "500": {
  1650. "description": "Internal Server Error",
  1651. "schema": {
  1652. "$ref": "#/definitions/app.Response"
  1653. }
  1654. }
  1655. }
  1656. }
  1657. },
  1658. "/Ermcp/QueryChangeLog": {
  1659. "get": {
  1660. "security": [
  1661. {
  1662. "ApiKeyAuth": []
  1663. }
  1664. ],
  1665. "produces": [
  1666. "application/json"
  1667. ],
  1668. "tags": [
  1669. "企业风险管理(app)"
  1670. ],
  1671. "summary": "查询变更记录",
  1672. "parameters": [
  1673. {
  1674. "type": "string",
  1675. "description": "合同ID",
  1676. "name": "RelatedId",
  1677. "in": "query",
  1678. "required": true
  1679. }
  1680. ],
  1681. "responses": {
  1682. "200": {
  1683. "description": "OK",
  1684. "schema": {
  1685. "type": "array",
  1686. "items": {
  1687. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1688. }
  1689. }
  1690. },
  1691. "500": {
  1692. "description": "Internal Server Error",
  1693. "schema": {
  1694. "$ref": "#/definitions/app.Response"
  1695. }
  1696. }
  1697. }
  1698. }
  1699. },
  1700. "/Ermcp/QueryErmcpHisOrderDetails": {
  1701. "get": {
  1702. "security": [
  1703. {
  1704. "ApiKeyAuth": []
  1705. }
  1706. ],
  1707. "produces": [
  1708. "application/json"
  1709. ],
  1710. "tags": [
  1711. "企业风险管理(app)"
  1712. ],
  1713. "summary": "获取企业风管期货历史委托单信息",
  1714. "parameters": [
  1715. {
  1716. "type": "integer",
  1717. "description": "资金账户ID",
  1718. "name": "accountID",
  1719. "in": "query",
  1720. "required": true
  1721. },
  1722. {
  1723. "type": "string",
  1724. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1725. "name": "startDate",
  1726. "in": "query"
  1727. },
  1728. {
  1729. "type": "string",
  1730. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1731. "name": "endDate",
  1732. "in": "query"
  1733. }
  1734. ],
  1735. "responses": {
  1736. "200": {
  1737. "description": "OK",
  1738. "schema": {
  1739. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1740. }
  1741. },
  1742. "500": {
  1743. "description": "Internal Server Error",
  1744. "schema": {
  1745. "$ref": "#/definitions/app.Response"
  1746. }
  1747. }
  1748. }
  1749. }
  1750. },
  1751. "/Ermcp/QueryErmcpHisTradeDetails": {
  1752. "get": {
  1753. "security": [
  1754. {
  1755. "ApiKeyAuth": []
  1756. }
  1757. ],
  1758. "produces": [
  1759. "application/json"
  1760. ],
  1761. "tags": [
  1762. "企业风险管理(app)"
  1763. ],
  1764. "summary": "获取企业风管期货历史成交单信息",
  1765. "parameters": [
  1766. {
  1767. "type": "integer",
  1768. "description": "资金账户ID",
  1769. "name": "accountID",
  1770. "in": "query",
  1771. "required": true
  1772. },
  1773. {
  1774. "type": "integer",
  1775. "description": "商品ID",
  1776. "name": "goodsID",
  1777. "in": "query"
  1778. },
  1779. {
  1780. "type": "integer",
  1781. "description": "买卖方向,0:买 1:卖",
  1782. "name": "buyOrSell",
  1783. "in": "query"
  1784. },
  1785. {
  1786. "type": "integer",
  1787. "description": "关联委托单号",
  1788. "name": "orderID",
  1789. "in": "query"
  1790. },
  1791. {
  1792. "type": "string",
  1793. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  1794. "name": "startDate",
  1795. "in": "query"
  1796. },
  1797. {
  1798. "type": "string",
  1799. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  1800. "name": "endDate",
  1801. "in": "query"
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "OK",
  1807. "schema": {
  1808. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1809. }
  1810. },
  1811. "500": {
  1812. "description": "Internal Server Error",
  1813. "schema": {
  1814. "$ref": "#/definitions/app.Response"
  1815. }
  1816. }
  1817. }
  1818. }
  1819. },
  1820. "/Ermcp/QueryErmcpInnerHolderDetails": {
  1821. "get": {
  1822. "security": [
  1823. {
  1824. "ApiKeyAuth": []
  1825. }
  1826. ],
  1827. "produces": [
  1828. "application/json"
  1829. ],
  1830. "tags": [
  1831. "企业风险管理(app)"
  1832. ],
  1833. "summary": "获取企业风管期货内部持仓单信息",
  1834. "parameters": [
  1835. {
  1836. "type": "integer",
  1837. "description": "资金账户ID",
  1838. "name": "accountID",
  1839. "in": "query",
  1840. "required": true
  1841. },
  1842. {
  1843. "type": "integer",
  1844. "description": "商品ID",
  1845. "name": "goodsID",
  1846. "in": "query"
  1847. },
  1848. {
  1849. "type": "integer",
  1850. "description": "买卖方向,0:买 1:卖",
  1851. "name": "buyOrSell",
  1852. "in": "query"
  1853. }
  1854. ],
  1855. "responses": {
  1856. "200": {
  1857. "description": "OK",
  1858. "schema": {
  1859. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  1860. }
  1861. },
  1862. "500": {
  1863. "description": "Internal Server Error",
  1864. "schema": {
  1865. "$ref": "#/definitions/app.Response"
  1866. }
  1867. }
  1868. }
  1869. }
  1870. },
  1871. "/Ermcp/QueryErmcpOrderDetails": {
  1872. "get": {
  1873. "security": [
  1874. {
  1875. "ApiKeyAuth": []
  1876. }
  1877. ],
  1878. "produces": [
  1879. "application/json"
  1880. ],
  1881. "tags": [
  1882. "企业风险管理(app)"
  1883. ],
  1884. "summary": "获取企业风管期货委托单信息",
  1885. "parameters": [
  1886. {
  1887. "type": "integer",
  1888. "description": "资金账户ID",
  1889. "name": "accountID",
  1890. "in": "query",
  1891. "required": true
  1892. }
  1893. ],
  1894. "responses": {
  1895. "200": {
  1896. "description": "OK",
  1897. "schema": {
  1898. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  1899. }
  1900. },
  1901. "500": {
  1902. "description": "Internal Server Error",
  1903. "schema": {
  1904. "$ref": "#/definitions/app.Response"
  1905. }
  1906. }
  1907. }
  1908. }
  1909. },
  1910. "/Ermcp/QueryErmcpTradeDetails": {
  1911. "get": {
  1912. "security": [
  1913. {
  1914. "ApiKeyAuth": []
  1915. }
  1916. ],
  1917. "produces": [
  1918. "application/json"
  1919. ],
  1920. "tags": [
  1921. "企业风险管理(app)"
  1922. ],
  1923. "summary": "获取企业风管期货成交单信息",
  1924. "parameters": [
  1925. {
  1926. "type": "integer",
  1927. "description": "资金账户ID",
  1928. "name": "accountID",
  1929. "in": "query",
  1930. "required": true
  1931. },
  1932. {
  1933. "type": "integer",
  1934. "description": "商品ID",
  1935. "name": "goodsID",
  1936. "in": "query"
  1937. },
  1938. {
  1939. "type": "integer",
  1940. "description": "买卖方向,0:买 1:卖",
  1941. "name": "buyOrSell",
  1942. "in": "query"
  1943. },
  1944. {
  1945. "type": "integer",
  1946. "description": "关联委托单号",
  1947. "name": "orderID",
  1948. "in": "query"
  1949. }
  1950. ],
  1951. "responses": {
  1952. "200": {
  1953. "description": "OK",
  1954. "schema": {
  1955. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  1956. }
  1957. },
  1958. "500": {
  1959. "description": "Internal Server Error",
  1960. "schema": {
  1961. "$ref": "#/definitions/app.Response"
  1962. }
  1963. }
  1964. }
  1965. }
  1966. },
  1967. "/Ermcp/QueryErmcpTradePosition": {
  1968. "get": {
  1969. "security": [
  1970. {
  1971. "ApiKeyAuth": []
  1972. }
  1973. ],
  1974. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  1975. "produces": [
  1976. "application/json"
  1977. ],
  1978. "tags": [
  1979. "企业风险管理(app)"
  1980. ],
  1981. "summary": "获取企业风管期货持仓头寸信息",
  1982. "parameters": [
  1983. {
  1984. "type": "integer",
  1985. "description": "资金账户ID",
  1986. "name": "accountID",
  1987. "in": "query",
  1988. "required": true
  1989. },
  1990. {
  1991. "type": "integer",
  1992. "description": "所属市场ID",
  1993. "name": "marketID",
  1994. "in": "query"
  1995. }
  1996. ],
  1997. "responses": {
  1998. "200": {
  1999. "description": "OK",
  2000. "schema": {
  2001. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2002. }
  2003. },
  2004. "500": {
  2005. "description": "Internal Server Error",
  2006. "schema": {
  2007. "$ref": "#/definitions/app.Response"
  2008. }
  2009. }
  2010. }
  2011. }
  2012. },
  2013. "/Ermcp/QueryExposureDetail": {
  2014. "get": {
  2015. "security": [
  2016. {
  2017. "ApiKeyAuth": []
  2018. }
  2019. ],
  2020. "produces": [
  2021. "application/json"
  2022. ],
  2023. "tags": [
  2024. "企业风险管理(app)"
  2025. ],
  2026. "summary": "查询敞口现货明细",
  2027. "parameters": [
  2028. {
  2029. "type": "integer",
  2030. "description": "所属机构ID",
  2031. "name": "areaUserId",
  2032. "in": "query",
  2033. "required": true
  2034. },
  2035. {
  2036. "type": "integer",
  2037. "description": "套保商品",
  2038. "name": "middleGoodsId",
  2039. "in": "query",
  2040. "required": true
  2041. }
  2042. ],
  2043. "responses": {
  2044. "200": {
  2045. "description": "OK",
  2046. "schema": {
  2047. "type": "array",
  2048. "items": {
  2049. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2050. }
  2051. }
  2052. },
  2053. "500": {
  2054. "description": "Internal Server Error",
  2055. "schema": {
  2056. "$ref": "#/definitions/app.Response"
  2057. }
  2058. }
  2059. }
  2060. }
  2061. },
  2062. "/Ermcp/QueryExposureHedgePosition": {
  2063. "get": {
  2064. "security": [
  2065. {
  2066. "ApiKeyAuth": []
  2067. }
  2068. ],
  2069. "produces": [
  2070. "application/json"
  2071. ],
  2072. "tags": [
  2073. "企业风险管理(app)"
  2074. ],
  2075. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2076. "parameters": [
  2077. {
  2078. "type": "integer",
  2079. "description": "用户id",
  2080. "name": "userid",
  2081. "in": "query",
  2082. "required": true
  2083. }
  2084. ],
  2085. "responses": {
  2086. "200": {
  2087. "description": "OK",
  2088. "schema": {
  2089. "type": "array",
  2090. "items": {
  2091. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2092. }
  2093. }
  2094. },
  2095. "500": {
  2096. "description": "Internal Server Error",
  2097. "schema": {
  2098. "$ref": "#/definitions/app.Response"
  2099. }
  2100. }
  2101. }
  2102. }
  2103. },
  2104. "/Ermcp/QueryExposureHedgePositionDetail": {
  2105. "get": {
  2106. "security": [
  2107. {
  2108. "ApiKeyAuth": []
  2109. }
  2110. ],
  2111. "produces": [
  2112. "application/json"
  2113. ],
  2114. "tags": [
  2115. "企业风险管理(app)"
  2116. ],
  2117. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2118. "parameters": [
  2119. {
  2120. "type": "integer",
  2121. "description": "所属机构ID",
  2122. "name": "userid",
  2123. "in": "query",
  2124. "required": true
  2125. },
  2126. {
  2127. "type": "integer",
  2128. "description": "商品id",
  2129. "name": "goodsId",
  2130. "in": "query",
  2131. "required": true
  2132. }
  2133. ],
  2134. "responses": {
  2135. "200": {
  2136. "description": "OK",
  2137. "schema": {
  2138. "type": "array",
  2139. "items": {
  2140. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2141. }
  2142. }
  2143. },
  2144. "500": {
  2145. "description": "Internal Server Error",
  2146. "schema": {
  2147. "$ref": "#/definitions/app.Response"
  2148. }
  2149. }
  2150. }
  2151. }
  2152. },
  2153. "/Ermcp/QueryExposureSpot": {
  2154. "get": {
  2155. "security": [
  2156. {
  2157. "ApiKeyAuth": []
  2158. }
  2159. ],
  2160. "produces": [
  2161. "application/json"
  2162. ],
  2163. "tags": [
  2164. "企业风险管理(app)"
  2165. ],
  2166. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2167. "parameters": [
  2168. {
  2169. "type": "integer",
  2170. "description": "所属机构ID",
  2171. "name": "areaUserId",
  2172. "in": "query",
  2173. "required": true
  2174. }
  2175. ],
  2176. "responses": {
  2177. "200": {
  2178. "description": "OK",
  2179. "schema": {
  2180. "type": "array",
  2181. "items": {
  2182. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2183. }
  2184. }
  2185. },
  2186. "500": {
  2187. "description": "Internal Server Error",
  2188. "schema": {
  2189. "$ref": "#/definitions/app.Response"
  2190. }
  2191. }
  2192. }
  2193. }
  2194. },
  2195. "/Ermcp/QueryExposureSpotDetail": {
  2196. "get": {
  2197. "security": [
  2198. {
  2199. "ApiKeyAuth": []
  2200. }
  2201. ],
  2202. "produces": [
  2203. "application/json"
  2204. ],
  2205. "tags": [
  2206. "企业风险管理(app)"
  2207. ],
  2208. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2209. "parameters": [
  2210. {
  2211. "type": "integer",
  2212. "description": "所属机构ID",
  2213. "name": "areaUserId",
  2214. "in": "query",
  2215. "required": true
  2216. },
  2217. {
  2218. "type": "integer",
  2219. "description": "现货品种ID",
  2220. "name": "wrstandardId",
  2221. "in": "query",
  2222. "required": true
  2223. }
  2224. ],
  2225. "responses": {
  2226. "200": {
  2227. "description": "OK",
  2228. "schema": {
  2229. "type": "array",
  2230. "items": {
  2231. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2232. }
  2233. }
  2234. },
  2235. "500": {
  2236. "description": "Internal Server Error",
  2237. "schema": {
  2238. "$ref": "#/definitions/app.Response"
  2239. }
  2240. }
  2241. }
  2242. }
  2243. },
  2244. "/Ermcp/QueryFuturesCompany": {
  2245. "get": {
  2246. "security": [
  2247. {
  2248. "ApiKeyAuth": []
  2249. }
  2250. ],
  2251. "produces": [
  2252. "application/json"
  2253. ],
  2254. "tags": [
  2255. "企业风险管理(app)"
  2256. ],
  2257. "summary": "查询期货公司",
  2258. "responses": {
  2259. "200": {
  2260. "description": "OK",
  2261. "schema": {
  2262. "type": "array",
  2263. "items": {
  2264. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2265. }
  2266. }
  2267. },
  2268. "500": {
  2269. "description": "Internal Server Error",
  2270. "schema": {
  2271. "$ref": "#/definitions/app.Response"
  2272. }
  2273. }
  2274. }
  2275. }
  2276. },
  2277. "/Ermcp/QueryGGConvertConfig": {
  2278. "get": {
  2279. "security": [
  2280. {
  2281. "ApiKeyAuth": []
  2282. }
  2283. ],
  2284. "produces": [
  2285. "application/json"
  2286. ],
  2287. "tags": [
  2288. "企业风险管理(app)"
  2289. ],
  2290. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2291. "parameters": [
  2292. {
  2293. "type": "integer",
  2294. "description": "品种id(不填则查所有)",
  2295. "name": "goodsgroupid",
  2296. "in": "query"
  2297. }
  2298. ],
  2299. "responses": {
  2300. "200": {
  2301. "description": "OK",
  2302. "schema": {
  2303. "type": "array",
  2304. "items": {
  2305. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2306. }
  2307. }
  2308. },
  2309. "500": {
  2310. "description": "Internal Server Error",
  2311. "schema": {
  2312. "$ref": "#/definitions/app.Response"
  2313. }
  2314. }
  2315. }
  2316. }
  2317. },
  2318. "/Ermcp/QueryGoodsBrand": {
  2319. "get": {
  2320. "security": [
  2321. {
  2322. "ApiKeyAuth": []
  2323. }
  2324. ],
  2325. "produces": [
  2326. "application/json"
  2327. ],
  2328. "tags": [
  2329. "企业风险管理(app)"
  2330. ],
  2331. "summary": "查询商品品牌",
  2332. "parameters": [
  2333. {
  2334. "type": "integer",
  2335. "description": "用户ID",
  2336. "name": "userid",
  2337. "in": "query",
  2338. "required": true
  2339. },
  2340. {
  2341. "type": "integer",
  2342. "description": "现货商品ID",
  2343. "name": "wrstandardid",
  2344. "in": "query"
  2345. }
  2346. ],
  2347. "responses": {
  2348. "200": {
  2349. "description": "OK",
  2350. "schema": {
  2351. "type": "array",
  2352. "items": {
  2353. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2354. }
  2355. }
  2356. },
  2357. "500": {
  2358. "description": "Internal Server Error",
  2359. "schema": {
  2360. "$ref": "#/definitions/app.Response"
  2361. }
  2362. }
  2363. }
  2364. }
  2365. },
  2366. "/Ermcp/QueryGoodsModel": {
  2367. "get": {
  2368. "security": [
  2369. {
  2370. "ApiKeyAuth": []
  2371. }
  2372. ],
  2373. "produces": [
  2374. "application/json"
  2375. ],
  2376. "tags": [
  2377. "企业风险管理(app)"
  2378. ],
  2379. "summary": "查询商品型号",
  2380. "parameters": [
  2381. {
  2382. "type": "integer",
  2383. "description": "用户ID",
  2384. "name": "userid",
  2385. "in": "query",
  2386. "required": true
  2387. }
  2388. ],
  2389. "responses": {
  2390. "200": {
  2391. "description": "OK",
  2392. "schema": {
  2393. "type": "array",
  2394. "items": {
  2395. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2396. }
  2397. }
  2398. },
  2399. "500": {
  2400. "description": "Internal Server Error",
  2401. "schema": {
  2402. "$ref": "#/definitions/app.Response"
  2403. }
  2404. }
  2405. }
  2406. }
  2407. },
  2408. "/Ermcp/QueryHisExposure": {
  2409. "get": {
  2410. "security": [
  2411. {
  2412. "ApiKeyAuth": []
  2413. }
  2414. ],
  2415. "produces": [
  2416. "application/json"
  2417. ],
  2418. "tags": [
  2419. "企业风险管理(app)"
  2420. ],
  2421. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2422. "parameters": [
  2423. {
  2424. "type": "integer",
  2425. "description": "用户id",
  2426. "name": "userid",
  2427. "in": "query",
  2428. "required": true
  2429. },
  2430. {
  2431. "type": "integer",
  2432. "description": "每个品种记录数",
  2433. "name": "lastNum",
  2434. "in": "query",
  2435. "required": true
  2436. }
  2437. ],
  2438. "responses": {
  2439. "200": {
  2440. "description": "OK",
  2441. "schema": {
  2442. "type": "array",
  2443. "items": {
  2444. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2445. }
  2446. }
  2447. },
  2448. "500": {
  2449. "description": "Internal Server Error",
  2450. "schema": {
  2451. "$ref": "#/definitions/app.Response"
  2452. }
  2453. }
  2454. }
  2455. }
  2456. },
  2457. "/Ermcp/QueryMiddleGoods": {
  2458. "get": {
  2459. "security": [
  2460. {
  2461. "ApiKeyAuth": []
  2462. }
  2463. ],
  2464. "produces": [
  2465. "application/json"
  2466. ],
  2467. "tags": [
  2468. "企业风险管理(app)"
  2469. ],
  2470. "summary": "查询套保品种(菜单:套保品种)",
  2471. "parameters": [
  2472. {
  2473. "type": "integer",
  2474. "description": "所属机构ID",
  2475. "name": "userid",
  2476. "in": "query",
  2477. "required": true
  2478. },
  2479. {
  2480. "type": "integer",
  2481. "description": "状态 0-停用 1-正常",
  2482. "name": "status",
  2483. "in": "query",
  2484. "required": true
  2485. }
  2486. ],
  2487. "responses": {
  2488. "200": {
  2489. "description": "OK",
  2490. "schema": {
  2491. "type": "array",
  2492. "items": {
  2493. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2494. }
  2495. }
  2496. },
  2497. "500": {
  2498. "description": "Internal Server Error",
  2499. "schema": {
  2500. "$ref": "#/definitions/app.Response"
  2501. }
  2502. }
  2503. }
  2504. }
  2505. },
  2506. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2507. "get": {
  2508. "security": [
  2509. {
  2510. "ApiKeyAuth": []
  2511. }
  2512. ],
  2513. "produces": [
  2514. "application/json"
  2515. ],
  2516. "tags": [
  2517. "企业风险管理(app)"
  2518. ],
  2519. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2520. "parameters": [
  2521. {
  2522. "type": "integer",
  2523. "description": "所属机构ID",
  2524. "name": "userid",
  2525. "in": "query",
  2526. "required": true
  2527. },
  2528. {
  2529. "type": "integer",
  2530. "description": "套保品种id",
  2531. "name": "middlegoodsid",
  2532. "in": "query",
  2533. "required": true
  2534. }
  2535. ],
  2536. "responses": {
  2537. "200": {
  2538. "description": "OK",
  2539. "schema": {
  2540. "type": "array",
  2541. "items": {
  2542. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2543. }
  2544. }
  2545. },
  2546. "500": {
  2547. "description": "Internal Server Error",
  2548. "schema": {
  2549. "$ref": "#/definitions/app.Response"
  2550. }
  2551. }
  2552. }
  2553. }
  2554. },
  2555. "/Ermcp/QueryMiddleGoodsDetail": {
  2556. "get": {
  2557. "security": [
  2558. {
  2559. "ApiKeyAuth": []
  2560. }
  2561. ],
  2562. "produces": [
  2563. "application/json"
  2564. ],
  2565. "tags": [
  2566. "企业风险管理(app)"
  2567. ],
  2568. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2569. "parameters": [
  2570. {
  2571. "type": "integer",
  2572. "description": "所属机构ID",
  2573. "name": "userid",
  2574. "in": "query",
  2575. "required": true
  2576. },
  2577. {
  2578. "type": "integer",
  2579. "description": "套保品种id",
  2580. "name": "middlegoodsid",
  2581. "in": "query"
  2582. }
  2583. ],
  2584. "responses": {
  2585. "200": {
  2586. "description": "OK",
  2587. "schema": {
  2588. "type": "array",
  2589. "items": {
  2590. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2591. }
  2592. }
  2593. },
  2594. "500": {
  2595. "description": "Internal Server Error",
  2596. "schema": {
  2597. "$ref": "#/definitions/app.Response"
  2598. }
  2599. }
  2600. }
  2601. }
  2602. },
  2603. "/Ermcp/QueryPendingAuditInfo": {
  2604. "get": {
  2605. "security": [
  2606. {
  2607. "ApiKeyAuth": []
  2608. }
  2609. ],
  2610. "produces": [
  2611. "application/json"
  2612. ],
  2613. "tags": [
  2614. "企业风险管理(app)"
  2615. ],
  2616. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  2617. "parameters": [
  2618. {
  2619. "type": "integer",
  2620. "description": "用户ID",
  2621. "name": "UserId",
  2622. "in": "query",
  2623. "required": true
  2624. }
  2625. ],
  2626. "responses": {
  2627. "200": {
  2628. "description": "OK",
  2629. "schema": {
  2630. "type": "array",
  2631. "items": {
  2632. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  2633. }
  2634. }
  2635. },
  2636. "500": {
  2637. "description": "Internal Server Error",
  2638. "schema": {
  2639. "$ref": "#/definitions/app.Response"
  2640. }
  2641. }
  2642. }
  2643. }
  2644. },
  2645. "/Ermcp/QueryRealtimeExposure": {
  2646. "get": {
  2647. "security": [
  2648. {
  2649. "ApiKeyAuth": []
  2650. }
  2651. ],
  2652. "produces": [
  2653. "application/json"
  2654. ],
  2655. "tags": [
  2656. "企业风险管理(app)"
  2657. ],
  2658. "summary": "查询实时敞口",
  2659. "parameters": [
  2660. {
  2661. "type": "integer",
  2662. "description": "所属机构ID",
  2663. "name": "userid",
  2664. "in": "query",
  2665. "required": true
  2666. }
  2667. ],
  2668. "responses": {
  2669. "200": {
  2670. "description": "OK",
  2671. "schema": {
  2672. "type": "array",
  2673. "items": {
  2674. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2675. }
  2676. }
  2677. },
  2678. "500": {
  2679. "description": "Internal Server Error",
  2680. "schema": {
  2681. "$ref": "#/definitions/app.Response"
  2682. }
  2683. }
  2684. }
  2685. }
  2686. },
  2687. "/Ermcp/QueryRealtimeExposurePosition": {
  2688. "get": {
  2689. "security": [
  2690. {
  2691. "ApiKeyAuth": []
  2692. }
  2693. ],
  2694. "produces": [
  2695. "application/json"
  2696. ],
  2697. "tags": [
  2698. "企业风险管理(app)"
  2699. ],
  2700. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2701. "parameters": [
  2702. {
  2703. "type": "integer",
  2704. "description": "用户id",
  2705. "name": "userid",
  2706. "in": "query",
  2707. "required": true
  2708. },
  2709. {
  2710. "type": "integer",
  2711. "description": "套保商品ID",
  2712. "name": "middleGoodsId",
  2713. "in": "query",
  2714. "required": true
  2715. }
  2716. ],
  2717. "responses": {
  2718. "200": {
  2719. "description": "OK",
  2720. "schema": {
  2721. "type": "array",
  2722. "items": {
  2723. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2724. }
  2725. }
  2726. },
  2727. "500": {
  2728. "description": "Internal Server Error",
  2729. "schema": {
  2730. "$ref": "#/definitions/app.Response"
  2731. }
  2732. }
  2733. }
  2734. }
  2735. },
  2736. "/Ermcp/QueryTradeConfigTMP": {
  2737. "get": {
  2738. "security": [
  2739. {
  2740. "ApiKeyAuth": []
  2741. }
  2742. ],
  2743. "produces": [
  2744. "application/json"
  2745. ],
  2746. "tags": [
  2747. "企业风险管理(app)"
  2748. ],
  2749. "summary": "查询交易模板配置",
  2750. "parameters": [
  2751. {
  2752. "type": "integer",
  2753. "description": "所属机构id",
  2754. "name": "areauserid",
  2755. "in": "query"
  2756. }
  2757. ],
  2758. "responses": {
  2759. "200": {
  2760. "description": "OK",
  2761. "schema": {
  2762. "type": "array",
  2763. "items": {
  2764. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  2765. }
  2766. }
  2767. },
  2768. "500": {
  2769. "description": "Internal Server Error",
  2770. "schema": {
  2771. "$ref": "#/definitions/app.Response"
  2772. }
  2773. }
  2774. }
  2775. }
  2776. },
  2777. "/Ermcp/QueryUserInfo": {
  2778. "get": {
  2779. "security": [
  2780. {
  2781. "ApiKeyAuth": []
  2782. }
  2783. ],
  2784. "produces": [
  2785. "application/json"
  2786. ],
  2787. "tags": [
  2788. "企业风险管理(app)"
  2789. ],
  2790. "summary": "查询客户资料",
  2791. "parameters": [
  2792. {
  2793. "type": "integer",
  2794. "description": "所属机构用户ID",
  2795. "name": "MemberUserID",
  2796. "in": "query",
  2797. "required": true
  2798. },
  2799. {
  2800. "type": "integer",
  2801. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2802. "name": "queryType",
  2803. "in": "query",
  2804. "required": true
  2805. }
  2806. ],
  2807. "responses": {
  2808. "200": {
  2809. "description": "OK",
  2810. "schema": {
  2811. "type": "array",
  2812. "items": {
  2813. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2814. }
  2815. }
  2816. },
  2817. "500": {
  2818. "description": "Internal Server Error",
  2819. "schema": {
  2820. "$ref": "#/definitions/app.Response"
  2821. }
  2822. }
  2823. }
  2824. }
  2825. },
  2826. "/Ermcp/QueryWarehouseInfo": {
  2827. "get": {
  2828. "security": [
  2829. {
  2830. "ApiKeyAuth": []
  2831. }
  2832. ],
  2833. "produces": [
  2834. "application/json"
  2835. ],
  2836. "tags": [
  2837. "企业风险管理(app)"
  2838. ],
  2839. "summary": "查询仓库信息",
  2840. "parameters": [
  2841. {
  2842. "type": "integer",
  2843. "description": "用户ID",
  2844. "name": "userid",
  2845. "in": "query",
  2846. "required": true
  2847. },
  2848. {
  2849. "type": "string",
  2850. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  2851. "name": "status",
  2852. "in": "query"
  2853. }
  2854. ],
  2855. "responses": {
  2856. "200": {
  2857. "description": "OK",
  2858. "schema": {
  2859. "type": "array",
  2860. "items": {
  2861. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  2862. }
  2863. }
  2864. },
  2865. "500": {
  2866. "description": "Internal Server Error",
  2867. "schema": {
  2868. "$ref": "#/definitions/app.Response"
  2869. }
  2870. }
  2871. }
  2872. }
  2873. },
  2874. "/Ermcp3/QryAreaExpourseContractDetail": {
  2875. "get": {
  2876. "security": [
  2877. {
  2878. "ApiKeyAuth": []
  2879. }
  2880. ],
  2881. "produces": [
  2882. "application/json"
  2883. ],
  2884. "tags": [
  2885. "企业风险管理v3(app)"
  2886. ],
  2887. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  2888. "parameters": [
  2889. {
  2890. "type": "integer",
  2891. "description": "用户ID",
  2892. "name": "userid",
  2893. "in": "query",
  2894. "required": true
  2895. },
  2896. {
  2897. "type": "integer",
  2898. "description": "套保商品id",
  2899. "name": "middlegoodsid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2906. "name": "cycletype",
  2907. "in": "query",
  2908. "required": true
  2909. },
  2910. {
  2911. "type": "string",
  2912. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2913. "name": "cycletime",
  2914. "in": "query",
  2915. "required": true
  2916. }
  2917. ],
  2918. "responses": {
  2919. "200": {
  2920. "description": "OK",
  2921. "schema": {
  2922. "type": "array",
  2923. "items": {
  2924. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  2925. }
  2926. }
  2927. },
  2928. "500": {
  2929. "description": "Internal Server Error",
  2930. "schema": {
  2931. "$ref": "#/definitions/app.Response"
  2932. }
  2933. }
  2934. }
  2935. }
  2936. },
  2937. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  2938. "get": {
  2939. "security": [
  2940. {
  2941. "ApiKeyAuth": []
  2942. }
  2943. ],
  2944. "produces": [
  2945. "application/json"
  2946. ],
  2947. "tags": [
  2948. "企业风险管理v3(app)"
  2949. ],
  2950. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  2951. "parameters": [
  2952. {
  2953. "type": "integer",
  2954. "description": "用户ID",
  2955. "name": "userid",
  2956. "in": "query",
  2957. "required": true
  2958. },
  2959. {
  2960. "type": "integer",
  2961. "description": "套保商品id",
  2962. "name": "middlegoodsid",
  2963. "in": "query",
  2964. "required": true
  2965. },
  2966. {
  2967. "type": "integer",
  2968. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  2969. "name": "cycletype",
  2970. "in": "query",
  2971. "required": true
  2972. },
  2973. {
  2974. "type": "string",
  2975. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  2976. "name": "cycletime",
  2977. "in": "query",
  2978. "required": true
  2979. }
  2980. ],
  2981. "responses": {
  2982. "200": {
  2983. "description": "OK",
  2984. "schema": {
  2985. "type": "array",
  2986. "items": {
  2987. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  2988. }
  2989. }
  2990. },
  2991. "500": {
  2992. "description": "Internal Server Error",
  2993. "schema": {
  2994. "$ref": "#/definitions/app.Response"
  2995. }
  2996. }
  2997. }
  2998. }
  2999. },
  3000. "/Ermcp3/QryAreaExpourseReport": {
  3001. "get": {
  3002. "security": [
  3003. {
  3004. "ApiKeyAuth": []
  3005. }
  3006. ],
  3007. "produces": [
  3008. "application/json"
  3009. ],
  3010. "tags": [
  3011. "企业风险管理v3(app)"
  3012. ],
  3013. "summary": "查询敞口报表",
  3014. "parameters": [
  3015. {
  3016. "type": "integer",
  3017. "description": "用户ID",
  3018. "name": "userid",
  3019. "in": "query",
  3020. "required": true
  3021. },
  3022. {
  3023. "type": "integer",
  3024. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3025. "name": "querytype",
  3026. "in": "query",
  3027. "required": true
  3028. },
  3029. {
  3030. "type": "integer",
  3031. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3032. "name": "cycletype",
  3033. "in": "query",
  3034. "required": true
  3035. },
  3036. {
  3037. "type": "string",
  3038. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3039. "name": "cycletime",
  3040. "in": "query",
  3041. "required": true
  3042. }
  3043. ],
  3044. "responses": {
  3045. "200": {
  3046. "description": "OK",
  3047. "schema": {
  3048. "type": "array",
  3049. "items": {
  3050. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3051. }
  3052. }
  3053. },
  3054. "500": {
  3055. "description": "Internal Server Error",
  3056. "schema": {
  3057. "$ref": "#/definitions/app.Response"
  3058. }
  3059. }
  3060. }
  3061. }
  3062. },
  3063. "/Ermcp3/QryAreaSpotplReport": {
  3064. "get": {
  3065. "security": [
  3066. {
  3067. "ApiKeyAuth": []
  3068. }
  3069. ],
  3070. "produces": [
  3071. "application/json"
  3072. ],
  3073. "tags": [
  3074. "企业风险管理v3(app)"
  3075. ],
  3076. "summary": "查询现货报表",
  3077. "parameters": [
  3078. {
  3079. "type": "integer",
  3080. "description": "用户ID",
  3081. "name": "userid",
  3082. "in": "query",
  3083. "required": true
  3084. },
  3085. {
  3086. "type": "integer",
  3087. "description": "查询类型 1-报表 2-报表明细",
  3088. "name": "querytype",
  3089. "in": "query",
  3090. "required": true
  3091. },
  3092. {
  3093. "type": "integer",
  3094. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3095. "name": "cycletype",
  3096. "in": "query",
  3097. "required": true
  3098. },
  3099. {
  3100. "type": "string",
  3101. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3102. "name": "cycletime",
  3103. "in": "query",
  3104. "required": true
  3105. },
  3106. {
  3107. "type": "integer",
  3108. "description": "现货品种id(明细必填)",
  3109. "name": "deliverygoodsid",
  3110. "in": "query"
  3111. },
  3112. {
  3113. "type": "integer",
  3114. "description": "品类id(明细必填)",
  3115. "name": "wrstandardid",
  3116. "in": "query"
  3117. },
  3118. {
  3119. "type": "integer",
  3120. "description": "币种id(明细必填)",
  3121. "name": "currencyid",
  3122. "in": "query"
  3123. }
  3124. ],
  3125. "responses": {
  3126. "200": {
  3127. "description": "OK",
  3128. "schema": {
  3129. "type": "array",
  3130. "items": {
  3131. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3132. }
  3133. }
  3134. },
  3135. "500": {
  3136. "description": "Internal Server Error",
  3137. "schema": {
  3138. "$ref": "#/definitions/app.Response"
  3139. }
  3140. }
  3141. }
  3142. }
  3143. },
  3144. "/Ermcp3/QryAreaStockReport": {
  3145. "get": {
  3146. "security": [
  3147. {
  3148. "ApiKeyAuth": []
  3149. }
  3150. ],
  3151. "produces": [
  3152. "application/json"
  3153. ],
  3154. "tags": [
  3155. "企业风险管理v3(app)"
  3156. ],
  3157. "summary": "查询库存报表",
  3158. "parameters": [
  3159. {
  3160. "type": "integer",
  3161. "description": "用户ID",
  3162. "name": "userid",
  3163. "in": "query",
  3164. "required": true
  3165. },
  3166. {
  3167. "type": "integer",
  3168. "description": "查询类型 1-报表 2-报表明细",
  3169. "name": "querytype",
  3170. "in": "query",
  3171. "required": true
  3172. },
  3173. {
  3174. "type": "integer",
  3175. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3176. "name": "cycletype",
  3177. "in": "query",
  3178. "required": true
  3179. },
  3180. {
  3181. "type": "string",
  3182. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3183. "name": "cycletime",
  3184. "in": "query",
  3185. "required": true
  3186. },
  3187. {
  3188. "type": "string",
  3189. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3190. "name": "sumfields",
  3191. "in": "query"
  3192. },
  3193. {
  3194. "type": "integer",
  3195. "description": "品种ID",
  3196. "name": "deliverygoodsid",
  3197. "in": "query"
  3198. },
  3199. {
  3200. "type": "integer",
  3201. "description": "品类ID",
  3202. "name": "wrstandardid",
  3203. "in": "query"
  3204. },
  3205. {
  3206. "type": "integer",
  3207. "description": "品牌ID",
  3208. "name": "spotgoodsbrandid",
  3209. "in": "query"
  3210. },
  3211. {
  3212. "type": "integer",
  3213. "description": "仓库ID",
  3214. "name": "warehouseinfoid",
  3215. "in": "query"
  3216. }
  3217. ],
  3218. "responses": {
  3219. "200": {
  3220. "description": "OK",
  3221. "schema": {
  3222. "type": "array",
  3223. "items": {
  3224. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3225. }
  3226. }
  3227. },
  3228. "500": {
  3229. "description": "Internal Server Error",
  3230. "schema": {
  3231. "$ref": "#/definitions/app.Response"
  3232. }
  3233. }
  3234. }
  3235. }
  3236. },
  3237. "/Ermcp3/QryAreaSumPL": {
  3238. "get": {
  3239. "security": [
  3240. {
  3241. "ApiKeyAuth": []
  3242. }
  3243. ],
  3244. "produces": [
  3245. "application/json"
  3246. ],
  3247. "tags": [
  3248. "企业风险管理v3(app)"
  3249. ],
  3250. "summary": "查询汇总损益表",
  3251. "parameters": [
  3252. {
  3253. "type": "integer",
  3254. "description": "用户ID",
  3255. "name": "userid",
  3256. "in": "query",
  3257. "required": true
  3258. },
  3259. {
  3260. "type": "integer",
  3261. "description": "查询类型 1-报表 2-报表明细",
  3262. "name": "querytype",
  3263. "in": "query",
  3264. "required": true
  3265. },
  3266. {
  3267. "type": "integer",
  3268. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3269. "name": "cycletype",
  3270. "in": "query",
  3271. "required": true
  3272. },
  3273. {
  3274. "type": "string",
  3275. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3276. "name": "cycletime",
  3277. "in": "query",
  3278. "required": true
  3279. },
  3280. {
  3281. "type": "integer",
  3282. "description": "币种id(明细必填)",
  3283. "name": "currencyid",
  3284. "in": "query"
  3285. }
  3286. ],
  3287. "responses": {
  3288. "200": {
  3289. "description": "OK",
  3290. "schema": {
  3291. "type": "array",
  3292. "items": {
  3293. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3294. }
  3295. }
  3296. },
  3297. "500": {
  3298. "description": "Internal Server Error",
  3299. "schema": {
  3300. "$ref": "#/definitions/app.Response"
  3301. }
  3302. }
  3303. }
  3304. }
  3305. },
  3306. "/Ermcp3/QryFinanceReport": {
  3307. "get": {
  3308. "security": [
  3309. {
  3310. "ApiKeyAuth": []
  3311. }
  3312. ],
  3313. "produces": [
  3314. "application/json"
  3315. ],
  3316. "tags": [
  3317. "企业风险管理v3(app)"
  3318. ],
  3319. "summary": "查询财务报表",
  3320. "parameters": [
  3321. {
  3322. "type": "integer",
  3323. "description": "用户ID",
  3324. "name": "userid",
  3325. "in": "query",
  3326. "required": true
  3327. },
  3328. {
  3329. "type": "integer",
  3330. "description": "查询类型 1-报表 2-报表明细",
  3331. "name": "querytype",
  3332. "in": "query",
  3333. "required": true
  3334. },
  3335. {
  3336. "type": "integer",
  3337. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3338. "name": "cycletype",
  3339. "in": "query",
  3340. "required": true
  3341. },
  3342. {
  3343. "type": "string",
  3344. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3345. "name": "cycletime",
  3346. "in": "query",
  3347. "required": true
  3348. },
  3349. {
  3350. "type": "integer",
  3351. "description": "币种id(日报表明细)",
  3352. "name": "currencyid",
  3353. "in": "query"
  3354. }
  3355. ],
  3356. "responses": {
  3357. "200": {
  3358. "description": "OK",
  3359. "schema": {
  3360. "type": "array",
  3361. "items": {
  3362. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3363. }
  3364. }
  3365. },
  3366. "500": {
  3367. "description": "Internal Server Error",
  3368. "schema": {
  3369. "$ref": "#/definitions/app.Response"
  3370. }
  3371. }
  3372. }
  3373. }
  3374. },
  3375. "/Ermcp3/QueryAreaStock": {
  3376. "get": {
  3377. "security": [
  3378. {
  3379. "ApiKeyAuth": []
  3380. }
  3381. ],
  3382. "produces": [
  3383. "application/json"
  3384. ],
  3385. "tags": [
  3386. "企业风险管理v3(app)"
  3387. ],
  3388. "summary": "查询机构库存(库存管理/当前库存)",
  3389. "parameters": [
  3390. {
  3391. "type": "integer",
  3392. "description": "用户ID",
  3393. "name": "userid",
  3394. "in": "query",
  3395. "required": true
  3396. }
  3397. ],
  3398. "responses": {
  3399. "200": {
  3400. "description": "OK",
  3401. "schema": {
  3402. "type": "array",
  3403. "items": {
  3404. "$ref": "#/definitions/models.Ermcp3AreaStock"
  3405. }
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/Ermcp3/QueryAreaStockApply": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "produces": [
  3425. "application/json"
  3426. ],
  3427. "tags": [
  3428. "企业风险管理v3(app)"
  3429. ],
  3430. "summary": "查询库存申请(出入库记录|库存审核)",
  3431. "parameters": [
  3432. {
  3433. "type": "integer",
  3434. "description": "用户ID",
  3435. "name": "userid",
  3436. "in": "query",
  3437. "required": true
  3438. },
  3439. {
  3440. "type": "integer",
  3441. "description": "用户类型 2-机构 7-企业成员",
  3442. "name": "usertype",
  3443. "in": "query"
  3444. },
  3445. {
  3446. "type": "integer",
  3447. "description": "现货商品ID",
  3448. "name": "deliverygoodsid",
  3449. "in": "query"
  3450. },
  3451. {
  3452. "type": "string",
  3453. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  3454. "name": "inouttype",
  3455. "in": "query"
  3456. },
  3457. {
  3458. "type": "integer",
  3459. "description": "合同ID",
  3460. "name": "spotcontractid",
  3461. "in": "query"
  3462. },
  3463. {
  3464. "type": "integer",
  3465. "description": "品类ID",
  3466. "name": "wrstandardid",
  3467. "in": "query"
  3468. },
  3469. {
  3470. "type": "integer",
  3471. "description": "品牌ID",
  3472. "name": "spotgoodsbrandid",
  3473. "in": "query"
  3474. },
  3475. {
  3476. "type": "integer",
  3477. "description": "仓库ID",
  3478. "name": "warehouseinfoid",
  3479. "in": "query"
  3480. },
  3481. {
  3482. "type": "string",
  3483. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  3484. "name": "applystatus",
  3485. "in": "query"
  3486. }
  3487. ],
  3488. "responses": {
  3489. "200": {
  3490. "description": "OK",
  3491. "schema": {
  3492. "type": "array",
  3493. "items": {
  3494. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  3495. }
  3496. }
  3497. },
  3498. "500": {
  3499. "description": "Internal Server Error",
  3500. "schema": {
  3501. "$ref": "#/definitions/app.Response"
  3502. }
  3503. }
  3504. }
  3505. }
  3506. },
  3507. "/Ermcp3/QueryAreaStockApplySum": {
  3508. "get": {
  3509. "security": [
  3510. {
  3511. "ApiKeyAuth": []
  3512. }
  3513. ],
  3514. "produces": [
  3515. "application/json"
  3516. ],
  3517. "tags": [
  3518. "企业风险管理v3(app)"
  3519. ],
  3520. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  3521. "parameters": [
  3522. {
  3523. "type": "integer",
  3524. "description": "合同ID",
  3525. "name": "spotcontractid",
  3526. "in": "query"
  3527. }
  3528. ],
  3529. "responses": {
  3530. "200": {
  3531. "description": "OK",
  3532. "schema": {
  3533. "type": "array",
  3534. "items": {
  3535. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  3536. }
  3537. }
  3538. },
  3539. "500": {
  3540. "description": "Internal Server Error",
  3541. "schema": {
  3542. "$ref": "#/definitions/app.Response"
  3543. }
  3544. }
  3545. }
  3546. }
  3547. },
  3548. "/Ermcp3/QueryDGFactoryItem": {
  3549. "get": {
  3550. "security": [
  3551. {
  3552. "ApiKeyAuth": []
  3553. }
  3554. ],
  3555. "produces": [
  3556. "application/json"
  3557. ],
  3558. "tags": [
  3559. "企业风险管理v3(app)"
  3560. ],
  3561. "summary": "查询品种要素定义项",
  3562. "parameters": [
  3563. {
  3564. "type": "integer",
  3565. "description": "用户id",
  3566. "name": "userid",
  3567. "in": "query"
  3568. },
  3569. {
  3570. "type": "integer",
  3571. "description": "用户类型 2-机构 7-企业成员",
  3572. "name": "usertype",
  3573. "in": "query"
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  3578. "name": "dgfactoryitemid",
  3579. "in": "query"
  3580. },
  3581. {
  3582. "type": "integer",
  3583. "description": "现货品种ID",
  3584. "name": "deliverygoodsid",
  3585. "in": "query"
  3586. },
  3587. {
  3588. "type": "integer",
  3589. "description": "要素项类型",
  3590. "name": "dgfactoryitemtypeid",
  3591. "in": "query"
  3592. },
  3593. {
  3594. "type": "integer",
  3595. "description": "顺序",
  3596. "name": "orderindex",
  3597. "in": "query"
  3598. }
  3599. ],
  3600. "responses": {
  3601. "200": {
  3602. "description": "OK",
  3603. "schema": {
  3604. "type": "array",
  3605. "items": {
  3606. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  3607. }
  3608. }
  3609. },
  3610. "500": {
  3611. "description": "Internal Server Error",
  3612. "schema": {
  3613. "$ref": "#/definitions/app.Response"
  3614. }
  3615. }
  3616. }
  3617. }
  3618. },
  3619. "/Ermcp3/QueryDeliveryGoods": {
  3620. "get": {
  3621. "security": [
  3622. {
  3623. "ApiKeyAuth": []
  3624. }
  3625. ],
  3626. "produces": [
  3627. "application/json"
  3628. ],
  3629. "tags": [
  3630. "企业风险管理v3(app)"
  3631. ],
  3632. "summary": "查询现货商品",
  3633. "parameters": [
  3634. {
  3635. "type": "integer",
  3636. "description": "用户id",
  3637. "name": "userid",
  3638. "in": "query",
  3639. "required": true
  3640. },
  3641. {
  3642. "type": "integer",
  3643. "description": "用户类型 2-机构 7-企业成员",
  3644. "name": "usertype",
  3645. "in": "query"
  3646. },
  3647. {
  3648. "type": "integer",
  3649. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  3650. "name": "excludecfg",
  3651. "in": "query"
  3652. }
  3653. ],
  3654. "responses": {
  3655. "200": {
  3656. "description": "OK",
  3657. "schema": {
  3658. "type": "array",
  3659. "items": {
  3660. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  3661. }
  3662. }
  3663. },
  3664. "500": {
  3665. "description": "Internal Server Error",
  3666. "schema": {
  3667. "$ref": "#/definitions/app.Response"
  3668. }
  3669. }
  3670. }
  3671. }
  3672. },
  3673. "/Ermcp3/QueryDeliveryGoodsDetail": {
  3674. "get": {
  3675. "security": [
  3676. {
  3677. "ApiKeyAuth": []
  3678. }
  3679. ],
  3680. "produces": [
  3681. "application/json"
  3682. ],
  3683. "tags": [
  3684. "企业风险管理v3(app)"
  3685. ],
  3686. "summary": "查询现货商品详情",
  3687. "parameters": [
  3688. {
  3689. "type": "integer",
  3690. "description": "用户id",
  3691. "name": "userid",
  3692. "in": "query",
  3693. "required": true
  3694. },
  3695. {
  3696. "type": "integer",
  3697. "description": "用户类型 2-机构 7-企业成员",
  3698. "name": "usertype",
  3699. "in": "query"
  3700. },
  3701. {
  3702. "type": "integer",
  3703. "description": "现货商品id",
  3704. "name": "deliverygoodsid",
  3705. "in": "query"
  3706. }
  3707. ],
  3708. "responses": {
  3709. "200": {
  3710. "description": "OK",
  3711. "schema": {
  3712. "type": "array",
  3713. "items": {
  3714. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetailEx"
  3715. }
  3716. }
  3717. },
  3718. "500": {
  3719. "description": "Internal Server Error",
  3720. "schema": {
  3721. "$ref": "#/definitions/app.Response"
  3722. }
  3723. }
  3724. }
  3725. }
  3726. },
  3727. "/Ermcp3/QueryExposureDetail": {
  3728. "get": {
  3729. "security": [
  3730. {
  3731. "ApiKeyAuth": []
  3732. }
  3733. ],
  3734. "produces": [
  3735. "application/json"
  3736. ],
  3737. "tags": [
  3738. "企业风险管理v3(app)"
  3739. ],
  3740. "summary": "查询敞口现货明细",
  3741. "parameters": [
  3742. {
  3743. "type": "integer",
  3744. "description": "用户id",
  3745. "name": "userid",
  3746. "in": "query",
  3747. "required": true
  3748. },
  3749. {
  3750. "type": "integer",
  3751. "description": "用户类型 2-机构 7-企业成员",
  3752. "name": "usertype",
  3753. "in": "query"
  3754. },
  3755. {
  3756. "type": "integer",
  3757. "description": "套保商品",
  3758. "name": "middlegoodsid",
  3759. "in": "query",
  3760. "required": true
  3761. }
  3762. ],
  3763. "responses": {
  3764. "200": {
  3765. "description": "OK",
  3766. "schema": {
  3767. "type": "array",
  3768. "items": {
  3769. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  3770. }
  3771. }
  3772. },
  3773. "500": {
  3774. "description": "Internal Server Error",
  3775. "schema": {
  3776. "$ref": "#/definitions/app.Response"
  3777. }
  3778. }
  3779. }
  3780. }
  3781. },
  3782. "/Ermcp3/QueryExposureSpot": {
  3783. "get": {
  3784. "security": [
  3785. {
  3786. "ApiKeyAuth": []
  3787. }
  3788. ],
  3789. "produces": [
  3790. "application/json"
  3791. ],
  3792. "tags": [
  3793. "企业风险管理v3(app)"
  3794. ],
  3795. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3796. "parameters": [
  3797. {
  3798. "type": "integer",
  3799. "description": "用户id",
  3800. "name": "userid",
  3801. "in": "query",
  3802. "required": true
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "用户类型 2-机构 7-企业成员",
  3807. "name": "usertype",
  3808. "in": "query"
  3809. }
  3810. ],
  3811. "responses": {
  3812. "200": {
  3813. "description": "OK",
  3814. "schema": {
  3815. "type": "array",
  3816. "items": {
  3817. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  3818. }
  3819. }
  3820. },
  3821. "500": {
  3822. "description": "Internal Server Error",
  3823. "schema": {
  3824. "$ref": "#/definitions/app.Response"
  3825. }
  3826. }
  3827. }
  3828. }
  3829. },
  3830. "/Ermcp3/QueryExposureSpotDetail": {
  3831. "get": {
  3832. "security": [
  3833. {
  3834. "ApiKeyAuth": []
  3835. }
  3836. ],
  3837. "produces": [
  3838. "application/json"
  3839. ],
  3840. "tags": [
  3841. "企业风险管理v3(app)"
  3842. ],
  3843. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3844. "parameters": [
  3845. {
  3846. "type": "integer",
  3847. "description": "用户id",
  3848. "name": "userid",
  3849. "in": "query",
  3850. "required": true
  3851. },
  3852. {
  3853. "type": "integer",
  3854. "description": "用户类型 2-机构 7-企业成员",
  3855. "name": "usertype",
  3856. "in": "query"
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "现货品种ID",
  3861. "name": "deliverygoodsid",
  3862. "in": "query",
  3863. "required": true
  3864. }
  3865. ],
  3866. "responses": {
  3867. "200": {
  3868. "description": "OK",
  3869. "schema": {
  3870. "type": "array",
  3871. "items": {
  3872. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  3873. }
  3874. }
  3875. },
  3876. "500": {
  3877. "description": "Internal Server Error",
  3878. "schema": {
  3879. "$ref": "#/definitions/app.Response"
  3880. }
  3881. }
  3882. }
  3883. }
  3884. },
  3885. "/Ermcp3/QueryGoodsGroup": {
  3886. "get": {
  3887. "security": [
  3888. {
  3889. "ApiKeyAuth": []
  3890. }
  3891. ],
  3892. "produces": [
  3893. "application/json"
  3894. ],
  3895. "tags": [
  3896. "企业风险管理v3(app)"
  3897. ],
  3898. "summary": "查询期货商品组",
  3899. "parameters": [
  3900. {
  3901. "type": "integer",
  3902. "description": "用户id",
  3903. "name": "userid",
  3904. "in": "query",
  3905. "required": true
  3906. },
  3907. {
  3908. "type": "integer",
  3909. "description": "用户类型 2-机构 7-企业成员",
  3910. "name": "usertype",
  3911. "in": "query"
  3912. },
  3913. {
  3914. "type": "integer",
  3915. "description": "排除套保品中已关联的商品组 1-排除",
  3916. "name": "excludecfg",
  3917. "in": "query"
  3918. }
  3919. ],
  3920. "responses": {
  3921. "200": {
  3922. "description": "OK",
  3923. "schema": {
  3924. "type": "array",
  3925. "items": {
  3926. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  3927. }
  3928. }
  3929. },
  3930. "500": {
  3931. "description": "Internal Server Error",
  3932. "schema": {
  3933. "$ref": "#/definitions/app.Response"
  3934. }
  3935. }
  3936. }
  3937. }
  3938. },
  3939. "/Ermcp3/QueryGoodsWrstandard": {
  3940. "get": {
  3941. "security": [
  3942. {
  3943. "ApiKeyAuth": []
  3944. }
  3945. ],
  3946. "produces": [
  3947. "application/json"
  3948. ],
  3949. "tags": [
  3950. "企业风险管理v3(app)"
  3951. ],
  3952. "summary": "查询商品品类",
  3953. "parameters": [
  3954. {
  3955. "type": "integer",
  3956. "description": "用户id",
  3957. "name": "userid",
  3958. "in": "query",
  3959. "required": true
  3960. },
  3961. {
  3962. "type": "integer",
  3963. "description": "用户类型 2-机构 7-企业成员",
  3964. "name": "usertype",
  3965. "in": "query"
  3966. },
  3967. {
  3968. "type": "integer",
  3969. "description": "现货商品id",
  3970. "name": "deliverygoodsid",
  3971. "in": "query"
  3972. }
  3973. ],
  3974. "responses": {
  3975. "200": {
  3976. "description": "OK",
  3977. "schema": {
  3978. "type": "array",
  3979. "items": {
  3980. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  3981. }
  3982. }
  3983. },
  3984. "500": {
  3985. "description": "Internal Server Error",
  3986. "schema": {
  3987. "$ref": "#/definitions/app.Response"
  3988. }
  3989. }
  3990. }
  3991. }
  3992. },
  3993. "/Ermcp3/QueryGoodsbrand": {
  3994. "get": {
  3995. "security": [
  3996. {
  3997. "ApiKeyAuth": []
  3998. }
  3999. ],
  4000. "produces": [
  4001. "application/json"
  4002. ],
  4003. "tags": [
  4004. "企业风险管理v3(app)"
  4005. ],
  4006. "summary": "查询商品品牌",
  4007. "parameters": [
  4008. {
  4009. "type": "integer",
  4010. "description": "用户id",
  4011. "name": "userid",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "integer",
  4017. "description": "用户类型 2-机构 7-企业成员",
  4018. "name": "usertype",
  4019. "in": "query"
  4020. }
  4021. ],
  4022. "responses": {
  4023. "200": {
  4024. "description": "OK",
  4025. "schema": {
  4026. "type": "array",
  4027. "items": {
  4028. "$ref": "#/definitions/models.Ermcp3Brand"
  4029. }
  4030. }
  4031. },
  4032. "500": {
  4033. "description": "Internal Server Error",
  4034. "schema": {
  4035. "$ref": "#/definitions/app.Response"
  4036. }
  4037. }
  4038. }
  4039. }
  4040. },
  4041. "/Ermcp3/QueryHedgePlan": {
  4042. "get": {
  4043. "security": [
  4044. {
  4045. "ApiKeyAuth": []
  4046. }
  4047. ],
  4048. "produces": [
  4049. "application/json"
  4050. ],
  4051. "tags": [
  4052. "企业风险管理v3(app)"
  4053. ],
  4054. "summary": "查询套保计划",
  4055. "parameters": [
  4056. {
  4057. "type": "integer",
  4058. "description": "用户ID",
  4059. "name": "userid",
  4060. "in": "query",
  4061. "required": true
  4062. },
  4063. {
  4064. "type": "integer",
  4065. "description": "用户类型 2-机构 7-企业成员",
  4066. "name": "usertype",
  4067. "in": "query"
  4068. },
  4069. {
  4070. "type": "string",
  4071. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4072. "name": "hedgeplanstatus",
  4073. "in": "query",
  4074. "required": true
  4075. }
  4076. ],
  4077. "responses": {
  4078. "200": {
  4079. "description": "OK",
  4080. "schema": {
  4081. "type": "array",
  4082. "items": {
  4083. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4084. }
  4085. }
  4086. },
  4087. "500": {
  4088. "description": "Internal Server Error",
  4089. "schema": {
  4090. "$ref": "#/definitions/app.Response"
  4091. }
  4092. }
  4093. }
  4094. }
  4095. },
  4096. "/Ermcp3/QueryMiddleGoodsDetail": {
  4097. "get": {
  4098. "security": [
  4099. {
  4100. "ApiKeyAuth": []
  4101. }
  4102. ],
  4103. "produces": [
  4104. "application/json"
  4105. ],
  4106. "tags": [
  4107. "企业风险管理v3(app)"
  4108. ],
  4109. "summary": "查询套保品种详情(套保品种/商品详情)",
  4110. "parameters": [
  4111. {
  4112. "type": "integer",
  4113. "description": "用户id",
  4114. "name": "userid",
  4115. "in": "query",
  4116. "required": true
  4117. },
  4118. {
  4119. "type": "integer",
  4120. "description": "用户类型 2-机构 7-企业成员",
  4121. "name": "usertype",
  4122. "in": "query"
  4123. },
  4124. {
  4125. "type": "integer",
  4126. "description": "套保品种id",
  4127. "name": "middlegoodsid",
  4128. "in": "query"
  4129. }
  4130. ],
  4131. "responses": {
  4132. "200": {
  4133. "description": "OK",
  4134. "schema": {
  4135. "type": "array",
  4136. "items": {
  4137. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetailEx"
  4138. }
  4139. }
  4140. },
  4141. "500": {
  4142. "description": "Internal Server Error",
  4143. "schema": {
  4144. "$ref": "#/definitions/app.Response"
  4145. }
  4146. }
  4147. }
  4148. }
  4149. },
  4150. "/Ermcp3/QuerySpotContract": {
  4151. "get": {
  4152. "security": [
  4153. {
  4154. "ApiKeyAuth": []
  4155. }
  4156. ],
  4157. "produces": [
  4158. "application/json"
  4159. ],
  4160. "tags": [
  4161. "企业风险管理v3(app)"
  4162. ],
  4163. "summary": "查询现货合同",
  4164. "parameters": [
  4165. {
  4166. "type": "integer",
  4167. "description": "用户id",
  4168. "name": "userid",
  4169. "in": "query",
  4170. "required": true
  4171. },
  4172. {
  4173. "type": "integer",
  4174. "description": "用户类型 2-机构 7-企业成员",
  4175. "name": "usertype",
  4176. "in": "query"
  4177. },
  4178. {
  4179. "type": "integer",
  4180. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  4181. "name": "querytype",
  4182. "in": "query",
  4183. "required": true
  4184. },
  4185. {
  4186. "type": "string",
  4187. "description": "合同ID(SpotContractId)",
  4188. "name": "contractid",
  4189. "in": "query"
  4190. }
  4191. ],
  4192. "responses": {
  4193. "200": {
  4194. "description": "OK",
  4195. "schema": {
  4196. "type": "array",
  4197. "items": {
  4198. "$ref": "#/definitions/models.Ermcp3Contract"
  4199. }
  4200. }
  4201. },
  4202. "500": {
  4203. "description": "Internal Server Error",
  4204. "schema": {
  4205. "$ref": "#/definitions/app.Response"
  4206. }
  4207. }
  4208. }
  4209. }
  4210. },
  4211. "/Ermcp3/QuerySpotContractBS": {
  4212. "get": {
  4213. "security": [
  4214. {
  4215. "ApiKeyAuth": []
  4216. }
  4217. ],
  4218. "produces": [
  4219. "application/json"
  4220. ],
  4221. "tags": [
  4222. "企业风险管理v3(app)"
  4223. ],
  4224. "summary": "查询合同(采购/销售)",
  4225. "parameters": [
  4226. {
  4227. "type": "integer",
  4228. "description": "用户id",
  4229. "name": "userid",
  4230. "in": "query",
  4231. "required": true
  4232. },
  4233. {
  4234. "type": "integer",
  4235. "description": "用户类型 2-机构 7-企业成员",
  4236. "name": "usertype",
  4237. "in": "query"
  4238. },
  4239. {
  4240. "type": "integer",
  4241. "description": "合同类型 1-采购, -1-销售",
  4242. "name": "contracttype",
  4243. "in": "query",
  4244. "required": true
  4245. },
  4246. {
  4247. "type": "integer",
  4248. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  4249. "name": "querytype",
  4250. "in": "query",
  4251. "required": true
  4252. },
  4253. {
  4254. "type": "string",
  4255. "description": "合同ID(SpotContractId)",
  4256. "name": "contractid",
  4257. "in": "query"
  4258. }
  4259. ],
  4260. "responses": {
  4261. "200": {
  4262. "description": "OK",
  4263. "schema": {
  4264. "type": "array",
  4265. "items": {
  4266. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  4267. }
  4268. }
  4269. },
  4270. "500": {
  4271. "description": "Internal Server Error",
  4272. "schema": {
  4273. "$ref": "#/definitions/app.Response"
  4274. }
  4275. }
  4276. }
  4277. }
  4278. },
  4279. "/Ermcp3/QuerySpotGoodsPrice": {
  4280. "get": {
  4281. "security": [
  4282. {
  4283. "ApiKeyAuth": []
  4284. }
  4285. ],
  4286. "produces": [
  4287. "application/json"
  4288. ],
  4289. "tags": [
  4290. "企业风险管理v3(app)"
  4291. ],
  4292. "summary": "查询现货市价(现货市价)",
  4293. "parameters": [
  4294. {
  4295. "type": "integer",
  4296. "description": "用户ID",
  4297. "name": "userid",
  4298. "in": "query",
  4299. "required": true
  4300. }
  4301. ],
  4302. "responses": {
  4303. "200": {
  4304. "description": "OK",
  4305. "schema": {
  4306. "type": "array",
  4307. "items": {
  4308. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  4309. }
  4310. }
  4311. },
  4312. "500": {
  4313. "description": "Internal Server Error",
  4314. "schema": {
  4315. "$ref": "#/definitions/app.Response"
  4316. }
  4317. }
  4318. }
  4319. }
  4320. },
  4321. "/Ermcp3/QuerySpotGoodsPriceLog": {
  4322. "get": {
  4323. "security": [
  4324. {
  4325. "ApiKeyAuth": []
  4326. }
  4327. ],
  4328. "produces": [
  4329. "application/json"
  4330. ],
  4331. "tags": [
  4332. "企业风险管理v3(app)"
  4333. ],
  4334. "summary": "查询现货市价详情(现货市价/详情)",
  4335. "parameters": [
  4336. {
  4337. "type": "integer",
  4338. "description": "用户ID",
  4339. "name": "userid",
  4340. "in": "query",
  4341. "required": true
  4342. },
  4343. {
  4344. "type": "integer",
  4345. "description": "现货商品ID",
  4346. "name": "deliverygoodsid",
  4347. "in": "query",
  4348. "required": true
  4349. },
  4350. {
  4351. "type": "integer",
  4352. "description": "品牌ID",
  4353. "name": "brandid",
  4354. "in": "query"
  4355. },
  4356. {
  4357. "type": "integer",
  4358. "description": "品类ID",
  4359. "name": "wrstandardid",
  4360. "in": "query"
  4361. }
  4362. ],
  4363. "responses": {
  4364. "200": {
  4365. "description": "OK",
  4366. "schema": {
  4367. "type": "array",
  4368. "items": {
  4369. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  4370. }
  4371. }
  4372. },
  4373. "500": {
  4374. "description": "Internal Server Error",
  4375. "schema": {
  4376. "$ref": "#/definitions/app.Response"
  4377. }
  4378. }
  4379. }
  4380. }
  4381. },
  4382. "/Erms2/QueryArbitrageStrategy": {
  4383. "get": {
  4384. "security": [
  4385. {
  4386. "ApiKeyAuth": []
  4387. }
  4388. ],
  4389. "produces": [
  4390. "application/json"
  4391. ],
  4392. "tags": [
  4393. "风险管理"
  4394. ],
  4395. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  4396. "parameters": [
  4397. {
  4398. "type": "integer",
  4399. "description": "账户ID",
  4400. "name": "userid",
  4401. "in": "query",
  4402. "required": true
  4403. },
  4404. {
  4405. "type": "string",
  4406. "description": "商品组ID(品种ID)",
  4407. "name": "goodsgroupid",
  4408. "in": "query"
  4409. }
  4410. ],
  4411. "responses": {
  4412. "200": {
  4413. "description": "OK",
  4414. "schema": {
  4415. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  4416. }
  4417. },
  4418. "500": {
  4419. "description": "Internal Server Error",
  4420. "schema": {
  4421. "$ref": "#/definitions/app.Response"
  4422. }
  4423. }
  4424. }
  4425. }
  4426. },
  4427. "/Erms2/QueryInnerTradeDetail": {
  4428. "get": {
  4429. "security": [
  4430. {
  4431. "ApiKeyAuth": []
  4432. }
  4433. ],
  4434. "produces": [
  4435. "application/json"
  4436. ],
  4437. "tags": [
  4438. "风险管理"
  4439. ],
  4440. "summary": "查询内部成交单信息",
  4441. "parameters": [
  4442. {
  4443. "type": "integer",
  4444. "description": "资金账户",
  4445. "name": "accountid",
  4446. "in": "query",
  4447. "required": true
  4448. }
  4449. ],
  4450. "responses": {
  4451. "200": {
  4452. "description": "OK",
  4453. "schema": {
  4454. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4455. }
  4456. },
  4457. "500": {
  4458. "description": "Internal Server Error",
  4459. "schema": {
  4460. "$ref": "#/definitions/app.Response"
  4461. }
  4462. }
  4463. }
  4464. }
  4465. },
  4466. "/Erms2/QuerySpotContract": {
  4467. "get": {
  4468. "security": [
  4469. {
  4470. "ApiKeyAuth": []
  4471. }
  4472. ],
  4473. "produces": [
  4474. "application/json"
  4475. ],
  4476. "tags": [
  4477. "风险管理"
  4478. ],
  4479. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4480. "parameters": [
  4481. {
  4482. "type": "integer",
  4483. "description": "策略申请ID",
  4484. "name": "asapplyid",
  4485. "in": "query",
  4486. "required": true
  4487. },
  4488. {
  4489. "type": "integer",
  4490. "description": "现货合同ID",
  4491. "name": "spotcontractid",
  4492. "in": "query"
  4493. }
  4494. ],
  4495. "responses": {
  4496. "200": {
  4497. "description": "OK",
  4498. "schema": {
  4499. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4500. }
  4501. },
  4502. "500": {
  4503. "description": "Internal Server Error",
  4504. "schema": {
  4505. "$ref": "#/definitions/app.Response"
  4506. }
  4507. }
  4508. }
  4509. }
  4510. },
  4511. "/Erms3/AddErms2ASApply": {
  4512. "post": {
  4513. "security": [
  4514. {
  4515. "ApiKeyAuth": []
  4516. }
  4517. ],
  4518. "produces": [
  4519. "application/json"
  4520. ],
  4521. "tags": [
  4522. "风险管理v3"
  4523. ],
  4524. "summary": "新增期现套利业务申请",
  4525. "parameters": [
  4526. {
  4527. "description": "申请参数",
  4528. "name": "jsonBody",
  4529. "in": "body",
  4530. "required": true,
  4531. "schema": {
  4532. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4533. }
  4534. }
  4535. ],
  4536. "responses": {
  4537. "200": {
  4538. "description": "OK",
  4539. "schema": {
  4540. "$ref": "#/definitions/app.Response"
  4541. }
  4542. },
  4543. "500": {
  4544. "description": "Internal Server Error",
  4545. "schema": {
  4546. "$ref": "#/definitions/app.Response"
  4547. }
  4548. }
  4549. }
  4550. }
  4551. },
  4552. "/Erms3/AddErms2SpotTradeApply": {
  4553. "post": {
  4554. "security": [
  4555. {
  4556. "ApiKeyAuth": []
  4557. }
  4558. ],
  4559. "produces": [
  4560. "application/json"
  4561. ],
  4562. "tags": [
  4563. "风险管理v3"
  4564. ],
  4565. "summary": "新增现货贸易业务申请",
  4566. "parameters": [
  4567. {
  4568. "description": "申请参数",
  4569. "name": "jsonBody",
  4570. "in": "body",
  4571. "required": true,
  4572. "schema": {
  4573. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4574. }
  4575. }
  4576. ],
  4577. "responses": {
  4578. "200": {
  4579. "description": "OK",
  4580. "schema": {
  4581. "$ref": "#/definitions/app.Response"
  4582. }
  4583. },
  4584. "500": {
  4585. "description": "Internal Server Error",
  4586. "schema": {
  4587. "$ref": "#/definitions/app.Response"
  4588. }
  4589. }
  4590. }
  4591. }
  4592. },
  4593. "/Erms3/AddSpotContractApply": {
  4594. "post": {
  4595. "security": [
  4596. {
  4597. "ApiKeyAuth": []
  4598. }
  4599. ],
  4600. "produces": [
  4601. "application/json"
  4602. ],
  4603. "tags": [
  4604. "风险管理v3"
  4605. ],
  4606. "summary": "新增现货合同申请",
  4607. "parameters": [
  4608. {
  4609. "description": "申请参数",
  4610. "name": "jsonBody",
  4611. "in": "body",
  4612. "required": true,
  4613. "schema": {
  4614. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4615. }
  4616. }
  4617. ],
  4618. "responses": {
  4619. "200": {
  4620. "description": "OK",
  4621. "schema": {
  4622. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4623. }
  4624. },
  4625. "500": {
  4626. "description": "Internal Server Error",
  4627. "schema": {
  4628. "$ref": "#/definitions/app.Response"
  4629. }
  4630. }
  4631. }
  4632. }
  4633. },
  4634. "/Erms3/AddUserInfoApply": {
  4635. "post": {
  4636. "security": [
  4637. {
  4638. "ApiKeyAuth": []
  4639. }
  4640. ],
  4641. "produces": [
  4642. "application/json"
  4643. ],
  4644. "tags": [
  4645. "风险管理v3"
  4646. ],
  4647. "summary": "新增客户申请",
  4648. "parameters": [
  4649. {
  4650. "description": "用户信息",
  4651. "name": "jsonBody",
  4652. "in": "body",
  4653. "required": true,
  4654. "schema": {
  4655. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4656. }
  4657. }
  4658. ],
  4659. "responses": {
  4660. "200": {
  4661. "description": "OK",
  4662. "schema": {
  4663. "$ref": "#/definitions/app.Response"
  4664. }
  4665. },
  4666. "500": {
  4667. "description": "Internal Server Error",
  4668. "schema": {
  4669. "$ref": "#/definitions/app.Response"
  4670. }
  4671. }
  4672. }
  4673. }
  4674. },
  4675. "/Erms3/DeleteUserInfoApply": {
  4676. "get": {
  4677. "security": [
  4678. {
  4679. "ApiKeyAuth": []
  4680. }
  4681. ],
  4682. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  4683. "produces": [
  4684. "application/json"
  4685. ],
  4686. "tags": [
  4687. "风险管理v3"
  4688. ],
  4689. "summary": "删除客户申请",
  4690. "parameters": [
  4691. {
  4692. "type": "integer",
  4693. "description": "用户ID",
  4694. "name": "userID",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "$ref": "#/definitions/app.Response"
  4704. }
  4705. },
  4706. "500": {
  4707. "description": "Internal Server Error",
  4708. "schema": {
  4709. "$ref": "#/definitions/app.Response"
  4710. }
  4711. }
  4712. }
  4713. }
  4714. },
  4715. "/Erms3/ModifyUserInfoApply": {
  4716. "post": {
  4717. "security": [
  4718. {
  4719. "ApiKeyAuth": []
  4720. }
  4721. ],
  4722. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4723. "produces": [
  4724. "application/json"
  4725. ],
  4726. "tags": [
  4727. "风险管理v3"
  4728. ],
  4729. "summary": "修改客户申请",
  4730. "parameters": [
  4731. {
  4732. "description": "用户信息",
  4733. "name": "jsonBody",
  4734. "in": "body",
  4735. "required": true,
  4736. "schema": {
  4737. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4738. }
  4739. }
  4740. ],
  4741. "responses": {
  4742. "200": {
  4743. "description": "OK",
  4744. "schema": {
  4745. "$ref": "#/definitions/app.Response"
  4746. }
  4747. },
  4748. "500": {
  4749. "description": "Internal Server Error",
  4750. "schema": {
  4751. "$ref": "#/definitions/app.Response"
  4752. }
  4753. }
  4754. }
  4755. }
  4756. },
  4757. "/Erms3/QueryBusinessInfo": {
  4758. "get": {
  4759. "security": [
  4760. {
  4761. "ApiKeyAuth": []
  4762. }
  4763. ],
  4764. "produces": [
  4765. "application/json"
  4766. ],
  4767. "tags": [
  4768. "风险管理v3"
  4769. ],
  4770. "summary": "查询业务表单数据",
  4771. "parameters": [
  4772. {
  4773. "type": "string",
  4774. "description": "资金账号ID列表,用逗号分隔",
  4775. "name": "accountids",
  4776. "in": "query",
  4777. "required": true
  4778. },
  4779. {
  4780. "type": "integer",
  4781. "description": "状态,0为未结束 1为已结束",
  4782. "name": "status",
  4783. "in": "query",
  4784. "required": true
  4785. }
  4786. ],
  4787. "responses": {
  4788. "200": {
  4789. "description": "OK",
  4790. "schema": {
  4791. "type": "array",
  4792. "items": {
  4793. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4794. }
  4795. }
  4796. },
  4797. "500": {
  4798. "description": "Internal Server Error",
  4799. "schema": {
  4800. "$ref": "#/definitions/app.Response"
  4801. }
  4802. }
  4803. }
  4804. }
  4805. },
  4806. "/Erms3/QueryPendingAuditContract": {
  4807. "get": {
  4808. "security": [
  4809. {
  4810. "ApiKeyAuth": []
  4811. }
  4812. ],
  4813. "produces": [
  4814. "application/json"
  4815. ],
  4816. "tags": [
  4817. "风险管理v3"
  4818. ],
  4819. "summary": "查询待审核合同",
  4820. "parameters": [
  4821. {
  4822. "type": "string",
  4823. "description": "资金账号ID列表,逗号隔开",
  4824. "name": "accountids",
  4825. "in": "query",
  4826. "required": true
  4827. },
  4828. {
  4829. "type": "integer",
  4830. "description": "合同类型 1-采购 -1-销售",
  4831. "name": "contracttype",
  4832. "in": "query",
  4833. "required": true
  4834. },
  4835. {
  4836. "type": "integer",
  4837. "description": "合同模式 1-普通 2-回购",
  4838. "name": "contractmode",
  4839. "in": "query",
  4840. "required": true
  4841. }
  4842. ],
  4843. "responses": {
  4844. "200": {
  4845. "description": "OK",
  4846. "schema": {
  4847. "type": "array",
  4848. "items": {
  4849. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4850. }
  4851. }
  4852. },
  4853. "500": {
  4854. "description": "Internal Server Error",
  4855. "schema": {
  4856. "$ref": "#/definitions/app.Response"
  4857. }
  4858. }
  4859. }
  4860. }
  4861. },
  4862. "/Erms3/QueryPendingBusiness": {
  4863. "get": {
  4864. "security": [
  4865. {
  4866. "ApiKeyAuth": []
  4867. }
  4868. ],
  4869. "produces": [
  4870. "application/json"
  4871. ],
  4872. "tags": [
  4873. "风险管理v3"
  4874. ],
  4875. "summary": "查询待审核基差贸易业务",
  4876. "parameters": [
  4877. {
  4878. "type": "string",
  4879. "description": "资金账号ID列表,逗号隔开",
  4880. "name": "accountids",
  4881. "in": "query",
  4882. "required": true
  4883. }
  4884. ],
  4885. "responses": {
  4886. "200": {
  4887. "description": "OK",
  4888. "schema": {
  4889. "type": "array",
  4890. "items": {
  4891. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4892. }
  4893. }
  4894. },
  4895. "500": {
  4896. "description": "Internal Server Error",
  4897. "schema": {
  4898. "$ref": "#/definitions/app.Response"
  4899. }
  4900. }
  4901. }
  4902. }
  4903. },
  4904. "/Erms3/QuerySpotContractAppleForm": {
  4905. "get": {
  4906. "security": [
  4907. {
  4908. "ApiKeyAuth": []
  4909. }
  4910. ],
  4911. "produces": [
  4912. "application/json"
  4913. ],
  4914. "tags": [
  4915. "风险管理v3"
  4916. ],
  4917. "summary": "查询合同申请表单数据",
  4918. "parameters": [
  4919. {
  4920. "type": "integer",
  4921. "description": "登录账号",
  4922. "name": "loginID",
  4923. "in": "query",
  4924. "required": true
  4925. }
  4926. ],
  4927. "responses": {
  4928. "200": {
  4929. "description": "OK",
  4930. "schema": {
  4931. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4932. }
  4933. },
  4934. "500": {
  4935. "description": "Internal Server Error",
  4936. "schema": {
  4937. "$ref": "#/definitions/app.Response"
  4938. }
  4939. }
  4940. }
  4941. }
  4942. },
  4943. "/Erms3/QuerySpotContractDetail": {
  4944. "get": {
  4945. "security": [
  4946. {
  4947. "ApiKeyAuth": []
  4948. }
  4949. ],
  4950. "produces": [
  4951. "application/json"
  4952. ],
  4953. "tags": [
  4954. "风险管理v3"
  4955. ],
  4956. "summary": "查询合同详细信息",
  4957. "parameters": [
  4958. {
  4959. "type": "string",
  4960. "description": "资金账号ID列表,用逗号分隔",
  4961. "name": "accountids",
  4962. "in": "query",
  4963. "required": true
  4964. },
  4965. {
  4966. "type": "integer",
  4967. "description": "合同类型,1为采购合同 -1为销售合同",
  4968. "name": "contracttype",
  4969. "in": "query",
  4970. "required": true
  4971. },
  4972. {
  4973. "type": "integer",
  4974. "description": "合同模式,1为普通合同 2为回购销售合同",
  4975. "name": "contractmode",
  4976. "in": "query",
  4977. "required": true
  4978. },
  4979. {
  4980. "type": "integer",
  4981. "description": "状态,0为履约中 1为已完成",
  4982. "name": "status",
  4983. "in": "query",
  4984. "required": true
  4985. }
  4986. ],
  4987. "responses": {
  4988. "200": {
  4989. "description": "OK",
  4990. "schema": {
  4991. "type": "array",
  4992. "items": {
  4993. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4994. }
  4995. }
  4996. },
  4997. "500": {
  4998. "description": "Internal Server Error",
  4999. "schema": {
  5000. "$ref": "#/definitions/app.Response"
  5001. }
  5002. }
  5003. }
  5004. }
  5005. },
  5006. "/Erms3/QueryUserInfoApplies": {
  5007. "get": {
  5008. "security": [
  5009. {
  5010. "ApiKeyAuth": []
  5011. }
  5012. ],
  5013. "produces": [
  5014. "application/json"
  5015. ],
  5016. "tags": [
  5017. "风险管理v3"
  5018. ],
  5019. "summary": "客户申请信息查询",
  5020. "parameters": [
  5021. {
  5022. "type": "integer",
  5023. "description": "页码",
  5024. "name": "page",
  5025. "in": "query"
  5026. },
  5027. {
  5028. "type": "integer",
  5029. "description": "每页条数",
  5030. "name": "pagesize",
  5031. "in": "query"
  5032. },
  5033. {
  5034. "type": "string",
  5035. "description": "客户名称,支持模糊查询",
  5036. "name": "userName",
  5037. "in": "query"
  5038. }
  5039. ],
  5040. "responses": {
  5041. "200": {
  5042. "description": "OK",
  5043. "schema": {
  5044. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  5045. }
  5046. },
  5047. "500": {
  5048. "description": "Internal Server Error",
  5049. "schema": {
  5050. "$ref": "#/definitions/app.Response"
  5051. }
  5052. }
  5053. }
  5054. }
  5055. },
  5056. "/Erms3/QueryUserInfos": {
  5057. "get": {
  5058. "security": [
  5059. {
  5060. "ApiKeyAuth": []
  5061. }
  5062. ],
  5063. "produces": [
  5064. "application/json"
  5065. ],
  5066. "tags": [
  5067. "风险管理v3"
  5068. ],
  5069. "summary": "客户信息查询",
  5070. "parameters": [
  5071. {
  5072. "type": "integer",
  5073. "description": "页码",
  5074. "name": "page",
  5075. "in": "query"
  5076. },
  5077. {
  5078. "type": "integer",
  5079. "description": "每页条数",
  5080. "name": "pagesize",
  5081. "in": "query"
  5082. },
  5083. {
  5084. "type": "string",
  5085. "description": "客户名称,支持模糊查询",
  5086. "name": "userName",
  5087. "in": "query"
  5088. }
  5089. ],
  5090. "responses": {
  5091. "200": {
  5092. "description": "OK",
  5093. "schema": {
  5094. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  5095. }
  5096. },
  5097. "500": {
  5098. "description": "Internal Server Error",
  5099. "schema": {
  5100. "$ref": "#/definitions/app.Response"
  5101. }
  5102. }
  5103. }
  5104. }
  5105. },
  5106. "/HSBY/GetHsbyMyCount": {
  5107. "get": {
  5108. "security": [
  5109. {
  5110. "ApiKeyAuth": []
  5111. }
  5112. ],
  5113. "description": "说明: 不包括已完成的数量。",
  5114. "produces": [
  5115. "application/json"
  5116. ],
  5117. "tags": [
  5118. "定制【海商报业】"
  5119. ],
  5120. "summary": "获取我的订单与包裹数量",
  5121. "parameters": [
  5122. {
  5123. "type": "string",
  5124. "description": "资金账户列表,格式:1,2,3",
  5125. "name": "accountIDs",
  5126. "in": "query",
  5127. "required": true
  5128. }
  5129. ],
  5130. "responses": {
  5131. "200": {
  5132. "description": "OK",
  5133. "schema": {
  5134. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  5135. }
  5136. },
  5137. "500": {
  5138. "description": "Internal Server Error",
  5139. "schema": {
  5140. "$ref": "#/definitions/app.Response"
  5141. }
  5142. }
  5143. }
  5144. }
  5145. },
  5146. "/HSBY/QueryClientFixedADConfigs": {
  5147. "get": {
  5148. "security": [
  5149. {
  5150. "ApiKeyAuth": []
  5151. }
  5152. ],
  5153. "produces": [
  5154. "application/json"
  5155. ],
  5156. "tags": [
  5157. "定制【海商报业】"
  5158. ],
  5159. "summary": "获取终端固定广告配置",
  5160. "responses": {
  5161. "200": {
  5162. "description": "OK",
  5163. "schema": {
  5164. "$ref": "#/definitions/models.Clientfixedadconfig"
  5165. }
  5166. },
  5167. "500": {
  5168. "description": "Internal Server Error",
  5169. "schema": {
  5170. "$ref": "#/definitions/app.Response"
  5171. }
  5172. }
  5173. }
  5174. }
  5175. },
  5176. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  5177. "get": {
  5178. "security": [
  5179. {
  5180. "ApiKeyAuth": []
  5181. }
  5182. ],
  5183. "produces": [
  5184. "application/json"
  5185. ],
  5186. "tags": [
  5187. "定制【海商报业】"
  5188. ],
  5189. "summary": "查询\"我的订单 - 已完成\"单据信息",
  5190. "parameters": [
  5191. {
  5192. "type": "integer",
  5193. "description": "页码",
  5194. "name": "page",
  5195. "in": "query"
  5196. },
  5197. {
  5198. "type": "integer",
  5199. "description": "每页条数",
  5200. "name": "pagesize",
  5201. "in": "query"
  5202. },
  5203. {
  5204. "type": "string",
  5205. "description": "资金账户列表,格式:1,2,3",
  5206. "name": "accountIDs",
  5207. "in": "query",
  5208. "required": true
  5209. }
  5210. ],
  5211. "responses": {
  5212. "200": {
  5213. "description": "OK",
  5214. "schema": {
  5215. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  5216. }
  5217. },
  5218. "500": {
  5219. "description": "Internal Server Error",
  5220. "schema": {
  5221. "$ref": "#/definitions/app.Response"
  5222. }
  5223. }
  5224. }
  5225. }
  5226. },
  5227. "/HSBY/QueryHsbyGoodsOrderDetails": {
  5228. "get": {
  5229. "security": [
  5230. {
  5231. "ApiKeyAuth": []
  5232. }
  5233. ],
  5234. "description": "说明:查询结果已按委托价格和委托时间排序",
  5235. "produces": [
  5236. "application/json"
  5237. ],
  5238. "tags": [
  5239. "定制【海商报业】"
  5240. ],
  5241. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  5242. "parameters": [
  5243. {
  5244. "type": "integer",
  5245. "description": "商品ID",
  5246. "name": "goodsID",
  5247. "in": "query",
  5248. "required": true
  5249. },
  5250. {
  5251. "type": "string",
  5252. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  5253. "name": "accountIDs",
  5254. "in": "query"
  5255. },
  5256. {
  5257. "type": "integer",
  5258. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  5259. "name": "buyOrSell",
  5260. "in": "query"
  5261. },
  5262. {
  5263. "type": "number",
  5264. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  5265. "name": "price",
  5266. "in": "query"
  5267. },
  5268. {
  5269. "type": "integer",
  5270. "description": "档位,不传则默认为3档",
  5271. "name": "speed",
  5272. "in": "query"
  5273. }
  5274. ],
  5275. "responses": {
  5276. "200": {
  5277. "description": "OK",
  5278. "schema": {
  5279. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  5280. }
  5281. },
  5282. "500": {
  5283. "description": "Internal Server Error",
  5284. "schema": {
  5285. "$ref": "#/definitions/app.Response"
  5286. }
  5287. }
  5288. }
  5289. }
  5290. },
  5291. "/HSBY/QueryHsbyListingGoodsDetail": {
  5292. "get": {
  5293. "security": [
  5294. {
  5295. "ApiKeyAuth": []
  5296. }
  5297. ],
  5298. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  5299. "produces": [
  5300. "application/json"
  5301. ],
  5302. "tags": [
  5303. "定制【海商报业】"
  5304. ],
  5305. "summary": "查询二级市场(挂牌点选)商品信息详情",
  5306. "parameters": [
  5307. {
  5308. "type": "integer",
  5309. "description": "商品ID",
  5310. "name": "goodsID",
  5311. "in": "query",
  5312. "required": true
  5313. },
  5314. {
  5315. "type": "integer",
  5316. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  5317. "name": "accountID",
  5318. "in": "query"
  5319. }
  5320. ],
  5321. "responses": {
  5322. "200": {
  5323. "description": "OK",
  5324. "schema": {
  5325. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  5326. }
  5327. },
  5328. "500": {
  5329. "description": "Internal Server Error",
  5330. "schema": {
  5331. "$ref": "#/definitions/app.Response"
  5332. }
  5333. }
  5334. }
  5335. }
  5336. },
  5337. "/HSBY/QueryHsbyMarketGoodsDetail": {
  5338. "get": {
  5339. "security": [
  5340. {
  5341. "ApiKeyAuth": []
  5342. }
  5343. ],
  5344. "produces": [
  5345. "application/json"
  5346. ],
  5347. "tags": [
  5348. "定制【海商报业】"
  5349. ],
  5350. "summary": "查询三级市场(商城)商品信息详情",
  5351. "parameters": [
  5352. {
  5353. "type": "integer",
  5354. "description": "委托单号",
  5355. "name": "orderID",
  5356. "in": "query",
  5357. "required": true
  5358. },
  5359. {
  5360. "type": "integer",
  5361. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  5362. "name": "accountID",
  5363. "in": "query"
  5364. }
  5365. ],
  5366. "responses": {
  5367. "200": {
  5368. "description": "OK",
  5369. "schema": {
  5370. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5371. }
  5372. },
  5373. "500": {
  5374. "description": "Internal Server Error",
  5375. "schema": {
  5376. "$ref": "#/definitions/app.Response"
  5377. }
  5378. }
  5379. }
  5380. }
  5381. },
  5382. "/HSBY/QueryHsbyMarketGoodses": {
  5383. "get": {
  5384. "security": [
  5385. {
  5386. "ApiKeyAuth": []
  5387. }
  5388. ],
  5389. "produces": [
  5390. "application/json"
  5391. ],
  5392. "tags": [
  5393. "定制【海商报业】"
  5394. ],
  5395. "summary": "查询特卖商品列表(三级商城)",
  5396. "parameters": [
  5397. {
  5398. "type": "integer",
  5399. "description": "页码",
  5400. "name": "page",
  5401. "in": "query"
  5402. },
  5403. {
  5404. "type": "integer",
  5405. "description": "每页条数",
  5406. "name": "pagesize",
  5407. "in": "query"
  5408. },
  5409. {
  5410. "type": "string",
  5411. "description": "市场ID列表,格式:1,2,3",
  5412. "name": "marketIDs",
  5413. "in": "query",
  5414. "required": true
  5415. },
  5416. {
  5417. "type": "integer",
  5418. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  5419. "name": "accountID",
  5420. "in": "query",
  5421. "required": true
  5422. },
  5423. {
  5424. "type": "integer",
  5425. "description": "类别ID",
  5426. "name": "categoryID",
  5427. "in": "query"
  5428. },
  5429. {
  5430. "type": "string",
  5431. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5432. "name": "goodsIDs",
  5433. "in": "query"
  5434. },
  5435. {
  5436. "type": "integer",
  5437. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  5438. "name": "couponTypeID",
  5439. "in": "query"
  5440. }
  5441. ],
  5442. "responses": {
  5443. "200": {
  5444. "description": "OK",
  5445. "schema": {
  5446. "$ref": "#/definitions/models.HsbyMarketGoods"
  5447. }
  5448. },
  5449. "500": {
  5450. "description": "Internal Server Error",
  5451. "schema": {
  5452. "$ref": "#/definitions/app.Response"
  5453. }
  5454. }
  5455. }
  5456. }
  5457. },
  5458. "/HSBY/QueryHsbyMarkets": {
  5459. "get": {
  5460. "security": [
  5461. {
  5462. "ApiKeyAuth": []
  5463. }
  5464. ],
  5465. "produces": [
  5466. "application/json"
  5467. ],
  5468. "tags": [
  5469. "定制【海商报业】"
  5470. ],
  5471. "summary": "查询海商报业相关市场信息",
  5472. "responses": {
  5473. "200": {
  5474. "description": "OK",
  5475. "schema": {
  5476. "$ref": "#/definitions/models.HsbyMarketInfo"
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "定制【海商报业】"
  5501. ],
  5502. "summary": "查询“我的订单”信息",
  5503. "parameters": [
  5504. {
  5505. "type": "string",
  5506. "description": "资金账户列表,格式:1,2,3",
  5507. "name": "accountIDs",
  5508. "in": "query",
  5509. "required": true
  5510. }
  5511. ],
  5512. "responses": {
  5513. "200": {
  5514. "description": "OK",
  5515. "schema": {
  5516. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5517. }
  5518. },
  5519. "500": {
  5520. "description": "Internal Server Error",
  5521. "schema": {
  5522. "$ref": "#/definitions/app.Response"
  5523. }
  5524. }
  5525. }
  5526. }
  5527. },
  5528. "/HSBY/QueryHsbyMyGoods": {
  5529. "get": {
  5530. "security": [
  5531. {
  5532. "ApiKeyAuth": []
  5533. }
  5534. ],
  5535. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5536. "produces": [
  5537. "application/json"
  5538. ],
  5539. "tags": [
  5540. "定制【海商报业】"
  5541. ],
  5542. "summary": "查询“我的商品”信息",
  5543. "parameters": [
  5544. {
  5545. "type": "string",
  5546. "description": "资金账户列表,格式:1,2,3",
  5547. "name": "accountIDs",
  5548. "in": "query",
  5549. "required": true
  5550. }
  5551. ],
  5552. "responses": {
  5553. "200": {
  5554. "description": "OK",
  5555. "schema": {
  5556. "$ref": "#/definitions/models.HsbyMyGoods"
  5557. }
  5558. },
  5559. "500": {
  5560. "description": "Internal Server Error",
  5561. "schema": {
  5562. "$ref": "#/definitions/app.Response"
  5563. }
  5564. }
  5565. }
  5566. }
  5567. },
  5568. "/HSBY/QueryHsbyMyPackages": {
  5569. "get": {
  5570. "security": [
  5571. {
  5572. "ApiKeyAuth": []
  5573. }
  5574. ],
  5575. "produces": [
  5576. "application/json"
  5577. ],
  5578. "tags": [
  5579. "定制【海商报业】"
  5580. ],
  5581. "summary": "查询我的包裹信息",
  5582. "parameters": [
  5583. {
  5584. "type": "string",
  5585. "description": "资金账户列表,格式:1,2,3",
  5586. "name": "accountIDs",
  5587. "in": "query",
  5588. "required": true
  5589. },
  5590. {
  5591. "type": "integer",
  5592. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5593. "name": "takeOrderStatus",
  5594. "in": "query"
  5595. }
  5596. ],
  5597. "responses": {
  5598. "200": {
  5599. "description": "OK",
  5600. "schema": {
  5601. "$ref": "#/definitions/models.HsbyMyPackage"
  5602. }
  5603. },
  5604. "500": {
  5605. "description": "Internal Server Error",
  5606. "schema": {
  5607. "$ref": "#/definitions/app.Response"
  5608. }
  5609. }
  5610. }
  5611. }
  5612. },
  5613. "/HSBY/QueryHsbyPreGoodsDetail": {
  5614. "get": {
  5615. "security": [
  5616. {
  5617. "ApiKeyAuth": []
  5618. }
  5619. ],
  5620. "produces": [
  5621. "application/json"
  5622. ],
  5623. "tags": [
  5624. "定制【海商报业】"
  5625. ],
  5626. "summary": "查询一级市场(预售)商品信息详情",
  5627. "parameters": [
  5628. {
  5629. "type": "integer",
  5630. "description": "商品ID",
  5631. "name": "goodsID",
  5632. "in": "query",
  5633. "required": true
  5634. },
  5635. {
  5636. "type": "integer",
  5637. "description": "资金账户,主要用于获取预售商品购买上限",
  5638. "name": "accountID",
  5639. "in": "query"
  5640. }
  5641. ],
  5642. "responses": {
  5643. "200": {
  5644. "description": "OK",
  5645. "schema": {
  5646. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5647. }
  5648. },
  5649. "500": {
  5650. "description": "Internal Server Error",
  5651. "schema": {
  5652. "$ref": "#/definitions/app.Response"
  5653. }
  5654. }
  5655. }
  5656. }
  5657. },
  5658. "/HSBY/QueryHsbyPreGoodses": {
  5659. "get": {
  5660. "security": [
  5661. {
  5662. "ApiKeyAuth": []
  5663. }
  5664. ],
  5665. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "定制【海商报业】"
  5671. ],
  5672. "summary": "查询新品上市商品列表(一级市场预售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "页码",
  5677. "name": "page",
  5678. "in": "query"
  5679. },
  5680. {
  5681. "type": "integer",
  5682. "description": "每页条数",
  5683. "name": "pagesize",
  5684. "in": "query"
  5685. },
  5686. {
  5687. "type": "string",
  5688. "description": "市场ID列表,格式:1,2,3",
  5689. "name": "marketIDs",
  5690. "in": "query",
  5691. "required": true
  5692. },
  5693. {
  5694. "type": "integer",
  5695. "description": "目的地(省)ID",
  5696. "name": "descProvinceID",
  5697. "in": "query"
  5698. },
  5699. {
  5700. "type": "integer",
  5701. "description": "目的地(市)ID",
  5702. "name": "descCityID",
  5703. "in": "query"
  5704. }
  5705. ],
  5706. "responses": {
  5707. "200": {
  5708. "description": "OK",
  5709. "schema": {
  5710. "$ref": "#/definitions/models.HsbyPreGoods"
  5711. }
  5712. },
  5713. "500": {
  5714. "description": "Internal Server Error",
  5715. "schema": {
  5716. "$ref": "#/definitions/app.Response"
  5717. }
  5718. }
  5719. }
  5720. }
  5721. },
  5722. "/HSBY/QueryHsbySellMyDetails": {
  5723. "get": {
  5724. "security": [
  5725. {
  5726. "ApiKeyAuth": []
  5727. }
  5728. ],
  5729. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5730. "produces": [
  5731. "application/json"
  5732. ],
  5733. "tags": [
  5734. "定制【海商报业】"
  5735. ],
  5736. "summary": "查询\"我的闲置\"单据信息",
  5737. "parameters": [
  5738. {
  5739. "type": "integer",
  5740. "description": "页码",
  5741. "name": "page",
  5742. "in": "query"
  5743. },
  5744. {
  5745. "type": "integer",
  5746. "description": "每页条数",
  5747. "name": "pagesize",
  5748. "in": "query"
  5749. },
  5750. {
  5751. "type": "string",
  5752. "description": "资金账户列表,格式:1,2,3",
  5753. "name": "accountIDs",
  5754. "in": "query",
  5755. "required": true
  5756. },
  5757. {
  5758. "type": "integer",
  5759. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5760. "name": "orderType",
  5761. "in": "query"
  5762. }
  5763. ],
  5764. "responses": {
  5765. "200": {
  5766. "description": "OK",
  5767. "schema": {
  5768. "$ref": "#/definitions/models.HsbySellMyDetail"
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/HSBY/QueryHsbyTopGoodses": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5788. "produces": [
  5789. "application/json"
  5790. ],
  5791. "tags": [
  5792. "定制【海商报业】"
  5793. ],
  5794. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5795. "parameters": [
  5796. {
  5797. "type": "integer",
  5798. "description": "页码",
  5799. "name": "page",
  5800. "in": "query"
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "每页条数",
  5805. "name": "pagesize",
  5806. "in": "query"
  5807. },
  5808. {
  5809. "type": "string",
  5810. "description": "市场ID列表,格式:1,2,3",
  5811. "name": "marketIDs",
  5812. "in": "query",
  5813. "required": true
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "目的地(省)ID",
  5818. "name": "descProvinceID",
  5819. "in": "query"
  5820. },
  5821. {
  5822. "type": "integer",
  5823. "description": "目的地(市)ID",
  5824. "name": "descCityID",
  5825. "in": "query"
  5826. }
  5827. ],
  5828. "responses": {
  5829. "200": {
  5830. "description": "OK",
  5831. "schema": {
  5832. "$ref": "#/definitions/models.HsbyTopGoods"
  5833. }
  5834. },
  5835. "500": {
  5836. "description": "Internal Server Error",
  5837. "schema": {
  5838. "$ref": "#/definitions/app.Response"
  5839. }
  5840. }
  5841. }
  5842. }
  5843. },
  5844. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5845. "get": {
  5846. "security": [
  5847. {
  5848. "ApiKeyAuth": []
  5849. }
  5850. ],
  5851. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5852. "produces": [
  5853. "application/json"
  5854. ],
  5855. "tags": [
  5856. "定制【海商报业】"
  5857. ],
  5858. "summary": "查询游客三级市场(商城)商品信息详情",
  5859. "parameters": [
  5860. {
  5861. "type": "integer",
  5862. "description": "商品ID",
  5863. "name": "goodsID",
  5864. "in": "query",
  5865. "required": true
  5866. }
  5867. ],
  5868. "responses": {
  5869. "200": {
  5870. "description": "OK",
  5871. "schema": {
  5872. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5873. }
  5874. },
  5875. "500": {
  5876. "description": "Internal Server Error",
  5877. "schema": {
  5878. "$ref": "#/definitions/app.Response"
  5879. }
  5880. }
  5881. }
  5882. }
  5883. },
  5884. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5885. "get": {
  5886. "security": [
  5887. {
  5888. "ApiKeyAuth": []
  5889. }
  5890. ],
  5891. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5892. "produces": [
  5893. "application/json"
  5894. ],
  5895. "tags": [
  5896. "定制【海商报业】"
  5897. ],
  5898. "summary": "查询游客特卖商品列表(三级商城)",
  5899. "parameters": [
  5900. {
  5901. "type": "integer",
  5902. "description": "页码",
  5903. "name": "page",
  5904. "in": "query"
  5905. },
  5906. {
  5907. "type": "integer",
  5908. "description": "每页条数",
  5909. "name": "pagesize",
  5910. "in": "query"
  5911. },
  5912. {
  5913. "type": "string",
  5914. "description": "市场ID列表,格式:1,2,3",
  5915. "name": "marketIDs",
  5916. "in": "query",
  5917. "required": true
  5918. },
  5919. {
  5920. "type": "integer",
  5921. "description": "类别ID",
  5922. "name": "categoryID",
  5923. "in": "query"
  5924. },
  5925. {
  5926. "type": "string",
  5927. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5928. "name": "goodsIDs",
  5929. "in": "query"
  5930. }
  5931. ],
  5932. "responses": {
  5933. "200": {
  5934. "description": "OK",
  5935. "schema": {
  5936. "$ref": "#/definitions/models.HsbyMarketGoods"
  5937. }
  5938. },
  5939. "500": {
  5940. "description": "Internal Server Error",
  5941. "schema": {
  5942. "$ref": "#/definitions/app.Response"
  5943. }
  5944. }
  5945. }
  5946. }
  5947. },
  5948. "/HSBY/QueryMyCollectionOrders": {
  5949. "get": {
  5950. "security": [
  5951. {
  5952. "ApiKeyAuth": []
  5953. }
  5954. ],
  5955. "produces": [
  5956. "application/json"
  5957. ],
  5958. "tags": [
  5959. "定制【海商报业】"
  5960. ],
  5961. "summary": "我的闲置中收款信息查询",
  5962. "parameters": [
  5963. {
  5964. "type": "integer",
  5965. "description": "页码",
  5966. "name": "page",
  5967. "in": "query"
  5968. },
  5969. {
  5970. "type": "integer",
  5971. "description": "每页条数",
  5972. "name": "pagesize",
  5973. "in": "query"
  5974. },
  5975. {
  5976. "type": "string",
  5977. "description": "资金账户,格式:1,2,3",
  5978. "name": "accountIDs",
  5979. "in": "query",
  5980. "required": true
  5981. }
  5982. ],
  5983. "responses": {
  5984. "200": {
  5985. "description": "OK",
  5986. "schema": {
  5987. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5988. }
  5989. },
  5990. "500": {
  5991. "description": "Internal Server Error",
  5992. "schema": {
  5993. "$ref": "#/definitions/app.Response"
  5994. }
  5995. }
  5996. }
  5997. }
  5998. },
  5999. "/HSBY/QueryMyCouponHolds": {
  6000. "get": {
  6001. "security": [
  6002. {
  6003. "ApiKeyAuth": []
  6004. }
  6005. ],
  6006. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  6007. "produces": [
  6008. "application/json"
  6009. ],
  6010. "tags": [
  6011. "定制【海商报业】"
  6012. ],
  6013. "summary": "我的优惠卷持仓查询",
  6014. "parameters": [
  6015. {
  6016. "type": "string",
  6017. "description": "资金账户列表,格式:1,2,3",
  6018. "name": "accountIDs",
  6019. "in": "query",
  6020. "required": true
  6021. },
  6022. {
  6023. "type": "string",
  6024. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  6025. "name": "holdStatus",
  6026. "in": "query"
  6027. }
  6028. ],
  6029. "responses": {
  6030. "200": {
  6031. "description": "OK",
  6032. "schema": {
  6033. "$ref": "#/definitions/models.MyCouponHold"
  6034. }
  6035. },
  6036. "500": {
  6037. "description": "Internal Server Error",
  6038. "schema": {
  6039. "$ref": "#/definitions/app.Response"
  6040. }
  6041. }
  6042. }
  6043. }
  6044. },
  6045. "/HSBY/QueryMyCoupons": {
  6046. "get": {
  6047. "security": [
  6048. {
  6049. "ApiKeyAuth": []
  6050. }
  6051. ],
  6052. "produces": [
  6053. "application/json"
  6054. ],
  6055. "tags": [
  6056. "定制【海商报业】"
  6057. ],
  6058. "summary": "我的优惠卷查询",
  6059. "parameters": [
  6060. {
  6061. "type": "string",
  6062. "description": "资金账户列表,格式:1,2,3",
  6063. "name": "accountIDs",
  6064. "in": "query",
  6065. "required": true
  6066. },
  6067. {
  6068. "type": "integer",
  6069. "description": "商品ID, 一般与sellUserID配套传入",
  6070. "name": "goodsID",
  6071. "in": "query"
  6072. },
  6073. {
  6074. "type": "integer",
  6075. "description": "卖方UserID",
  6076. "name": "sellUserID",
  6077. "in": "query"
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "$ref": "#/definitions/models.MyCoupon"
  6085. }
  6086. },
  6087. "500": {
  6088. "description": "Internal Server Error",
  6089. "schema": {
  6090. "$ref": "#/definitions/app.Response"
  6091. }
  6092. }
  6093. }
  6094. }
  6095. },
  6096. "/HSBY/QueryMyPayOrders": {
  6097. "get": {
  6098. "security": [
  6099. {
  6100. "ApiKeyAuth": []
  6101. }
  6102. ],
  6103. "produces": [
  6104. "application/json"
  6105. ],
  6106. "tags": [
  6107. "定制【海商报业】"
  6108. ],
  6109. "summary": "获取我的订单中待付款信息",
  6110. "parameters": [
  6111. {
  6112. "type": "integer",
  6113. "description": "页码",
  6114. "name": "page",
  6115. "in": "query"
  6116. },
  6117. {
  6118. "type": "integer",
  6119. "description": "每页条数",
  6120. "name": "pagesize",
  6121. "in": "query"
  6122. },
  6123. {
  6124. "type": "string",
  6125. "description": "资金账户列表,格式:1,2,3",
  6126. "name": "accountIDs",
  6127. "in": "query",
  6128. "required": true
  6129. },
  6130. {
  6131. "type": "integer",
  6132. "description": "买方委托单号",
  6133. "name": "buyOrderID",
  6134. "in": "query"
  6135. },
  6136. {
  6137. "type": "integer",
  6138. "description": "卖方委托单号",
  6139. "name": "sellOrderID",
  6140. "in": "query"
  6141. }
  6142. ],
  6143. "responses": {
  6144. "200": {
  6145. "description": "OK",
  6146. "schema": {
  6147. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  6148. }
  6149. },
  6150. "500": {
  6151. "description": "Internal Server Error",
  6152. "schema": {
  6153. "$ref": "#/definitions/app.Response"
  6154. }
  6155. }
  6156. }
  6157. }
  6158. },
  6159. "/HSBY/QueryMyUsedCoupon": {
  6160. "get": {
  6161. "security": [
  6162. {
  6163. "ApiKeyAuth": []
  6164. }
  6165. ],
  6166. "produces": [
  6167. "application/json"
  6168. ],
  6169. "tags": [
  6170. "定制【海商报业】"
  6171. ],
  6172. "summary": "已使用优惠卷查询",
  6173. "parameters": [
  6174. {
  6175. "type": "string",
  6176. "description": "资金账户列表,格式:1,2,3",
  6177. "name": "accountIDs",
  6178. "in": "query",
  6179. "required": true
  6180. }
  6181. ],
  6182. "responses": {
  6183. "200": {
  6184. "description": "OK",
  6185. "schema": {
  6186. "$ref": "#/definitions/models.MyUsedCoupon"
  6187. }
  6188. },
  6189. "500": {
  6190. "description": "Internal Server Error",
  6191. "schema": {
  6192. "$ref": "#/definitions/app.Response"
  6193. }
  6194. }
  6195. }
  6196. }
  6197. },
  6198. "/HSBY/QueryProvincesAndCities": {
  6199. "get": {
  6200. "security": [
  6201. {
  6202. "ApiKeyAuth": []
  6203. }
  6204. ],
  6205. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  6206. "produces": [
  6207. "application/json"
  6208. ],
  6209. "tags": [
  6210. "定制【海商报业】"
  6211. ],
  6212. "summary": "查询省市信息(不包括区)",
  6213. "parameters": [
  6214. {
  6215. "type": "integer",
  6216. "description": "省ID",
  6217. "name": "provinceID",
  6218. "in": "query"
  6219. }
  6220. ],
  6221. "responses": {
  6222. "200": {
  6223. "description": "OK",
  6224. "schema": {
  6225. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  6226. }
  6227. },
  6228. "500": {
  6229. "description": "Internal Server Error",
  6230. "schema": {
  6231. "$ref": "#/definitions/app.Response"
  6232. }
  6233. }
  6234. }
  6235. }
  6236. },
  6237. "/HSBY/SetHsbyMyPackagesStatus": {
  6238. "post": {
  6239. "security": [
  6240. {
  6241. "ApiKeyAuth": []
  6242. }
  6243. ],
  6244. "produces": [
  6245. "application/json"
  6246. ],
  6247. "tags": [
  6248. "定制【海商报业】"
  6249. ],
  6250. "summary": "设置我的包裹已收货状态",
  6251. "parameters": [
  6252. {
  6253. "type": "string",
  6254. "description": "提货单号",
  6255. "name": "takeOrderID",
  6256. "in": "query",
  6257. "required": true
  6258. },
  6259. {
  6260. "type": "integer",
  6261. "description": "资金账号",
  6262. "name": "accountID",
  6263. "in": "query",
  6264. "required": true
  6265. }
  6266. ],
  6267. "responses": {
  6268. "200": {
  6269. "description": "OK",
  6270. "schema": {
  6271. "$ref": "#/definitions/app.Response"
  6272. }
  6273. },
  6274. "500": {
  6275. "description": "Internal Server Error",
  6276. "schema": {
  6277. "$ref": "#/definitions/app.Response"
  6278. }
  6279. }
  6280. }
  6281. }
  6282. },
  6283. "/Market/QueryGoodsesByLoginID": {
  6284. "get": {
  6285. "security": [
  6286. {
  6287. "ApiKeyAuth": []
  6288. }
  6289. ],
  6290. "produces": [
  6291. "application/json"
  6292. ],
  6293. "tags": [
  6294. "通用市场"
  6295. ],
  6296. "summary": "获取登录账号有权限的商品信息",
  6297. "parameters": [
  6298. {
  6299. "type": "integer",
  6300. "description": "登录账号",
  6301. "name": "loginID",
  6302. "in": "query",
  6303. "required": true
  6304. },
  6305. {
  6306. "type": "string",
  6307. "description": "市场ID列表,格式:1,2,3",
  6308. "name": "marketIDs",
  6309. "in": "query"
  6310. }
  6311. ],
  6312. "responses": {
  6313. "200": {
  6314. "description": "OK",
  6315. "schema": {
  6316. "$ref": "#/definitions/models.Goods"
  6317. }
  6318. },
  6319. "500": {
  6320. "description": "Internal Server Error",
  6321. "schema": {
  6322. "$ref": "#/definitions/app.Response"
  6323. }
  6324. }
  6325. }
  6326. }
  6327. },
  6328. "/Market/QueryMarketRun": {
  6329. "get": {
  6330. "security": [
  6331. {
  6332. "ApiKeyAuth": []
  6333. }
  6334. ],
  6335. "produces": [
  6336. "application/json"
  6337. ],
  6338. "tags": [
  6339. "通用市场"
  6340. ],
  6341. "summary": "查询市场运行信息",
  6342. "parameters": [
  6343. {
  6344. "type": "integer",
  6345. "description": "市场ID,不传返回所有",
  6346. "name": "marketID",
  6347. "in": "query"
  6348. }
  6349. ],
  6350. "responses": {
  6351. "200": {
  6352. "description": "OK",
  6353. "schema": {
  6354. "$ref": "#/definitions/models.Marketrun"
  6355. }
  6356. },
  6357. "500": {
  6358. "description": "Internal Server Error",
  6359. "schema": {
  6360. "$ref": "#/definitions/app.Response"
  6361. }
  6362. }
  6363. }
  6364. }
  6365. },
  6366. "/Market/QueryMarketsByLoginID": {
  6367. "get": {
  6368. "security": [
  6369. {
  6370. "ApiKeyAuth": []
  6371. }
  6372. ],
  6373. "produces": [
  6374. "application/json"
  6375. ],
  6376. "tags": [
  6377. "通用市场"
  6378. ],
  6379. "summary": "获取登录账号有权限的市场信息",
  6380. "parameters": [
  6381. {
  6382. "type": "integer",
  6383. "description": "登录账号",
  6384. "name": "loginID",
  6385. "in": "query",
  6386. "required": true
  6387. }
  6388. ],
  6389. "responses": {
  6390. "200": {
  6391. "description": "OK",
  6392. "schema": {
  6393. "$ref": "#/definitions/models.Market"
  6394. }
  6395. },
  6396. "500": {
  6397. "description": "Internal Server Error",
  6398. "schema": {
  6399. "$ref": "#/definitions/app.Response"
  6400. }
  6401. }
  6402. }
  6403. }
  6404. },
  6405. "/Order/QueryHisTradeDetail": {
  6406. "get": {
  6407. "security": [
  6408. {
  6409. "ApiKeyAuth": []
  6410. }
  6411. ],
  6412. "produces": [
  6413. "application/json"
  6414. ],
  6415. "tags": [
  6416. "通用单据"
  6417. ],
  6418. "summary": "历史成交单查询(合约市场)",
  6419. "parameters": [
  6420. {
  6421. "type": "string",
  6422. "description": "资金账户 - 格式:1,2,3",
  6423. "name": "accountID",
  6424. "in": "query",
  6425. "required": true
  6426. },
  6427. {
  6428. "type": "integer",
  6429. "description": "成交单号",
  6430. "name": "tradeID",
  6431. "in": "query"
  6432. },
  6433. {
  6434. "type": "integer",
  6435. "description": "委托单号",
  6436. "name": "orderID",
  6437. "in": "query"
  6438. },
  6439. {
  6440. "type": "string",
  6441. "description": "交易模式 - 格式:1,2,3",
  6442. "name": "tradeMode",
  6443. "in": "query"
  6444. },
  6445. {
  6446. "type": "integer",
  6447. "description": "委托单据类型",
  6448. "name": "buildType",
  6449. "in": "query"
  6450. },
  6451. {
  6452. "type": "string",
  6453. "description": "成交类别 - 格式:1,2,3",
  6454. "name": "tradeType",
  6455. "in": "query"
  6456. },
  6457. {
  6458. "type": "string",
  6459. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6460. "name": "startDate",
  6461. "in": "query"
  6462. },
  6463. {
  6464. "type": "string",
  6465. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6466. "name": "endDate",
  6467. "in": "query"
  6468. }
  6469. ],
  6470. "responses": {
  6471. "200": {
  6472. "description": "OK",
  6473. "schema": {
  6474. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6475. }
  6476. },
  6477. "500": {
  6478. "description": "Internal Server Error",
  6479. "schema": {
  6480. "$ref": "#/definitions/app.Response"
  6481. }
  6482. }
  6483. }
  6484. }
  6485. },
  6486. "/Order/QueryHisTradeOrderDetail": {
  6487. "get": {
  6488. "security": [
  6489. {
  6490. "ApiKeyAuth": []
  6491. }
  6492. ],
  6493. "produces": [
  6494. "application/json"
  6495. ],
  6496. "tags": [
  6497. "通用单据"
  6498. ],
  6499. "summary": "历史委托单查询请求(合约市场)",
  6500. "parameters": [
  6501. {
  6502. "type": "string",
  6503. "description": "资金账户 - 格式:1,2,3",
  6504. "name": "accountID",
  6505. "in": "query",
  6506. "required": true
  6507. },
  6508. {
  6509. "type": "string",
  6510. "description": "交易模式 - 格式:1,2,3",
  6511. "name": "tradeMode",
  6512. "in": "query"
  6513. },
  6514. {
  6515. "type": "string",
  6516. "description": "委托状态 - 格式:1,2,3",
  6517. "name": "orderStatus",
  6518. "in": "query"
  6519. },
  6520. {
  6521. "type": "integer",
  6522. "description": "委托单号",
  6523. "name": "orderID",
  6524. "in": "query"
  6525. },
  6526. {
  6527. "type": "string",
  6528. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6529. "name": "startDate",
  6530. "in": "query"
  6531. },
  6532. {
  6533. "type": "string",
  6534. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6535. "name": "endDate",
  6536. "in": "query"
  6537. }
  6538. ],
  6539. "responses": {
  6540. "200": {
  6541. "description": "OK",
  6542. "schema": {
  6543. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6544. }
  6545. },
  6546. "500": {
  6547. "description": "Internal Server Error",
  6548. "schema": {
  6549. "$ref": "#/definitions/app.Response"
  6550. }
  6551. }
  6552. }
  6553. }
  6554. },
  6555. "/Order/QueryTradeDetail": {
  6556. "get": {
  6557. "security": [
  6558. {
  6559. "ApiKeyAuth": []
  6560. }
  6561. ],
  6562. "produces": [
  6563. "application/json"
  6564. ],
  6565. "tags": [
  6566. "通用单据"
  6567. ],
  6568. "summary": "成交单查询(合约市场)",
  6569. "parameters": [
  6570. {
  6571. "type": "string",
  6572. "description": "资金账户 - 格式:1,2,3",
  6573. "name": "accountID",
  6574. "in": "query",
  6575. "required": true
  6576. },
  6577. {
  6578. "type": "integer",
  6579. "description": "成交单号",
  6580. "name": "tradeID",
  6581. "in": "query"
  6582. },
  6583. {
  6584. "type": "integer",
  6585. "description": "委托单号",
  6586. "name": "orderID",
  6587. "in": "query"
  6588. },
  6589. {
  6590. "type": "string",
  6591. "description": "交易模式 - 格式:1,2,3",
  6592. "name": "tradeMode",
  6593. "in": "query"
  6594. },
  6595. {
  6596. "type": "integer",
  6597. "description": "委托单据类型",
  6598. "name": "buildType",
  6599. "in": "query"
  6600. },
  6601. {
  6602. "type": "string",
  6603. "description": "成交类别 - 格式:1,2,3",
  6604. "name": "tradeType",
  6605. "in": "query"
  6606. }
  6607. ],
  6608. "responses": {
  6609. "200": {
  6610. "description": "OK",
  6611. "schema": {
  6612. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6613. }
  6614. },
  6615. "500": {
  6616. "description": "Internal Server Error",
  6617. "schema": {
  6618. "$ref": "#/definitions/app.Response"
  6619. }
  6620. }
  6621. }
  6622. }
  6623. },
  6624. "/Order/QueryTradeOrderDetail": {
  6625. "get": {
  6626. "security": [
  6627. {
  6628. "ApiKeyAuth": []
  6629. }
  6630. ],
  6631. "produces": [
  6632. "application/json"
  6633. ],
  6634. "tags": [
  6635. "通用单据"
  6636. ],
  6637. "summary": "委托单查询请求(合约市场)",
  6638. "parameters": [
  6639. {
  6640. "type": "string",
  6641. "description": "资金账户 - 格式:1,2,3",
  6642. "name": "accountID",
  6643. "in": "query",
  6644. "required": true
  6645. },
  6646. {
  6647. "type": "string",
  6648. "description": "交易模式 - 格式:1,2,3",
  6649. "name": "tradeMode",
  6650. "in": "query"
  6651. },
  6652. {
  6653. "type": "string",
  6654. "description": "委托状态 - 格式:1,2,3",
  6655. "name": "orderStatus",
  6656. "in": "query"
  6657. },
  6658. {
  6659. "type": "integer",
  6660. "description": "委托单号",
  6661. "name": "orderID",
  6662. "in": "query"
  6663. }
  6664. ],
  6665. "responses": {
  6666. "200": {
  6667. "description": "OK",
  6668. "schema": {
  6669. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6670. }
  6671. },
  6672. "500": {
  6673. "description": "Internal Server Error",
  6674. "schema": {
  6675. "$ref": "#/definitions/app.Response"
  6676. }
  6677. }
  6678. }
  6679. }
  6680. },
  6681. "/Order/QueryTradePosition": {
  6682. "get": {
  6683. "security": [
  6684. {
  6685. "ApiKeyAuth": []
  6686. }
  6687. ],
  6688. "produces": [
  6689. "application/json"
  6690. ],
  6691. "tags": [
  6692. "通用单据"
  6693. ],
  6694. "summary": "持仓汇总查询(合约市场)",
  6695. "parameters": [
  6696. {
  6697. "type": "string",
  6698. "description": "资金账户 - 格式:1,2,3",
  6699. "name": "accountID",
  6700. "in": "query",
  6701. "required": true
  6702. },
  6703. {
  6704. "type": "string",
  6705. "description": "交易模式 - 格式:1,2,3",
  6706. "name": "tradeMode",
  6707. "in": "query"
  6708. }
  6709. ],
  6710. "responses": {
  6711. "200": {
  6712. "description": "OK",
  6713. "schema": {
  6714. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6715. }
  6716. },
  6717. "500": {
  6718. "description": "Internal Server Error",
  6719. "schema": {
  6720. "$ref": "#/definitions/app.Response"
  6721. }
  6722. }
  6723. }
  6724. }
  6725. },
  6726. "/Quote/QueryHistoryDatas": {
  6727. "get": {
  6728. "security": [
  6729. {
  6730. "ApiKeyAuth": []
  6731. }
  6732. ],
  6733. "produces": [
  6734. "application/json"
  6735. ],
  6736. "tags": [
  6737. "行情服务"
  6738. ],
  6739. "summary": "查询行情历史数据",
  6740. "parameters": [
  6741. {
  6742. "type": "integer",
  6743. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6744. "name": "cycleType",
  6745. "in": "query",
  6746. "required": true
  6747. },
  6748. {
  6749. "type": "string",
  6750. "description": "商品代码",
  6751. "name": "goodsCode",
  6752. "in": "query",
  6753. "required": true
  6754. },
  6755. {
  6756. "type": "string",
  6757. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6758. "name": "startTime",
  6759. "in": "query"
  6760. },
  6761. {
  6762. "type": "string",
  6763. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6764. "name": "endTime",
  6765. "in": "query"
  6766. },
  6767. {
  6768. "type": "integer",
  6769. "description": "条数",
  6770. "name": "count",
  6771. "in": "query"
  6772. },
  6773. {
  6774. "type": "boolean",
  6775. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6776. "name": "isAsc",
  6777. "in": "query"
  6778. }
  6779. ],
  6780. "responses": {
  6781. "200": {
  6782. "description": "OK",
  6783. "schema": {
  6784. "$ref": "#/definitions/quote.HistoryData"
  6785. }
  6786. },
  6787. "500": {
  6788. "description": "Internal Server Error",
  6789. "schema": {
  6790. "$ref": "#/definitions/app.Response"
  6791. }
  6792. }
  6793. }
  6794. }
  6795. },
  6796. "/Quote/QueryHistoryTikDatas": {
  6797. "get": {
  6798. "security": [
  6799. {
  6800. "ApiKeyAuth": []
  6801. }
  6802. ],
  6803. "produces": [
  6804. "application/json"
  6805. ],
  6806. "tags": [
  6807. "行情服务"
  6808. ],
  6809. "summary": "查询行情Tik数据",
  6810. "parameters": [
  6811. {
  6812. "type": "string",
  6813. "description": "商品代码",
  6814. "name": "goodsCode",
  6815. "in": "query",
  6816. "required": true
  6817. },
  6818. {
  6819. "type": "string",
  6820. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6821. "name": "startTime",
  6822. "in": "query"
  6823. },
  6824. {
  6825. "type": "string",
  6826. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6827. "name": "endTime",
  6828. "in": "query"
  6829. },
  6830. {
  6831. "type": "integer",
  6832. "description": "条数",
  6833. "name": "count",
  6834. "in": "query"
  6835. },
  6836. {
  6837. "type": "boolean",
  6838. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6839. "name": "isAsc",
  6840. "in": "query"
  6841. }
  6842. ],
  6843. "responses": {
  6844. "200": {
  6845. "description": "OK",
  6846. "schema": {
  6847. "$ref": "#/definitions/quote.HistoryTikData"
  6848. }
  6849. },
  6850. "500": {
  6851. "description": "Internal Server Error",
  6852. "schema": {
  6853. "$ref": "#/definitions/app.Response"
  6854. }
  6855. }
  6856. }
  6857. }
  6858. },
  6859. "/Quote/QueryQuoteDay": {
  6860. "get": {
  6861. "security": [
  6862. {
  6863. "ApiKeyAuth": []
  6864. }
  6865. ],
  6866. "produces": [
  6867. "application/json"
  6868. ],
  6869. "tags": [
  6870. "行情服务"
  6871. ],
  6872. "summary": "获取商品盘面信息",
  6873. "parameters": [
  6874. {
  6875. "type": "string",
  6876. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6877. "name": "goodsCodes",
  6878. "in": "query",
  6879. "required": true
  6880. }
  6881. ],
  6882. "responses": {
  6883. "200": {
  6884. "description": "OK",
  6885. "schema": {
  6886. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6887. }
  6888. },
  6889. "500": {
  6890. "description": "Internal Server Error",
  6891. "schema": {
  6892. "$ref": "#/definitions/app.Response"
  6893. }
  6894. }
  6895. }
  6896. }
  6897. },
  6898. "/Quote/QueryTSData": {
  6899. "get": {
  6900. "security": [
  6901. {
  6902. "ApiKeyAuth": []
  6903. }
  6904. ],
  6905. "produces": [
  6906. "application/json"
  6907. ],
  6908. "tags": [
  6909. "行情服务"
  6910. ],
  6911. "summary": "分时图数据查询",
  6912. "parameters": [
  6913. {
  6914. "type": "string",
  6915. "description": "商品代码",
  6916. "name": "goodsCode",
  6917. "in": "query",
  6918. "required": true
  6919. }
  6920. ],
  6921. "responses": {
  6922. "200": {
  6923. "description": "OK",
  6924. "schema": {
  6925. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6926. }
  6927. },
  6928. "500": {
  6929. "description": "Internal Server Error",
  6930. "schema": {
  6931. "$ref": "#/definitions/app.Response"
  6932. }
  6933. }
  6934. }
  6935. }
  6936. },
  6937. "/SZDZ/QueryConvertConfig": {
  6938. "get": {
  6939. "security": [
  6940. {
  6941. "ApiKeyAuth": []
  6942. }
  6943. ],
  6944. "produces": [
  6945. "application/json"
  6946. ],
  6947. "tags": [
  6948. "定制【尚志大宗】"
  6949. ],
  6950. "summary": "查询交易系统转换设置",
  6951. "parameters": [
  6952. {
  6953. "type": "integer",
  6954. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6955. "name": "convertType",
  6956. "in": "query"
  6957. },
  6958. {
  6959. "type": "string",
  6960. "description": "外部商品代码[JD\\PD]",
  6961. "name": "outerGoodsCode",
  6962. "in": "query"
  6963. },
  6964. {
  6965. "type": "string",
  6966. "description": "内部商品ID列表[交易],格式:1,2,3",
  6967. "name": "innerGoodsIDs",
  6968. "in": "query"
  6969. }
  6970. ],
  6971. "responses": {
  6972. "200": {
  6973. "description": "OK",
  6974. "schema": {
  6975. "$ref": "#/definitions/models.Szdz3convertconfig"
  6976. }
  6977. },
  6978. "500": {
  6979. "description": "Internal Server Error",
  6980. "schema": {
  6981. "$ref": "#/definitions/app.Response"
  6982. }
  6983. }
  6984. }
  6985. }
  6986. },
  6987. "/SZDZ/QueryConvertLog": {
  6988. "get": {
  6989. "security": [
  6990. {
  6991. "ApiKeyAuth": []
  6992. }
  6993. ],
  6994. "produces": [
  6995. "application/json"
  6996. ],
  6997. "tags": [
  6998. "定制【尚志大宗】"
  6999. ],
  7000. "summary": "交易系统转换流水查询",
  7001. "parameters": [
  7002. {
  7003. "type": "string",
  7004. "description": "资金账户 - 格式:1,2,3",
  7005. "name": "accountID",
  7006. "in": "query",
  7007. "required": true
  7008. },
  7009. {
  7010. "type": "string",
  7011. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7012. "name": "startDate",
  7013. "in": "query"
  7014. },
  7015. {
  7016. "type": "string",
  7017. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  7018. "name": "endDate",
  7019. "in": "query"
  7020. }
  7021. ],
  7022. "responses": {
  7023. "200": {
  7024. "description": "OK",
  7025. "schema": {
  7026. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  7027. }
  7028. },
  7029. "500": {
  7030. "description": "Internal Server Error",
  7031. "schema": {
  7032. "$ref": "#/definitions/app.Response"
  7033. }
  7034. }
  7035. }
  7036. }
  7037. },
  7038. "/SZDZ/QueryGoodsPickup": {
  7039. "get": {
  7040. "security": [
  7041. {
  7042. "ApiKeyAuth": []
  7043. }
  7044. ],
  7045. "produces": [
  7046. "application/json"
  7047. ],
  7048. "tags": [
  7049. "定制【尚志大宗】"
  7050. ],
  7051. "summary": "商品提货单查询",
  7052. "parameters": [
  7053. {
  7054. "type": "string",
  7055. "description": "资金账户 - 格式:1,2,3",
  7056. "name": "accountID",
  7057. "in": "query",
  7058. "required": true
  7059. },
  7060. {
  7061. "type": "integer",
  7062. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  7063. "name": "takeOrderStatus",
  7064. "in": "query"
  7065. }
  7066. ],
  7067. "responses": {
  7068. "200": {
  7069. "description": "OK",
  7070. "schema": {
  7071. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  7072. }
  7073. },
  7074. "500": {
  7075. "description": "Internal Server Error",
  7076. "schema": {
  7077. "$ref": "#/definitions/app.Response"
  7078. }
  7079. }
  7080. }
  7081. }
  7082. },
  7083. "/SZDZ/QueryRecieptOrder": {
  7084. "get": {
  7085. "security": [
  7086. {
  7087. "ApiKeyAuth": []
  7088. }
  7089. ],
  7090. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7091. "produces": [
  7092. "application/json"
  7093. ],
  7094. "tags": [
  7095. "定制【尚志大宗】"
  7096. ],
  7097. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  7098. "parameters": [
  7099. {
  7100. "type": "integer",
  7101. "description": "页码",
  7102. "name": "page",
  7103. "in": "query"
  7104. },
  7105. {
  7106. "type": "integer",
  7107. "description": "每页条数",
  7108. "name": "pagesize",
  7109. "in": "query"
  7110. },
  7111. {
  7112. "type": "integer",
  7113. "description": "商品ID",
  7114. "name": "goodsID",
  7115. "in": "query",
  7116. "required": true
  7117. },
  7118. {
  7119. "type": "string",
  7120. "description": "所属账户名称",
  7121. "name": "accountName",
  7122. "in": "query"
  7123. },
  7124. {
  7125. "type": "integer",
  7126. "description": "市场ID",
  7127. "name": "marketID",
  7128. "in": "query"
  7129. },
  7130. {
  7131. "type": "integer",
  7132. "description": "方向 - 0:买 1:卖",
  7133. "name": "buyorsell",
  7134. "in": "query",
  7135. "required": true
  7136. }
  7137. ],
  7138. "responses": {
  7139. "200": {
  7140. "description": "OK",
  7141. "schema": {
  7142. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  7143. }
  7144. },
  7145. "500": {
  7146. "description": "Internal Server Error",
  7147. "schema": {
  7148. "$ref": "#/definitions/app.Response"
  7149. }
  7150. }
  7151. }
  7152. }
  7153. },
  7154. "/SZDZ/QuerySZDZTradePosition": {
  7155. "get": {
  7156. "security": [
  7157. {
  7158. "ApiKeyAuth": []
  7159. }
  7160. ],
  7161. "produces": [
  7162. "application/json"
  7163. ],
  7164. "tags": [
  7165. "定制【尚志大宗】"
  7166. ],
  7167. "summary": "持仓汇总查询(尚志大宗)",
  7168. "parameters": [
  7169. {
  7170. "type": "integer",
  7171. "description": "资金账户",
  7172. "name": "accountID",
  7173. "in": "query",
  7174. "required": true
  7175. }
  7176. ],
  7177. "responses": {
  7178. "200": {
  7179. "description": "OK",
  7180. "schema": {
  7181. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  7182. }
  7183. },
  7184. "500": {
  7185. "description": "Internal Server Error",
  7186. "schema": {
  7187. "$ref": "#/definitions/app.Response"
  7188. }
  7189. }
  7190. }
  7191. }
  7192. },
  7193. "/SZDZ/SearchWhite": {
  7194. "get": {
  7195. "security": [
  7196. {
  7197. "ApiKeyAuth": []
  7198. }
  7199. ],
  7200. "produces": [
  7201. "application/json"
  7202. ],
  7203. "tags": [
  7204. "定制【尚志大宗】"
  7205. ],
  7206. "summary": "搜索白名单",
  7207. "parameters": [
  7208. {
  7209. "type": "integer",
  7210. "description": "用户ID",
  7211. "name": "userID",
  7212. "in": "query",
  7213. "required": true
  7214. }
  7215. ],
  7216. "responses": {
  7217. "200": {
  7218. "description": "OK",
  7219. "schema": {
  7220. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  7221. }
  7222. },
  7223. "500": {
  7224. "description": "Internal Server Error",
  7225. "schema": {
  7226. "$ref": "#/definitions/app.Response"
  7227. }
  7228. }
  7229. }
  7230. }
  7231. },
  7232. "/Search/SearchGoodses": {
  7233. "get": {
  7234. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  7235. "produces": [
  7236. "application/json"
  7237. ],
  7238. "tags": [
  7239. "检索服务"
  7240. ],
  7241. "summary": "检索商品信息",
  7242. "parameters": [
  7243. {
  7244. "type": "string",
  7245. "description": "检索内容",
  7246. "name": "content",
  7247. "in": "query",
  7248. "required": true
  7249. },
  7250. {
  7251. "type": "string",
  7252. "description": "交易模式,格式:1,2,3",
  7253. "name": "tradeModes",
  7254. "in": "query"
  7255. }
  7256. ],
  7257. "responses": {
  7258. "200": {
  7259. "description": "OK",
  7260. "schema": {
  7261. "$ref": "#/definitions/models.SearchGoods"
  7262. }
  7263. },
  7264. "500": {
  7265. "description": "Internal Server Error",
  7266. "schema": {
  7267. "$ref": "#/definitions/app.Response"
  7268. }
  7269. }
  7270. }
  7271. }
  7272. },
  7273. "/TaAccount/GetTaAccounts": {
  7274. "get": {
  7275. "security": [
  7276. {
  7277. "ApiKeyAuth": []
  7278. }
  7279. ],
  7280. "produces": [
  7281. "application/json"
  7282. ],
  7283. "tags": [
  7284. "资金账户"
  7285. ],
  7286. "summary": "获取资金账户信息",
  7287. "parameters": [
  7288. {
  7289. "type": "integer",
  7290. "description": "登录账户",
  7291. "name": "loginID",
  7292. "in": "query",
  7293. "required": true
  7294. },
  7295. {
  7296. "type": "integer",
  7297. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  7298. "name": "taAccountType",
  7299. "in": "query"
  7300. }
  7301. ],
  7302. "responses": {
  7303. "200": {
  7304. "description": "OK",
  7305. "schema": {
  7306. "$ref": "#/definitions/models.Taaccount"
  7307. }
  7308. },
  7309. "500": {
  7310. "description": "Internal Server Error",
  7311. "schema": {
  7312. "$ref": "#/definitions/app.Response"
  7313. }
  7314. }
  7315. }
  7316. }
  7317. },
  7318. "/TaAccount/QueryAmountLog": {
  7319. "get": {
  7320. "security": [
  7321. {
  7322. "ApiKeyAuth": []
  7323. }
  7324. ],
  7325. "produces": [
  7326. "application/json"
  7327. ],
  7328. "tags": [
  7329. "资金账户"
  7330. ],
  7331. "summary": "资金流水查询(当前)",
  7332. "parameters": [
  7333. {
  7334. "type": "integer",
  7335. "description": "页码",
  7336. "name": "page",
  7337. "in": "query"
  7338. },
  7339. {
  7340. "type": "integer",
  7341. "description": "每页条数",
  7342. "name": "pagesize",
  7343. "in": "query"
  7344. },
  7345. {
  7346. "type": "string",
  7347. "description": "资金账户 - 格式:1,2,3",
  7348. "name": "accountID",
  7349. "in": "query",
  7350. "required": true
  7351. },
  7352. {
  7353. "type": "string",
  7354. "description": "资金操作类型 - 格式:1,2,3",
  7355. "name": "OperateType",
  7356. "in": "query"
  7357. }
  7358. ],
  7359. "responses": {
  7360. "200": {
  7361. "description": "OK",
  7362. "schema": {
  7363. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  7364. }
  7365. },
  7366. "500": {
  7367. "description": "Internal Server Error",
  7368. "schema": {
  7369. "$ref": "#/definitions/app.Response"
  7370. }
  7371. }
  7372. }
  7373. }
  7374. },
  7375. "/TaAccount/QueryHisAmountLog": {
  7376. "get": {
  7377. "security": [
  7378. {
  7379. "ApiKeyAuth": []
  7380. }
  7381. ],
  7382. "produces": [
  7383. "application/json"
  7384. ],
  7385. "tags": [
  7386. "资金账户"
  7387. ],
  7388. "summary": "资金流水查询(历史)",
  7389. "parameters": [
  7390. {
  7391. "type": "integer",
  7392. "description": "页码",
  7393. "name": "page",
  7394. "in": "query"
  7395. },
  7396. {
  7397. "type": "integer",
  7398. "description": "每页条数",
  7399. "name": "pagesize",
  7400. "in": "query"
  7401. },
  7402. {
  7403. "type": "string",
  7404. "description": "资金账户 - 格式:1,2,3",
  7405. "name": "accountID",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "string",
  7411. "description": "资金操作类型 - 格式:1,2,3",
  7412. "name": "OperateType",
  7413. "in": "query"
  7414. },
  7415. {
  7416. "type": "string",
  7417. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  7418. "name": "startDate",
  7419. "in": "query"
  7420. },
  7421. {
  7422. "type": "string",
  7423. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  7424. "name": "endDate",
  7425. "in": "query"
  7426. }
  7427. ],
  7428. "responses": {
  7429. "200": {
  7430. "description": "OK",
  7431. "schema": {
  7432. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  7433. }
  7434. },
  7435. "500": {
  7436. "description": "Internal Server Error",
  7437. "schema": {
  7438. "$ref": "#/definitions/app.Response"
  7439. }
  7440. }
  7441. }
  7442. }
  7443. },
  7444. "/Trade/QueryRecieptOrder": {
  7445. "get": {
  7446. "security": [
  7447. {
  7448. "ApiKeyAuth": []
  7449. }
  7450. ],
  7451. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  7452. "produces": [
  7453. "application/json"
  7454. ],
  7455. "tags": [
  7456. "通用交易"
  7457. ],
  7458. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  7459. "parameters": [
  7460. {
  7461. "type": "integer",
  7462. "description": "页码",
  7463. "name": "page",
  7464. "in": "query"
  7465. },
  7466. {
  7467. "type": "integer",
  7468. "description": "每页条数",
  7469. "name": "pagesize",
  7470. "in": "query"
  7471. },
  7472. {
  7473. "type": "integer",
  7474. "description": "商品ID",
  7475. "name": "goodsID",
  7476. "in": "query",
  7477. "required": true
  7478. },
  7479. {
  7480. "type": "string",
  7481. "description": "所属账户名称",
  7482. "name": "accountName",
  7483. "in": "query"
  7484. },
  7485. {
  7486. "type": "integer",
  7487. "description": "市场ID",
  7488. "name": "marketID",
  7489. "in": "query"
  7490. },
  7491. {
  7492. "type": "integer",
  7493. "description": "方向 - 0:买 1:卖",
  7494. "name": "buyorsell",
  7495. "in": "query",
  7496. "required": true
  7497. }
  7498. ],
  7499. "responses": {
  7500. "200": {
  7501. "description": "OK",
  7502. "schema": {
  7503. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7504. }
  7505. },
  7506. "500": {
  7507. "description": "Internal Server Error",
  7508. "schema": {
  7509. "$ref": "#/definitions/app.Response"
  7510. }
  7511. }
  7512. }
  7513. }
  7514. },
  7515. "/User/AddMessageBoard": {
  7516. "post": {
  7517. "security": [
  7518. {
  7519. "ApiKeyAuth": []
  7520. }
  7521. ],
  7522. "produces": [
  7523. "application/json"
  7524. ],
  7525. "tags": [
  7526. "用户信息"
  7527. ],
  7528. "summary": "添加用户留言板信息",
  7529. "parameters": [
  7530. {
  7531. "type": "integer",
  7532. "description": "用户ID",
  7533. "name": "userID",
  7534. "in": "query",
  7535. "required": true
  7536. },
  7537. {
  7538. "type": "string",
  7539. "description": "留言信息",
  7540. "name": "message",
  7541. "in": "query",
  7542. "required": true
  7543. },
  7544. {
  7545. "type": "string",
  7546. "description": "联系电话",
  7547. "name": "contactNum",
  7548. "in": "query",
  7549. "required": true
  7550. }
  7551. ],
  7552. "responses": {
  7553. "200": {
  7554. "description": "OK",
  7555. "schema": {
  7556. "$ref": "#/definitions/app.Response"
  7557. }
  7558. },
  7559. "500": {
  7560. "description": "Internal Server Error",
  7561. "schema": {
  7562. "$ref": "#/definitions/app.Response"
  7563. }
  7564. }
  7565. }
  7566. }
  7567. },
  7568. "/User/AddUserFavoriteGoods": {
  7569. "post": {
  7570. "security": [
  7571. {
  7572. "ApiKeyAuth": []
  7573. }
  7574. ],
  7575. "produces": [
  7576. "application/json"
  7577. ],
  7578. "tags": [
  7579. "用户信息"
  7580. ],
  7581. "summary": "添加用户商品收藏信息",
  7582. "parameters": [
  7583. {
  7584. "type": "integer",
  7585. "description": "用户ID",
  7586. "name": "userID",
  7587. "in": "query",
  7588. "required": true
  7589. },
  7590. {
  7591. "type": "integer",
  7592. "description": "商品ID",
  7593. "name": "goodsID",
  7594. "in": "query",
  7595. "required": true
  7596. }
  7597. ],
  7598. "responses": {
  7599. "200": {
  7600. "description": "OK",
  7601. "schema": {
  7602. "$ref": "#/definitions/app.Response"
  7603. }
  7604. },
  7605. "500": {
  7606. "description": "Internal Server Error",
  7607. "schema": {
  7608. "$ref": "#/definitions/app.Response"
  7609. }
  7610. }
  7611. }
  7612. }
  7613. },
  7614. "/User/GetLoginID": {
  7615. "get": {
  7616. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7617. "produces": [
  7618. "application/json"
  7619. ],
  7620. "tags": [
  7621. "用户信息"
  7622. ],
  7623. "summary": "获取登录ID",
  7624. "parameters": [
  7625. {
  7626. "type": "string",
  7627. "description": "登录代码",
  7628. "name": "username",
  7629. "in": "query",
  7630. "required": true
  7631. }
  7632. ],
  7633. "responses": {
  7634. "200": {
  7635. "description": "OK",
  7636. "schema": {
  7637. "$ref": "#/definitions/app.Response"
  7638. }
  7639. },
  7640. "500": {
  7641. "description": "Internal Server Error",
  7642. "schema": {
  7643. "$ref": "#/definitions/app.Response"
  7644. }
  7645. }
  7646. }
  7647. }
  7648. },
  7649. "/User/GetUserAccount": {
  7650. "get": {
  7651. "security": [
  7652. {
  7653. "ApiKeyAuth": []
  7654. }
  7655. ],
  7656. "produces": [
  7657. "application/json"
  7658. ],
  7659. "tags": [
  7660. "用户信息"
  7661. ],
  7662. "summary": "获取用户账号信息",
  7663. "parameters": [
  7664. {
  7665. "type": "integer",
  7666. "description": "用户ID",
  7667. "name": "userID",
  7668. "in": "query",
  7669. "required": true
  7670. }
  7671. ],
  7672. "responses": {
  7673. "200": {
  7674. "description": "OK",
  7675. "schema": {
  7676. "$ref": "#/definitions/models.Useraccount"
  7677. }
  7678. },
  7679. "500": {
  7680. "description": "Internal Server Error",
  7681. "schema": {
  7682. "$ref": "#/definitions/app.Response"
  7683. }
  7684. }
  7685. }
  7686. }
  7687. },
  7688. "/User/GetUserAuthStatus": {
  7689. "get": {
  7690. "security": [
  7691. {
  7692. "ApiKeyAuth": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "用户信息"
  7700. ],
  7701. "summary": "获取用户实名认证状态",
  7702. "parameters": [
  7703. {
  7704. "type": "integer",
  7705. "description": "用户ID",
  7706. "name": "userID",
  7707. "in": "query",
  7708. "required": true
  7709. }
  7710. ],
  7711. "responses": {
  7712. "200": {
  7713. "description": "OK",
  7714. "schema": {
  7715. "$ref": "#/definitions/app.Response"
  7716. }
  7717. },
  7718. "500": {
  7719. "description": "Internal Server Error",
  7720. "schema": {
  7721. "$ref": "#/definitions/app.Response"
  7722. }
  7723. }
  7724. }
  7725. }
  7726. },
  7727. "/User/LoginQuery": {
  7728. "get": {
  7729. "security": [
  7730. {
  7731. "ApiKeyAuth": []
  7732. }
  7733. ],
  7734. "produces": [
  7735. "application/json"
  7736. ],
  7737. "tags": [
  7738. "用户信息"
  7739. ],
  7740. "summary": "账户登录后信息查询",
  7741. "parameters": [
  7742. {
  7743. "type": "integer",
  7744. "description": "登录账号",
  7745. "name": "loginID",
  7746. "in": "query",
  7747. "required": true
  7748. }
  7749. ],
  7750. "responses": {
  7751. "200": {
  7752. "description": "OK",
  7753. "schema": {
  7754. "$ref": "#/definitions/user.LoginQueryRsp"
  7755. }
  7756. },
  7757. "500": {
  7758. "description": "Internal Server Error",
  7759. "schema": {
  7760. "$ref": "#/definitions/app.Response"
  7761. }
  7762. }
  7763. }
  7764. }
  7765. },
  7766. "/User/QueryMessageBoard": {
  7767. "get": {
  7768. "security": [
  7769. {
  7770. "ApiKeyAuth": []
  7771. }
  7772. ],
  7773. "produces": [
  7774. "application/json"
  7775. ],
  7776. "tags": [
  7777. "用户信息"
  7778. ],
  7779. "summary": "获取用户留言板信息",
  7780. "parameters": [
  7781. {
  7782. "type": "integer",
  7783. "description": "用户ID",
  7784. "name": "userID",
  7785. "in": "query",
  7786. "required": true
  7787. }
  7788. ],
  7789. "responses": {
  7790. "200": {
  7791. "description": "OK",
  7792. "schema": {
  7793. "$ref": "#/definitions/models.Messageboard"
  7794. }
  7795. },
  7796. "500": {
  7797. "description": "Internal Server Error",
  7798. "schema": {
  7799. "$ref": "#/definitions/app.Response"
  7800. }
  7801. }
  7802. }
  7803. }
  7804. },
  7805. "/User/QueryUserFavoriteGoodses": {
  7806. "get": {
  7807. "security": [
  7808. {
  7809. "ApiKeyAuth": []
  7810. }
  7811. ],
  7812. "produces": [
  7813. "application/json"
  7814. ],
  7815. "tags": [
  7816. "用户信息"
  7817. ],
  7818. "summary": "获取用户商品收藏信息",
  7819. "parameters": [
  7820. {
  7821. "type": "integer",
  7822. "description": "用户ID",
  7823. "name": "userID",
  7824. "in": "query",
  7825. "required": true
  7826. }
  7827. ],
  7828. "responses": {
  7829. "200": {
  7830. "description": "OK",
  7831. "schema": {
  7832. "$ref": "#/definitions/models.Userfavoritegoods"
  7833. }
  7834. },
  7835. "500": {
  7836. "description": "Internal Server Error",
  7837. "schema": {
  7838. "$ref": "#/definitions/app.Response"
  7839. }
  7840. }
  7841. }
  7842. }
  7843. },
  7844. "/User/QueryUserInfo": {
  7845. "get": {
  7846. "security": [
  7847. {
  7848. "ApiKeyAuth": []
  7849. }
  7850. ],
  7851. "produces": [
  7852. "application/json"
  7853. ],
  7854. "tags": [
  7855. "用户信息"
  7856. ],
  7857. "summary": "获取用户信息",
  7858. "parameters": [
  7859. {
  7860. "type": "integer",
  7861. "description": "用户ID",
  7862. "name": "userID",
  7863. "in": "query",
  7864. "required": true
  7865. },
  7866. {
  7867. "type": "boolean",
  7868. "description": "是否解密",
  7869. "name": "isDecrypt",
  7870. "in": "query"
  7871. }
  7872. ],
  7873. "responses": {
  7874. "200": {
  7875. "description": "OK",
  7876. "schema": {
  7877. "$ref": "#/definitions/models.Userinfo"
  7878. }
  7879. },
  7880. "500": {
  7881. "description": "Internal Server Error",
  7882. "schema": {
  7883. "$ref": "#/definitions/app.Response"
  7884. }
  7885. }
  7886. }
  7887. }
  7888. },
  7889. "/User/QueryUserReferNum": {
  7890. "get": {
  7891. "produces": [
  7892. "application/json"
  7893. ],
  7894. "tags": [
  7895. "用户信息"
  7896. ],
  7897. "summary": "获取用户邀请码",
  7898. "parameters": [
  7899. {
  7900. "type": "integer",
  7901. "description": "用户ID",
  7902. "name": "userID",
  7903. "in": "query",
  7904. "required": true
  7905. }
  7906. ],
  7907. "responses": {
  7908. "200": {
  7909. "description": "OK",
  7910. "schema": {
  7911. "$ref": "#/definitions/app.Response"
  7912. }
  7913. },
  7914. "500": {
  7915. "description": "Internal Server Error",
  7916. "schema": {
  7917. "$ref": "#/definitions/app.Response"
  7918. }
  7919. }
  7920. }
  7921. }
  7922. },
  7923. "/User/RemoveUserFavoriteGoods": {
  7924. "post": {
  7925. "security": [
  7926. {
  7927. "ApiKeyAuth": []
  7928. }
  7929. ],
  7930. "produces": [
  7931. "application/json"
  7932. ],
  7933. "tags": [
  7934. "用户信息"
  7935. ],
  7936. "summary": "移除用户商品收藏信息",
  7937. "parameters": [
  7938. {
  7939. "type": "integer",
  7940. "description": "用户ID",
  7941. "name": "userID",
  7942. "in": "query",
  7943. "required": true
  7944. },
  7945. {
  7946. "type": "integer",
  7947. "description": "商品ID",
  7948. "name": "goodsID",
  7949. "in": "query",
  7950. "required": true
  7951. }
  7952. ],
  7953. "responses": {
  7954. "200": {
  7955. "description": "OK",
  7956. "schema": {
  7957. "$ref": "#/definitions/app.Response"
  7958. }
  7959. },
  7960. "500": {
  7961. "description": "Internal Server Error",
  7962. "schema": {
  7963. "$ref": "#/definitions/app.Response"
  7964. }
  7965. }
  7966. }
  7967. }
  7968. },
  7969. "/User/UpdateUserAccountStatus": {
  7970. "post": {
  7971. "security": [
  7972. {
  7973. "ApiKeyAuth": []
  7974. }
  7975. ],
  7976. "produces": [
  7977. "application/json"
  7978. ],
  7979. "tags": [
  7980. "用户信息"
  7981. ],
  7982. "summary": "更新用户状态",
  7983. "parameters": [
  7984. {
  7985. "type": "integer",
  7986. "description": "用户ID",
  7987. "name": "userID",
  7988. "in": "query",
  7989. "required": true
  7990. },
  7991. {
  7992. "type": "integer",
  7993. "description": "账户状态 - 4:正常 6:注销(停用)",
  7994. "name": "accountStatus",
  7995. "in": "query",
  7996. "required": true
  7997. }
  7998. ],
  7999. "responses": {
  8000. "200": {
  8001. "description": "OK",
  8002. "schema": {
  8003. "$ref": "#/definitions/app.Response"
  8004. }
  8005. },
  8006. "500": {
  8007. "description": "Internal Server Error",
  8008. "schema": {
  8009. "$ref": "#/definitions/app.Response"
  8010. }
  8011. }
  8012. }
  8013. }
  8014. },
  8015. "/WRTrade/GetAllDeliveryGoods": {
  8016. "get": {
  8017. "security": [
  8018. {
  8019. "ApiKeyAuth": []
  8020. },
  8021. {
  8022. "ApiKeyAuth": []
  8023. }
  8024. ],
  8025. "produces": [
  8026. "application/json",
  8027. "application/json"
  8028. ],
  8029. "tags": [
  8030. "仓单贸易",
  8031. "仓单贸易"
  8032. ],
  8033. "summary": "获取带仓单分类的种类信息",
  8034. "responses": {
  8035. "200": {
  8036. "description": "OK",
  8037. "schema": {
  8038. "$ref": "#/definitions/app.Response"
  8039. }
  8040. },
  8041. "500": {
  8042. "description": "Internal Server Error",
  8043. "schema": {
  8044. "$ref": "#/definitions/app.Response"
  8045. }
  8046. }
  8047. }
  8048. }
  8049. }
  8050. },
  8051. "definitions": {
  8052. "app.Response": {
  8053. "type": "object",
  8054. "properties": {
  8055. "code": {
  8056. "type": "integer"
  8057. },
  8058. "data": {
  8059. "type": "object"
  8060. },
  8061. "msg": {
  8062. "type": "string"
  8063. },
  8064. "page": {
  8065. "description": "页码",
  8066. "type": "integer"
  8067. },
  8068. "pagesize": {
  8069. "description": "每页条数",
  8070. "type": "integer"
  8071. },
  8072. "total": {
  8073. "description": "总条数",
  8074. "type": "integer"
  8075. }
  8076. }
  8077. },
  8078. "common.ClientMenu": {
  8079. "type": "object",
  8080. "properties": {
  8081. "children": {
  8082. "description": "子菜单列表",
  8083. "type": "array",
  8084. "items": {
  8085. "$ref": "#/definitions/common.ClientMenu"
  8086. }
  8087. },
  8088. "code": {
  8089. "description": "ID",
  8090. "type": "string"
  8091. },
  8092. "isshow": {
  8093. "description": "是否显示",
  8094. "type": "boolean"
  8095. },
  8096. "rulekey": {
  8097. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  8098. "type": "string"
  8099. },
  8100. "sort": {
  8101. "description": "排序",
  8102. "type": "integer"
  8103. },
  8104. "title": {
  8105. "description": "标题",
  8106. "type": "string"
  8107. },
  8108. "type": {
  8109. "description": "类型,1:菜单 2:按钮",
  8110. "type": "integer"
  8111. }
  8112. }
  8113. },
  8114. "common.QueryImageConfigsRsp": {
  8115. "type": "object",
  8116. "required": [
  8117. "configid"
  8118. ],
  8119. "properties": {
  8120. "areauserid": {
  8121. "description": "所属机构ID",
  8122. "type": "integer"
  8123. },
  8124. "configid": {
  8125. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  8126. "type": "integer"
  8127. },
  8128. "createdate": {
  8129. "description": "创建时间",
  8130. "type": "string"
  8131. },
  8132. "creatorid": {
  8133. "description": "创建人",
  8134. "type": "integer"
  8135. },
  8136. "imagepath": {
  8137. "description": "图片",
  8138. "type": "string"
  8139. },
  8140. "imagetype": {
  8141. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  8142. "type": "integer"
  8143. },
  8144. "isshow": {
  8145. "description": "是否展示 - 0:不展示 1:展示",
  8146. "type": "integer"
  8147. },
  8148. "marketid": {
  8149. "description": "市场ID",
  8150. "type": "integer"
  8151. },
  8152. "modifierid": {
  8153. "description": "操作人",
  8154. "type": "integer"
  8155. },
  8156. "sort": {
  8157. "description": "排序",
  8158. "type": "integer"
  8159. },
  8160. "title": {
  8161. "description": "标题",
  8162. "type": "string"
  8163. },
  8164. "trademode": {
  8165. "description": "交易模式",
  8166. "type": "integer"
  8167. },
  8168. "updatedate": {
  8169. "description": "修改时间",
  8170. "type": "string"
  8171. },
  8172. "url": {
  8173. "description": "链接(地址或商品ID)",
  8174. "type": "string"
  8175. },
  8176. "urltype": {
  8177. "description": "链接类型 - 1:直接地址 2:商品ID",
  8178. "type": "integer"
  8179. }
  8180. }
  8181. },
  8182. "common.QueryNoticeRsp": {
  8183. "type": "object",
  8184. "required": [
  8185. "autoid"
  8186. ],
  8187. "properties": {
  8188. "auditoruserid": {
  8189. "description": "审核人",
  8190. "type": "integer"
  8191. },
  8192. "auditremark": {
  8193. "description": "审核备注",
  8194. "type": "string"
  8195. },
  8196. "audittime": {
  8197. "description": "审核日期",
  8198. "type": "string"
  8199. },
  8200. "autoid": {
  8201. "description": "自增ID",
  8202. "type": "integer"
  8203. },
  8204. "content": {
  8205. "description": "内容",
  8206. "type": "string"
  8207. },
  8208. "createtime": {
  8209. "description": "创建时间",
  8210. "type": "string"
  8211. },
  8212. "creatorid": {
  8213. "description": "建仓人",
  8214. "type": "integer"
  8215. },
  8216. "endtime": {
  8217. "description": "结束时间",
  8218. "type": "string"
  8219. },
  8220. "istop": {
  8221. "description": "是否置顶 - 0:不置顶 1:置顶",
  8222. "type": "integer"
  8223. },
  8224. "msgiconurl": {
  8225. "description": "消息图标Url",
  8226. "type": "string"
  8227. },
  8228. "msgtype": {
  8229. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  8230. "type": "integer"
  8231. },
  8232. "publisher": {
  8233. "description": "消息发布者",
  8234. "type": "string"
  8235. },
  8236. "readed": {
  8237. "description": "是否已读",
  8238. "type": "boolean"
  8239. },
  8240. "scheduletime": {
  8241. "description": "计划发送时间",
  8242. "type": "string"
  8243. },
  8244. "sendtype": {
  8245. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  8246. "type": "integer"
  8247. },
  8248. "sentstatus": {
  8249. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  8250. "type": "integer"
  8251. },
  8252. "title": {
  8253. "description": "标题",
  8254. "type": "string"
  8255. },
  8256. "userid": {
  8257. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  8258. "type": "integer"
  8259. }
  8260. }
  8261. },
  8262. "common.QueryProvincesAndCitiesRsp": {
  8263. "type": "object",
  8264. "properties": {
  8265. "cities": {
  8266. "description": "市",
  8267. "type": "array",
  8268. "items": {
  8269. "$ref": "#/definitions/models.Division"
  8270. }
  8271. },
  8272. "province": {
  8273. "description": "省",
  8274. "type": "object",
  8275. "$ref": "#/definitions/models.Division"
  8276. }
  8277. }
  8278. },
  8279. "common.QueryTableDefineRsp": {
  8280. "type": "object",
  8281. "required": [
  8282. "tablekey"
  8283. ],
  8284. "properties": {
  8285. "columns": {
  8286. "description": "列头信息数组",
  8287. "type": "array",
  8288. "items": {
  8289. "$ref": "#/definitions/models.Tablecolumnconfig"
  8290. }
  8291. },
  8292. "remark": {
  8293. "description": "Remark",
  8294. "type": "string"
  8295. },
  8296. "tabelmenu": {
  8297. "description": "列表菜单",
  8298. "type": "string"
  8299. },
  8300. "tablekey": {
  8301. "description": "列表Key",
  8302. "type": "string"
  8303. },
  8304. "tablename": {
  8305. "description": "列表名称",
  8306. "type": "string"
  8307. },
  8308. "tabletype": {
  8309. "description": "列表类型 - 1:管理端 2:终端",
  8310. "type": "integer"
  8311. }
  8312. }
  8313. },
  8314. "common.QueryTraderMenuRsp": {
  8315. "type": "object",
  8316. "properties": {
  8317. "OperationMenu": {
  8318. "description": "功能菜单",
  8319. "type": "array",
  8320. "items": {
  8321. "$ref": "#/definitions/models.OperationPrimaryMenu"
  8322. }
  8323. },
  8324. "QuoteMenu": {
  8325. "description": "报价牌分类菜单",
  8326. "type": "array",
  8327. "items": {
  8328. "$ref": "#/definitions/models.QuotePrimaryMenu"
  8329. }
  8330. }
  8331. }
  8332. },
  8333. "cptrade.Cptradepositioncancel": {
  8334. "type": "object",
  8335. "required": [
  8336. "cancelid"
  8337. ],
  8338. "properties": {
  8339. "accountid": {
  8340. "description": "申请人账户ID",
  8341. "type": "integer"
  8342. },
  8343. "applystatus": {
  8344. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8345. "type": "integer"
  8346. },
  8347. "applytime": {
  8348. "description": "申请时间",
  8349. "type": "string"
  8350. },
  8351. "cancelid": {
  8352. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  8353. "type": "integer"
  8354. },
  8355. "cancelqty": {
  8356. "description": "注销数量",
  8357. "type": "integer"
  8358. },
  8359. "createtime": {
  8360. "description": "创建时间",
  8361. "type": "string"
  8362. },
  8363. "creatorid": {
  8364. "description": "创建人ID",
  8365. "type": "integer"
  8366. },
  8367. "creatorname": {
  8368. "description": "创建人",
  8369. "type": "string"
  8370. },
  8371. "goodscode": {
  8372. "description": "订单商品代码",
  8373. "type": "string"
  8374. },
  8375. "goodsid": {
  8376. "description": "商品ID",
  8377. "type": "integer"
  8378. },
  8379. "goodsname": {
  8380. "description": "订单商品名称",
  8381. "type": "string"
  8382. },
  8383. "goodunit": {
  8384. "description": "报价单位",
  8385. "type": "string"
  8386. },
  8387. "handlestatus": {
  8388. "description": "处理状态",
  8389. "type": "integer"
  8390. },
  8391. "marketid": {
  8392. "description": "市场ID",
  8393. "type": "integer"
  8394. },
  8395. "marketname": {
  8396. "description": "市场名称",
  8397. "type": "string"
  8398. },
  8399. "tradedate": {
  8400. "description": "交易日(yyyyMMdd)",
  8401. "type": "string"
  8402. },
  8403. "userid": {
  8404. "description": "申请人ID",
  8405. "type": "integer"
  8406. }
  8407. }
  8408. },
  8409. "cptrade.Cptradepresaleapply": {
  8410. "type": "object",
  8411. "required": [
  8412. "applyid"
  8413. ],
  8414. "properties": {
  8415. "accountid": {
  8416. "description": "申请人账户ID",
  8417. "type": "integer"
  8418. },
  8419. "applyid": {
  8420. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  8421. "type": "integer"
  8422. },
  8423. "applyremark": {
  8424. "description": "申请备注",
  8425. "type": "string"
  8426. },
  8427. "applystatus": {
  8428. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  8429. "type": "integer"
  8430. },
  8431. "applytime": {
  8432. "description": "申请时间",
  8433. "type": "string"
  8434. },
  8435. "attachmenturl": {
  8436. "description": "附件地址",
  8437. "type": "string"
  8438. },
  8439. "endtime": {
  8440. "description": "预售结束时间",
  8441. "type": "string"
  8442. },
  8443. "goodscode": {
  8444. "description": "商品代码",
  8445. "type": "string"
  8446. },
  8447. "goodsid": {
  8448. "description": "商品ID",
  8449. "type": "integer"
  8450. },
  8451. "goodsname": {
  8452. "description": "商品名称",
  8453. "type": "string"
  8454. },
  8455. "goodunit": {
  8456. "description": "报价单位",
  8457. "type": "string"
  8458. },
  8459. "handlestatus": {
  8460. "description": "处理状态",
  8461. "type": "integer"
  8462. },
  8463. "marketid": {
  8464. "description": "预售市场ID",
  8465. "type": "integer"
  8466. },
  8467. "marketname": {
  8468. "description": "预售市场名称",
  8469. "type": "string"
  8470. },
  8471. "presaleqty": {
  8472. "description": "预售数量",
  8473. "type": "integer"
  8474. },
  8475. "relatedgoodscode": {
  8476. "description": "关联交易合约代码",
  8477. "type": "string"
  8478. },
  8479. "relatedgoodsid": {
  8480. "description": "关联交易合约ID",
  8481. "type": "integer"
  8482. },
  8483. "relatedgoodsname": {
  8484. "description": "关联交易合约名称",
  8485. "type": "string"
  8486. },
  8487. "starttime": {
  8488. "description": "预售开始时间",
  8489. "type": "string"
  8490. },
  8491. "tradedate": {
  8492. "description": "交易日(yyyyMMdd)",
  8493. "type": "string"
  8494. },
  8495. "trademode": {
  8496. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8497. "type": "integer"
  8498. },
  8499. "userid": {
  8500. "description": "申请人ID",
  8501. "type": "integer"
  8502. }
  8503. }
  8504. },
  8505. "cptrade.Cptradeusergoodsdata": {
  8506. "type": "object",
  8507. "required": [
  8508. "accountid",
  8509. "goodsid"
  8510. ],
  8511. "properties": {
  8512. "EnabledQty": {
  8513. "description": "可用量",
  8514. "type": "integer"
  8515. },
  8516. "GoodsCode": {
  8517. "description": "订单商品代码",
  8518. "type": "string"
  8519. },
  8520. "GoodsName": {
  8521. "description": "订单商品名称",
  8522. "type": "string"
  8523. },
  8524. "WRStandardCode": {
  8525. "description": "仓单标准代码",
  8526. "type": "string"
  8527. },
  8528. "WRStandardName": {
  8529. "description": "仓单标准名称",
  8530. "type": "string"
  8531. },
  8532. "accountid": {
  8533. "description": "账户ID",
  8534. "type": "integer"
  8535. },
  8536. "cancelqty": {
  8537. "description": "注销量",
  8538. "type": "integer"
  8539. },
  8540. "curpresaleqty": {
  8541. "description": "当前预售量",
  8542. "type": "integer"
  8543. },
  8544. "deliveryqty": {
  8545. "description": "交割量",
  8546. "type": "integer"
  8547. },
  8548. "freezeamount": {
  8549. "description": "冻结金额",
  8550. "type": "number"
  8551. },
  8552. "goodsid": {
  8553. "description": "商品ID",
  8554. "type": "integer"
  8555. },
  8556. "goodunit": {
  8557. "description": "报价单位",
  8558. "type": "string"
  8559. },
  8560. "hasspotfreeze": {
  8561. "description": "是否有现货冻结 - 0:否 1:有",
  8562. "type": "integer"
  8563. },
  8564. "inqty": {
  8565. "description": "转入量(总数量)",
  8566. "type": "integer"
  8567. },
  8568. "marketid": {
  8569. "description": "市场ID",
  8570. "type": "integer"
  8571. },
  8572. "presaledamount": {
  8573. "description": "已预售总金额",
  8574. "type": "integer"
  8575. },
  8576. "presaledqty": {
  8577. "description": "已预售量",
  8578. "type": "integer"
  8579. },
  8580. "userid": {
  8581. "description": "用户ID",
  8582. "type": "integer"
  8583. },
  8584. "wrstandardid": {
  8585. "description": "仓单标准ID",
  8586. "type": "integer"
  8587. }
  8588. }
  8589. },
  8590. "cptrade.QueryCPTradeMyBidRsp": {
  8591. "type": "object",
  8592. "required": [
  8593. "accountid",
  8594. "goodsid",
  8595. "marketid",
  8596. "orderid",
  8597. "orderqty",
  8598. "ordertime",
  8599. "tradeprice",
  8600. "tradeqty"
  8601. ],
  8602. "properties": {
  8603. "accountid": {
  8604. "description": "账户ID[报价币种]",
  8605. "type": "integer"
  8606. },
  8607. "goodsid": {
  8608. "description": "商品ID",
  8609. "type": "integer"
  8610. },
  8611. "goodunit": {
  8612. "description": "报价单位",
  8613. "type": "string"
  8614. },
  8615. "marketid": {
  8616. "description": "市场ID",
  8617. "type": "integer"
  8618. },
  8619. "orderid": {
  8620. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8621. "type": "integer"
  8622. },
  8623. "orderprice": {
  8624. "description": "委托价格",
  8625. "type": "number"
  8626. },
  8627. "orderqty": {
  8628. "description": "委托数量",
  8629. "type": "integer"
  8630. },
  8631. "ordertime": {
  8632. "description": "委托时间",
  8633. "type": "string"
  8634. },
  8635. "ordertotalprice": {
  8636. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8637. "type": "number"
  8638. },
  8639. "ordertotalweight": {
  8640. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8641. "type": "integer"
  8642. },
  8643. "totaltotalprice": {
  8644. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8645. "type": "number"
  8646. },
  8647. "tradeprice": {
  8648. "description": "成交价格",
  8649. "type": "number"
  8650. },
  8651. "tradeqty": {
  8652. "description": "成交数量",
  8653. "type": "integer"
  8654. }
  8655. }
  8656. },
  8657. "cptrade.QueryCPTradeOrderDetailRsq": {
  8658. "type": "object",
  8659. "required": [
  8660. "accountid",
  8661. "buildtype",
  8662. "buyorsell",
  8663. "goodsid",
  8664. "marketid",
  8665. "memberuserid",
  8666. "operatetype",
  8667. "orderqty",
  8668. "ordertime",
  8669. "pricemode",
  8670. "strorderid",
  8671. "tradedate",
  8672. "validtype"
  8673. ],
  8674. "properties": {
  8675. "accountid": {
  8676. "description": "账户ID[报价币种]",
  8677. "type": "integer"
  8678. },
  8679. "buildtype": {
  8680. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8681. "type": "integer"
  8682. },
  8683. "buyorsell": {
  8684. "description": "买卖 - 0:买 1:卖",
  8685. "type": "integer"
  8686. },
  8687. "cancelorderid": {
  8688. "description": "撤单单号(撤单时填写)",
  8689. "type": "integer"
  8690. },
  8691. "cancelqty": {
  8692. "description": "撤单数量",
  8693. "type": "integer"
  8694. },
  8695. "clientordertime": {
  8696. "description": "客户端委托时间",
  8697. "type": "string"
  8698. },
  8699. "clientticket": {
  8700. "description": "客户端流水号",
  8701. "type": "string"
  8702. },
  8703. "clienttype": {
  8704. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8705. "type": "integer"
  8706. },
  8707. "closeexchagechargevalue": {
  8708. "description": "平仓交易所手续费设置值",
  8709. "type": "number"
  8710. },
  8711. "closefeealgorithm": {
  8712. "description": "平仓手续费收取方式 1:比率 2:固定",
  8713. "type": "integer"
  8714. },
  8715. "closefreezecharge": {
  8716. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8717. "type": "number"
  8718. },
  8719. "closememberchargevalue": {
  8720. "description": "平仓会员手续费设置值",
  8721. "type": "number"
  8722. },
  8723. "closeqty": {
  8724. "description": "平仓数量(先建后平操作 需要记录)",
  8725. "type": "integer"
  8726. },
  8727. "closetradeqty": {
  8728. "description": "平仓成交数量(先建后平操作,需要记录)",
  8729. "type": "integer"
  8730. },
  8731. "closeunfreezecharge": {
  8732. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8733. "type": "number"
  8734. },
  8735. "delistingtype": {
  8736. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8737. "type": "integer"
  8738. },
  8739. "freezecharge": {
  8740. "description": "冻结手续费",
  8741. "type": "number"
  8742. },
  8743. "freezemargin": {
  8744. "description": "冻结保证金(冻结交易金额)",
  8745. "type": "number"
  8746. },
  8747. "gcaccountid": {
  8748. "description": "账户ID[合约币种]",
  8749. "type": "integer"
  8750. },
  8751. "goodsid": {
  8752. "description": "商品ID",
  8753. "type": "integer"
  8754. },
  8755. "isconfirmexercise": {
  8756. "description": "是否确认行权- 0:否 1:是",
  8757. "type": "integer"
  8758. },
  8759. "ispreexercise": {
  8760. "description": "是否预申报- 0:否 1:是",
  8761. "type": "integer"
  8762. },
  8763. "listingselecttype": {
  8764. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8765. "type": "integer"
  8766. },
  8767. "marginalgorithm": {
  8768. "description": "保证金收取方式 1:比率 2:固定",
  8769. "type": "integer"
  8770. },
  8771. "marginvalue": {
  8772. "description": "即市保证金设置值",
  8773. "type": "number"
  8774. },
  8775. "marketid": {
  8776. "description": "市场ID",
  8777. "type": "integer"
  8778. },
  8779. "marketmaxsub": {
  8780. "description": "市价最大偏移范围",
  8781. "type": "number"
  8782. },
  8783. "memberuserid": {
  8784. "description": "所属会员UserID",
  8785. "type": "integer"
  8786. },
  8787. "openexchagechargevalue": {
  8788. "description": "建仓交易所手续费设置值",
  8789. "type": "number"
  8790. },
  8791. "openfeealgorithm": {
  8792. "description": "建仓手续费收取方式 1:比率 2:固定",
  8793. "type": "integer"
  8794. },
  8795. "openfreezecharge": {
  8796. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8797. "type": "number"
  8798. },
  8799. "openmemberchargevalue": {
  8800. "description": "建仓会员手续费设置值",
  8801. "type": "number"
  8802. },
  8803. "openqty": {
  8804. "description": "开仓数量(先建后平操作,需要记录)",
  8805. "type": "integer"
  8806. },
  8807. "opentradeqty": {
  8808. "description": "开仓成交数量(先建后平操作,需要记录)",
  8809. "type": "integer"
  8810. },
  8811. "openunfreezecharge": {
  8812. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8813. "type": "number"
  8814. },
  8815. "operatetype": {
  8816. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8817. "type": "integer"
  8818. },
  8819. "operatorid": {
  8820. "description": "登录账号(LoginID)",
  8821. "type": "integer"
  8822. },
  8823. "optiontype": {
  8824. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8825. "type": "integer"
  8826. },
  8827. "orderprice": {
  8828. "description": "委托价格",
  8829. "type": "number"
  8830. },
  8831. "orderqty": {
  8832. "description": "委托数量",
  8833. "type": "integer"
  8834. },
  8835. "ordersrc": {
  8836. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8837. "type": "integer"
  8838. },
  8839. "orderstatus": {
  8840. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8841. "type": "integer"
  8842. },
  8843. "ordertime": {
  8844. "description": "委托时间",
  8845. "type": "string"
  8846. },
  8847. "preexerciseprice": {
  8848. "description": "预申报价格",
  8849. "type": "number"
  8850. },
  8851. "premium": {
  8852. "description": "权利金",
  8853. "type": "number"
  8854. },
  8855. "preorderid": {
  8856. "description": "关联预埋单号(止盈止损单时填写)",
  8857. "type": "integer"
  8858. },
  8859. "pricemode": {
  8860. "description": "取价方式 - 1:市价 2: 限价",
  8861. "type": "integer"
  8862. },
  8863. "quoteid": {
  8864. "description": "报价单ID",
  8865. "type": "integer"
  8866. },
  8867. "relatedid": {
  8868. "description": "关联单号(交割单)",
  8869. "type": "integer"
  8870. },
  8871. "retcode": {
  8872. "description": "错误代码",
  8873. "type": "integer"
  8874. },
  8875. "sessionid": {
  8876. "description": "会话ID",
  8877. "type": "integer"
  8878. },
  8879. "strorderid": {
  8880. "description": "委托单号",
  8881. "type": "string"
  8882. },
  8883. "tradedate": {
  8884. "description": "交易日(yyyyMMdd)",
  8885. "type": "string"
  8886. },
  8887. "tradeproperty": {
  8888. "description": "交易属性",
  8889. "type": "integer"
  8890. },
  8891. "tradeqty": {
  8892. "description": "成交数量",
  8893. "type": "integer"
  8894. },
  8895. "unfreezecharge": {
  8896. "description": "解冻手续费",
  8897. "type": "number"
  8898. },
  8899. "unfreezemargin": {
  8900. "description": "解冻保证金",
  8901. "type": "number"
  8902. },
  8903. "updatetime": {
  8904. "description": "更新时间",
  8905. "type": "string"
  8906. },
  8907. "uuid": {
  8908. "description": "发起端唯一id",
  8909. "type": "string"
  8910. },
  8911. "validtime": {
  8912. "description": "有效期限",
  8913. "type": "string"
  8914. },
  8915. "validtype": {
  8916. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8917. "type": "integer"
  8918. },
  8919. "volumetype": {
  8920. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8921. "type": "integer"
  8922. }
  8923. }
  8924. },
  8925. "cptrade.QueryMyCPTradeGoodsRsp": {
  8926. "type": "object",
  8927. "required": [
  8928. "goodscode",
  8929. "goodsid",
  8930. "goodsname",
  8931. "marketid",
  8932. "relatedgoodscode",
  8933. "relatedgoodsname"
  8934. ],
  8935. "properties": {
  8936. "accountid": {
  8937. "description": "卖方账户ID",
  8938. "type": "integer"
  8939. },
  8940. "agreeunit": {
  8941. "description": "合约单位",
  8942. "type": "number"
  8943. },
  8944. "applyid": {
  8945. "description": "关联申请ID",
  8946. "type": "integer"
  8947. },
  8948. "attachmenturl": {
  8949. "description": "附件地址",
  8950. "type": "string"
  8951. },
  8952. "createtime": {
  8953. "description": "创建时间",
  8954. "type": "string"
  8955. },
  8956. "currencyid": {
  8957. "description": "报价货币ID",
  8958. "type": "integer"
  8959. },
  8960. "decimalplace": {
  8961. "description": "报价小数位",
  8962. "type": "integer"
  8963. },
  8964. "endtime": {
  8965. "description": "预售结束时间",
  8966. "type": "string"
  8967. },
  8968. "floorprice": {
  8969. "description": "底价[大宗式竞拍]",
  8970. "type": "number"
  8971. },
  8972. "goodscode": {
  8973. "description": "商品代码(预售)",
  8974. "type": "string"
  8975. },
  8976. "goodsdetail": {
  8977. "description": "详情[大宗]",
  8978. "type": "string"
  8979. },
  8980. "goodsid": {
  8981. "description": "商品ID(自增ID SEQ_GOODS)",
  8982. "type": "integer"
  8983. },
  8984. "goodsname": {
  8985. "description": "商品名称(预售)",
  8986. "type": "string"
  8987. },
  8988. "goodunit": {
  8989. "description": "报价单位",
  8990. "type": "string"
  8991. },
  8992. "goodunitid": {
  8993. "description": "报价单位ID",
  8994. "type": "integer"
  8995. },
  8996. "marketid": {
  8997. "description": "所属市场ID",
  8998. "type": "integer"
  8999. },
  9000. "marketname": {
  9001. "description": "预售市场名称",
  9002. "type": "string"
  9003. },
  9004. "presaledamount": {
  9005. "description": "已预售总金额(预售结束时更新)",
  9006. "type": "number"
  9007. },
  9008. "presaledqty": {
  9009. "description": "已预售量(预售结束时更新)",
  9010. "type": "integer"
  9011. },
  9012. "presalemode": {
  9013. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9014. "type": "integer"
  9015. },
  9016. "presaleqty": {
  9017. "description": "预售数量",
  9018. "type": "integer"
  9019. },
  9020. "refprice": {
  9021. "description": "参考价格[一口价]",
  9022. "type": "number"
  9023. },
  9024. "relatedgoodscode": {
  9025. "description": "商品代码(订单)",
  9026. "type": "string"
  9027. },
  9028. "relatedgoodsid": {
  9029. "description": "关联交易合约ID",
  9030. "type": "integer"
  9031. },
  9032. "relatedgoodsname": {
  9033. "description": "商品名称(订单)",
  9034. "type": "string"
  9035. },
  9036. "relatedmarketid": {
  9037. "description": "关联交易合约市场ID",
  9038. "type": "integer"
  9039. },
  9040. "sellstatus": {
  9041. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9042. "type": "integer"
  9043. },
  9044. "startprice": {
  9045. "description": "起拍价[大宗式竞拍]",
  9046. "type": "number"
  9047. },
  9048. "starttime": {
  9049. "description": "预售开始时间",
  9050. "type": "string"
  9051. },
  9052. "tradedate": {
  9053. "description": "交易日(yyyyMMdd)",
  9054. "type": "string"
  9055. },
  9056. "tradeprice": {
  9057. "description": "成交价[大宗]",
  9058. "type": "number"
  9059. },
  9060. "userid": {
  9061. "description": "卖方用户ID",
  9062. "type": "integer"
  9063. }
  9064. }
  9065. },
  9066. "cptrade.QueryPresaleGoodsExRsp": {
  9067. "type": "object",
  9068. "required": [
  9069. "goodsid"
  9070. ],
  9071. "properties": {
  9072. "attachmenturl": {
  9073. "description": "附件地址",
  9074. "type": "string"
  9075. },
  9076. "createtime": {
  9077. "description": "创建时间",
  9078. "type": "string"
  9079. },
  9080. "endtime": {
  9081. "description": "预售结束时间",
  9082. "type": "string"
  9083. },
  9084. "floorprice": {
  9085. "description": "底价[大宗式竞拍]",
  9086. "type": "number"
  9087. },
  9088. "goodsdetail": {
  9089. "description": "详情[大宗]",
  9090. "type": "string"
  9091. },
  9092. "goodsid": {
  9093. "description": "商品ID(预售)",
  9094. "type": "integer"
  9095. },
  9096. "goodunit": {
  9097. "description": "报价单位",
  9098. "type": "string"
  9099. },
  9100. "marketid": {
  9101. "description": "预售市场ID - 根据预售模式选择市场",
  9102. "type": "integer"
  9103. },
  9104. "presaledamount": {
  9105. "description": "已预售总金额(预售结束时更新)",
  9106. "type": "number"
  9107. },
  9108. "presaledqty": {
  9109. "description": "已预售量(预售结束时更新)",
  9110. "type": "integer"
  9111. },
  9112. "presalemode": {
  9113. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  9114. "type": "integer"
  9115. },
  9116. "presaleqty": {
  9117. "description": "预售数量",
  9118. "type": "integer"
  9119. },
  9120. "refprice": {
  9121. "description": "参考价格[一口价]",
  9122. "type": "number"
  9123. },
  9124. "relatedgoodsid": {
  9125. "description": "关联交易合约ID",
  9126. "type": "integer"
  9127. },
  9128. "relatedmarketid": {
  9129. "description": "关联交易合约市场ID",
  9130. "type": "integer"
  9131. },
  9132. "sellstatus": {
  9133. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  9134. "type": "integer"
  9135. },
  9136. "startprice": {
  9137. "description": "起拍价[大宗式竞拍]",
  9138. "type": "number"
  9139. },
  9140. "starttime": {
  9141. "description": "预售开始时间",
  9142. "type": "string"
  9143. },
  9144. "tradedate": {
  9145. "description": "交易日(yyyyMMdd)",
  9146. "type": "string"
  9147. },
  9148. "tradeprice": {
  9149. "description": "成交价[大宗]",
  9150. "type": "number"
  9151. }
  9152. }
  9153. },
  9154. "delivery.QueryDeliveryRelationRsp": {
  9155. "type": "object",
  9156. "required": [
  9157. "begindate",
  9158. "enddate",
  9159. "goodsid",
  9160. "mindeliveryqty",
  9161. "xdeliveryratio"
  9162. ],
  9163. "properties": {
  9164. "begindate": {
  9165. "description": "起始日期(yyyyMMdd)",
  9166. "type": "string"
  9167. },
  9168. "buytemplateid": {
  9169. "description": "买履约计划模板ID",
  9170. "type": "integer"
  9171. },
  9172. "deliverygoodscode": {
  9173. "description": "品种代码",
  9174. "type": "string"
  9175. },
  9176. "deliverygoodsid": {
  9177. "description": "交割商品",
  9178. "type": "integer"
  9179. },
  9180. "deliverygoodsname": {
  9181. "description": "品种名称",
  9182. "type": "string"
  9183. },
  9184. "deliverymode": {
  9185. "description": "交割方式 - 1:点选式 2:申报式",
  9186. "type": "integer"
  9187. },
  9188. "deliverypricerule": {
  9189. "description": "交割价规则- 1:行情价 2:建仓价",
  9190. "type": "integer"
  9191. },
  9192. "deliverytype": {
  9193. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  9194. "type": "integer"
  9195. },
  9196. "enddate": {
  9197. "description": "结束日期(yyyyMMdd)",
  9198. "type": "string"
  9199. },
  9200. "goodscode": {
  9201. "description": "商品代码",
  9202. "type": "string"
  9203. },
  9204. "goodsid": {
  9205. "description": "交易合约ID",
  9206. "type": "integer"
  9207. },
  9208. "goodsname": {
  9209. "description": "商品名称",
  9210. "type": "string"
  9211. },
  9212. "marketid": {
  9213. "description": "市场ID",
  9214. "type": "integer"
  9215. },
  9216. "mindeliveryqty": {
  9217. "description": "最小交割系数(K)",
  9218. "type": "integer"
  9219. },
  9220. "p2deliveryprice": {
  9221. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  9222. "type": "number"
  9223. },
  9224. "p2deliveryratio": {
  9225. "description": "P2合约系数(p)",
  9226. "type": "integer"
  9227. },
  9228. "p2goodsid": {
  9229. "description": "P2合约ID",
  9230. "type": "integer"
  9231. },
  9232. "p2pricemode": {
  9233. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  9234. "type": "integer"
  9235. },
  9236. "pdeliveryprice": {
  9237. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  9238. "type": "number"
  9239. },
  9240. "pdeliveryratio": {
  9241. "description": "P合约系数(n)",
  9242. "type": "integer"
  9243. },
  9244. "pgoodsid": {
  9245. "description": "P合约ID",
  9246. "type": "integer"
  9247. },
  9248. "ppricemode": {
  9249. "description": "P合约价格方式 - 1:商品价 2:固定值",
  9250. "type": "integer"
  9251. },
  9252. "rratio": {
  9253. "description": "兑换系数(R)",
  9254. "type": "integer"
  9255. },
  9256. "rratio1": {
  9257. "description": "兑换系数(交易合约)(R1)",
  9258. "type": "integer"
  9259. },
  9260. "rratio2": {
  9261. "description": "兑换系数(仓单标准)(R2)",
  9262. "type": "integer"
  9263. },
  9264. "selltemplateid": {
  9265. "description": "卖履约计划模板ID",
  9266. "type": "integer"
  9267. },
  9268. "wrstandardid": {
  9269. "description": "仓单标准ID",
  9270. "type": "integer"
  9271. },
  9272. "xdeliveryratio": {
  9273. "description": "交易合约系数(m)",
  9274. "type": "integer"
  9275. }
  9276. }
  9277. },
  9278. "ermcp.ExposureDetailRsp": {
  9279. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  9280. },
  9281. "ermcp.ExposureHedgePosDetailRsp": {
  9282. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  9283. },
  9284. "ermcp.ExposureHedgePositionRsp": {
  9285. "$ref": "#/definitions/models.ErmcpHedgePosition"
  9286. },
  9287. "ermcp.ExposureSpotDetailRsp": {
  9288. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  9289. },
  9290. "ermcp.ExposureSpotRsp": {
  9291. "$ref": "#/definitions/models.AreaSpotModel"
  9292. },
  9293. "ermcp.HisExposureRsp": {
  9294. "$ref": "#/definitions/models.ErmcpHisExposureS"
  9295. },
  9296. "ermcp.PendingAuditCntRsp": {
  9297. "$ref": "#/definitions/models.ErmcpPendingAudit"
  9298. },
  9299. "ermcp.QryAvalidGPRsp": {
  9300. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  9301. },
  9302. "ermcp.QryBusinessDjRsp": {
  9303. "type": "object",
  9304. "properties": {
  9305. "amount": {
  9306. "description": "点价金额=(点价价格+升贴水)*点价数量",
  9307. "type": "number"
  9308. },
  9309. "applyid": {
  9310. "description": "申请人",
  9311. "type": "string"
  9312. },
  9313. "applyname": {
  9314. "description": "申请人名称",
  9315. "type": "string"
  9316. },
  9317. "applystatus": {
  9318. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9319. "type": "integer"
  9320. },
  9321. "applytime": {
  9322. "description": "申请时间",
  9323. "type": "string"
  9324. },
  9325. "attachurl": {
  9326. "description": "附件",
  9327. "type": "string"
  9328. },
  9329. "auditid": {
  9330. "description": "审核人ID",
  9331. "type": "string"
  9332. },
  9333. "auditname": {
  9334. "description": "审核人名称",
  9335. "type": "string"
  9336. },
  9337. "audittime": {
  9338. "description": "审核时间",
  9339. "type": "string"
  9340. },
  9341. "buyusername": {
  9342. "description": "采购方名称",
  9343. "type": "string"
  9344. },
  9345. "contractno": {
  9346. "description": "合同编号",
  9347. "type": "string"
  9348. },
  9349. "contractstatus": {
  9350. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9351. "type": "integer"
  9352. },
  9353. "contracttype": {
  9354. "description": "现货合同类型 - 1:采购 -1:销售",
  9355. "type": "integer"
  9356. },
  9357. "deliverygoodscode": {
  9358. "description": "现货品种代码",
  9359. "type": "string"
  9360. },
  9361. "deliverygoodsid": {
  9362. "description": "现货商品ID",
  9363. "type": "integer"
  9364. },
  9365. "deliverygoodsname": {
  9366. "description": "现货品种名称",
  9367. "type": "string"
  9368. },
  9369. "enumdicname": {
  9370. "description": "单位名称",
  9371. "type": "string"
  9372. },
  9373. "goodscode": {
  9374. "description": "点价合约",
  9375. "type": "string"
  9376. },
  9377. "goodsname": {
  9378. "description": "商品名称",
  9379. "type": "string"
  9380. },
  9381. "operateapplyid": {
  9382. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9383. "type": "string"
  9384. },
  9385. "operateapplytype": {
  9386. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9387. "type": "integer"
  9388. },
  9389. "pricedPrice": {
  9390. "description": "点价价格(非必填)",
  9391. "type": "number"
  9392. },
  9393. "pricedQty": {
  9394. "description": "点价数量(非必填)",
  9395. "type": "number"
  9396. },
  9397. "pricemove": {
  9398. "description": "升贴水",
  9399. "type": "number"
  9400. },
  9401. "pricetype": {
  9402. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9403. "type": "integer"
  9404. },
  9405. "relatedid": {
  9406. "description": "现货合同ID",
  9407. "type": "string"
  9408. },
  9409. "sellusername": {
  9410. "description": "销售方名字",
  9411. "type": "string"
  9412. },
  9413. "userid": {
  9414. "description": "用户ID",
  9415. "type": "integer"
  9416. },
  9417. "wrstandardcode": {
  9418. "description": "品类代码",
  9419. "type": "string"
  9420. },
  9421. "wrstandardid": {
  9422. "description": "品类id",
  9423. "type": "integer"
  9424. },
  9425. "wrstandardname": {
  9426. "description": "品类名称",
  9427. "type": "string"
  9428. }
  9429. }
  9430. },
  9431. "ermcp.QryBussinessFpRsp": {
  9432. "type": "object",
  9433. "properties": {
  9434. "applyid": {
  9435. "description": "申请人",
  9436. "type": "string"
  9437. },
  9438. "applyname": {
  9439. "description": "申请人名称",
  9440. "type": "string"
  9441. },
  9442. "applystatus": {
  9443. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9444. "type": "integer"
  9445. },
  9446. "applytime": {
  9447. "description": "申请时间",
  9448. "type": "string"
  9449. },
  9450. "attachurl": {
  9451. "description": "附件",
  9452. "type": "string"
  9453. },
  9454. "auditid": {
  9455. "description": "审核人ID",
  9456. "type": "string"
  9457. },
  9458. "auditname": {
  9459. "description": "审核人名称",
  9460. "type": "string"
  9461. },
  9462. "audittime": {
  9463. "description": "审核时间",
  9464. "type": "string"
  9465. },
  9466. "buyusername": {
  9467. "description": "采购方名称",
  9468. "type": "string"
  9469. },
  9470. "contractno": {
  9471. "description": "合同编号",
  9472. "type": "string"
  9473. },
  9474. "contractstatus": {
  9475. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9476. "type": "integer"
  9477. },
  9478. "contracttype": {
  9479. "description": "现货合同类型 - 1:采购 -1:销售",
  9480. "type": "integer"
  9481. },
  9482. "deliverygoodscode": {
  9483. "description": "现货品种代码",
  9484. "type": "string"
  9485. },
  9486. "deliverygoodsid": {
  9487. "description": "现货商品ID",
  9488. "type": "integer"
  9489. },
  9490. "deliverygoodsname": {
  9491. "description": "现货品种名称",
  9492. "type": "string"
  9493. },
  9494. "enumdicname": {
  9495. "description": "单位名称",
  9496. "type": "string"
  9497. },
  9498. "goodscode": {
  9499. "description": "点价合约",
  9500. "type": "string"
  9501. },
  9502. "goodsname": {
  9503. "description": "商品名称",
  9504. "type": "string"
  9505. },
  9506. "invoiceAmount": {
  9507. "description": "已开收票金额(销售为开票,采购为收票)",
  9508. "type": "number"
  9509. },
  9510. "operateapplyid": {
  9511. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9512. "type": "string"
  9513. },
  9514. "operateapplytype": {
  9515. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9516. "type": "integer"
  9517. },
  9518. "pricemove": {
  9519. "description": "升贴水",
  9520. "type": "number"
  9521. },
  9522. "pricetype": {
  9523. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9524. "type": "integer"
  9525. },
  9526. "relatedid": {
  9527. "description": "现货合同ID",
  9528. "type": "string"
  9529. },
  9530. "sellusername": {
  9531. "description": "销售方名字",
  9532. "type": "string"
  9533. },
  9534. "userid": {
  9535. "description": "用户ID",
  9536. "type": "integer"
  9537. },
  9538. "wrstandardcode": {
  9539. "description": "品类代码",
  9540. "type": "string"
  9541. },
  9542. "wrstandardid": {
  9543. "description": "品类id",
  9544. "type": "integer"
  9545. },
  9546. "wrstandardname": {
  9547. "description": "品类名称",
  9548. "type": "string"
  9549. }
  9550. }
  9551. },
  9552. "ermcp.QryBussinessJsExRsp": {
  9553. "type": "object",
  9554. "properties": {
  9555. "applyid": {
  9556. "description": "申请人",
  9557. "type": "string"
  9558. },
  9559. "applyname": {
  9560. "description": "申请人名称",
  9561. "type": "string"
  9562. },
  9563. "applystatus": {
  9564. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9565. "type": "integer"
  9566. },
  9567. "applytime": {
  9568. "description": "申请时间",
  9569. "type": "string"
  9570. },
  9571. "attachurl": {
  9572. "description": "附件",
  9573. "type": "string"
  9574. },
  9575. "auditid": {
  9576. "description": "审核人ID",
  9577. "type": "string"
  9578. },
  9579. "auditname": {
  9580. "description": "审核人名称",
  9581. "type": "string"
  9582. },
  9583. "audittime": {
  9584. "description": "审核时间",
  9585. "type": "string"
  9586. },
  9587. "buyusername": {
  9588. "description": "采购方名称",
  9589. "type": "string"
  9590. },
  9591. "contractno": {
  9592. "description": "合同编号",
  9593. "type": "string"
  9594. },
  9595. "contractstatus": {
  9596. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9597. "type": "integer"
  9598. },
  9599. "contracttype": {
  9600. "description": "现货合同类型 - 1:采购 -1:销售",
  9601. "type": "integer"
  9602. },
  9603. "deliverygoodscode": {
  9604. "description": "现货品种代码",
  9605. "type": "string"
  9606. },
  9607. "deliverygoodsid": {
  9608. "description": "现货商品ID",
  9609. "type": "integer"
  9610. },
  9611. "deliverygoodsname": {
  9612. "description": "现货品种名称",
  9613. "type": "string"
  9614. },
  9615. "enumdicname": {
  9616. "description": "单位名称",
  9617. "type": "string"
  9618. },
  9619. "goodscode": {
  9620. "description": "点价合约",
  9621. "type": "string"
  9622. },
  9623. "goodsname": {
  9624. "description": "商品名称",
  9625. "type": "string"
  9626. },
  9627. "operateapplyid": {
  9628. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9629. "type": "string"
  9630. },
  9631. "operateapplytype": {
  9632. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9633. "type": "integer"
  9634. },
  9635. "pricemove": {
  9636. "description": "升贴水",
  9637. "type": "number"
  9638. },
  9639. "pricetype": {
  9640. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9641. "type": "integer"
  9642. },
  9643. "reckontype": {
  9644. "description": "结算类型",
  9645. "type": "string"
  9646. },
  9647. "reckonvalue": {
  9648. "description": "值",
  9649. "type": "number"
  9650. },
  9651. "relatedid": {
  9652. "description": "现货合同ID",
  9653. "type": "string"
  9654. },
  9655. "sellusername": {
  9656. "description": "销售方名字",
  9657. "type": "string"
  9658. },
  9659. "userid": {
  9660. "description": "用户ID",
  9661. "type": "integer"
  9662. },
  9663. "wrstandardcode": {
  9664. "description": "品类代码",
  9665. "type": "string"
  9666. },
  9667. "wrstandardid": {
  9668. "description": "品类id",
  9669. "type": "integer"
  9670. },
  9671. "wrstandardname": {
  9672. "description": "品类名称",
  9673. "type": "string"
  9674. }
  9675. }
  9676. },
  9677. "ermcp.QryBussinessJsRsp": {
  9678. "type": "object",
  9679. "properties": {
  9680. "addmargin": {
  9681. "description": "追加保证金(非必填)",
  9682. "type": "number"
  9683. },
  9684. "applyid": {
  9685. "description": "申请人",
  9686. "type": "string"
  9687. },
  9688. "applyname": {
  9689. "description": "申请人名称",
  9690. "type": "string"
  9691. },
  9692. "applystatus": {
  9693. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9694. "type": "integer"
  9695. },
  9696. "applytime": {
  9697. "description": "申请时间",
  9698. "type": "string"
  9699. },
  9700. "attachurl": {
  9701. "description": "附件",
  9702. "type": "string"
  9703. },
  9704. "auditid": {
  9705. "description": "审核人ID",
  9706. "type": "string"
  9707. },
  9708. "auditname": {
  9709. "description": "审核人名称",
  9710. "type": "string"
  9711. },
  9712. "audittime": {
  9713. "description": "审核时间",
  9714. "type": "string"
  9715. },
  9716. "buyusername": {
  9717. "description": "采购方名称",
  9718. "type": "string"
  9719. },
  9720. "contractno": {
  9721. "description": "合同编号",
  9722. "type": "string"
  9723. },
  9724. "contractstatus": {
  9725. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9726. "type": "integer"
  9727. },
  9728. "contracttype": {
  9729. "description": "现货合同类型 - 1:采购 -1:销售",
  9730. "type": "integer"
  9731. },
  9732. "decmargin": {
  9733. "description": "减少保证金(非必填)",
  9734. "type": "number"
  9735. },
  9736. "deliverygoodscode": {
  9737. "description": "现货品种代码",
  9738. "type": "string"
  9739. },
  9740. "deliverygoodsid": {
  9741. "description": "现货商品ID",
  9742. "type": "integer"
  9743. },
  9744. "deliverygoodsname": {
  9745. "description": "现货品种名称",
  9746. "type": "string"
  9747. },
  9748. "enumdicname": {
  9749. "description": "单位名称",
  9750. "type": "string"
  9751. },
  9752. "goodscode": {
  9753. "description": "点价合约",
  9754. "type": "string"
  9755. },
  9756. "goodsname": {
  9757. "description": "商品名称",
  9758. "type": "string"
  9759. },
  9760. "operateapplyid": {
  9761. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9762. "type": "string"
  9763. },
  9764. "operateapplytype": {
  9765. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9766. "type": "integer"
  9767. },
  9768. "pricemove": {
  9769. "description": "升贴水",
  9770. "type": "number"
  9771. },
  9772. "pricetype": {
  9773. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9774. "type": "integer"
  9775. },
  9776. "reckonadjustamount": {
  9777. "description": "结算调整金额(非必填)",
  9778. "type": "number"
  9779. },
  9780. "reckonosamount": {
  9781. "description": "结算溢短金额(非必填)",
  9782. "type": "number"
  9783. },
  9784. "reckonotheramount": {
  9785. "description": "结算其他费用(非必填)",
  9786. "type": "number"
  9787. },
  9788. "reckonrealqty": {
  9789. "description": "结算实际数量(非必填)",
  9790. "type": "number"
  9791. },
  9792. "relatedid": {
  9793. "description": "现货合同ID",
  9794. "type": "string"
  9795. },
  9796. "sellusername": {
  9797. "description": "销售方名字",
  9798. "type": "string"
  9799. },
  9800. "userid": {
  9801. "description": "用户ID",
  9802. "type": "integer"
  9803. },
  9804. "wrstandardcode": {
  9805. "description": "品类代码",
  9806. "type": "string"
  9807. },
  9808. "wrstandardid": {
  9809. "description": "品类id",
  9810. "type": "integer"
  9811. },
  9812. "wrstandardname": {
  9813. "description": "品类名称",
  9814. "type": "string"
  9815. }
  9816. }
  9817. },
  9818. "ermcp.QryBussinessKxRsp": {
  9819. "type": "object",
  9820. "properties": {
  9821. "applyid": {
  9822. "description": "申请人",
  9823. "type": "string"
  9824. },
  9825. "applyname": {
  9826. "description": "申请人名称",
  9827. "type": "string"
  9828. },
  9829. "applystatus": {
  9830. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9831. "type": "integer"
  9832. },
  9833. "applytime": {
  9834. "description": "申请时间",
  9835. "type": "string"
  9836. },
  9837. "attachurl": {
  9838. "description": "附件",
  9839. "type": "string"
  9840. },
  9841. "auditid": {
  9842. "description": "审核人ID",
  9843. "type": "string"
  9844. },
  9845. "auditname": {
  9846. "description": "审核人名称",
  9847. "type": "string"
  9848. },
  9849. "audittime": {
  9850. "description": "审核时间",
  9851. "type": "string"
  9852. },
  9853. "buyusername": {
  9854. "description": "采购方名称",
  9855. "type": "string"
  9856. },
  9857. "contractno": {
  9858. "description": "合同编号",
  9859. "type": "string"
  9860. },
  9861. "contractstatus": {
  9862. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9863. "type": "integer"
  9864. },
  9865. "contracttype": {
  9866. "description": "现货合同类型 - 1:采购 -1:销售",
  9867. "type": "integer"
  9868. },
  9869. "deductamount": {
  9870. "description": "退款(非必填)",
  9871. "type": "number"
  9872. },
  9873. "deliverygoodscode": {
  9874. "description": "现货品种代码",
  9875. "type": "string"
  9876. },
  9877. "deliverygoodsid": {
  9878. "description": "现货商品ID",
  9879. "type": "integer"
  9880. },
  9881. "deliverygoodsname": {
  9882. "description": "现货品种名称",
  9883. "type": "string"
  9884. },
  9885. "enumdicname": {
  9886. "description": "单位名称",
  9887. "type": "string"
  9888. },
  9889. "goodscode": {
  9890. "description": "点价合约",
  9891. "type": "string"
  9892. },
  9893. "goodsname": {
  9894. "description": "商品名称",
  9895. "type": "string"
  9896. },
  9897. "kxtype": {
  9898. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9899. "type": "integer"
  9900. },
  9901. "operateapplyid": {
  9902. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9903. "type": "string"
  9904. },
  9905. "operateapplytype": {
  9906. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9907. "type": "integer"
  9908. },
  9909. "payamount": {
  9910. "description": "收付款(非必填)",
  9911. "type": "number"
  9912. },
  9913. "pricemove": {
  9914. "description": "升贴水",
  9915. "type": "number"
  9916. },
  9917. "pricetype": {
  9918. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9919. "type": "integer"
  9920. },
  9921. "relatedid": {
  9922. "description": "现货合同ID",
  9923. "type": "string"
  9924. },
  9925. "sellusername": {
  9926. "description": "销售方名字",
  9927. "type": "string"
  9928. },
  9929. "userid": {
  9930. "description": "用户ID",
  9931. "type": "integer"
  9932. },
  9933. "wrstandardcode": {
  9934. "description": "品类代码",
  9935. "type": "string"
  9936. },
  9937. "wrstandardid": {
  9938. "description": "品类id",
  9939. "type": "integer"
  9940. },
  9941. "wrstandardname": {
  9942. "description": "品类名称",
  9943. "type": "string"
  9944. }
  9945. }
  9946. },
  9947. "ermcp.QryGGCovertCfgRsp": {
  9948. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9949. },
  9950. "ermcp.QryMGChangeLogRsp": {
  9951. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9952. },
  9953. "ermcp.QryMiddleGoodsDetailRsp": {
  9954. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9955. },
  9956. "ermcp.QryMiddleGoodsRsp": {
  9957. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9958. },
  9959. "ermcp.QryOPLogRsp": {
  9960. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9961. },
  9962. "ermcp.QryUserInfoRsp": {
  9963. "$ref": "#/definitions/models.ErmcpUserModel"
  9964. },
  9965. "ermcp.QryWarehouseRsp": {
  9966. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9967. },
  9968. "ermcp.QueryErmcpTradePositionRsp": {
  9969. "type": "object",
  9970. "properties": {
  9971. "agreeunit": {
  9972. "description": "合约单位",
  9973. "type": "number"
  9974. },
  9975. "buyorsell": {
  9976. "description": "方向 - 0:买 1:卖",
  9977. "type": "integer"
  9978. },
  9979. "curpositionqty": {
  9980. "description": "持仓(总仓数量, 期末头寸)",
  9981. "type": "integer"
  9982. },
  9983. "curtdposition": {
  9984. "description": "今仓数量(期末今日头寸)",
  9985. "type": "integer"
  9986. },
  9987. "curtdpositionenabled": {
  9988. "description": "今仓可用",
  9989. "type": "integer"
  9990. },
  9991. "decimalplace": {
  9992. "description": "报价小数位",
  9993. "type": "integer"
  9994. },
  9995. "enableqty": {
  9996. "description": "可用(总仓可用)",
  9997. "type": "integer"
  9998. },
  9999. "exexchangename": {
  10000. "description": "外部交易所名称",
  10001. "type": "string"
  10002. },
  10003. "goodscode": {
  10004. "description": "商品代码(内部)",
  10005. "type": "string"
  10006. },
  10007. "goodsid": {
  10008. "description": "商品ID(自增ID SEQ_GOODS)",
  10009. "type": "integer"
  10010. },
  10011. "goodsname": {
  10012. "description": "商品名称",
  10013. "type": "string"
  10014. },
  10015. "last": {
  10016. "description": "现价",
  10017. "type": "number"
  10018. },
  10019. "marketid": {
  10020. "description": "所属市场ID",
  10021. "type": "integer"
  10022. },
  10023. "openaverageprice": {
  10024. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  10025. "type": "number"
  10026. },
  10027. "opencost": {
  10028. "description": "开仓成本",
  10029. "type": "number"
  10030. },
  10031. "openpl": {
  10032. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10033. "type": "number"
  10034. },
  10035. "outgoodscode": {
  10036. "description": "商品代码(外部)",
  10037. "type": "string"
  10038. },
  10039. "positionaverageprice": {
  10040. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  10041. "type": "number"
  10042. },
  10043. "positioncost": {
  10044. "description": "持仓成本",
  10045. "type": "number"
  10046. },
  10047. "positionpl": {
  10048. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  10049. "type": "number"
  10050. },
  10051. "positionplrate": {
  10052. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  10053. "type": "number"
  10054. },
  10055. "usedmargin": {
  10056. "description": "占用保证金",
  10057. "type": "number"
  10058. }
  10059. }
  10060. },
  10061. "ermcp.RealtimeExposurePositionRsp": {
  10062. "$ref": "#/definitions/models.ErmcpExposurePostion"
  10063. },
  10064. "ermcp.RealtimeExposureRsp": {
  10065. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  10066. },
  10067. "erms2.QueryArbitrageStrategyRsp": {
  10068. "type": "object",
  10069. "required": [
  10070. "asapplyid"
  10071. ],
  10072. "properties": {
  10073. "applybasis": {
  10074. "description": "申请基差",
  10075. "type": "number"
  10076. },
  10077. "asapplyid": {
  10078. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  10079. "type": "string"
  10080. },
  10081. "asname": {
  10082. "description": "策略名称",
  10083. "type": "string"
  10084. },
  10085. "asno": {
  10086. "description": "策略编号",
  10087. "type": "string"
  10088. },
  10089. "basischangepl": {
  10090. "description": "基差变动损益[结算更新]",
  10091. "type": "number"
  10092. },
  10093. "biztype": {
  10094. "description": "业务类型 - 1:正向套利 -1:反向套利",
  10095. "type": "integer"
  10096. },
  10097. "closetradedate": {
  10098. "description": "完结交易日(yyyyMMdd)",
  10099. "type": "string"
  10100. },
  10101. "curbasis": {
  10102. "description": "当前基差[结算更新]",
  10103. "type": "number"
  10104. },
  10105. "deliverygoodsid": {
  10106. "description": "现货品种ID",
  10107. "type": "integer"
  10108. },
  10109. "futureavgprice": {
  10110. "description": "期货建仓均价",
  10111. "type": "number"
  10112. },
  10113. "futurecloseamount": {
  10114. "description": "期货平仓金额",
  10115. "type": "number"
  10116. },
  10117. "futurecloseqty": {
  10118. "description": "期货平仓数量",
  10119. "type": "number"
  10120. },
  10121. "futureopenamount": {
  10122. "description": "期货开仓金额",
  10123. "type": "number"
  10124. },
  10125. "futureopenqty": {
  10126. "description": "期货开仓数量",
  10127. "type": "number"
  10128. },
  10129. "futurepl": {
  10130. "description": "期货总盈亏[结算更新]",
  10131. "type": "number"
  10132. },
  10133. "futureqty": {
  10134. "description": "期货持仓数量",
  10135. "type": "number"
  10136. },
  10137. "futurequote": {
  10138. "description": "期货额度",
  10139. "type": "number"
  10140. },
  10141. "goodsgroupid": {
  10142. "description": "期货品种ID",
  10143. "type": "integer"
  10144. },
  10145. "marketid": {
  10146. "description": "市场ID",
  10147. "type": "integer"
  10148. },
  10149. "netexposure": {
  10150. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  10151. "type": "number"
  10152. },
  10153. "netexposurepl": {
  10154. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  10155. "type": "number"
  10156. },
  10157. "netexposurerate": {
  10158. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  10159. "type": "number"
  10160. },
  10161. "openbasis": {
  10162. "description": "建仓基差",
  10163. "type": "number"
  10164. },
  10165. "pricedspotqty": {
  10166. "description": "已定价现货数量",
  10167. "type": "number"
  10168. },
  10169. "pricedspotqtynotax": {
  10170. "description": "已定价现货不含税数量",
  10171. "type": "number"
  10172. },
  10173. "remark": {
  10174. "description": "备注",
  10175. "type": "string"
  10176. },
  10177. "spotavgprice": {
  10178. "description": "现货均价",
  10179. "type": "number"
  10180. },
  10181. "spotbuyamount": {
  10182. "description": "现货采购金额",
  10183. "type": "number"
  10184. },
  10185. "spotbuyqty": {
  10186. "description": "现货采购数量",
  10187. "type": "number"
  10188. },
  10189. "spotpl": {
  10190. "description": "现货总盈亏[结算更新]",
  10191. "type": "number"
  10192. },
  10193. "spotquota": {
  10194. "description": "现货额度",
  10195. "type": "number"
  10196. },
  10197. "spotsellamount": {
  10198. "description": "现货销售金额",
  10199. "type": "number"
  10200. },
  10201. "spotsellqty": {
  10202. "description": "现货销售数量",
  10203. "type": "number"
  10204. },
  10205. "spotusedquota": {
  10206. "description": "现货占用资金",
  10207. "type": "number"
  10208. },
  10209. "strategystatus": {
  10210. "description": "策略状态 - 0:未结束 1:已结束",
  10211. "type": "integer"
  10212. },
  10213. "totalpl": {
  10214. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  10215. "type": "number"
  10216. },
  10217. "tradedate": {
  10218. "description": "交易日(yyyyMMdd)",
  10219. "type": "string"
  10220. },
  10221. "updatetime": {
  10222. "description": "更新时间",
  10223. "type": "string"
  10224. },
  10225. "usedquota": {
  10226. "description": "已占用资金",
  10227. "type": "number"
  10228. },
  10229. "userid": {
  10230. "description": "所属机构",
  10231. "type": "integer"
  10232. }
  10233. }
  10234. },
  10235. "erms2.QueryInnerTradeDetailRsp": {
  10236. "type": "object",
  10237. "required": [
  10238. "asapplyid",
  10239. "buyorsell",
  10240. "goodscode",
  10241. "goodsgroupid",
  10242. "goodsgroupname",
  10243. "goodsname",
  10244. "tradeid"
  10245. ],
  10246. "properties": {
  10247. "accountid": {
  10248. "description": "账号ID",
  10249. "type": "integer"
  10250. },
  10251. "agreeunit": {
  10252. "description": "合约单位",
  10253. "type": "number"
  10254. },
  10255. "asapplyid": {
  10256. "description": "策略申请ID",
  10257. "type": "integer"
  10258. },
  10259. "asname": {
  10260. "description": "策略名称",
  10261. "type": "string"
  10262. },
  10263. "asno": {
  10264. "description": "策略编号",
  10265. "type": "string"
  10266. },
  10267. "buyorsell": {
  10268. "description": "方向 - 0:买 1:卖",
  10269. "type": "integer"
  10270. },
  10271. "channelbuildtype": {
  10272. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  10273. "type": "integer"
  10274. },
  10275. "closetype": {
  10276. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  10277. "type": "integer"
  10278. },
  10279. "decimalplace": {
  10280. "description": "报价小数位",
  10281. "type": "integer"
  10282. },
  10283. "detailtype": {
  10284. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  10285. "type": "integer"
  10286. },
  10287. "exexchangecode": {
  10288. "description": "外部交易所代码",
  10289. "type": "string"
  10290. },
  10291. "exexchangename": {
  10292. "description": "外部交易所名称",
  10293. "type": "string"
  10294. },
  10295. "goodscode": {
  10296. "description": "商品代码(合约)",
  10297. "type": "string"
  10298. },
  10299. "goodsgroupid": {
  10300. "description": "商品组ID(品种ID)",
  10301. "type": "integer"
  10302. },
  10303. "goodsgroupname": {
  10304. "description": "商品组名称(品种)",
  10305. "type": "string"
  10306. },
  10307. "goodsid": {
  10308. "description": "商品ID",
  10309. "type": "integer"
  10310. },
  10311. "goodsname": {
  10312. "description": "商品名称(合约)",
  10313. "type": "string"
  10314. },
  10315. "goodunit": {
  10316. "description": "报价单位",
  10317. "type": "string"
  10318. },
  10319. "marketid": {
  10320. "description": "市场ID",
  10321. "type": "integer"
  10322. },
  10323. "orderid": {
  10324. "description": "委托单号",
  10325. "type": "string"
  10326. },
  10327. "outgoodscode": {
  10328. "description": "商品代码(外部)",
  10329. "type": "string"
  10330. },
  10331. "relatedouttradeid": {
  10332. "description": "关联外部成交单ID",
  10333. "type": "string"
  10334. },
  10335. "remark": {
  10336. "description": "备注",
  10337. "type": "string"
  10338. },
  10339. "spotcontractid": {
  10340. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  10341. "type": "integer"
  10342. },
  10343. "spotcontractno": {
  10344. "description": "现货合同编号",
  10345. "type": "string"
  10346. },
  10347. "tradeid": {
  10348. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10349. "type": "string"
  10350. },
  10351. "tradeprice": {
  10352. "description": "成交价格",
  10353. "type": "number"
  10354. },
  10355. "tradeqty": {
  10356. "description": "成交数量",
  10357. "type": "integer"
  10358. },
  10359. "tradetime": {
  10360. "description": "成交时间",
  10361. "type": "string"
  10362. },
  10363. "updatetime": {
  10364. "description": "更新时间",
  10365. "type": "string"
  10366. }
  10367. }
  10368. },
  10369. "erms2.QuerySpotContractRsp": {
  10370. "type": "object",
  10371. "required": [
  10372. "spotcontractid"
  10373. ],
  10374. "properties": {
  10375. "accountid": {
  10376. "description": "资金账户ID",
  10377. "type": "integer"
  10378. },
  10379. "areauserid": {
  10380. "description": "所属机构",
  10381. "type": "integer"
  10382. },
  10383. "closedate": {
  10384. "description": "终止日期",
  10385. "type": "string"
  10386. },
  10387. "closeremark": {
  10388. "description": "结束备注",
  10389. "type": "string"
  10390. },
  10391. "closetradedate": {
  10392. "description": "完结交易日(yyyyMMdd)",
  10393. "type": "string"
  10394. },
  10395. "closetype": {
  10396. "description": "终止类型 - 1:违约 2:提前终止",
  10397. "type": "integer"
  10398. },
  10399. "contractamount": {
  10400. "description": "合同金额",
  10401. "type": "number"
  10402. },
  10403. "contractattachment": {
  10404. "description": "合同附件",
  10405. "type": "string"
  10406. },
  10407. "contractno": {
  10408. "description": "现货合同编号",
  10409. "type": "string"
  10410. },
  10411. "contractqty": {
  10412. "description": "合同数量(数值) (用于计算)",
  10413. "type": "number"
  10414. },
  10415. "contractqtychar": {
  10416. "description": "合同数量\\已订价数量 (用于显示)",
  10417. "type": "string"
  10418. },
  10419. "contractstatus": {
  10420. "description": "合同状态 - 0:未结束 1:已结束",
  10421. "type": "integer"
  10422. },
  10423. "contracttype": {
  10424. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  10425. "type": "integer"
  10426. },
  10427. "customeraccountid": {
  10428. "description": "客户资金账户ID",
  10429. "type": "integer"
  10430. },
  10431. "customeruserid": {
  10432. "description": "客户ID",
  10433. "type": "integer"
  10434. },
  10435. "deliverygoodsdesc": {
  10436. "description": "品种说明",
  10437. "type": "string"
  10438. },
  10439. "deliverygoodsid": {
  10440. "description": "现货品种ID",
  10441. "type": "integer"
  10442. },
  10443. "handlestatus": {
  10444. "description": "处理状态",
  10445. "type": "integer"
  10446. },
  10447. "invoiceatt": {
  10448. "description": "发票附件",
  10449. "type": "string"
  10450. },
  10451. "invoicedatetime": {
  10452. "description": "开收票更新时间",
  10453. "type": "string"
  10454. },
  10455. "invoiceopentime": {
  10456. "description": "开票时间",
  10457. "type": "string"
  10458. },
  10459. "invoiceremark": {
  10460. "description": "发票备注",
  10461. "type": "string"
  10462. },
  10463. "invoicestatus": {
  10464. "description": "开收票状态 - 0:未开票 1:已开票",
  10465. "type": "integer"
  10466. },
  10467. "lastdate": {
  10468. "description": "交货时间",
  10469. "type": "string"
  10470. },
  10471. "marketid": {
  10472. "description": "市场ID",
  10473. "type": "integer"
  10474. },
  10475. "paydatetime": {
  10476. "description": "收付款更新时间",
  10477. "type": "string"
  10478. },
  10479. "payremark": {
  10480. "description": "收付款备注",
  10481. "type": "string"
  10482. },
  10483. "paystatus": {
  10484. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10485. "type": "integer"
  10486. },
  10487. "positionqty": {
  10488. "description": "头寸数量 - 合同数量去小数部分",
  10489. "type": "integer"
  10490. },
  10491. "producttype": {
  10492. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10493. "type": "integer"
  10494. },
  10495. "relatedqty": {
  10496. "description": "已关联数量",
  10497. "type": "number"
  10498. },
  10499. "relatedstatus": {
  10500. "description": "关联完结状态 - 0:未结束 1:已结束",
  10501. "type": "integer"
  10502. },
  10503. "remark": {
  10504. "description": "备注",
  10505. "type": "string"
  10506. },
  10507. "signdate": {
  10508. "description": "签订日期",
  10509. "type": "string"
  10510. },
  10511. "spotcontractid": {
  10512. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10513. "type": "string"
  10514. },
  10515. "spotdatetime": {
  10516. "description": "收发货更新时间",
  10517. "type": "string"
  10518. },
  10519. "spotprice": {
  10520. "description": "价格",
  10521. "type": "number"
  10522. },
  10523. "spotremark": {
  10524. "description": "收发货备注",
  10525. "type": "string"
  10526. },
  10527. "spotstatus": {
  10528. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10529. "type": "integer"
  10530. },
  10531. "tradedate": {
  10532. "description": "交易日(yyyyMMdd)",
  10533. "type": "string"
  10534. },
  10535. "userid": {
  10536. "description": "业务员用户ID",
  10537. "type": "integer"
  10538. },
  10539. "warehouseid": {
  10540. "description": "仓库ID",
  10541. "type": "integer"
  10542. },
  10543. "wrfactortypeid": {
  10544. "description": "仓单要素类型ID",
  10545. "type": "integer"
  10546. },
  10547. "wrstandardid": {
  10548. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10549. "type": "integer"
  10550. }
  10551. }
  10552. },
  10553. "erms3.AddErms2ASApplyReq": {
  10554. "type": "object",
  10555. "required": [
  10556. "asapplyid"
  10557. ],
  10558. "properties": {
  10559. "applybasis": {
  10560. "description": "申请基差",
  10561. "type": "number"
  10562. },
  10563. "applystatus": {
  10564. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10565. "type": "integer"
  10566. },
  10567. "asapplyid": {
  10568. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10569. "type": "integer"
  10570. },
  10571. "asname": {
  10572. "description": "策略名称",
  10573. "type": "string"
  10574. },
  10575. "asno": {
  10576. "description": "策略编号",
  10577. "type": "string"
  10578. },
  10579. "auditid": {
  10580. "description": "审核人",
  10581. "type": "integer"
  10582. },
  10583. "auditremark": {
  10584. "description": "审核备注",
  10585. "type": "string"
  10586. },
  10587. "audittime": {
  10588. "description": "审核时间",
  10589. "type": "string"
  10590. },
  10591. "biztype": {
  10592. "description": "业务类型 - 1:正向套利 2:反向套利",
  10593. "type": "integer"
  10594. },
  10595. "createtime": {
  10596. "description": "创建时间",
  10597. "type": "string"
  10598. },
  10599. "creatorid": {
  10600. "description": "创建人",
  10601. "type": "integer"
  10602. },
  10603. "deliverygoodsid": {
  10604. "description": "现货品种ID",
  10605. "type": "integer"
  10606. },
  10607. "futurequote": {
  10608. "description": "期货额度",
  10609. "type": "number"
  10610. },
  10611. "goodsgroupid": {
  10612. "description": "期货品种ID",
  10613. "type": "integer"
  10614. },
  10615. "marketid": {
  10616. "description": "市场ID",
  10617. "type": "integer"
  10618. },
  10619. "remark": {
  10620. "description": "备注",
  10621. "type": "string"
  10622. },
  10623. "spotquota": {
  10624. "description": "现货额度",
  10625. "type": "number"
  10626. },
  10627. "tradedate": {
  10628. "description": "交易日(yyyyMMdd)",
  10629. "type": "string"
  10630. },
  10631. "userid": {
  10632. "description": "所属机构",
  10633. "type": "integer"
  10634. }
  10635. }
  10636. },
  10637. "erms3.AddErms2SpotTradeApplyReq": {
  10638. "type": "object",
  10639. "required": [
  10640. "spottradeid"
  10641. ],
  10642. "properties": {
  10643. "applyjsondetail": {
  10644. "description": "申请明细(JSON)",
  10645. "type": "string"
  10646. },
  10647. "applystatus": {
  10648. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10649. "type": "integer"
  10650. },
  10651. "areauserid": {
  10652. "description": "所属机构",
  10653. "type": "integer"
  10654. },
  10655. "auditid": {
  10656. "description": "审核人",
  10657. "type": "integer"
  10658. },
  10659. "auditremark": {
  10660. "description": "审核备注",
  10661. "type": "string"
  10662. },
  10663. "audittime": {
  10664. "description": "审核时间",
  10665. "type": "string"
  10666. },
  10667. "createtime": {
  10668. "description": "创建时间",
  10669. "type": "string"
  10670. },
  10671. "creatorid": {
  10672. "description": "创建人",
  10673. "type": "integer"
  10674. },
  10675. "deliverygoodsid": {
  10676. "description": "现货品种ID",
  10677. "type": "integer"
  10678. },
  10679. "futureaccountid": {
  10680. "description": "期货资金账户",
  10681. "type": "integer"
  10682. },
  10683. "goodsgroupid": {
  10684. "description": "期货品种",
  10685. "type": "integer"
  10686. },
  10687. "marketid": {
  10688. "description": "市场ID",
  10689. "type": "integer"
  10690. },
  10691. "remark": {
  10692. "description": "备注",
  10693. "type": "string"
  10694. },
  10695. "spotaccountid": {
  10696. "description": "现货资金账户",
  10697. "type": "integer"
  10698. },
  10699. "spottradeid": {
  10700. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10701. "type": "integer"
  10702. },
  10703. "spottradename": {
  10704. "description": "业务名称",
  10705. "type": "string"
  10706. },
  10707. "spottradeno": {
  10708. "description": "业务编号",
  10709. "type": "string"
  10710. },
  10711. "tradedate": {
  10712. "description": "交易日(yyyyMMdd)",
  10713. "type": "string"
  10714. },
  10715. "wrstandardid": {
  10716. "description": "仓单标准ID",
  10717. "type": "integer"
  10718. }
  10719. }
  10720. },
  10721. "erms3.AddSpotContractApplyReq": {
  10722. "type": "object",
  10723. "required": [
  10724. "accountid",
  10725. "areauserid",
  10726. "contractno",
  10727. "contracttype",
  10728. "customeraccountid",
  10729. "customeruserid",
  10730. "details",
  10731. "orimargin",
  10732. "signdate"
  10733. ],
  10734. "properties": {
  10735. "accountid": {
  10736. "description": "资金账户ID",
  10737. "type": "integer"
  10738. },
  10739. "areauserid": {
  10740. "description": "所属机构",
  10741. "type": "integer"
  10742. },
  10743. "contractattachment": {
  10744. "description": "合同附件",
  10745. "type": "string"
  10746. },
  10747. "contractno": {
  10748. "description": "现货合同编号",
  10749. "type": "string"
  10750. },
  10751. "contracttype": {
  10752. "description": "现货合同类型 - 1:采购 -1:销售",
  10753. "type": "integer"
  10754. },
  10755. "creatorid": {
  10756. "description": "申请人",
  10757. "type": "integer"
  10758. },
  10759. "customeraccountid": {
  10760. "description": "客户资金账户ID",
  10761. "type": "integer"
  10762. },
  10763. "customeruserid": {
  10764. "description": "客户ID",
  10765. "type": "integer"
  10766. },
  10767. "details": {
  10768. "description": "明细",
  10769. "type": "array",
  10770. "items": {
  10771. "$ref": "#/definitions/erms3.SoptContractDetail"
  10772. }
  10773. },
  10774. "orimargin": {
  10775. "description": "初始保证金",
  10776. "type": "number"
  10777. },
  10778. "remark": {
  10779. "description": "备注",
  10780. "type": "string"
  10781. },
  10782. "signdate": {
  10783. "description": "签订日期",
  10784. "type": "string"
  10785. }
  10786. }
  10787. },
  10788. "erms3.AddSpotContractApplyRsp": {
  10789. "type": "object",
  10790. "required": [
  10791. "contractno"
  10792. ],
  10793. "properties": {
  10794. "contractno": {
  10795. "description": "现货合同编号",
  10796. "type": "string"
  10797. },
  10798. "spotcontractid": {
  10799. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10800. "type": "integer"
  10801. }
  10802. }
  10803. },
  10804. "erms3.AddUserInfoApplyReq": {
  10805. "type": "object",
  10806. "required": [
  10807. "userid"
  10808. ],
  10809. "properties": {
  10810. "accountid": {
  10811. "description": "交易系统帐号Id (加密存储)",
  10812. "type": "integer"
  10813. },
  10814. "areacode": {
  10815. "description": "机构代码",
  10816. "type": "string"
  10817. },
  10818. "areaid": {
  10819. "description": "机构Id",
  10820. "type": "integer"
  10821. },
  10822. "attachment1": {
  10823. "description": "附件1",
  10824. "type": "string"
  10825. },
  10826. "attachment2": {
  10827. "description": "附件2",
  10828. "type": "string"
  10829. },
  10830. "attachment3": {
  10831. "description": "附件3",
  10832. "type": "string"
  10833. },
  10834. "attachment4": {
  10835. "description": "附件4",
  10836. "type": "string"
  10837. },
  10838. "attachment5": {
  10839. "description": "附件5",
  10840. "type": "string"
  10841. },
  10842. "auditedby": {
  10843. "description": "审核人",
  10844. "type": "string"
  10845. },
  10846. "auditime": {
  10847. "description": "审核时间",
  10848. "type": "string"
  10849. },
  10850. "auditsrc": {
  10851. "description": "审核来源 - 1:管理端 2:终端",
  10852. "type": "integer"
  10853. },
  10854. "bankaccount": {
  10855. "description": "银行帐号 (加密存储)",
  10856. "type": "string"
  10857. },
  10858. "bankaccountname": {
  10859. "description": "收款人名称",
  10860. "type": "string"
  10861. },
  10862. "bankcardbackphotourl": {
  10863. "description": "银行卡背面照地址",
  10864. "type": "string"
  10865. },
  10866. "bankcardfrontphotourl": {
  10867. "description": "银行卡正面照地址",
  10868. "type": "string"
  10869. },
  10870. "bankid": {
  10871. "description": "银行编码",
  10872. "type": "string"
  10873. },
  10874. "bankname": {
  10875. "description": "银行名称",
  10876. "type": "string"
  10877. },
  10878. "bankpictureurl": {
  10879. "description": "银行卡正面地址",
  10880. "type": "string"
  10881. },
  10882. "biznature": {
  10883. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10884. "type": "integer"
  10885. },
  10886. "bizscope": {
  10887. "description": "企业经营范围(企业)",
  10888. "type": "string"
  10889. },
  10890. "biztype": {
  10891. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10892. "type": "integer"
  10893. },
  10894. "brokerid": {
  10895. "description": "经纪人ID(加密存储)",
  10896. "type": "string"
  10897. },
  10898. "cardaddress": {
  10899. "description": "证件地址 (加密存储)",
  10900. "type": "string"
  10901. },
  10902. "cardbackphotourl": {
  10903. "description": "背面证件照地址",
  10904. "type": "string"
  10905. },
  10906. "cardfrontphotourl": {
  10907. "description": "正面证件照地址",
  10908. "type": "string"
  10909. },
  10910. "cardnum": {
  10911. "description": "证件号码 (加密存储)",
  10912. "type": "string"
  10913. },
  10914. "cardtype": {
  10915. "description": "证件类型",
  10916. "type": "integer"
  10917. },
  10918. "cityid": {
  10919. "description": "市",
  10920. "type": "integer"
  10921. },
  10922. "company": {
  10923. "description": "公司(个人)",
  10924. "type": "string"
  10925. },
  10926. "contactcardbackphotourl": {
  10927. "description": "联系人证件背面图片地址",
  10928. "type": "string"
  10929. },
  10930. "contactcardfrontphotourl": {
  10931. "description": "联系人证件正面图片地址",
  10932. "type": "string"
  10933. },
  10934. "contactname": {
  10935. "description": "联系人",
  10936. "type": "string"
  10937. },
  10938. "countryid": {
  10939. "description": "国家",
  10940. "type": "integer"
  10941. },
  10942. "createtime": {
  10943. "description": "开户申请时间",
  10944. "type": "string"
  10945. },
  10946. "cusbankid": {
  10947. "description": "签约类型",
  10948. "type": "string"
  10949. },
  10950. "cusbankname": {
  10951. "description": "签约类型名称",
  10952. "type": "string"
  10953. },
  10954. "customername": {
  10955. "description": "客户名称(企业名称)",
  10956. "type": "string"
  10957. },
  10958. "districtid": {
  10959. "description": "地区",
  10960. "type": "integer"
  10961. },
  10962. "email": {
  10963. "description": "Email地址(加密存储)",
  10964. "type": "string"
  10965. },
  10966. "halfbodyphotourl": {
  10967. "description": "半身照地址",
  10968. "type": "string"
  10969. },
  10970. "headurl": {
  10971. "description": "头像地址",
  10972. "type": "string"
  10973. },
  10974. "ipaddress": {
  10975. "description": "IP地址",
  10976. "type": "string"
  10977. },
  10978. "isvalidate": {
  10979. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10980. "type": "string"
  10981. },
  10982. "legalcardbackphotourl": {
  10983. "description": "法人身份证背面照地址",
  10984. "type": "string"
  10985. },
  10986. "legalcardfrontphotourl": {
  10987. "description": "法人身份证正面照地址",
  10988. "type": "string"
  10989. },
  10990. "legalpersonname": {
  10991. "description": "法人姓名(企业)",
  10992. "type": "string"
  10993. },
  10994. "logincode": {
  10995. "description": "登录帐号 (加密存储)",
  10996. "type": "string"
  10997. },
  10998. "memberareaid": {
  10999. "description": "所属会员ID",
  11000. "type": "integer"
  11001. },
  11002. "mobile2": {
  11003. "description": "手机号码[明文-尚志]",
  11004. "type": "string"
  11005. },
  11006. "mobilephone": {
  11007. "description": "手机号码 (加密存储)",
  11008. "type": "string"
  11009. },
  11010. "modifiedby": {
  11011. "description": "修改人帐号",
  11012. "type": "integer"
  11013. },
  11014. "modifiedtime": {
  11015. "description": "修改时间",
  11016. "type": "string"
  11017. },
  11018. "nickname": {
  11019. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11020. "type": "string"
  11021. },
  11022. "openmode": {
  11023. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11024. "type": "integer"
  11025. },
  11026. "otherurl": {
  11027. "description": "其它图片地址[使用分号分隔]",
  11028. "type": "string"
  11029. },
  11030. "postalcode": {
  11031. "description": "邮政编码",
  11032. "type": "string"
  11033. },
  11034. "provinceid": {
  11035. "description": "省",
  11036. "type": "integer"
  11037. },
  11038. "proxystatementurl": {
  11039. "description": "授权委托书",
  11040. "type": "string"
  11041. },
  11042. "qq": {
  11043. "description": "QQ(加密存储",
  11044. "type": "string"
  11045. },
  11046. "referral": {
  11047. "description": "推荐人编码",
  11048. "type": "string"
  11049. },
  11050. "remark": {
  11051. "description": "备注",
  11052. "type": "string"
  11053. },
  11054. "removebeforestatus": {
  11055. "description": "REMOVEBEFORESTATUS",
  11056. "type": "integer"
  11057. },
  11058. "sex": {
  11059. "description": "性别 - 0:女 1:男",
  11060. "type": "integer"
  11061. },
  11062. "signedstatus": {
  11063. "description": "账户一号签签约状态",
  11064. "type": "integer"
  11065. },
  11066. "signpdfurl": {
  11067. "description": "签约pdf文件",
  11068. "type": "string"
  11069. },
  11070. "subbranch": {
  11071. "description": "开户支行",
  11072. "type": "string"
  11073. },
  11074. "taxpayernum": {
  11075. "description": "纳税人识别号",
  11076. "type": "string"
  11077. },
  11078. "telphone": {
  11079. "description": "联系电话(加密存储)",
  11080. "type": "string"
  11081. },
  11082. "userid": {
  11083. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11084. "type": "integer"
  11085. },
  11086. "userinfotype": {
  11087. "description": "用户信息类型 - 1:个人 2:企业",
  11088. "type": "integer"
  11089. },
  11090. "username": {
  11091. "description": "用户姓名",
  11092. "type": "string"
  11093. },
  11094. "userstate": {
  11095. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11096. "type": "integer"
  11097. },
  11098. "usertype": {
  11099. "description": "用户类型 - 1:投资者 2:机构",
  11100. "type": "integer"
  11101. },
  11102. "videourl": {
  11103. "description": "视频地址",
  11104. "type": "string"
  11105. },
  11106. "wechat": {
  11107. "description": "微信号 (加密存储)",
  11108. "type": "string"
  11109. }
  11110. }
  11111. },
  11112. "erms3.CustomerInfo": {
  11113. "type": "object",
  11114. "required": [
  11115. "userid"
  11116. ],
  11117. "properties": {
  11118. "accountids": {
  11119. "description": "资金账户ID列表",
  11120. "type": "array",
  11121. "items": {
  11122. "type": "integer"
  11123. }
  11124. },
  11125. "customername": {
  11126. "description": "名称(企业名称)",
  11127. "type": "string"
  11128. },
  11129. "mobile": {
  11130. "description": "手机号码",
  11131. "type": "string"
  11132. },
  11133. "userid": {
  11134. "description": "用户ID",
  11135. "type": "integer"
  11136. }
  11137. }
  11138. },
  11139. "erms3.ModifyUserInfoApplyReq": {
  11140. "type": "object",
  11141. "required": [
  11142. "userid"
  11143. ],
  11144. "properties": {
  11145. "accountid": {
  11146. "description": "交易系统帐号Id (加密存储)",
  11147. "type": "integer"
  11148. },
  11149. "areacode": {
  11150. "description": "机构代码",
  11151. "type": "string"
  11152. },
  11153. "areaid": {
  11154. "description": "机构Id",
  11155. "type": "integer"
  11156. },
  11157. "attachment1": {
  11158. "description": "附件1",
  11159. "type": "string"
  11160. },
  11161. "attachment2": {
  11162. "description": "附件2",
  11163. "type": "string"
  11164. },
  11165. "attachment3": {
  11166. "description": "附件3",
  11167. "type": "string"
  11168. },
  11169. "attachment4": {
  11170. "description": "附件4",
  11171. "type": "string"
  11172. },
  11173. "attachment5": {
  11174. "description": "附件5",
  11175. "type": "string"
  11176. },
  11177. "auditedby": {
  11178. "description": "审核人",
  11179. "type": "string"
  11180. },
  11181. "auditime": {
  11182. "description": "审核时间",
  11183. "type": "string"
  11184. },
  11185. "auditsrc": {
  11186. "description": "审核来源 - 1:管理端 2:终端",
  11187. "type": "integer"
  11188. },
  11189. "bankaccount": {
  11190. "description": "银行帐号 (加密存储)",
  11191. "type": "string"
  11192. },
  11193. "bankaccountname": {
  11194. "description": "收款人名称",
  11195. "type": "string"
  11196. },
  11197. "bankcardbackphotourl": {
  11198. "description": "银行卡背面照地址",
  11199. "type": "string"
  11200. },
  11201. "bankcardfrontphotourl": {
  11202. "description": "银行卡正面照地址",
  11203. "type": "string"
  11204. },
  11205. "bankid": {
  11206. "description": "银行编码",
  11207. "type": "string"
  11208. },
  11209. "bankname": {
  11210. "description": "银行名称",
  11211. "type": "string"
  11212. },
  11213. "bankpictureurl": {
  11214. "description": "银行卡正面地址",
  11215. "type": "string"
  11216. },
  11217. "biznature": {
  11218. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11219. "type": "integer"
  11220. },
  11221. "bizscope": {
  11222. "description": "企业经营范围(企业)",
  11223. "type": "string"
  11224. },
  11225. "biztype": {
  11226. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  11227. "type": "integer"
  11228. },
  11229. "brokerid": {
  11230. "description": "经纪人ID(加密存储)",
  11231. "type": "string"
  11232. },
  11233. "cardaddress": {
  11234. "description": "证件地址 (加密存储)",
  11235. "type": "string"
  11236. },
  11237. "cardbackphotourl": {
  11238. "description": "背面证件照地址",
  11239. "type": "string"
  11240. },
  11241. "cardfrontphotourl": {
  11242. "description": "正面证件照地址",
  11243. "type": "string"
  11244. },
  11245. "cardnum": {
  11246. "description": "证件号码 (加密存储)",
  11247. "type": "string"
  11248. },
  11249. "cardtype": {
  11250. "description": "证件类型",
  11251. "type": "integer"
  11252. },
  11253. "cityid": {
  11254. "description": "市",
  11255. "type": "integer"
  11256. },
  11257. "company": {
  11258. "description": "公司(个人)",
  11259. "type": "string"
  11260. },
  11261. "contactcardbackphotourl": {
  11262. "description": "联系人证件背面图片地址",
  11263. "type": "string"
  11264. },
  11265. "contactcardfrontphotourl": {
  11266. "description": "联系人证件正面图片地址",
  11267. "type": "string"
  11268. },
  11269. "contactname": {
  11270. "description": "联系人",
  11271. "type": "string"
  11272. },
  11273. "countryid": {
  11274. "description": "国家",
  11275. "type": "integer"
  11276. },
  11277. "createtime": {
  11278. "description": "开户申请时间",
  11279. "type": "string"
  11280. },
  11281. "cusbankid": {
  11282. "description": "签约类型",
  11283. "type": "string"
  11284. },
  11285. "cusbankname": {
  11286. "description": "签约类型名称",
  11287. "type": "string"
  11288. },
  11289. "customername": {
  11290. "description": "客户名称(企业名称)",
  11291. "type": "string"
  11292. },
  11293. "districtid": {
  11294. "description": "地区",
  11295. "type": "integer"
  11296. },
  11297. "email": {
  11298. "description": "Email地址(加密存储)",
  11299. "type": "string"
  11300. },
  11301. "halfbodyphotourl": {
  11302. "description": "半身照地址",
  11303. "type": "string"
  11304. },
  11305. "headurl": {
  11306. "description": "头像地址",
  11307. "type": "string"
  11308. },
  11309. "ipaddress": {
  11310. "description": "IP地址",
  11311. "type": "string"
  11312. },
  11313. "isvalidate": {
  11314. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  11315. "type": "string"
  11316. },
  11317. "legalcardbackphotourl": {
  11318. "description": "法人身份证背面照地址",
  11319. "type": "string"
  11320. },
  11321. "legalcardfrontphotourl": {
  11322. "description": "法人身份证正面照地址",
  11323. "type": "string"
  11324. },
  11325. "legalpersonname": {
  11326. "description": "法人姓名(企业)",
  11327. "type": "string"
  11328. },
  11329. "logincode": {
  11330. "description": "登录帐号 (加密存储)",
  11331. "type": "string"
  11332. },
  11333. "memberareaid": {
  11334. "description": "所属会员ID",
  11335. "type": "integer"
  11336. },
  11337. "mobile2": {
  11338. "description": "手机号码[明文-尚志]",
  11339. "type": "string"
  11340. },
  11341. "mobilephone": {
  11342. "description": "手机号码 (加密存储)",
  11343. "type": "string"
  11344. },
  11345. "modifiedby": {
  11346. "description": "修改人帐号",
  11347. "type": "integer"
  11348. },
  11349. "modifiedtime": {
  11350. "description": "修改时间",
  11351. "type": "string"
  11352. },
  11353. "nickname": {
  11354. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  11355. "type": "string"
  11356. },
  11357. "openmode": {
  11358. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  11359. "type": "integer"
  11360. },
  11361. "otherurl": {
  11362. "description": "其它图片地址[使用分号分隔]",
  11363. "type": "string"
  11364. },
  11365. "postalcode": {
  11366. "description": "邮政编码",
  11367. "type": "string"
  11368. },
  11369. "provinceid": {
  11370. "description": "省",
  11371. "type": "integer"
  11372. },
  11373. "proxystatementurl": {
  11374. "description": "授权委托书",
  11375. "type": "string"
  11376. },
  11377. "qq": {
  11378. "description": "QQ(加密存储",
  11379. "type": "string"
  11380. },
  11381. "referral": {
  11382. "description": "推荐人编码",
  11383. "type": "string"
  11384. },
  11385. "remark": {
  11386. "description": "备注",
  11387. "type": "string"
  11388. },
  11389. "removebeforestatus": {
  11390. "description": "REMOVEBEFORESTATUS",
  11391. "type": "integer"
  11392. },
  11393. "sex": {
  11394. "description": "性别 - 0:女 1:男",
  11395. "type": "integer"
  11396. },
  11397. "signedstatus": {
  11398. "description": "账户一号签签约状态",
  11399. "type": "integer"
  11400. },
  11401. "signpdfurl": {
  11402. "description": "签约pdf文件",
  11403. "type": "string"
  11404. },
  11405. "subbranch": {
  11406. "description": "开户支行",
  11407. "type": "string"
  11408. },
  11409. "taxpayernum": {
  11410. "description": "纳税人识别号",
  11411. "type": "string"
  11412. },
  11413. "telphone": {
  11414. "description": "联系电话(加密存储)",
  11415. "type": "string"
  11416. },
  11417. "userid": {
  11418. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  11419. "type": "integer"
  11420. },
  11421. "userinfotype": {
  11422. "description": "用户信息类型 - 1:个人 2:企业",
  11423. "type": "integer"
  11424. },
  11425. "username": {
  11426. "description": "用户姓名",
  11427. "type": "string"
  11428. },
  11429. "userstate": {
  11430. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11431. "type": "integer"
  11432. },
  11433. "usertype": {
  11434. "description": "用户类型 - 1:投资者 2:机构",
  11435. "type": "integer"
  11436. },
  11437. "videourl": {
  11438. "description": "视频地址",
  11439. "type": "string"
  11440. },
  11441. "wechat": {
  11442. "description": "微信号 (加密存储)",
  11443. "type": "string"
  11444. }
  11445. }
  11446. },
  11447. "erms3.QryAuditContractRsp": {
  11448. "type": "object",
  11449. "required": [
  11450. "matchcustomername",
  11451. "spotcontractid"
  11452. ],
  11453. "properties": {
  11454. "accountid": {
  11455. "description": "交易员ID",
  11456. "type": "string"
  11457. },
  11458. "applystatus": {
  11459. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11460. "type": "integer"
  11461. },
  11462. "curdeliveryqty": {
  11463. "description": "未交收量",
  11464. "type": "integer"
  11465. },
  11466. "customername": {
  11467. "description": "采购方ID",
  11468. "type": "string"
  11469. },
  11470. "deliverygoodsid": {
  11471. "description": "品种ID",
  11472. "type": "string"
  11473. },
  11474. "deliveryqty": {
  11475. "description": "交收量",
  11476. "type": "integer"
  11477. },
  11478. "enumdicname": {
  11479. "description": "单位名称",
  11480. "type": "string"
  11481. },
  11482. "matchaccountid": {
  11483. "description": "业务员ID",
  11484. "type": "string"
  11485. },
  11486. "matchcustomername": {
  11487. "description": "销售方ID",
  11488. "type": "string"
  11489. },
  11490. "pricedqty": {
  11491. "description": "定价量",
  11492. "type": "number"
  11493. },
  11494. "signdate": {
  11495. "description": "签订日期",
  11496. "type": "string"
  11497. },
  11498. "spotcontractid": {
  11499. "description": "合同ID",
  11500. "type": "string"
  11501. },
  11502. "totaldqty": {
  11503. "description": "合同量",
  11504. "type": "number"
  11505. },
  11506. "unpricedqty": {
  11507. "description": "未定价量",
  11508. "type": "number"
  11509. },
  11510. "wrstandardname": {
  11511. "description": "商品名称",
  11512. "type": "string"
  11513. }
  11514. }
  11515. },
  11516. "erms3.QryPendingBizRsp": {
  11517. "$ref": "#/definitions/models.PendingAuditBizModel"
  11518. },
  11519. "erms3.QueryBusinessInfoRsp": {
  11520. "type": "object",
  11521. "properties": {
  11522. "businessid": {
  11523. "description": "业务ID.",
  11524. "type": "integer"
  11525. },
  11526. "buyamount": {
  11527. "description": "采购额.",
  11528. "type": "number"
  11529. },
  11530. "buyqty": {
  11531. "description": "采购量.",
  11532. "type": "string"
  11533. },
  11534. "futurepl": {
  11535. "description": "期货盈亏.",
  11536. "type": "number"
  11537. },
  11538. "futureqty": {
  11539. "description": "期货敞口.",
  11540. "type": "string"
  11541. },
  11542. "goodsid": {
  11543. "description": "商品名称/商品代码.",
  11544. "type": "string"
  11545. },
  11546. "hedgingqty": {
  11547. "description": "套保量.",
  11548. "type": "string"
  11549. },
  11550. "sellamount": {
  11551. "description": "销售额.",
  11552. "type": "number"
  11553. },
  11554. "sellqty": {
  11555. "description": "销售量.",
  11556. "type": "string"
  11557. },
  11558. "spotmarketvalue": {
  11559. "description": "现货市值.",
  11560. "type": "number"
  11561. },
  11562. "spotpl": {
  11563. "description": "浮动权益.",
  11564. "type": "number"
  11565. },
  11566. "spotqty": {
  11567. "description": "现货量.",
  11568. "type": "string"
  11569. },
  11570. "statu": {
  11571. "description": "状态,0-未结束 1-已结束.",
  11572. "type": "integer"
  11573. },
  11574. "totalpl": {
  11575. "description": "总盈亏.",
  11576. "type": "number"
  11577. },
  11578. "totalqty": {
  11579. "description": "总敞口.",
  11580. "type": "string"
  11581. },
  11582. "type": {
  11583. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11584. "type": "integer"
  11585. }
  11586. }
  11587. },
  11588. "erms3.QuerySpotContractAppleFormRsp": {
  11589. "type": "object",
  11590. "properties": {
  11591. "goodses": {
  11592. "description": "合约列表",
  11593. "type": "array",
  11594. "items": {
  11595. "$ref": "#/definitions/models.GoodsIDAndName"
  11596. }
  11597. },
  11598. "oppositeusers": {
  11599. "description": "对方账号列表",
  11600. "type": "array",
  11601. "items": {
  11602. "$ref": "#/definitions/erms3.CustomerInfo"
  11603. }
  11604. },
  11605. "ouruser": {
  11606. "description": "我方账号",
  11607. "type": "object",
  11608. "$ref": "#/definitions/erms3.CustomerInfo"
  11609. },
  11610. "warehouseinfos": {
  11611. "description": "仓库信息列表",
  11612. "type": "array",
  11613. "items": {
  11614. "$ref": "#/definitions/models.Warehouseinfo"
  11615. }
  11616. },
  11617. "wrstandards": {
  11618. "description": "仓单标准列表",
  11619. "type": "array",
  11620. "items": {
  11621. "$ref": "#/definitions/models.WRStandardInfo"
  11622. }
  11623. }
  11624. }
  11625. },
  11626. "erms3.QuerySpotContractInfoRsp": {
  11627. "type": "object",
  11628. "properties": {
  11629. "accountid": {
  11630. "description": "表示交易员ID.",
  11631. "type": "integer"
  11632. },
  11633. "curdeliveryqty": {
  11634. "description": "表示未交收量.",
  11635. "type": "number"
  11636. },
  11637. "customername": {
  11638. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11639. "type": "string"
  11640. },
  11641. "deliverygoodsid": {
  11642. "description": "表示品种ID.",
  11643. "type": "string"
  11644. },
  11645. "deliveryqty": {
  11646. "description": "表示交收量.",
  11647. "type": "number"
  11648. },
  11649. "matchaccountid": {
  11650. "description": "表示业务员ID.",
  11651. "type": "integer"
  11652. },
  11653. "matchcustomername": {
  11654. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11655. "type": "string"
  11656. },
  11657. "priceqty": {
  11658. "description": "表示定价量.",
  11659. "type": "number"
  11660. },
  11661. "relatedbizid": {
  11662. "description": "表示业务ID.",
  11663. "type": "string"
  11664. },
  11665. "signdate": {
  11666. "description": "表示签订日期.",
  11667. "type": "string"
  11668. },
  11669. "spotcontractid": {
  11670. "description": "合同ID",
  11671. "type": "string"
  11672. },
  11673. "status": {
  11674. "description": "表示状态,0-履约中 1-已完成.",
  11675. "type": "integer"
  11676. },
  11677. "totalqty": {
  11678. "description": "表示合同量.",
  11679. "type": "number"
  11680. },
  11681. "unpricedqty": {
  11682. "description": "表示未定价量.",
  11683. "type": "number"
  11684. },
  11685. "wrstandardname": {
  11686. "description": "表示商品ID.",
  11687. "type": "string"
  11688. }
  11689. }
  11690. },
  11691. "erms3.QueryUserInfoAppliesRsp": {
  11692. "type": "object",
  11693. "required": [
  11694. "userid"
  11695. ],
  11696. "properties": {
  11697. "biznature": {
  11698. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11699. "type": "integer"
  11700. },
  11701. "contactname": {
  11702. "description": "联系人",
  11703. "type": "string"
  11704. },
  11705. "createtime": {
  11706. "description": "开户申请时间",
  11707. "type": "string"
  11708. },
  11709. "userid": {
  11710. "description": "用户ID(自增ID)",
  11711. "type": "integer"
  11712. },
  11713. "userinfotype": {
  11714. "description": "用户信息类型 - 1:个人 2:企业",
  11715. "type": "integer"
  11716. },
  11717. "username": {
  11718. "description": "用户姓名",
  11719. "type": "string"
  11720. },
  11721. "userstate": {
  11722. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11723. "type": "integer"
  11724. }
  11725. }
  11726. },
  11727. "erms3.QueryUserInfosRsp": {
  11728. "type": "object",
  11729. "required": [
  11730. "userid"
  11731. ],
  11732. "properties": {
  11733. "biznature": {
  11734. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11735. "type": "integer"
  11736. },
  11737. "contactname": {
  11738. "description": "联系人",
  11739. "type": "string"
  11740. },
  11741. "customername": {
  11742. "description": "客户名称(企业名称)",
  11743. "type": "string"
  11744. },
  11745. "userid": {
  11746. "description": "用户ID",
  11747. "type": "integer"
  11748. },
  11749. "userinfotype": {
  11750. "description": "用户信息类型 - 1:个人 2:企业",
  11751. "type": "integer"
  11752. },
  11753. "userstatus": {
  11754. "description": "用户状态 - 1:正常 2:注销",
  11755. "type": "integer"
  11756. }
  11757. }
  11758. },
  11759. "erms3.SoptContractDetail": {
  11760. "type": "object",
  11761. "required": [
  11762. "deliverygoodsid",
  11763. "producttype",
  11764. "unitname",
  11765. "warehouseid",
  11766. "wrstandardid",
  11767. "wrstandardname"
  11768. ],
  11769. "properties": {
  11770. "deliverygoodsdesc": {
  11771. "description": "现货品种说明",
  11772. "type": "string"
  11773. },
  11774. "deliverygoodsid": {
  11775. "description": "现货品种ID",
  11776. "type": "integer"
  11777. },
  11778. "deliverygoodsname": {
  11779. "description": "现货品种名称",
  11780. "type": "string"
  11781. },
  11782. "pointdesc": {
  11783. "description": "点价描述",
  11784. "type": "string"
  11785. },
  11786. "producttype": {
  11787. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11788. "type": "integer"
  11789. },
  11790. "producttypename": {
  11791. "description": "产品类型名称",
  11792. "type": "string"
  11793. },
  11794. "spotPointOrderVoList": {
  11795. "description": "点价列表",
  11796. "type": "array",
  11797. "items": {
  11798. "$ref": "#/definitions/erms3.SpotPointOrder"
  11799. }
  11800. },
  11801. "spotPriceOrderList": {
  11802. "description": "定价列表",
  11803. "type": "array",
  11804. "items": {
  11805. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11806. }
  11807. },
  11808. "unitname": {
  11809. "description": "单位名称",
  11810. "type": "string"
  11811. },
  11812. "warehouseid": {
  11813. "description": "仓库ID",
  11814. "type": "integer"
  11815. },
  11816. "warehousename": {
  11817. "description": "仓库名称",
  11818. "type": "string"
  11819. },
  11820. "wrstandardid": {
  11821. "description": "交易标的ID",
  11822. "type": "integer"
  11823. },
  11824. "wrstandardname": {
  11825. "description": "交易标的名称",
  11826. "type": "string"
  11827. }
  11828. }
  11829. },
  11830. "erms3.SpotPointOrder": {
  11831. "type": "object",
  11832. "required": [
  11833. "basic",
  11834. "goodsid",
  11835. "qty"
  11836. ],
  11837. "properties": {
  11838. "basic": {
  11839. "description": "基差",
  11840. "type": "number"
  11841. },
  11842. "deliveryenddate": {
  11843. "description": "交收结束日期",
  11844. "type": "string"
  11845. },
  11846. "deliverystartdate": {
  11847. "description": "交收开始日期",
  11848. "type": "string"
  11849. },
  11850. "enddate": {
  11851. "description": "点价结束日期",
  11852. "type": "string"
  11853. },
  11854. "goodsid": {
  11855. "description": "商品ID",
  11856. "type": "integer"
  11857. },
  11858. "goodsname": {
  11859. "description": "商品名称",
  11860. "type": "string"
  11861. },
  11862. "qty": {
  11863. "description": "数量",
  11864. "type": "number"
  11865. },
  11866. "startdate": {
  11867. "description": "点价开始日期",
  11868. "type": "string"
  11869. }
  11870. }
  11871. },
  11872. "erms3.SpotPriceOrder": {
  11873. "type": "object",
  11874. "required": [
  11875. "amount",
  11876. "price",
  11877. "qty"
  11878. ],
  11879. "properties": {
  11880. "amount": {
  11881. "description": "金额",
  11882. "type": "number"
  11883. },
  11884. "deliveryenddate": {
  11885. "description": "交收结束日期",
  11886. "type": "string"
  11887. },
  11888. "deliverystartdate": {
  11889. "description": "交收开始日期",
  11890. "type": "string"
  11891. },
  11892. "price": {
  11893. "description": "价格",
  11894. "type": "number"
  11895. },
  11896. "qty": {
  11897. "description": "数量",
  11898. "type": "number"
  11899. }
  11900. }
  11901. },
  11902. "hsby.GetHsbyMyCountRsp": {
  11903. "type": "object",
  11904. "properties": {
  11905. "myCouponCount": {
  11906. "description": "我的优惠卷数量",
  11907. "type": "integer"
  11908. },
  11909. "myOrderDetailListingCount": {
  11910. "description": "我的订单求购中数量",
  11911. "type": "integer"
  11912. },
  11913. "myOrderDetailPreCount": {
  11914. "description": "我的订单抢购中数量",
  11915. "type": "integer"
  11916. },
  11917. "myPackageUnReceiveCount": {
  11918. "description": "我的包裹待收货数量",
  11919. "type": "integer"
  11920. },
  11921. "myPackageUnSendCount": {
  11922. "description": "我的包裹待发货数量",
  11923. "type": "integer"
  11924. },
  11925. "myPayOrderCount": {
  11926. "description": "我的订单待付款数量",
  11927. "type": "integer"
  11928. }
  11929. }
  11930. },
  11931. "hsby.QueryProvincesAndCitiesRsp": {
  11932. "type": "object",
  11933. "properties": {
  11934. "cities": {
  11935. "description": "市",
  11936. "type": "array",
  11937. "items": {
  11938. "$ref": "#/definitions/models.Division"
  11939. }
  11940. },
  11941. "province": {
  11942. "description": "省",
  11943. "type": "object",
  11944. "$ref": "#/definitions/models.Division"
  11945. }
  11946. }
  11947. },
  11948. "models.AreaSpotModel": {
  11949. "type": "object",
  11950. "properties": {
  11951. "areauserid": {
  11952. "description": "所属机构",
  11953. "type": "integer"
  11954. },
  11955. "decreaseqty": {
  11956. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11957. "type": "number"
  11958. },
  11959. "increaseqty": {
  11960. "description": "增加数量=销售计划数量+采购已定价数量",
  11961. "type": "number"
  11962. },
  11963. "oritoalspotqty": {
  11964. "description": "昨日数量",
  11965. "type": "number"
  11966. },
  11967. "totalspotqty": {
  11968. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11969. "type": "number"
  11970. },
  11971. "updatetime": {
  11972. "description": "更新时间",
  11973. "type": "string"
  11974. },
  11975. "wrstandardcode": {
  11976. "description": "现货品种代码",
  11977. "type": "string"
  11978. },
  11979. "wrstandardid": {
  11980. "description": "现货商品ID",
  11981. "type": "integer"
  11982. },
  11983. "wrstandardname": {
  11984. "description": "现货品种",
  11985. "type": "string"
  11986. }
  11987. }
  11988. },
  11989. "models.Arearole": {
  11990. "type": "object",
  11991. "required": [
  11992. "roletype",
  11993. "userid"
  11994. ],
  11995. "properties": {
  11996. "createtime": {
  11997. "description": "创建时间",
  11998. "type": "string"
  11999. },
  12000. "creatorid": {
  12001. "description": "创建人ID",
  12002. "type": "integer"
  12003. },
  12004. "isreturnscore": {
  12005. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  12006. "type": "integer"
  12007. },
  12008. "modifierid": {
  12009. "description": "修改人ID",
  12010. "type": "integer"
  12011. },
  12012. "modifytime": {
  12013. "description": "修改时间",
  12014. "type": "string"
  12015. },
  12016. "orgtype": {
  12017. "description": "组织机构类型 1:机构 2:交易员",
  12018. "type": "integer"
  12019. },
  12020. "outuserid": {
  12021. "description": "外部账户[场外期权做市商]",
  12022. "type": "string"
  12023. },
  12024. "parentuserid": {
  12025. "description": "上级组织机构(组织机构)",
  12026. "type": "integer"
  12027. },
  12028. "roletype": {
  12029. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员",
  12030. "type": "integer"
  12031. },
  12032. "rootuserid": {
  12033. "description": "顶级组织机构用户ID(组织机构)",
  12034. "type": "integer"
  12035. },
  12036. "shoppassword": {
  12037. "description": "商城店铺登陆密码(商城店铺角色使用)",
  12038. "type": "string"
  12039. },
  12040. "sublevelpath": {
  12041. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  12042. "type": "string"
  12043. },
  12044. "tradeaccountid": {
  12045. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  12046. "type": "integer"
  12047. },
  12048. "transurl": {
  12049. "description": "物流地址(物流机构)",
  12050. "type": "string"
  12051. },
  12052. "userid": {
  12053. "description": "机构用户ID其他做市关系,都设置为 1",
  12054. "type": "integer"
  12055. }
  12056. }
  12057. },
  12058. "models.Clientfixedadconfig": {
  12059. "type": "object",
  12060. "required": [
  12061. "adsort",
  12062. "adtype"
  12063. ],
  12064. "properties": {
  12065. "adsort": {
  12066. "description": "排序",
  12067. "type": "integer"
  12068. },
  12069. "adtype": {
  12070. "description": "广告位类型 - 1:新品抢购(HSBY)",
  12071. "type": "integer"
  12072. },
  12073. "areauserid": {
  12074. "description": "所属机构ID",
  12075. "type": "integer"
  12076. },
  12077. "createdate": {
  12078. "description": "创建时间",
  12079. "type": "string"
  12080. },
  12081. "creatorid": {
  12082. "description": "创建人",
  12083. "type": "integer"
  12084. },
  12085. "imagepath": {
  12086. "description": "图片",
  12087. "type": "string"
  12088. },
  12089. "isshow": {
  12090. "description": "是否展示 - 0:不展示 1:展示",
  12091. "type": "integer"
  12092. },
  12093. "modifierid": {
  12094. "description": "操作人",
  12095. "type": "integer"
  12096. },
  12097. "recsize": {
  12098. "description": "推荐尺寸",
  12099. "type": "string"
  12100. },
  12101. "title": {
  12102. "description": "标题",
  12103. "type": "string"
  12104. },
  12105. "updatedate": {
  12106. "description": "更新时间",
  12107. "type": "string"
  12108. },
  12109. "urlcontent": {
  12110. "description": "链接(地址或商品ID)",
  12111. "type": "string"
  12112. },
  12113. "urltype": {
  12114. "description": "链接类型 - 1:直接地址 2:商品ID",
  12115. "type": "integer"
  12116. }
  12117. }
  12118. },
  12119. "models.Division": {
  12120. "type": "object",
  12121. "required": [
  12122. "autoid",
  12123. "divisioncode"
  12124. ],
  12125. "properties": {
  12126. "autoid": {
  12127. "description": "自增ID",
  12128. "type": "integer"
  12129. },
  12130. "divisioncode": {
  12131. "description": "行政代码",
  12132. "type": "string"
  12133. },
  12134. "divisionlevel": {
  12135. "description": "行政级别",
  12136. "type": "string"
  12137. },
  12138. "divisionname": {
  12139. "description": "行政名称",
  12140. "type": "string"
  12141. },
  12142. "modifierid": {
  12143. "description": "修改人",
  12144. "type": "integer"
  12145. },
  12146. "modifytime": {
  12147. "description": "修改时间",
  12148. "type": "string"
  12149. },
  12150. "parentcode": {
  12151. "description": "上级行政代码",
  12152. "type": "string"
  12153. },
  12154. "pathname": {
  12155. "description": "路径名称",
  12156. "type": "string"
  12157. },
  12158. "postcode": {
  12159. "description": "邮政编码",
  12160. "type": "string"
  12161. },
  12162. "separablename": {
  12163. "description": "可拆分的全称",
  12164. "type": "string"
  12165. },
  12166. "shortcode": {
  12167. "description": "地区简码",
  12168. "type": "string"
  12169. }
  12170. }
  12171. },
  12172. "models.Enumdicitem": {
  12173. "type": "object",
  12174. "required": [
  12175. "autoid",
  12176. "enumdiccode",
  12177. "enumdicid",
  12178. "enumitemname"
  12179. ],
  12180. "properties": {
  12181. "autoid": {
  12182. "description": "自增ID",
  12183. "type": "integer"
  12184. },
  12185. "bankmappedvalue": {
  12186. "description": "银行服务对应值",
  12187. "type": "string"
  12188. },
  12189. "enumdiccode": {
  12190. "description": "所属枚举代码",
  12191. "type": "string"
  12192. },
  12193. "enumdicid": {
  12194. "description": "所属枚举ID",
  12195. "type": "integer"
  12196. },
  12197. "enumdicname": {
  12198. "description": "枚举项名称",
  12199. "type": "string"
  12200. },
  12201. "enumitemname": {
  12202. "description": "枚举项值",
  12203. "type": "integer"
  12204. },
  12205. "enumitemstatus": {
  12206. "description": "枚举项状态 - 1.启用 2.不启用",
  12207. "type": "integer"
  12208. },
  12209. "enumitemvalue": {
  12210. "description": "通用值 - [币种通用简写]",
  12211. "type": "string"
  12212. },
  12213. "param1": {
  12214. "description": "参数1[币种:币种小数位]",
  12215. "type": "string"
  12216. },
  12217. "param2": {
  12218. "description": "参数1[币种:币种显示单位]",
  12219. "type": "string"
  12220. },
  12221. "remark": {
  12222. "description": "备注",
  12223. "type": "string"
  12224. }
  12225. }
  12226. },
  12227. "models.Ermcp3AreaSpot": {
  12228. "type": "object",
  12229. "properties": {
  12230. "areauserid": {
  12231. "description": "所属机构",
  12232. "type": "integer"
  12233. },
  12234. "decreaseqty": {
  12235. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  12236. "type": "number"
  12237. },
  12238. "deliverygoodscode": {
  12239. "description": "现货品种代码",
  12240. "type": "string"
  12241. },
  12242. "deliverygoodsid": {
  12243. "description": "现货品种id",
  12244. "type": "integer"
  12245. },
  12246. "deliverygoodsname": {
  12247. "description": "现货品种名称",
  12248. "type": "string"
  12249. },
  12250. "enumdicname": {
  12251. "description": "单位名称",
  12252. "type": "string"
  12253. },
  12254. "goodsunitid": {
  12255. "description": "现货品种单位id",
  12256. "type": "integer"
  12257. },
  12258. "increaseqty": {
  12259. "description": "增加数量=销售计划数量+采购已定价数量",
  12260. "type": "number"
  12261. },
  12262. "oritoalspotqty": {
  12263. "description": "昨日数量",
  12264. "type": "number"
  12265. },
  12266. "totalspotqty": {
  12267. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  12268. "type": "number"
  12269. },
  12270. "updatetime": {
  12271. "description": "更新时间",
  12272. "type": "string"
  12273. }
  12274. }
  12275. },
  12276. "models.Ermcp3AreaSpotDetail": {
  12277. "type": "object",
  12278. "properties": {
  12279. "contracttype": {
  12280. "description": "合同类型 1-采购 -1-销售",
  12281. "type": "integer"
  12282. },
  12283. "createtime": {
  12284. "description": "创建时间",
  12285. "type": "string"
  12286. },
  12287. "deliverygoodscode": {
  12288. "description": "现货品种代码",
  12289. "type": "string"
  12290. },
  12291. "deliverygoodsid": {
  12292. "description": "现货品种id",
  12293. "type": "integer"
  12294. },
  12295. "deliverygoodsname": {
  12296. "description": "现货品种名称",
  12297. "type": "string"
  12298. },
  12299. "enumdicname": {
  12300. "description": "现货商品单位名称",
  12301. "type": "string"
  12302. },
  12303. "logtype": {
  12304. "description": "记录类型 1-套保 2-现货合同",
  12305. "type": "integer"
  12306. },
  12307. "qty": {
  12308. "description": "数量",
  12309. "type": "number"
  12310. },
  12311. "recordname": {
  12312. "description": "类型名称",
  12313. "type": "string"
  12314. },
  12315. "relatedid": {
  12316. "description": "套保计划ID/现货合同ID",
  12317. "type": "string"
  12318. },
  12319. "relatedno": {
  12320. "description": "编号",
  12321. "type": "string"
  12322. },
  12323. "strtime": {
  12324. "description": "时间",
  12325. "type": "string"
  12326. }
  12327. }
  12328. },
  12329. "models.Ermcp3AreaSpotPLReport": {
  12330. "type": "object",
  12331. "properties": {
  12332. "accountid": {
  12333. "description": "期货账户ID (作废, 默认为0)",
  12334. "type": "integer"
  12335. },
  12336. "accountname": {
  12337. "description": "机构名称",
  12338. "type": "string"
  12339. },
  12340. "actualpl": {
  12341. "description": "现货损益",
  12342. "type": "number"
  12343. },
  12344. "areauserid": {
  12345. "description": "所属机构\\交易用户ID",
  12346. "type": "integer"
  12347. },
  12348. "begindate": {
  12349. "description": "开始交易日",
  12350. "type": "string"
  12351. },
  12352. "biztype": {
  12353. "description": "业务类型 - 1:套保 2:套利",
  12354. "type": "integer"
  12355. },
  12356. "brandname": {
  12357. "description": "品牌名称",
  12358. "type": "string"
  12359. },
  12360. "curamount": {
  12361. "description": "期末额",
  12362. "type": "number"
  12363. },
  12364. "curaverageprice": {
  12365. "description": "期末均价",
  12366. "type": "number"
  12367. },
  12368. "curbuyamount": {
  12369. "description": "期末采购总额",
  12370. "type": "number"
  12371. },
  12372. "curbuyqty": {
  12373. "description": "期末采购总量",
  12374. "type": "number"
  12375. },
  12376. "curmarketvalue": {
  12377. "description": "参考市值(期末市值)",
  12378. "type": "number"
  12379. },
  12380. "curqty": {
  12381. "description": "期末量",
  12382. "type": "number"
  12383. },
  12384. "currencyid": {
  12385. "description": "结算币种ID【原值】",
  12386. "type": "integer"
  12387. },
  12388. "currencyname": {
  12389. "description": "币种名称",
  12390. "type": "string"
  12391. },
  12392. "cursellamount": {
  12393. "description": "期末销售总额",
  12394. "type": "number"
  12395. },
  12396. "cursellqty": {
  12397. "description": "期末销售总量",
  12398. "type": "number"
  12399. },
  12400. "curspotprice": {
  12401. "description": "参考市价(最新价)",
  12402. "type": "number"
  12403. },
  12404. "cycletime": {
  12405. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12406. "type": "string"
  12407. },
  12408. "cycletype": {
  12409. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12410. "type": "integer"
  12411. },
  12412. "deliverygoodscode": {
  12413. "description": "现货商品代码",
  12414. "type": "string"
  12415. },
  12416. "deliverygoodsid": {
  12417. "description": "现货品种ID",
  12418. "type": "integer"
  12419. },
  12420. "deliverygoodsname": {
  12421. "description": "现货商品名称",
  12422. "type": "string"
  12423. },
  12424. "enddate": {
  12425. "description": "结束交易日",
  12426. "type": "string"
  12427. },
  12428. "enumdicname": {
  12429. "description": "现货商品单位名称",
  12430. "type": "string"
  12431. },
  12432. "floatpl": {
  12433. "description": "浮动损益",
  12434. "type": "number"
  12435. },
  12436. "goodsunitid": {
  12437. "description": "现货商品单位id",
  12438. "type": "integer"
  12439. },
  12440. "oriamount": {
  12441. "description": "期初额",
  12442. "type": "number"
  12443. },
  12444. "oriaverageprice": {
  12445. "description": "期初均价",
  12446. "type": "number"
  12447. },
  12448. "oribuyamount": {
  12449. "description": "期初采购总额",
  12450. "type": "number"
  12451. },
  12452. "oribuyqty": {
  12453. "description": "期初采购总量",
  12454. "type": "number"
  12455. },
  12456. "oriqty": {
  12457. "description": "期初量",
  12458. "type": "number"
  12459. },
  12460. "orisellamount": {
  12461. "description": "期初销售总额",
  12462. "type": "number"
  12463. },
  12464. "orisellqty": {
  12465. "description": "期初销售总量",
  12466. "type": "number"
  12467. },
  12468. "reckondate": {
  12469. "description": "日照时期(yyyyMMdd)",
  12470. "type": "string"
  12471. },
  12472. "spotgoodsbrandid": {
  12473. "description": "现货品牌ID",
  12474. "type": "integer"
  12475. },
  12476. "todaybuyamount": {
  12477. "description": "今日采购额(今采购额)",
  12478. "type": "number"
  12479. },
  12480. "todaybuyaverageprice": {
  12481. "description": "今日采购均价",
  12482. "type": "number"
  12483. },
  12484. "todaybuyqty": {
  12485. "description": "今日采购量(今采购量)",
  12486. "type": "number"
  12487. },
  12488. "todayinqty": {
  12489. "description": "今日入库量(今入库量)",
  12490. "type": "number"
  12491. },
  12492. "todayoutqty": {
  12493. "description": "今日出库量(今出库量)",
  12494. "type": "number"
  12495. },
  12496. "todaysellamount": {
  12497. "description": "今日销售额(今销售额)",
  12498. "type": "number"
  12499. },
  12500. "todaysellaverageprice": {
  12501. "description": "今日销售均价",
  12502. "type": "number"
  12503. },
  12504. "todaysellqty": {
  12505. "description": "今日销售量(今销售量)",
  12506. "type": "number"
  12507. },
  12508. "unitid": {
  12509. "description": "品类单位id",
  12510. "type": "integer"
  12511. },
  12512. "unitidname": {
  12513. "description": "品类单位名称",
  12514. "type": "string"
  12515. },
  12516. "updatetime": {
  12517. "description": "更新时间",
  12518. "type": "string"
  12519. },
  12520. "wrfactortypeid": {
  12521. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  12522. "type": "integer"
  12523. },
  12524. "wrstandardcode": {
  12525. "description": "品类代码",
  12526. "type": "string"
  12527. },
  12528. "wrstandardid": {
  12529. "description": "现货品类ID",
  12530. "type": "integer"
  12531. },
  12532. "wrstandardname": {
  12533. "description": "品类名称",
  12534. "type": "string"
  12535. }
  12536. }
  12537. },
  12538. "models.Ermcp3AreaStock": {
  12539. "type": "object",
  12540. "required": [
  12541. "userid"
  12542. ],
  12543. "properties": {
  12544. "brandname": {
  12545. "description": "品牌名称",
  12546. "type": "string"
  12547. },
  12548. "curstock": {
  12549. "description": "期末库存量(今日量)",
  12550. "type": "number"
  12551. },
  12552. "deliverygoodscode": {
  12553. "description": "现货品种代码",
  12554. "type": "string"
  12555. },
  12556. "deliverygoodsid": {
  12557. "description": "现货品种id",
  12558. "type": "integer"
  12559. },
  12560. "deliverygoodsname": {
  12561. "description": "现货品种名称",
  12562. "type": "string"
  12563. },
  12564. "enumdicname": {
  12565. "description": "单位名称",
  12566. "type": "string"
  12567. },
  12568. "goodsunitid": {
  12569. "description": "现货商品单位id",
  12570. "type": "integer"
  12571. },
  12572. "oristock": {
  12573. "description": "期初库存量(昨日量)",
  12574. "type": "number"
  12575. },
  12576. "spotgoodsbrandid": {
  12577. "description": "现货品牌ID",
  12578. "type": "integer"
  12579. },
  12580. "todaybuyinqty": {
  12581. "description": "今日采购入库量",
  12582. "type": "number"
  12583. },
  12584. "todayproduceinqty": {
  12585. "description": "今日生产入库量",
  12586. "type": "number"
  12587. },
  12588. "todayproduceoutqty": {
  12589. "description": "今日生产出库量",
  12590. "type": "number"
  12591. },
  12592. "todayselloutqty": {
  12593. "description": "今日销售出库量",
  12594. "type": "number"
  12595. },
  12596. "unitid": {
  12597. "description": "单位id",
  12598. "type": "integer"
  12599. },
  12600. "updatetime": {
  12601. "description": "更新时间",
  12602. "type": "string"
  12603. },
  12604. "userid": {
  12605. "description": "机构ID",
  12606. "type": "integer"
  12607. },
  12608. "username": {
  12609. "description": "机构名称",
  12610. "type": "string"
  12611. },
  12612. "warehousecode": {
  12613. "description": "仓库代码",
  12614. "type": "string"
  12615. },
  12616. "warehouseinfoid": {
  12617. "description": "仓库ID",
  12618. "type": "string"
  12619. },
  12620. "warehousename": {
  12621. "description": "仓库名称",
  12622. "type": "string"
  12623. },
  12624. "warehousetype": {
  12625. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12626. "type": "integer"
  12627. },
  12628. "wrstandardcode": {
  12629. "description": "品类代码",
  12630. "type": "string"
  12631. },
  12632. "wrstandardid": {
  12633. "description": "品类ID",
  12634. "type": "string"
  12635. },
  12636. "wrstandardname": {
  12637. "description": "品类名称",
  12638. "type": "string"
  12639. }
  12640. }
  12641. },
  12642. "models.Ermcp3AreaStockApply": {
  12643. "type": "object",
  12644. "properties": {
  12645. "applyid": {
  12646. "description": "申请人",
  12647. "type": "integer"
  12648. },
  12649. "applyname": {
  12650. "description": "申请人名称",
  12651. "type": "string"
  12652. },
  12653. "applyremark": {
  12654. "description": "申请备注",
  12655. "type": "string"
  12656. },
  12657. "applysrc": {
  12658. "description": "申请来源 - 1:管理端 2:终端",
  12659. "type": "integer"
  12660. },
  12661. "applystatus": {
  12662. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12663. "type": "integer"
  12664. },
  12665. "applytime": {
  12666. "description": "申请时间",
  12667. "type": "string"
  12668. },
  12669. "auditid": {
  12670. "description": "审核人",
  12671. "type": "integer"
  12672. },
  12673. "auditname": {
  12674. "description": "审核人名称",
  12675. "type": "string"
  12676. },
  12677. "auditremark": {
  12678. "description": "审核备注",
  12679. "type": "string"
  12680. },
  12681. "auditsrc": {
  12682. "description": "审核来源 - 1:管理端 2:终端",
  12683. "type": "integer"
  12684. },
  12685. "audittime": {
  12686. "description": "审核时间",
  12687. "type": "string"
  12688. },
  12689. "audittradedate": {
  12690. "description": "审核交易日(yyyyMMdd)",
  12691. "type": "string"
  12692. },
  12693. "brandname": {
  12694. "description": "品牌名称",
  12695. "type": "string"
  12696. },
  12697. "buynickname": {
  12698. "description": "采购方昵称",
  12699. "type": "string"
  12700. },
  12701. "buyuserid": {
  12702. "description": "采购方userid",
  12703. "type": "integer"
  12704. },
  12705. "buyusername": {
  12706. "description": "采购方名称",
  12707. "type": "string"
  12708. },
  12709. "contractno": {
  12710. "description": "合同编号",
  12711. "type": "string"
  12712. },
  12713. "contractqty": {
  12714. "description": "合同量",
  12715. "type": "number"
  12716. },
  12717. "contracttype": {
  12718. "description": "现货合同类型 - 1:采购 -1:销售",
  12719. "type": "integer"
  12720. },
  12721. "deliverygoodscode": {
  12722. "description": "现货品种代码",
  12723. "type": "string"
  12724. },
  12725. "deliverygoodsid": {
  12726. "description": "现货品种id",
  12727. "type": "integer"
  12728. },
  12729. "deliverygoodsname": {
  12730. "description": "现货品种名称",
  12731. "type": "string"
  12732. },
  12733. "detailjson": {
  12734. "description": "明细数据",
  12735. "type": "string"
  12736. },
  12737. "enumdicname": {
  12738. "description": "现货商品单位名称",
  12739. "type": "string"
  12740. },
  12741. "inoutapplyid": {
  12742. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  12743. "type": "string"
  12744. },
  12745. "inouttype": {
  12746. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  12747. "type": "integer"
  12748. },
  12749. "pricetype": {
  12750. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  12751. "type": "integer"
  12752. },
  12753. "qty": {
  12754. "description": "数量",
  12755. "type": "number"
  12756. },
  12757. "sellnickname": {
  12758. "description": "销售方昵称",
  12759. "type": "string"
  12760. },
  12761. "selluserid": {
  12762. "description": "销售方userid",
  12763. "type": "integer"
  12764. },
  12765. "sellusername": {
  12766. "description": "销售方名称",
  12767. "type": "string"
  12768. },
  12769. "spotcontractid": {
  12770. "description": "关联现货合同ID",
  12771. "type": "string"
  12772. },
  12773. "spotgoodsbrandid": {
  12774. "description": "现货品牌ID",
  12775. "type": "integer"
  12776. },
  12777. "unitid": {
  12778. "description": "单位id",
  12779. "type": "integer"
  12780. },
  12781. "userid": {
  12782. "description": "机构ID",
  12783. "type": "integer"
  12784. },
  12785. "warehousecode": {
  12786. "description": "仓库代码",
  12787. "type": "string"
  12788. },
  12789. "warehouseinfoid": {
  12790. "description": "现货仓库ID",
  12791. "type": "string"
  12792. },
  12793. "warehousename": {
  12794. "description": "仓库名称",
  12795. "type": "string"
  12796. },
  12797. "warehousetype": {
  12798. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12799. "type": "integer"
  12800. },
  12801. "wrstandardcode": {
  12802. "description": "品类代码",
  12803. "type": "string"
  12804. },
  12805. "wrstandardid": {
  12806. "description": "品类ID",
  12807. "type": "integer"
  12808. },
  12809. "wrstandardname": {
  12810. "description": "品类名称",
  12811. "type": "string"
  12812. }
  12813. }
  12814. },
  12815. "models.Ermcp3AreaStockApplySum": {
  12816. "type": "object",
  12817. "properties": {
  12818. "brandname": {
  12819. "description": "品牌名称",
  12820. "type": "string"
  12821. },
  12822. "inouttype": {
  12823. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12824. "type": "integer"
  12825. },
  12826. "spotcontractid": {
  12827. "description": "关联现货合同ID",
  12828. "type": "string"
  12829. },
  12830. "spotgoodsbrandid": {
  12831. "description": "品牌id",
  12832. "type": "integer"
  12833. },
  12834. "totalqty": {
  12835. "description": "总数量",
  12836. "type": "number"
  12837. },
  12838. "wrstandardid": {
  12839. "description": "品类id",
  12840. "type": "integer"
  12841. },
  12842. "wrstandardname": {
  12843. "description": "品类名称",
  12844. "type": "string"
  12845. }
  12846. }
  12847. },
  12848. "models.Ermcp3AreaStockReportEx": {
  12849. "type": "object",
  12850. "properties": {
  12851. "begindate": {
  12852. "description": "开始交易日",
  12853. "type": "string"
  12854. },
  12855. "brandname": {
  12856. "description": "品牌名称",
  12857. "type": "string"
  12858. },
  12859. "curstock": {
  12860. "description": "期末库存量",
  12861. "type": "number"
  12862. },
  12863. "cycletime": {
  12864. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  12865. "type": "string"
  12866. },
  12867. "cycletype": {
  12868. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12869. "type": "integer"
  12870. },
  12871. "deliverygoodscode": {
  12872. "description": "现货品种代码",
  12873. "type": "string"
  12874. },
  12875. "deliverygoodsid": {
  12876. "description": "现货品种id",
  12877. "type": "integer"
  12878. },
  12879. "deliverygoodsname": {
  12880. "description": "现货品种名称",
  12881. "type": "string"
  12882. },
  12883. "diffqty": {
  12884. "description": "库存变化量 = 期末 - 期初",
  12885. "type": "number"
  12886. },
  12887. "enddate": {
  12888. "description": "结束交易日",
  12889. "type": "string"
  12890. },
  12891. "enumdicname": {
  12892. "description": "单位名称",
  12893. "type": "string"
  12894. },
  12895. "goodsunitid": {
  12896. "description": "现货单位id",
  12897. "type": "integer"
  12898. },
  12899. "oristock": {
  12900. "description": "期初库存量",
  12901. "type": "number"
  12902. },
  12903. "reckondate": {
  12904. "description": "日照时期(yyyyMMdd)",
  12905. "type": "string"
  12906. },
  12907. "spotgoodsbrandid": {
  12908. "description": "现货品牌ID",
  12909. "type": "integer"
  12910. },
  12911. "todaybuyinqty": {
  12912. "description": "今采购入库量",
  12913. "type": "number"
  12914. },
  12915. "todayproduceinqty": {
  12916. "description": "今内部入库量",
  12917. "type": "number"
  12918. },
  12919. "todayproduceoutqty": {
  12920. "description": "今内部出库量",
  12921. "type": "number"
  12922. },
  12923. "todayselloutqty": {
  12924. "description": "今销售出库量",
  12925. "type": "number"
  12926. },
  12927. "unbuyinqty": {
  12928. "description": "采购未入库量(数据库未找到相关字段?)",
  12929. "type": "number"
  12930. },
  12931. "unitid": {
  12932. "description": "品类单位id",
  12933. "type": "integer"
  12934. },
  12935. "unselloutqty": {
  12936. "description": "销售未出库量(数据库未找到相关字段?)",
  12937. "type": "number"
  12938. },
  12939. "updatetime": {
  12940. "description": "更新时间",
  12941. "type": "string"
  12942. },
  12943. "userid": {
  12944. "description": "机构ID",
  12945. "type": "integer"
  12946. },
  12947. "username": {
  12948. "description": "机构名称",
  12949. "type": "string"
  12950. },
  12951. "warehousecode": {
  12952. "description": "仓库代码",
  12953. "type": "string"
  12954. },
  12955. "warehouseinfoid": {
  12956. "description": "仓库ID",
  12957. "type": "string"
  12958. },
  12959. "warehousename": {
  12960. "description": "仓库名称",
  12961. "type": "string"
  12962. },
  12963. "warehousetype": {
  12964. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12965. "type": "integer"
  12966. },
  12967. "wrstandardcode": {
  12968. "description": "品类代码",
  12969. "type": "string"
  12970. },
  12971. "wrstandardid": {
  12972. "description": "品类ID",
  12973. "type": "integer"
  12974. },
  12975. "wrstandardname": {
  12976. "description": "品类名称",
  12977. "type": "string"
  12978. }
  12979. }
  12980. },
  12981. "models.Ermcp3ArealSumPL": {
  12982. "type": "object",
  12983. "properties": {
  12984. "areauserid": {
  12985. "description": "所属机构\\交易用户ID",
  12986. "type": "integer"
  12987. },
  12988. "begindate": {
  12989. "description": "开始交易日",
  12990. "type": "string"
  12991. },
  12992. "currencyid": {
  12993. "description": "结算币种ID",
  12994. "type": "integer"
  12995. },
  12996. "currencyname": {
  12997. "description": "币种名称",
  12998. "type": "string"
  12999. },
  13000. "cycletime": {
  13001. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13002. "type": "string"
  13003. },
  13004. "cycletype": {
  13005. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13006. "type": "integer"
  13007. },
  13008. "enddate": {
  13009. "description": "结束交易日",
  13010. "type": "string"
  13011. },
  13012. "futureactualpl": {
  13013. "description": "期货损益",
  13014. "type": "number"
  13015. },
  13016. "futurefloatpl": {
  13017. "description": "期货浮动损益",
  13018. "type": "number"
  13019. },
  13020. "middlegoodsid": {
  13021. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13022. "type": "integer"
  13023. },
  13024. "reckondate": {
  13025. "description": "日照时期(yyyyMMdd)",
  13026. "type": "string"
  13027. },
  13028. "spotactualpl": {
  13029. "description": "现货损益",
  13030. "type": "number"
  13031. },
  13032. "spotfloatpl": {
  13033. "description": "现货浮动损益",
  13034. "type": "number"
  13035. },
  13036. "sumactualpl": {
  13037. "description": "实际损益 = (ActualPL + FutureActualPL)",
  13038. "type": "number"
  13039. },
  13040. "sumpl": {
  13041. "description": "汇总损益",
  13042. "type": "number"
  13043. },
  13044. "updatetime": {
  13045. "description": "更新时间",
  13046. "type": "string"
  13047. }
  13048. }
  13049. },
  13050. "models.Ermcp3Brand": {
  13051. "type": "object",
  13052. "properties": {
  13053. "areauserid": {
  13054. "description": "用户id",
  13055. "type": "integer"
  13056. },
  13057. "brandid": {
  13058. "description": "品牌id",
  13059. "type": "integer"
  13060. },
  13061. "brandname": {
  13062. "description": "品牌名称",
  13063. "type": "string"
  13064. },
  13065. "deliverygoodsid": {
  13066. "description": "品种ID",
  13067. "type": "integer"
  13068. }
  13069. }
  13070. },
  13071. "models.Ermcp3Contract": {
  13072. "type": "object",
  13073. "properties": {
  13074. "accountid": {
  13075. "description": "期货账户id",
  13076. "type": "string"
  13077. },
  13078. "amount": {
  13079. "description": "金额 [1:一口价、3:暂定价]",
  13080. "type": "number"
  13081. },
  13082. "attachment": {
  13083. "description": "附件",
  13084. "type": "string"
  13085. },
  13086. "auditremark": {
  13087. "description": "审核意见",
  13088. "type": "string"
  13089. },
  13090. "audittime": {
  13091. "description": "审核时间",
  13092. "type": "string"
  13093. },
  13094. "biztype": {
  13095. "description": "业务类型 1-套保 2-套利",
  13096. "type": "integer"
  13097. },
  13098. "brandname": {
  13099. "description": "品牌名称",
  13100. "type": "string"
  13101. },
  13102. "buynickname": {
  13103. "description": "销售方昵称",
  13104. "type": "string"
  13105. },
  13106. "buyuserid": {
  13107. "description": "采购方ID",
  13108. "type": "integer"
  13109. },
  13110. "buyusername": {
  13111. "description": "采购方名称",
  13112. "type": "string"
  13113. },
  13114. "contracctstatus": {
  13115. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13116. "type": "integer"
  13117. },
  13118. "contractmargin": {
  13119. "description": "合同保证金",
  13120. "type": "number"
  13121. },
  13122. "contractno": {
  13123. "description": "现货合同编号",
  13124. "type": "string"
  13125. },
  13126. "contracttype": {
  13127. "description": "现货合同类型 - 1:采购 -1:销售",
  13128. "type": "integer"
  13129. },
  13130. "convertfactor": {
  13131. "description": "标仓系数(品类)",
  13132. "type": "number"
  13133. },
  13134. "createtime": {
  13135. "description": "创建时间",
  13136. "type": "string"
  13137. },
  13138. "currencyid": {
  13139. "description": "币种id",
  13140. "type": "integer"
  13141. },
  13142. "currencyname": {
  13143. "description": "币种名称",
  13144. "type": "string"
  13145. },
  13146. "deliveryenddate": {
  13147. "description": "交收期(结束)",
  13148. "type": "string"
  13149. },
  13150. "deliverygoodscode": {
  13151. "description": "现货品种代码",
  13152. "type": "string"
  13153. },
  13154. "deliverygoodsid": {
  13155. "description": "现货品种ID",
  13156. "type": "integer"
  13157. },
  13158. "deliverygoodsname": {
  13159. "description": "现货品种名称",
  13160. "type": "string"
  13161. },
  13162. "deliverystartdate": {
  13163. "description": "交收期(开始)",
  13164. "type": "string"
  13165. },
  13166. "enddate": {
  13167. "description": "点价结束日期 [2:点价 3:暂定价]",
  13168. "type": "string"
  13169. },
  13170. "enumdicname": {
  13171. "description": "单位名称",
  13172. "type": "string"
  13173. },
  13174. "goodscode": {
  13175. "description": "点价合约代码",
  13176. "type": "string"
  13177. },
  13178. "goodsid": {
  13179. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  13180. "type": "integer"
  13181. },
  13182. "goodsname": {
  13183. "description": "点价商品名称",
  13184. "type": "string"
  13185. },
  13186. "margin": {
  13187. "description": "当前保证金",
  13188. "type": "number"
  13189. },
  13190. "meruserid": {
  13191. "description": "跟单员id",
  13192. "type": "integer"
  13193. },
  13194. "meruserlogincode": {
  13195. "description": "跟单员登录代码",
  13196. "type": "string"
  13197. },
  13198. "price": {
  13199. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  13200. "type": "number"
  13201. },
  13202. "pricemove": {
  13203. "description": "升贴水 [2:点价 3:暂定价]",
  13204. "type": "number"
  13205. },
  13206. "pricetype": {
  13207. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13208. "type": "integer"
  13209. },
  13210. "producttype": {
  13211. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13212. "type": "integer"
  13213. },
  13214. "qty": {
  13215. "description": "数量",
  13216. "type": "number"
  13217. },
  13218. "remark": {
  13219. "description": "备注",
  13220. "type": "string"
  13221. },
  13222. "saleuserid": {
  13223. "description": "业务员id",
  13224. "type": "integer"
  13225. },
  13226. "saleuserlogincode": {
  13227. "description": "业务员登录代码",
  13228. "type": "string"
  13229. },
  13230. "sellnickname": {
  13231. "description": "采购方昵称",
  13232. "type": "string"
  13233. },
  13234. "selluserid": {
  13235. "description": "销售方ID",
  13236. "type": "integer"
  13237. },
  13238. "sellusername": {
  13239. "description": "销售方名称",
  13240. "type": "string"
  13241. },
  13242. "spotcontractid": {
  13243. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  13244. "type": "string"
  13245. },
  13246. "spotgoodsbrandid": {
  13247. "description": "现货品牌ID(DGFactoryItem表的ID)",
  13248. "type": "integer"
  13249. },
  13250. "spotgoodsdesc": {
  13251. "description": "商品型号",
  13252. "type": "string"
  13253. },
  13254. "startdate": {
  13255. "description": "点价开始日期 [2:点价 3:暂定价]",
  13256. "type": "string"
  13257. },
  13258. "tradeuserid": {
  13259. "description": "交易员id",
  13260. "type": "integer"
  13261. },
  13262. "tradeuserlogincode": {
  13263. "description": "交易员登录代码",
  13264. "type": "string"
  13265. },
  13266. "tradeusername": {
  13267. "description": "交易员名称",
  13268. "type": "string"
  13269. },
  13270. "unitid": {
  13271. "description": "单位id(取品类上的单位id)",
  13272. "type": "integer"
  13273. },
  13274. "updatetime": {
  13275. "description": "更新时间",
  13276. "type": "string"
  13277. },
  13278. "userid": {
  13279. "description": "所属机构ID",
  13280. "type": "integer"
  13281. },
  13282. "wrstandardcode": {
  13283. "description": "品类代码",
  13284. "type": "string"
  13285. },
  13286. "wrstandardid": {
  13287. "description": "品类ID",
  13288. "type": "integer"
  13289. },
  13290. "wrstandardname": {
  13291. "description": "品类名称",
  13292. "type": "string"
  13293. }
  13294. }
  13295. },
  13296. "models.Ermcp3ExposureContractDetail": {
  13297. "type": "object",
  13298. "properties": {
  13299. "biztype": {
  13300. "description": "业务类型 1-套保 2-套利",
  13301. "type": "integer"
  13302. },
  13303. "brandname": {
  13304. "description": "品牌名称",
  13305. "type": "string"
  13306. },
  13307. "buyuserid": {
  13308. "description": "采购方id",
  13309. "type": "integer"
  13310. },
  13311. "buyusername": {
  13312. "description": "采购方名称",
  13313. "type": "string"
  13314. },
  13315. "contractno": {
  13316. "description": "合同编号",
  13317. "type": "string"
  13318. },
  13319. "contracttype": {
  13320. "description": "现货合同类型 - 1:采购 -1:销售",
  13321. "type": "integer"
  13322. },
  13323. "convertratio": {
  13324. "description": "折算系数(套保品种)",
  13325. "type": "number"
  13326. },
  13327. "curqty": {
  13328. "description": "今定价量",
  13329. "type": "number"
  13330. },
  13331. "deliverygoodscode": {
  13332. "description": "现货商品代码",
  13333. "type": "string"
  13334. },
  13335. "deliverygoodsid": {
  13336. "description": "现货商品id",
  13337. "type": "integer"
  13338. },
  13339. "deliverygoodsname": {
  13340. "description": "现货商品名称",
  13341. "type": "string"
  13342. },
  13343. "diffqty": {
  13344. "description": "套保品种今变动量",
  13345. "type": "number"
  13346. },
  13347. "enumdicname": {
  13348. "description": "单位名称",
  13349. "type": "string"
  13350. },
  13351. "middlegoodscode": {
  13352. "description": "套保品种代码",
  13353. "type": "string"
  13354. },
  13355. "middlegoodsid": {
  13356. "description": "套保品种id",
  13357. "type": "integer"
  13358. },
  13359. "middlegoodsname": {
  13360. "description": "套保品种名称",
  13361. "type": "string"
  13362. },
  13363. "needarbitrageratio": {
  13364. "description": "应套利比例",
  13365. "type": "number"
  13366. },
  13367. "needhedgeratio": {
  13368. "description": "应套保比例",
  13369. "type": "number"
  13370. },
  13371. "pricedqty": {
  13372. "description": "已定价量",
  13373. "type": "number"
  13374. },
  13375. "qty": {
  13376. "description": "合同量",
  13377. "type": "number"
  13378. },
  13379. "selluserid": {
  13380. "description": "销售方id",
  13381. "type": "integer"
  13382. },
  13383. "sellusername": {
  13384. "description": "销售方名称",
  13385. "type": "string"
  13386. },
  13387. "spotcontractid": {
  13388. "description": "合同id",
  13389. "type": "string"
  13390. },
  13391. "tradedate": {
  13392. "description": "交易日",
  13393. "type": "string"
  13394. },
  13395. "unitid": {
  13396. "description": "品类单位id",
  13397. "type": "integer"
  13398. },
  13399. "userid": {
  13400. "description": "机构id",
  13401. "type": "integer"
  13402. },
  13403. "wrstandardcode": {
  13404. "description": "品类代码",
  13405. "type": "string"
  13406. },
  13407. "wrstandardid": {
  13408. "description": "品类id",
  13409. "type": "integer"
  13410. },
  13411. "wrstandardname": {
  13412. "description": "品类名称",
  13413. "type": "string"
  13414. }
  13415. }
  13416. },
  13417. "models.Ermcp3ExposureDetail": {
  13418. "type": "object",
  13419. "properties": {
  13420. "areauserid": {
  13421. "description": "机构ID",
  13422. "type": "integer"
  13423. },
  13424. "changeQty": {
  13425. "description": "套保变动量",
  13426. "type": "number"
  13427. },
  13428. "contracttype": {
  13429. "description": "现货合同类型 - 1:采购 -1:销售",
  13430. "type": "integer"
  13431. },
  13432. "convertfactor": {
  13433. "description": "标仓系数",
  13434. "type": "number"
  13435. },
  13436. "convertratio": {
  13437. "description": "套保系数",
  13438. "type": "number"
  13439. },
  13440. "createtime": {
  13441. "description": "时间",
  13442. "type": "string"
  13443. },
  13444. "deliverygoodscode": {
  13445. "description": "现货品种代码",
  13446. "type": "string"
  13447. },
  13448. "deliverygoodsid": {
  13449. "description": "现货品种id",
  13450. "type": "integer"
  13451. },
  13452. "deliverygoodsname": {
  13453. "description": "现货品种名称",
  13454. "type": "string"
  13455. },
  13456. "enumdicname": {
  13457. "description": "现货商品单位名称",
  13458. "type": "string"
  13459. },
  13460. "logtype": {
  13461. "description": "类型 - 1:套保计划 2:现货合同",
  13462. "type": "integer"
  13463. },
  13464. "mgunitid": {
  13465. "description": "套保品种单位id",
  13466. "type": "integer"
  13467. },
  13468. "mgunitidname": {
  13469. "description": "套保品种单位名称",
  13470. "type": "string"
  13471. },
  13472. "middlegoodsId": {
  13473. "description": "套保商品id",
  13474. "type": "integer"
  13475. },
  13476. "middlegoodscode": {
  13477. "description": "套保商品代码",
  13478. "type": "string"
  13479. },
  13480. "middlegoodsname": {
  13481. "description": "套保商品名称",
  13482. "type": "string"
  13483. },
  13484. "qty": {
  13485. "description": "数量",
  13486. "type": "number"
  13487. },
  13488. "relateNo": {
  13489. "description": "现货合同/套保计划编号",
  13490. "type": "string"
  13491. }
  13492. }
  13493. },
  13494. "models.Ermcp3ExposureHedgeplanDetail": {
  13495. "type": "object",
  13496. "properties": {
  13497. "biztype": {
  13498. "description": "业务类型 1-套保 2-套利",
  13499. "type": "integer"
  13500. },
  13501. "changqty": {
  13502. "description": "应套保总量变化量",
  13503. "type": "number"
  13504. },
  13505. "contracttype": {
  13506. "description": "计划类型 - 1:采购 -1:销售",
  13507. "type": "integer"
  13508. },
  13509. "convertratio": {
  13510. "description": "折算系数(套保品种)",
  13511. "type": "number"
  13512. },
  13513. "deliverygoodsid": {
  13514. "description": "现货商品id",
  13515. "type": "integer"
  13516. },
  13517. "diffqty": {
  13518. "description": "套保品种今变动量",
  13519. "type": "number"
  13520. },
  13521. "enumdicname": {
  13522. "description": "单位名称(品类)",
  13523. "type": "string"
  13524. },
  13525. "hedgeplanid": {
  13526. "description": "套保计划id",
  13527. "type": "string"
  13528. },
  13529. "hedgeplanno": {
  13530. "description": "套保计划编号",
  13531. "type": "string"
  13532. },
  13533. "hedgeplanstatus": {
  13534. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13535. "type": "integer"
  13536. },
  13537. "mgunitidname": {
  13538. "description": "单位名称(套保商品)",
  13539. "type": "string"
  13540. },
  13541. "middlegoodscode": {
  13542. "description": "套保品种代码",
  13543. "type": "string"
  13544. },
  13545. "middlegoodsid": {
  13546. "description": "套保品种id",
  13547. "type": "integer"
  13548. },
  13549. "middlegoodsname": {
  13550. "description": "套保品种名称",
  13551. "type": "string"
  13552. },
  13553. "needarbitrageratio": {
  13554. "description": "应套利比例",
  13555. "type": "number"
  13556. },
  13557. "needhedgeratio": {
  13558. "description": "应套保比例",
  13559. "type": "number"
  13560. },
  13561. "pricedqty": {
  13562. "description": "已定价量",
  13563. "type": "number"
  13564. },
  13565. "qty": {
  13566. "description": "合同量",
  13567. "type": "number"
  13568. },
  13569. "tradedate": {
  13570. "description": "交易日(登记日)",
  13571. "type": "string"
  13572. },
  13573. "unitid": {
  13574. "description": "品类单位id",
  13575. "type": "integer"
  13576. },
  13577. "userid": {
  13578. "description": "机构id",
  13579. "type": "integer"
  13580. },
  13581. "wrstandardcode": {
  13582. "description": "品类代码",
  13583. "type": "string"
  13584. },
  13585. "wrstandardid": {
  13586. "description": "品类id",
  13587. "type": "integer"
  13588. },
  13589. "wrstandardname": {
  13590. "description": "品类名称",
  13591. "type": "string"
  13592. }
  13593. }
  13594. },
  13595. "models.Ermcp3ExpourseReport": {
  13596. "type": "object",
  13597. "properties": {
  13598. "accountid": {
  13599. "description": "期货账户ID (作废, 默认为0)",
  13600. "type": "integer"
  13601. },
  13602. "accountname": {
  13603. "description": "机构名称",
  13604. "type": "string"
  13605. },
  13606. "arbitrageqty": {
  13607. "description": "套利量",
  13608. "type": "number"
  13609. },
  13610. "areauserid": {
  13611. "description": "所属机构\\交易用户ID",
  13612. "type": "integer"
  13613. },
  13614. "begindate": {
  13615. "description": "开始交易日",
  13616. "type": "string"
  13617. },
  13618. "buyfutureqty": {
  13619. "description": "买入期货数量",
  13620. "type": "number"
  13621. },
  13622. "buyplanqty": {
  13623. "description": "采购计划数量",
  13624. "type": "number"
  13625. },
  13626. "buypricedqty": {
  13627. "description": "采购合同已定价数量",
  13628. "type": "number"
  13629. },
  13630. "cycletime": {
  13631. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13632. "type": "string"
  13633. },
  13634. "cycletype": {
  13635. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13636. "type": "integer"
  13637. },
  13638. "diffexposure": {
  13639. "description": "变动量(套保敞口)",
  13640. "type": "number"
  13641. },
  13642. "difffutuqty": {
  13643. "description": "变动量(期货)",
  13644. "type": "number"
  13645. },
  13646. "diffhedgeqty": {
  13647. "description": "变动量(现货应套保总量)",
  13648. "type": "number"
  13649. },
  13650. "diffmgqtya": {
  13651. "description": "套保变动量",
  13652. "type": "number"
  13653. },
  13654. "diffmgqtyb": {
  13655. "description": "套利变动量",
  13656. "type": "number"
  13657. },
  13658. "diffqty": {
  13659. "description": "变动量(总敞口)",
  13660. "type": "number"
  13661. },
  13662. "diffspotqty": {
  13663. "description": "变动量(现货)",
  13664. "type": "number"
  13665. },
  13666. "enddate": {
  13667. "description": "结束交易日",
  13668. "type": "string"
  13669. },
  13670. "enumdicname": {
  13671. "description": "单位名称",
  13672. "type": "string"
  13673. },
  13674. "hedgeqty": {
  13675. "description": "套保量",
  13676. "type": "number"
  13677. },
  13678. "mgneedhedgeratio": {
  13679. "description": "套保比例(套保品的)",
  13680. "type": "number"
  13681. },
  13682. "middlegoodsid": {
  13683. "description": "套保品种ID",
  13684. "type": "integer"
  13685. },
  13686. "middlegoodsname": {
  13687. "description": "套保商品名称",
  13688. "type": "string"
  13689. },
  13690. "middlgoodscode": {
  13691. "description": "套保商品代码",
  13692. "type": "string"
  13693. },
  13694. "needarbitrageqty": {
  13695. "description": "应套利量",
  13696. "type": "number"
  13697. },
  13698. "needarbitrageratio": {
  13699. "description": "套利比例(套保品的)",
  13700. "type": "number"
  13701. },
  13702. "needhedgeexposoure": {
  13703. "description": "应套保敞口(套保敞口)",
  13704. "type": "number"
  13705. },
  13706. "needhedgeqty": {
  13707. "description": "应套保量",
  13708. "type": "number"
  13709. },
  13710. "needhedgeratio": {
  13711. "description": "应套保敞口比例",
  13712. "type": "number"
  13713. },
  13714. "oriarbitrageqty": {
  13715. "description": "期初套利量",
  13716. "type": "number"
  13717. },
  13718. "oribuyfutureqty": {
  13719. "description": "期初买入期货数量",
  13720. "type": "number"
  13721. },
  13722. "oribuyplanqty": {
  13723. "description": "期初采购计划数量",
  13724. "type": "number"
  13725. },
  13726. "oribuypricedqty": {
  13727. "description": "期初采购合同已定价数量",
  13728. "type": "number"
  13729. },
  13730. "orihedgeqty": {
  13731. "description": "期初套保量",
  13732. "type": "number"
  13733. },
  13734. "orineedarbitrageqty": {
  13735. "description": "期初应套利量",
  13736. "type": "number"
  13737. },
  13738. "orineedhedgeexposoure": {
  13739. "description": "期初应套保敞口",
  13740. "type": "number"
  13741. },
  13742. "orineedhedgeqty": {
  13743. "description": "期初应套保量",
  13744. "type": "number"
  13745. },
  13746. "orisellfutureqty": {
  13747. "description": "期初卖出期货数量",
  13748. "type": "number"
  13749. },
  13750. "orisellplanqty": {
  13751. "description": "期初销售计划数量",
  13752. "type": "number"
  13753. },
  13754. "orisellpricedqty": {
  13755. "description": "期初销售合同已定价数量",
  13756. "type": "number"
  13757. },
  13758. "oritotalexposure": {
  13759. "description": "期初实时总敞口",
  13760. "type": "number"
  13761. },
  13762. "oritotalfutureqty": {
  13763. "description": "期初期货头寸总量",
  13764. "type": "number"
  13765. },
  13766. "oritotalneedhedgeqty": {
  13767. "description": "期初应套保总量",
  13768. "type": "number"
  13769. },
  13770. "oritotalspotqty": {
  13771. "description": "期初现货头寸总量",
  13772. "type": "number"
  13773. },
  13774. "reckondate": {
  13775. "description": "日照时期(yyyyMMdd)",
  13776. "type": "string"
  13777. },
  13778. "sellfutureqty": {
  13779. "description": "卖出期货数量",
  13780. "type": "number"
  13781. },
  13782. "sellplanqty": {
  13783. "description": "销售计划数量",
  13784. "type": "number"
  13785. },
  13786. "sellpricedqty": {
  13787. "description": "销售合同已定价数量",
  13788. "type": "number"
  13789. },
  13790. "totalexposure": {
  13791. "description": "实时总敞口(总敞口)",
  13792. "type": "number"
  13793. },
  13794. "totalfutureqty": {
  13795. "description": "期货头寸总量(期货总量)",
  13796. "type": "number"
  13797. },
  13798. "totalhedgeratio": {
  13799. "description": "敞口比例",
  13800. "type": "number"
  13801. },
  13802. "totalneedhedgeqty": {
  13803. "description": "应套保总量(现货应套保总量)",
  13804. "type": "number"
  13805. },
  13806. "totalspotqty": {
  13807. "description": "现货头寸总量",
  13808. "type": "number"
  13809. },
  13810. "unitid": {
  13811. "description": "单位id",
  13812. "type": "integer"
  13813. },
  13814. "updatetime": {
  13815. "description": "更新时间",
  13816. "type": "string"
  13817. }
  13818. }
  13819. },
  13820. "models.Ermcp3FinanceReport": {
  13821. "type": "object",
  13822. "properties": {
  13823. "areauserid": {
  13824. "description": "所属机构\\交易用户ID",
  13825. "type": "integer"
  13826. },
  13827. "begindate": {
  13828. "description": "开始交易日",
  13829. "type": "string"
  13830. },
  13831. "biztype": {
  13832. "description": "业务类型 - 1:套保 2:套利",
  13833. "type": "integer"
  13834. },
  13835. "brandname": {
  13836. "description": "品牌名称",
  13837. "type": "string"
  13838. },
  13839. "buypreinvoicedamount": {
  13840. "description": "采购预收票额(预收票额)",
  13841. "type": "number"
  13842. },
  13843. "buyprepaidamount": {
  13844. "description": "采购预付款额(预付货款额)",
  13845. "type": "number"
  13846. },
  13847. "buytodayinvoiceamount": {
  13848. "description": "采购今收票额(今收票额)",
  13849. "type": "number"
  13850. },
  13851. "buytodayrefundamount": {
  13852. "description": "采购今收退款额(今收退款额)",
  13853. "type": "number"
  13854. },
  13855. "buytodaysettleamount": {
  13856. "description": "采购今付款额(今付货款额)",
  13857. "type": "number"
  13858. },
  13859. "buyuninvoicedamount": {
  13860. "description": "采购应收票额(应收票额)",
  13861. "type": "number"
  13862. },
  13863. "buyunpaidamount": {
  13864. "description": "采购应付款额(应付货款额)",
  13865. "type": "number"
  13866. },
  13867. "currencyid": {
  13868. "description": "结算币种ID",
  13869. "type": "integer"
  13870. },
  13871. "currencyname": {
  13872. "description": "币种名称",
  13873. "type": "string"
  13874. },
  13875. "cycletime": {
  13876. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13877. "type": "string"
  13878. },
  13879. "cycletype": {
  13880. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13881. "type": "integer"
  13882. },
  13883. "deliverygoodscode": {
  13884. "description": "现货品种代码",
  13885. "type": "string"
  13886. },
  13887. "deliverygoodsid": {
  13888. "description": "现货品种ID",
  13889. "type": "integer"
  13890. },
  13891. "deliverygoodsname": {
  13892. "description": "现货品种名称",
  13893. "type": "string"
  13894. },
  13895. "enddate": {
  13896. "description": "结束交易日",
  13897. "type": "string"
  13898. },
  13899. "reckondate": {
  13900. "description": "日照时期(yyyyMMdd)",
  13901. "type": "string"
  13902. },
  13903. "sellpreinvoicedamount": {
  13904. "description": "销售预开票额(预开票额)",
  13905. "type": "number"
  13906. },
  13907. "sellprepaidamount": {
  13908. "description": "销售预收款额(预收货款额)",
  13909. "type": "number"
  13910. },
  13911. "selltodayinvoiceamount": {
  13912. "description": "销售今开票额(今开票额)",
  13913. "type": "number"
  13914. },
  13915. "selltodayrefundamount": {
  13916. "description": "销售今付退款额(今付退款额)",
  13917. "type": "number"
  13918. },
  13919. "selltodaysettleamount": {
  13920. "description": "销售今收款额(今收货款额)",
  13921. "type": "number"
  13922. },
  13923. "selluninvoicedamount": {
  13924. "description": "销售应开票额(应开票额)",
  13925. "type": "number"
  13926. },
  13927. "sellunpaidamount": {
  13928. "description": "销售应收款额(应收货款额)",
  13929. "type": "number"
  13930. },
  13931. "spotgoodsbrandid": {
  13932. "description": "现货品牌ID",
  13933. "type": "integer"
  13934. },
  13935. "todaypaysum": {
  13936. "description": "今付款合计",
  13937. "type": "number"
  13938. },
  13939. "todayreceivesum": {
  13940. "description": "今收款合计",
  13941. "type": "number"
  13942. },
  13943. "updatetime": {
  13944. "description": "更新时间",
  13945. "type": "string"
  13946. },
  13947. "wrfactortypeid": {
  13948. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  13949. "type": "integer"
  13950. },
  13951. "wrstandardcode": {
  13952. "description": "品类代码",
  13953. "type": "string"
  13954. },
  13955. "wrstandardid": {
  13956. "description": "现货商品ID",
  13957. "type": "integer"
  13958. },
  13959. "wrstandardname": {
  13960. "description": "品类名称",
  13961. "type": "string"
  13962. }
  13963. }
  13964. },
  13965. "models.Ermcp3Goods": {
  13966. "type": "object",
  13967. "properties": {
  13968. "agreeunit": {
  13969. "description": "合约单位(合约乘数)",
  13970. "type": "number"
  13971. },
  13972. "enumdicname": {
  13973. "description": "单位名称",
  13974. "type": "string"
  13975. },
  13976. "exexchangecode": {
  13977. "description": "交易所代码",
  13978. "type": "string"
  13979. },
  13980. "goodscode": {
  13981. "description": "期货商品代码",
  13982. "type": "string"
  13983. },
  13984. "goodsid": {
  13985. "description": "期货商品id",
  13986. "type": "integer"
  13987. },
  13988. "goodsname": {
  13989. "description": "期货商品名称",
  13990. "type": "string"
  13991. }
  13992. }
  13993. },
  13994. "models.Ermcp3GoodsGroup": {
  13995. "type": "object",
  13996. "required": [
  13997. "areauserid"
  13998. ],
  13999. "properties": {
  14000. "agreeunit": {
  14001. "description": "合约单位",
  14002. "type": "number"
  14003. },
  14004. "areauserid": {
  14005. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  14006. "type": "integer"
  14007. },
  14008. "canshort": {
  14009. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  14010. "type": "integer"
  14011. },
  14012. "closepricemode": {
  14013. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  14014. "type": "integer"
  14015. },
  14016. "createtime": {
  14017. "description": "创建时间",
  14018. "type": "string"
  14019. },
  14020. "creatorid": {
  14021. "description": "创建人",
  14022. "type": "integer"
  14023. },
  14024. "currencyid": {
  14025. "description": "报价货币ID",
  14026. "type": "integer"
  14027. },
  14028. "decimalplace": {
  14029. "description": "报价小数位",
  14030. "type": "integer"
  14031. },
  14032. "enumdicname": {
  14033. "description": "单位名称",
  14034. "type": "string"
  14035. },
  14036. "excludecfg": {
  14037. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  14038. "type": "integer"
  14039. },
  14040. "exexchangeid": {
  14041. "description": "外部交易所ID[通道交易]",
  14042. "type": "integer"
  14043. },
  14044. "goodsgroupid": {
  14045. "description": "商品组ID(自增ID)",
  14046. "type": "integer"
  14047. },
  14048. "goodsgroupname": {
  14049. "description": "商品组名称",
  14050. "type": "string"
  14051. },
  14052. "goodsgroupstatus": {
  14053. "description": "商品组状态 - 1:正常 2:注销",
  14054. "type": "integer"
  14055. },
  14056. "goodunitid": {
  14057. "description": "报价单位ID",
  14058. "type": "integer"
  14059. },
  14060. "groupcategroyid": {
  14061. "description": "品种分类ID",
  14062. "type": "integer"
  14063. },
  14064. "innerdealmode": {
  14065. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  14066. "type": "integer"
  14067. },
  14068. "marketid": {
  14069. "description": "所属市场ID",
  14070. "type": "integer"
  14071. },
  14072. "modifierid": {
  14073. "description": "修改人",
  14074. "type": "integer"
  14075. },
  14076. "modifytime": {
  14077. "description": "修改时间",
  14078. "type": "string"
  14079. },
  14080. "outerdealmode": {
  14081. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  14082. "type": "integer"
  14083. },
  14084. "outergroupcode": {
  14085. "description": "外部商品组代码[通道交易]",
  14086. "type": "string"
  14087. },
  14088. "quoteminunit": {
  14089. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  14090. "type": "integer"
  14091. },
  14092. "quotesourcegroupid": {
  14093. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  14094. "type": "integer"
  14095. },
  14096. "syncgoodsqty": {
  14097. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  14098. "type": "integer"
  14099. }
  14100. }
  14101. },
  14102. "models.Ermcp3GoodsGroupEx": {
  14103. "type": "object",
  14104. "properties": {
  14105. "convertratio": {
  14106. "description": "折算系数(品种系数)",
  14107. "type": "number"
  14108. },
  14109. "enumdicname": {
  14110. "description": "单位名称",
  14111. "type": "string"
  14112. },
  14113. "exexchangecode": {
  14114. "description": "交易所代码",
  14115. "type": "string"
  14116. },
  14117. "glist": {
  14118. "description": "合约列表",
  14119. "type": "array",
  14120. "items": {
  14121. "$ref": "#/definitions/models.Ermcp3Goods"
  14122. }
  14123. },
  14124. "goodsgroupid": {
  14125. "description": "商品组id",
  14126. "type": "integer"
  14127. },
  14128. "goodsgroupname": {
  14129. "description": "商品组名称",
  14130. "type": "string"
  14131. },
  14132. "goodsunitid": {
  14133. "description": "单位id",
  14134. "type": "integer"
  14135. },
  14136. "middlegoodsid": {
  14137. "description": "套保商品id",
  14138. "type": "integer"
  14139. }
  14140. }
  14141. },
  14142. "models.Ermcp3HedgePlan": {
  14143. "type": "object",
  14144. "properties": {
  14145. "accountid": {
  14146. "description": "资金账号",
  14147. "type": "integer"
  14148. },
  14149. "areauserid": {
  14150. "description": "用户ID",
  14151. "type": "integer"
  14152. },
  14153. "audittime": {
  14154. "description": "审核时间",
  14155. "type": "string"
  14156. },
  14157. "contracttype": {
  14158. "description": "计划类型 - 1:采购 -1:销售",
  14159. "type": "integer"
  14160. },
  14161. "convertfactor": {
  14162. "description": "标仓系数",
  14163. "type": "number"
  14164. },
  14165. "createtime": {
  14166. "description": "创建时间",
  14167. "type": "string"
  14168. },
  14169. "currencyid": {
  14170. "description": "币种id",
  14171. "type": "integer"
  14172. },
  14173. "currencyname": {
  14174. "description": "币种名称",
  14175. "type": "string"
  14176. },
  14177. "deliverygoodscode": {
  14178. "description": "现货品种代码",
  14179. "type": "string"
  14180. },
  14181. "deliverygoodsid": {
  14182. "description": "现货品种ID",
  14183. "type": "integer"
  14184. },
  14185. "deliverygoodsname": {
  14186. "description": "现货品种名称",
  14187. "type": "string"
  14188. },
  14189. "enumdicname": {
  14190. "description": "单位名称(现货商品)",
  14191. "type": "string"
  14192. },
  14193. "hedgeplanid": {
  14194. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  14195. "type": "string"
  14196. },
  14197. "hedgeplanno": {
  14198. "description": "套保计划编号(名称)",
  14199. "type": "string"
  14200. },
  14201. "hedgeplanstatus": {
  14202. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14203. "type": "integer"
  14204. },
  14205. "planqty": {
  14206. "description": "计划数量",
  14207. "type": "number"
  14208. },
  14209. "plantime": {
  14210. "description": "计划时间",
  14211. "type": "string"
  14212. },
  14213. "producttype": {
  14214. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14215. "type": "integer"
  14216. },
  14217. "remark": {
  14218. "description": "备注",
  14219. "type": "string"
  14220. },
  14221. "spotgoodsdesc": {
  14222. "description": "商品型号",
  14223. "type": "string"
  14224. },
  14225. "taaccountname": {
  14226. "description": "资金账号名称",
  14227. "type": "string"
  14228. },
  14229. "tradeuserid": {
  14230. "description": "交易用户id",
  14231. "type": "integer"
  14232. },
  14233. "tradeusername": {
  14234. "description": "交易用户名称",
  14235. "type": "string"
  14236. },
  14237. "unitid": {
  14238. "description": "单位id(现货商品)",
  14239. "type": "integer"
  14240. },
  14241. "updatetime": {
  14242. "description": "更新时间",
  14243. "type": "string"
  14244. },
  14245. "wrstandardcode": {
  14246. "description": "品类代码",
  14247. "type": "string"
  14248. },
  14249. "wrstandardid": {
  14250. "description": "品类id",
  14251. "type": "integer"
  14252. },
  14253. "wrstandardname": {
  14254. "description": "品类名称",
  14255. "type": "string"
  14256. },
  14257. "wrunitid": {
  14258. "description": "品类单位id",
  14259. "type": "integer"
  14260. },
  14261. "wrunitidame": {
  14262. "description": "品类单位名称",
  14263. "type": "string"
  14264. }
  14265. }
  14266. },
  14267. "models.Ermcp3MiddleGoodsDetail2": {
  14268. "type": "object",
  14269. "properties": {
  14270. "convertratio": {
  14271. "description": "套保系数(折算系数)",
  14272. "type": "number"
  14273. },
  14274. "gplist": {
  14275. "description": "关联商品组列表",
  14276. "type": "array",
  14277. "items": {
  14278. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14279. }
  14280. },
  14281. "mg": {
  14282. "description": "套保商品信息",
  14283. "type": "object",
  14284. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14285. }
  14286. }
  14287. },
  14288. "models.Ermcp3MiddleGoodsDetailEx": {
  14289. "type": "object",
  14290. "properties": {
  14291. "dglist": {
  14292. "description": "关联的现货品种列表",
  14293. "type": "array",
  14294. "items": {
  14295. "$ref": "#/definitions/models.ErmcpDeliveryGoodsDetail2"
  14296. }
  14297. },
  14298. "gplist": {
  14299. "description": "关联商品组列表",
  14300. "type": "array",
  14301. "items": {
  14302. "$ref": "#/definitions/models.Ermcp3GoodsGroupEx"
  14303. }
  14304. },
  14305. "mg": {
  14306. "description": "套保商品信息",
  14307. "type": "object",
  14308. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  14309. }
  14310. }
  14311. },
  14312. "models.Ermcp3SellBuyContract": {
  14313. "type": "object",
  14314. "properties": {
  14315. "accountid": {
  14316. "description": "期货账户id",
  14317. "type": "string"
  14318. },
  14319. "accountname": {
  14320. "description": "账户名称",
  14321. "type": "string"
  14322. },
  14323. "attachment": {
  14324. "description": "附件",
  14325. "type": "string"
  14326. },
  14327. "audittime": {
  14328. "description": "审核时间",
  14329. "type": "string"
  14330. },
  14331. "biztype": {
  14332. "description": "业务类型 1-套保 2-套利",
  14333. "type": "integer"
  14334. },
  14335. "brandname": {
  14336. "description": "品牌名称",
  14337. "type": "string"
  14338. },
  14339. "contracctstatus": {
  14340. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14341. "type": "integer"
  14342. },
  14343. "contractmargin": {
  14344. "description": "合同保证金",
  14345. "type": "number"
  14346. },
  14347. "contractno": {
  14348. "description": "合同编号",
  14349. "type": "string"
  14350. },
  14351. "contracttype": {
  14352. "description": "合同类型 1-采购, -1-销售",
  14353. "type": "integer"
  14354. },
  14355. "convertfactor": {
  14356. "description": "标仓系数(品类)",
  14357. "type": "number"
  14358. },
  14359. "createtime": {
  14360. "description": "创建时间",
  14361. "type": "string"
  14362. },
  14363. "currencyid": {
  14364. "description": "币种id",
  14365. "type": "integer"
  14366. },
  14367. "currencyname": {
  14368. "description": "币种名称",
  14369. "type": "string"
  14370. },
  14371. "daikaiamount": {
  14372. "description": "应收(开)票额",
  14373. "type": "number"
  14374. },
  14375. "deliveryenddate": {
  14376. "description": "交割结束日",
  14377. "type": "string"
  14378. },
  14379. "deliverygoodscode": {
  14380. "description": "现货品种代码",
  14381. "type": "string"
  14382. },
  14383. "deliverygoodsid": {
  14384. "description": "现货商品ID",
  14385. "type": "integer"
  14386. },
  14387. "deliverygoodsname": {
  14388. "description": "现货品种名称",
  14389. "type": "string"
  14390. },
  14391. "deliverystartdate": {
  14392. "description": "交割开始日",
  14393. "type": "string"
  14394. },
  14395. "enddate": {
  14396. "description": "点价结束日",
  14397. "type": "string"
  14398. },
  14399. "enumdicname": {
  14400. "description": "单位名称",
  14401. "type": "string"
  14402. },
  14403. "goodscode": {
  14404. "description": "点价商品代码",
  14405. "type": "string"
  14406. },
  14407. "goodsid": {
  14408. "description": "点价商品ID",
  14409. "type": "integer"
  14410. },
  14411. "goodsname": {
  14412. "description": "点价商品名称",
  14413. "type": "string"
  14414. },
  14415. "invoiceamount": {
  14416. "description": "已开票额",
  14417. "type": "number"
  14418. },
  14419. "loanamount": {
  14420. "description": "贷款总额=已定价额+调整金额",
  14421. "type": "number"
  14422. },
  14423. "margin": {
  14424. "description": "保证金",
  14425. "type": "number"
  14426. },
  14427. "meruserid": {
  14428. "description": "跟单员id",
  14429. "type": "integer"
  14430. },
  14431. "meruserlogincode": {
  14432. "description": "跟单员登录代码",
  14433. "type": "string"
  14434. },
  14435. "nickname": {
  14436. "description": "账户昵称",
  14437. "type": "string"
  14438. },
  14439. "payamount": {
  14440. "description": "已收付额(收款或付款)",
  14441. "type": "number"
  14442. },
  14443. "preinvoiceamount": {
  14444. "description": "预收(开)票额",
  14445. "type": "number"
  14446. },
  14447. "prepayamount": {
  14448. "description": "预收付额",
  14449. "type": "number"
  14450. },
  14451. "price": {
  14452. "description": "价格",
  14453. "type": "number"
  14454. },
  14455. "pricedamount": {
  14456. "description": "已定价额",
  14457. "type": "number"
  14458. },
  14459. "pricedavg": {
  14460. "description": "已点均价",
  14461. "type": "number"
  14462. },
  14463. "pricedqty": {
  14464. "description": "已定价量",
  14465. "type": "number"
  14466. },
  14467. "pricemove": {
  14468. "description": "升贴水",
  14469. "type": "number"
  14470. },
  14471. "pricetype": {
  14472. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14473. "type": "integer"
  14474. },
  14475. "producttype": {
  14476. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14477. "type": "integer"
  14478. },
  14479. "qty": {
  14480. "description": "合同量",
  14481. "type": "number"
  14482. },
  14483. "reckonadjustamount": {
  14484. "description": "调整金额",
  14485. "type": "number"
  14486. },
  14487. "reckonedamount": {
  14488. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  14489. "type": "number"
  14490. },
  14491. "reckonotheramount": {
  14492. "description": "其它费用",
  14493. "type": "number"
  14494. },
  14495. "reckonrealqty": {
  14496. "description": "已确定量",
  14497. "type": "number"
  14498. },
  14499. "remark": {
  14500. "description": "备注",
  14501. "type": "string"
  14502. },
  14503. "saleuserid": {
  14504. "description": "业务员id",
  14505. "type": "integer"
  14506. },
  14507. "saleuserlogincode": {
  14508. "description": "业务员登录代码",
  14509. "type": "string"
  14510. },
  14511. "spotcontractid": {
  14512. "description": "合同ID",
  14513. "type": "string"
  14514. },
  14515. "spotgoodsbrandid": {
  14516. "description": "现货品牌ID(DGFactoryItem表的ID)",
  14517. "type": "integer"
  14518. },
  14519. "spotgoodsdesc": {
  14520. "description": "商品型号(商品规格)",
  14521. "type": "string"
  14522. },
  14523. "startdate": {
  14524. "description": "点价开始日",
  14525. "type": "string"
  14526. },
  14527. "totalamount": {
  14528. "description": "合计总额",
  14529. "type": "number"
  14530. },
  14531. "tradeuserid": {
  14532. "description": "交易员id",
  14533. "type": "integer"
  14534. },
  14535. "tradeuserlogincode": {
  14536. "description": "交易员登录代码",
  14537. "type": "string"
  14538. },
  14539. "tradeusername": {
  14540. "description": "交易员名称",
  14541. "type": "string"
  14542. },
  14543. "unpayamount": {
  14544. "description": "应收付款额(应支付或应收款)",
  14545. "type": "number"
  14546. },
  14547. "unpricedqty": {
  14548. "description": "未定价量",
  14549. "type": "number"
  14550. },
  14551. "unsureqty": {
  14552. "description": "未确定量",
  14553. "type": "number"
  14554. },
  14555. "userid": {
  14556. "description": "机构ID",
  14557. "type": "integer"
  14558. },
  14559. "wrstandardcode": {
  14560. "description": "品类代码",
  14561. "type": "string"
  14562. },
  14563. "wrstandardid": {
  14564. "description": "品类ID",
  14565. "type": "integer"
  14566. },
  14567. "wrstandardname": {
  14568. "description": "品类名称",
  14569. "type": "string"
  14570. }
  14571. }
  14572. },
  14573. "models.Ermcp3SpotGoodsPrice": {
  14574. "type": "object",
  14575. "properties": {
  14576. "areauserid": {
  14577. "description": "所属机构id",
  14578. "type": "integer"
  14579. },
  14580. "brandname": {
  14581. "description": "品牌名称",
  14582. "type": "string"
  14583. },
  14584. "currencyid": {
  14585. "description": "报价货币ID",
  14586. "type": "integer"
  14587. },
  14588. "currencyname": {
  14589. "description": "币种名称",
  14590. "type": "string"
  14591. },
  14592. "deliverygoodscode": {
  14593. "description": "现货商品代码",
  14594. "type": "string"
  14595. },
  14596. "deliverygoodsid": {
  14597. "description": "现货商品id",
  14598. "type": "integer"
  14599. },
  14600. "deliverygoodsname": {
  14601. "description": "现货商品名称",
  14602. "type": "string"
  14603. },
  14604. "enumdicname": {
  14605. "description": "现货商品单位名称",
  14606. "type": "string"
  14607. },
  14608. "gbenumdicname": {
  14609. "description": "品类单位名称",
  14610. "type": "string"
  14611. },
  14612. "gmunitid": {
  14613. "description": "品类单位id",
  14614. "type": "integer"
  14615. },
  14616. "isvalid": {
  14617. "description": "是否有效 - 0:无效 1:有效",
  14618. "type": "integer"
  14619. },
  14620. "operateid": {
  14621. "description": "最后操作人",
  14622. "type": "integer"
  14623. },
  14624. "operatesrc": {
  14625. "description": "最后操作来源 - 1:管理端 2:终端",
  14626. "type": "integer"
  14627. },
  14628. "operatetime": {
  14629. "description": "最后操作时间",
  14630. "type": "string"
  14631. },
  14632. "operatorname": {
  14633. "description": "操作人名称",
  14634. "type": "string"
  14635. },
  14636. "spotgoodsbrandid": {
  14637. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14638. "type": "integer"
  14639. },
  14640. "spotgoodsprice": {
  14641. "description": "现货价格",
  14642. "type": "number"
  14643. },
  14644. "tradedate": {
  14645. "description": "交易日(yyyyMMdd)",
  14646. "type": "string"
  14647. },
  14648. "unitid": {
  14649. "description": "现货商品单位id",
  14650. "type": "integer"
  14651. },
  14652. "wrstandardcode": {
  14653. "description": "品类代码",
  14654. "type": "string"
  14655. },
  14656. "wrstandardid": {
  14657. "description": "现货品类ID(通用则为0)",
  14658. "type": "integer"
  14659. },
  14660. "wrstandardname": {
  14661. "description": "品类名称",
  14662. "type": "string"
  14663. }
  14664. }
  14665. },
  14666. "models.Ermcp3SpotGoodsPriceLog": {
  14667. "type": "object",
  14668. "properties": {
  14669. "areauserid": {
  14670. "description": "所属机构id",
  14671. "type": "integer"
  14672. },
  14673. "brandname": {
  14674. "description": "品牌名称",
  14675. "type": "string"
  14676. },
  14677. "currencyid": {
  14678. "description": "报价货币ID",
  14679. "type": "integer"
  14680. },
  14681. "deliverygoodscode": {
  14682. "description": "现货商品代码",
  14683. "type": "string"
  14684. },
  14685. "deliverygoodsid": {
  14686. "description": "现货商品id",
  14687. "type": "integer"
  14688. },
  14689. "deliverygoodsname": {
  14690. "description": "现货商品名称",
  14691. "type": "string"
  14692. },
  14693. "enumdicname": {
  14694. "description": "现货商品单位名称",
  14695. "type": "string"
  14696. },
  14697. "gbenumdicname": {
  14698. "description": "品类单位名称",
  14699. "type": "string"
  14700. },
  14701. "gmunitid": {
  14702. "description": "品类单位id",
  14703. "type": "integer"
  14704. },
  14705. "logid": {
  14706. "description": "日志id",
  14707. "type": "integer"
  14708. },
  14709. "operateid": {
  14710. "description": "最后操作人",
  14711. "type": "integer"
  14712. },
  14713. "operatesrc": {
  14714. "description": "最后操作来源 - 1:管理端 2:终端",
  14715. "type": "integer"
  14716. },
  14717. "operatetime": {
  14718. "description": "最后操作时间",
  14719. "type": "string"
  14720. },
  14721. "operatorname": {
  14722. "description": "操作人名称",
  14723. "type": "string"
  14724. },
  14725. "spotgoodsbrandid": {
  14726. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14727. "type": "integer"
  14728. },
  14729. "spotgoodsprice": {
  14730. "description": "现货价格",
  14731. "type": "number"
  14732. },
  14733. "tradedate": {
  14734. "description": "交易日(yyyyMMdd)",
  14735. "type": "string"
  14736. },
  14737. "unitid": {
  14738. "description": "现货商品单位id",
  14739. "type": "integer"
  14740. },
  14741. "wrstandardcode": {
  14742. "description": "品类代码",
  14743. "type": "string"
  14744. },
  14745. "wrstandardid": {
  14746. "description": "现货品类ID(通用则为0)",
  14747. "type": "integer"
  14748. },
  14749. "wrstandardname": {
  14750. "description": "品类名称",
  14751. "type": "string"
  14752. }
  14753. }
  14754. },
  14755. "models.Ermcp3Wrstandard": {
  14756. "type": "object",
  14757. "properties": {
  14758. "areauserid": {
  14759. "description": "所属机构",
  14760. "type": "integer"
  14761. },
  14762. "convertfactor": {
  14763. "description": "标仓系数",
  14764. "type": "number"
  14765. },
  14766. "createtime": {
  14767. "description": "创建时间",
  14768. "type": "string"
  14769. },
  14770. "creatorid": {
  14771. "description": "创建人",
  14772. "type": "integer"
  14773. },
  14774. "deliverygoodsid": {
  14775. "description": "现货品种ID",
  14776. "type": "integer"
  14777. },
  14778. "enumdicname": {
  14779. "description": "品类单位名称",
  14780. "type": "string"
  14781. },
  14782. "isvalid": {
  14783. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14784. "type": "integer"
  14785. },
  14786. "minivalue": {
  14787. "description": "最小变动值",
  14788. "type": "integer"
  14789. },
  14790. "minivaluedp": {
  14791. "description": "最小变动值小数位",
  14792. "type": "integer"
  14793. },
  14794. "realminivalue": {
  14795. "description": "实际最小变动值",
  14796. "type": "integer"
  14797. },
  14798. "realminivaluedp": {
  14799. "description": "实际最小变动值小数位",
  14800. "type": "integer"
  14801. },
  14802. "remark": {
  14803. "description": "备注",
  14804. "type": "string"
  14805. },
  14806. "unitid": {
  14807. "description": "品类单位ID",
  14808. "type": "integer"
  14809. },
  14810. "updatetime": {
  14811. "description": "更新时间",
  14812. "type": "string"
  14813. },
  14814. "wrstandardcode": {
  14815. "description": "品类代码",
  14816. "type": "string"
  14817. },
  14818. "wrstandardid": {
  14819. "description": "品类ID(SEQ_WRSTANDARD)",
  14820. "type": "integer"
  14821. },
  14822. "wrstandardname": {
  14823. "description": "品类名称",
  14824. "type": "string"
  14825. }
  14826. }
  14827. },
  14828. "models.ErmcpAreaSpotDetailModel": {
  14829. "type": "object",
  14830. "properties": {
  14831. "contracttype": {
  14832. "description": "合同类型 1-采购 -1-销售",
  14833. "type": "integer"
  14834. },
  14835. "createtime": {
  14836. "description": "创建时间",
  14837. "type": "string"
  14838. },
  14839. "enumdicname": {
  14840. "description": "现货商品单位名称",
  14841. "type": "string"
  14842. },
  14843. "logtype": {
  14844. "description": "记录类型 1-套保 2-现货合同",
  14845. "type": "integer"
  14846. },
  14847. "qty": {
  14848. "description": "数量",
  14849. "type": "number"
  14850. },
  14851. "recordname": {
  14852. "description": "类型名称",
  14853. "type": "string"
  14854. },
  14855. "relatedid": {
  14856. "description": "套保计划ID/现货合同ID",
  14857. "type": "string"
  14858. },
  14859. "relatedno": {
  14860. "description": "编号",
  14861. "type": "string"
  14862. },
  14863. "strtime": {
  14864. "description": "时间",
  14865. "type": "string"
  14866. },
  14867. "wrstandardcode": {
  14868. "description": "现货商品代码",
  14869. "type": "string"
  14870. },
  14871. "wrstandardname": {
  14872. "description": "现货商品名称",
  14873. "type": "string"
  14874. }
  14875. }
  14876. },
  14877. "models.ErmcpAvalidGoodsGroupModel": {
  14878. "type": "object",
  14879. "properties": {
  14880. "goodsgroupid": {
  14881. "description": "期货品种id",
  14882. "type": "integer"
  14883. },
  14884. "goodsgroupname": {
  14885. "description": "期货品种名称",
  14886. "type": "string"
  14887. },
  14888. "goodunitid": {
  14889. "description": "品种单位id",
  14890. "type": "integer"
  14891. },
  14892. "goodunitname": {
  14893. "description": "品种单位名称",
  14894. "type": "string"
  14895. },
  14896. "outergroupcode": {
  14897. "description": "期货品种代码",
  14898. "type": "string"
  14899. }
  14900. }
  14901. },
  14902. "models.ErmcpBizGroupEx": {
  14903. "type": "object",
  14904. "properties": {
  14905. "acclist": {
  14906. "description": "账号列表",
  14907. "type": "array",
  14908. "items": {
  14909. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  14910. }
  14911. },
  14912. "bizgroupid": {
  14913. "description": "业务分组id",
  14914. "type": "integer"
  14915. },
  14916. "biztype": {
  14917. "description": "业务类型 1-套保 2-套利",
  14918. "type": "integer"
  14919. },
  14920. "wrlist": {
  14921. "description": "现货商品表",
  14922. "type": "array",
  14923. "items": {
  14924. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  14925. }
  14926. }
  14927. }
  14928. },
  14929. "models.ErmcpBizGroupSpotGoods": {
  14930. "type": "object",
  14931. "properties": {
  14932. "areauserid": {
  14933. "description": "所属机构id",
  14934. "type": "integer"
  14935. },
  14936. "bizgroupid": {
  14937. "description": "分组id",
  14938. "type": "integer"
  14939. },
  14940. "biztype": {
  14941. "description": "业务类型 1-套保 2-套利",
  14942. "type": "integer"
  14943. },
  14944. "deliverygoodscode": {
  14945. "description": "现货商品代码",
  14946. "type": "string"
  14947. },
  14948. "deliverygoodsid": {
  14949. "description": "现货商品id",
  14950. "type": "integer"
  14951. },
  14952. "deliverygoodsname": {
  14953. "description": "现货商品名称",
  14954. "type": "string"
  14955. },
  14956. "unitid": {
  14957. "description": "现货商品单位id",
  14958. "type": "integer"
  14959. }
  14960. }
  14961. },
  14962. "models.ErmcpBizGroupTaAccount": {
  14963. "type": "object",
  14964. "properties": {
  14965. "accountid": {
  14966. "description": "账号id",
  14967. "type": "integer"
  14968. },
  14969. "accountname": {
  14970. "description": "账号名称",
  14971. "type": "string"
  14972. },
  14973. "areauserid": {
  14974. "description": "所属机构id",
  14975. "type": "integer"
  14976. },
  14977. "bizgroupid": {
  14978. "description": "业务分组id",
  14979. "type": "integer"
  14980. },
  14981. "ismain": {
  14982. "description": "是否主账号 1-是 0-否",
  14983. "type": "integer"
  14984. }
  14985. }
  14986. },
  14987. "models.ErmcpDGFactoryItem": {
  14988. "type": "object",
  14989. "properties": {
  14990. "areauserid": {
  14991. "description": "用户id",
  14992. "type": "integer"
  14993. },
  14994. "deliverygoodsid": {
  14995. "description": "现货品种ID",
  14996. "type": "integer"
  14997. },
  14998. "dgfactoryitemid": {
  14999. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  15000. "type": "integer"
  15001. },
  15002. "dgfactoryitemtypeid": {
  15003. "description": "要素项类型",
  15004. "type": "integer"
  15005. },
  15006. "dgfactoryitemvalue": {
  15007. "description": "要素项值(类型为仓库时填写仓库名称)",
  15008. "type": "string"
  15009. },
  15010. "isvalid": {
  15011. "description": "是否有效 - 0:无效 1:有效",
  15012. "type": "integer"
  15013. },
  15014. "orderindex": {
  15015. "description": "顺序",
  15016. "type": "integer"
  15017. },
  15018. "warehouseid": {
  15019. "description": "仓库ID(类型为仓库时填写)",
  15020. "type": "integer"
  15021. }
  15022. }
  15023. },
  15024. "models.ErmcpDeliveryGoods": {
  15025. "type": "object",
  15026. "properties": {
  15027. "agreeunit": {
  15028. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  15029. "type": "integer"
  15030. },
  15031. "areauserid": {
  15032. "description": "所属机构",
  15033. "type": "integer"
  15034. },
  15035. "auditflag": {
  15036. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  15037. "type": "integer"
  15038. },
  15039. "categoryid": {
  15040. "description": "类别ID(SEQ_WRCATEGORY)",
  15041. "type": "integer"
  15042. },
  15043. "deliverygoodscode": {
  15044. "description": "现货品种代码",
  15045. "type": "string"
  15046. },
  15047. "deliverygoodsid": {
  15048. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  15049. "type": "integer"
  15050. },
  15051. "deliverygoodsname": {
  15052. "description": "现货品种名称",
  15053. "type": "string"
  15054. },
  15055. "deliverygoodstype": {
  15056. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  15057. "type": "integer"
  15058. },
  15059. "dgstatus": {
  15060. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  15061. "type": "integer"
  15062. },
  15063. "enumdicname": {
  15064. "description": "现货品种单位名称",
  15065. "type": "string"
  15066. },
  15067. "goodsunitid": {
  15068. "description": "现货品种单位ID",
  15069. "type": "integer"
  15070. },
  15071. "isvalid": {
  15072. "description": "是否有效 - 0:无效 1:有效",
  15073. "type": "integer"
  15074. },
  15075. "qtydecimalplace": {
  15076. "description": "成交量小数位",
  15077. "type": "integer"
  15078. },
  15079. "remark": {
  15080. "description": "备注",
  15081. "type": "string"
  15082. },
  15083. "standardqty": {
  15084. "description": "标准数量(库位数量) [标准品特有]",
  15085. "type": "integer"
  15086. },
  15087. "standardqtyrange": {
  15088. "description": "标准数量偏差范围 [标准品特有]",
  15089. "type": "integer"
  15090. }
  15091. }
  15092. },
  15093. "models.ErmcpDeliveryGoodsDetail2": {
  15094. "type": "object",
  15095. "properties": {
  15096. "convertratio": {
  15097. "description": "套保系数(折算系数)",
  15098. "type": "number"
  15099. },
  15100. "data": {
  15101. "description": "现货商品基本信息(交割品种)",
  15102. "type": "object",
  15103. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15104. },
  15105. "gblist": {
  15106. "description": "品牌列表",
  15107. "type": "array",
  15108. "items": {
  15109. "$ref": "#/definitions/models.Ermcp3Brand"
  15110. }
  15111. },
  15112. "gmlist": {
  15113. "description": "品类列表(仓单标准)",
  15114. "type": "array",
  15115. "items": {
  15116. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15117. }
  15118. }
  15119. }
  15120. },
  15121. "models.ErmcpDeliveryGoodsDetailEx": {
  15122. "type": "object",
  15123. "properties": {
  15124. "data": {
  15125. "description": "现货商品基本信息(交割品种)",
  15126. "type": "object",
  15127. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  15128. },
  15129. "gblist": {
  15130. "description": "品牌列表",
  15131. "type": "array",
  15132. "items": {
  15133. "$ref": "#/definitions/models.Ermcp3Brand"
  15134. }
  15135. },
  15136. "gmlist": {
  15137. "description": "品类列表(仓单标准)",
  15138. "type": "array",
  15139. "items": {
  15140. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  15141. }
  15142. },
  15143. "mgList": {
  15144. "description": "套保列表",
  15145. "type": "array",
  15146. "items": {
  15147. "$ref": "#/definitions/models.Ermcp3MiddleGoodsDetail2"
  15148. }
  15149. }
  15150. }
  15151. },
  15152. "models.ErmcpExposureDetailModel": {
  15153. "type": "object",
  15154. "properties": {
  15155. "areauserid": {
  15156. "description": "机构ID",
  15157. "type": "integer"
  15158. },
  15159. "changeQty": {
  15160. "description": "套保变动量",
  15161. "type": "number"
  15162. },
  15163. "contracttype": {
  15164. "description": "现货合同类型 - 1:采购 -1:销售",
  15165. "type": "integer"
  15166. },
  15167. "convertfactor": {
  15168. "description": "标仓系数",
  15169. "type": "number"
  15170. },
  15171. "convertratio": {
  15172. "description": "套保系数",
  15173. "type": "number"
  15174. },
  15175. "createtime": {
  15176. "description": "时间",
  15177. "type": "string"
  15178. },
  15179. "enumdicname": {
  15180. "description": "现货商品单位名称",
  15181. "type": "string"
  15182. },
  15183. "logtype": {
  15184. "description": "类型 - 1:套保计划 2:现货合同",
  15185. "type": "integer"
  15186. },
  15187. "middlegoodsId": {
  15188. "description": "套保商品id",
  15189. "type": "integer"
  15190. },
  15191. "middlegoodscode": {
  15192. "description": "套保商品代码",
  15193. "type": "string"
  15194. },
  15195. "middlegoodsname": {
  15196. "description": "套保商品名称",
  15197. "type": "string"
  15198. },
  15199. "qty": {
  15200. "description": "数量",
  15201. "type": "number"
  15202. },
  15203. "relateNo": {
  15204. "description": "现货合同/套保计划编号",
  15205. "type": "string"
  15206. },
  15207. "wrstandardcode": {
  15208. "description": "现货商品代码",
  15209. "type": "string"
  15210. },
  15211. "wrstandardid": {
  15212. "description": "现货商品ID",
  15213. "type": "integer"
  15214. },
  15215. "wrstandardname": {
  15216. "description": "现货商品名称",
  15217. "type": "string"
  15218. }
  15219. }
  15220. },
  15221. "models.ErmcpExposurePostion": {
  15222. "type": "object",
  15223. "properties": {
  15224. "agreeunit": {
  15225. "description": "合约单位",
  15226. "type": "string"
  15227. },
  15228. "areauserid": {
  15229. "description": "所属机构id",
  15230. "type": "integer"
  15231. },
  15232. "convertratio": {
  15233. "description": "期货品种系数(折算系数)",
  15234. "type": "number"
  15235. },
  15236. "curqty": {
  15237. "description": "当前持仓",
  15238. "type": "integer"
  15239. },
  15240. "diffhedgeqty": {
  15241. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  15242. "type": "number"
  15243. },
  15244. "diffqty": {
  15245. "description": "持仓变动量=当前持仓-昨日持仓",
  15246. "type": "integer"
  15247. },
  15248. "goodscode": {
  15249. "description": "商品代码",
  15250. "type": "string"
  15251. },
  15252. "goodsid": {
  15253. "description": "商品id",
  15254. "type": "integer"
  15255. },
  15256. "goodsname": {
  15257. "description": "商品名称",
  15258. "type": "string"
  15259. },
  15260. "middlegoodsid": {
  15261. "description": "套保商品id",
  15262. "type": "integer"
  15263. },
  15264. "ydqty": {
  15265. "description": "昨日持仓",
  15266. "type": "integer"
  15267. }
  15268. }
  15269. },
  15270. "models.ErmcpFuturesCompany": {
  15271. "type": "object",
  15272. "properties": {
  15273. "brokerid": {
  15274. "description": "经纪公司代码",
  15275. "type": "string"
  15276. },
  15277. "channeladdress": {
  15278. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  15279. "type": "string"
  15280. },
  15281. "channelid": {
  15282. "description": "对冲渠道ID",
  15283. "type": "string"
  15284. },
  15285. "createtime": {
  15286. "description": "创建时间",
  15287. "type": "string"
  15288. },
  15289. "creatorid": {
  15290. "description": "创建人",
  15291. "type": "string"
  15292. },
  15293. "fcid": {
  15294. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  15295. "type": "integer"
  15296. },
  15297. "fcname": {
  15298. "description": "期货公司名称",
  15299. "type": "string"
  15300. },
  15301. "isvalid": {
  15302. "description": "是否有效 - 0:无效 1:有效",
  15303. "type": "integer"
  15304. },
  15305. "mhpaddress": {
  15306. "description": "MHP服务地址(IP:Port)",
  15307. "type": "string"
  15308. },
  15309. "riskrulegroupid": {
  15310. "description": "风控规则组ID",
  15311. "type": "string"
  15312. },
  15313. "tradefeetmpid": {
  15314. "description": "手续费模板ID[TradeConfigTmpType为2]",
  15315. "type": "string"
  15316. },
  15317. "trademargintmpid": {
  15318. "description": "保证金模板ID [TradeConfigTmpType为1]",
  15319. "type": "string"
  15320. },
  15321. "traderatetmpid": {
  15322. "description": "汇率模板ID[TradeConfigTmpType为3]",
  15323. "type": "string"
  15324. },
  15325. "updatetime": {
  15326. "description": "更新时间",
  15327. "type": "string"
  15328. },
  15329. "updatorid": {
  15330. "description": "更新人",
  15331. "type": "string"
  15332. }
  15333. }
  15334. },
  15335. "models.ErmcpGGConvertCfg": {
  15336. "type": "object",
  15337. "properties": {
  15338. "convertratio": {
  15339. "description": "折算系数",
  15340. "type": "number"
  15341. },
  15342. "destgoodsgroupid": {
  15343. "description": "目标品种ID",
  15344. "type": "integer"
  15345. },
  15346. "dstcode": {
  15347. "description": "目录品种代码",
  15348. "type": "string"
  15349. },
  15350. "dstexchangecode": {
  15351. "description": "目标期货交易所",
  15352. "type": "string"
  15353. },
  15354. "dstname": {
  15355. "description": "目标品种名称",
  15356. "type": "string"
  15357. },
  15358. "dstunitid": {
  15359. "description": "目标品种单位ID",
  15360. "type": "integer"
  15361. },
  15362. "dstunitidname": {
  15363. "description": "目标品种单位名称",
  15364. "type": "string"
  15365. },
  15366. "modifytime": {
  15367. "description": "修改时间",
  15368. "type": "string"
  15369. },
  15370. "srccode": {
  15371. "description": "源品种代码",
  15372. "type": "string"
  15373. },
  15374. "srcexchangecode": {
  15375. "description": "源期货交易所",
  15376. "type": "string"
  15377. },
  15378. "srcgoodsgroupid": {
  15379. "description": "源品种ID",
  15380. "type": "integer"
  15381. },
  15382. "srcname": {
  15383. "description": "源品种名称",
  15384. "type": "string"
  15385. },
  15386. "srcunitid": {
  15387. "description": "源品种单位ID",
  15388. "type": "integer"
  15389. },
  15390. "srcunitidname": {
  15391. "description": "源品种单位名称",
  15392. "type": "string"
  15393. }
  15394. }
  15395. },
  15396. "models.ErmcpGoodsBrand": {
  15397. "type": "object",
  15398. "properties": {
  15399. "areauserid": {
  15400. "description": "所属机构",
  15401. "type": "integer"
  15402. },
  15403. "brandid": {
  15404. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  15405. "type": "integer"
  15406. },
  15407. "brandname": {
  15408. "description": "品牌名称",
  15409. "type": "string"
  15410. },
  15411. "createtime": {
  15412. "description": "创建时间",
  15413. "type": "string"
  15414. },
  15415. "creatorid": {
  15416. "description": "创建人",
  15417. "type": "integer"
  15418. },
  15419. "creatorsrc": {
  15420. "description": "创建人来源 - 1:管理端 2:终端",
  15421. "type": "integer"
  15422. },
  15423. "deliverygoodsid": {
  15424. "description": "现货品种ID",
  15425. "type": "integer"
  15426. },
  15427. "isvalid": {
  15428. "description": "是否有效 - 0:无效 1:有效",
  15429. "type": "integer"
  15430. },
  15431. "updatetime": {
  15432. "description": "更新时间",
  15433. "type": "string"
  15434. },
  15435. "updatorid": {
  15436. "description": "更新人",
  15437. "type": "integer"
  15438. },
  15439. "updatorsrc": {
  15440. "description": "更新人来源 - 1:管理端 2:终端",
  15441. "type": "integer"
  15442. },
  15443. "wrstandardid": {
  15444. "description": "现货商品ID",
  15445. "type": "integer"
  15446. }
  15447. }
  15448. },
  15449. "models.ErmcpGoodsModel": {
  15450. "type": "object",
  15451. "properties": {
  15452. "areauserid": {
  15453. "description": "所属机构",
  15454. "type": "integer"
  15455. },
  15456. "convertfactor": {
  15457. "description": "标仓系数",
  15458. "type": "number"
  15459. },
  15460. "createtime": {
  15461. "description": "创建时间",
  15462. "type": "string"
  15463. },
  15464. "creatorid": {
  15465. "description": "创建人",
  15466. "type": "integer"
  15467. },
  15468. "creatorsrc": {
  15469. "description": "创建人来源 - 1:管理端 2:终端",
  15470. "type": "integer"
  15471. },
  15472. "deliverygoodsid": {
  15473. "description": "现货品种ID",
  15474. "type": "integer"
  15475. },
  15476. "isvalid": {
  15477. "description": "是否有效 - 0:无效 1:有效",
  15478. "type": "integer"
  15479. },
  15480. "modelid": {
  15481. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  15482. "type": "integer"
  15483. },
  15484. "modelname": {
  15485. "description": "型号名称",
  15486. "type": "string"
  15487. },
  15488. "updatetime": {
  15489. "description": "更新时间",
  15490. "type": "string"
  15491. },
  15492. "updatorid": {
  15493. "description": "更新人",
  15494. "type": "integer"
  15495. },
  15496. "updatorsrc": {
  15497. "description": "更新人来源 - 1:管理端 2:终端",
  15498. "type": "integer"
  15499. },
  15500. "wrstandardid": {
  15501. "description": "现货商品ID",
  15502. "type": "integer"
  15503. }
  15504. }
  15505. },
  15506. "models.ErmcpHedgePosition": {
  15507. "type": "object",
  15508. "properties": {
  15509. "accountid": {
  15510. "description": "资金账号[外部母账户]",
  15511. "type": "integer"
  15512. },
  15513. "curbuyposition": {
  15514. "description": "期末买头寸",
  15515. "type": "integer"
  15516. },
  15517. "cursellposition": {
  15518. "description": "期末卖头寸",
  15519. "type": "integer"
  15520. },
  15521. "curtdbuyposition": {
  15522. "description": "期末今日买头寸",
  15523. "type": "integer"
  15524. },
  15525. "curtdsellposition": {
  15526. "description": "期末今日卖头寸",
  15527. "type": "integer"
  15528. },
  15529. "curydbuyposition": {
  15530. "description": "期末上日买头寸",
  15531. "type": "integer"
  15532. },
  15533. "curydsellposition": {
  15534. "description": "期末上日卖头寸",
  15535. "type": "integer"
  15536. },
  15537. "decreaseqty": {
  15538. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  15539. "type": "integer"
  15540. },
  15541. "fretdbuyposition": {
  15542. "description": "冻结今日买头寸",
  15543. "type": "integer"
  15544. },
  15545. "fretdsellposition": {
  15546. "description": "冻结今日卖头寸",
  15547. "type": "integer"
  15548. },
  15549. "freydbuyposition": {
  15550. "description": "冻结上日买头寸",
  15551. "type": "integer"
  15552. },
  15553. "freydsellposition": {
  15554. "description": "冻结上日卖头寸",
  15555. "type": "integer"
  15556. },
  15557. "goodscode": {
  15558. "description": "商品代码",
  15559. "type": "string"
  15560. },
  15561. "goodsid": {
  15562. "description": "商品id",
  15563. "type": "integer"
  15564. },
  15565. "goodsname": {
  15566. "description": "商品名称",
  15567. "type": "string"
  15568. },
  15569. "hedgeaccountcode": {
  15570. "description": "对冲账号",
  15571. "type": "string"
  15572. },
  15573. "hedgegoodsid": {
  15574. "description": "对冲合约ID",
  15575. "type": "integer"
  15576. },
  15577. "increaseqty": {
  15578. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  15579. "type": "integer"
  15580. },
  15581. "marketid": {
  15582. "description": "市场ID",
  15583. "type": "integer"
  15584. },
  15585. "relateduserid": {
  15586. "description": "关联用户id",
  15587. "type": "integer"
  15588. },
  15589. "totalcurqty": {
  15590. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  15591. "type": "integer"
  15592. },
  15593. "totalydqty": {
  15594. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  15595. "type": "integer"
  15596. },
  15597. "tradedate": {
  15598. "description": "交易日(yyyyMMdd)",
  15599. "type": "string"
  15600. },
  15601. "ydbuyposition": {
  15602. "description": "期初买头寸",
  15603. "type": "integer"
  15604. },
  15605. "ydsellposition": {
  15606. "description": "期初卖头寸",
  15607. "type": "integer"
  15608. }
  15609. }
  15610. },
  15611. "models.ErmcpHedgePositionDetail": {
  15612. "type": "object",
  15613. "properties": {
  15614. "buyorsell": {
  15615. "description": "买卖方向 0-买 1-卖",
  15616. "type": "integer"
  15617. },
  15618. "channelbuildtype": {
  15619. "description": "开平方向 1-建仓 2-平仓",
  15620. "type": "integer"
  15621. },
  15622. "goodscode": {
  15623. "description": "商品代码",
  15624. "type": "string"
  15625. },
  15626. "goodsname": {
  15627. "description": "商品名称",
  15628. "type": "string"
  15629. },
  15630. "hedgegoodsid": {
  15631. "description": "商品id",
  15632. "type": "integer"
  15633. },
  15634. "tradeqty": {
  15635. "description": "数量(成交数量)",
  15636. "type": "integer"
  15637. },
  15638. "tradetime": {
  15639. "description": "时间(成交时间)",
  15640. "type": "string"
  15641. }
  15642. }
  15643. },
  15644. "models.ErmcpHisExposure": {
  15645. "type": "object",
  15646. "properties": {
  15647. "needhedgeexposoure": {
  15648. "description": "应套保敞口",
  15649. "type": "number"
  15650. },
  15651. "reckondate": {
  15652. "description": "日照时期(yyyyMMdd)",
  15653. "type": "string"
  15654. },
  15655. "totalexposure": {
  15656. "description": "总敞口",
  15657. "type": "number"
  15658. }
  15659. }
  15660. },
  15661. "models.ErmcpHisExposureS": {
  15662. "type": "object",
  15663. "properties": {
  15664. "data": {
  15665. "description": "历史敞口",
  15666. "type": "array",
  15667. "items": {
  15668. "$ref": "#/definitions/models.ErmcpHisExposure"
  15669. }
  15670. },
  15671. "enumdicname": {
  15672. "description": "单位名称",
  15673. "type": "string"
  15674. },
  15675. "middlegoodscode": {
  15676. "description": "套保品种代码",
  15677. "type": "string"
  15678. },
  15679. "middlegoodsid": {
  15680. "description": "套保品种ID",
  15681. "type": "integer"
  15682. },
  15683. "middlegoodsname": {
  15684. "description": "套保品种名称",
  15685. "type": "string"
  15686. }
  15687. }
  15688. },
  15689. "models.ErmcpLoginTaAccount": {
  15690. "type": "object",
  15691. "properties": {
  15692. "accountid": {
  15693. "description": "账号id",
  15694. "type": "integer"
  15695. },
  15696. "accountname": {
  15697. "description": "账号名称",
  15698. "type": "string"
  15699. }
  15700. }
  15701. },
  15702. "models.ErmcpLoginUser": {
  15703. "type": "object",
  15704. "properties": {
  15705. "acclist": {
  15706. "description": "关联资金账号",
  15707. "type": "array",
  15708. "items": {
  15709. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  15710. }
  15711. },
  15712. "accountname": {
  15713. "description": "用户名称",
  15714. "type": "string"
  15715. },
  15716. "clientroleid": {
  15717. "description": "角色id(usertype=2)",
  15718. "type": "integer"
  15719. },
  15720. "createtime": {
  15721. "description": "创建时间",
  15722. "type": "string"
  15723. },
  15724. "logincode": {
  15725. "description": "登录代码",
  15726. "type": "string"
  15727. },
  15728. "loginid": {
  15729. "description": "登录id(LOGINID)",
  15730. "type": "integer"
  15731. },
  15732. "loginname": {
  15733. "description": "登录名称(loginaccount表中的accountname字段)",
  15734. "type": "string"
  15735. },
  15736. "loginstatus": {
  15737. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  15738. "type": "integer"
  15739. },
  15740. "memberuserid": {
  15741. "description": "所属会员id",
  15742. "type": "integer"
  15743. },
  15744. "mobile": {
  15745. "description": "手机号",
  15746. "type": "string"
  15747. },
  15748. "modifytime": {
  15749. "description": "修改时间",
  15750. "type": "string"
  15751. },
  15752. "password": {
  15753. "description": "密码(不可解密)",
  15754. "type": "string"
  15755. },
  15756. "rolename": {
  15757. "description": "角色名称",
  15758. "type": "string"
  15759. },
  15760. "rolestatus": {
  15761. "description": "角色状态 1-启用 2-停用",
  15762. "type": "integer"
  15763. },
  15764. "roletype": {
  15765. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  15766. "type": "string"
  15767. },
  15768. "userid": {
  15769. "description": "用户id",
  15770. "type": "integer"
  15771. },
  15772. "usertype": {
  15773. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  15774. "type": "integer"
  15775. }
  15776. }
  15777. },
  15778. "models.ErmcpLoginUserEx": {
  15779. "type": "object",
  15780. "properties": {
  15781. "accountstatus": {
  15782. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  15783. "type": "integer"
  15784. },
  15785. "mobile": {
  15786. "description": "手机号",
  15787. "type": "string"
  15788. },
  15789. "querytype": {
  15790. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  15791. "type": "integer"
  15792. },
  15793. "roleid": {
  15794. "description": "角色id(交易账户-\u003e用户id)",
  15795. "type": "integer"
  15796. },
  15797. "rolename": {
  15798. "description": "角色名称(交易账户-\u003e用户名称)",
  15799. "type": "string"
  15800. },
  15801. "userlist": {
  15802. "description": "用户列表",
  15803. "type": "array",
  15804. "items": {
  15805. "$ref": "#/definitions/models.ErmcpLoginUser"
  15806. }
  15807. },
  15808. "usertype": {
  15809. "description": "用户类型 2-机构 7-企业成员(云平台)",
  15810. "type": "integer"
  15811. }
  15812. }
  15813. },
  15814. "models.ErmcpMiddleGoodsChangeLog": {
  15815. "type": "object",
  15816. "properties": {
  15817. "aftervalue": {
  15818. "description": "变更后",
  15819. "type": "number"
  15820. },
  15821. "applyid": {
  15822. "description": "操作人",
  15823. "type": "integer"
  15824. },
  15825. "applyname": {
  15826. "description": "操作人名称",
  15827. "type": "string"
  15828. },
  15829. "applysrc": {
  15830. "description": "操作来源 - 1:管理端 2:终端",
  15831. "type": "integer"
  15832. },
  15833. "beforevalue": {
  15834. "description": "变更前",
  15835. "type": "number"
  15836. },
  15837. "changelogtype": {
  15838. "description": "变更流水类型 - 1:套保比率变更",
  15839. "type": "integer"
  15840. },
  15841. "handlestatus": {
  15842. "description": "处理状态",
  15843. "type": "integer"
  15844. },
  15845. "logdatetime": {
  15846. "description": "流水日期",
  15847. "type": "string"
  15848. },
  15849. "logid": {
  15850. "description": "流水ID",
  15851. "type": "integer"
  15852. },
  15853. "logremark": {
  15854. "description": "流水备注",
  15855. "type": "string"
  15856. },
  15857. "middlegoodsid": {
  15858. "description": "套保品种ID",
  15859. "type": "integer"
  15860. },
  15861. "tradedate": {
  15862. "description": "交易日(yyyyMMdd)",
  15863. "type": "string"
  15864. },
  15865. "updatetime": {
  15866. "description": "更新时间",
  15867. "type": "string"
  15868. }
  15869. }
  15870. },
  15871. "models.ErmcpMiddleGoodsDetail": {
  15872. "type": "object",
  15873. "properties": {
  15874. "cvList": {
  15875. "description": "期货品种折算列表",
  15876. "type": "array",
  15877. "items": {
  15878. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  15879. }
  15880. },
  15881. "mg": {
  15882. "description": "套保品种基本信息",
  15883. "type": "object",
  15884. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  15885. },
  15886. "wrcList": {
  15887. "description": "现货品种列表(现货商品折算配置)",
  15888. "type": "array",
  15889. "items": {
  15890. "$ref": "#/definitions/models.WRSConverTDetail"
  15891. }
  15892. }
  15893. }
  15894. },
  15895. "models.ErmcpMiddleGoodsModel": {
  15896. "type": "object",
  15897. "properties": {
  15898. "areauserid": {
  15899. "description": "机构用户ID",
  15900. "type": "integer"
  15901. },
  15902. "createtime": {
  15903. "description": "修改时间",
  15904. "type": "string"
  15905. },
  15906. "enumdicname": {
  15907. "description": "单位名称",
  15908. "type": "string"
  15909. },
  15910. "evaluateratio": {
  15911. "description": "估价系数",
  15912. "type": "number"
  15913. },
  15914. "goodsgroupid": {
  15915. "description": "关联期货品种ID",
  15916. "type": "integer"
  15917. },
  15918. "goodsunitid": {
  15919. "description": "单位ID",
  15920. "type": "integer"
  15921. },
  15922. "isvalid": {
  15923. "description": "状态 0-无效(停用) 1-有效(正常)",
  15924. "type": "integer"
  15925. },
  15926. "middlegoodscode": {
  15927. "description": "套保品种代码",
  15928. "type": "string"
  15929. },
  15930. "middlegoodsid": {
  15931. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  15932. "type": "integer"
  15933. },
  15934. "middlegoodsname": {
  15935. "description": "套保品种名称",
  15936. "type": "string"
  15937. },
  15938. "modifytime": {
  15939. "description": "修改时间",
  15940. "type": "string"
  15941. },
  15942. "needhedgeratio": {
  15943. "description": "套保比率",
  15944. "type": "number"
  15945. },
  15946. "qtydecimalplace": {
  15947. "description": "数量小数位",
  15948. "type": "integer"
  15949. },
  15950. "relatedgoodsid": {
  15951. "description": "关联交易商品ID",
  15952. "type": "integer"
  15953. },
  15954. "relatedgoodstype": {
  15955. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  15956. "type": "integer"
  15957. },
  15958. "remark": {
  15959. "description": "备注",
  15960. "type": "string"
  15961. }
  15962. }
  15963. },
  15964. "models.ErmcpOPLogModel": {
  15965. "type": "object",
  15966. "properties": {
  15967. "aftervalue": {
  15968. "description": "变更后",
  15969. "type": "number"
  15970. },
  15971. "applyid": {
  15972. "description": "操作人ID",
  15973. "type": "string"
  15974. },
  15975. "applyname": {
  15976. "description": "操作人名称",
  15977. "type": "string"
  15978. },
  15979. "beforevalue": {
  15980. "description": "变更前",
  15981. "type": "number"
  15982. },
  15983. "biztype": {
  15984. "description": "业务类型 - 1:套保计划 2:现货合同",
  15985. "type": "integer"
  15986. },
  15987. "contracttype": {
  15988. "description": "现货合同类型 - 1:采购 -1:销售",
  15989. "type": "integer"
  15990. },
  15991. "logvalue": {
  15992. "description": "数值",
  15993. "type": "number"
  15994. },
  15995. "operatelogtype": {
  15996. "description": "操作流水类型",
  15997. "type": "integer"
  15998. },
  15999. "operatelogtypedesc": {
  16000. "description": "操作流水类型名称",
  16001. "type": "string"
  16002. },
  16003. "relatedid": {
  16004. "description": "现货合同ID\\套保计划",
  16005. "type": "string"
  16006. },
  16007. "updatetime": {
  16008. "description": "更新时间",
  16009. "type": "string"
  16010. }
  16011. }
  16012. },
  16013. "models.ErmcpPendingAudit": {
  16014. "type": "object",
  16015. "properties": {
  16016. "areastockqty": {
  16017. "description": "待审核数量: 库存申请",
  16018. "type": "integer"
  16019. },
  16020. "businessdjqty": {
  16021. "description": "待审核数量: 点价",
  16022. "type": "integer"
  16023. },
  16024. "businessfpqty": {
  16025. "description": "待审核数量: 发票",
  16026. "type": "integer"
  16027. },
  16028. "businessjsqty": {
  16029. "description": "待审核数量: 结算",
  16030. "type": "integer"
  16031. },
  16032. "businesskxqty": {
  16033. "description": "待审核数量: 款项",
  16034. "type": "integer"
  16035. },
  16036. "hedgeplanqty": {
  16037. "description": "待审核数量: 套保计划",
  16038. "type": "integer"
  16039. },
  16040. "spotcontractqty": {
  16041. "description": "待审核数量: 现货合同",
  16042. "type": "integer"
  16043. },
  16044. "userqty": {
  16045. "description": "待审核数量: 用户",
  16046. "type": "integer"
  16047. }
  16048. }
  16049. },
  16050. "models.ErmcpRealExposureModel": {
  16051. "type": "object",
  16052. "properties": {
  16053. "AreaUserID": {
  16054. "description": "所属机构",
  16055. "type": "integer"
  16056. },
  16057. "BuyFutureQty": {
  16058. "description": "买入期货数量",
  16059. "type": "number"
  16060. },
  16061. "BuyPlanQty": {
  16062. "description": "采购计划数量",
  16063. "type": "number"
  16064. },
  16065. "BuyPricedQty": {
  16066. "description": "采购合同已定价数量",
  16067. "type": "number"
  16068. },
  16069. "MiddleGoodsCode": {
  16070. "description": "套保品种代码",
  16071. "type": "string"
  16072. },
  16073. "MiddleGoodsHedgeRatio": {
  16074. "description": "套保比例",
  16075. "type": "number"
  16076. },
  16077. "MiddleGoodsID": {
  16078. "description": "套保品种",
  16079. "type": "integer"
  16080. },
  16081. "MiddleGoodsName": {
  16082. "description": "套保品种名称",
  16083. "type": "string"
  16084. },
  16085. "NeedHedgeExposoure": {
  16086. "description": "应套保敞口(套保敞口)",
  16087. "type": "number"
  16088. },
  16089. "NeedHedgeRatio": {
  16090. "description": "应套保敞口比例",
  16091. "type": "number"
  16092. },
  16093. "OriBuyFutureQty": {
  16094. "description": "期初买入期货数量",
  16095. "type": "number"
  16096. },
  16097. "OriBuyPlanQty": {
  16098. "description": "期初采购计划数量",
  16099. "type": "number"
  16100. },
  16101. "OriBuyPricedQty": {
  16102. "description": "期初采购合同已定价数量",
  16103. "type": "number"
  16104. },
  16105. "OriSellFutureQty": {
  16106. "description": "期初卖出期货数量",
  16107. "type": "number"
  16108. },
  16109. "OriSellPlanQty": {
  16110. "description": "期初销售计划数量",
  16111. "type": "number"
  16112. },
  16113. "OriSellPricedQty": {
  16114. "description": "期初销售合同已定价数量",
  16115. "type": "number"
  16116. },
  16117. "SellFutureQty": {
  16118. "description": "卖出期货数量",
  16119. "type": "number"
  16120. },
  16121. "SellPlanQty": {
  16122. "description": "销售计划数量",
  16123. "type": "number"
  16124. },
  16125. "SellPricedQty": {
  16126. "description": "销售合同已定价数量",
  16127. "type": "number"
  16128. },
  16129. "TotalExposure": {
  16130. "description": "总敞口",
  16131. "type": "number"
  16132. },
  16133. "TotalFutureQty": {
  16134. "description": "期货总量",
  16135. "type": "number"
  16136. },
  16137. "TotalHedgeRatio": {
  16138. "description": "敞口比例",
  16139. "type": "number"
  16140. },
  16141. "TotalNeedHedgeQty": {
  16142. "description": "应套保总量(现货应套保总量)",
  16143. "type": "number"
  16144. },
  16145. "TotalSpotQty": {
  16146. "description": "现货总量",
  16147. "type": "number"
  16148. },
  16149. "arbitrageqty": {
  16150. "description": "套利量",
  16151. "type": "number"
  16152. },
  16153. "diffArbitrageQty": {
  16154. "description": "套利变动量",
  16155. "type": "number"
  16156. },
  16157. "diffExposoureQty": {
  16158. "description": "变动量(套保敞口)",
  16159. "type": "number"
  16160. },
  16161. "diffFutuQty": {
  16162. "description": "变动量(期货总量)",
  16163. "type": "number"
  16164. },
  16165. "diffHedgeQty": {
  16166. "description": "套保变动量",
  16167. "type": "number"
  16168. },
  16169. "diffQty": {
  16170. "description": "变动量(总敞口)",
  16171. "type": "number"
  16172. },
  16173. "diffSpotHedgeQty": {
  16174. "description": "变动量(现货应套保总量)",
  16175. "type": "number"
  16176. },
  16177. "diffSpotQty": {
  16178. "description": "变动量(现货总量) = 现货数量 - 期初现货数量",
  16179. "type": "number"
  16180. },
  16181. "enumdicname": {
  16182. "description": "单位名称",
  16183. "type": "string"
  16184. },
  16185. "hedgeqty": {
  16186. "description": "套保量",
  16187. "type": "number"
  16188. },
  16189. "needarbitrageqty": {
  16190. "description": "应套利量",
  16191. "type": "number"
  16192. },
  16193. "needarbitrageratio": {
  16194. "description": "套利比例",
  16195. "type": "number"
  16196. },
  16197. "needhedgeqty": {
  16198. "description": "应套保量",
  16199. "type": "number"
  16200. },
  16201. "oriTotalFutuQty": {
  16202. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  16203. "type": "number"
  16204. },
  16205. "oriTotalSpotQty": {
  16206. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  16207. "type": "number"
  16208. },
  16209. "oriarbitrageqty": {
  16210. "description": "期初套利量",
  16211. "type": "number"
  16212. },
  16213. "orihedgeqty": {
  16214. "description": "期初套保量",
  16215. "type": "number"
  16216. },
  16217. "orineedhedgeexposoure": {
  16218. "description": "期初套保敞口",
  16219. "type": "number"
  16220. },
  16221. "oritotalexposure": {
  16222. "description": "期初总敞口",
  16223. "type": "number"
  16224. },
  16225. "oritotalfutureqty": {
  16226. "description": "期初期货总量",
  16227. "type": "number"
  16228. },
  16229. "oritotalneedhedgeqty": {
  16230. "description": "期初现货应套保量",
  16231. "type": "number"
  16232. }
  16233. }
  16234. },
  16235. "models.ErmcpRole": {
  16236. "type": "object",
  16237. "properties": {
  16238. "areauserid": {
  16239. "description": "所属机构",
  16240. "type": "integer"
  16241. },
  16242. "autoid": {
  16243. "description": "角色ID(自增ID)",
  16244. "type": "integer"
  16245. },
  16246. "modifierid": {
  16247. "description": "修改人(创建人)",
  16248. "type": "integer"
  16249. },
  16250. "modifiername": {
  16251. "description": "修改人名称",
  16252. "type": "string"
  16253. },
  16254. "modifytime": {
  16255. "description": "修改时间(创建时间)",
  16256. "type": "string"
  16257. },
  16258. "rolename": {
  16259. "description": "角色名称",
  16260. "type": "string"
  16261. },
  16262. "rolestatus": {
  16263. "description": "角色状态 - 1:启用 2:停用",
  16264. "type": "integer"
  16265. },
  16266. "roletype": {
  16267. "description": "角色类型 - 1- 管理端 2- 交易端",
  16268. "type": "integer"
  16269. }
  16270. }
  16271. },
  16272. "models.ErmcpRoleMenu": {
  16273. "type": "object",
  16274. "properties": {
  16275. "iconame": {
  16276. "description": "菜单图标",
  16277. "type": "string"
  16278. },
  16279. "ishadrole": {
  16280. "description": "是否有权限",
  16281. "type": "boolean"
  16282. },
  16283. "menutype": {
  16284. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  16285. "type": "integer"
  16286. },
  16287. "parentcode": {
  16288. "description": "上级资源代码",
  16289. "type": "string"
  16290. },
  16291. "remark": {
  16292. "description": "菜单备注",
  16293. "type": "string"
  16294. },
  16295. "resourcecode": {
  16296. "description": "菜单代码",
  16297. "type": "string"
  16298. },
  16299. "resourcelevel": {
  16300. "description": "级别",
  16301. "type": "integer"
  16302. },
  16303. "resourcename": {
  16304. "description": "菜单名称",
  16305. "type": "string"
  16306. },
  16307. "roleid": {
  16308. "description": "角色id",
  16309. "type": "integer"
  16310. },
  16311. "sort": {
  16312. "description": "排序",
  16313. "type": "integer"
  16314. },
  16315. "url": {
  16316. "description": "URL",
  16317. "type": "string"
  16318. },
  16319. "userid": {
  16320. "description": "用户id",
  16321. "type": "integer"
  16322. }
  16323. }
  16324. },
  16325. "models.ErmcpRoleMenuEx": {
  16326. "type": "object",
  16327. "properties": {
  16328. "menu": {
  16329. "description": "父级菜单",
  16330. "type": "object",
  16331. "$ref": "#/definitions/models.ErmcpRoleMenu"
  16332. },
  16333. "subMenu": {
  16334. "description": "子级菜单",
  16335. "type": "array",
  16336. "items": {
  16337. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  16338. }
  16339. }
  16340. }
  16341. },
  16342. "models.ErmcpTaAccount": {
  16343. "type": "object",
  16344. "properties": {
  16345. "accountid": {
  16346. "description": "账户id",
  16347. "type": "integer"
  16348. },
  16349. "accountname": {
  16350. "description": "账户名称",
  16351. "type": "string"
  16352. },
  16353. "currencyid": {
  16354. "description": "币种id",
  16355. "type": "integer"
  16356. },
  16357. "hedgeaccountcode": {
  16358. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16359. "type": "string"
  16360. },
  16361. "ismain": {
  16362. "description": "是否主账户 0-否 1-是",
  16363. "type": "integer"
  16364. },
  16365. "parentaccountid": {
  16366. "description": "父账户id",
  16367. "type": "integer"
  16368. },
  16369. "relateduserid": {
  16370. "description": "关联userid",
  16371. "type": "integer"
  16372. },
  16373. "tradestatus": {
  16374. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16375. "type": "integer"
  16376. },
  16377. "userid": {
  16378. "description": "用户id",
  16379. "type": "integer"
  16380. }
  16381. }
  16382. },
  16383. "models.ErmcpTaAccountEx": {
  16384. "type": "object",
  16385. "properties": {
  16386. "mainAcc": {
  16387. "description": "主账号",
  16388. "type": "object",
  16389. "$ref": "#/definitions/models.ErmcpTaAccountM"
  16390. },
  16391. "subacclist": {
  16392. "description": "子账号列表",
  16393. "type": "array",
  16394. "items": {
  16395. "$ref": "#/definitions/models.ErmcpTaAccount"
  16396. }
  16397. }
  16398. }
  16399. },
  16400. "models.ErmcpTaAccountInfo": {
  16401. "type": "object",
  16402. "properties": {
  16403. "accountid": {
  16404. "description": "资金账户ID",
  16405. "type": "integer"
  16406. },
  16407. "accountname": {
  16408. "description": "账户名称",
  16409. "type": "string"
  16410. },
  16411. "balance": {
  16412. "description": "期初余额",
  16413. "type": "number"
  16414. },
  16415. "capitalbalance": {
  16416. "description": "本金余额[外部子账户实际出入金余额]",
  16417. "type": "number"
  16418. },
  16419. "closepl": {
  16420. "description": "今日平仓盈亏",
  16421. "type": "number"
  16422. },
  16423. "creditdecrease": {
  16424. "description": "今日授信减少",
  16425. "type": "number"
  16426. },
  16427. "creditincrease": {
  16428. "description": "今日授信增加",
  16429. "type": "number"
  16430. },
  16431. "curdebt": {
  16432. "description": "期末欠款",
  16433. "type": "number"
  16434. },
  16435. "currencyid": {
  16436. "description": "货币ID",
  16437. "type": "integer"
  16438. },
  16439. "currentbalance": {
  16440. "description": "期末余额",
  16441. "type": "number"
  16442. },
  16443. "freezecharge": {
  16444. "description": "手续费冻结",
  16445. "type": "number"
  16446. },
  16447. "freezemargin": {
  16448. "description": "冻结保证金",
  16449. "type": "number"
  16450. },
  16451. "fromaccountid": {
  16452. "description": "所属上级账户",
  16453. "type": "integer"
  16454. },
  16455. "inamount": {
  16456. "description": "今日入金金额(包括三方入金)",
  16457. "type": "number"
  16458. },
  16459. "ismain": {
  16460. "description": "是否母账号 0:不是母账户 1:是母账户",
  16461. "type": "integer"
  16462. },
  16463. "mortgagecredit": {
  16464. "description": "授信金额",
  16465. "type": "number"
  16466. },
  16467. "oridebt": {
  16468. "description": "期初欠款",
  16469. "type": "number"
  16470. },
  16471. "orifreezecharge": {
  16472. "description": "期初手续费冻结",
  16473. "type": "number"
  16474. },
  16475. "orifreezemargin": {
  16476. "description": "期初冻结保证金",
  16477. "type": "number"
  16478. },
  16479. "orimortgagecredit": {
  16480. "description": "期初授信金额",
  16481. "type": "number"
  16482. },
  16483. "oriothercredit": {
  16484. "description": "期初其它授信金额",
  16485. "type": "number"
  16486. },
  16487. "oriotherfreezemargin": {
  16488. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  16489. "type": "number"
  16490. },
  16491. "orioutamountfreeze": {
  16492. "description": "期初出金冻结",
  16493. "type": "number"
  16494. },
  16495. "oriusedmargin": {
  16496. "description": "期初占用保证金",
  16497. "type": "number"
  16498. },
  16499. "othercredit": {
  16500. "description": "其它授信金额",
  16501. "type": "number"
  16502. },
  16503. "othercreditdecrease": {
  16504. "description": "今日其它授信减少",
  16505. "type": "number"
  16506. },
  16507. "othercreditincrease": {
  16508. "description": "今日其它授信增加",
  16509. "type": "number"
  16510. },
  16511. "otherfreezemargin": {
  16512. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  16513. "type": "number"
  16514. },
  16515. "outamount": {
  16516. "description": "今日出金金额(包括三方出金)",
  16517. "type": "number"
  16518. },
  16519. "outamountfreeze": {
  16520. "description": "出金冻结",
  16521. "type": "number"
  16522. },
  16523. "outthreshold": {
  16524. "description": "出金阈值",
  16525. "type": "number"
  16526. },
  16527. "parentaccountid": {
  16528. "description": "所属根账号",
  16529. "type": "integer"
  16530. },
  16531. "paycharge": {
  16532. "description": "今日手续费支出",
  16533. "type": "number"
  16534. },
  16535. "relateduserid": {
  16536. "description": "关联用户",
  16537. "type": "integer"
  16538. },
  16539. "signstatus": {
  16540. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  16541. "type": "integer"
  16542. },
  16543. "sublevelpath": {
  16544. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  16545. "type": "string"
  16546. },
  16547. "taaccounttype": {
  16548. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  16549. "type": "integer"
  16550. },
  16551. "thirdinamount": {
  16552. "description": "今日三方入金",
  16553. "type": "number"
  16554. },
  16555. "thirdoutamount": {
  16556. "description": "今日三方出金",
  16557. "type": "number"
  16558. },
  16559. "tradestatus": {
  16560. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16561. "type": "integer"
  16562. },
  16563. "transferamount": {
  16564. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  16565. "type": "number"
  16566. },
  16567. "usedmargin": {
  16568. "description": "占用保证金",
  16569. "type": "number"
  16570. },
  16571. "userid": {
  16572. "description": "用户ID",
  16573. "type": "integer"
  16574. }
  16575. }
  16576. },
  16577. "models.ErmcpTaAccountM": {
  16578. "type": "object",
  16579. "properties": {
  16580. "accountid": {
  16581. "description": "账户id",
  16582. "type": "integer"
  16583. },
  16584. "accountname": {
  16585. "description": "账户名称",
  16586. "type": "string"
  16587. },
  16588. "currencyid": {
  16589. "description": "币种id",
  16590. "type": "integer"
  16591. },
  16592. "fcid": {
  16593. "description": "期货公司id",
  16594. "type": "integer"
  16595. },
  16596. "fcname": {
  16597. "description": "期货公司代码",
  16598. "type": "string"
  16599. },
  16600. "hedgeaccountcode": {
  16601. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  16602. "type": "string"
  16603. },
  16604. "ismain": {
  16605. "description": "是否主账户 0-否 1-是",
  16606. "type": "integer"
  16607. },
  16608. "parentaccountid": {
  16609. "description": "父账户id",
  16610. "type": "integer"
  16611. },
  16612. "relateduserid": {
  16613. "description": "关联userid",
  16614. "type": "integer"
  16615. },
  16616. "tradestatus": {
  16617. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  16618. "type": "integer"
  16619. },
  16620. "userid": {
  16621. "description": "用户id",
  16622. "type": "integer"
  16623. }
  16624. }
  16625. },
  16626. "models.ErmcpTradeConfigTMP": {
  16627. "type": "object",
  16628. "properties": {
  16629. "areauserid": {
  16630. "description": "所属机构",
  16631. "type": "integer"
  16632. },
  16633. "basiccurrencyid": {
  16634. "description": "基本币种ID[汇率] - 目标币种",
  16635. "type": "integer"
  16636. },
  16637. "mainaccountid": {
  16638. "description": "主账户ID",
  16639. "type": "integer"
  16640. },
  16641. "modifierid": {
  16642. "description": "修改人",
  16643. "type": "integer"
  16644. },
  16645. "remark": {
  16646. "description": "备注",
  16647. "type": "string"
  16648. },
  16649. "tradeconfigtmpid": {
  16650. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  16651. "type": "integer"
  16652. },
  16653. "tradeconfigtmpname": {
  16654. "description": "交易配置模板名称",
  16655. "type": "string"
  16656. },
  16657. "tradeconfigtmptype": {
  16658. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  16659. "type": "integer"
  16660. },
  16661. "updatetime": {
  16662. "description": "更新时间",
  16663. "type": "string"
  16664. }
  16665. }
  16666. },
  16667. "models.ErmcpUserModel": {
  16668. "type": "object",
  16669. "properties": {
  16670. "address": {
  16671. "description": "通讯地址",
  16672. "type": "string"
  16673. },
  16674. "attachment1": {
  16675. "description": "附件1",
  16676. "type": "string"
  16677. },
  16678. "audittime": {
  16679. "description": "审核时间",
  16680. "type": "string"
  16681. },
  16682. "cardbackphotourl": {
  16683. "description": "证件反面图片地址",
  16684. "type": "string"
  16685. },
  16686. "cardfrontphotourl": {
  16687. "description": "证件正面图片地址",
  16688. "type": "string"
  16689. },
  16690. "cardnum": {
  16691. "description": "证件号码",
  16692. "type": "string"
  16693. },
  16694. "cardtype": {
  16695. "description": "证件类型",
  16696. "type": "integer"
  16697. },
  16698. "cardtypename": {
  16699. "description": "证件类型名称",
  16700. "type": "string"
  16701. },
  16702. "cityid": {
  16703. "description": "市",
  16704. "type": "integer"
  16705. },
  16706. "contactname": {
  16707. "description": "联系人",
  16708. "type": "string"
  16709. },
  16710. "countryid": {
  16711. "description": "国家",
  16712. "type": "integer"
  16713. },
  16714. "createtime": {
  16715. "description": "创建时间",
  16716. "type": "string"
  16717. },
  16718. "customername": {
  16719. "description": "企业名称",
  16720. "type": "string"
  16721. },
  16722. "districtid": {
  16723. "description": "区域",
  16724. "type": "integer"
  16725. },
  16726. "email": {
  16727. "description": "邮件",
  16728. "type": "string"
  16729. },
  16730. "legalpersonname": {
  16731. "description": "法人姓名(企业)",
  16732. "type": "string"
  16733. },
  16734. "memberuserid": {
  16735. "description": "所属机构ID",
  16736. "type": "integer"
  16737. },
  16738. "mobile": {
  16739. "description": "手机号码",
  16740. "type": "string"
  16741. },
  16742. "modifytime": {
  16743. "description": "修改时间",
  16744. "type": "string"
  16745. },
  16746. "nickname": {
  16747. "description": "昵称",
  16748. "type": "string"
  16749. },
  16750. "provinceid": {
  16751. "description": "省",
  16752. "type": "integer"
  16753. },
  16754. "remark": {
  16755. "description": "备注",
  16756. "type": "string"
  16757. },
  16758. "status": {
  16759. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  16760. "type": "integer"
  16761. },
  16762. "statusdesc": {
  16763. "description": "账户状态中文描述",
  16764. "type": "string"
  16765. },
  16766. "taxpayernum": {
  16767. "description": "纳税人识别号",
  16768. "type": "string"
  16769. },
  16770. "telphone": {
  16771. "description": "联系电话",
  16772. "type": "string"
  16773. },
  16774. "userid": {
  16775. "description": "用户ID",
  16776. "type": "integer"
  16777. },
  16778. "userinfotype": {
  16779. "description": "客户类型",
  16780. "type": "string"
  16781. }
  16782. }
  16783. },
  16784. "models.ErmcpWareHouseInfo": {
  16785. "type": "object",
  16786. "properties": {
  16787. "address": {
  16788. "description": "详细地址",
  16789. "type": "string"
  16790. },
  16791. "areauserid": {
  16792. "description": "所属机构",
  16793. "type": "integer"
  16794. },
  16795. "autoid": {
  16796. "description": "自增ID(仓库ID)",
  16797. "type": "integer"
  16798. },
  16799. "cityid": {
  16800. "description": "市",
  16801. "type": "integer"
  16802. },
  16803. "contactname": {
  16804. "description": "联系人",
  16805. "type": "string"
  16806. },
  16807. "contactnum": {
  16808. "description": "联系电话",
  16809. "type": "string"
  16810. },
  16811. "countryid": {
  16812. "description": "国家",
  16813. "type": "integer"
  16814. },
  16815. "createtime": {
  16816. "description": "创建时间",
  16817. "type": "string"
  16818. },
  16819. "districtid": {
  16820. "description": "区",
  16821. "type": "integer"
  16822. },
  16823. "hasvideo": {
  16824. "description": "是否有视频 - 0:无 1:有",
  16825. "type": "integer"
  16826. },
  16827. "provinceid": {
  16828. "description": "省",
  16829. "type": "integer"
  16830. },
  16831. "remark": {
  16832. "description": "审核备注",
  16833. "type": "string"
  16834. },
  16835. "videourl": {
  16836. "description": "视频地址",
  16837. "type": "string"
  16838. },
  16839. "warehousecode": {
  16840. "description": "仓库代码",
  16841. "type": "string"
  16842. },
  16843. "warehousename": {
  16844. "description": "仓库名称",
  16845. "type": "string"
  16846. },
  16847. "warehousestatus": {
  16848. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  16849. "type": "integer"
  16850. },
  16851. "warehousetype": {
  16852. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  16853. "type": "integer"
  16854. }
  16855. }
  16856. },
  16857. "models.Externalexchange": {
  16858. "type": "object",
  16859. "required": [
  16860. "autoid"
  16861. ],
  16862. "properties": {
  16863. "autoid": {
  16864. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  16865. "type": "integer"
  16866. },
  16867. "exchangefullname": {
  16868. "description": "外部交易所全称",
  16869. "type": "string"
  16870. },
  16871. "exexchangecode": {
  16872. "description": "外部交易所代码",
  16873. "type": "string"
  16874. },
  16875. "exexchangename": {
  16876. "description": "外部交易所名称(简称)",
  16877. "type": "string"
  16878. },
  16879. "ismarketprice": {
  16880. "description": "是否支持市价 - 0:不支持 1:支持",
  16881. "type": "integer"
  16882. },
  16883. "quotegear": {
  16884. "description": "行情档位(1-10)",
  16885. "type": "integer"
  16886. },
  16887. "showbrokerflag": {
  16888. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  16889. "type": "integer"
  16890. },
  16891. "updatetime": {
  16892. "description": "更新时间",
  16893. "type": "string"
  16894. }
  16895. }
  16896. },
  16897. "models.Funcmenulist": {
  16898. "type": "object",
  16899. "required": [
  16900. "resourcecode"
  16901. ],
  16902. "properties": {
  16903. "iconame": {
  16904. "description": "菜单图标",
  16905. "type": "string"
  16906. },
  16907. "menutype": {
  16908. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  16909. "type": "integer"
  16910. },
  16911. "parentcode": {
  16912. "description": "上级资源代码",
  16913. "type": "string"
  16914. },
  16915. "remark": {
  16916. "description": "备注",
  16917. "type": "string"
  16918. },
  16919. "resourcecode": {
  16920. "description": "资源代码",
  16921. "type": "string"
  16922. },
  16923. "resourcelevel": {
  16924. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  16925. "type": "integer"
  16926. },
  16927. "resourcename": {
  16928. "description": "资源名",
  16929. "type": "string"
  16930. },
  16931. "sort": {
  16932. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  16933. "type": "integer"
  16934. },
  16935. "url": {
  16936. "description": "URL",
  16937. "type": "string"
  16938. }
  16939. }
  16940. },
  16941. "models.Goods": {
  16942. "type": "object",
  16943. "required": [
  16944. "goodscode",
  16945. "goodsid",
  16946. "goodsname",
  16947. "marketid"
  16948. ],
  16949. "properties": {
  16950. "agreeunit": {
  16951. "description": "合约单位",
  16952. "type": "number"
  16953. },
  16954. "auditaccountid": {
  16955. "description": "审核操作员账号",
  16956. "type": "integer"
  16957. },
  16958. "audittime": {
  16959. "description": "审核时间",
  16960. "type": "string"
  16961. },
  16962. "cancelaccountid": {
  16963. "description": "注销操作员账号",
  16964. "type": "integer"
  16965. },
  16966. "canceltime": {
  16967. "description": "注销时间",
  16968. "type": "string"
  16969. },
  16970. "closepricemode": {
  16971. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  16972. "type": "integer"
  16973. },
  16974. "closepriceparam": {
  16975. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  16976. "type": "number"
  16977. },
  16978. "createtime": {
  16979. "description": "创建时间",
  16980. "type": "string"
  16981. },
  16982. "creatorid": {
  16983. "description": "创建人",
  16984. "type": "integer"
  16985. },
  16986. "currencyid": {
  16987. "description": "报价货币ID",
  16988. "type": "integer"
  16989. },
  16990. "cutmode": {
  16991. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  16992. "type": "integer"
  16993. },
  16994. "decimalplace": {
  16995. "description": "报价小数位",
  16996. "type": "integer"
  16997. },
  16998. "delistingdate": {
  16999. "description": "商品退市时间(状态:退市) -- 已作废",
  17000. "type": "string"
  17001. },
  17002. "delistingmode": {
  17003. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  17004. "type": "integer"
  17005. },
  17006. "deliveryflag": {
  17007. "description": "交割标志 - 0:不可交割 1:可交割",
  17008. "type": "integer"
  17009. },
  17010. "forceclosemode": {
  17011. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  17012. "type": "integer"
  17013. },
  17014. "forceclosevalue": {
  17015. "description": "定期强平参数 [收益权]",
  17016. "type": "integer"
  17017. },
  17018. "goodscode": {
  17019. "description": "商品代码(内部)",
  17020. "type": "string"
  17021. },
  17022. "goodscurrencyid": {
  17023. "description": "合约货币ID",
  17024. "type": "integer"
  17025. },
  17026. "goodsgroupid": {
  17027. "description": "所属商品组ID",
  17028. "type": "integer"
  17029. },
  17030. "goodsid": {
  17031. "description": "商品ID(自增ID SEQ_GOODS)",
  17032. "type": "integer"
  17033. },
  17034. "goodsname": {
  17035. "description": "商品名称",
  17036. "type": "string"
  17037. },
  17038. "goodsquotetype": {
  17039. "description": "合约报价类型: 1-直接报价 2-间接报价",
  17040. "type": "integer"
  17041. },
  17042. "goodsstatus": {
  17043. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  17044. "type": "integer"
  17045. },
  17046. "goodstradetype": {
  17047. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  17048. "type": "integer"
  17049. },
  17050. "goodunitid": {
  17051. "description": "报价单位ID",
  17052. "type": "integer"
  17053. },
  17054. "hasquoter": {
  17055. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  17056. "type": "integer"
  17057. },
  17058. "hqprotecttime": {
  17059. "description": "行情保护时间(秒)",
  17060. "type": "integer"
  17061. },
  17062. "innerdealmode": {
  17063. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17064. "type": "integer"
  17065. },
  17066. "isbuylimited": {
  17067. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17068. "type": "integer"
  17069. },
  17070. "lasttradedate": {
  17071. "description": "最后交易日期(状态:待退市)",
  17072. "type": "string"
  17073. },
  17074. "listingdate": {
  17075. "description": "交易开始日期",
  17076. "type": "string"
  17077. },
  17078. "marketid": {
  17079. "description": "所属市场ID",
  17080. "type": "integer"
  17081. },
  17082. "modifierid": {
  17083. "description": "修改人",
  17084. "type": "integer"
  17085. },
  17086. "modifystatus": {
  17087. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  17088. "type": "integer"
  17089. },
  17090. "modifytime": {
  17091. "description": "修改时间",
  17092. "type": "string"
  17093. },
  17094. "outerdealmode": {
  17095. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17096. "type": "integer"
  17097. },
  17098. "outgoodscode": {
  17099. "description": "商品代码(外部)",
  17100. "type": "string"
  17101. },
  17102. "qtydecimalplace": {
  17103. "description": "成交量小数位",
  17104. "type": "integer"
  17105. },
  17106. "quotegear": {
  17107. "description": "行情档位(1-10)",
  17108. "type": "integer"
  17109. },
  17110. "quoteminunit": {
  17111. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17112. "type": "integer"
  17113. },
  17114. "quoteshowtype": {
  17115. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  17116. "type": "integer"
  17117. },
  17118. "quoteshowtypeinterval": {
  17119. "description": "行情报价间隔时间(秒)(成交价时为0)",
  17120. "type": "integer"
  17121. },
  17122. "remark": {
  17123. "description": "备注",
  17124. "type": "string"
  17125. }
  17126. }
  17127. },
  17128. "models.GoodsIDAndName": {
  17129. "type": "object",
  17130. "required": [
  17131. "goodscode",
  17132. "goodsid",
  17133. "goodsname",
  17134. "marketid"
  17135. ],
  17136. "properties": {
  17137. "goodscode": {
  17138. "description": "商品代码(内部)",
  17139. "type": "string"
  17140. },
  17141. "goodsid": {
  17142. "description": "商品ID(自增ID SEQ_GOODS)",
  17143. "type": "integer"
  17144. },
  17145. "goodsname": {
  17146. "description": "商品名称",
  17147. "type": "string"
  17148. },
  17149. "marketid": {
  17150. "description": "所属市场ID",
  17151. "type": "integer"
  17152. }
  17153. }
  17154. },
  17155. "models.Goodsgroup": {
  17156. "type": "object",
  17157. "required": [
  17158. "goodsgroupid",
  17159. "goodsgroupname",
  17160. "goodsgroupstatus",
  17161. "marketid"
  17162. ],
  17163. "properties": {
  17164. "agreeunit": {
  17165. "description": "合约单位",
  17166. "type": "number"
  17167. },
  17168. "canshort": {
  17169. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  17170. "type": "integer"
  17171. },
  17172. "closepricemode": {
  17173. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  17174. "type": "integer"
  17175. },
  17176. "closepriceparam": {
  17177. "description": "强平最新价浮动比例 - 方式为2时使用",
  17178. "type": "number"
  17179. },
  17180. "createtime": {
  17181. "description": "创建时间",
  17182. "type": "string"
  17183. },
  17184. "creatorid": {
  17185. "description": "创建人",
  17186. "type": "integer"
  17187. },
  17188. "currencyid": {
  17189. "description": "报价货币ID",
  17190. "type": "integer"
  17191. },
  17192. "decimalplace": {
  17193. "description": "报价小数位",
  17194. "type": "integer"
  17195. },
  17196. "exercisetype": {
  17197. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  17198. "type": "integer"
  17199. },
  17200. "exexchangeid": {
  17201. "description": "外部交易所ID[通道交易]",
  17202. "type": "integer"
  17203. },
  17204. "goodsgroupid": {
  17205. "description": "商品组ID(自增ID)",
  17206. "type": "integer"
  17207. },
  17208. "goodsgroupname": {
  17209. "description": "商品组名称",
  17210. "type": "string"
  17211. },
  17212. "goodsgroupstatus": {
  17213. "description": "商品组状态 - 1:正常 2:注销",
  17214. "type": "integer"
  17215. },
  17216. "goodunitid": {
  17217. "description": "报价单位ID",
  17218. "type": "integer"
  17219. },
  17220. "innerdealmode": {
  17221. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  17222. "type": "integer"
  17223. },
  17224. "isbuylimited": {
  17225. "description": "是否限制建仓量 - 0:不限制 1:限制",
  17226. "type": "integer"
  17227. },
  17228. "marketid": {
  17229. "description": "所属市场ID",
  17230. "type": "integer"
  17231. },
  17232. "modifierid": {
  17233. "description": "修改人",
  17234. "type": "integer"
  17235. },
  17236. "modifytime": {
  17237. "description": "修改时间",
  17238. "type": "string"
  17239. },
  17240. "outerdealmode": {
  17241. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  17242. "type": "integer"
  17243. },
  17244. "outergroupcode": {
  17245. "description": "外部商品组代码[通道交易]",
  17246. "type": "string"
  17247. },
  17248. "premiumdecimalplace": {
  17249. "description": "权利金小数位[场外期权]",
  17250. "type": "integer"
  17251. },
  17252. "premiumspreadalgorithm": {
  17253. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  17254. "type": "integer"
  17255. },
  17256. "premiumspreadvalue": {
  17257. "description": "权利金点差值[场外期权]",
  17258. "type": "number"
  17259. },
  17260. "qtydecimalplace": {
  17261. "description": "成交量小数位",
  17262. "type": "integer"
  17263. },
  17264. "quotegear": {
  17265. "description": "行情档位(1-10)",
  17266. "type": "integer"
  17267. },
  17268. "quoteminunit": {
  17269. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17270. "type": "integer"
  17271. },
  17272. "quoterid": {
  17273. "description": "报价商ID[场外期权]",
  17274. "type": "integer"
  17275. },
  17276. "quotesourcegroupid": {
  17277. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  17278. "type": "integer"
  17279. },
  17280. "syncgoodsqty": {
  17281. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  17282. "type": "integer"
  17283. }
  17284. }
  17285. },
  17286. "models.Goodssortbypreposition": {
  17287. "type": "object",
  17288. "required": [
  17289. "goodscode",
  17290. "tradedate"
  17291. ],
  17292. "properties": {
  17293. "goodscode": {
  17294. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  17295. "type": "string"
  17296. },
  17297. "goodsgroupcode": {
  17298. "description": "品种代码",
  17299. "type": "string"
  17300. },
  17301. "prepositionqty": {
  17302. "description": "昨持仓量",
  17303. "type": "integer"
  17304. },
  17305. "sortindex": {
  17306. "description": "排序",
  17307. "type": "integer"
  17308. },
  17309. "tradedate": {
  17310. "description": "交易日",
  17311. "type": "string"
  17312. },
  17313. "updatetime": {
  17314. "description": "更新时间",
  17315. "type": "string"
  17316. }
  17317. }
  17318. },
  17319. "models.Hedgeinnerholderdetail": {
  17320. "type": "object",
  17321. "required": [
  17322. "buyorsell",
  17323. "tradeid"
  17324. ],
  17325. "properties": {
  17326. "accountid": {
  17327. "description": "账号ID",
  17328. "type": "integer"
  17329. },
  17330. "buyorsell": {
  17331. "description": "方向 - 0:买 1:卖",
  17332. "type": "integer"
  17333. },
  17334. "freezeqty": {
  17335. "description": "冻结数量 - 按单平使用",
  17336. "type": "integer"
  17337. },
  17338. "goodsid": {
  17339. "description": "商品ID",
  17340. "type": "integer"
  17341. },
  17342. "holderamount": {
  17343. "description": "持仓金额 [商品币种]",
  17344. "type": "number"
  17345. },
  17346. "holderdays": {
  17347. "description": "剩余冻结天数",
  17348. "type": "integer"
  17349. },
  17350. "holderprice": {
  17351. "description": "持仓价格",
  17352. "type": "number"
  17353. },
  17354. "holderqty": {
  17355. "description": "持仓数量",
  17356. "type": "integer"
  17357. },
  17358. "marketid": {
  17359. "description": "市场ID",
  17360. "type": "integer"
  17361. },
  17362. "openprice": {
  17363. "description": "建仓价格",
  17364. "type": "number"
  17365. },
  17366. "openqty": {
  17367. "description": "建仓数量",
  17368. "type": "integer"
  17369. },
  17370. "parentaccountid": {
  17371. "description": "所属母账户",
  17372. "type": "integer"
  17373. },
  17374. "releaseamount": {
  17375. "description": "释放持仓金额[商品币种]",
  17376. "type": "number"
  17377. },
  17378. "tradeamount": {
  17379. "description": "成交金额[账户]",
  17380. "type": "number"
  17381. },
  17382. "tradedate": {
  17383. "description": "交易日(yyyyMMdd)",
  17384. "type": "string"
  17385. },
  17386. "tradeid": {
  17387. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17388. "type": "string"
  17389. },
  17390. "tradetime": {
  17391. "description": "交易时间",
  17392. "type": "string"
  17393. }
  17394. }
  17395. },
  17396. "models.Hedgemarketopenlog": {
  17397. "type": "object",
  17398. "required": [
  17399. "accountid"
  17400. ],
  17401. "properties": {
  17402. "accountid": {
  17403. "description": "资金账号[外部母账户]",
  17404. "type": "integer"
  17405. },
  17406. "fcname": {
  17407. "description": "期货公司名称",
  17408. "type": "string"
  17409. },
  17410. "handlestatus": {
  17411. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  17412. "type": "integer"
  17413. },
  17414. "marketid": {
  17415. "description": "市场ID",
  17416. "type": "integer"
  17417. },
  17418. "status": {
  17419. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  17420. "type": "integer"
  17421. },
  17422. "tradedate": {
  17423. "description": "交易日(yyyyMMdd)",
  17424. "type": "string"
  17425. },
  17426. "updatetime": {
  17427. "description": "更新时间",
  17428. "type": "string"
  17429. }
  17430. }
  17431. },
  17432. "models.HsbyBuyMyPayOrder": {
  17433. "type": "object",
  17434. "required": [
  17435. "goodscode",
  17436. "goodsname",
  17437. "tradeid",
  17438. "trademode"
  17439. ],
  17440. "properties": {
  17441. "agreeunit": {
  17442. "description": "合约单位",
  17443. "type": "number"
  17444. },
  17445. "buyaccountid": {
  17446. "description": "买方账号ID[报价币种]",
  17447. "type": "integer"
  17448. },
  17449. "buyorderid": {
  17450. "description": "买方委托单号",
  17451. "type": "string"
  17452. },
  17453. "createtime": {
  17454. "description": "创建时间",
  17455. "type": "string"
  17456. },
  17457. "currencysign": {
  17458. "description": "货币符号",
  17459. "type": "string"
  17460. },
  17461. "decimalplace": {
  17462. "description": "报价小数位",
  17463. "type": "integer"
  17464. },
  17465. "goodscode": {
  17466. "description": "商品代码(内部)",
  17467. "type": "string"
  17468. },
  17469. "goodsid": {
  17470. "description": "商品ID",
  17471. "type": "integer"
  17472. },
  17473. "goodsname": {
  17474. "description": "商品名称",
  17475. "type": "string"
  17476. },
  17477. "marketid": {
  17478. "description": "市场ID",
  17479. "type": "integer"
  17480. },
  17481. "offamount": {
  17482. "description": "优惠金额",
  17483. "type": "number"
  17484. },
  17485. "originalamount": {
  17486. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  17487. "type": "number"
  17488. },
  17489. "payamount": {
  17490. "description": "支付金额 = TradeAmount + TradeCharge",
  17491. "type": "number"
  17492. },
  17493. "payflag": {
  17494. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  17495. "type": "integer"
  17496. },
  17497. "paylimitedtime": {
  17498. "description": "支付期限",
  17499. "type": "string"
  17500. },
  17501. "paytime": {
  17502. "description": "付款时间",
  17503. "type": "string"
  17504. },
  17505. "picurls1": {
  17506. "description": "预售商品介绍图片[多张用逗号分隔]",
  17507. "type": "string"
  17508. },
  17509. "picurls2": {
  17510. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17511. "type": "string"
  17512. },
  17513. "sellaccountid": {
  17514. "description": "卖方账号ID[报价币种]",
  17515. "type": "integer"
  17516. },
  17517. "sellorderid": {
  17518. "description": "卖方委托单号",
  17519. "type": "string"
  17520. },
  17521. "tradeamount": {
  17522. "description": "成交金额",
  17523. "type": "number"
  17524. },
  17525. "tradecharge": {
  17526. "description": "成交手续费(买方)",
  17527. "type": "number"
  17528. },
  17529. "tradedate": {
  17530. "description": "交易日(yyyyMMdd)",
  17531. "type": "string"
  17532. },
  17533. "tradeid": {
  17534. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17535. "type": "string"
  17536. },
  17537. "trademode": {
  17538. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17539. "type": "integer"
  17540. },
  17541. "tradeprice": {
  17542. "description": "成交价格",
  17543. "type": "number"
  17544. },
  17545. "tradeqty": {
  17546. "description": "成交数量",
  17547. "type": "integer"
  17548. },
  17549. "vendorname1": {
  17550. "description": "预售商品供应商名称",
  17551. "type": "string"
  17552. },
  17553. "vendorname2": {
  17554. "description": "挂牌商品供应商名称",
  17555. "type": "string"
  17556. }
  17557. }
  17558. },
  17559. "models.HsbyBuyMyTradeDetail": {
  17560. "type": "object",
  17561. "required": [
  17562. "accountid",
  17563. "buyorsell",
  17564. "goodscode",
  17565. "goodsid",
  17566. "goodsname",
  17567. "marketid",
  17568. "orderid",
  17569. "qty",
  17570. "time",
  17571. "trademode"
  17572. ],
  17573. "properties": {
  17574. "accountid": {
  17575. "description": "账户ID[报价币种]",
  17576. "type": "integer"
  17577. },
  17578. "agreeunit": {
  17579. "description": "合约单位",
  17580. "type": "number"
  17581. },
  17582. "amount": {
  17583. "description": "金额 = 价格 * 数量 * 合约单位",
  17584. "type": "number"
  17585. },
  17586. "buyorsell": {
  17587. "description": "买卖 - 0:买 1:卖",
  17588. "type": "integer"
  17589. },
  17590. "currencysign": {
  17591. "description": "货币符号",
  17592. "type": "string"
  17593. },
  17594. "decimalplace": {
  17595. "description": "报价小数位",
  17596. "type": "integer"
  17597. },
  17598. "goodscode": {
  17599. "description": "商品代码(内部)",
  17600. "type": "string"
  17601. },
  17602. "goodsid": {
  17603. "description": "商品ID",
  17604. "type": "integer"
  17605. },
  17606. "goodsname": {
  17607. "description": "商品名称",
  17608. "type": "string"
  17609. },
  17610. "marketid": {
  17611. "description": "市场ID",
  17612. "type": "integer"
  17613. },
  17614. "orderamount": {
  17615. "description": "委托金额",
  17616. "type": "number"
  17617. },
  17618. "orderid": {
  17619. "description": "单号(成交单号)",
  17620. "type": "string"
  17621. },
  17622. "picurls1": {
  17623. "description": "预售商品介绍图片[多张用逗号分隔]",
  17624. "type": "string"
  17625. },
  17626. "picurls2": {
  17627. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17628. "type": "string"
  17629. },
  17630. "price": {
  17631. "description": "价格",
  17632. "type": "number"
  17633. },
  17634. "qty": {
  17635. "description": "数量",
  17636. "type": "integer"
  17637. },
  17638. "time": {
  17639. "description": "时间",
  17640. "type": "string"
  17641. },
  17642. "trademode": {
  17643. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17644. "type": "integer"
  17645. },
  17646. "vendorname1": {
  17647. "description": "预售商品供应商名称",
  17648. "type": "string"
  17649. },
  17650. "vendorname2": {
  17651. "description": "挂牌商品供应商名称",
  17652. "type": "string"
  17653. }
  17654. }
  17655. },
  17656. "models.HsbyGoodsOrderDetail": {
  17657. "type": "object",
  17658. "required": [
  17659. "buyorsell",
  17660. "orderid",
  17661. "ordertime"
  17662. ],
  17663. "properties": {
  17664. "buyorsell": {
  17665. "description": "买卖 - 0:买 1:卖",
  17666. "type": "integer"
  17667. },
  17668. "currencysign": {
  17669. "description": "货币符号",
  17670. "type": "string"
  17671. },
  17672. "customername": {
  17673. "description": "客户名称(企业名称),已脱敏",
  17674. "type": "string"
  17675. },
  17676. "enableqty": {
  17677. "description": "可用数量",
  17678. "type": "integer"
  17679. },
  17680. "goodunit": {
  17681. "description": "报价单位",
  17682. "type": "string"
  17683. },
  17684. "orderid": {
  17685. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17686. "type": "string"
  17687. },
  17688. "orderprice": {
  17689. "description": "委托价格",
  17690. "type": "number"
  17691. },
  17692. "ordertime": {
  17693. "description": "委托时间",
  17694. "type": "string"
  17695. }
  17696. }
  17697. },
  17698. "models.HsbyListingGoodsDetail": {
  17699. "type": "object",
  17700. "required": [
  17701. "goodscode",
  17702. "goodsid",
  17703. "goodsname",
  17704. "marketid",
  17705. "trademode"
  17706. ],
  17707. "properties": {
  17708. "agreeunit": {
  17709. "description": "合约单位",
  17710. "type": "number"
  17711. },
  17712. "buymaxqty": {
  17713. "description": "购买上限 [71] - 0为不限",
  17714. "type": "integer"
  17715. },
  17716. "currency": {
  17717. "description": "货币",
  17718. "type": "string"
  17719. },
  17720. "currencysign": {
  17721. "description": "货币符号",
  17722. "type": "string"
  17723. },
  17724. "decimalplace": {
  17725. "description": "报价小数位",
  17726. "type": "integer"
  17727. },
  17728. "desccityid": {
  17729. "description": "目的地(市)ID",
  17730. "type": "integer"
  17731. },
  17732. "descprovinceid": {
  17733. "description": "目的地(省)ID",
  17734. "type": "integer"
  17735. },
  17736. "goodscode": {
  17737. "description": "商品代码(内部)",
  17738. "type": "string"
  17739. },
  17740. "goodsdesc": {
  17741. "description": "商品详情",
  17742. "type": "string"
  17743. },
  17744. "goodsid": {
  17745. "description": "商品ID(自增ID SEQ_GOODS)",
  17746. "type": "integer"
  17747. },
  17748. "goodsname": {
  17749. "description": "商品名称",
  17750. "type": "string"
  17751. },
  17752. "goodsprice": {
  17753. "description": "商品价格",
  17754. "type": "number"
  17755. },
  17756. "hotindex": {
  17757. "description": "景点热度",
  17758. "type": "integer"
  17759. },
  17760. "last": {
  17761. "description": "现价",
  17762. "type": "number"
  17763. },
  17764. "limitdown": {
  17765. "description": "跌停价",
  17766. "type": "number"
  17767. },
  17768. "limitup": {
  17769. "description": "涨停价",
  17770. "type": "number"
  17771. },
  17772. "lotsize": {
  17773. "description": "手数最小变动单位",
  17774. "type": "integer"
  17775. },
  17776. "marketid": {
  17777. "description": "所属市场ID",
  17778. "type": "integer"
  17779. },
  17780. "picurls": {
  17781. "description": "介绍图片[多张用逗号分隔]",
  17782. "type": "string"
  17783. },
  17784. "quoteminunit": {
  17785. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17786. "type": "integer"
  17787. },
  17788. "stepvalue": {
  17789. "description": "价格最小变动单位",
  17790. "type": "number"
  17791. },
  17792. "trademode": {
  17793. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17794. "type": "integer"
  17795. },
  17796. "vendorattr": {
  17797. "description": "供应商附件(多张,逗号分隔)",
  17798. "type": "string"
  17799. },
  17800. "vendorname": {
  17801. "description": "供应商名称",
  17802. "type": "string"
  17803. },
  17804. "vendorphone": {
  17805. "description": "供应商客服电话",
  17806. "type": "string"
  17807. },
  17808. "videourls": {
  17809. "description": "介绍视频[多张用逗号分隔]",
  17810. "type": "string"
  17811. }
  17812. }
  17813. },
  17814. "models.HsbyMarketGoods": {
  17815. "type": "object",
  17816. "required": [
  17817. "accountid",
  17818. "buyorsell",
  17819. "goodscode",
  17820. "goodsid",
  17821. "goodsname",
  17822. "marketid",
  17823. "orderid",
  17824. "trademode"
  17825. ],
  17826. "properties": {
  17827. "accountid": {
  17828. "description": "账户ID[报价币种]",
  17829. "type": "integer"
  17830. },
  17831. "agreeunit": {
  17832. "description": "合约单位",
  17833. "type": "number"
  17834. },
  17835. "buyorsell": {
  17836. "description": "买卖 - 0:买 1:卖",
  17837. "type": "integer"
  17838. },
  17839. "categoryid": {
  17840. "description": "类别ID(WRCATEGORY)",
  17841. "type": "integer"
  17842. },
  17843. "currency": {
  17844. "description": "货币",
  17845. "type": "string"
  17846. },
  17847. "currencysign": {
  17848. "description": "货币符号",
  17849. "type": "string"
  17850. },
  17851. "customername": {
  17852. "description": "卖家名称",
  17853. "type": "string"
  17854. },
  17855. "decimalplace": {
  17856. "description": "报价小数位",
  17857. "type": "integer"
  17858. },
  17859. "goodscode": {
  17860. "description": "商品代码(内部)",
  17861. "type": "string"
  17862. },
  17863. "goodsid": {
  17864. "description": "商品ID",
  17865. "type": "integer"
  17866. },
  17867. "goodsname": {
  17868. "description": "商品名称",
  17869. "type": "string"
  17870. },
  17871. "goodsprice": {
  17872. "description": "商品价格",
  17873. "type": "number"
  17874. },
  17875. "hascoupon": {
  17876. "description": "是否可用优惠卷",
  17877. "type": "boolean"
  17878. },
  17879. "hotindex": {
  17880. "description": "景点热度",
  17881. "type": "integer"
  17882. },
  17883. "marketid": {
  17884. "description": "市场ID",
  17885. "type": "integer"
  17886. },
  17887. "orderid": {
  17888. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17889. "type": "string"
  17890. },
  17891. "orderprice": {
  17892. "description": "委托价格",
  17893. "type": "number"
  17894. },
  17895. "orderstatus": {
  17896. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17897. "type": "integer"
  17898. },
  17899. "picurls": {
  17900. "description": "介绍图片[多张用逗号分隔]",
  17901. "type": "string"
  17902. },
  17903. "quoteminunit": {
  17904. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17905. "type": "integer"
  17906. },
  17907. "sellUserID": {
  17908. "description": "卖方UserID",
  17909. "type": "integer"
  17910. },
  17911. "trademode": {
  17912. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17913. "type": "integer"
  17914. },
  17915. "videourls": {
  17916. "description": "介绍视频[多张用逗号分隔]",
  17917. "type": "string"
  17918. }
  17919. }
  17920. },
  17921. "models.HsbyMarketGoodsDetail": {
  17922. "type": "object",
  17923. "required": [
  17924. "accountid",
  17925. "buyorsell",
  17926. "goodscode",
  17927. "goodsid",
  17928. "goodsname",
  17929. "marketid",
  17930. "orderid",
  17931. "orderqty",
  17932. "trademode"
  17933. ],
  17934. "properties": {
  17935. "accountid": {
  17936. "description": "账户ID[报价币种]",
  17937. "type": "integer"
  17938. },
  17939. "agreeunit": {
  17940. "description": "合约单位",
  17941. "type": "number"
  17942. },
  17943. "buymaxqty": {
  17944. "description": "购买上限 [71] - 0为不限",
  17945. "type": "integer"
  17946. },
  17947. "buyorsell": {
  17948. "description": "买卖 - 0:买 1:卖",
  17949. "type": "integer"
  17950. },
  17951. "cancelqty": {
  17952. "description": "撤单数量",
  17953. "type": "integer"
  17954. },
  17955. "categoryid": {
  17956. "description": "类别ID(WRCATEGORY)",
  17957. "type": "integer"
  17958. },
  17959. "currency": {
  17960. "description": "货币",
  17961. "type": "string"
  17962. },
  17963. "currencysign": {
  17964. "description": "货币符号",
  17965. "type": "string"
  17966. },
  17967. "customername": {
  17968. "description": "卖家名称",
  17969. "type": "string"
  17970. },
  17971. "decimalplace": {
  17972. "description": "报价小数位",
  17973. "type": "integer"
  17974. },
  17975. "goodscode": {
  17976. "description": "商品代码(内部)",
  17977. "type": "string"
  17978. },
  17979. "goodsdesc": {
  17980. "description": "商品详情",
  17981. "type": "string"
  17982. },
  17983. "goodsid": {
  17984. "description": "商品ID",
  17985. "type": "integer"
  17986. },
  17987. "goodsname": {
  17988. "description": "商品名称",
  17989. "type": "string"
  17990. },
  17991. "goodsprice": {
  17992. "description": "商品价格",
  17993. "type": "number"
  17994. },
  17995. "hotindex": {
  17996. "description": "景点热度",
  17997. "type": "integer"
  17998. },
  17999. "lotsize": {
  18000. "description": "手数最小变动单位",
  18001. "type": "integer"
  18002. },
  18003. "marketid": {
  18004. "description": "市场ID",
  18005. "type": "integer"
  18006. },
  18007. "orderid": {
  18008. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18009. "type": "string"
  18010. },
  18011. "orderprice": {
  18012. "description": "委托价格",
  18013. "type": "number"
  18014. },
  18015. "orderqty": {
  18016. "description": "委托数量",
  18017. "type": "integer"
  18018. },
  18019. "orderstatus": {
  18020. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18021. "type": "integer"
  18022. },
  18023. "picurls": {
  18024. "description": "介绍图片[多张用逗号分隔]",
  18025. "type": "string"
  18026. },
  18027. "quoteminunit": {
  18028. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18029. "type": "integer"
  18030. },
  18031. "sellUserID": {
  18032. "description": "卖方UserID",
  18033. "type": "integer"
  18034. },
  18035. "trademode": {
  18036. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18037. "type": "integer"
  18038. },
  18039. "tradeqty": {
  18040. "description": "成交数量",
  18041. "type": "integer"
  18042. },
  18043. "vendorattr": {
  18044. "description": "供应商附件(多张,逗号分隔)",
  18045. "type": "string"
  18046. },
  18047. "vendorname": {
  18048. "description": "供应商名称",
  18049. "type": "string"
  18050. },
  18051. "vendorphone": {
  18052. "description": "供应商客服电话",
  18053. "type": "string"
  18054. },
  18055. "videourls": {
  18056. "description": "介绍视频[多张用逗号分隔]",
  18057. "type": "string"
  18058. }
  18059. }
  18060. },
  18061. "models.HsbyMarketInfo": {
  18062. "type": "object",
  18063. "required": [
  18064. "marketid",
  18065. "marketstatus",
  18066. "trademode"
  18067. ],
  18068. "properties": {
  18069. "marketid": {
  18070. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  18071. "type": "integer"
  18072. },
  18073. "marketname": {
  18074. "description": "市场名称",
  18075. "type": "string"
  18076. },
  18077. "marketstatus": {
  18078. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  18079. "type": "integer"
  18080. },
  18081. "trademode": {
  18082. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18083. "type": "integer"
  18084. }
  18085. }
  18086. },
  18087. "models.HsbyMyGoods": {
  18088. "type": "object",
  18089. "required": [
  18090. "accountid",
  18091. "goodscode",
  18092. "goodsid",
  18093. "goodsname",
  18094. "marketid",
  18095. "trademode"
  18096. ],
  18097. "properties": {
  18098. "accountid": {
  18099. "description": "账号Id",
  18100. "type": "integer"
  18101. },
  18102. "agreeunit": {
  18103. "description": "合约单位",
  18104. "type": "number"
  18105. },
  18106. "buyaverageprice": {
  18107. "description": "持仓均价",
  18108. "type": "number"
  18109. },
  18110. "buycurholderamount": {
  18111. "description": "买当前持仓总金额[商品币种]",
  18112. "type": "number"
  18113. },
  18114. "buycurpositionqty": {
  18115. "description": "买当前持仓总数量",
  18116. "type": "integer"
  18117. },
  18118. "buymaxqty": {
  18119. "description": "购买上限 [71] - 0为不限",
  18120. "type": "integer"
  18121. },
  18122. "currencysign": {
  18123. "description": "货币符号",
  18124. "type": "string"
  18125. },
  18126. "decimalplace": {
  18127. "description": "报价小数位",
  18128. "type": "integer"
  18129. },
  18130. "enableqty": {
  18131. "description": "可用数量",
  18132. "type": "integer"
  18133. },
  18134. "goodscode": {
  18135. "description": "商品代码(内部)",
  18136. "type": "string"
  18137. },
  18138. "goodsid": {
  18139. "description": "商品Id",
  18140. "type": "integer"
  18141. },
  18142. "goodsname": {
  18143. "description": "商品名称",
  18144. "type": "string"
  18145. },
  18146. "goodsprice": {
  18147. "description": "商品价格",
  18148. "type": "number"
  18149. },
  18150. "goodsstatus": {
  18151. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  18152. "type": "integer"
  18153. },
  18154. "last": {
  18155. "description": "现价(仅使用于挂牌点选)",
  18156. "type": "number"
  18157. },
  18158. "limitdown": {
  18159. "description": "跌停价(仅使用于挂牌点选)",
  18160. "type": "number"
  18161. },
  18162. "limitup": {
  18163. "description": "涨停价(仅使用于挂牌点选)",
  18164. "type": "number"
  18165. },
  18166. "lotsize": {
  18167. "description": "手数最小变动单位",
  18168. "type": "integer"
  18169. },
  18170. "marketid": {
  18171. "description": "所属市场ID",
  18172. "type": "integer"
  18173. },
  18174. "picurls": {
  18175. "description": "介绍图片[多张用逗号分隔]",
  18176. "type": "string"
  18177. },
  18178. "quoteminunit": {
  18179. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18180. "type": "integer"
  18181. },
  18182. "stepvalue": {
  18183. "description": "价格最小变动单位",
  18184. "type": "number"
  18185. },
  18186. "trademode": {
  18187. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18188. "type": "integer"
  18189. }
  18190. }
  18191. },
  18192. "models.HsbyMyPackage": {
  18193. "type": "object",
  18194. "required": [
  18195. "goodscode",
  18196. "goodsname",
  18197. "takeorderid",
  18198. "trademode"
  18199. ],
  18200. "properties": {
  18201. "accountid": {
  18202. "description": "账户ID",
  18203. "type": "integer"
  18204. },
  18205. "address": {
  18206. "description": "提货人详细地址",
  18207. "type": "string"
  18208. },
  18209. "agreeunit": {
  18210. "description": "合约单位",
  18211. "type": "number"
  18212. },
  18213. "amount": {
  18214. "description": "提货金额",
  18215. "type": "number"
  18216. },
  18217. "auditer": {
  18218. "description": "审核人",
  18219. "type": "integer"
  18220. },
  18221. "audittime": {
  18222. "description": "审核时间",
  18223. "type": "string"
  18224. },
  18225. "averageprice": {
  18226. "description": "均价",
  18227. "type": "number"
  18228. },
  18229. "cardnum": {
  18230. "description": "提货人证件号码",
  18231. "type": "string"
  18232. },
  18233. "cardtypeid": {
  18234. "description": "提货人证件类型",
  18235. "type": "integer"
  18236. },
  18237. "checkremark": {
  18238. "description": "审核备注",
  18239. "type": "string"
  18240. },
  18241. "currencysign": {
  18242. "description": "货币符号",
  18243. "type": "string"
  18244. },
  18245. "decimalplace": {
  18246. "description": "报价小数位",
  18247. "type": "integer"
  18248. },
  18249. "goodscode": {
  18250. "description": "商品代码(内部)",
  18251. "type": "string"
  18252. },
  18253. "goodsid": {
  18254. "description": "商品ID",
  18255. "type": "integer"
  18256. },
  18257. "goodsname": {
  18258. "description": "商品名称",
  18259. "type": "string"
  18260. },
  18261. "handlestatus": {
  18262. "description": "处理状态",
  18263. "type": "integer"
  18264. },
  18265. "marketid": {
  18266. "description": "市场ID",
  18267. "type": "integer"
  18268. },
  18269. "phonenum": {
  18270. "description": "提货人联系方式",
  18271. "type": "string"
  18272. },
  18273. "picurls": {
  18274. "description": "介绍图片[多张用逗号分隔]",
  18275. "type": "string"
  18276. },
  18277. "qty": {
  18278. "description": "提货数量",
  18279. "type": "number"
  18280. },
  18281. "recivername": {
  18282. "description": "提货人姓名",
  18283. "type": "string"
  18284. },
  18285. "reqtime": {
  18286. "description": "更新时间",
  18287. "type": "string"
  18288. },
  18289. "takemode": {
  18290. "description": "提货方式 - 2:自提 3:配送",
  18291. "type": "integer"
  18292. },
  18293. "takeorderid": {
  18294. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  18295. "type": "string"
  18296. },
  18297. "takeorderstatus": {
  18298. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  18299. "type": "integer"
  18300. },
  18301. "takeremark": {
  18302. "description": "提货备注",
  18303. "type": "string"
  18304. },
  18305. "tradedate": {
  18306. "description": "交易日(yyyyMMdd)",
  18307. "type": "string"
  18308. },
  18309. "trademode": {
  18310. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18311. "type": "integer"
  18312. },
  18313. "userid": {
  18314. "description": "用户ID",
  18315. "type": "integer"
  18316. },
  18317. "vendorname": {
  18318. "description": "供应商名称",
  18319. "type": "string"
  18320. }
  18321. }
  18322. },
  18323. "models.HsbyPreGoods": {
  18324. "type": "object",
  18325. "required": [
  18326. "goodscode",
  18327. "goodsid",
  18328. "goodsname",
  18329. "marketid",
  18330. "trademode"
  18331. ],
  18332. "properties": {
  18333. "agreeunit": {
  18334. "description": "合约单位",
  18335. "type": "number"
  18336. },
  18337. "currency": {
  18338. "description": "货币",
  18339. "type": "string"
  18340. },
  18341. "currencysign": {
  18342. "description": "货币符号",
  18343. "type": "string"
  18344. },
  18345. "decimalplace": {
  18346. "description": "报价小数位",
  18347. "type": "integer"
  18348. },
  18349. "desccityid": {
  18350. "description": "目的地(市)",
  18351. "type": "integer"
  18352. },
  18353. "descprovinceid": {
  18354. "description": "目的地(省)",
  18355. "type": "integer"
  18356. },
  18357. "enableqty": {
  18358. "description": "剩余数量",
  18359. "type": "integer"
  18360. },
  18361. "goodscode": {
  18362. "description": "商品代码(内部)",
  18363. "type": "string"
  18364. },
  18365. "goodsid": {
  18366. "description": "商品ID(自增ID SEQ_GOODS)",
  18367. "type": "integer"
  18368. },
  18369. "goodsname": {
  18370. "description": "商品名称",
  18371. "type": "string"
  18372. },
  18373. "goodsstatus": {
  18374. "description": "商品状态- 2:未上市 3:上市",
  18375. "type": "integer"
  18376. },
  18377. "lasttradedate": {
  18378. "description": "最后交易日期(状态:待退市)",
  18379. "type": "string"
  18380. },
  18381. "listingdate": {
  18382. "description": "交易开始日期",
  18383. "type": "string"
  18384. },
  18385. "marketid": {
  18386. "description": "所属市场ID",
  18387. "type": "integer"
  18388. },
  18389. "picurls": {
  18390. "description": "介绍图片[多张用逗号分隔]",
  18391. "type": "string"
  18392. },
  18393. "presaledqty": {
  18394. "description": "已预售量(预售结束时更新)",
  18395. "type": "integer"
  18396. },
  18397. "presaleqty": {
  18398. "description": "预售数量",
  18399. "type": "integer"
  18400. },
  18401. "quoteminunit": {
  18402. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18403. "type": "integer"
  18404. },
  18405. "refprice": {
  18406. "description": "参考价格[一口价]",
  18407. "type": "number"
  18408. },
  18409. "relatedgoodsid": {
  18410. "description": "关联交易合约ID",
  18411. "type": "integer"
  18412. },
  18413. "trademode": {
  18414. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18415. "type": "integer"
  18416. },
  18417. "videourls": {
  18418. "description": "介绍视频[多张用逗号分隔]",
  18419. "type": "string"
  18420. }
  18421. }
  18422. },
  18423. "models.HsbyPreGoodsDetail": {
  18424. "type": "object",
  18425. "required": [
  18426. "goodscode",
  18427. "goodsid",
  18428. "goodsname",
  18429. "marketid",
  18430. "trademode"
  18431. ],
  18432. "properties": {
  18433. "agreeunit": {
  18434. "description": "合约单位",
  18435. "type": "number"
  18436. },
  18437. "buymaxqty": {
  18438. "description": "购买上限 [71] - 0为不限",
  18439. "type": "integer"
  18440. },
  18441. "currency": {
  18442. "description": "货币",
  18443. "type": "string"
  18444. },
  18445. "currencysign": {
  18446. "description": "货币符号",
  18447. "type": "string"
  18448. },
  18449. "customername": {
  18450. "description": "发行单位",
  18451. "type": "string"
  18452. },
  18453. "decimalplace": {
  18454. "description": "报价小数位",
  18455. "type": "integer"
  18456. },
  18457. "desccityid": {
  18458. "description": "目的地(市)ID",
  18459. "type": "integer"
  18460. },
  18461. "descprovinceid": {
  18462. "description": "目的地(省)ID",
  18463. "type": "integer"
  18464. },
  18465. "enableqty": {
  18466. "description": "剩余数量",
  18467. "type": "integer"
  18468. },
  18469. "goodscode": {
  18470. "description": "商品代码(内部)",
  18471. "type": "string"
  18472. },
  18473. "goodsdesc": {
  18474. "description": "商品详情",
  18475. "type": "string"
  18476. },
  18477. "goodsid": {
  18478. "description": "商品ID(自增ID SEQ_GOODS)",
  18479. "type": "integer"
  18480. },
  18481. "goodsname": {
  18482. "description": "商品名称",
  18483. "type": "string"
  18484. },
  18485. "goodsstatus": {
  18486. "description": "商品状态- 2:未上市 3:上市",
  18487. "type": "integer"
  18488. },
  18489. "goodunit": {
  18490. "description": "报价单位",
  18491. "type": "string"
  18492. },
  18493. "lasttradedate": {
  18494. "description": "最后交易日期(状态:待退市)",
  18495. "type": "string"
  18496. },
  18497. "listingdate": {
  18498. "description": "交易开始日期",
  18499. "type": "string"
  18500. },
  18501. "lotsize": {
  18502. "description": "手数最小变动单位",
  18503. "type": "integer"
  18504. },
  18505. "marketid": {
  18506. "description": "所属市场ID",
  18507. "type": "integer"
  18508. },
  18509. "picurls": {
  18510. "description": "介绍图片[多张用逗号分隔]",
  18511. "type": "string"
  18512. },
  18513. "presaledqty": {
  18514. "description": "已预售量(预售结束时更新)",
  18515. "type": "integer"
  18516. },
  18517. "presaleqty": {
  18518. "description": "预售数量",
  18519. "type": "integer"
  18520. },
  18521. "quoteminunit": {
  18522. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18523. "type": "integer"
  18524. },
  18525. "refprice": {
  18526. "description": "参考价格[一口价]",
  18527. "type": "number"
  18528. },
  18529. "relatedgoodsid": {
  18530. "description": "关联交易合约ID",
  18531. "type": "integer"
  18532. },
  18533. "stepvalue": {
  18534. "description": "价格最小变动单位",
  18535. "type": "number"
  18536. },
  18537. "trademode": {
  18538. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18539. "type": "integer"
  18540. },
  18541. "vendorattr": {
  18542. "description": "供应商附件(多张,逗号分隔)",
  18543. "type": "string"
  18544. },
  18545. "vendorname": {
  18546. "description": "供应商名称",
  18547. "type": "string"
  18548. },
  18549. "vendorphone": {
  18550. "description": "供应商客服电话",
  18551. "type": "string"
  18552. },
  18553. "videourls": {
  18554. "description": "介绍视频[多张用逗号分隔]",
  18555. "type": "string"
  18556. }
  18557. }
  18558. },
  18559. "models.HsbySellCollectionOrder": {
  18560. "type": "object",
  18561. "required": [
  18562. "goodscode",
  18563. "goodsname",
  18564. "tradeid",
  18565. "trademode"
  18566. ],
  18567. "properties": {
  18568. "agreeunit": {
  18569. "description": "合约单位",
  18570. "type": "number"
  18571. },
  18572. "buyaccountid": {
  18573. "description": "买方账号ID[报价币种]",
  18574. "type": "integer"
  18575. },
  18576. "buyorderid": {
  18577. "description": "买方委托单号",
  18578. "type": "string"
  18579. },
  18580. "createtime": {
  18581. "description": "创建时间",
  18582. "type": "string"
  18583. },
  18584. "currencysign": {
  18585. "description": "货币符号",
  18586. "type": "string"
  18587. },
  18588. "decimalplace": {
  18589. "description": "报价小数位",
  18590. "type": "integer"
  18591. },
  18592. "goodscode": {
  18593. "description": "商品代码(内部)",
  18594. "type": "string"
  18595. },
  18596. "goodsid": {
  18597. "description": "商品ID",
  18598. "type": "integer"
  18599. },
  18600. "goodsname": {
  18601. "description": "商品名称",
  18602. "type": "string"
  18603. },
  18604. "marketid": {
  18605. "description": "市场ID",
  18606. "type": "integer"
  18607. },
  18608. "offamount": {
  18609. "description": "优惠金额",
  18610. "type": "number"
  18611. },
  18612. "payamount": {
  18613. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  18614. "type": "number"
  18615. },
  18616. "payflag": {
  18617. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  18618. "type": "integer"
  18619. },
  18620. "paylimitedtime": {
  18621. "description": "支付期限",
  18622. "type": "string"
  18623. },
  18624. "paytime": {
  18625. "description": "付款时间",
  18626. "type": "string"
  18627. },
  18628. "picurls": {
  18629. "description": "商品介绍图片[多张用逗号分隔]",
  18630. "type": "string"
  18631. },
  18632. "sellaccountid": {
  18633. "description": "卖方账号ID[报价币种]",
  18634. "type": "integer"
  18635. },
  18636. "sellorderid": {
  18637. "description": "卖方委托单号",
  18638. "type": "string"
  18639. },
  18640. "tradeamount": {
  18641. "description": "成交金额",
  18642. "type": "number"
  18643. },
  18644. "tradecharge": {
  18645. "description": "成交手续费(买方)",
  18646. "type": "number"
  18647. },
  18648. "tradedate": {
  18649. "description": "交易日(yyyyMMdd)",
  18650. "type": "string"
  18651. },
  18652. "tradeid": {
  18653. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18654. "type": "string"
  18655. },
  18656. "trademode": {
  18657. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18658. "type": "integer"
  18659. },
  18660. "tradeprice": {
  18661. "description": "成交价格",
  18662. "type": "number"
  18663. },
  18664. "tradeqty": {
  18665. "description": "成交数量",
  18666. "type": "integer"
  18667. }
  18668. }
  18669. },
  18670. "models.HsbySellMyDetail": {
  18671. "type": "object",
  18672. "required": [
  18673. "accountid",
  18674. "buyorsell",
  18675. "goodscode",
  18676. "goodsid",
  18677. "goodsname",
  18678. "marketid",
  18679. "orderid",
  18680. "time",
  18681. "trademode"
  18682. ],
  18683. "properties": {
  18684. "accountid": {
  18685. "description": "账户ID[报价币种]",
  18686. "type": "integer"
  18687. },
  18688. "agreeunit": {
  18689. "description": "合约单位",
  18690. "type": "number"
  18691. },
  18692. "buyorsell": {
  18693. "description": "买卖 - 0:买 1:卖",
  18694. "type": "integer"
  18695. },
  18696. "currencysign": {
  18697. "description": "货币符号",
  18698. "type": "string"
  18699. },
  18700. "decimalplace": {
  18701. "description": "报价小数位",
  18702. "type": "integer"
  18703. },
  18704. "goodscode": {
  18705. "description": "商品代码(内部)",
  18706. "type": "string"
  18707. },
  18708. "goodsid": {
  18709. "description": "商品ID",
  18710. "type": "integer"
  18711. },
  18712. "goodsname": {
  18713. "description": "商品名称",
  18714. "type": "string"
  18715. },
  18716. "marketid": {
  18717. "description": "市场ID",
  18718. "type": "integer"
  18719. },
  18720. "orderid": {
  18721. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  18722. "type": "string"
  18723. },
  18724. "ordertype": {
  18725. "description": "单据类型:0 - 发布中, 1 - 已完成",
  18726. "type": "integer"
  18727. },
  18728. "picurls": {
  18729. "description": "介绍图片[多张用逗号分隔]",
  18730. "type": "string"
  18731. },
  18732. "price": {
  18733. "description": "价格",
  18734. "type": "number"
  18735. },
  18736. "qty": {
  18737. "description": "数量",
  18738. "type": "integer"
  18739. },
  18740. "time": {
  18741. "description": "时间",
  18742. "type": "string"
  18743. },
  18744. "trademode": {
  18745. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18746. "type": "integer"
  18747. },
  18748. "vendorname": {
  18749. "description": "供应商名称",
  18750. "type": "string"
  18751. }
  18752. }
  18753. },
  18754. "models.HsbyTopGoods": {
  18755. "type": "object",
  18756. "required": [
  18757. "goodscode",
  18758. "goodsid",
  18759. "goodsname",
  18760. "marketid",
  18761. "trademode"
  18762. ],
  18763. "properties": {
  18764. "agreeunit": {
  18765. "description": "合约单位",
  18766. "type": "number"
  18767. },
  18768. "currency": {
  18769. "description": "货币",
  18770. "type": "string"
  18771. },
  18772. "currencysign": {
  18773. "description": "货币符号",
  18774. "type": "string"
  18775. },
  18776. "decimalplace": {
  18777. "description": "报价小数位",
  18778. "type": "integer"
  18779. },
  18780. "desccityid": {
  18781. "description": "目的地(市)",
  18782. "type": "integer"
  18783. },
  18784. "descprovinceid": {
  18785. "description": "目的地(省)",
  18786. "type": "integer"
  18787. },
  18788. "goodscode": {
  18789. "description": "商品代码(内部)",
  18790. "type": "string"
  18791. },
  18792. "goodsid": {
  18793. "description": "商品ID(自增ID SEQ_GOODS)",
  18794. "type": "integer"
  18795. },
  18796. "goodsname": {
  18797. "description": "商品名称",
  18798. "type": "string"
  18799. },
  18800. "hotindex": {
  18801. "description": "景点热度",
  18802. "type": "integer"
  18803. },
  18804. "last": {
  18805. "description": "现价",
  18806. "type": "number"
  18807. },
  18808. "marketid": {
  18809. "description": "所属市场ID",
  18810. "type": "integer"
  18811. },
  18812. "picurls": {
  18813. "description": "介绍图片[多张用逗号分隔]",
  18814. "type": "string"
  18815. },
  18816. "quoteminunit": {
  18817. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  18818. "type": "integer"
  18819. },
  18820. "trademode": {
  18821. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18822. "type": "integer"
  18823. },
  18824. "videourls": {
  18825. "description": "介绍视频[多张用逗号分隔]",
  18826. "type": "string"
  18827. }
  18828. }
  18829. },
  18830. "models.HybsMyBuyOrderDetail": {
  18831. "type": "object",
  18832. "required": [
  18833. "accountid",
  18834. "buyorsell",
  18835. "goodscode",
  18836. "goodsid",
  18837. "goodsname",
  18838. "marketid",
  18839. "orderid",
  18840. "orderqty",
  18841. "ordertime",
  18842. "trademode"
  18843. ],
  18844. "properties": {
  18845. "accountid": {
  18846. "description": "账户ID[报价币种]",
  18847. "type": "integer"
  18848. },
  18849. "agreeunit": {
  18850. "description": "合约单位",
  18851. "type": "number"
  18852. },
  18853. "buyorsell": {
  18854. "description": "买卖 - 0:买 1:卖",
  18855. "type": "integer"
  18856. },
  18857. "cancelqty": {
  18858. "description": "撤单数量",
  18859. "type": "integer"
  18860. },
  18861. "currencysign": {
  18862. "description": "货币符号",
  18863. "type": "string"
  18864. },
  18865. "decimalplace": {
  18866. "description": "报价小数位",
  18867. "type": "integer"
  18868. },
  18869. "goodscode": {
  18870. "description": "商品代码(内部)",
  18871. "type": "string"
  18872. },
  18873. "goodsid": {
  18874. "description": "商品ID",
  18875. "type": "integer"
  18876. },
  18877. "goodsname": {
  18878. "description": "商品名称",
  18879. "type": "string"
  18880. },
  18881. "listingselecttype": {
  18882. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18883. "type": "integer"
  18884. },
  18885. "marketid": {
  18886. "description": "市场ID",
  18887. "type": "integer"
  18888. },
  18889. "mybuystatus": {
  18890. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  18891. "type": "integer"
  18892. },
  18893. "orderamount": {
  18894. "description": "委托金额",
  18895. "type": "number"
  18896. },
  18897. "orderid": {
  18898. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18899. "type": "string"
  18900. },
  18901. "orderprice": {
  18902. "description": "委托价格",
  18903. "type": "number"
  18904. },
  18905. "orderqty": {
  18906. "description": "委托数量",
  18907. "type": "integer"
  18908. },
  18909. "orderstatus": {
  18910. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18911. "type": "integer"
  18912. },
  18913. "ordertime": {
  18914. "description": "委托时间",
  18915. "type": "string"
  18916. },
  18917. "picurls1": {
  18918. "description": "预售商品介绍图片[多张用逗号分隔]",
  18919. "type": "string"
  18920. },
  18921. "picurls2": {
  18922. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  18923. "type": "string"
  18924. },
  18925. "trademode": {
  18926. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18927. "type": "integer"
  18928. },
  18929. "tradeqty": {
  18930. "description": "成交数量",
  18931. "type": "integer"
  18932. },
  18933. "vendorname1": {
  18934. "description": "预售商品供应商名称",
  18935. "type": "string"
  18936. },
  18937. "vendorname2": {
  18938. "description": "挂牌商品供应商名称",
  18939. "type": "string"
  18940. }
  18941. }
  18942. },
  18943. "models.Loginaccount": {
  18944. "type": "object",
  18945. "required": [
  18946. "loginid"
  18947. ],
  18948. "properties": {
  18949. "canoutin": {
  18950. "description": "是否可出入金 - 0:不可 1:可",
  18951. "type": "integer"
  18952. },
  18953. "clientroleid": {
  18954. "description": "终端角色ID",
  18955. "type": "integer"
  18956. },
  18957. "haslogined": {
  18958. "description": "是否已登录 - 0:未登录 1:已登录",
  18959. "type": "integer"
  18960. },
  18961. "hasupdatedpwd": {
  18962. "description": "是否已更改密码 - 0:未修改 1:已修改",
  18963. "type": "integer"
  18964. },
  18965. "lastloginip": {
  18966. "description": "最新登录地址",
  18967. "type": "string"
  18968. },
  18969. "lastloginmode": {
  18970. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18971. "type": "integer"
  18972. },
  18973. "lastloginremark": {
  18974. "description": "最新登录描述",
  18975. "type": "string"
  18976. },
  18977. "lastlogintime": {
  18978. "description": "最新登录时间",
  18979. "type": "string"
  18980. },
  18981. "logincode": {
  18982. "description": "登录代码",
  18983. "type": "string"
  18984. },
  18985. "loginfailnum": {
  18986. "description": "连续登录失败次数(登录成功时清零)",
  18987. "type": "integer"
  18988. },
  18989. "loginid": {
  18990. "description": "登陆账号",
  18991. "type": "integer"
  18992. },
  18993. "loginport": {
  18994. "description": "最新登录端口",
  18995. "type": "integer"
  18996. },
  18997. "loginstatus": {
  18998. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  18999. "type": "integer"
  19000. },
  19001. "loginusertype": {
  19002. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  19003. "type": "integer"
  19004. },
  19005. "modifierid": {
  19006. "description": "修改人",
  19007. "type": "integer"
  19008. },
  19009. "modifytime": {
  19010. "description": "修改时间",
  19011. "type": "string"
  19012. },
  19013. "pwdwrongcount": {
  19014. "description": "密码错误次数",
  19015. "type": "integer"
  19016. },
  19017. "taaccountrighttype": {
  19018. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  19019. "type": "integer"
  19020. },
  19021. "unfreezetime": {
  19022. "description": "账户解冻时间",
  19023. "type": "string"
  19024. },
  19025. "userid": {
  19026. "description": "用户ID",
  19027. "type": "integer"
  19028. }
  19029. }
  19030. },
  19031. "models.MainAccountInfo": {
  19032. "type": "object",
  19033. "properties": {
  19034. "accountid": {
  19035. "description": "账号id",
  19036. "type": "integer"
  19037. },
  19038. "accountname": {
  19039. "description": "账号名称(taaccount表中的名称)",
  19040. "type": "string"
  19041. },
  19042. "appid": {
  19043. "description": "AppID",
  19044. "type": "string"
  19045. },
  19046. "authcode": {
  19047. "description": "授权码",
  19048. "type": "string"
  19049. },
  19050. "brokerid": {
  19051. "description": "经纪商id",
  19052. "type": "string"
  19053. },
  19054. "fcid": {
  19055. "description": "期货公司id",
  19056. "type": "integer"
  19057. },
  19058. "fcname": {
  19059. "description": "期货公司代码",
  19060. "type": "string"
  19061. },
  19062. "hedgeaccountcode": {
  19063. "description": "外部账号代码(主账号登录代码)",
  19064. "type": "string"
  19065. },
  19066. "hedgeaccountpwd": {
  19067. "description": "密码",
  19068. "type": "string"
  19069. },
  19070. "ismain": {
  19071. "description": "是否主账号",
  19072. "type": "integer"
  19073. },
  19074. "relateduserid": {
  19075. "description": "关联用户id",
  19076. "type": "integer"
  19077. },
  19078. "userid": {
  19079. "description": "关联用户id",
  19080. "type": "integer"
  19081. }
  19082. }
  19083. },
  19084. "models.Market": {
  19085. "type": "object",
  19086. "required": [
  19087. "marketid",
  19088. "marketstatus",
  19089. "openmethod",
  19090. "reckonpricealgorithm",
  19091. "trademode",
  19092. "tradeproperty"
  19093. ],
  19094. "properties": {
  19095. "auctionwrtype": {
  19096. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  19097. "type": "integer"
  19098. },
  19099. "canacceptquote": {
  19100. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  19101. "type": "integer"
  19102. },
  19103. "cangoodsexercise": {
  19104. "description": "[期权]是否可现货行权- 0:否 1:是",
  19105. "type": "integer"
  19106. },
  19107. "cangoodsexercisetype": {
  19108. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  19109. "type": "integer"
  19110. },
  19111. "canmanualquotestrike": {
  19112. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  19113. "type": "integer"
  19114. },
  19115. "canmutistage": {
  19116. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  19117. "type": "integer"
  19118. },
  19119. "canpreexercise": {
  19120. "description": "[期权]是否可预申报- 0:否 1:是",
  19121. "type": "integer"
  19122. },
  19123. "clearinterval": {
  19124. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  19125. "type": "integer"
  19126. },
  19127. "contracttmp": {
  19128. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  19129. "type": "string"
  19130. },
  19131. "exchareaid": {
  19132. "description": "所属交易所,可以没有",
  19133. "type": "integer"
  19134. },
  19135. "goodstype": {
  19136. "description": "商品类型 - 1:交易商品 2:仓单商品",
  19137. "type": "integer"
  19138. },
  19139. "hasrebate": {
  19140. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  19141. "type": "integer"
  19142. },
  19143. "hastradecredit": {
  19144. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  19145. "type": "integer"
  19146. },
  19147. "haswr": {
  19148. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  19149. "type": "integer"
  19150. },
  19151. "isdeductmargin": {
  19152. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  19153. "type": "integer"
  19154. },
  19155. "isrecordsource": {
  19156. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  19157. "type": "integer"
  19158. },
  19159. "isreleasemargin": {
  19160. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  19161. "type": "integer"
  19162. },
  19163. "marginformula": {
  19164. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19165. "type": "integer"
  19166. },
  19167. "marginformula2": {
  19168. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  19169. "type": "integer"
  19170. },
  19171. "marketid": {
  19172. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  19173. "type": "integer"
  19174. },
  19175. "marketname": {
  19176. "description": "市场名称",
  19177. "type": "string"
  19178. },
  19179. "marketserviceid": {
  19180. "description": "市场服务ID",
  19181. "type": "integer"
  19182. },
  19183. "marketstatus": {
  19184. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  19185. "type": "integer"
  19186. },
  19187. "markettype": {
  19188. "description": "市场类型- 1:非交易服务 2:交易服务",
  19189. "type": "integer"
  19190. },
  19191. "matchermode": {
  19192. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  19193. "type": "integer"
  19194. },
  19195. "openmethod": {
  19196. "description": "开盘模式 - 0 自动 1手动",
  19197. "type": "integer"
  19198. },
  19199. "otcuserid": {
  19200. "description": "场外期权做市商[场外期权]",
  19201. "type": "integer"
  19202. },
  19203. "outersynctime": {
  19204. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  19205. "type": "string"
  19206. },
  19207. "pendingflag": {
  19208. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  19209. "type": "integer"
  19210. },
  19211. "pendingtime": {
  19212. "description": "待开市时间[通道交易-对冲](HH:mm)",
  19213. "type": "string"
  19214. },
  19215. "performancetempid": {
  19216. "description": "履约计划模板ID - 作废",
  19217. "type": "integer"
  19218. },
  19219. "premiumquotemode": {
  19220. "description": "权利金报价方式 - 1:自动 2:手动",
  19221. "type": "integer"
  19222. },
  19223. "rebateratio": {
  19224. "description": "返利比率[竞价式]",
  19225. "type": "number"
  19226. },
  19227. "reckonorder": {
  19228. "description": "结算顺序",
  19229. "type": "integer"
  19230. },
  19231. "reckonpricealgorithm": {
  19232. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  19233. "type": "integer"
  19234. },
  19235. "reckonpriceparam": {
  19236. "description": "结算价参数",
  19237. "type": "integer"
  19238. },
  19239. "reckontime": {
  19240. "description": "结算时间[通道交易-对冲](HH:mm)",
  19241. "type": "string"
  19242. },
  19243. "roleprioritytype": {
  19244. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  19245. "type": "integer"
  19246. },
  19247. "selllistingauditflag": {
  19248. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  19249. "type": "integer"
  19250. },
  19251. "trademarkettype": {
  19252. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  19253. "type": "integer"
  19254. },
  19255. "trademode": {
  19256. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  19257. "type": "integer"
  19258. },
  19259. "tradeproperty": {
  19260. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  19261. "type": "integer"
  19262. },
  19263. "tradetype": {
  19264. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  19265. "type": "integer"
  19266. }
  19267. }
  19268. },
  19269. "models.Marketrun": {
  19270. "type": "object",
  19271. "required": [
  19272. "marketid",
  19273. "nexttradedate",
  19274. "reckonflag",
  19275. "runstatus",
  19276. "tradedate",
  19277. "tradedate2"
  19278. ],
  19279. "properties": {
  19280. "afternexttradedate": {
  19281. "description": "下下交易日",
  19282. "type": "string"
  19283. },
  19284. "clearquoteflag": {
  19285. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  19286. "type": "integer"
  19287. },
  19288. "lastreckondate": {
  19289. "description": "最新交易日(结算成功)",
  19290. "type": "string"
  19291. },
  19292. "machinedate": {
  19293. "description": "机器时间",
  19294. "type": "string"
  19295. },
  19296. "manualflag": {
  19297. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  19298. "type": "integer"
  19299. },
  19300. "marketid": {
  19301. "description": "市场ID",
  19302. "type": "integer"
  19303. },
  19304. "nexttradedate": {
  19305. "description": "下一交易日",
  19306. "type": "string"
  19307. },
  19308. "pretradedate": {
  19309. "description": "上一交易日",
  19310. "type": "string"
  19311. },
  19312. "reckonflag": {
  19313. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  19314. "type": "integer"
  19315. },
  19316. "runstatus": {
  19317. "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.今日免清算",
  19318. "type": "integer"
  19319. },
  19320. "sectionid": {
  19321. "description": "时间段号[多时段时用]",
  19322. "type": "integer"
  19323. },
  19324. "tradedate": {
  19325. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  19326. "type": "string"
  19327. },
  19328. "tradedate2": {
  19329. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  19330. "type": "string"
  19331. },
  19332. "updatetime": {
  19333. "description": "更新时间",
  19334. "type": "string"
  19335. }
  19336. }
  19337. },
  19338. "models.Messageboard": {
  19339. "type": "object",
  19340. "required": [
  19341. "messageboardid"
  19342. ],
  19343. "properties": {
  19344. "contactnum": {
  19345. "description": "联系电话",
  19346. "type": "string"
  19347. },
  19348. "createtime": {
  19349. "description": "创建时间",
  19350. "type": "string"
  19351. },
  19352. "message": {
  19353. "description": "留言信息",
  19354. "type": "string"
  19355. },
  19356. "messageboardid": {
  19357. "description": "留言簿ID(SEQ_MessageBoard)",
  19358. "type": "integer"
  19359. },
  19360. "userid": {
  19361. "description": "用户ID",
  19362. "type": "integer"
  19363. }
  19364. }
  19365. },
  19366. "models.MyCoupon": {
  19367. "type": "object",
  19368. "required": [
  19369. "accountid",
  19370. "coupontypeid"
  19371. ],
  19372. "properties": {
  19373. "accountid": {
  19374. "description": "资金账户ID",
  19375. "type": "integer"
  19376. },
  19377. "areauserid": {
  19378. "description": "所属机构",
  19379. "type": "integer"
  19380. },
  19381. "conditionvalue": {
  19382. "description": "条件阈值(可为0)",
  19383. "type": "number"
  19384. },
  19385. "couponcategroy": {
  19386. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  19387. "type": "integer"
  19388. },
  19389. "couponname": {
  19390. "description": "优惠券名称",
  19391. "type": "string"
  19392. },
  19393. "coupontypeid": {
  19394. "description": "优惠券类型ID",
  19395. "type": "string"
  19396. },
  19397. "couponvalue": {
  19398. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19399. "type": "number"
  19400. },
  19401. "curfreezeqty": {
  19402. "description": "期末冻结数量",
  19403. "type": "integer"
  19404. },
  19405. "curqty": {
  19406. "description": "期末数量",
  19407. "type": "integer"
  19408. },
  19409. "isgeneral": {
  19410. "description": "是否通用券 - 0:否 1:是",
  19411. "type": "integer"
  19412. },
  19413. "isunusable": {
  19414. "description": "是否不可用",
  19415. "type": "boolean"
  19416. },
  19417. "limitedflag": {
  19418. "description": "是否指定商品 - 0:不限 1:限制",
  19419. "type": "integer"
  19420. },
  19421. "limitedgoodsids": {
  19422. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  19423. "type": "string"
  19424. },
  19425. "orifreezeqty": {
  19426. "description": "期初冻结数量",
  19427. "type": "integer"
  19428. },
  19429. "oriqty": {
  19430. "description": "期初数量",
  19431. "type": "integer"
  19432. },
  19433. "reasontype": {
  19434. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  19435. "type": "integer"
  19436. },
  19437. "todaydecrease": {
  19438. "description": "今日减少",
  19439. "type": "integer"
  19440. },
  19441. "todayincrease": {
  19442. "description": "今日增加",
  19443. "type": "integer"
  19444. },
  19445. "userid": {
  19446. "description": "用户ID",
  19447. "type": "integer"
  19448. },
  19449. "userscope": {
  19450. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  19451. "type": "string"
  19452. }
  19453. }
  19454. },
  19455. "models.MyCouponHold": {
  19456. "type": "object",
  19457. "required": [
  19458. "couponholdid"
  19459. ],
  19460. "properties": {
  19461. "accountid": {
  19462. "description": "资金账户ID",
  19463. "type": "integer"
  19464. },
  19465. "conditionvalue": {
  19466. "description": "条件阈值(可为0)",
  19467. "type": "number"
  19468. },
  19469. "couponcategroy": {
  19470. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  19471. "type": "integer"
  19472. },
  19473. "couponholdid": {
  19474. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  19475. "type": "string"
  19476. },
  19477. "couponname": {
  19478. "description": "优惠券名称",
  19479. "type": "string"
  19480. },
  19481. "coupontypeid": {
  19482. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  19483. "type": "string"
  19484. },
  19485. "couponvalue": {
  19486. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  19487. "type": "number"
  19488. },
  19489. "createtime": {
  19490. "description": "创建时间",
  19491. "type": "string"
  19492. },
  19493. "enddate": {
  19494. "description": "结束日期",
  19495. "type": "string"
  19496. },
  19497. "giveapplyid": {
  19498. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  19499. "type": "integer"
  19500. },
  19501. "holdstatus": {
  19502. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  19503. "type": "integer"
  19504. },
  19505. "isgeneral": {
  19506. "description": "是否通用券 - 0:否 1:是",
  19507. "type": "integer"
  19508. },
  19509. "limitedflag": {
  19510. "description": "是否指定商品 - 0:不限 1:限制",
  19511. "type": "integer"
  19512. },
  19513. "limitedgoodsids": {
  19514. "description": "指定商品IDs[逗号分隔]",
  19515. "type": "string"
  19516. },
  19517. "qty": {
  19518. "description": "数量(按1平铺)",
  19519. "type": "integer"
  19520. },
  19521. "startdate": {
  19522. "description": "开始日期",
  19523. "type": "string"
  19524. },
  19525. "userid": {
  19526. "description": "用户ID",
  19527. "type": "integer"
  19528. },
  19529. "userscope": {
  19530. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  19531. "type": "string"
  19532. }
  19533. }
  19534. },
  19535. "models.MyUsedCoupon": {
  19536. "type": "object",
  19537. "required": [
  19538. "coupontypeid",
  19539. "orderid"
  19540. ],
  19541. "properties": {
  19542. "accountid": {
  19543. "description": "资金账户ID(买方)",
  19544. "type": "integer"
  19545. },
  19546. "conditionvalue": {
  19547. "description": "条件阈值(可为0)",
  19548. "type": "number"
  19549. },
  19550. "couponcategroy": {
  19551. "description": "种类 - 1:现金券 2:折扣券",
  19552. "type": "integer"
  19553. },
  19554. "couponname": {
  19555. "description": "优惠券名称",
  19556. "type": "string"
  19557. },
  19558. "coupontypeid": {
  19559. "description": "优惠券类型ID(买方)",
  19560. "type": "string"
  19561. },
  19562. "couponvalue": {
  19563. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  19564. "type": "number"
  19565. },
  19566. "createtime": {
  19567. "description": "创建时间",
  19568. "type": "string"
  19569. },
  19570. "goodsid": {
  19571. "description": "商品ID",
  19572. "type": "integer"
  19573. },
  19574. "handlestatus": {
  19575. "description": "处理状态",
  19576. "type": "integer"
  19577. },
  19578. "marketid": {
  19579. "description": "市场ID",
  19580. "type": "integer"
  19581. },
  19582. "offamount": {
  19583. "description": "优惠金额",
  19584. "type": "number"
  19585. },
  19586. "orderid": {
  19587. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19588. "type": "string"
  19589. },
  19590. "sellaccountid": {
  19591. "description": "资金账户ID(卖方)",
  19592. "type": "integer"
  19593. },
  19594. "tradeamount": {
  19595. "description": "成交金额",
  19596. "type": "number"
  19597. },
  19598. "tradeid": {
  19599. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19600. "type": "string"
  19601. },
  19602. "usedqty": {
  19603. "description": "使用数量",
  19604. "type": "integer"
  19605. }
  19606. }
  19607. },
  19608. "models.OperationPrimaryMenu": {
  19609. "type": "object",
  19610. "properties": {
  19611. "Children": {
  19612. "description": "二级功能菜单",
  19613. "type": "array",
  19614. "items": {
  19615. "$ref": "#/definitions/models.OperationSecondaryMenu"
  19616. }
  19617. },
  19618. "Key": {
  19619. "description": "菜单KEY",
  19620. "type": "string"
  19621. },
  19622. "Label": {
  19623. "description": "菜单标题",
  19624. "type": "string"
  19625. }
  19626. }
  19627. },
  19628. "models.OperationSecondaryMenu": {
  19629. "type": "object",
  19630. "properties": {
  19631. "Key": {
  19632. "description": "菜单KEY",
  19633. "type": "string"
  19634. },
  19635. "Label": {
  19636. "description": "菜单标题",
  19637. "type": "string"
  19638. },
  19639. "TabList": {
  19640. "description": "三级功能菜单",
  19641. "type": "array",
  19642. "items": {
  19643. "$ref": "#/definitions/models.OperationTabMenu"
  19644. }
  19645. }
  19646. }
  19647. },
  19648. "models.OperationTabMenu": {
  19649. "type": "object",
  19650. "properties": {
  19651. "Key": {
  19652. "description": "菜单KEY",
  19653. "type": "string"
  19654. },
  19655. "Label": {
  19656. "description": "菜单标题",
  19657. "type": "string"
  19658. }
  19659. }
  19660. },
  19661. "models.PendingAuditBizModel": {
  19662. "type": "object",
  19663. "properties": {
  19664. "accountid": {
  19665. "description": "现货账户",
  19666. "type": "string"
  19667. },
  19668. "areaname": {
  19669. "description": "所属部门",
  19670. "type": "string"
  19671. },
  19672. "bizid": {
  19673. "description": "业务ID",
  19674. "type": "string"
  19675. },
  19676. "bizname": {
  19677. "description": "业务名称",
  19678. "type": "string"
  19679. },
  19680. "status": {
  19681. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19682. "type": "integer"
  19683. },
  19684. "type": {
  19685. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  19686. "type": "integer"
  19687. }
  19688. }
  19689. },
  19690. "models.QueryErrorInfosRsp": {
  19691. "type": "object",
  19692. "required": [
  19693. "errorid"
  19694. ],
  19695. "properties": {
  19696. "description": {
  19697. "description": "异常描述",
  19698. "type": "string"
  19699. },
  19700. "errorcode": {
  19701. "description": "异常代码",
  19702. "type": "string"
  19703. },
  19704. "errorid": {
  19705. "description": "异常ID",
  19706. "type": "integer"
  19707. },
  19708. "modulecode": {
  19709. "description": "所属模块",
  19710. "type": "string"
  19711. },
  19712. "operatecode": {
  19713. "description": "所属操作",
  19714. "type": "string"
  19715. },
  19716. "rownumber": {
  19717. "description": "行号",
  19718. "type": "string"
  19719. }
  19720. }
  19721. },
  19722. "models.QueryHedgeOrderDetailRsp": {
  19723. "type": "object",
  19724. "properties": {
  19725. "accountid": {
  19726. "description": "账户ID",
  19727. "type": "integer"
  19728. },
  19729. "buyorsell": {
  19730. "description": "买卖 - 0:买 1:卖",
  19731. "type": "integer"
  19732. },
  19733. "cancellogincode": {
  19734. "description": "撤单人",
  19735. "type": "string"
  19736. },
  19737. "channelbuildtype": {
  19738. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  19739. "type": "integer"
  19740. },
  19741. "channelinnerorderstatus": {
  19742. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  19743. "type": "integer"
  19744. },
  19745. "channeloperatetype": {
  19746. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  19747. "type": "integer"
  19748. },
  19749. "closetype": {
  19750. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19751. "type": "integer"
  19752. },
  19753. "curexchangerate": {
  19754. "description": "当前汇率",
  19755. "type": "number"
  19756. },
  19757. "exchangefullname": {
  19758. "description": "外部交易所全称",
  19759. "type": "string"
  19760. },
  19761. "goodscode": {
  19762. "description": "商品代码(内部)",
  19763. "type": "string"
  19764. },
  19765. "goodsid": {
  19766. "description": "商品ID",
  19767. "type": "integer"
  19768. },
  19769. "goodsname": {
  19770. "description": "商品名称",
  19771. "type": "string"
  19772. },
  19773. "marketid": {
  19774. "description": "市场ID",
  19775. "type": "integer"
  19776. },
  19777. "openfreezemargin": {
  19778. "description": "冻结保证金(冻结交易金额)",
  19779. "type": "number"
  19780. },
  19781. "orderid": {
  19782. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19783. "type": "string"
  19784. },
  19785. "orderlogincode": {
  19786. "description": "委托人",
  19787. "type": "string"
  19788. },
  19789. "orderprice": {
  19790. "description": "委托价格(账户)",
  19791. "type": "number"
  19792. },
  19793. "orderqty": {
  19794. "description": "委托数量",
  19795. "type": "integer"
  19796. },
  19797. "ordertime": {
  19798. "description": "委托时间",
  19799. "type": "string"
  19800. },
  19801. "pricemode": {
  19802. "description": "取价方式 - 1:市价 2: 限价",
  19803. "type": "integer"
  19804. },
  19805. "tradedate": {
  19806. "description": "交易日(yyyyMMdd)",
  19807. "type": "string"
  19808. },
  19809. "tradeqty": {
  19810. "description": "成交数量",
  19811. "type": "integer"
  19812. }
  19813. }
  19814. },
  19815. "models.QueryHedgeTradeDetailRsp": {
  19816. "type": "object",
  19817. "properties": {
  19818. "accountid": {
  19819. "description": "账号ID",
  19820. "type": "integer"
  19821. },
  19822. "buyorsell": {
  19823. "description": "方向 - 0:买 1:卖",
  19824. "type": "integer"
  19825. },
  19826. "channelbuildtype": {
  19827. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19828. "type": "integer"
  19829. },
  19830. "closecharge": {
  19831. "description": "平仓手续费(账户)",
  19832. "type": "number"
  19833. },
  19834. "closecharge2": {
  19835. "description": "平仓手续费(商品)",
  19836. "type": "number"
  19837. },
  19838. "closepl": {
  19839. "description": "平仓盈亏(账户)",
  19840. "type": "number"
  19841. },
  19842. "closepl2": {
  19843. "description": "平仓盈亏(商品)",
  19844. "type": "number"
  19845. },
  19846. "closepl3": {
  19847. "description": "平仓盈亏(账户)(逐笔)",
  19848. "type": "number"
  19849. },
  19850. "closepl4": {
  19851. "description": "平仓盈亏(商品)(逐笔)",
  19852. "type": "number"
  19853. },
  19854. "closetype": {
  19855. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19856. "type": "integer"
  19857. },
  19858. "curexchangerate": {
  19859. "description": "当前汇率",
  19860. "type": "number"
  19861. },
  19862. "exchangefullname": {
  19863. "description": "外部交易所全称",
  19864. "type": "string"
  19865. },
  19866. "goodscode": {
  19867. "description": "商品代码(内部)",
  19868. "type": "string"
  19869. },
  19870. "goodsid": {
  19871. "description": "商品ID",
  19872. "type": "integer"
  19873. },
  19874. "goodsname": {
  19875. "description": "商品名称",
  19876. "type": "string"
  19877. },
  19878. "marketid": {
  19879. "description": "市场ID",
  19880. "type": "integer"
  19881. },
  19882. "opencharge": {
  19883. "description": "建仓手续费(账户)",
  19884. "type": "number"
  19885. },
  19886. "opencharge2": {
  19887. "description": "建仓手续费(商品)",
  19888. "type": "number"
  19889. },
  19890. "orderid": {
  19891. "description": "委托单号",
  19892. "type": "string"
  19893. },
  19894. "orderlogincode": {
  19895. "description": "委托人",
  19896. "type": "string"
  19897. },
  19898. "tradeamount": {
  19899. "description": "成交金额(账户)",
  19900. "type": "number"
  19901. },
  19902. "tradedate": {
  19903. "description": "交易日(yyyyMMdd)",
  19904. "type": "string"
  19905. },
  19906. "tradeid": {
  19907. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19908. "type": "string"
  19909. },
  19910. "tradeprice": {
  19911. "description": "成交价格",
  19912. "type": "number"
  19913. },
  19914. "tradeqty": {
  19915. "description": "成交数量",
  19916. "type": "integer"
  19917. },
  19918. "tradetime": {
  19919. "description": "成交时间",
  19920. "type": "string"
  19921. },
  19922. "tradetype": {
  19923. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  19924. "type": "integer"
  19925. }
  19926. }
  19927. },
  19928. "models.QuotePrimaryMenu": {
  19929. "type": "object",
  19930. "properties": {
  19931. "Index": {
  19932. "description": "序号",
  19933. "type": "integer"
  19934. },
  19935. "Key": {
  19936. "description": "键名",
  19937. "type": "string"
  19938. },
  19939. "Name": {
  19940. "description": "菜单名称",
  19941. "type": "string"
  19942. },
  19943. "SubMenus": {
  19944. "description": "子菜单",
  19945. "type": "array",
  19946. "items": {
  19947. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  19948. }
  19949. },
  19950. "SubTitleType": {
  19951. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  19952. "type": "integer"
  19953. },
  19954. "TradeModes": {
  19955. "description": "包含市场交易类型",
  19956. "type": "string"
  19957. }
  19958. }
  19959. },
  19960. "models.QuoteSecondaryMenu": {
  19961. "type": "object",
  19962. "properties": {
  19963. "ExExchangeCode": {
  19964. "description": "外部交易所代码",
  19965. "type": "string"
  19966. },
  19967. "ExExchangeID": {
  19968. "description": "外部交易所ID",
  19969. "type": "integer"
  19970. },
  19971. "GoodsGroupIDs": {
  19972. "description": "商品组ID列表",
  19973. "type": "array",
  19974. "items": {
  19975. "type": "integer"
  19976. }
  19977. },
  19978. "Index": {
  19979. "description": "序号",
  19980. "type": "integer"
  19981. },
  19982. "MarketID": {
  19983. "description": "市场ID",
  19984. "type": "integer"
  19985. },
  19986. "MenuTitle": {
  19987. "description": "菜单标题(市场名称或外部交易所名称)",
  19988. "type": "string"
  19989. },
  19990. "TradeMode": {
  19991. "description": "交易模式",
  19992. "type": "integer"
  19993. }
  19994. }
  19995. },
  19996. "models.SearchGoods": {
  19997. "type": "object",
  19998. "required": [
  19999. "goodscode",
  20000. "goodsid",
  20001. "goodsname",
  20002. "marketid",
  20003. "trademode"
  20004. ],
  20005. "properties": {
  20006. "goodscode": {
  20007. "description": "商品代码(内部)",
  20008. "type": "string"
  20009. },
  20010. "goodsid": {
  20011. "description": "商品ID(自增ID SEQ_GOODS)",
  20012. "type": "integer"
  20013. },
  20014. "goodsname": {
  20015. "description": "商品名称",
  20016. "type": "string"
  20017. },
  20018. "marketid": {
  20019. "description": "所属市场ID",
  20020. "type": "integer"
  20021. },
  20022. "marketname": {
  20023. "description": "市场名称",
  20024. "type": "string"
  20025. },
  20026. "trademode": {
  20027. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  20028. "type": "integer"
  20029. }
  20030. }
  20031. },
  20032. "models.Systemparam": {
  20033. "type": "object",
  20034. "required": [
  20035. "paramcode"
  20036. ],
  20037. "properties": {
  20038. "loginid": {
  20039. "description": "更新用户账号,登录账号",
  20040. "type": "string"
  20041. },
  20042. "modifyflag": {
  20043. "description": "修改标志0 不允许修改 1 允许修改",
  20044. "type": "integer"
  20045. },
  20046. "paramcode": {
  20047. "description": "参数代码",
  20048. "type": "string"
  20049. },
  20050. "paramname": {
  20051. "description": "参数名",
  20052. "type": "string"
  20053. },
  20054. "paramtype": {
  20055. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  20056. "type": "integer"
  20057. },
  20058. "paramvalue": {
  20059. "description": "参数值",
  20060. "type": "string"
  20061. },
  20062. "paramvalue2": {
  20063. "description": "参数值(CLOB)",
  20064. "type": "string"
  20065. },
  20066. "regexpress": {
  20067. "description": "正则表达式",
  20068. "type": "string"
  20069. },
  20070. "remark": {
  20071. "description": "备注",
  20072. "type": "string"
  20073. },
  20074. "serverip": {
  20075. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  20076. "type": "string"
  20077. },
  20078. "showflag": {
  20079. "description": "是否显示0 不显示 1 显示",
  20080. "type": "integer"
  20081. },
  20082. "updatetime": {
  20083. "description": "更新时间",
  20084. "type": "string"
  20085. },
  20086. "userid": {
  20087. "description": "更新用户ID",
  20088. "type": "integer"
  20089. }
  20090. }
  20091. },
  20092. "models.Szdz3convertconfig": {
  20093. "type": "object",
  20094. "required": [
  20095. "converttype",
  20096. "innergoodsid",
  20097. "outergoodscode"
  20098. ],
  20099. "properties": {
  20100. "canin": {
  20101. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  20102. "type": "integer"
  20103. },
  20104. "canout": {
  20105. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  20106. "type": "integer"
  20107. },
  20108. "converttype": {
  20109. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  20110. "type": "integer"
  20111. },
  20112. "createtime": {
  20113. "description": "创建时间",
  20114. "type": "string"
  20115. },
  20116. "creatorid": {
  20117. "description": "创建人",
  20118. "type": "integer"
  20119. },
  20120. "daymaxvalue": {
  20121. "description": "当日最大转入限制",
  20122. "type": "number"
  20123. },
  20124. "freezedays": {
  20125. "description": "冻结天数 [5:花生米转交易]",
  20126. "type": "integer"
  20127. },
  20128. "innergoodsid": {
  20129. "description": "内部商品ID[交易]",
  20130. "type": "integer"
  20131. },
  20132. "inratio": {
  20133. "description": "目标值",
  20134. "type": "integer"
  20135. },
  20136. "modifierid": {
  20137. "description": "修改人",
  20138. "type": "integer"
  20139. },
  20140. "modifytime": {
  20141. "description": "修改时间",
  20142. "type": "string"
  20143. },
  20144. "outergoodscode": {
  20145. "description": "外部商品代码[JD\\PD]",
  20146. "type": "string"
  20147. },
  20148. "outratio": {
  20149. "description": "源值",
  20150. "type": "integer"
  20151. },
  20152. "pddecimalplace": {
  20153. "description": "PD小数位",
  20154. "type": "integer"
  20155. },
  20156. "timemaxvalue": {
  20157. "description": "单次最大转入限制",
  20158. "type": "number"
  20159. },
  20160. "timeminvalue": {
  20161. "description": "单次最小转入限制",
  20162. "type": "number"
  20163. }
  20164. }
  20165. },
  20166. "models.Szdz3searchwhitelist": {
  20167. "type": "object",
  20168. "required": [
  20169. "userid"
  20170. ],
  20171. "properties": {
  20172. "createtime": {
  20173. "description": "创建时间",
  20174. "type": "string"
  20175. },
  20176. "creatorid": {
  20177. "description": "创建人",
  20178. "type": "integer"
  20179. },
  20180. "modifierid": {
  20181. "description": "修改人",
  20182. "type": "integer"
  20183. },
  20184. "modifytime": {
  20185. "description": "修改时间",
  20186. "type": "string"
  20187. },
  20188. "userid": {
  20189. "description": "用户ID",
  20190. "type": "integer"
  20191. }
  20192. }
  20193. },
  20194. "models.Taaccount": {
  20195. "type": "object",
  20196. "required": [
  20197. "accountid",
  20198. "userid"
  20199. ],
  20200. "properties": {
  20201. "accountflag": {
  20202. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  20203. "type": "integer"
  20204. },
  20205. "accountid": {
  20206. "description": "资金账户ID",
  20207. "type": "integer"
  20208. },
  20209. "accountname": {
  20210. "description": "账户名称",
  20211. "type": "string"
  20212. },
  20213. "balance": {
  20214. "description": "期初余额",
  20215. "type": "number"
  20216. },
  20217. "capitalbalance": {
  20218. "description": "本金余额[外部子账户实际出入金余额]",
  20219. "type": "number"
  20220. },
  20221. "changeflag": {
  20222. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  20223. "type": "integer"
  20224. },
  20225. "changetime": {
  20226. "description": "账户状态变更时间",
  20227. "type": "string"
  20228. },
  20229. "closepl": {
  20230. "description": "今日平仓盈亏",
  20231. "type": "number"
  20232. },
  20233. "creditdecrease": {
  20234. "description": "今日授信减少",
  20235. "type": "number"
  20236. },
  20237. "creditincrease": {
  20238. "description": "今日授信增加",
  20239. "type": "number"
  20240. },
  20241. "currencyid": {
  20242. "description": "货币ID",
  20243. "type": "integer"
  20244. },
  20245. "currentbalance": {
  20246. "description": "期末余额",
  20247. "type": "number"
  20248. },
  20249. "freezecharge": {
  20250. "description": "手续费冻结",
  20251. "type": "number"
  20252. },
  20253. "freezemargin": {
  20254. "description": "冻结保证金",
  20255. "type": "number"
  20256. },
  20257. "fromaccountid": {
  20258. "description": "所属上级账户",
  20259. "type": "integer"
  20260. },
  20261. "inamount": {
  20262. "description": "今日入金金额(包括三方入金)",
  20263. "type": "number"
  20264. },
  20265. "ismain": {
  20266. "description": "是否母账号 0:不是母账户 1:是母账户",
  20267. "type": "integer"
  20268. },
  20269. "ismarketaccount": {
  20270. "description": "是否机构接单账号 0:不是 1:是",
  20271. "type": "integer"
  20272. },
  20273. "isreckonaccount": {
  20274. "description": "是否机构分润账号 0:不是 1:是",
  20275. "type": "integer"
  20276. },
  20277. "mortgagecredit": {
  20278. "description": "授信金额",
  20279. "type": "number"
  20280. },
  20281. "orifreezecharge": {
  20282. "description": "期初手续费冻结",
  20283. "type": "number"
  20284. },
  20285. "orifreezemargin": {
  20286. "description": "期初冻结保证金",
  20287. "type": "number"
  20288. },
  20289. "orimortgagecredit": {
  20290. "description": "期初授信金额",
  20291. "type": "number"
  20292. },
  20293. "oriothercredit": {
  20294. "description": "期初其它授信金额",
  20295. "type": "number"
  20296. },
  20297. "oriotherfreezemargin": {
  20298. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  20299. "type": "number"
  20300. },
  20301. "orioutamountfreeze": {
  20302. "description": "期初出金冻结",
  20303. "type": "number"
  20304. },
  20305. "oriusedmargin": {
  20306. "description": "期初占用保证金",
  20307. "type": "number"
  20308. },
  20309. "othercredit": {
  20310. "description": "其它授信金额",
  20311. "type": "number"
  20312. },
  20313. "othercreditdecrease": {
  20314. "description": "今日其它授信减少",
  20315. "type": "number"
  20316. },
  20317. "othercreditincrease": {
  20318. "description": "今日其它授信增加",
  20319. "type": "number"
  20320. },
  20321. "otherfreezemargin": {
  20322. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  20323. "type": "number"
  20324. },
  20325. "otherincome": {
  20326. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  20327. "type": "number"
  20328. },
  20329. "otherpay": {
  20330. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  20331. "type": "number"
  20332. },
  20333. "outamount": {
  20334. "description": "今日出金金额(包括三方出金)",
  20335. "type": "number"
  20336. },
  20337. "outamountfreeze": {
  20338. "description": "出金冻结",
  20339. "type": "number"
  20340. },
  20341. "outthreshold": {
  20342. "description": "出金阈值",
  20343. "type": "number"
  20344. },
  20345. "parentaccountid": {
  20346. "description": "所属根账号",
  20347. "type": "integer"
  20348. },
  20349. "paycharge": {
  20350. "description": "今日手续费支出",
  20351. "type": "number"
  20352. },
  20353. "relatedaccountstatus": {
  20354. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  20355. "type": "integer"
  20356. },
  20357. "relateduserid": {
  20358. "description": "关联用户",
  20359. "type": "integer"
  20360. },
  20361. "serivcegroup": {
  20362. "description": "服务分组",
  20363. "type": "integer"
  20364. },
  20365. "signstatus": {
  20366. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  20367. "type": "integer"
  20368. },
  20369. "sublevelpath": {
  20370. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  20371. "type": "string"
  20372. },
  20373. "taaccounttype": {
  20374. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  20375. "type": "integer"
  20376. },
  20377. "thirdinamount": {
  20378. "description": "今日三方入金",
  20379. "type": "number"
  20380. },
  20381. "thirdoutamount": {
  20382. "description": "今日三方出金",
  20383. "type": "number"
  20384. },
  20385. "tradestatus": {
  20386. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  20387. "type": "integer"
  20388. },
  20389. "tradestatuschangetime": {
  20390. "description": "激活时间",
  20391. "type": "string"
  20392. },
  20393. "transferamount": {
  20394. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  20395. "type": "number"
  20396. },
  20397. "usedmargin": {
  20398. "description": "占用保证金",
  20399. "type": "number"
  20400. },
  20401. "userid": {
  20402. "description": "用户ID",
  20403. "type": "integer"
  20404. }
  20405. }
  20406. },
  20407. "models.Tablecolumnconfig": {
  20408. "type": "object",
  20409. "required": [
  20410. "autoid"
  20411. ],
  20412. "properties": {
  20413. "aligntype": {
  20414. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  20415. "type": "integer"
  20416. },
  20417. "autoid": {
  20418. "description": "AutoID",
  20419. "type": "integer"
  20420. },
  20421. "columnfield": {
  20422. "description": "列字段",
  20423. "type": "string"
  20424. },
  20425. "columntitle": {
  20426. "description": "列Title",
  20427. "type": "string"
  20428. },
  20429. "columnwidth": {
  20430. "description": "列宽",
  20431. "type": "string"
  20432. },
  20433. "formatterstring": {
  20434. "description": "格式化字符",
  20435. "type": "string"
  20436. },
  20437. "formattertype": {
  20438. "description": "格式化类型",
  20439. "type": "string"
  20440. },
  20441. "groupname": {
  20442. "description": "表头分组名称",
  20443. "type": "string"
  20444. },
  20445. "isshow": {
  20446. "description": "是否显示 - 0:不显示 1:显示",
  20447. "type": "integer"
  20448. },
  20449. "needsummary": {
  20450. "description": "是否需要汇总 - 0:不需要 1:需要",
  20451. "type": "integer"
  20452. },
  20453. "orderindex": {
  20454. "description": "顺序",
  20455. "type": "integer"
  20456. },
  20457. "remark": {
  20458. "description": "备注",
  20459. "type": "string"
  20460. },
  20461. "summarytype": {
  20462. "description": "汇总类型 - 1:加总 2:最后一个",
  20463. "type": "integer"
  20464. },
  20465. "tablekey": {
  20466. "description": "列表Key",
  20467. "type": "string"
  20468. }
  20469. }
  20470. },
  20471. "models.Useraccount": {
  20472. "type": "object",
  20473. "required": [
  20474. "userid"
  20475. ],
  20476. "properties": {
  20477. "accountname": {
  20478. "description": "账户名称(机构名称)",
  20479. "type": "string"
  20480. },
  20481. "accountstatus": {
  20482. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20483. "type": "integer"
  20484. },
  20485. "auditremark": {
  20486. "description": "审核备注",
  20487. "type": "string"
  20488. },
  20489. "audittime": {
  20490. "description": "审核时间",
  20491. "type": "string"
  20492. },
  20493. "audituserid": {
  20494. "description": "审核人",
  20495. "type": "integer"
  20496. },
  20497. "broker": {
  20498. "description": "所属经纪人ID",
  20499. "type": "integer"
  20500. },
  20501. "canceltime": {
  20502. "description": "销户时间",
  20503. "type": "string"
  20504. },
  20505. "canceluserid": {
  20506. "description": "销户人",
  20507. "type": "integer"
  20508. },
  20509. "createtime": {
  20510. "description": "创建时间",
  20511. "type": "string"
  20512. },
  20513. "creatorid": {
  20514. "description": "创建人",
  20515. "type": "integer"
  20516. },
  20517. "hasauth": {
  20518. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  20519. "type": "integer"
  20520. },
  20521. "isanonymous": {
  20522. "description": "是否匿名下单 - 0:否 1:是",
  20523. "type": "integer"
  20524. },
  20525. "maxinvestornum": {
  20526. "description": "最大用户数(经纪会员下投资者个数)",
  20527. "type": "integer"
  20528. },
  20529. "memberuserid": {
  20530. "description": "所属会员ID",
  20531. "type": "integer"
  20532. },
  20533. "modifierid": {
  20534. "description": "修改人",
  20535. "type": "integer"
  20536. },
  20537. "modifyremark": {
  20538. "description": "变更备注",
  20539. "type": "string"
  20540. },
  20541. "modifystatus": {
  20542. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  20543. "type": "integer"
  20544. },
  20545. "modifytime": {
  20546. "description": "修改时间",
  20547. "type": "string"
  20548. },
  20549. "parentuserid": {
  20550. "description": "所属机构ID",
  20551. "type": "integer"
  20552. },
  20553. "reckonaccountid": {
  20554. "description": "默认结算资金账号ID(机构分润使用) 作废",
  20555. "type": "integer"
  20556. },
  20557. "refercount": {
  20558. "description": "推荐总人数",
  20559. "type": "integer"
  20560. },
  20561. "refereeuserid": {
  20562. "description": "推荐人ID",
  20563. "type": "integer"
  20564. },
  20565. "refernum": {
  20566. "description": "推荐码",
  20567. "type": "string"
  20568. },
  20569. "subarealevelpath": {
  20570. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  20571. "type": "string"
  20572. },
  20573. "userid": {
  20574. "description": "用户ID",
  20575. "type": "integer"
  20576. },
  20577. "usertype": {
  20578. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20579. "type": "integer"
  20580. }
  20581. }
  20582. },
  20583. "models.Userfavoritegoods": {
  20584. "type": "object",
  20585. "required": [
  20586. "goodsid"
  20587. ],
  20588. "properties": {
  20589. "goodsid": {
  20590. "description": "商品ID",
  20591. "type": "integer"
  20592. }
  20593. }
  20594. },
  20595. "models.Userinfo": {
  20596. "type": "object",
  20597. "required": [
  20598. "userid"
  20599. ],
  20600. "properties": {
  20601. "address": {
  20602. "description": "地址",
  20603. "type": "string"
  20604. },
  20605. "attachment1": {
  20606. "description": "附件1",
  20607. "type": "string"
  20608. },
  20609. "attachment2": {
  20610. "description": "附件2",
  20611. "type": "string"
  20612. },
  20613. "bankaccount": {
  20614. "description": "银行帐号 (加密存储)",
  20615. "type": "string"
  20616. },
  20617. "bankaccountname": {
  20618. "description": "收款人名称",
  20619. "type": "string"
  20620. },
  20621. "bankcardfrontphotourl": {
  20622. "description": "银行卡正面照地址",
  20623. "type": "string"
  20624. },
  20625. "bankid": {
  20626. "description": "银行编码",
  20627. "type": "string"
  20628. },
  20629. "bankname": {
  20630. "description": "银行名称",
  20631. "type": "string"
  20632. },
  20633. "biznature": {
  20634. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20635. "type": "integer"
  20636. },
  20637. "bizscope": {
  20638. "description": "企业经营范围(企业)",
  20639. "type": "string"
  20640. },
  20641. "cardbackphotourl": {
  20642. "description": "证件背面图片地址",
  20643. "type": "string"
  20644. },
  20645. "cardfrontphotourl": {
  20646. "description": "证件正面图片地址",
  20647. "type": "string"
  20648. },
  20649. "cardnum": {
  20650. "description": "证件号码(加密存储)",
  20651. "type": "string"
  20652. },
  20653. "cardtypeid": {
  20654. "description": "证件类型ID",
  20655. "type": "integer"
  20656. },
  20657. "cityid": {
  20658. "description": "市",
  20659. "type": "integer"
  20660. },
  20661. "company": {
  20662. "description": "公司(个人)",
  20663. "type": "string"
  20664. },
  20665. "contactname": {
  20666. "description": "联系人",
  20667. "type": "string"
  20668. },
  20669. "countryid": {
  20670. "description": "国家",
  20671. "type": "integer"
  20672. },
  20673. "createtime": {
  20674. "description": "创建时间",
  20675. "type": "string"
  20676. },
  20677. "creatorid": {
  20678. "description": "创建人",
  20679. "type": "integer"
  20680. },
  20681. "customername": {
  20682. "description": "客户名称(企业名称)",
  20683. "type": "string"
  20684. },
  20685. "districtid": {
  20686. "description": "地区",
  20687. "type": "integer"
  20688. },
  20689. "email": {
  20690. "description": "邮件(加密存储)",
  20691. "type": "string"
  20692. },
  20693. "fax": {
  20694. "description": "传真(加密存储)",
  20695. "type": "string"
  20696. },
  20697. "halfbodyphotourl": {
  20698. "description": "半身照地址",
  20699. "type": "string"
  20700. },
  20701. "hasencrypt": {
  20702. "description": "数据是否已加密 - 0:未加密 1:已加密",
  20703. "type": "integer"
  20704. },
  20705. "headurl": {
  20706. "description": "头像地址",
  20707. "type": "string"
  20708. },
  20709. "legalcardbackphotourl": {
  20710. "description": "法人身份证背面照地址",
  20711. "type": "string"
  20712. },
  20713. "legalcardfrontphotourl": {
  20714. "description": "法人身份证正面照地址",
  20715. "type": "string"
  20716. },
  20717. "legalpersonname": {
  20718. "description": "法人姓名(企业)",
  20719. "type": "string"
  20720. },
  20721. "mobile": {
  20722. "description": "手机号码(加密存储)",
  20723. "type": "string"
  20724. },
  20725. "mobile2": {
  20726. "description": "手机号码[明文-尚志]",
  20727. "type": "string"
  20728. },
  20729. "modifierid": {
  20730. "description": "修改人",
  20731. "type": "integer"
  20732. },
  20733. "modifiertime": {
  20734. "description": "修改时间",
  20735. "type": "string"
  20736. },
  20737. "needinvoice": {
  20738. "description": "是否需要发票 - 0:不需要 1:需要",
  20739. "type": "integer"
  20740. },
  20741. "nickname": {
  20742. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  20743. "type": "string"
  20744. },
  20745. "openmode": {
  20746. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  20747. "type": "integer"
  20748. },
  20749. "otherurl": {
  20750. "description": "其它图片地址[使用分号分隔]",
  20751. "type": "string"
  20752. },
  20753. "postalcode": {
  20754. "description": "邮政编码",
  20755. "type": "string"
  20756. },
  20757. "provinceid": {
  20758. "description": "省",
  20759. "type": "integer"
  20760. },
  20761. "qq": {
  20762. "description": "QQ(加密存储",
  20763. "type": "string"
  20764. },
  20765. "remark": {
  20766. "description": "备注",
  20767. "type": "string"
  20768. },
  20769. "sex": {
  20770. "description": "用户性别 0: 女 1: 男",
  20771. "type": "integer"
  20772. },
  20773. "signpdfurl": {
  20774. "description": "签约pdf文件",
  20775. "type": "string"
  20776. },
  20777. "telphone": {
  20778. "description": "联系电话(加密存储)",
  20779. "type": "string"
  20780. },
  20781. "userid": {
  20782. "description": "用户ID",
  20783. "type": "integer"
  20784. },
  20785. "userinfotype": {
  20786. "description": "用户信息类型 - 1:个人 2:企业",
  20787. "type": "integer"
  20788. },
  20789. "userstatus": {
  20790. "description": "用户状态 - 1:正常 2:注销",
  20791. "type": "integer"
  20792. },
  20793. "usertype": {
  20794. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  20795. "type": "integer"
  20796. },
  20797. "wechat": {
  20798. "description": "微信(加密存储)",
  20799. "type": "string"
  20800. },
  20801. "wskhinfo": {
  20802. "description": "开户申请信息(JSON)",
  20803. "type": "string"
  20804. }
  20805. }
  20806. },
  20807. "models.WRSConverTDetail": {
  20808. "type": "object",
  20809. "properties": {
  20810. "convertratio": {
  20811. "description": "套保系数",
  20812. "type": "number"
  20813. },
  20814. "deliverygoodscode": {
  20815. "description": "现货商品代码",
  20816. "type": "string"
  20817. },
  20818. "deliverygoodsid": {
  20819. "description": "现货品种ID",
  20820. "type": "integer"
  20821. },
  20822. "deliverygoodsname": {
  20823. "description": "现货商品名称",
  20824. "type": "string"
  20825. },
  20826. "enumdicname": {
  20827. "description": "单位名称",
  20828. "type": "string"
  20829. },
  20830. "goodsunitid": {
  20831. "description": "套保品种单位id",
  20832. "type": "integer"
  20833. },
  20834. "middlegoodscode": {
  20835. "description": "套保品种代码",
  20836. "type": "string"
  20837. },
  20838. "middlegoodsid": {
  20839. "description": "套保品种ID",
  20840. "type": "integer"
  20841. },
  20842. "middlegoodsname": {
  20843. "description": "套保品种名称",
  20844. "type": "string"
  20845. },
  20846. "modifytime": {
  20847. "description": "修改时间",
  20848. "type": "string"
  20849. },
  20850. "wrstandardid": {
  20851. "description": "品类ID",
  20852. "type": "integer"
  20853. }
  20854. }
  20855. },
  20856. "models.WRStandardInfo": {
  20857. "type": "object",
  20858. "required": [
  20859. "wrstandardid"
  20860. ],
  20861. "properties": {
  20862. "areauserid": {
  20863. "description": "所属机构",
  20864. "type": "integer"
  20865. },
  20866. "convertfactor": {
  20867. "description": "标仓系数",
  20868. "type": "number"
  20869. },
  20870. "createtime": {
  20871. "description": "创建时间",
  20872. "type": "string"
  20873. },
  20874. "creatorid": {
  20875. "description": "创建人",
  20876. "type": "integer"
  20877. },
  20878. "deliverygoodsid": {
  20879. "description": "品种ID",
  20880. "type": "integer"
  20881. },
  20882. "deliverygoodsname": {
  20883. "description": "交割商品名称",
  20884. "type": "string"
  20885. },
  20886. "factoryitemjson": {
  20887. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  20888. "type": "string"
  20889. },
  20890. "isvalid": {
  20891. "description": "是否有效 - 0:无效 1:有效",
  20892. "type": "integer"
  20893. },
  20894. "minivalue": {
  20895. "description": "最小变动值",
  20896. "type": "integer"
  20897. },
  20898. "minivaluedp": {
  20899. "description": "最小变动值小数位",
  20900. "type": "integer"
  20901. },
  20902. "realminivalue": {
  20903. "description": "实际最小变动值",
  20904. "type": "integer"
  20905. },
  20906. "realminivaluedp": {
  20907. "description": "实际最小变动值小数位",
  20908. "type": "integer"
  20909. },
  20910. "remark": {
  20911. "description": "备注",
  20912. "type": "string"
  20913. },
  20914. "unitid": {
  20915. "description": "单位ID",
  20916. "type": "integer"
  20917. },
  20918. "unitname": {
  20919. "description": "单位",
  20920. "type": "string"
  20921. },
  20922. "updatetime": {
  20923. "description": "更新时间",
  20924. "type": "string"
  20925. },
  20926. "updatorid": {
  20927. "description": "更新人",
  20928. "type": "integer"
  20929. },
  20930. "wrsstatus": {
  20931. "description": "状态 - 作废 - 0:未激活 1:正常",
  20932. "type": "integer"
  20933. },
  20934. "wrstandardcode": {
  20935. "description": "现货品类代码",
  20936. "type": "string"
  20937. },
  20938. "wrstandardid": {
  20939. "description": "现货品类ID(SEQ_WRSTANDARD)",
  20940. "type": "integer"
  20941. },
  20942. "wrstandardname": {
  20943. "description": "现货品类名称",
  20944. "type": "string"
  20945. }
  20946. }
  20947. },
  20948. "models.Warehouseinfo": {
  20949. "type": "object",
  20950. "required": [
  20951. "autoid",
  20952. "warehousecode"
  20953. ],
  20954. "properties": {
  20955. "address": {
  20956. "description": "详细地址",
  20957. "type": "string"
  20958. },
  20959. "areauserid": {
  20960. "description": "所属机构",
  20961. "type": "integer"
  20962. },
  20963. "autoid": {
  20964. "description": "自增ID",
  20965. "type": "integer"
  20966. },
  20967. "cityid": {
  20968. "description": "市",
  20969. "type": "integer"
  20970. },
  20971. "contactname": {
  20972. "description": "联系人",
  20973. "type": "string"
  20974. },
  20975. "contactnum": {
  20976. "description": "联系电话",
  20977. "type": "string"
  20978. },
  20979. "countryid": {
  20980. "description": "国家",
  20981. "type": "integer"
  20982. },
  20983. "createtime": {
  20984. "description": "创建时间",
  20985. "type": "string"
  20986. },
  20987. "districtid": {
  20988. "description": "区",
  20989. "type": "integer"
  20990. },
  20991. "hasvideo": {
  20992. "description": "是否有视频 - 0:无 1:有",
  20993. "type": "integer"
  20994. },
  20995. "provinceid": {
  20996. "description": "省",
  20997. "type": "integer"
  20998. },
  20999. "remark": {
  21000. "description": "审核备注",
  21001. "type": "string"
  21002. },
  21003. "videourl": {
  21004. "description": "视频地址",
  21005. "type": "string"
  21006. },
  21007. "warehousecode": {
  21008. "description": "仓库代码",
  21009. "type": "string"
  21010. },
  21011. "warehousename": {
  21012. "description": "仓库名称",
  21013. "type": "string"
  21014. },
  21015. "warehousestatus": {
  21016. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  21017. "type": "integer"
  21018. },
  21019. "warehousetype": {
  21020. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  21021. "type": "integer"
  21022. }
  21023. }
  21024. },
  21025. "order.QueryHisTradeDetailRsp": {
  21026. "type": "object",
  21027. "required": [
  21028. "accountid",
  21029. "buyorsell",
  21030. "goodsid",
  21031. "histradedate",
  21032. "marketid",
  21033. "memberuserid",
  21034. "orderid",
  21035. "tradeamount",
  21036. "tradedate",
  21037. "tradeid",
  21038. "tradeprice",
  21039. "tradeqty",
  21040. "tradetime"
  21041. ],
  21042. "properties": {
  21043. "accountid": {
  21044. "description": "账户ID[报价币种]",
  21045. "type": "integer"
  21046. },
  21047. "buildtype": {
  21048. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21049. "type": "integer"
  21050. },
  21051. "buyorsell": {
  21052. "description": "方向 - 0:买 1:卖",
  21053. "type": "integer"
  21054. },
  21055. "charge": {
  21056. "description": "手续费",
  21057. "type": "number"
  21058. },
  21059. "closecharge": {
  21060. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21061. "type": "number"
  21062. },
  21063. "closeexchagechargevalue": {
  21064. "description": "平仓交易所手续费设置值",
  21065. "type": "number"
  21066. },
  21067. "closefeealgorithm": {
  21068. "description": "平仓手续费收取方式 1:比率 2:固定",
  21069. "type": "integer"
  21070. },
  21071. "closememberchargevalue": {
  21072. "description": "平仓会员手续费设置值",
  21073. "type": "number"
  21074. },
  21075. "closepl": {
  21076. "description": "平仓盈亏",
  21077. "type": "number"
  21078. },
  21079. "closepl2": {
  21080. "description": "平仓盈亏[逐笔]",
  21081. "type": "number"
  21082. },
  21083. "closeqty": {
  21084. "description": "平仓数量(先建后平操作 需要记录)",
  21085. "type": "integer"
  21086. },
  21087. "creditamount": {
  21088. "description": "授信金额",
  21089. "type": "number"
  21090. },
  21091. "gcaccountid": {
  21092. "description": "账户ID[合约币种]",
  21093. "type": "integer"
  21094. },
  21095. "goodscode": {
  21096. "description": "商品代码",
  21097. "type": "string"
  21098. },
  21099. "goodsid": {
  21100. "description": "商品ID",
  21101. "type": "integer"
  21102. },
  21103. "goodsname": {
  21104. "description": "商品名称",
  21105. "type": "string"
  21106. },
  21107. "histradedate": {
  21108. "description": "历史交易日",
  21109. "type": "string"
  21110. },
  21111. "intclosepl": {
  21112. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21113. "type": "integer"
  21114. },
  21115. "isconfirmexercise": {
  21116. "description": "是否确认行权- 0:否 1:是",
  21117. "type": "integer"
  21118. },
  21119. "ismain": {
  21120. "description": "是否主单 - 0:不是 1:是",
  21121. "type": "integer"
  21122. },
  21123. "ispreexercise": {
  21124. "description": "是否预申报- 0:否 1:是",
  21125. "type": "integer"
  21126. },
  21127. "isreckoned": {
  21128. "description": "是否结算 - 0:未结算 1:已结算",
  21129. "type": "integer"
  21130. },
  21131. "isvaliddata": {
  21132. "description": "是否有效 - 0:无效 1:有效",
  21133. "type": "integer"
  21134. },
  21135. "listingselecttype": {
  21136. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21137. "type": "integer"
  21138. },
  21139. "marketid": {
  21140. "description": "市场ID",
  21141. "type": "integer"
  21142. },
  21143. "marketname": {
  21144. "description": "市场名称",
  21145. "type": "string"
  21146. },
  21147. "matchaccountid": {
  21148. "description": "对手账号id",
  21149. "type": "integer"
  21150. },
  21151. "memberuserid": {
  21152. "description": "会员id 个人投资者 需要填写",
  21153. "type": "integer"
  21154. },
  21155. "opencharge": {
  21156. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21157. "type": "number"
  21158. },
  21159. "openexchagechargevalue": {
  21160. "description": "建仓交易所手续费设置值",
  21161. "type": "number"
  21162. },
  21163. "openfeealgorithm": {
  21164. "description": "建仓手续费收取方式 1:比率 2:固定",
  21165. "type": "integer"
  21166. },
  21167. "openmemberchargevalue": {
  21168. "description": "建仓会员手续费设置值",
  21169. "type": "number"
  21170. },
  21171. "openqty": {
  21172. "description": "开仓数量(先建后平操作 需要记录)",
  21173. "type": "integer"
  21174. },
  21175. "optiontype": {
  21176. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21177. "type": "integer"
  21178. },
  21179. "orderid": {
  21180. "description": "委托单号",
  21181. "type": "string"
  21182. },
  21183. "performanceplanid": {
  21184. "description": "履约计划ID[期权]",
  21185. "type": "integer"
  21186. },
  21187. "performancestatus": {
  21188. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21189. "type": "integer"
  21190. },
  21191. "preexerciseprice": {
  21192. "description": "预申报价格",
  21193. "type": "number"
  21194. },
  21195. "premium": {
  21196. "description": "权利金 - [持仓单的权利金]",
  21197. "type": "number"
  21198. },
  21199. "relatedouttradeid": {
  21200. "description": "关联外部成交单ID",
  21201. "type": "integer"
  21202. },
  21203. "status": {
  21204. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21205. "type": "integer"
  21206. },
  21207. "tradeamount": {
  21208. "description": "成交金额[账户币种,用于所有权]",
  21209. "type": "number"
  21210. },
  21211. "tradedate": {
  21212. "description": "交易日(yyyyMMdd)",
  21213. "type": "string"
  21214. },
  21215. "tradeid": {
  21216. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21217. "type": "string"
  21218. },
  21219. "trademode": {
  21220. "description": "交易模式",
  21221. "type": "integer"
  21222. },
  21223. "tradeprice": {
  21224. "description": "成交价格",
  21225. "type": "number"
  21226. },
  21227. "tradeproperty": {
  21228. "description": "交易属性",
  21229. "type": "integer"
  21230. },
  21231. "tradeqty": {
  21232. "description": "成交数量",
  21233. "type": "integer"
  21234. },
  21235. "tradetime": {
  21236. "description": "成交时间",
  21237. "type": "string"
  21238. },
  21239. "tradetype": {
  21240. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21241. "type": "integer"
  21242. }
  21243. }
  21244. },
  21245. "order.QueryHisTradeOrderDetailRsp": {
  21246. "type": "object",
  21247. "required": [
  21248. "accountid",
  21249. "buildtype",
  21250. "buyorsell",
  21251. "goodsid",
  21252. "histradedate",
  21253. "marketid",
  21254. "memberuserid",
  21255. "operatetype",
  21256. "orderid",
  21257. "orderqty",
  21258. "ordertime",
  21259. "pricemode",
  21260. "tradedate",
  21261. "validtype"
  21262. ],
  21263. "properties": {
  21264. "accountid": {
  21265. "description": "账户ID[报价币种]",
  21266. "type": "integer"
  21267. },
  21268. "buildtype": {
  21269. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21270. "type": "integer"
  21271. },
  21272. "buyorsell": {
  21273. "description": "买卖 - 0:买 1:卖",
  21274. "type": "integer"
  21275. },
  21276. "cancelorderid": {
  21277. "description": "撤单单号(撤单时填写)",
  21278. "type": "string"
  21279. },
  21280. "cancelqty": {
  21281. "description": "撤单数量",
  21282. "type": "integer"
  21283. },
  21284. "clientordertime": {
  21285. "description": "客户端委托时间",
  21286. "type": "string"
  21287. },
  21288. "clientticket": {
  21289. "description": "客户端流水号",
  21290. "type": "string"
  21291. },
  21292. "clienttype": {
  21293. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21294. "type": "integer"
  21295. },
  21296. "closeexchagechargevalue": {
  21297. "description": "平仓交易所手续费设置值",
  21298. "type": "number"
  21299. },
  21300. "closefeealgorithm": {
  21301. "description": "平仓手续费收取方式 1:比率 2:固定",
  21302. "type": "integer"
  21303. },
  21304. "closefreezecharge": {
  21305. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21306. "type": "number"
  21307. },
  21308. "closememberchargevalue": {
  21309. "description": "平仓会员手续费设置值",
  21310. "type": "number"
  21311. },
  21312. "closeqty": {
  21313. "description": "平仓数量(先建后平操作 需要记录)",
  21314. "type": "integer"
  21315. },
  21316. "closetradeqty": {
  21317. "description": "平仓成交数量(先建后平操作,需要记录)",
  21318. "type": "integer"
  21319. },
  21320. "closeunfreezecharge": {
  21321. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21322. "type": "number"
  21323. },
  21324. "delistingtype": {
  21325. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21326. "type": "integer"
  21327. },
  21328. "freezecharge": {
  21329. "description": "冻结手续费",
  21330. "type": "number"
  21331. },
  21332. "freezemargin": {
  21333. "description": "冻结保证金(冻结交易金额)",
  21334. "type": "number"
  21335. },
  21336. "gcaccountid": {
  21337. "description": "账户ID[合约币种]",
  21338. "type": "integer"
  21339. },
  21340. "goodscode": {
  21341. "description": "商品代码",
  21342. "type": "string"
  21343. },
  21344. "goodsid": {
  21345. "description": "商品ID",
  21346. "type": "integer"
  21347. },
  21348. "goodsname": {
  21349. "description": "商品名称",
  21350. "type": "string"
  21351. },
  21352. "histradedate": {
  21353. "description": "历史交易日",
  21354. "type": "string"
  21355. },
  21356. "isconfirmexercise": {
  21357. "description": "是否确认行权- 0:否 1:是",
  21358. "type": "integer"
  21359. },
  21360. "ispreexercise": {
  21361. "description": "是否预申报- 0:否 1:是",
  21362. "type": "integer"
  21363. },
  21364. "isvaliddata": {
  21365. "description": "是否有效 - 0:无效 1:有效",
  21366. "type": "integer"
  21367. },
  21368. "listingselecttype": {
  21369. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21370. "type": "integer"
  21371. },
  21372. "marginalgorithm": {
  21373. "description": "保证金收取方式 1:比率 2:固定",
  21374. "type": "integer"
  21375. },
  21376. "marginvalue": {
  21377. "description": "即市保证金设置值",
  21378. "type": "number"
  21379. },
  21380. "marketid": {
  21381. "description": "市场ID",
  21382. "type": "integer"
  21383. },
  21384. "marketmaxsub": {
  21385. "description": "市价最大偏移范围",
  21386. "type": "number"
  21387. },
  21388. "marketname": {
  21389. "description": "市场名称",
  21390. "type": "string"
  21391. },
  21392. "memberuserid": {
  21393. "description": "所属会员UserID",
  21394. "type": "integer"
  21395. },
  21396. "openexchagechargevalue": {
  21397. "description": "建仓交易所手续费设置值",
  21398. "type": "number"
  21399. },
  21400. "openfeealgorithm": {
  21401. "description": "建仓手续费收取方式 1:比率 2:固定",
  21402. "type": "integer"
  21403. },
  21404. "openfreezecharge": {
  21405. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21406. "type": "number"
  21407. },
  21408. "openmemberchargevalue": {
  21409. "description": "建仓会员手续费设置值",
  21410. "type": "number"
  21411. },
  21412. "openqty": {
  21413. "description": "开仓数量(先建后平操作,需要记录)",
  21414. "type": "integer"
  21415. },
  21416. "opentradeqty": {
  21417. "description": "开仓成交数量(先建后平操作,需要记录)",
  21418. "type": "integer"
  21419. },
  21420. "openunfreezecharge": {
  21421. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21422. "type": "number"
  21423. },
  21424. "operatetype": {
  21425. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21426. "type": "integer"
  21427. },
  21428. "operatorid": {
  21429. "description": "登录账号(LoginID)",
  21430. "type": "integer"
  21431. },
  21432. "optiontype": {
  21433. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21434. "type": "integer"
  21435. },
  21436. "orderid": {
  21437. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21438. "type": "string"
  21439. },
  21440. "orderprice": {
  21441. "description": "委托价格",
  21442. "type": "number"
  21443. },
  21444. "orderqty": {
  21445. "description": "委托数量",
  21446. "type": "integer"
  21447. },
  21448. "ordersrc": {
  21449. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21450. "type": "integer"
  21451. },
  21452. "orderstatus": {
  21453. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21454. "type": "integer"
  21455. },
  21456. "ordertime": {
  21457. "description": "委托时间",
  21458. "type": "string"
  21459. },
  21460. "preexerciseprice": {
  21461. "description": "预申报价格",
  21462. "type": "number"
  21463. },
  21464. "premium": {
  21465. "description": "权利金",
  21466. "type": "number"
  21467. },
  21468. "preorderid": {
  21469. "description": "关联预埋单号(止盈止损单时填写)",
  21470. "type": "string"
  21471. },
  21472. "pricemode": {
  21473. "description": "取价方式 - 1:市价 2: 限价",
  21474. "type": "integer"
  21475. },
  21476. "quoteid": {
  21477. "description": "报价单ID",
  21478. "type": "integer"
  21479. },
  21480. "relatedid": {
  21481. "description": "关联单号(交割单)",
  21482. "type": "string"
  21483. },
  21484. "retcode": {
  21485. "description": "错误代码",
  21486. "type": "integer"
  21487. },
  21488. "sessionid": {
  21489. "description": "会话ID",
  21490. "type": "integer"
  21491. },
  21492. "tradedate": {
  21493. "description": "交易日(yyyyMMdd)",
  21494. "type": "string"
  21495. },
  21496. "trademode": {
  21497. "description": "交易模式",
  21498. "type": "integer"
  21499. },
  21500. "tradeproperty": {
  21501. "description": "交易属性",
  21502. "type": "integer"
  21503. },
  21504. "tradeqty": {
  21505. "description": "成交数量",
  21506. "type": "integer"
  21507. },
  21508. "unfreezecharge": {
  21509. "description": "解冻手续费",
  21510. "type": "number"
  21511. },
  21512. "unfreezemargin": {
  21513. "description": "解冻保证金",
  21514. "type": "number"
  21515. },
  21516. "updatetime": {
  21517. "description": "更新时间",
  21518. "type": "string"
  21519. },
  21520. "uuid": {
  21521. "description": "发起端唯一id",
  21522. "type": "string"
  21523. },
  21524. "validtime": {
  21525. "description": "有效期限",
  21526. "type": "string"
  21527. },
  21528. "validtype": {
  21529. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21530. "type": "integer"
  21531. },
  21532. "volumetype": {
  21533. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21534. "type": "integer"
  21535. }
  21536. }
  21537. },
  21538. "order.QueryTradeDetailRsp": {
  21539. "type": "object",
  21540. "required": [
  21541. "accountid",
  21542. "buyorsell",
  21543. "goodsid",
  21544. "marketid",
  21545. "memberuserid",
  21546. "orderid",
  21547. "tradeamount",
  21548. "tradedate",
  21549. "tradeid",
  21550. "tradeprice",
  21551. "tradeqty",
  21552. "tradetime"
  21553. ],
  21554. "properties": {
  21555. "accountid": {
  21556. "description": "账户ID[报价币种]",
  21557. "type": "integer"
  21558. },
  21559. "buildtype": {
  21560. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  21561. "type": "integer"
  21562. },
  21563. "buyorsell": {
  21564. "description": "方向 - 0:买 1:卖",
  21565. "type": "integer"
  21566. },
  21567. "charge": {
  21568. "description": "手续费",
  21569. "type": "number"
  21570. },
  21571. "closecharge": {
  21572. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21573. "type": "number"
  21574. },
  21575. "closeexchagechargevalue": {
  21576. "description": "平仓交易所手续费设置值",
  21577. "type": "number"
  21578. },
  21579. "closefeealgorithm": {
  21580. "description": "平仓手续费收取方式 1:比率 2:固定",
  21581. "type": "integer"
  21582. },
  21583. "closememberchargevalue": {
  21584. "description": "平仓会员手续费设置值",
  21585. "type": "number"
  21586. },
  21587. "closepl": {
  21588. "description": "平仓盈亏",
  21589. "type": "number"
  21590. },
  21591. "closepl2": {
  21592. "description": "平仓盈亏[逐笔]",
  21593. "type": "number"
  21594. },
  21595. "closeqty": {
  21596. "description": "平仓数量(先建后平操作 需要记录)",
  21597. "type": "integer"
  21598. },
  21599. "creditamount": {
  21600. "description": "授信金额",
  21601. "type": "number"
  21602. },
  21603. "gcaccountid": {
  21604. "description": "账户ID[合约币种]",
  21605. "type": "integer"
  21606. },
  21607. "goodscode": {
  21608. "description": "商品代码",
  21609. "type": "string"
  21610. },
  21611. "goodsid": {
  21612. "description": "商品ID",
  21613. "type": "integer"
  21614. },
  21615. "goodsname": {
  21616. "description": "商品名称",
  21617. "type": "string"
  21618. },
  21619. "intclosepl": {
  21620. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  21621. "type": "integer"
  21622. },
  21623. "isconfirmexercise": {
  21624. "description": "是否确认行权- 0:否 1:是",
  21625. "type": "integer"
  21626. },
  21627. "ismain": {
  21628. "description": "是否主单 - 0:不是 1:是",
  21629. "type": "integer"
  21630. },
  21631. "ispreexercise": {
  21632. "description": "是否预申报- 0:否 1:是",
  21633. "type": "integer"
  21634. },
  21635. "isreckoned": {
  21636. "description": "是否结算 - 0:未结算 1:已结算",
  21637. "type": "integer"
  21638. },
  21639. "listingselecttype": {
  21640. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21641. "type": "integer"
  21642. },
  21643. "marketid": {
  21644. "description": "市场ID",
  21645. "type": "integer"
  21646. },
  21647. "marketname": {
  21648. "description": "市场名称",
  21649. "type": "string"
  21650. },
  21651. "matchaccountid": {
  21652. "description": "对手账号id",
  21653. "type": "integer"
  21654. },
  21655. "memberuserid": {
  21656. "description": "会员id 个人投资者 需要填写",
  21657. "type": "integer"
  21658. },
  21659. "opencharge": {
  21660. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  21661. "type": "number"
  21662. },
  21663. "openexchagechargevalue": {
  21664. "description": "建仓交易所手续费设置值",
  21665. "type": "number"
  21666. },
  21667. "openfeealgorithm": {
  21668. "description": "建仓手续费收取方式 1:比率 2:固定",
  21669. "type": "integer"
  21670. },
  21671. "openmemberchargevalue": {
  21672. "description": "建仓会员手续费设置值",
  21673. "type": "number"
  21674. },
  21675. "openqty": {
  21676. "description": "开仓数量(先建后平操作 需要记录)",
  21677. "type": "integer"
  21678. },
  21679. "optiontype": {
  21680. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  21681. "type": "integer"
  21682. },
  21683. "orderid": {
  21684. "description": "委托单号",
  21685. "type": "string"
  21686. },
  21687. "performanceplanid": {
  21688. "description": "履约计划ID[期权]",
  21689. "type": "integer"
  21690. },
  21691. "performancestatus": {
  21692. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  21693. "type": "integer"
  21694. },
  21695. "preexerciseprice": {
  21696. "description": "预申报价格",
  21697. "type": "number"
  21698. },
  21699. "premium": {
  21700. "description": "权利金 - [持仓单的权利金]",
  21701. "type": "number"
  21702. },
  21703. "relatedouttradeid": {
  21704. "description": "关联外部成交单ID",
  21705. "type": "integer"
  21706. },
  21707. "status": {
  21708. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  21709. "type": "integer"
  21710. },
  21711. "tradeamount": {
  21712. "description": "成交金额[账户币种,用于所有权]",
  21713. "type": "number"
  21714. },
  21715. "tradedate": {
  21716. "description": "交易日(yyyyMMdd)",
  21717. "type": "string"
  21718. },
  21719. "tradeid": {
  21720. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21721. "type": "string"
  21722. },
  21723. "trademode": {
  21724. "description": "交易模式",
  21725. "type": "integer"
  21726. },
  21727. "tradeprice": {
  21728. "description": "成交价格",
  21729. "type": "number"
  21730. },
  21731. "tradeproperty": {
  21732. "description": "交易属性",
  21733. "type": "integer"
  21734. },
  21735. "tradeqty": {
  21736. "description": "成交数量",
  21737. "type": "integer"
  21738. },
  21739. "tradetime": {
  21740. "description": "成交时间",
  21741. "type": "string"
  21742. },
  21743. "tradetype": {
  21744. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  21745. "type": "integer"
  21746. }
  21747. }
  21748. },
  21749. "order.QueryTradeOrderDetailRsp": {
  21750. "type": "object",
  21751. "required": [
  21752. "accountid",
  21753. "buildtype",
  21754. "buyorsell",
  21755. "goodsid",
  21756. "marketid",
  21757. "operatetype",
  21758. "orderqty",
  21759. "ordertime",
  21760. "pricemode",
  21761. "tradedate",
  21762. "validtype"
  21763. ],
  21764. "properties": {
  21765. "accountid": {
  21766. "description": "账户ID[报价币种]",
  21767. "type": "integer"
  21768. },
  21769. "buildtype": {
  21770. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  21771. "type": "integer"
  21772. },
  21773. "buyorsell": {
  21774. "description": "买卖 - 0:买 1:卖",
  21775. "type": "integer"
  21776. },
  21777. "cancelorderid": {
  21778. "description": "撤单单号(撤单时填写)",
  21779. "type": "string"
  21780. },
  21781. "cancelqty": {
  21782. "description": "撤单数量",
  21783. "type": "integer"
  21784. },
  21785. "clienttype": {
  21786. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  21787. "type": "integer"
  21788. },
  21789. "closefreezecharge": {
  21790. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  21791. "type": "number"
  21792. },
  21793. "closeqty": {
  21794. "description": "平仓数量(先建后平操作 需要记录)",
  21795. "type": "integer"
  21796. },
  21797. "closetradeqty": {
  21798. "description": "平仓成交数量(先建后平操作,需要记录)",
  21799. "type": "integer"
  21800. },
  21801. "closeunfreezecharge": {
  21802. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  21803. "type": "number"
  21804. },
  21805. "delistingtype": {
  21806. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  21807. "type": "integer"
  21808. },
  21809. "enableqty": {
  21810. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  21811. "type": "integer"
  21812. },
  21813. "freezecharge": {
  21814. "description": "冻结手续费",
  21815. "type": "number"
  21816. },
  21817. "freezemargin": {
  21818. "description": "冻结保证金(冻结交易金额)",
  21819. "type": "number"
  21820. },
  21821. "goodscode": {
  21822. "description": "商品代码",
  21823. "type": "string"
  21824. },
  21825. "goodsid": {
  21826. "description": "商品ID",
  21827. "type": "integer"
  21828. },
  21829. "goodsname": {
  21830. "description": "商品名称",
  21831. "type": "string"
  21832. },
  21833. "listingselecttype": {
  21834. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  21835. "type": "integer"
  21836. },
  21837. "marketid": {
  21838. "description": "市场ID",
  21839. "type": "integer"
  21840. },
  21841. "marketname": {
  21842. "description": "市场名称",
  21843. "type": "string"
  21844. },
  21845. "openfreezecharge": {
  21846. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  21847. "type": "number"
  21848. },
  21849. "openqty": {
  21850. "description": "开仓数量(先建后平操作,需要记录)",
  21851. "type": "integer"
  21852. },
  21853. "opentradeqty": {
  21854. "description": "开仓成交数量(先建后平操作,需要记录)",
  21855. "type": "integer"
  21856. },
  21857. "openunfreezecharge": {
  21858. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  21859. "type": "number"
  21860. },
  21861. "operatetype": {
  21862. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  21863. "type": "integer"
  21864. },
  21865. "operatorid": {
  21866. "description": "登录账号(LoginID)",
  21867. "type": "integer"
  21868. },
  21869. "orderid": {
  21870. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21871. "type": "string"
  21872. },
  21873. "orderprice": {
  21874. "description": "委托价格",
  21875. "type": "number"
  21876. },
  21877. "orderqty": {
  21878. "description": "委托数量",
  21879. "type": "integer"
  21880. },
  21881. "ordersrc": {
  21882. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  21883. "type": "integer"
  21884. },
  21885. "orderstatus": {
  21886. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  21887. "type": "integer"
  21888. },
  21889. "ordertime": {
  21890. "description": "委托时间",
  21891. "type": "string"
  21892. },
  21893. "preorderid": {
  21894. "description": "关联预埋单号(止盈止损单时填写)",
  21895. "type": "string"
  21896. },
  21897. "pricemode": {
  21898. "description": "取价方式 - 1:市价 2: 限价",
  21899. "type": "integer"
  21900. },
  21901. "relatedid": {
  21902. "description": "关联单号(交割单)",
  21903. "type": "string"
  21904. },
  21905. "tradedate": {
  21906. "description": "交易日(yyyyMMdd)",
  21907. "type": "string"
  21908. },
  21909. "trademode": {
  21910. "description": "交易模式",
  21911. "type": "integer"
  21912. },
  21913. "tradeqty": {
  21914. "description": "成交数量",
  21915. "type": "integer"
  21916. },
  21917. "unfreezecharge": {
  21918. "description": "解冻手续费",
  21919. "type": "number"
  21920. },
  21921. "unfreezemargin": {
  21922. "description": "解冻保证金",
  21923. "type": "number"
  21924. },
  21925. "validtime": {
  21926. "description": "有效期限",
  21927. "type": "string"
  21928. },
  21929. "validtype": {
  21930. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  21931. "type": "integer"
  21932. },
  21933. "volumetype": {
  21934. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  21935. "type": "integer"
  21936. }
  21937. }
  21938. },
  21939. "order.QueryTradePositionRsp": {
  21940. "type": "object",
  21941. "required": [
  21942. "goodsid"
  21943. ],
  21944. "properties": {
  21945. "accountid": {
  21946. "description": "资金账户",
  21947. "type": "integer"
  21948. },
  21949. "agreeunit": {
  21950. "description": "合约单位",
  21951. "type": "number"
  21952. },
  21953. "averageprice": {
  21954. "description": "持仓均价",
  21955. "type": "number"
  21956. },
  21957. "buyorsell": {
  21958. "description": "方向 - 0:买 1:卖",
  21959. "type": "integer"
  21960. },
  21961. "closetotalqty": {
  21962. "description": "平仓总数量",
  21963. "type": "integer"
  21964. },
  21965. "curholderamount": {
  21966. "description": "当前持仓总金额[商品币种]",
  21967. "type": "number"
  21968. },
  21969. "curpositionqty": {
  21970. "description": "当前持仓总数量",
  21971. "type": "integer"
  21972. },
  21973. "currencyid": {
  21974. "description": "报价货币ID",
  21975. "type": "integer"
  21976. },
  21977. "curtdposition": {
  21978. "description": "期末今日头寸",
  21979. "type": "integer"
  21980. },
  21981. "decimalplace": {
  21982. "description": "报价小数位",
  21983. "type": "integer"
  21984. },
  21985. "enableqty": {
  21986. "description": "可用量",
  21987. "type": "integer"
  21988. },
  21989. "fretdposition": {
  21990. "description": "冻结今日头寸",
  21991. "type": "integer"
  21992. },
  21993. "frozenqty": {
  21994. "description": "持仓冻结数量",
  21995. "type": "integer"
  21996. },
  21997. "goodscode": {
  21998. "description": "商品代码",
  21999. "type": "string"
  22000. },
  22001. "goodsid": {
  22002. "description": "商品Id",
  22003. "type": "integer"
  22004. },
  22005. "goodsname": {
  22006. "description": "商品名称",
  22007. "type": "string"
  22008. },
  22009. "goodunit": {
  22010. "description": "报价单位",
  22011. "type": "string"
  22012. },
  22013. "goodunitid": {
  22014. "description": "报价单位ID",
  22015. "type": "integer"
  22016. },
  22017. "holderamount": {
  22018. "description": "期初持仓总金额[商品币种]",
  22019. "type": "number"
  22020. },
  22021. "marketid": {
  22022. "description": "所属市场ID",
  22023. "type": "integer"
  22024. },
  22025. "openreqqty": {
  22026. "description": "开仓申请数量(用于比较最大持仓数量)",
  22027. "type": "integer"
  22028. },
  22029. "opentotalqty": {
  22030. "description": "开仓总数量",
  22031. "type": "integer"
  22032. },
  22033. "otherfrozenqty": {
  22034. "description": "持仓其他冻结数量(交割冻结)",
  22035. "type": "integer"
  22036. },
  22037. "positionqty": {
  22038. "description": "期初持仓数量",
  22039. "type": "integer"
  22040. },
  22041. "tnqty": {
  22042. "description": "T+N冻结总量",
  22043. "type": "integer"
  22044. },
  22045. "tnusedqty": {
  22046. "description": "T+N使用量(可以使用T+N的冻结数量)",
  22047. "type": "integer"
  22048. },
  22049. "trademode": {
  22050. "description": "交易模式",
  22051. "type": "integer"
  22052. },
  22053. "usedmargin": {
  22054. "description": "占用保证金[商品币种]",
  22055. "type": "number"
  22056. }
  22057. }
  22058. },
  22059. "quote.HistoryData": {
  22060. "type": "object",
  22061. "properties": {
  22062. "c": {
  22063. "description": "收盘价",
  22064. "type": "number"
  22065. },
  22066. "f": {
  22067. "description": "是否补充数据",
  22068. "type": "boolean"
  22069. },
  22070. "h": {
  22071. "description": "最高价",
  22072. "type": "number"
  22073. },
  22074. "hv": {
  22075. "description": "持仓量",
  22076. "type": "integer"
  22077. },
  22078. "l": {
  22079. "description": "最低价",
  22080. "type": "number"
  22081. },
  22082. "o": {
  22083. "description": "开盘价",
  22084. "type": "number"
  22085. },
  22086. "s": {
  22087. "description": "结算价,日线周期(包括)以上才有",
  22088. "type": "number"
  22089. },
  22090. "ts": {
  22091. "description": "时间",
  22092. "type": "string"
  22093. },
  22094. "tt": {
  22095. "description": "总金额",
  22096. "type": "number"
  22097. },
  22098. "tv": {
  22099. "description": "总量",
  22100. "type": "integer"
  22101. }
  22102. }
  22103. },
  22104. "quote.HistoryTikData": {
  22105. "type": "object",
  22106. "properties": {
  22107. "AV": {
  22108. "description": "卖量",
  22109. "type": "integer"
  22110. },
  22111. "Ask": {
  22112. "description": "卖价",
  22113. "type": "number"
  22114. },
  22115. "BV": {
  22116. "description": "买量",
  22117. "type": "integer"
  22118. },
  22119. "Bid": {
  22120. "description": "买价",
  22121. "type": "number"
  22122. },
  22123. "HI": {
  22124. "description": "单笔持仓",
  22125. "type": "integer"
  22126. },
  22127. "HV": {
  22128. "description": "持仓量",
  22129. "type": "integer"
  22130. },
  22131. "PE": {
  22132. "description": "现价",
  22133. "type": "number"
  22134. },
  22135. "TDR": {
  22136. "description": "交易方向,0:买 1:卖",
  22137. "type": "integer"
  22138. },
  22139. "TK": {
  22140. "description": "交易类型",
  22141. "type": "integer"
  22142. },
  22143. "TS": {
  22144. "description": "行情时间文本",
  22145. "type": "string"
  22146. },
  22147. "TT": {
  22148. "description": "现金额",
  22149. "type": "number"
  22150. },
  22151. "Vol": {
  22152. "description": "现量",
  22153. "type": "integer"
  22154. }
  22155. }
  22156. },
  22157. "quote.QueryQuoteDayRsp": {
  22158. "type": "object",
  22159. "properties": {
  22160. "ask": {
  22161. "description": "卖1",
  22162. "type": "number"
  22163. },
  22164. "ask10": {
  22165. "description": "卖10",
  22166. "type": "number"
  22167. },
  22168. "ask2": {
  22169. "description": "卖2",
  22170. "type": "number"
  22171. },
  22172. "ask3": {
  22173. "description": "卖3",
  22174. "type": "number"
  22175. },
  22176. "ask4": {
  22177. "description": "卖4",
  22178. "type": "number"
  22179. },
  22180. "ask5": {
  22181. "description": "卖5",
  22182. "type": "number"
  22183. },
  22184. "ask6": {
  22185. "description": "卖6",
  22186. "type": "number"
  22187. },
  22188. "ask7": {
  22189. "description": "卖7",
  22190. "type": "number"
  22191. },
  22192. "ask8": {
  22193. "description": "卖8",
  22194. "type": "number"
  22195. },
  22196. "ask9": {
  22197. "description": "卖9",
  22198. "type": "number"
  22199. },
  22200. "askorderid": {
  22201. "description": "卖单号1",
  22202. "type": "integer"
  22203. },
  22204. "askorderid2": {
  22205. "description": "卖单号2",
  22206. "type": "integer"
  22207. },
  22208. "askorderid3": {
  22209. "description": "卖单号3",
  22210. "type": "integer"
  22211. },
  22212. "askorderid4": {
  22213. "description": "卖单号4",
  22214. "type": "integer"
  22215. },
  22216. "askorderid5": {
  22217. "description": "卖单号5",
  22218. "type": "integer"
  22219. },
  22220. "askordervolume": {
  22221. "description": "卖单量1",
  22222. "type": "integer"
  22223. },
  22224. "askordervolume10": {
  22225. "description": "卖单量10",
  22226. "type": "integer"
  22227. },
  22228. "askordervolume2": {
  22229. "description": "卖单量2",
  22230. "type": "integer"
  22231. },
  22232. "askordervolume3": {
  22233. "description": "卖单量3",
  22234. "type": "integer"
  22235. },
  22236. "askordervolume4": {
  22237. "description": "卖单量4",
  22238. "type": "integer"
  22239. },
  22240. "askordervolume5": {
  22241. "description": "卖单量5",
  22242. "type": "integer"
  22243. },
  22244. "askordervolume6": {
  22245. "description": "卖单量6",
  22246. "type": "integer"
  22247. },
  22248. "askordervolume7": {
  22249. "description": "卖单量7",
  22250. "type": "integer"
  22251. },
  22252. "askordervolume8": {
  22253. "description": "卖单量8",
  22254. "type": "integer"
  22255. },
  22256. "askordervolume9": {
  22257. "description": "卖单量9",
  22258. "type": "integer"
  22259. },
  22260. "askqueueinfo": {
  22261. "description": "大利市卖港股用",
  22262. "type": "string"
  22263. },
  22264. "askvolume": {
  22265. "description": "卖量1",
  22266. "type": "integer"
  22267. },
  22268. "askvolume10": {
  22269. "description": "卖量10",
  22270. "type": "integer"
  22271. },
  22272. "askvolume2": {
  22273. "description": "卖量2",
  22274. "type": "integer"
  22275. },
  22276. "askvolume3": {
  22277. "description": "卖量3",
  22278. "type": "integer"
  22279. },
  22280. "askvolume4": {
  22281. "description": "卖量4",
  22282. "type": "integer"
  22283. },
  22284. "askvolume5": {
  22285. "description": "卖量5",
  22286. "type": "integer"
  22287. },
  22288. "askvolume6": {
  22289. "description": "卖量6",
  22290. "type": "integer"
  22291. },
  22292. "askvolume7": {
  22293. "description": "卖量7",
  22294. "type": "integer"
  22295. },
  22296. "askvolume8": {
  22297. "description": "卖量8",
  22298. "type": "integer"
  22299. },
  22300. "askvolume9": {
  22301. "description": "卖量9",
  22302. "type": "integer"
  22303. },
  22304. "averageprice": {
  22305. "description": "均价",
  22306. "type": "number"
  22307. },
  22308. "bid": {
  22309. "description": "买1",
  22310. "type": "number"
  22311. },
  22312. "bid10": {
  22313. "description": "买10",
  22314. "type": "number"
  22315. },
  22316. "bid2": {
  22317. "description": "买2",
  22318. "type": "number"
  22319. },
  22320. "bid3": {
  22321. "description": "买3",
  22322. "type": "number"
  22323. },
  22324. "bid4": {
  22325. "description": "买4",
  22326. "type": "number"
  22327. },
  22328. "bid5": {
  22329. "description": "买5",
  22330. "type": "number"
  22331. },
  22332. "bid6": {
  22333. "description": "买6",
  22334. "type": "number"
  22335. },
  22336. "bid7": {
  22337. "description": "买7",
  22338. "type": "number"
  22339. },
  22340. "bid8": {
  22341. "description": "买8",
  22342. "type": "number"
  22343. },
  22344. "bid9": {
  22345. "description": "买9",
  22346. "type": "number"
  22347. },
  22348. "bidorderid": {
  22349. "description": "买单号1",
  22350. "type": "integer"
  22351. },
  22352. "bidorderid2": {
  22353. "description": "买单号2",
  22354. "type": "integer"
  22355. },
  22356. "bidorderid3": {
  22357. "description": "买单号3",
  22358. "type": "integer"
  22359. },
  22360. "bidorderid4": {
  22361. "description": "买单号4",
  22362. "type": "integer"
  22363. },
  22364. "bidorderid5": {
  22365. "description": "买单号5",
  22366. "type": "integer"
  22367. },
  22368. "bidordervolume": {
  22369. "description": "买单量1",
  22370. "type": "integer"
  22371. },
  22372. "bidordervolume10": {
  22373. "description": "买单量10",
  22374. "type": "integer"
  22375. },
  22376. "bidordervolume2": {
  22377. "description": "买单量2",
  22378. "type": "integer"
  22379. },
  22380. "bidordervolume3": {
  22381. "description": "买单量3",
  22382. "type": "integer"
  22383. },
  22384. "bidordervolume4": {
  22385. "description": "买单量4",
  22386. "type": "integer"
  22387. },
  22388. "bidordervolume5": {
  22389. "description": "买单量5",
  22390. "type": "integer"
  22391. },
  22392. "bidordervolume6": {
  22393. "description": "买单量6",
  22394. "type": "integer"
  22395. },
  22396. "bidordervolume7": {
  22397. "description": "买单量7",
  22398. "type": "integer"
  22399. },
  22400. "bidordervolume8": {
  22401. "description": "买单量8",
  22402. "type": "integer"
  22403. },
  22404. "bidordervolume9": {
  22405. "description": "买单量9",
  22406. "type": "integer"
  22407. },
  22408. "bidqueueinfo": {
  22409. "description": "大利市买港股用",
  22410. "type": "string"
  22411. },
  22412. "bidvolume": {
  22413. "description": "买量1",
  22414. "type": "integer"
  22415. },
  22416. "bidvolume10": {
  22417. "description": "买量10",
  22418. "type": "integer"
  22419. },
  22420. "bidvolume2": {
  22421. "description": "买量2",
  22422. "type": "integer"
  22423. },
  22424. "bidvolume3": {
  22425. "description": "买量3",
  22426. "type": "integer"
  22427. },
  22428. "bidvolume4": {
  22429. "description": "买量4",
  22430. "type": "integer"
  22431. },
  22432. "bidvolume5": {
  22433. "description": "买量5",
  22434. "type": "integer"
  22435. },
  22436. "bidvolume6": {
  22437. "description": "买量6",
  22438. "type": "integer"
  22439. },
  22440. "bidvolume7": {
  22441. "description": "买量7",
  22442. "type": "integer"
  22443. },
  22444. "bidvolume8": {
  22445. "description": "买量8",
  22446. "type": "integer"
  22447. },
  22448. "bidvolume9": {
  22449. "description": "买量9",
  22450. "type": "integer"
  22451. },
  22452. "calloptionpremiums": {
  22453. "description": "认购期权1",
  22454. "type": "integer"
  22455. },
  22456. "calloptionpremiums2": {
  22457. "description": "认购期权2",
  22458. "type": "integer"
  22459. },
  22460. "calloptionpremiums3": {
  22461. "description": "认购期权3",
  22462. "type": "integer"
  22463. },
  22464. "calloptionpremiums4": {
  22465. "description": "认购期权4",
  22466. "type": "integer"
  22467. },
  22468. "calloptionpremiums5": {
  22469. "description": "认购期权5",
  22470. "type": "integer"
  22471. },
  22472. "cleartime": {
  22473. "description": "清盘时间",
  22474. "type": "integer"
  22475. },
  22476. "exchangecode": {
  22477. "description": "交易所代码",
  22478. "type": "integer"
  22479. },
  22480. "exchangedate": {
  22481. "description": "交易日",
  22482. "type": "integer"
  22483. },
  22484. "goodscode": {
  22485. "description": "商品代码",
  22486. "type": "string"
  22487. },
  22488. "grepmarketprice": {
  22489. "description": "暗盘价 港股专用",
  22490. "type": "number"
  22491. },
  22492. "highest": {
  22493. "description": "最高价",
  22494. "type": "number"
  22495. },
  22496. "holdincrement": {
  22497. "description": "单笔持仓",
  22498. "type": "integer"
  22499. },
  22500. "holdvolume": {
  22501. "description": "持仓",
  22502. "type": "integer"
  22503. },
  22504. "iep": {
  22505. "description": "平衡价 港股专用",
  22506. "type": "number"
  22507. },
  22508. "iev": {
  22509. "description": "平衡量 港股专用",
  22510. "type": "number"
  22511. },
  22512. "inventory": {
  22513. "description": "库存",
  22514. "type": "integer"
  22515. },
  22516. "iscleared": {
  22517. "description": "是否清盘标志",
  22518. "type": "integer"
  22519. },
  22520. "issettled": {
  22521. "description": "是否结算标志",
  22522. "type": "integer"
  22523. },
  22524. "last": {
  22525. "description": "最新价",
  22526. "type": "number"
  22527. },
  22528. "lastlot": {
  22529. "description": "最新成交手数",
  22530. "type": "integer"
  22531. },
  22532. "lasttime": {
  22533. "description": "行情时间(只有现价变化行情时间才变化)",
  22534. "type": "string"
  22535. },
  22536. "lastturnover": {
  22537. "description": "最新成交金额",
  22538. "type": "number"
  22539. },
  22540. "lastvolume": {
  22541. "description": "最新成交量",
  22542. "type": "integer"
  22543. },
  22544. "limitdown": {
  22545. "description": "跌停价",
  22546. "type": "number"
  22547. },
  22548. "limitup": {
  22549. "description": "涨停价",
  22550. "type": "number"
  22551. },
  22552. "lowest": {
  22553. "description": "最低价",
  22554. "type": "number"
  22555. },
  22556. "nontotalholdervolume": {
  22557. "description": "非交易持仓量",
  22558. "type": "integer"
  22559. },
  22560. "nontotallot": {
  22561. "description": "非交易总手数",
  22562. "type": "integer"
  22563. },
  22564. "nontotalturnover": {
  22565. "description": "非交易总金额",
  22566. "type": "integer"
  22567. },
  22568. "nontotalvolume": {
  22569. "description": "非交易总量",
  22570. "type": "integer"
  22571. },
  22572. "opened": {
  22573. "description": "开盘价",
  22574. "type": "number"
  22575. },
  22576. "opentime": {
  22577. "description": "开盘时间",
  22578. "type": "string"
  22579. },
  22580. "orderid": {
  22581. "description": "序号",
  22582. "type": "integer"
  22583. },
  22584. "preclose": {
  22585. "description": "昨收",
  22586. "type": "number"
  22587. },
  22588. "preholdvolume": {
  22589. "description": "昨持仓",
  22590. "type": "integer"
  22591. },
  22592. "presettle": {
  22593. "description": "昨结价",
  22594. "type": "number"
  22595. },
  22596. "publictradetype": {
  22597. "description": "公共交易标志类型 港股专用",
  22598. "type": "string"
  22599. },
  22600. "putoptionpremiums": {
  22601. "description": "认沽期权1",
  22602. "type": "integer"
  22603. },
  22604. "putoptionpremiums2": {
  22605. "description": "认沽期权2",
  22606. "type": "integer"
  22607. },
  22608. "putoptionpremiums3": {
  22609. "description": "认沽期权3",
  22610. "type": "integer"
  22611. },
  22612. "putoptionpremiums4": {
  22613. "description": "认沽期权4",
  22614. "type": "integer"
  22615. },
  22616. "putoptionpremiums5": {
  22617. "description": "认沽期权5",
  22618. "type": "integer"
  22619. },
  22620. "settle": {
  22621. "description": "结算价",
  22622. "type": "number"
  22623. },
  22624. "strikeprice": {
  22625. "description": "发行价",
  22626. "type": "number"
  22627. },
  22628. "totalaskvolume": {
  22629. "description": "内盘",
  22630. "type": "integer"
  22631. },
  22632. "totalbidvolume": {
  22633. "description": "外盘",
  22634. "type": "integer"
  22635. },
  22636. "totallot": {
  22637. "description": "总手数",
  22638. "type": "integer"
  22639. },
  22640. "totalturnover": {
  22641. "description": "总金额",
  22642. "type": "number"
  22643. },
  22644. "totalvolume": {
  22645. "description": "总量",
  22646. "type": "integer"
  22647. },
  22648. "utclasttime": {
  22649. "description": "utc的行情时间",
  22650. "type": "string"
  22651. }
  22652. }
  22653. },
  22654. "quote.QueryTSDataRsp": {
  22655. "type": "object",
  22656. "properties": {
  22657. "Count": {
  22658. "description": "交易日应有数据个数",
  22659. "type": "integer"
  22660. },
  22661. "decimalPlace": {
  22662. "description": "小数位",
  22663. "type": "integer"
  22664. },
  22665. "endTime": {
  22666. "description": "结束时间",
  22667. "type": "string"
  22668. },
  22669. "goodsCode": {
  22670. "description": "商品代码",
  22671. "type": "string"
  22672. },
  22673. "historyDatas": {
  22674. "description": "历史数据",
  22675. "type": "array",
  22676. "items": {
  22677. "$ref": "#/definitions/quote.HistoryData"
  22678. }
  22679. },
  22680. "outGoodsCode": {
  22681. "description": "外部商品代码",
  22682. "type": "string"
  22683. },
  22684. "preSettle": {
  22685. "description": "昨结价",
  22686. "type": "number"
  22687. },
  22688. "runSteps": {
  22689. "description": "交易日开休市计划",
  22690. "type": "array",
  22691. "items": {
  22692. "$ref": "#/definitions/quote.TSDataRunStep"
  22693. }
  22694. },
  22695. "startTime": {
  22696. "description": "开始时间",
  22697. "type": "string"
  22698. },
  22699. "tradeDate": {
  22700. "description": "交易日",
  22701. "type": "string"
  22702. }
  22703. }
  22704. },
  22705. "quote.TSDataRunStep": {
  22706. "type": "object",
  22707. "properties": {
  22708. "end": {
  22709. "description": "真实结束时间",
  22710. "type": "string"
  22711. },
  22712. "endflag": {
  22713. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  22714. "type": "integer"
  22715. },
  22716. "endtime": {
  22717. "description": "结束时间(HH:mm)",
  22718. "type": "string"
  22719. },
  22720. "endweekday": {
  22721. "description": "结束周几",
  22722. "type": "integer"
  22723. },
  22724. "groupid": {
  22725. "description": "分组ID",
  22726. "type": "integer"
  22727. },
  22728. "runstep": {
  22729. "description": "运行阶段 - 2:连续交易",
  22730. "type": "integer"
  22731. },
  22732. "sectionid": {
  22733. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  22734. "type": "integer"
  22735. },
  22736. "start": {
  22737. "description": "真实开始时间",
  22738. "type": "string"
  22739. },
  22740. "startflag": {
  22741. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  22742. "type": "integer"
  22743. },
  22744. "starttime": {
  22745. "description": "起始时间(HH:mm)",
  22746. "type": "string"
  22747. },
  22748. "startweekday": {
  22749. "description": "起始周几",
  22750. "type": "integer"
  22751. },
  22752. "tradeweekday": {
  22753. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  22754. "type": "integer"
  22755. }
  22756. }
  22757. },
  22758. "szdz.QueryConvertLogRsp": {
  22759. "type": "object",
  22760. "required": [
  22761. "logid"
  22762. ],
  22763. "properties": {
  22764. "accountid": {
  22765. "description": "资金账户ID",
  22766. "type": "integer"
  22767. },
  22768. "clientticket": {
  22769. "description": "客户端流水号",
  22770. "type": "string"
  22771. },
  22772. "converttype": {
  22773. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  22774. "type": "integer"
  22775. },
  22776. "createtime": {
  22777. "description": "记账时间",
  22778. "type": "string"
  22779. },
  22780. "daymaxvalue": {
  22781. "description": "配置当日最大转入限制",
  22782. "type": "number"
  22783. },
  22784. "daymaxvalue2": {
  22785. "description": "配置当日最大转入限制(转入)",
  22786. "type": "number"
  22787. },
  22788. "goodscode": {
  22789. "description": "商品代码",
  22790. "type": "string"
  22791. },
  22792. "goodsname": {
  22793. "description": "商品名称",
  22794. "type": "string"
  22795. },
  22796. "handlestatus": {
  22797. "description": "处理状态",
  22798. "type": "integer"
  22799. },
  22800. "innergoodsid": {
  22801. "description": "内部商品ID",
  22802. "type": "integer"
  22803. },
  22804. "inratio": {
  22805. "description": "配置转入比值",
  22806. "type": "integer"
  22807. },
  22808. "invalue": {
  22809. "description": "目标值",
  22810. "type": "number"
  22811. },
  22812. "logid": {
  22813. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  22814. "type": "integer"
  22815. },
  22816. "mobile": {
  22817. "description": "手机号码(加密存储)",
  22818. "type": "string"
  22819. },
  22820. "outergoodscode": {
  22821. "description": "外部商品代码[JD\\PD]",
  22822. "type": "string"
  22823. },
  22824. "outratio": {
  22825. "description": "配置转出比值",
  22826. "type": "integer"
  22827. },
  22828. "outvalue": {
  22829. "description": "源值",
  22830. "type": "number"
  22831. },
  22832. "pddecimalplace": {
  22833. "description": "PD小数位",
  22834. "type": "integer"
  22835. },
  22836. "qty": {
  22837. "description": "数量",
  22838. "type": "string"
  22839. },
  22840. "remark": {
  22841. "description": "备注",
  22842. "type": "string"
  22843. },
  22844. "sessionid": {
  22845. "description": "会话ID",
  22846. "type": "integer"
  22847. },
  22848. "timemaxvalue": {
  22849. "description": "配置单次最大转入限制",
  22850. "type": "number"
  22851. },
  22852. "timemaxvalue2": {
  22853. "description": "配置单次最大转入限制(转入)",
  22854. "type": "number"
  22855. },
  22856. "timeminvalue": {
  22857. "description": "配置单次最小数量限制",
  22858. "type": "number"
  22859. },
  22860. "timeminvalue2": {
  22861. "description": "配置单次最小数量限制(转入)",
  22862. "type": "number"
  22863. },
  22864. "tradedate": {
  22865. "description": "交易日(yyyyMMdd)",
  22866. "type": "string"
  22867. },
  22868. "userid": {
  22869. "description": "用户ID",
  22870. "type": "integer"
  22871. }
  22872. }
  22873. },
  22874. "szdz.QueryGoodsPickupRsp": {
  22875. "type": "object",
  22876. "required": [
  22877. "takeorderid"
  22878. ],
  22879. "properties": {
  22880. "accountid": {
  22881. "description": "账户ID",
  22882. "type": "integer"
  22883. },
  22884. "address": {
  22885. "description": "提货人详细地址",
  22886. "type": "string"
  22887. },
  22888. "auditer": {
  22889. "description": "审核人",
  22890. "type": "integer"
  22891. },
  22892. "audittime": {
  22893. "description": "审核时间",
  22894. "type": "string"
  22895. },
  22896. "cardnum": {
  22897. "description": "提货人证件号码",
  22898. "type": "string"
  22899. },
  22900. "cardtypeid": {
  22901. "description": "提货人证件类型",
  22902. "type": "integer"
  22903. },
  22904. "checkremark": {
  22905. "description": "审核备注",
  22906. "type": "string"
  22907. },
  22908. "goodscode": {
  22909. "description": "商品代码",
  22910. "type": "string"
  22911. },
  22912. "goodsid": {
  22913. "description": "商品ID",
  22914. "type": "integer"
  22915. },
  22916. "goodsname": {
  22917. "description": "商品名称",
  22918. "type": "string"
  22919. },
  22920. "handlestatus": {
  22921. "description": "处理状态",
  22922. "type": "integer"
  22923. },
  22924. "marketid": {
  22925. "description": "市场ID",
  22926. "type": "integer"
  22927. },
  22928. "phonenum": {
  22929. "description": "提货人联系方式",
  22930. "type": "string"
  22931. },
  22932. "qty": {
  22933. "description": "提货数量",
  22934. "type": "number"
  22935. },
  22936. "recivername": {
  22937. "description": "提货人姓名",
  22938. "type": "string"
  22939. },
  22940. "reqtime": {
  22941. "description": "更新时间",
  22942. "type": "string"
  22943. },
  22944. "takemode": {
  22945. "description": "提货方式 - 2:自提 3:配送",
  22946. "type": "integer"
  22947. },
  22948. "takeorderid": {
  22949. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  22950. "type": "string"
  22951. },
  22952. "takeorderstatus": {
  22953. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  22954. "type": "integer"
  22955. },
  22956. "takeremark": {
  22957. "description": "提货备注",
  22958. "type": "string"
  22959. },
  22960. "tradedate": {
  22961. "description": "交易日(yyyyMMdd)",
  22962. "type": "string"
  22963. },
  22964. "userid": {
  22965. "description": "用户ID",
  22966. "type": "integer"
  22967. }
  22968. }
  22969. },
  22970. "szdz.QueryRecieptOrderRsp": {
  22971. "type": "object",
  22972. "required": [
  22973. "ordertime"
  22974. ],
  22975. "properties": {
  22976. "accountName": {
  22977. "description": "所属账号名称(已脱敏)",
  22978. "type": "string"
  22979. },
  22980. "accountid": {
  22981. "description": "资金账号",
  22982. "type": "integer"
  22983. },
  22984. "buyorsell": {
  22985. "description": "方向 - 0:买 1:卖",
  22986. "type": "integer"
  22987. },
  22988. "enableqty": {
  22989. "description": "可摘数量",
  22990. "type": "integer"
  22991. },
  22992. "goodscode": {
  22993. "description": "商品代码",
  22994. "type": "string"
  22995. },
  22996. "goodsid": {
  22997. "description": "商品ID",
  22998. "type": "integer"
  22999. },
  23000. "goodsname": {
  23001. "description": "商品名称",
  23002. "type": "string"
  23003. },
  23004. "orderid": {
  23005. "description": "委托单号",
  23006. "type": "string"
  23007. },
  23008. "orderprice": {
  23009. "description": "委托价格",
  23010. "type": "number"
  23011. },
  23012. "ordertime": {
  23013. "description": "委托时间",
  23014. "type": "string"
  23015. },
  23016. "tradedate": {
  23017. "description": "交易日(yyyyMMdd)",
  23018. "type": "string"
  23019. }
  23020. }
  23021. },
  23022. "szdz.QuerySZDZTradePositionRsp": {
  23023. "type": "object",
  23024. "properties": {
  23025. "accountid": {
  23026. "description": "账号Id",
  23027. "type": "integer"
  23028. },
  23029. "agreeunit": {
  23030. "description": "合约单位",
  23031. "type": "number"
  23032. },
  23033. "averageprice": {
  23034. "description": "持仓均价",
  23035. "type": "number"
  23036. },
  23037. "buyorsell": {
  23038. "description": "方向 - 0:买 1:卖",
  23039. "type": "integer"
  23040. },
  23041. "closetotalqty": {
  23042. "description": "平仓总数量",
  23043. "type": "integer"
  23044. },
  23045. "curholderamount": {
  23046. "description": "当前持仓总金额",
  23047. "type": "number"
  23048. },
  23049. "curpositionqty": {
  23050. "description": "当前持仓总数量",
  23051. "type": "integer"
  23052. },
  23053. "currencyid": {
  23054. "description": "报价货币ID",
  23055. "type": "integer"
  23056. },
  23057. "curtdposition": {
  23058. "description": "期末今日头寸",
  23059. "type": "integer"
  23060. },
  23061. "decimalplace": {
  23062. "description": "报价小数位",
  23063. "type": "integer"
  23064. },
  23065. "enableqty": {
  23066. "description": "可用量",
  23067. "type": "integer"
  23068. },
  23069. "fretdposition": {
  23070. "description": "冻结今日头寸",
  23071. "type": "integer"
  23072. },
  23073. "frozenqty": {
  23074. "description": "持仓冻结数量",
  23075. "type": "integer"
  23076. },
  23077. "goodscode": {
  23078. "description": "商品代码(内部)",
  23079. "type": "string"
  23080. },
  23081. "goodsid": {
  23082. "description": "商品Id",
  23083. "type": "integer"
  23084. },
  23085. "goodsname": {
  23086. "description": "商品名称",
  23087. "type": "string"
  23088. },
  23089. "goodunit": {
  23090. "description": "报价单位",
  23091. "type": "string"
  23092. },
  23093. "goodunitid": {
  23094. "description": "报价单位ID",
  23095. "type": "integer"
  23096. },
  23097. "holderamount": {
  23098. "description": "期初持仓总金额",
  23099. "type": "number"
  23100. },
  23101. "marketid": {
  23102. "description": "市场ID",
  23103. "type": "integer"
  23104. },
  23105. "openreqqty": {
  23106. "description": "开仓申请数量",
  23107. "type": "integer"
  23108. },
  23109. "opentotalqty": {
  23110. "description": "开仓总数量",
  23111. "type": "integer"
  23112. },
  23113. "otherfrozenqty": {
  23114. "description": "持仓其他冻结数量(交割冻结)",
  23115. "type": "integer"
  23116. },
  23117. "positionqty": {
  23118. "description": "期初持仓数量",
  23119. "type": "integer"
  23120. },
  23121. "szdz3freezqty": {
  23122. "description": "尚志大宗转换冻结总数量",
  23123. "type": "integer"
  23124. },
  23125. "tnqty": {
  23126. "description": "T+N冻结总量",
  23127. "type": "integer"
  23128. },
  23129. "tnusedqty": {
  23130. "description": "T+N使用量",
  23131. "type": "integer"
  23132. },
  23133. "trademode": {
  23134. "description": "交易模式",
  23135. "type": "integer"
  23136. },
  23137. "usedmargin": {
  23138. "description": "占用保证金",
  23139. "type": "number"
  23140. }
  23141. }
  23142. },
  23143. "taaccount.QueryAmountLogRsp": {
  23144. "type": "object",
  23145. "required": [
  23146. "accountid",
  23147. "amount",
  23148. "amountadjusttype",
  23149. "autoid",
  23150. "balance",
  23151. "createtime",
  23152. "currentbalance",
  23153. "operatetype"
  23154. ],
  23155. "properties": {
  23156. "OPERATETYPENAME": {
  23157. "description": "资金操作类型名称",
  23158. "type": "string"
  23159. },
  23160. "accountid": {
  23161. "description": "资金账户ID",
  23162. "type": "integer"
  23163. },
  23164. "agoodscode": {
  23165. "description": "竞拍商品代码",
  23166. "type": "string"
  23167. },
  23168. "agoodsname": {
  23169. "description": "竞拍商品名称",
  23170. "type": "string"
  23171. },
  23172. "amount": {
  23173. "description": "资金金额",
  23174. "type": "number"
  23175. },
  23176. "amountadjusttype": {
  23177. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23178. "type": "integer"
  23179. },
  23180. "autoid": {
  23181. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23182. "type": "integer"
  23183. },
  23184. "balance": {
  23185. "description": "期初余额",
  23186. "type": "number"
  23187. },
  23188. "businesscode": {
  23189. "description": "业务编号",
  23190. "type": "integer"
  23191. },
  23192. "createtime": {
  23193. "description": "发生时间",
  23194. "type": "string"
  23195. },
  23196. "currencyid": {
  23197. "description": "币种ID",
  23198. "type": "integer"
  23199. },
  23200. "currentbalance": {
  23201. "description": "期末余额(变动后金额)",
  23202. "type": "number"
  23203. },
  23204. "dgoodscode": {
  23205. "description": "交割商品代码",
  23206. "type": "string"
  23207. },
  23208. "dgoodsname": {
  23209. "description": "交割商品名称",
  23210. "type": "string"
  23211. },
  23212. "goodscode": {
  23213. "description": "商品代码",
  23214. "type": "string"
  23215. },
  23216. "goodsid": {
  23217. "description": "商品ID",
  23218. "type": "integer"
  23219. },
  23220. "goodsname": {
  23221. "description": "商品名称",
  23222. "type": "string"
  23223. },
  23224. "marketid": {
  23225. "description": "市场ID",
  23226. "type": "integer"
  23227. },
  23228. "marketname": {
  23229. "description": "市场名称",
  23230. "type": "string"
  23231. },
  23232. "moneyticket": {
  23233. "description": "资金流水号:银行端流水号",
  23234. "type": "integer"
  23235. },
  23236. "operatetype": {
  23237. "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:营销收款",
  23238. "type": "integer"
  23239. },
  23240. "relationorderid": {
  23241. "description": "关联单号",
  23242. "type": "string"
  23243. },
  23244. "remark": {
  23245. "description": "备注",
  23246. "type": "string"
  23247. },
  23248. "trademode": {
  23249. "description": "交易模式",
  23250. "type": "integer"
  23251. }
  23252. }
  23253. },
  23254. "taaccount.QueryHisAmountLogRsp": {
  23255. "type": "object",
  23256. "required": [
  23257. "accountid",
  23258. "amount",
  23259. "amountadjusttype",
  23260. "autoid",
  23261. "balance",
  23262. "createtime",
  23263. "currentbalance",
  23264. "histradedate",
  23265. "operatetype"
  23266. ],
  23267. "properties": {
  23268. "OPERATETYPENAME": {
  23269. "description": "资金操作类型名称",
  23270. "type": "string"
  23271. },
  23272. "accountid": {
  23273. "description": "资金账户ID",
  23274. "type": "integer"
  23275. },
  23276. "agoodscode": {
  23277. "description": "竞拍商品代码",
  23278. "type": "string"
  23279. },
  23280. "agoodsname": {
  23281. "description": "竞拍商品名称",
  23282. "type": "string"
  23283. },
  23284. "amount": {
  23285. "description": "资金金额",
  23286. "type": "number"
  23287. },
  23288. "amountadjusttype": {
  23289. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  23290. "type": "integer"
  23291. },
  23292. "autoid": {
  23293. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  23294. "type": "integer"
  23295. },
  23296. "balance": {
  23297. "description": "期初余额",
  23298. "type": "number"
  23299. },
  23300. "businesscode": {
  23301. "description": "业务编号",
  23302. "type": "integer"
  23303. },
  23304. "createtime": {
  23305. "description": "发生时间",
  23306. "type": "string"
  23307. },
  23308. "currencyid": {
  23309. "description": "币种ID",
  23310. "type": "integer"
  23311. },
  23312. "currentbalance": {
  23313. "description": "期末余额(变动后金额)",
  23314. "type": "number"
  23315. },
  23316. "dgoodscode": {
  23317. "description": "交割商品代码",
  23318. "type": "string"
  23319. },
  23320. "dgoodsname": {
  23321. "description": "交割商品名称",
  23322. "type": "string"
  23323. },
  23324. "goodscode": {
  23325. "description": "商品代码",
  23326. "type": "string"
  23327. },
  23328. "goodsid": {
  23329. "description": "商品ID",
  23330. "type": "integer"
  23331. },
  23332. "goodsname": {
  23333. "description": "商品名称",
  23334. "type": "string"
  23335. },
  23336. "histradedate": {
  23337. "description": "历史交易日",
  23338. "type": "string"
  23339. },
  23340. "isvaliddata": {
  23341. "description": "是否有效 - 0:无效 1:有效",
  23342. "type": "integer"
  23343. },
  23344. "marketid": {
  23345. "description": "市场ID",
  23346. "type": "integer"
  23347. },
  23348. "marketname": {
  23349. "description": "市场名称",
  23350. "type": "string"
  23351. },
  23352. "moneyticket": {
  23353. "description": "资金流水号:银行端流水号",
  23354. "type": "integer"
  23355. },
  23356. "operatetype": {
  23357. "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:营销收款",
  23358. "type": "integer"
  23359. },
  23360. "relationorderid": {
  23361. "description": "关联单号",
  23362. "type": "string"
  23363. },
  23364. "remark": {
  23365. "description": "备注",
  23366. "type": "string"
  23367. },
  23368. "trademode": {
  23369. "description": "交易模式",
  23370. "type": "integer"
  23371. }
  23372. }
  23373. },
  23374. "trade.QueryRecieptOrderRsp": {
  23375. "type": "object",
  23376. "required": [
  23377. "ordertime"
  23378. ],
  23379. "properties": {
  23380. "accountName": {
  23381. "description": "所属账号名称(已脱敏)",
  23382. "type": "string"
  23383. },
  23384. "accountid": {
  23385. "description": "资金账号",
  23386. "type": "integer"
  23387. },
  23388. "buyorsell": {
  23389. "description": "方向 - 0:买 1:卖",
  23390. "type": "integer"
  23391. },
  23392. "enableqty": {
  23393. "description": "可摘数量",
  23394. "type": "integer"
  23395. },
  23396. "goodscode": {
  23397. "description": "商品代码",
  23398. "type": "string"
  23399. },
  23400. "goodsid": {
  23401. "description": "商品ID",
  23402. "type": "integer"
  23403. },
  23404. "goodsname": {
  23405. "description": "商品名称",
  23406. "type": "string"
  23407. },
  23408. "orderid": {
  23409. "description": "委托单号",
  23410. "type": "string"
  23411. },
  23412. "orderprice": {
  23413. "description": "委托价格",
  23414. "type": "number"
  23415. },
  23416. "ordertime": {
  23417. "description": "委托时间",
  23418. "type": "string"
  23419. },
  23420. "tradedate": {
  23421. "description": "交易日(yyyyMMdd)",
  23422. "type": "string"
  23423. }
  23424. }
  23425. },
  23426. "user.LoginQueryRsp": {
  23427. "type": "object",
  23428. "properties": {
  23429. "areaRoles": {
  23430. "description": "所属角色信息",
  23431. "type": "array",
  23432. "items": {
  23433. "$ref": "#/definitions/models.Arearole"
  23434. }
  23435. },
  23436. "externalExchanges": {
  23437. "description": "外部交易所",
  23438. "type": "array",
  23439. "items": {
  23440. "$ref": "#/definitions/models.Externalexchange"
  23441. }
  23442. },
  23443. "goodsgroups": {
  23444. "description": "商品组",
  23445. "type": "array",
  23446. "items": {
  23447. "$ref": "#/definitions/models.Goodsgroup"
  23448. }
  23449. },
  23450. "loginAccount": {
  23451. "description": "登录账号",
  23452. "type": "object",
  23453. "$ref": "#/definitions/models.Loginaccount"
  23454. },
  23455. "markets": {
  23456. "description": "市场",
  23457. "type": "array",
  23458. "items": {
  23459. "$ref": "#/definitions/models.Market"
  23460. }
  23461. },
  23462. "systemParams": {
  23463. "description": "系统参数",
  23464. "type": "array",
  23465. "items": {
  23466. "$ref": "#/definitions/models.Systemparam"
  23467. }
  23468. },
  23469. "userAccount": {
  23470. "description": "用户账号",
  23471. "type": "object",
  23472. "$ref": "#/definitions/models.Useraccount"
  23473. },
  23474. "userInfo": {
  23475. "description": "用户信息",
  23476. "type": "object",
  23477. "$ref": "#/definitions/models.Userinfo"
  23478. },
  23479. "username": {
  23480. "description": "用户姓名",
  23481. "type": "string"
  23482. }
  23483. }
  23484. }
  23485. },
  23486. "securityDefinitions": {
  23487. "ApiKeyAuth": {
  23488. "type": "apiKey",
  23489. "name": "Authorization",
  23490. "in": "header"
  23491. }
  23492. }
  23493. }