swagger.json 780 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703
  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/GetErmcpRoleFuncMenuLists": {
  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.Funcmenulist"
  930. }
  931. },
  932. "500": {
  933. "description": "Internal Server Error",
  934. "schema": {
  935. "$ref": "#/definitions/app.Response"
  936. }
  937. }
  938. }
  939. }
  940. },
  941. "/Ermcp/QryReportAreaSpotPL": {
  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": "用户ID",
  959. "name": "userid",
  960. "in": "query",
  961. "required": true
  962. },
  963. {
  964. "type": "integer",
  965. "description": "查询类型 1-日报表 2-月报表",
  966. "name": "querytype",
  967. "in": "query",
  968. "required": true
  969. },
  970. {
  971. "type": "string",
  972. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  973. "name": "querydate",
  974. "in": "query",
  975. "required": true
  976. },
  977. {
  978. "type": "integer",
  979. "description": "现货商品ID",
  980. "name": "wrstandardid",
  981. "in": "query"
  982. },
  983. {
  984. "type": "integer",
  985. "description": "品牌ID",
  986. "name": "spotgoodsbrandid",
  987. "in": "query"
  988. },
  989. {
  990. "type": "integer",
  991. "description": "型号ID",
  992. "name": "spotgoodsmodelid",
  993. "in": "query"
  994. }
  995. ],
  996. "responses": {
  997. "200": {
  998. "description": "OK",
  999. "schema": {
  1000. "type": "array",
  1001. "items": {
  1002. "$ref": "#/definitions/models.ErmcpReportAreaSpotPL"
  1003. }
  1004. }
  1005. },
  1006. "500": {
  1007. "description": "Internal Server Error",
  1008. "schema": {
  1009. "$ref": "#/definitions/app.Response"
  1010. }
  1011. }
  1012. }
  1013. }
  1014. },
  1015. "/Ermcp/QryReportDayExposure": {
  1016. "get": {
  1017. "security": [
  1018. {
  1019. "ApiKeyAuth": []
  1020. }
  1021. ],
  1022. "produces": [
  1023. "application/json"
  1024. ],
  1025. "tags": [
  1026. "企业风险管理(app)"
  1027. ],
  1028. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  1029. "parameters": [
  1030. {
  1031. "type": "integer",
  1032. "description": "用户ID",
  1033. "name": "userid",
  1034. "in": "query",
  1035. "required": true
  1036. },
  1037. {
  1038. "type": "string",
  1039. "description": "交易日(格式:yyyyMMdd)",
  1040. "name": "tradedate",
  1041. "in": "query",
  1042. "required": true
  1043. }
  1044. ],
  1045. "responses": {
  1046. "200": {
  1047. "description": "OK",
  1048. "schema": {
  1049. "type": "array",
  1050. "items": {
  1051. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  1052. }
  1053. }
  1054. },
  1055. "500": {
  1056. "description": "Internal Server Error",
  1057. "schema": {
  1058. "$ref": "#/definitions/app.Response"
  1059. }
  1060. }
  1061. }
  1062. }
  1063. },
  1064. "/Ermcp/QryReportDayFinance": {
  1065. "get": {
  1066. "security": [
  1067. {
  1068. "ApiKeyAuth": []
  1069. }
  1070. ],
  1071. "produces": [
  1072. "application/json"
  1073. ],
  1074. "tags": [
  1075. "企业风险管理(app)"
  1076. ],
  1077. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  1078. "parameters": [
  1079. {
  1080. "type": "integer",
  1081. "description": "用户ID",
  1082. "name": "userid",
  1083. "in": "query",
  1084. "required": true
  1085. },
  1086. {
  1087. "type": "string",
  1088. "description": "交易日(格式:yyyyMMdd)",
  1089. "name": "tradedate",
  1090. "in": "query",
  1091. "required": true
  1092. }
  1093. ],
  1094. "responses": {
  1095. "200": {
  1096. "description": "OK",
  1097. "schema": {
  1098. "type": "array",
  1099. "items": {
  1100. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  1101. }
  1102. }
  1103. },
  1104. "500": {
  1105. "description": "Internal Server Error",
  1106. "schema": {
  1107. "$ref": "#/definitions/app.Response"
  1108. }
  1109. }
  1110. }
  1111. }
  1112. },
  1113. "/Ermcp/QryReportDayFinanceFp": {
  1114. "get": {
  1115. "security": [
  1116. {
  1117. "ApiKeyAuth": []
  1118. }
  1119. ],
  1120. "produces": [
  1121. "application/json"
  1122. ],
  1123. "tags": [
  1124. "企业风险管理(app)"
  1125. ],
  1126. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  1127. "parameters": [
  1128. {
  1129. "type": "integer",
  1130. "description": "用户ID",
  1131. "name": "userid",
  1132. "in": "query",
  1133. "required": true
  1134. },
  1135. {
  1136. "type": "string",
  1137. "description": "交易日(格式:yyyyMMdd)",
  1138. "name": "tradedate",
  1139. "in": "query",
  1140. "required": true
  1141. }
  1142. ],
  1143. "responses": {
  1144. "200": {
  1145. "description": "OK",
  1146. "schema": {
  1147. "type": "array",
  1148. "items": {
  1149. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1150. }
  1151. }
  1152. },
  1153. "500": {
  1154. "description": "Internal Server Error",
  1155. "schema": {
  1156. "$ref": "#/definitions/app.Response"
  1157. }
  1158. }
  1159. }
  1160. }
  1161. },
  1162. "/Ermcp/QryReportDayFinanceKx": {
  1163. "get": {
  1164. "security": [
  1165. {
  1166. "ApiKeyAuth": []
  1167. }
  1168. ],
  1169. "produces": [
  1170. "application/json"
  1171. ],
  1172. "tags": [
  1173. "企业风险管理(app)"
  1174. ],
  1175. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  1176. "parameters": [
  1177. {
  1178. "type": "integer",
  1179. "description": "用户ID",
  1180. "name": "userid",
  1181. "in": "query",
  1182. "required": true
  1183. },
  1184. {
  1185. "type": "string",
  1186. "description": "交易日(格式:yyyyMMdd)",
  1187. "name": "tradedate",
  1188. "in": "query",
  1189. "required": true
  1190. }
  1191. ],
  1192. "responses": {
  1193. "200": {
  1194. "description": "OK",
  1195. "schema": {
  1196. "type": "array",
  1197. "items": {
  1198. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  1199. }
  1200. }
  1201. },
  1202. "500": {
  1203. "description": "Internal Server Error",
  1204. "schema": {
  1205. "$ref": "#/definitions/app.Response"
  1206. }
  1207. }
  1208. }
  1209. }
  1210. },
  1211. "/Ermcp/QryReportDaySpot": {
  1212. "get": {
  1213. "security": [
  1214. {
  1215. "ApiKeyAuth": []
  1216. }
  1217. ],
  1218. "produces": [
  1219. "application/json"
  1220. ],
  1221. "tags": [
  1222. "企业风险管理(app)"
  1223. ],
  1224. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1225. "parameters": [
  1226. {
  1227. "type": "integer",
  1228. "description": "用户ID",
  1229. "name": "userid",
  1230. "in": "query",
  1231. "required": true
  1232. },
  1233. {
  1234. "type": "string",
  1235. "description": "交易日(格式:yyyyMMdd)",
  1236. "name": "tradedate",
  1237. "in": "query",
  1238. "required": true
  1239. }
  1240. ],
  1241. "responses": {
  1242. "200": {
  1243. "description": "OK",
  1244. "schema": {
  1245. "type": "array",
  1246. "items": {
  1247. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1248. }
  1249. }
  1250. },
  1251. "500": {
  1252. "description": "Internal Server Error",
  1253. "schema": {
  1254. "$ref": "#/definitions/app.Response"
  1255. }
  1256. }
  1257. }
  1258. }
  1259. },
  1260. "/Ermcp/QryReportDaySpotDetail": {
  1261. "get": {
  1262. "security": [
  1263. {
  1264. "ApiKeyAuth": []
  1265. }
  1266. ],
  1267. "produces": [
  1268. "application/json"
  1269. ],
  1270. "tags": [
  1271. "企业风险管理(app)"
  1272. ],
  1273. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1274. "parameters": [
  1275. {
  1276. "type": "integer",
  1277. "description": "用户ID",
  1278. "name": "userid",
  1279. "in": "query",
  1280. "required": true
  1281. },
  1282. {
  1283. "type": "integer",
  1284. "description": "现货商品id",
  1285. "name": "wrstandardid",
  1286. "in": "query",
  1287. "required": true
  1288. },
  1289. {
  1290. "type": "string",
  1291. "description": "交易日(格式:yyyyMMdd)",
  1292. "name": "tradedate",
  1293. "in": "query",
  1294. "required": true
  1295. }
  1296. ],
  1297. "responses": {
  1298. "200": {
  1299. "description": "OK",
  1300. "schema": {
  1301. "type": "array",
  1302. "items": {
  1303. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1304. }
  1305. }
  1306. },
  1307. "500": {
  1308. "description": "Internal Server Error",
  1309. "schema": {
  1310. "$ref": "#/definitions/app.Response"
  1311. }
  1312. }
  1313. }
  1314. }
  1315. },
  1316. "/Ermcp/QryReportMonthFinance": {
  1317. "get": {
  1318. "security": [
  1319. {
  1320. "ApiKeyAuth": []
  1321. }
  1322. ],
  1323. "produces": [
  1324. "application/json"
  1325. ],
  1326. "tags": [
  1327. "企业风险管理(app)"
  1328. ],
  1329. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1330. "parameters": [
  1331. {
  1332. "type": "integer",
  1333. "description": "用户ID",
  1334. "name": "userid",
  1335. "in": "query",
  1336. "required": true
  1337. },
  1338. {
  1339. "type": "string",
  1340. "description": "周期时间:月(格式:yyyyMM)",
  1341. "name": "cycletime",
  1342. "in": "query",
  1343. "required": true
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "OK",
  1349. "schema": {
  1350. "type": "array",
  1351. "items": {
  1352. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1353. }
  1354. }
  1355. },
  1356. "500": {
  1357. "description": "Internal Server Error",
  1358. "schema": {
  1359. "$ref": "#/definitions/app.Response"
  1360. }
  1361. }
  1362. }
  1363. }
  1364. },
  1365. "/Ermcp/QryReportMonthSpot": {
  1366. "get": {
  1367. "security": [
  1368. {
  1369. "ApiKeyAuth": []
  1370. }
  1371. ],
  1372. "produces": [
  1373. "application/json"
  1374. ],
  1375. "tags": [
  1376. "企业风险管理(app)"
  1377. ],
  1378. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1379. "parameters": [
  1380. {
  1381. "type": "integer",
  1382. "description": "用户ID",
  1383. "name": "userid",
  1384. "in": "query",
  1385. "required": true
  1386. },
  1387. {
  1388. "type": "string",
  1389. "description": "周期时间:月(格式:yyyyMM)",
  1390. "name": "cycletime",
  1391. "in": "query",
  1392. "required": true
  1393. }
  1394. ],
  1395. "responses": {
  1396. "200": {
  1397. "description": "OK",
  1398. "schema": {
  1399. "type": "array",
  1400. "items": {
  1401. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1402. }
  1403. }
  1404. },
  1405. "500": {
  1406. "description": "Internal Server Error",
  1407. "schema": {
  1408. "$ref": "#/definitions/app.Response"
  1409. }
  1410. }
  1411. }
  1412. }
  1413. },
  1414. "/Ermcp/QryReportMonthSpotDetail": {
  1415. "get": {
  1416. "security": [
  1417. {
  1418. "ApiKeyAuth": []
  1419. }
  1420. ],
  1421. "produces": [
  1422. "application/json"
  1423. ],
  1424. "tags": [
  1425. "企业风险管理(app)"
  1426. ],
  1427. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1428. "parameters": [
  1429. {
  1430. "type": "integer",
  1431. "description": "用户ID",
  1432. "name": "userid",
  1433. "in": "query",
  1434. "required": true
  1435. },
  1436. {
  1437. "type": "integer",
  1438. "description": "现货商品id",
  1439. "name": "wrstandardid",
  1440. "in": "query",
  1441. "required": true
  1442. },
  1443. {
  1444. "type": "string",
  1445. "description": "周期时间:月(格式:yyyyMM)",
  1446. "name": "cycletime",
  1447. "in": "query",
  1448. "required": true
  1449. }
  1450. ],
  1451. "responses": {
  1452. "200": {
  1453. "description": "OK",
  1454. "schema": {
  1455. "type": "array",
  1456. "items": {
  1457. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1458. }
  1459. }
  1460. },
  1461. "500": {
  1462. "description": "Internal Server Error",
  1463. "schema": {
  1464. "$ref": "#/definitions/app.Response"
  1465. }
  1466. }
  1467. }
  1468. }
  1469. },
  1470. "/Ermcp/QueryAccMgrBizGroupSet": {
  1471. "get": {
  1472. "security": [
  1473. {
  1474. "ApiKeyAuth": []
  1475. }
  1476. ],
  1477. "produces": [
  1478. "application/json"
  1479. ],
  1480. "tags": [
  1481. "企业风险管理(app)"
  1482. ],
  1483. "summary": "查询业务类型分组(账户管理/账户设置)",
  1484. "parameters": [
  1485. {
  1486. "type": "integer",
  1487. "description": "用户ID",
  1488. "name": "userid",
  1489. "in": "query",
  1490. "required": true
  1491. }
  1492. ],
  1493. "responses": {
  1494. "200": {
  1495. "description": "OK",
  1496. "schema": {
  1497. "type": "array",
  1498. "items": {
  1499. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1500. }
  1501. }
  1502. },
  1503. "500": {
  1504. "description": "Internal Server Error",
  1505. "schema": {
  1506. "$ref": "#/definitions/app.Response"
  1507. }
  1508. }
  1509. }
  1510. }
  1511. },
  1512. "/Ermcp/QueryAccMgrLoginUser": {
  1513. "get": {
  1514. "security": [
  1515. {
  1516. "ApiKeyAuth": []
  1517. }
  1518. ],
  1519. "produces": [
  1520. "application/json"
  1521. ],
  1522. "tags": [
  1523. "企业风险管理(app)"
  1524. ],
  1525. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1526. "parameters": [
  1527. {
  1528. "type": "integer",
  1529. "description": "用户ID",
  1530. "name": "userid",
  1531. "in": "query",
  1532. "required": true
  1533. }
  1534. ],
  1535. "responses": {
  1536. "200": {
  1537. "description": "OK",
  1538. "schema": {
  1539. "type": "array",
  1540. "items": {
  1541. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1542. }
  1543. }
  1544. },
  1545. "500": {
  1546. "description": "Internal Server Error",
  1547. "schema": {
  1548. "$ref": "#/definitions/app.Response"
  1549. }
  1550. }
  1551. }
  1552. }
  1553. },
  1554. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1555. "get": {
  1556. "security": [
  1557. {
  1558. "ApiKeyAuth": []
  1559. }
  1560. ],
  1561. "produces": [
  1562. "application/json"
  1563. ],
  1564. "tags": [
  1565. "企业风险管理(app)"
  1566. ],
  1567. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1568. "parameters": [
  1569. {
  1570. "type": "integer",
  1571. "description": "用户ID",
  1572. "name": "userid",
  1573. "in": "query"
  1574. },
  1575. {
  1576. "type": "integer",
  1577. "description": "主账号id",
  1578. "name": "accountid",
  1579. "in": "query"
  1580. }
  1581. ],
  1582. "responses": {
  1583. "200": {
  1584. "description": "OK",
  1585. "schema": {
  1586. "type": "array",
  1587. "items": {
  1588. "$ref": "#/definitions/models.MainAccountInfo"
  1589. }
  1590. }
  1591. },
  1592. "500": {
  1593. "description": "Internal Server Error",
  1594. "schema": {
  1595. "$ref": "#/definitions/app.Response"
  1596. }
  1597. }
  1598. }
  1599. }
  1600. },
  1601. "/Ermcp/QueryAccMgrRole": {
  1602. "get": {
  1603. "security": [
  1604. {
  1605. "ApiKeyAuth": []
  1606. }
  1607. ],
  1608. "produces": [
  1609. "application/json"
  1610. ],
  1611. "tags": [
  1612. "企业风险管理(app)"
  1613. ],
  1614. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1615. "parameters": [
  1616. {
  1617. "type": "integer",
  1618. "description": "用户ID",
  1619. "name": "userid",
  1620. "in": "query",
  1621. "required": true
  1622. }
  1623. ],
  1624. "responses": {
  1625. "200": {
  1626. "description": "OK",
  1627. "schema": {
  1628. "type": "array",
  1629. "items": {
  1630. "$ref": "#/definitions/models.ErmcpRole"
  1631. }
  1632. }
  1633. },
  1634. "500": {
  1635. "description": "Internal Server Error",
  1636. "schema": {
  1637. "$ref": "#/definitions/app.Response"
  1638. }
  1639. }
  1640. }
  1641. }
  1642. },
  1643. "/Ermcp/QueryAccMgrRoleMenu": {
  1644. "get": {
  1645. "security": [
  1646. {
  1647. "ApiKeyAuth": []
  1648. }
  1649. ],
  1650. "produces": [
  1651. "application/json"
  1652. ],
  1653. "tags": [
  1654. "企业风险管理(app)"
  1655. ],
  1656. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1657. "parameters": [
  1658. {
  1659. "type": "integer",
  1660. "description": "用户ID",
  1661. "name": "userid",
  1662. "in": "query",
  1663. "required": true
  1664. },
  1665. {
  1666. "type": "string",
  1667. "description": "角色id(可多个,逗号隔开)",
  1668. "name": "roleid",
  1669. "in": "query"
  1670. }
  1671. ],
  1672. "responses": {
  1673. "200": {
  1674. "description": "OK",
  1675. "schema": {
  1676. "type": "array",
  1677. "items": {
  1678. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1679. }
  1680. }
  1681. },
  1682. "500": {
  1683. "description": "Internal Server Error",
  1684. "schema": {
  1685. "$ref": "#/definitions/app.Response"
  1686. }
  1687. }
  1688. }
  1689. }
  1690. },
  1691. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1692. "get": {
  1693. "security": [
  1694. {
  1695. "ApiKeyAuth": []
  1696. }
  1697. ],
  1698. "produces": [
  1699. "application/json"
  1700. ],
  1701. "tags": [
  1702. "企业风险管理(app)"
  1703. ],
  1704. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1705. "parameters": [
  1706. {
  1707. "type": "integer",
  1708. "description": "用户ID",
  1709. "name": "userid",
  1710. "in": "query",
  1711. "required": true
  1712. },
  1713. {
  1714. "type": "integer",
  1715. "description": "账号id",
  1716. "name": "accountid",
  1717. "in": "query"
  1718. }
  1719. ],
  1720. "responses": {
  1721. "200": {
  1722. "description": "OK",
  1723. "schema": {
  1724. "type": "array",
  1725. "items": {
  1726. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1727. }
  1728. }
  1729. },
  1730. "500": {
  1731. "description": "Internal Server Error",
  1732. "schema": {
  1733. "$ref": "#/definitions/app.Response"
  1734. }
  1735. }
  1736. }
  1737. }
  1738. },
  1739. "/Ermcp/QueryAccMgrTaaccount": {
  1740. "get": {
  1741. "security": [
  1742. {
  1743. "ApiKeyAuth": []
  1744. }
  1745. ],
  1746. "produces": [
  1747. "application/json"
  1748. ],
  1749. "tags": [
  1750. "企业风险管理(app)"
  1751. ],
  1752. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1753. "parameters": [
  1754. {
  1755. "type": "integer",
  1756. "description": "用户ID",
  1757. "name": "userid",
  1758. "in": "query",
  1759. "required": true
  1760. }
  1761. ],
  1762. "responses": {
  1763. "200": {
  1764. "description": "OK",
  1765. "schema": {
  1766. "type": "array",
  1767. "items": {
  1768. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1769. }
  1770. }
  1771. },
  1772. "500": {
  1773. "description": "Internal Server Error",
  1774. "schema": {
  1775. "$ref": "#/definitions/app.Response"
  1776. }
  1777. }
  1778. }
  1779. }
  1780. },
  1781. "/Ermcp/QueryAreaStock": {
  1782. "get": {
  1783. "security": [
  1784. {
  1785. "ApiKeyAuth": []
  1786. }
  1787. ],
  1788. "produces": [
  1789. "application/json"
  1790. ],
  1791. "tags": [
  1792. "企业风险管理(app)"
  1793. ],
  1794. "summary": "查询机构库存(库存管理/当前库存)",
  1795. "parameters": [
  1796. {
  1797. "type": "integer",
  1798. "description": "用户ID",
  1799. "name": "userid",
  1800. "in": "query",
  1801. "required": true
  1802. }
  1803. ],
  1804. "responses": {
  1805. "200": {
  1806. "description": "OK",
  1807. "schema": {
  1808. "type": "array",
  1809. "items": {
  1810. "$ref": "#/definitions/models.ErmcpAreaStock"
  1811. }
  1812. }
  1813. },
  1814. "500": {
  1815. "description": "Internal Server Error",
  1816. "schema": {
  1817. "$ref": "#/definitions/app.Response"
  1818. }
  1819. }
  1820. }
  1821. }
  1822. },
  1823. "/Ermcp/QueryAreaStockApply": {
  1824. "get": {
  1825. "security": [
  1826. {
  1827. "ApiKeyAuth": []
  1828. }
  1829. ],
  1830. "produces": [
  1831. "application/json"
  1832. ],
  1833. "tags": [
  1834. "企业风险管理(app)"
  1835. ],
  1836. "summary": "查询库存申请(出入库记录|库存审核)",
  1837. "parameters": [
  1838. {
  1839. "type": "integer",
  1840. "description": "用户ID",
  1841. "name": "userid",
  1842. "in": "query",
  1843. "required": true
  1844. },
  1845. {
  1846. "type": "string",
  1847. "description": "出入库类型(可多项,逗号隔开) 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  1848. "name": "inouttype",
  1849. "in": "query"
  1850. },
  1851. {
  1852. "type": "integer",
  1853. "description": "合同ID",
  1854. "name": "spotcontractid",
  1855. "in": "query"
  1856. },
  1857. {
  1858. "type": "integer",
  1859. "description": "现货商品ID",
  1860. "name": "wrstandardid",
  1861. "in": "query"
  1862. },
  1863. {
  1864. "type": "integer",
  1865. "description": "品牌ID",
  1866. "name": "spotgoodsbrandid",
  1867. "in": "query"
  1868. },
  1869. {
  1870. "type": "integer",
  1871. "description": "型号ID",
  1872. "name": "spotgoodsmodelid",
  1873. "in": "query"
  1874. },
  1875. {
  1876. "type": "integer",
  1877. "description": "仓库ID",
  1878. "name": "warehouseinfoid",
  1879. "in": "query"
  1880. },
  1881. {
  1882. "type": "string",
  1883. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1884. "name": "applystatus",
  1885. "in": "query"
  1886. }
  1887. ],
  1888. "responses": {
  1889. "200": {
  1890. "description": "OK",
  1891. "schema": {
  1892. "type": "array",
  1893. "items": {
  1894. "$ref": "#/definitions/ermcp.QryAreaStockApplyRsp"
  1895. }
  1896. }
  1897. },
  1898. "500": {
  1899. "description": "Internal Server Error",
  1900. "schema": {
  1901. "$ref": "#/definitions/app.Response"
  1902. }
  1903. }
  1904. }
  1905. }
  1906. },
  1907. "/Ermcp/QueryAreaStockApplySum": {
  1908. "get": {
  1909. "security": [
  1910. {
  1911. "ApiKeyAuth": []
  1912. }
  1913. ],
  1914. "produces": [
  1915. "application/json"
  1916. ],
  1917. "tags": [
  1918. "企业风险管理(app)"
  1919. ],
  1920. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  1921. "parameters": [
  1922. {
  1923. "type": "integer",
  1924. "description": "合同ID",
  1925. "name": "spotcontractid",
  1926. "in": "query"
  1927. }
  1928. ],
  1929. "responses": {
  1930. "200": {
  1931. "description": "OK",
  1932. "schema": {
  1933. "type": "array",
  1934. "items": {
  1935. "$ref": "#/definitions/ermcp.QueryAreaStockApplySumRsp"
  1936. }
  1937. }
  1938. },
  1939. "500": {
  1940. "description": "Internal Server Error",
  1941. "schema": {
  1942. "$ref": "#/definitions/app.Response"
  1943. }
  1944. }
  1945. }
  1946. }
  1947. },
  1948. "/Ermcp/QueryAreaStockReport": {
  1949. "get": {
  1950. "security": [
  1951. {
  1952. "ApiKeyAuth": []
  1953. }
  1954. ],
  1955. "produces": [
  1956. "application/json"
  1957. ],
  1958. "tags": [
  1959. "企业风险管理(app)"
  1960. ],
  1961. "summary": "查询库存报表",
  1962. "parameters": [
  1963. {
  1964. "type": "integer",
  1965. "description": "用户ID",
  1966. "name": "userid",
  1967. "in": "query",
  1968. "required": true
  1969. },
  1970. {
  1971. "type": "integer",
  1972. "description": "查询类型 1-日报表 2-月报表",
  1973. "name": "querytype",
  1974. "in": "query",
  1975. "required": true
  1976. },
  1977. {
  1978. "type": "string",
  1979. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  1980. "name": "querydate",
  1981. "in": "query",
  1982. "required": true
  1983. },
  1984. {
  1985. "type": "integer",
  1986. "description": "现货商品ID",
  1987. "name": "wrstandardid",
  1988. "in": "query"
  1989. },
  1990. {
  1991. "type": "integer",
  1992. "description": "品牌ID",
  1993. "name": "spotgoodsbrandid",
  1994. "in": "query"
  1995. },
  1996. {
  1997. "type": "integer",
  1998. "description": "型号ID",
  1999. "name": "spotgoodsmodelid",
  2000. "in": "query"
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "仓库ID",
  2005. "name": "warehouseinfoid",
  2006. "in": "query"
  2007. }
  2008. ],
  2009. "responses": {
  2010. "200": {
  2011. "description": "OK",
  2012. "schema": {
  2013. "type": "array",
  2014. "items": {
  2015. "$ref": "#/definitions/models.ErmcpAreaStockReport"
  2016. }
  2017. }
  2018. },
  2019. "500": {
  2020. "description": "Internal Server Error",
  2021. "schema": {
  2022. "$ref": "#/definitions/app.Response"
  2023. }
  2024. }
  2025. }
  2026. }
  2027. },
  2028. "/Ermcp/QueryAreaStockReportDetail": {
  2029. "get": {
  2030. "security": [
  2031. {
  2032. "ApiKeyAuth": []
  2033. }
  2034. ],
  2035. "produces": [
  2036. "application/json"
  2037. ],
  2038. "tags": [
  2039. "企业风险管理(app)"
  2040. ],
  2041. "summary": "查询库存报表明细",
  2042. "parameters": [
  2043. {
  2044. "type": "integer",
  2045. "description": "用户ID",
  2046. "name": "userid",
  2047. "in": "query",
  2048. "required": true
  2049. },
  2050. {
  2051. "type": "integer",
  2052. "description": "查询类型 1-日报表明细 2-月报表明细",
  2053. "name": "querytype",
  2054. "in": "query",
  2055. "required": true
  2056. },
  2057. {
  2058. "type": "integer",
  2059. "description": "明细类型 1:入库明细(采购入库+生产入库) 2:出库明细(销售出库+生产出库)",
  2060. "name": "detailtype",
  2061. "in": "query",
  2062. "required": true
  2063. },
  2064. {
  2065. "type": "string",
  2066. "description": "查询日期(格式 日报表YYYYMMDD, 月报表YYYYMM)",
  2067. "name": "querydate",
  2068. "in": "query",
  2069. "required": true
  2070. },
  2071. {
  2072. "type": "integer",
  2073. "description": "现货商品ID",
  2074. "name": "wrstandardid",
  2075. "in": "query"
  2076. },
  2077. {
  2078. "type": "integer",
  2079. "description": "品牌ID",
  2080. "name": "spotgoodsbrandid",
  2081. "in": "query"
  2082. },
  2083. {
  2084. "type": "integer",
  2085. "description": "型号ID",
  2086. "name": "spotgoodsmodelid",
  2087. "in": "query"
  2088. },
  2089. {
  2090. "type": "integer",
  2091. "description": "仓库ID",
  2092. "name": "warehouseinfoid",
  2093. "in": "query"
  2094. }
  2095. ],
  2096. "responses": {
  2097. "200": {
  2098. "description": "OK",
  2099. "schema": {
  2100. "type": "array",
  2101. "items": {
  2102. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  2103. }
  2104. }
  2105. },
  2106. "500": {
  2107. "description": "Internal Server Error",
  2108. "schema": {
  2109. "$ref": "#/definitions/app.Response"
  2110. }
  2111. }
  2112. }
  2113. }
  2114. },
  2115. "/Ermcp/QueryAvaildGoodsGroup": {
  2116. "get": {
  2117. "security": [
  2118. {
  2119. "ApiKeyAuth": []
  2120. }
  2121. ],
  2122. "produces": [
  2123. "application/json"
  2124. ],
  2125. "tags": [
  2126. "企业风险管理(app)"
  2127. ],
  2128. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  2129. "parameters": [
  2130. {
  2131. "type": "integer",
  2132. "description": "所属机构ID",
  2133. "name": "userid",
  2134. "in": "query",
  2135. "required": true
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "type": "array",
  2143. "items": {
  2144. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  2145. }
  2146. }
  2147. },
  2148. "500": {
  2149. "description": "Internal Server Error",
  2150. "schema": {
  2151. "$ref": "#/definitions/app.Response"
  2152. }
  2153. }
  2154. }
  2155. }
  2156. },
  2157. "/Ermcp/QueryBusinessDj": {
  2158. "get": {
  2159. "security": [
  2160. {
  2161. "ApiKeyAuth": []
  2162. }
  2163. ],
  2164. "produces": [
  2165. "application/json"
  2166. ],
  2167. "tags": [
  2168. "企业风险管理(app)"
  2169. ],
  2170. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  2171. "parameters": [
  2172. {
  2173. "type": "integer",
  2174. "description": "用户ID",
  2175. "name": "UserId",
  2176. "in": "query",
  2177. "required": true
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "现货合同ID, 不填则查所有",
  2182. "name": "relatedid",
  2183. "in": "query"
  2184. },
  2185. {
  2186. "type": "string",
  2187. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2188. "name": "applystatus",
  2189. "in": "query"
  2190. }
  2191. ],
  2192. "responses": {
  2193. "200": {
  2194. "description": "OK",
  2195. "schema": {
  2196. "type": "array",
  2197. "items": {
  2198. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  2199. }
  2200. }
  2201. },
  2202. "500": {
  2203. "description": "Internal Server Error",
  2204. "schema": {
  2205. "$ref": "#/definitions/app.Response"
  2206. }
  2207. }
  2208. }
  2209. }
  2210. },
  2211. "/Ermcp/QueryBusinessFp": {
  2212. "get": {
  2213. "security": [
  2214. {
  2215. "ApiKeyAuth": []
  2216. }
  2217. ],
  2218. "produces": [
  2219. "application/json"
  2220. ],
  2221. "tags": [
  2222. "企业风险管理(app)"
  2223. ],
  2224. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  2225. "parameters": [
  2226. {
  2227. "type": "integer",
  2228. "description": "用户ID",
  2229. "name": "UserId",
  2230. "in": "query",
  2231. "required": true
  2232. },
  2233. {
  2234. "type": "string",
  2235. "description": "现货合同ID, 不填则查所有",
  2236. "name": "relatedid",
  2237. "in": "query"
  2238. },
  2239. {
  2240. "type": "string",
  2241. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2242. "name": "applystatus",
  2243. "in": "query"
  2244. }
  2245. ],
  2246. "responses": {
  2247. "200": {
  2248. "description": "OK",
  2249. "schema": {
  2250. "type": "array",
  2251. "items": {
  2252. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  2253. }
  2254. }
  2255. },
  2256. "500": {
  2257. "description": "Internal Server Error",
  2258. "schema": {
  2259. "$ref": "#/definitions/app.Response"
  2260. }
  2261. }
  2262. }
  2263. }
  2264. },
  2265. "/Ermcp/QueryBusinessJs": {
  2266. "get": {
  2267. "security": [
  2268. {
  2269. "ApiKeyAuth": []
  2270. }
  2271. ],
  2272. "produces": [
  2273. "application/json"
  2274. ],
  2275. "tags": [
  2276. "企业风险管理(app)"
  2277. ],
  2278. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  2279. "parameters": [
  2280. {
  2281. "type": "integer",
  2282. "description": "用户ID",
  2283. "name": "UserId",
  2284. "in": "query",
  2285. "required": true
  2286. },
  2287. {
  2288. "type": "string",
  2289. "description": "现货合同ID, 不填则查所有",
  2290. "name": "relatedid",
  2291. "in": "query"
  2292. },
  2293. {
  2294. "type": "string",
  2295. "description": "操作申请id",
  2296. "name": "operateapplyid",
  2297. "in": "query"
  2298. },
  2299. {
  2300. "type": "string",
  2301. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2302. "name": "applystatus",
  2303. "in": "query"
  2304. }
  2305. ],
  2306. "responses": {
  2307. "200": {
  2308. "description": "OK",
  2309. "schema": {
  2310. "type": "array",
  2311. "items": {
  2312. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  2313. }
  2314. }
  2315. },
  2316. "500": {
  2317. "description": "Internal Server Error",
  2318. "schema": {
  2319. "$ref": "#/definitions/app.Response"
  2320. }
  2321. }
  2322. }
  2323. }
  2324. },
  2325. "/Ermcp/QueryBusinessJsEx": {
  2326. "get": {
  2327. "security": [
  2328. {
  2329. "ApiKeyAuth": []
  2330. }
  2331. ],
  2332. "produces": [
  2333. "application/json"
  2334. ],
  2335. "tags": [
  2336. "企业风险管理(app)"
  2337. ],
  2338. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  2339. "parameters": [
  2340. {
  2341. "type": "integer",
  2342. "description": "用户ID",
  2343. "name": "UserId",
  2344. "in": "query",
  2345. "required": true
  2346. },
  2347. {
  2348. "type": "string",
  2349. "description": "现货合同ID, 不填则查所有",
  2350. "name": "relatedid",
  2351. "in": "query"
  2352. },
  2353. {
  2354. "type": "string",
  2355. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2356. "name": "applystatus",
  2357. "in": "query"
  2358. }
  2359. ],
  2360. "responses": {
  2361. "200": {
  2362. "description": "OK",
  2363. "schema": {
  2364. "type": "array",
  2365. "items": {
  2366. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  2367. }
  2368. }
  2369. },
  2370. "500": {
  2371. "description": "Internal Server Error",
  2372. "schema": {
  2373. "$ref": "#/definitions/app.Response"
  2374. }
  2375. }
  2376. }
  2377. }
  2378. },
  2379. "/Ermcp/QueryBusinessKx": {
  2380. "get": {
  2381. "security": [
  2382. {
  2383. "ApiKeyAuth": []
  2384. }
  2385. ],
  2386. "produces": [
  2387. "application/json"
  2388. ],
  2389. "tags": [
  2390. "企业风险管理(app)"
  2391. ],
  2392. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2393. "parameters": [
  2394. {
  2395. "type": "integer",
  2396. "description": "用户ID",
  2397. "name": "UserId",
  2398. "in": "query",
  2399. "required": true
  2400. },
  2401. {
  2402. "type": "string",
  2403. "description": "现货合同ID, 不填则查所有",
  2404. "name": "relatedid",
  2405. "in": "query"
  2406. },
  2407. {
  2408. "type": "string",
  2409. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2410. "name": "applystatus",
  2411. "in": "query"
  2412. }
  2413. ],
  2414. "responses": {
  2415. "200": {
  2416. "description": "OK",
  2417. "schema": {
  2418. "type": "array",
  2419. "items": {
  2420. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2421. }
  2422. }
  2423. },
  2424. "500": {
  2425. "description": "Internal Server Error",
  2426. "schema": {
  2427. "$ref": "#/definitions/app.Response"
  2428. }
  2429. }
  2430. }
  2431. }
  2432. },
  2433. "/Ermcp/QueryChangeLog": {
  2434. "get": {
  2435. "security": [
  2436. {
  2437. "ApiKeyAuth": []
  2438. }
  2439. ],
  2440. "produces": [
  2441. "application/json"
  2442. ],
  2443. "tags": [
  2444. "企业风险管理(app)"
  2445. ],
  2446. "summary": "查询变更记录",
  2447. "parameters": [
  2448. {
  2449. "type": "string",
  2450. "description": "合同ID",
  2451. "name": "RelatedId",
  2452. "in": "query",
  2453. "required": true
  2454. }
  2455. ],
  2456. "responses": {
  2457. "200": {
  2458. "description": "OK",
  2459. "schema": {
  2460. "type": "array",
  2461. "items": {
  2462. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2463. }
  2464. }
  2465. },
  2466. "500": {
  2467. "description": "Internal Server Error",
  2468. "schema": {
  2469. "$ref": "#/definitions/app.Response"
  2470. }
  2471. }
  2472. }
  2473. }
  2474. },
  2475. "/Ermcp/QueryContract": {
  2476. "get": {
  2477. "security": [
  2478. {
  2479. "ApiKeyAuth": []
  2480. }
  2481. ],
  2482. "produces": [
  2483. "application/json"
  2484. ],
  2485. "tags": [
  2486. "企业风险管理(app)"
  2487. ],
  2488. "summary": "查询合同(采购和销售)",
  2489. "parameters": [
  2490. {
  2491. "type": "integer",
  2492. "description": "用户ID",
  2493. "name": "userId",
  2494. "in": "query",
  2495. "required": true
  2496. },
  2497. {
  2498. "type": "integer",
  2499. "description": "合同类型 1-采购, -1-销售",
  2500. "name": "contracttype",
  2501. "in": "query",
  2502. "required": true
  2503. },
  2504. {
  2505. "type": "integer",
  2506. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  2507. "name": "querytype",
  2508. "in": "query",
  2509. "required": true
  2510. },
  2511. {
  2512. "type": "string",
  2513. "description": "合同ID(SpotContractId)",
  2514. "name": "contractid",
  2515. "in": "query"
  2516. }
  2517. ],
  2518. "responses": {
  2519. "200": {
  2520. "description": "OK",
  2521. "schema": {
  2522. "type": "array",
  2523. "items": {
  2524. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  2525. }
  2526. }
  2527. },
  2528. "500": {
  2529. "description": "Internal Server Error",
  2530. "schema": {
  2531. "$ref": "#/definitions/app.Response"
  2532. }
  2533. }
  2534. }
  2535. }
  2536. },
  2537. "/Ermcp/QueryErmcpHisOrderDetails": {
  2538. "get": {
  2539. "security": [
  2540. {
  2541. "ApiKeyAuth": []
  2542. }
  2543. ],
  2544. "produces": [
  2545. "application/json"
  2546. ],
  2547. "tags": [
  2548. "企业风险管理(app)"
  2549. ],
  2550. "summary": "获取企业风管期货历史委托单信息",
  2551. "parameters": [
  2552. {
  2553. "type": "integer",
  2554. "description": "资金账户ID",
  2555. "name": "accountID",
  2556. "in": "query",
  2557. "required": true
  2558. },
  2559. {
  2560. "type": "string",
  2561. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2562. "name": "startDate",
  2563. "in": "query"
  2564. },
  2565. {
  2566. "type": "string",
  2567. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2568. "name": "endDate",
  2569. "in": "query"
  2570. }
  2571. ],
  2572. "responses": {
  2573. "200": {
  2574. "description": "OK",
  2575. "schema": {
  2576. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2577. }
  2578. },
  2579. "500": {
  2580. "description": "Internal Server Error",
  2581. "schema": {
  2582. "$ref": "#/definitions/app.Response"
  2583. }
  2584. }
  2585. }
  2586. }
  2587. },
  2588. "/Ermcp/QueryErmcpHisTradeDetails": {
  2589. "get": {
  2590. "security": [
  2591. {
  2592. "ApiKeyAuth": []
  2593. }
  2594. ],
  2595. "produces": [
  2596. "application/json"
  2597. ],
  2598. "tags": [
  2599. "企业风险管理(app)"
  2600. ],
  2601. "summary": "获取企业风管期货历史成交单信息",
  2602. "parameters": [
  2603. {
  2604. "type": "integer",
  2605. "description": "资金账户ID",
  2606. "name": "accountID",
  2607. "in": "query",
  2608. "required": true
  2609. },
  2610. {
  2611. "type": "integer",
  2612. "description": "商品ID",
  2613. "name": "goodsID",
  2614. "in": "query"
  2615. },
  2616. {
  2617. "type": "integer",
  2618. "description": "买卖方向,0:买 1:卖",
  2619. "name": "buyOrSell",
  2620. "in": "query"
  2621. },
  2622. {
  2623. "type": "integer",
  2624. "description": "关联委托单号",
  2625. "name": "orderID",
  2626. "in": "query"
  2627. },
  2628. {
  2629. "type": "string",
  2630. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2631. "name": "startDate",
  2632. "in": "query"
  2633. },
  2634. {
  2635. "type": "string",
  2636. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2637. "name": "endDate",
  2638. "in": "query"
  2639. }
  2640. ],
  2641. "responses": {
  2642. "200": {
  2643. "description": "OK",
  2644. "schema": {
  2645. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2646. }
  2647. },
  2648. "500": {
  2649. "description": "Internal Server Error",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. }
  2654. }
  2655. }
  2656. },
  2657. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2658. "get": {
  2659. "security": [
  2660. {
  2661. "ApiKeyAuth": []
  2662. }
  2663. ],
  2664. "produces": [
  2665. "application/json"
  2666. ],
  2667. "tags": [
  2668. "企业风险管理(app)"
  2669. ],
  2670. "summary": "获取企业风管期货内部持仓单信息",
  2671. "parameters": [
  2672. {
  2673. "type": "integer",
  2674. "description": "资金账户ID",
  2675. "name": "accountID",
  2676. "in": "query",
  2677. "required": true
  2678. },
  2679. {
  2680. "type": "integer",
  2681. "description": "商品ID",
  2682. "name": "goodsID",
  2683. "in": "query"
  2684. },
  2685. {
  2686. "type": "integer",
  2687. "description": "买卖方向,0:买 1:卖",
  2688. "name": "buyOrSell",
  2689. "in": "query"
  2690. }
  2691. ],
  2692. "responses": {
  2693. "200": {
  2694. "description": "OK",
  2695. "schema": {
  2696. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2697. }
  2698. },
  2699. "500": {
  2700. "description": "Internal Server Error",
  2701. "schema": {
  2702. "$ref": "#/definitions/app.Response"
  2703. }
  2704. }
  2705. }
  2706. }
  2707. },
  2708. "/Ermcp/QueryErmcpOrderDetails": {
  2709. "get": {
  2710. "security": [
  2711. {
  2712. "ApiKeyAuth": []
  2713. }
  2714. ],
  2715. "produces": [
  2716. "application/json"
  2717. ],
  2718. "tags": [
  2719. "企业风险管理(app)"
  2720. ],
  2721. "summary": "获取企业风管期货委托单信息",
  2722. "parameters": [
  2723. {
  2724. "type": "integer",
  2725. "description": "资金账户ID",
  2726. "name": "accountID",
  2727. "in": "query",
  2728. "required": true
  2729. }
  2730. ],
  2731. "responses": {
  2732. "200": {
  2733. "description": "OK",
  2734. "schema": {
  2735. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2736. }
  2737. },
  2738. "500": {
  2739. "description": "Internal Server Error",
  2740. "schema": {
  2741. "$ref": "#/definitions/app.Response"
  2742. }
  2743. }
  2744. }
  2745. }
  2746. },
  2747. "/Ermcp/QueryErmcpTradeDetails": {
  2748. "get": {
  2749. "security": [
  2750. {
  2751. "ApiKeyAuth": []
  2752. }
  2753. ],
  2754. "produces": [
  2755. "application/json"
  2756. ],
  2757. "tags": [
  2758. "企业风险管理(app)"
  2759. ],
  2760. "summary": "获取企业风管期货成交单信息",
  2761. "parameters": [
  2762. {
  2763. "type": "integer",
  2764. "description": "资金账户ID",
  2765. "name": "accountID",
  2766. "in": "query",
  2767. "required": true
  2768. },
  2769. {
  2770. "type": "integer",
  2771. "description": "商品ID",
  2772. "name": "goodsID",
  2773. "in": "query"
  2774. },
  2775. {
  2776. "type": "integer",
  2777. "description": "买卖方向,0:买 1:卖",
  2778. "name": "buyOrSell",
  2779. "in": "query"
  2780. },
  2781. {
  2782. "type": "integer",
  2783. "description": "关联委托单号",
  2784. "name": "orderID",
  2785. "in": "query"
  2786. }
  2787. ],
  2788. "responses": {
  2789. "200": {
  2790. "description": "OK",
  2791. "schema": {
  2792. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2793. }
  2794. },
  2795. "500": {
  2796. "description": "Internal Server Error",
  2797. "schema": {
  2798. "$ref": "#/definitions/app.Response"
  2799. }
  2800. }
  2801. }
  2802. }
  2803. },
  2804. "/Ermcp/QueryErmcpTradePosition": {
  2805. "get": {
  2806. "security": [
  2807. {
  2808. "ApiKeyAuth": []
  2809. }
  2810. ],
  2811. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2812. "produces": [
  2813. "application/json"
  2814. ],
  2815. "tags": [
  2816. "企业风险管理(app)"
  2817. ],
  2818. "summary": "获取企业风管期货持仓头寸信息",
  2819. "parameters": [
  2820. {
  2821. "type": "integer",
  2822. "description": "资金账户ID",
  2823. "name": "accountID",
  2824. "in": "query",
  2825. "required": true
  2826. },
  2827. {
  2828. "type": "integer",
  2829. "description": "所属市场ID",
  2830. "name": "marketID",
  2831. "in": "query"
  2832. }
  2833. ],
  2834. "responses": {
  2835. "200": {
  2836. "description": "OK",
  2837. "schema": {
  2838. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2839. }
  2840. },
  2841. "500": {
  2842. "description": "Internal Server Error",
  2843. "schema": {
  2844. "$ref": "#/definitions/app.Response"
  2845. }
  2846. }
  2847. }
  2848. }
  2849. },
  2850. "/Ermcp/QueryExposureDetail": {
  2851. "get": {
  2852. "security": [
  2853. {
  2854. "ApiKeyAuth": []
  2855. }
  2856. ],
  2857. "produces": [
  2858. "application/json"
  2859. ],
  2860. "tags": [
  2861. "企业风险管理(app)"
  2862. ],
  2863. "summary": "查询敞口现货明细",
  2864. "parameters": [
  2865. {
  2866. "type": "integer",
  2867. "description": "所属机构ID",
  2868. "name": "areaUserId",
  2869. "in": "query",
  2870. "required": true
  2871. },
  2872. {
  2873. "type": "integer",
  2874. "description": "套保商品",
  2875. "name": "middleGoodsId",
  2876. "in": "query",
  2877. "required": true
  2878. }
  2879. ],
  2880. "responses": {
  2881. "200": {
  2882. "description": "OK",
  2883. "schema": {
  2884. "type": "array",
  2885. "items": {
  2886. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2887. }
  2888. }
  2889. },
  2890. "500": {
  2891. "description": "Internal Server Error",
  2892. "schema": {
  2893. "$ref": "#/definitions/app.Response"
  2894. }
  2895. }
  2896. }
  2897. }
  2898. },
  2899. "/Ermcp/QueryExposureHedgePosition": {
  2900. "get": {
  2901. "security": [
  2902. {
  2903. "ApiKeyAuth": []
  2904. }
  2905. ],
  2906. "produces": [
  2907. "application/json"
  2908. ],
  2909. "tags": [
  2910. "企业风险管理(app)"
  2911. ],
  2912. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2913. "parameters": [
  2914. {
  2915. "type": "integer",
  2916. "description": "所属机构ID",
  2917. "name": "areaUserId",
  2918. "in": "query",
  2919. "required": true
  2920. }
  2921. ],
  2922. "responses": {
  2923. "200": {
  2924. "description": "OK",
  2925. "schema": {
  2926. "type": "array",
  2927. "items": {
  2928. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2929. }
  2930. }
  2931. },
  2932. "500": {
  2933. "description": "Internal Server Error",
  2934. "schema": {
  2935. "$ref": "#/definitions/app.Response"
  2936. }
  2937. }
  2938. }
  2939. }
  2940. },
  2941. "/Ermcp/QueryExposureHedgePositionDetail": {
  2942. "get": {
  2943. "security": [
  2944. {
  2945. "ApiKeyAuth": []
  2946. }
  2947. ],
  2948. "produces": [
  2949. "application/json"
  2950. ],
  2951. "tags": [
  2952. "企业风险管理(app)"
  2953. ],
  2954. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2955. "parameters": [
  2956. {
  2957. "type": "integer",
  2958. "description": "所属机构ID",
  2959. "name": "areaUserId",
  2960. "in": "query",
  2961. "required": true
  2962. },
  2963. {
  2964. "type": "integer",
  2965. "description": "商品id",
  2966. "name": "goodsId",
  2967. "in": "query",
  2968. "required": true
  2969. }
  2970. ],
  2971. "responses": {
  2972. "200": {
  2973. "description": "OK",
  2974. "schema": {
  2975. "type": "array",
  2976. "items": {
  2977. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2978. }
  2979. }
  2980. },
  2981. "500": {
  2982. "description": "Internal Server Error",
  2983. "schema": {
  2984. "$ref": "#/definitions/app.Response"
  2985. }
  2986. }
  2987. }
  2988. }
  2989. },
  2990. "/Ermcp/QueryExposureSpot": {
  2991. "get": {
  2992. "security": [
  2993. {
  2994. "ApiKeyAuth": []
  2995. }
  2996. ],
  2997. "produces": [
  2998. "application/json"
  2999. ],
  3000. "tags": [
  3001. "企业风险管理(app)"
  3002. ],
  3003. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  3004. "parameters": [
  3005. {
  3006. "type": "integer",
  3007. "description": "所属机构ID",
  3008. "name": "areaUserId",
  3009. "in": "query",
  3010. "required": true
  3011. }
  3012. ],
  3013. "responses": {
  3014. "200": {
  3015. "description": "OK",
  3016. "schema": {
  3017. "type": "array",
  3018. "items": {
  3019. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  3020. }
  3021. }
  3022. },
  3023. "500": {
  3024. "description": "Internal Server Error",
  3025. "schema": {
  3026. "$ref": "#/definitions/app.Response"
  3027. }
  3028. }
  3029. }
  3030. }
  3031. },
  3032. "/Ermcp/QueryExposureSpotDetail": {
  3033. "get": {
  3034. "security": [
  3035. {
  3036. "ApiKeyAuth": []
  3037. }
  3038. ],
  3039. "produces": [
  3040. "application/json"
  3041. ],
  3042. "tags": [
  3043. "企业风险管理(app)"
  3044. ],
  3045. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  3046. "parameters": [
  3047. {
  3048. "type": "integer",
  3049. "description": "所属机构ID",
  3050. "name": "areaUserId",
  3051. "in": "query",
  3052. "required": true
  3053. },
  3054. {
  3055. "type": "integer",
  3056. "description": "现货品种ID",
  3057. "name": "wrstandardId",
  3058. "in": "query",
  3059. "required": true
  3060. }
  3061. ],
  3062. "responses": {
  3063. "200": {
  3064. "description": "OK",
  3065. "schema": {
  3066. "type": "array",
  3067. "items": {
  3068. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  3069. }
  3070. }
  3071. },
  3072. "500": {
  3073. "description": "Internal Server Error",
  3074. "schema": {
  3075. "$ref": "#/definitions/app.Response"
  3076. }
  3077. }
  3078. }
  3079. }
  3080. },
  3081. "/Ermcp/QueryFuturesCompany": {
  3082. "get": {
  3083. "security": [
  3084. {
  3085. "ApiKeyAuth": []
  3086. }
  3087. ],
  3088. "produces": [
  3089. "application/json"
  3090. ],
  3091. "tags": [
  3092. "企业风险管理(app)"
  3093. ],
  3094. "summary": "查询期货公司",
  3095. "responses": {
  3096. "200": {
  3097. "description": "OK",
  3098. "schema": {
  3099. "type": "array",
  3100. "items": {
  3101. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  3102. }
  3103. }
  3104. },
  3105. "500": {
  3106. "description": "Internal Server Error",
  3107. "schema": {
  3108. "$ref": "#/definitions/app.Response"
  3109. }
  3110. }
  3111. }
  3112. }
  3113. },
  3114. "/Ermcp/QueryGGConvertConfig": {
  3115. "get": {
  3116. "security": [
  3117. {
  3118. "ApiKeyAuth": []
  3119. }
  3120. ],
  3121. "produces": [
  3122. "application/json"
  3123. ],
  3124. "tags": [
  3125. "企业风险管理(app)"
  3126. ],
  3127. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  3128. "parameters": [
  3129. {
  3130. "type": "integer",
  3131. "description": "品种id(不填则查所有)",
  3132. "name": "goodsgroupid",
  3133. "in": "query"
  3134. }
  3135. ],
  3136. "responses": {
  3137. "200": {
  3138. "description": "OK",
  3139. "schema": {
  3140. "type": "array",
  3141. "items": {
  3142. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  3143. }
  3144. }
  3145. },
  3146. "500": {
  3147. "description": "Internal Server Error",
  3148. "schema": {
  3149. "$ref": "#/definitions/app.Response"
  3150. }
  3151. }
  3152. }
  3153. }
  3154. },
  3155. "/Ermcp/QueryGoodsBrand": {
  3156. "get": {
  3157. "security": [
  3158. {
  3159. "ApiKeyAuth": []
  3160. }
  3161. ],
  3162. "produces": [
  3163. "application/json"
  3164. ],
  3165. "tags": [
  3166. "企业风险管理(app)"
  3167. ],
  3168. "summary": "查询商品品牌",
  3169. "parameters": [
  3170. {
  3171. "type": "integer",
  3172. "description": "用户ID",
  3173. "name": "userid",
  3174. "in": "query",
  3175. "required": true
  3176. },
  3177. {
  3178. "type": "integer",
  3179. "description": "现货商品ID",
  3180. "name": "wrstandardid",
  3181. "in": "query"
  3182. }
  3183. ],
  3184. "responses": {
  3185. "200": {
  3186. "description": "OK",
  3187. "schema": {
  3188. "type": "array",
  3189. "items": {
  3190. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  3191. }
  3192. }
  3193. },
  3194. "500": {
  3195. "description": "Internal Server Error",
  3196. "schema": {
  3197. "$ref": "#/definitions/app.Response"
  3198. }
  3199. }
  3200. }
  3201. }
  3202. },
  3203. "/Ermcp/QueryGoodsModel": {
  3204. "get": {
  3205. "security": [
  3206. {
  3207. "ApiKeyAuth": []
  3208. }
  3209. ],
  3210. "produces": [
  3211. "application/json"
  3212. ],
  3213. "tags": [
  3214. "企业风险管理(app)"
  3215. ],
  3216. "summary": "查询商品型号",
  3217. "parameters": [
  3218. {
  3219. "type": "integer",
  3220. "description": "用户ID",
  3221. "name": "userid",
  3222. "in": "query",
  3223. "required": true
  3224. }
  3225. ],
  3226. "responses": {
  3227. "200": {
  3228. "description": "OK",
  3229. "schema": {
  3230. "type": "array",
  3231. "items": {
  3232. "$ref": "#/definitions/models.ErmcpGoodsModel"
  3233. }
  3234. }
  3235. },
  3236. "500": {
  3237. "description": "Internal Server Error",
  3238. "schema": {
  3239. "$ref": "#/definitions/app.Response"
  3240. }
  3241. }
  3242. }
  3243. }
  3244. },
  3245. "/Ermcp/QueryHedgePlan": {
  3246. "get": {
  3247. "security": [
  3248. {
  3249. "ApiKeyAuth": []
  3250. }
  3251. ],
  3252. "produces": [
  3253. "application/json"
  3254. ],
  3255. "tags": [
  3256. "企业风险管理(app)"
  3257. ],
  3258. "summary": "查询套保计划",
  3259. "parameters": [
  3260. {
  3261. "type": "integer",
  3262. "description": "用户ID",
  3263. "name": "userId",
  3264. "in": "query",
  3265. "required": true
  3266. },
  3267. {
  3268. "type": "string",
  3269. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  3270. "name": "HedgePlanStatus",
  3271. "in": "query",
  3272. "required": true
  3273. }
  3274. ],
  3275. "responses": {
  3276. "200": {
  3277. "description": "OK",
  3278. "schema": {
  3279. "type": "array",
  3280. "items": {
  3281. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  3282. }
  3283. }
  3284. },
  3285. "500": {
  3286. "description": "Internal Server Error",
  3287. "schema": {
  3288. "$ref": "#/definitions/app.Response"
  3289. }
  3290. }
  3291. }
  3292. }
  3293. },
  3294. "/Ermcp/QueryHisExposure": {
  3295. "get": {
  3296. "security": [
  3297. {
  3298. "ApiKeyAuth": []
  3299. }
  3300. ],
  3301. "produces": [
  3302. "application/json"
  3303. ],
  3304. "tags": [
  3305. "企业风险管理(app)"
  3306. ],
  3307. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  3308. "parameters": [
  3309. {
  3310. "type": "integer",
  3311. "description": "所属机构ID",
  3312. "name": "areaUserId",
  3313. "in": "query",
  3314. "required": true
  3315. },
  3316. {
  3317. "type": "integer",
  3318. "description": "每个品种记录数",
  3319. "name": "lastNum",
  3320. "in": "query",
  3321. "required": true
  3322. }
  3323. ],
  3324. "responses": {
  3325. "200": {
  3326. "description": "OK",
  3327. "schema": {
  3328. "type": "array",
  3329. "items": {
  3330. "$ref": "#/definitions/ermcp.HisExposureRsp"
  3331. }
  3332. }
  3333. },
  3334. "500": {
  3335. "description": "Internal Server Error",
  3336. "schema": {
  3337. "$ref": "#/definitions/app.Response"
  3338. }
  3339. }
  3340. }
  3341. }
  3342. },
  3343. "/Ermcp/QueryMiddleGoods": {
  3344. "get": {
  3345. "security": [
  3346. {
  3347. "ApiKeyAuth": []
  3348. }
  3349. ],
  3350. "produces": [
  3351. "application/json"
  3352. ],
  3353. "tags": [
  3354. "企业风险管理(app)"
  3355. ],
  3356. "summary": "查询套保品种(菜单:套保品种)",
  3357. "parameters": [
  3358. {
  3359. "type": "integer",
  3360. "description": "所属机构ID",
  3361. "name": "userid",
  3362. "in": "query",
  3363. "required": true
  3364. },
  3365. {
  3366. "type": "integer",
  3367. "description": "状态 0-停用 1-正常",
  3368. "name": "status",
  3369. "in": "query",
  3370. "required": true
  3371. }
  3372. ],
  3373. "responses": {
  3374. "200": {
  3375. "description": "OK",
  3376. "schema": {
  3377. "type": "array",
  3378. "items": {
  3379. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  3380. }
  3381. }
  3382. },
  3383. "500": {
  3384. "description": "Internal Server Error",
  3385. "schema": {
  3386. "$ref": "#/definitions/app.Response"
  3387. }
  3388. }
  3389. }
  3390. }
  3391. },
  3392. "/Ermcp/QueryMiddleGoodsChangeLog": {
  3393. "get": {
  3394. "security": [
  3395. {
  3396. "ApiKeyAuth": []
  3397. }
  3398. ],
  3399. "produces": [
  3400. "application/json"
  3401. ],
  3402. "tags": [
  3403. "企业风险管理(app)"
  3404. ],
  3405. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  3406. "parameters": [
  3407. {
  3408. "type": "integer",
  3409. "description": "所属机构ID",
  3410. "name": "userid",
  3411. "in": "query",
  3412. "required": true
  3413. },
  3414. {
  3415. "type": "integer",
  3416. "description": "套保品种id",
  3417. "name": "middlegoodsid",
  3418. "in": "query",
  3419. "required": true
  3420. }
  3421. ],
  3422. "responses": {
  3423. "200": {
  3424. "description": "OK",
  3425. "schema": {
  3426. "type": "array",
  3427. "items": {
  3428. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  3429. }
  3430. }
  3431. },
  3432. "500": {
  3433. "description": "Internal Server Error",
  3434. "schema": {
  3435. "$ref": "#/definitions/app.Response"
  3436. }
  3437. }
  3438. }
  3439. }
  3440. },
  3441. "/Ermcp/QueryMiddleGoodsDetail": {
  3442. "get": {
  3443. "security": [
  3444. {
  3445. "ApiKeyAuth": []
  3446. }
  3447. ],
  3448. "produces": [
  3449. "application/json"
  3450. ],
  3451. "tags": [
  3452. "企业风险管理(app)"
  3453. ],
  3454. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  3455. "parameters": [
  3456. {
  3457. "type": "integer",
  3458. "description": "所属机构ID",
  3459. "name": "userid",
  3460. "in": "query",
  3461. "required": true
  3462. },
  3463. {
  3464. "type": "integer",
  3465. "description": "套保品种id",
  3466. "name": "middlegoodsid",
  3467. "in": "query"
  3468. }
  3469. ],
  3470. "responses": {
  3471. "200": {
  3472. "description": "OK",
  3473. "schema": {
  3474. "type": "array",
  3475. "items": {
  3476. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3477. }
  3478. }
  3479. },
  3480. "500": {
  3481. "description": "Internal Server Error",
  3482. "schema": {
  3483. "$ref": "#/definitions/app.Response"
  3484. }
  3485. }
  3486. }
  3487. }
  3488. },
  3489. "/Ermcp/QueryPendingAuditInfo": {
  3490. "get": {
  3491. "security": [
  3492. {
  3493. "ApiKeyAuth": []
  3494. }
  3495. ],
  3496. "produces": [
  3497. "application/json"
  3498. ],
  3499. "tags": [
  3500. "企业风险管理(app)"
  3501. ],
  3502. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3503. "parameters": [
  3504. {
  3505. "type": "integer",
  3506. "description": "用户ID",
  3507. "name": "UserId",
  3508. "in": "query",
  3509. "required": true
  3510. }
  3511. ],
  3512. "responses": {
  3513. "200": {
  3514. "description": "OK",
  3515. "schema": {
  3516. "type": "array",
  3517. "items": {
  3518. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3519. }
  3520. }
  3521. },
  3522. "500": {
  3523. "description": "Internal Server Error",
  3524. "schema": {
  3525. "$ref": "#/definitions/app.Response"
  3526. }
  3527. }
  3528. }
  3529. }
  3530. },
  3531. "/Ermcp/QueryRealtimeExposure": {
  3532. "get": {
  3533. "security": [
  3534. {
  3535. "ApiKeyAuth": []
  3536. }
  3537. ],
  3538. "produces": [
  3539. "application/json"
  3540. ],
  3541. "tags": [
  3542. "企业风险管理(app)"
  3543. ],
  3544. "summary": "查询实时敞口",
  3545. "parameters": [
  3546. {
  3547. "type": "integer",
  3548. "description": "所属机构ID",
  3549. "name": "AreaUserID",
  3550. "in": "query",
  3551. "required": true
  3552. }
  3553. ],
  3554. "responses": {
  3555. "200": {
  3556. "description": "OK",
  3557. "schema": {
  3558. "type": "array",
  3559. "items": {
  3560. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3561. }
  3562. }
  3563. },
  3564. "500": {
  3565. "description": "Internal Server Error",
  3566. "schema": {
  3567. "$ref": "#/definitions/app.Response"
  3568. }
  3569. }
  3570. }
  3571. }
  3572. },
  3573. "/Ermcp/QueryRealtimeExposurePosition": {
  3574. "get": {
  3575. "security": [
  3576. {
  3577. "ApiKeyAuth": []
  3578. }
  3579. ],
  3580. "produces": [
  3581. "application/json"
  3582. ],
  3583. "tags": [
  3584. "企业风险管理(app)"
  3585. ],
  3586. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3587. "parameters": [
  3588. {
  3589. "type": "integer",
  3590. "description": "所属机构ID",
  3591. "name": "areaUserId",
  3592. "in": "query",
  3593. "required": true
  3594. },
  3595. {
  3596. "type": "integer",
  3597. "description": "套保商品ID",
  3598. "name": "middleGoodsId",
  3599. "in": "query",
  3600. "required": true
  3601. }
  3602. ],
  3603. "responses": {
  3604. "200": {
  3605. "description": "OK",
  3606. "schema": {
  3607. "type": "array",
  3608. "items": {
  3609. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3610. }
  3611. }
  3612. },
  3613. "500": {
  3614. "description": "Internal Server Error",
  3615. "schema": {
  3616. "$ref": "#/definitions/app.Response"
  3617. }
  3618. }
  3619. }
  3620. }
  3621. },
  3622. "/Ermcp/QuerySpotContract": {
  3623. "get": {
  3624. "security": [
  3625. {
  3626. "ApiKeyAuth": []
  3627. }
  3628. ],
  3629. "produces": [
  3630. "application/json"
  3631. ],
  3632. "tags": [
  3633. "企业风险管理(app)"
  3634. ],
  3635. "summary": "查询现货合同(对应现货合同菜单)",
  3636. "parameters": [
  3637. {
  3638. "type": "integer",
  3639. "description": "用户ID",
  3640. "name": "userId",
  3641. "in": "query",
  3642. "required": true
  3643. },
  3644. {
  3645. "type": "integer",
  3646. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  3647. "name": "QueryType",
  3648. "in": "query",
  3649. "required": true
  3650. }
  3651. ],
  3652. "responses": {
  3653. "200": {
  3654. "description": "OK",
  3655. "schema": {
  3656. "type": "array",
  3657. "items": {
  3658. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  3659. }
  3660. }
  3661. },
  3662. "500": {
  3663. "description": "Internal Server Error",
  3664. "schema": {
  3665. "$ref": "#/definitions/app.Response"
  3666. }
  3667. }
  3668. }
  3669. }
  3670. },
  3671. "/Ermcp/QuerySpotGoodsPrice": {
  3672. "get": {
  3673. "security": [
  3674. {
  3675. "ApiKeyAuth": []
  3676. }
  3677. ],
  3678. "produces": [
  3679. "application/json"
  3680. ],
  3681. "tags": [
  3682. "企业风险管理(app)"
  3683. ],
  3684. "summary": "查询现货市价(现货市价)",
  3685. "parameters": [
  3686. {
  3687. "type": "integer",
  3688. "description": "用户ID",
  3689. "name": "userid",
  3690. "in": "query",
  3691. "required": true
  3692. }
  3693. ],
  3694. "responses": {
  3695. "200": {
  3696. "description": "OK",
  3697. "schema": {
  3698. "type": "array",
  3699. "items": {
  3700. "$ref": "#/definitions/models.ErmcpSpotGoodsPrice"
  3701. }
  3702. }
  3703. },
  3704. "500": {
  3705. "description": "Internal Server Error",
  3706. "schema": {
  3707. "$ref": "#/definitions/app.Response"
  3708. }
  3709. }
  3710. }
  3711. }
  3712. },
  3713. "/Ermcp/QuerySpotGoodsPriceLog": {
  3714. "get": {
  3715. "security": [
  3716. {
  3717. "ApiKeyAuth": []
  3718. }
  3719. ],
  3720. "produces": [
  3721. "application/json"
  3722. ],
  3723. "tags": [
  3724. "企业风险管理(app)"
  3725. ],
  3726. "summary": "查询现货市价详情(现货市价/详情)",
  3727. "parameters": [
  3728. {
  3729. "type": "integer",
  3730. "description": "用户ID",
  3731. "name": "userid",
  3732. "in": "query",
  3733. "required": true
  3734. },
  3735. {
  3736. "type": "integer",
  3737. "description": "现货商品ID",
  3738. "name": "wrstandardid",
  3739. "in": "query",
  3740. "required": true
  3741. }
  3742. ],
  3743. "responses": {
  3744. "200": {
  3745. "description": "OK",
  3746. "schema": {
  3747. "type": "array",
  3748. "items": {
  3749. "$ref": "#/definitions/models.ErmcpSpotGoodsPriceLog"
  3750. }
  3751. }
  3752. },
  3753. "500": {
  3754. "description": "Internal Server Error",
  3755. "schema": {
  3756. "$ref": "#/definitions/app.Response"
  3757. }
  3758. }
  3759. }
  3760. }
  3761. },
  3762. "/Ermcp/QueryUserInfo": {
  3763. "get": {
  3764. "security": [
  3765. {
  3766. "ApiKeyAuth": []
  3767. }
  3768. ],
  3769. "produces": [
  3770. "application/json"
  3771. ],
  3772. "tags": [
  3773. "企业风险管理(app)"
  3774. ],
  3775. "summary": "查询客户资料",
  3776. "parameters": [
  3777. {
  3778. "type": "integer",
  3779. "description": "所属机构用户ID",
  3780. "name": "MemberUserID",
  3781. "in": "query",
  3782. "required": true
  3783. },
  3784. {
  3785. "type": "integer",
  3786. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3787. "name": "queryType",
  3788. "in": "query",
  3789. "required": true
  3790. }
  3791. ],
  3792. "responses": {
  3793. "200": {
  3794. "description": "OK",
  3795. "schema": {
  3796. "type": "array",
  3797. "items": {
  3798. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3799. }
  3800. }
  3801. },
  3802. "500": {
  3803. "description": "Internal Server Error",
  3804. "schema": {
  3805. "$ref": "#/definitions/app.Response"
  3806. }
  3807. }
  3808. }
  3809. }
  3810. },
  3811. "/Ermcp/QueryWarehouseInfo": {
  3812. "get": {
  3813. "security": [
  3814. {
  3815. "ApiKeyAuth": []
  3816. }
  3817. ],
  3818. "produces": [
  3819. "application/json"
  3820. ],
  3821. "tags": [
  3822. "企业风险管理(app)"
  3823. ],
  3824. "summary": "查询仓库信息",
  3825. "parameters": [
  3826. {
  3827. "type": "integer",
  3828. "description": "用户ID",
  3829. "name": "userid",
  3830. "in": "query",
  3831. "required": true
  3832. },
  3833. {
  3834. "type": "string",
  3835. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3836. "name": "status",
  3837. "in": "query"
  3838. }
  3839. ],
  3840. "responses": {
  3841. "200": {
  3842. "description": "OK",
  3843. "schema": {
  3844. "type": "array",
  3845. "items": {
  3846. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3847. }
  3848. }
  3849. },
  3850. "500": {
  3851. "description": "Internal Server Error",
  3852. "schema": {
  3853. "$ref": "#/definitions/app.Response"
  3854. }
  3855. }
  3856. }
  3857. }
  3858. },
  3859. "/Ermcp/QueryWrStandard": {
  3860. "get": {
  3861. "security": [
  3862. {
  3863. "ApiKeyAuth": []
  3864. }
  3865. ],
  3866. "produces": [
  3867. "application/json"
  3868. ],
  3869. "tags": [
  3870. "企业风险管理(app)"
  3871. ],
  3872. "summary": "查询现货商品",
  3873. "parameters": [
  3874. {
  3875. "type": "integer",
  3876. "description": "所属机构ID",
  3877. "name": "userid",
  3878. "in": "query",
  3879. "required": true
  3880. },
  3881. {
  3882. "type": "integer",
  3883. "description": "状态 0-停用 1-正常",
  3884. "name": "status",
  3885. "in": "query",
  3886. "required": true
  3887. }
  3888. ],
  3889. "responses": {
  3890. "200": {
  3891. "description": "OK",
  3892. "schema": {
  3893. "type": "array",
  3894. "items": {
  3895. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  3896. }
  3897. }
  3898. },
  3899. "500": {
  3900. "description": "Internal Server Error",
  3901. "schema": {
  3902. "$ref": "#/definitions/app.Response"
  3903. }
  3904. }
  3905. }
  3906. }
  3907. },
  3908. "/Ermcp/QueryWrStandardDetail": {
  3909. "get": {
  3910. "security": [
  3911. {
  3912. "ApiKeyAuth": []
  3913. }
  3914. ],
  3915. "produces": [
  3916. "application/json"
  3917. ],
  3918. "tags": [
  3919. "企业风险管理(app)"
  3920. ],
  3921. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  3922. "parameters": [
  3923. {
  3924. "type": "integer",
  3925. "description": "所属机构ID",
  3926. "name": "userid",
  3927. "in": "query",
  3928. "required": true
  3929. },
  3930. {
  3931. "type": "integer",
  3932. "description": "现货商品ID",
  3933. "name": "wrstandardid",
  3934. "in": "query"
  3935. },
  3936. {
  3937. "type": "integer",
  3938. "description": "可不填, 1-查询关联交易商品",
  3939. "name": "goods",
  3940. "in": "query"
  3941. }
  3942. ],
  3943. "responses": {
  3944. "200": {
  3945. "description": "OK",
  3946. "schema": {
  3947. "type": "array",
  3948. "items": {
  3949. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  3950. }
  3951. }
  3952. },
  3953. "500": {
  3954. "description": "Internal Server Error",
  3955. "schema": {
  3956. "$ref": "#/definitions/app.Response"
  3957. }
  3958. }
  3959. }
  3960. }
  3961. },
  3962. "/Erms2/QueryArbitrageStrategy": {
  3963. "get": {
  3964. "security": [
  3965. {
  3966. "ApiKeyAuth": []
  3967. }
  3968. ],
  3969. "produces": [
  3970. "application/json"
  3971. ],
  3972. "tags": [
  3973. "风险管理"
  3974. ],
  3975. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  3976. "parameters": [
  3977. {
  3978. "type": "integer",
  3979. "description": "账户ID",
  3980. "name": "userid",
  3981. "in": "query",
  3982. "required": true
  3983. },
  3984. {
  3985. "type": "string",
  3986. "description": "商品组ID(品种ID)",
  3987. "name": "goodsgroupid",
  3988. "in": "query"
  3989. }
  3990. ],
  3991. "responses": {
  3992. "200": {
  3993. "description": "OK",
  3994. "schema": {
  3995. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  3996. }
  3997. },
  3998. "500": {
  3999. "description": "Internal Server Error",
  4000. "schema": {
  4001. "$ref": "#/definitions/app.Response"
  4002. }
  4003. }
  4004. }
  4005. }
  4006. },
  4007. "/Erms2/QueryInnerTradeDetail": {
  4008. "get": {
  4009. "security": [
  4010. {
  4011. "ApiKeyAuth": []
  4012. }
  4013. ],
  4014. "produces": [
  4015. "application/json"
  4016. ],
  4017. "tags": [
  4018. "风险管理"
  4019. ],
  4020. "summary": "查询内部成交单信息",
  4021. "parameters": [
  4022. {
  4023. "type": "integer",
  4024. "description": "资金账户",
  4025. "name": "accountid",
  4026. "in": "query",
  4027. "required": true
  4028. }
  4029. ],
  4030. "responses": {
  4031. "200": {
  4032. "description": "OK",
  4033. "schema": {
  4034. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  4035. }
  4036. },
  4037. "500": {
  4038. "description": "Internal Server Error",
  4039. "schema": {
  4040. "$ref": "#/definitions/app.Response"
  4041. }
  4042. }
  4043. }
  4044. }
  4045. },
  4046. "/Erms2/QuerySpotContract": {
  4047. "get": {
  4048. "security": [
  4049. {
  4050. "ApiKeyAuth": []
  4051. }
  4052. ],
  4053. "produces": [
  4054. "application/json"
  4055. ],
  4056. "tags": [
  4057. "风险管理"
  4058. ],
  4059. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  4060. "parameters": [
  4061. {
  4062. "type": "integer",
  4063. "description": "策略申请ID",
  4064. "name": "asapplyid",
  4065. "in": "query",
  4066. "required": true
  4067. },
  4068. {
  4069. "type": "integer",
  4070. "description": "现货合同ID",
  4071. "name": "spotcontractid",
  4072. "in": "query"
  4073. }
  4074. ],
  4075. "responses": {
  4076. "200": {
  4077. "description": "OK",
  4078. "schema": {
  4079. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  4080. }
  4081. },
  4082. "500": {
  4083. "description": "Internal Server Error",
  4084. "schema": {
  4085. "$ref": "#/definitions/app.Response"
  4086. }
  4087. }
  4088. }
  4089. }
  4090. },
  4091. "/Erms3/AddErms2ASApply": {
  4092. "post": {
  4093. "security": [
  4094. {
  4095. "ApiKeyAuth": []
  4096. }
  4097. ],
  4098. "produces": [
  4099. "application/json"
  4100. ],
  4101. "tags": [
  4102. "风险管理v3"
  4103. ],
  4104. "summary": "新增期现套利业务申请",
  4105. "parameters": [
  4106. {
  4107. "description": "申请参数",
  4108. "name": "jsonBody",
  4109. "in": "body",
  4110. "required": true,
  4111. "schema": {
  4112. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  4113. }
  4114. }
  4115. ],
  4116. "responses": {
  4117. "200": {
  4118. "description": "OK",
  4119. "schema": {
  4120. "$ref": "#/definitions/app.Response"
  4121. }
  4122. },
  4123. "500": {
  4124. "description": "Internal Server Error",
  4125. "schema": {
  4126. "$ref": "#/definitions/app.Response"
  4127. }
  4128. }
  4129. }
  4130. }
  4131. },
  4132. "/Erms3/AddErms2SpotTradeApply": {
  4133. "post": {
  4134. "security": [
  4135. {
  4136. "ApiKeyAuth": []
  4137. }
  4138. ],
  4139. "produces": [
  4140. "application/json"
  4141. ],
  4142. "tags": [
  4143. "风险管理v3"
  4144. ],
  4145. "summary": "新增现货贸易业务申请",
  4146. "parameters": [
  4147. {
  4148. "description": "申请参数",
  4149. "name": "jsonBody",
  4150. "in": "body",
  4151. "required": true,
  4152. "schema": {
  4153. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  4154. }
  4155. }
  4156. ],
  4157. "responses": {
  4158. "200": {
  4159. "description": "OK",
  4160. "schema": {
  4161. "$ref": "#/definitions/app.Response"
  4162. }
  4163. },
  4164. "500": {
  4165. "description": "Internal Server Error",
  4166. "schema": {
  4167. "$ref": "#/definitions/app.Response"
  4168. }
  4169. }
  4170. }
  4171. }
  4172. },
  4173. "/Erms3/AddSpotContractApply": {
  4174. "post": {
  4175. "security": [
  4176. {
  4177. "ApiKeyAuth": []
  4178. }
  4179. ],
  4180. "produces": [
  4181. "application/json"
  4182. ],
  4183. "tags": [
  4184. "风险管理v3"
  4185. ],
  4186. "summary": "新增现货合同申请",
  4187. "parameters": [
  4188. {
  4189. "description": "申请参数",
  4190. "name": "jsonBody",
  4191. "in": "body",
  4192. "required": true,
  4193. "schema": {
  4194. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  4195. }
  4196. }
  4197. ],
  4198. "responses": {
  4199. "200": {
  4200. "description": "OK",
  4201. "schema": {
  4202. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  4203. }
  4204. },
  4205. "500": {
  4206. "description": "Internal Server Error",
  4207. "schema": {
  4208. "$ref": "#/definitions/app.Response"
  4209. }
  4210. }
  4211. }
  4212. }
  4213. },
  4214. "/Erms3/AddUserInfoApply": {
  4215. "post": {
  4216. "security": [
  4217. {
  4218. "ApiKeyAuth": []
  4219. }
  4220. ],
  4221. "produces": [
  4222. "application/json"
  4223. ],
  4224. "tags": [
  4225. "风险管理v3"
  4226. ],
  4227. "summary": "新增客户申请",
  4228. "parameters": [
  4229. {
  4230. "description": "用户信息",
  4231. "name": "jsonBody",
  4232. "in": "body",
  4233. "required": true,
  4234. "schema": {
  4235. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  4236. }
  4237. }
  4238. ],
  4239. "responses": {
  4240. "200": {
  4241. "description": "OK",
  4242. "schema": {
  4243. "$ref": "#/definitions/app.Response"
  4244. }
  4245. },
  4246. "500": {
  4247. "description": "Internal Server Error",
  4248. "schema": {
  4249. "$ref": "#/definitions/app.Response"
  4250. }
  4251. }
  4252. }
  4253. }
  4254. },
  4255. "/Erms3/ModifyUserInfoApply": {
  4256. "post": {
  4257. "security": [
  4258. {
  4259. "ApiKeyAuth": []
  4260. }
  4261. ],
  4262. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  4263. "produces": [
  4264. "application/json"
  4265. ],
  4266. "tags": [
  4267. "风险管理v3"
  4268. ],
  4269. "summary": "修改客户申请",
  4270. "parameters": [
  4271. {
  4272. "description": "用户信息",
  4273. "name": "jsonBody",
  4274. "in": "body",
  4275. "required": true,
  4276. "schema": {
  4277. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  4278. }
  4279. }
  4280. ],
  4281. "responses": {
  4282. "200": {
  4283. "description": "OK",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Erms3/QueryBusinessInfo": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "风险管理v3"
  4309. ],
  4310. "summary": "查询业务表单数据",
  4311. "parameters": [
  4312. {
  4313. "type": "string",
  4314. "description": "资金账号ID列表,用逗号分隔",
  4315. "name": "accountids",
  4316. "in": "query",
  4317. "required": true
  4318. },
  4319. {
  4320. "type": "integer",
  4321. "description": "状态,0为未结束 1为已结束",
  4322. "name": "status",
  4323. "in": "query",
  4324. "required": true
  4325. }
  4326. ],
  4327. "responses": {
  4328. "200": {
  4329. "description": "OK",
  4330. "schema": {
  4331. "type": "array",
  4332. "items": {
  4333. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  4334. }
  4335. }
  4336. },
  4337. "500": {
  4338. "description": "Internal Server Error",
  4339. "schema": {
  4340. "$ref": "#/definitions/app.Response"
  4341. }
  4342. }
  4343. }
  4344. }
  4345. },
  4346. "/Erms3/QueryPendingAuditContract": {
  4347. "get": {
  4348. "security": [
  4349. {
  4350. "ApiKeyAuth": []
  4351. }
  4352. ],
  4353. "produces": [
  4354. "application/json"
  4355. ],
  4356. "tags": [
  4357. "风险管理v3"
  4358. ],
  4359. "summary": "查询待审核合同",
  4360. "parameters": [
  4361. {
  4362. "type": "string",
  4363. "description": "资金账号ID列表,逗号隔开",
  4364. "name": "accountids",
  4365. "in": "query",
  4366. "required": true
  4367. },
  4368. {
  4369. "type": "integer",
  4370. "description": "合同类型 1-采购 -1-销售",
  4371. "name": "contracttype",
  4372. "in": "query",
  4373. "required": true
  4374. },
  4375. {
  4376. "type": "integer",
  4377. "description": "合同模式 1-普通 2-回购",
  4378. "name": "contractmode",
  4379. "in": "query",
  4380. "required": true
  4381. }
  4382. ],
  4383. "responses": {
  4384. "200": {
  4385. "description": "OK",
  4386. "schema": {
  4387. "type": "array",
  4388. "items": {
  4389. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  4390. }
  4391. }
  4392. },
  4393. "500": {
  4394. "description": "Internal Server Error",
  4395. "schema": {
  4396. "$ref": "#/definitions/app.Response"
  4397. }
  4398. }
  4399. }
  4400. }
  4401. },
  4402. "/Erms3/QueryPendingBusiness": {
  4403. "get": {
  4404. "security": [
  4405. {
  4406. "ApiKeyAuth": []
  4407. }
  4408. ],
  4409. "produces": [
  4410. "application/json"
  4411. ],
  4412. "tags": [
  4413. "风险管理v3"
  4414. ],
  4415. "summary": "查询待审核基差贸易业务",
  4416. "parameters": [
  4417. {
  4418. "type": "string",
  4419. "description": "资金账号ID列表,逗号隔开",
  4420. "name": "accountids",
  4421. "in": "query",
  4422. "required": true
  4423. }
  4424. ],
  4425. "responses": {
  4426. "200": {
  4427. "description": "OK",
  4428. "schema": {
  4429. "type": "array",
  4430. "items": {
  4431. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  4432. }
  4433. }
  4434. },
  4435. "500": {
  4436. "description": "Internal Server Error",
  4437. "schema": {
  4438. "$ref": "#/definitions/app.Response"
  4439. }
  4440. }
  4441. }
  4442. }
  4443. },
  4444. "/Erms3/QuerySpotContractAppleForm": {
  4445. "get": {
  4446. "security": [
  4447. {
  4448. "ApiKeyAuth": []
  4449. }
  4450. ],
  4451. "produces": [
  4452. "application/json"
  4453. ],
  4454. "tags": [
  4455. "风险管理v3"
  4456. ],
  4457. "summary": "查询合同申请表单数据",
  4458. "parameters": [
  4459. {
  4460. "type": "integer",
  4461. "description": "登录账号",
  4462. "name": "loginID",
  4463. "in": "query",
  4464. "required": true
  4465. }
  4466. ],
  4467. "responses": {
  4468. "200": {
  4469. "description": "OK",
  4470. "schema": {
  4471. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  4472. }
  4473. },
  4474. "500": {
  4475. "description": "Internal Server Error",
  4476. "schema": {
  4477. "$ref": "#/definitions/app.Response"
  4478. }
  4479. }
  4480. }
  4481. }
  4482. },
  4483. "/Erms3/QuerySpotContractDetail": {
  4484. "get": {
  4485. "security": [
  4486. {
  4487. "ApiKeyAuth": []
  4488. }
  4489. ],
  4490. "produces": [
  4491. "application/json"
  4492. ],
  4493. "tags": [
  4494. "风险管理v3"
  4495. ],
  4496. "summary": "查询合同详细信息",
  4497. "parameters": [
  4498. {
  4499. "type": "string",
  4500. "description": "资金账号ID列表,用逗号分隔",
  4501. "name": "accountids",
  4502. "in": "query",
  4503. "required": true
  4504. },
  4505. {
  4506. "type": "integer",
  4507. "description": "合同类型,1为采购合同 -1为销售合同",
  4508. "name": "contracttype",
  4509. "in": "query",
  4510. "required": true
  4511. },
  4512. {
  4513. "type": "integer",
  4514. "description": "合同模式,1为普通合同 2为回购销售合同",
  4515. "name": "contractmode",
  4516. "in": "query",
  4517. "required": true
  4518. },
  4519. {
  4520. "type": "integer",
  4521. "description": "状态,0为履约中 1为已完成",
  4522. "name": "status",
  4523. "in": "query",
  4524. "required": true
  4525. }
  4526. ],
  4527. "responses": {
  4528. "200": {
  4529. "description": "OK",
  4530. "schema": {
  4531. "type": "array",
  4532. "items": {
  4533. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  4534. }
  4535. }
  4536. },
  4537. "500": {
  4538. "description": "Internal Server Error",
  4539. "schema": {
  4540. "$ref": "#/definitions/app.Response"
  4541. }
  4542. }
  4543. }
  4544. }
  4545. },
  4546. "/Erms3/QueryUserInfoApplies": {
  4547. "get": {
  4548. "security": [
  4549. {
  4550. "ApiKeyAuth": []
  4551. }
  4552. ],
  4553. "produces": [
  4554. "application/json"
  4555. ],
  4556. "tags": [
  4557. "风险管理v3"
  4558. ],
  4559. "summary": "客户申请信息查询",
  4560. "parameters": [
  4561. {
  4562. "type": "integer",
  4563. "description": "页码",
  4564. "name": "page",
  4565. "in": "query"
  4566. },
  4567. {
  4568. "type": "integer",
  4569. "description": "每页条数",
  4570. "name": "pagesize",
  4571. "in": "query"
  4572. },
  4573. {
  4574. "type": "string",
  4575. "description": "客户名称,支持模糊查询",
  4576. "name": "userName",
  4577. "in": "query"
  4578. }
  4579. ],
  4580. "responses": {
  4581. "200": {
  4582. "description": "OK",
  4583. "schema": {
  4584. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  4585. }
  4586. },
  4587. "500": {
  4588. "description": "Internal Server Error",
  4589. "schema": {
  4590. "$ref": "#/definitions/app.Response"
  4591. }
  4592. }
  4593. }
  4594. }
  4595. },
  4596. "/Erms3/QueryUserInfos": {
  4597. "get": {
  4598. "security": [
  4599. {
  4600. "ApiKeyAuth": []
  4601. }
  4602. ],
  4603. "produces": [
  4604. "application/json"
  4605. ],
  4606. "tags": [
  4607. "风险管理v3"
  4608. ],
  4609. "summary": "客户信息查询",
  4610. "parameters": [
  4611. {
  4612. "type": "integer",
  4613. "description": "页码",
  4614. "name": "page",
  4615. "in": "query"
  4616. },
  4617. {
  4618. "type": "integer",
  4619. "description": "每页条数",
  4620. "name": "pagesize",
  4621. "in": "query"
  4622. },
  4623. {
  4624. "type": "string",
  4625. "description": "客户名称,支持模糊查询",
  4626. "name": "userName",
  4627. "in": "query"
  4628. }
  4629. ],
  4630. "responses": {
  4631. "200": {
  4632. "description": "OK",
  4633. "schema": {
  4634. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  4635. }
  4636. },
  4637. "500": {
  4638. "description": "Internal Server Error",
  4639. "schema": {
  4640. "$ref": "#/definitions/app.Response"
  4641. }
  4642. }
  4643. }
  4644. }
  4645. },
  4646. "/HSBY/GetHsbyMyCount": {
  4647. "get": {
  4648. "security": [
  4649. {
  4650. "ApiKeyAuth": []
  4651. }
  4652. ],
  4653. "description": "说明: 不包括已完成的数量。",
  4654. "produces": [
  4655. "application/json"
  4656. ],
  4657. "tags": [
  4658. "定制【海商报业】"
  4659. ],
  4660. "summary": "获取我的订单与包裹数量",
  4661. "parameters": [
  4662. {
  4663. "type": "string",
  4664. "description": "资金账户列表,格式:1,2,3",
  4665. "name": "accountIDs",
  4666. "in": "query",
  4667. "required": true
  4668. }
  4669. ],
  4670. "responses": {
  4671. "200": {
  4672. "description": "OK",
  4673. "schema": {
  4674. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  4675. }
  4676. },
  4677. "500": {
  4678. "description": "Internal Server Error",
  4679. "schema": {
  4680. "$ref": "#/definitions/app.Response"
  4681. }
  4682. }
  4683. }
  4684. }
  4685. },
  4686. "/HSBY/QueryClientFixedADConfigs": {
  4687. "get": {
  4688. "security": [
  4689. {
  4690. "ApiKeyAuth": []
  4691. }
  4692. ],
  4693. "produces": [
  4694. "application/json"
  4695. ],
  4696. "tags": [
  4697. "定制【海商报业】"
  4698. ],
  4699. "summary": "获取终端固定广告配置",
  4700. "responses": {
  4701. "200": {
  4702. "description": "OK",
  4703. "schema": {
  4704. "$ref": "#/definitions/models.Clientfixedadconfig"
  4705. }
  4706. },
  4707. "500": {
  4708. "description": "Internal Server Error",
  4709. "schema": {
  4710. "$ref": "#/definitions/app.Response"
  4711. }
  4712. }
  4713. }
  4714. }
  4715. },
  4716. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  4717. "get": {
  4718. "security": [
  4719. {
  4720. "ApiKeyAuth": []
  4721. }
  4722. ],
  4723. "produces": [
  4724. "application/json"
  4725. ],
  4726. "tags": [
  4727. "定制【海商报业】"
  4728. ],
  4729. "summary": "查询\"我的订单 - 已完成\"单据信息",
  4730. "parameters": [
  4731. {
  4732. "type": "integer",
  4733. "description": "页码",
  4734. "name": "page",
  4735. "in": "query"
  4736. },
  4737. {
  4738. "type": "integer",
  4739. "description": "每页条数",
  4740. "name": "pagesize",
  4741. "in": "query"
  4742. },
  4743. {
  4744. "type": "string",
  4745. "description": "资金账户列表,格式:1,2,3",
  4746. "name": "accountIDs",
  4747. "in": "query",
  4748. "required": true
  4749. }
  4750. ],
  4751. "responses": {
  4752. "200": {
  4753. "description": "OK",
  4754. "schema": {
  4755. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  4756. }
  4757. },
  4758. "500": {
  4759. "description": "Internal Server Error",
  4760. "schema": {
  4761. "$ref": "#/definitions/app.Response"
  4762. }
  4763. }
  4764. }
  4765. }
  4766. },
  4767. "/HSBY/QueryHsbyGoodsOrderDetails": {
  4768. "get": {
  4769. "security": [
  4770. {
  4771. "ApiKeyAuth": []
  4772. }
  4773. ],
  4774. "description": "说明:查询结果已按委托价格和委托时间排序",
  4775. "produces": [
  4776. "application/json"
  4777. ],
  4778. "tags": [
  4779. "定制【海商报业】"
  4780. ],
  4781. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  4782. "parameters": [
  4783. {
  4784. "type": "integer",
  4785. "description": "商品ID",
  4786. "name": "goodsID",
  4787. "in": "query",
  4788. "required": true
  4789. },
  4790. {
  4791. "type": "string",
  4792. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  4793. "name": "accountIDs",
  4794. "in": "query"
  4795. },
  4796. {
  4797. "type": "integer",
  4798. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  4799. "name": "buyOrSell",
  4800. "in": "query"
  4801. },
  4802. {
  4803. "type": "number",
  4804. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  4805. "name": "price",
  4806. "in": "query"
  4807. },
  4808. {
  4809. "type": "integer",
  4810. "description": "档位,不传则默认为3档",
  4811. "name": "speed",
  4812. "in": "query"
  4813. }
  4814. ],
  4815. "responses": {
  4816. "200": {
  4817. "description": "OK",
  4818. "schema": {
  4819. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  4820. }
  4821. },
  4822. "500": {
  4823. "description": "Internal Server Error",
  4824. "schema": {
  4825. "$ref": "#/definitions/app.Response"
  4826. }
  4827. }
  4828. }
  4829. }
  4830. },
  4831. "/HSBY/QueryHsbyListingGoodsDetail": {
  4832. "get": {
  4833. "security": [
  4834. {
  4835. "ApiKeyAuth": []
  4836. }
  4837. ],
  4838. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  4839. "produces": [
  4840. "application/json"
  4841. ],
  4842. "tags": [
  4843. "定制【海商报业】"
  4844. ],
  4845. "summary": "查询二级市场(挂牌点选)商品信息详情",
  4846. "parameters": [
  4847. {
  4848. "type": "integer",
  4849. "description": "商品ID",
  4850. "name": "goodsID",
  4851. "in": "query",
  4852. "required": true
  4853. },
  4854. {
  4855. "type": "integer",
  4856. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  4857. "name": "accountID",
  4858. "in": "query"
  4859. }
  4860. ],
  4861. "responses": {
  4862. "200": {
  4863. "description": "OK",
  4864. "schema": {
  4865. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  4866. }
  4867. },
  4868. "500": {
  4869. "description": "Internal Server Error",
  4870. "schema": {
  4871. "$ref": "#/definitions/app.Response"
  4872. }
  4873. }
  4874. }
  4875. }
  4876. },
  4877. "/HSBY/QueryHsbyMarketGoodsDetail": {
  4878. "get": {
  4879. "security": [
  4880. {
  4881. "ApiKeyAuth": []
  4882. }
  4883. ],
  4884. "produces": [
  4885. "application/json"
  4886. ],
  4887. "tags": [
  4888. "定制【海商报业】"
  4889. ],
  4890. "summary": "查询三级市场(商城)商品信息详情",
  4891. "parameters": [
  4892. {
  4893. "type": "integer",
  4894. "description": "委托单号",
  4895. "name": "orderID",
  4896. "in": "query",
  4897. "required": true
  4898. },
  4899. {
  4900. "type": "integer",
  4901. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  4902. "name": "accountID",
  4903. "in": "query"
  4904. }
  4905. ],
  4906. "responses": {
  4907. "200": {
  4908. "description": "OK",
  4909. "schema": {
  4910. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  4911. }
  4912. },
  4913. "500": {
  4914. "description": "Internal Server Error",
  4915. "schema": {
  4916. "$ref": "#/definitions/app.Response"
  4917. }
  4918. }
  4919. }
  4920. }
  4921. },
  4922. "/HSBY/QueryHsbyMarketGoodses": {
  4923. "get": {
  4924. "security": [
  4925. {
  4926. "ApiKeyAuth": []
  4927. }
  4928. ],
  4929. "produces": [
  4930. "application/json"
  4931. ],
  4932. "tags": [
  4933. "定制【海商报业】"
  4934. ],
  4935. "summary": "查询特卖商品列表(三级商城)",
  4936. "parameters": [
  4937. {
  4938. "type": "integer",
  4939. "description": "页码",
  4940. "name": "page",
  4941. "in": "query"
  4942. },
  4943. {
  4944. "type": "integer",
  4945. "description": "每页条数",
  4946. "name": "pagesize",
  4947. "in": "query"
  4948. },
  4949. {
  4950. "type": "string",
  4951. "description": "市场ID列表,格式:1,2,3",
  4952. "name": "marketIDs",
  4953. "in": "query",
  4954. "required": true
  4955. },
  4956. {
  4957. "type": "integer",
  4958. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  4959. "name": "accountID",
  4960. "in": "query",
  4961. "required": true
  4962. },
  4963. {
  4964. "type": "integer",
  4965. "description": "类别ID",
  4966. "name": "categoryID",
  4967. "in": "query"
  4968. },
  4969. {
  4970. "type": "string",
  4971. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  4972. "name": "goodsIDs",
  4973. "in": "query"
  4974. },
  4975. {
  4976. "type": "integer",
  4977. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  4978. "name": "couponTypeID",
  4979. "in": "query"
  4980. }
  4981. ],
  4982. "responses": {
  4983. "200": {
  4984. "description": "OK",
  4985. "schema": {
  4986. "$ref": "#/definitions/models.HsbyMarketGoods"
  4987. }
  4988. },
  4989. "500": {
  4990. "description": "Internal Server Error",
  4991. "schema": {
  4992. "$ref": "#/definitions/app.Response"
  4993. }
  4994. }
  4995. }
  4996. }
  4997. },
  4998. "/HSBY/QueryHsbyMarkets": {
  4999. "get": {
  5000. "security": [
  5001. {
  5002. "ApiKeyAuth": []
  5003. }
  5004. ],
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "定制【海商报业】"
  5010. ],
  5011. "summary": "查询海商报业相关市场信息",
  5012. "responses": {
  5013. "200": {
  5014. "description": "OK",
  5015. "schema": {
  5016. "$ref": "#/definitions/models.HsbyMarketInfo"
  5017. }
  5018. },
  5019. "500": {
  5020. "description": "Internal Server Error",
  5021. "schema": {
  5022. "$ref": "#/definitions/app.Response"
  5023. }
  5024. }
  5025. }
  5026. }
  5027. },
  5028. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  5029. "get": {
  5030. "security": [
  5031. {
  5032. "ApiKeyAuth": []
  5033. }
  5034. ],
  5035. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  5036. "produces": [
  5037. "application/json"
  5038. ],
  5039. "tags": [
  5040. "定制【海商报业】"
  5041. ],
  5042. "summary": "查询“我的订单”信息",
  5043. "parameters": [
  5044. {
  5045. "type": "string",
  5046. "description": "资金账户列表,格式:1,2,3",
  5047. "name": "accountIDs",
  5048. "in": "query",
  5049. "required": true
  5050. }
  5051. ],
  5052. "responses": {
  5053. "200": {
  5054. "description": "OK",
  5055. "schema": {
  5056. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  5057. }
  5058. },
  5059. "500": {
  5060. "description": "Internal Server Error",
  5061. "schema": {
  5062. "$ref": "#/definitions/app.Response"
  5063. }
  5064. }
  5065. }
  5066. }
  5067. },
  5068. "/HSBY/QueryHsbyMyGoods": {
  5069. "get": {
  5070. "security": [
  5071. {
  5072. "ApiKeyAuth": []
  5073. }
  5074. ],
  5075. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  5076. "produces": [
  5077. "application/json"
  5078. ],
  5079. "tags": [
  5080. "定制【海商报业】"
  5081. ],
  5082. "summary": "查询“我的商品”信息",
  5083. "parameters": [
  5084. {
  5085. "type": "string",
  5086. "description": "资金账户列表,格式:1,2,3",
  5087. "name": "accountIDs",
  5088. "in": "query",
  5089. "required": true
  5090. }
  5091. ],
  5092. "responses": {
  5093. "200": {
  5094. "description": "OK",
  5095. "schema": {
  5096. "$ref": "#/definitions/models.HsbyMyGoods"
  5097. }
  5098. },
  5099. "500": {
  5100. "description": "Internal Server Error",
  5101. "schema": {
  5102. "$ref": "#/definitions/app.Response"
  5103. }
  5104. }
  5105. }
  5106. }
  5107. },
  5108. "/HSBY/QueryHsbyMyPackages": {
  5109. "get": {
  5110. "security": [
  5111. {
  5112. "ApiKeyAuth": []
  5113. }
  5114. ],
  5115. "produces": [
  5116. "application/json"
  5117. ],
  5118. "tags": [
  5119. "定制【海商报业】"
  5120. ],
  5121. "summary": "查询我的包裹信息",
  5122. "parameters": [
  5123. {
  5124. "type": "string",
  5125. "description": "资金账户列表,格式:1,2,3",
  5126. "name": "accountIDs",
  5127. "in": "query",
  5128. "required": true
  5129. },
  5130. {
  5131. "type": "integer",
  5132. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5133. "name": "takeOrderStatus",
  5134. "in": "query"
  5135. }
  5136. ],
  5137. "responses": {
  5138. "200": {
  5139. "description": "OK",
  5140. "schema": {
  5141. "$ref": "#/definitions/models.HsbyMyPackage"
  5142. }
  5143. },
  5144. "500": {
  5145. "description": "Internal Server Error",
  5146. "schema": {
  5147. "$ref": "#/definitions/app.Response"
  5148. }
  5149. }
  5150. }
  5151. }
  5152. },
  5153. "/HSBY/QueryHsbyPreGoodsDetail": {
  5154. "get": {
  5155. "security": [
  5156. {
  5157. "ApiKeyAuth": []
  5158. }
  5159. ],
  5160. "produces": [
  5161. "application/json"
  5162. ],
  5163. "tags": [
  5164. "定制【海商报业】"
  5165. ],
  5166. "summary": "查询一级市场(预售)商品信息详情",
  5167. "parameters": [
  5168. {
  5169. "type": "integer",
  5170. "description": "商品ID",
  5171. "name": "goodsID",
  5172. "in": "query",
  5173. "required": true
  5174. },
  5175. {
  5176. "type": "integer",
  5177. "description": "资金账户,主要用于获取预售商品购买上限",
  5178. "name": "accountID",
  5179. "in": "query"
  5180. }
  5181. ],
  5182. "responses": {
  5183. "200": {
  5184. "description": "OK",
  5185. "schema": {
  5186. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  5187. }
  5188. },
  5189. "500": {
  5190. "description": "Internal Server Error",
  5191. "schema": {
  5192. "$ref": "#/definitions/app.Response"
  5193. }
  5194. }
  5195. }
  5196. }
  5197. },
  5198. "/HSBY/QueryHsbyPreGoodses": {
  5199. "get": {
  5200. "security": [
  5201. {
  5202. "ApiKeyAuth": []
  5203. }
  5204. ],
  5205. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  5206. "produces": [
  5207. "application/json"
  5208. ],
  5209. "tags": [
  5210. "定制【海商报业】"
  5211. ],
  5212. "summary": "查询新品上市商品列表(一级市场预售)",
  5213. "parameters": [
  5214. {
  5215. "type": "integer",
  5216. "description": "页码",
  5217. "name": "page",
  5218. "in": "query"
  5219. },
  5220. {
  5221. "type": "integer",
  5222. "description": "每页条数",
  5223. "name": "pagesize",
  5224. "in": "query"
  5225. },
  5226. {
  5227. "type": "string",
  5228. "description": "市场ID列表,格式:1,2,3",
  5229. "name": "marketIDs",
  5230. "in": "query",
  5231. "required": true
  5232. },
  5233. {
  5234. "type": "integer",
  5235. "description": "目的地(省)ID",
  5236. "name": "descProvinceID",
  5237. "in": "query"
  5238. },
  5239. {
  5240. "type": "integer",
  5241. "description": "目的地(市)ID",
  5242. "name": "descCityID",
  5243. "in": "query"
  5244. }
  5245. ],
  5246. "responses": {
  5247. "200": {
  5248. "description": "OK",
  5249. "schema": {
  5250. "$ref": "#/definitions/models.HsbyPreGoods"
  5251. }
  5252. },
  5253. "500": {
  5254. "description": "Internal Server Error",
  5255. "schema": {
  5256. "$ref": "#/definitions/app.Response"
  5257. }
  5258. }
  5259. }
  5260. }
  5261. },
  5262. "/HSBY/QueryHsbySellMyDetails": {
  5263. "get": {
  5264. "security": [
  5265. {
  5266. "ApiKeyAuth": []
  5267. }
  5268. ],
  5269. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  5270. "produces": [
  5271. "application/json"
  5272. ],
  5273. "tags": [
  5274. "定制【海商报业】"
  5275. ],
  5276. "summary": "查询\"我的闲置\"单据信息",
  5277. "parameters": [
  5278. {
  5279. "type": "integer",
  5280. "description": "页码",
  5281. "name": "page",
  5282. "in": "query"
  5283. },
  5284. {
  5285. "type": "integer",
  5286. "description": "每页条数",
  5287. "name": "pagesize",
  5288. "in": "query"
  5289. },
  5290. {
  5291. "type": "string",
  5292. "description": "资金账户列表,格式:1,2,3",
  5293. "name": "accountIDs",
  5294. "in": "query",
  5295. "required": true
  5296. },
  5297. {
  5298. "type": "integer",
  5299. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  5300. "name": "orderType",
  5301. "in": "query"
  5302. }
  5303. ],
  5304. "responses": {
  5305. "200": {
  5306. "description": "OK",
  5307. "schema": {
  5308. "$ref": "#/definitions/models.HsbySellMyDetail"
  5309. }
  5310. },
  5311. "500": {
  5312. "description": "Internal Server Error",
  5313. "schema": {
  5314. "$ref": "#/definitions/app.Response"
  5315. }
  5316. }
  5317. }
  5318. }
  5319. },
  5320. "/HSBY/QueryHsbyTopGoodses": {
  5321. "get": {
  5322. "security": [
  5323. {
  5324. "ApiKeyAuth": []
  5325. }
  5326. ],
  5327. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  5328. "produces": [
  5329. "application/json"
  5330. ],
  5331. "tags": [
  5332. "定制【海商报业】"
  5333. ],
  5334. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  5335. "parameters": [
  5336. {
  5337. "type": "integer",
  5338. "description": "页码",
  5339. "name": "page",
  5340. "in": "query"
  5341. },
  5342. {
  5343. "type": "integer",
  5344. "description": "每页条数",
  5345. "name": "pagesize",
  5346. "in": "query"
  5347. },
  5348. {
  5349. "type": "string",
  5350. "description": "市场ID列表,格式:1,2,3",
  5351. "name": "marketIDs",
  5352. "in": "query",
  5353. "required": true
  5354. },
  5355. {
  5356. "type": "integer",
  5357. "description": "目的地(省)ID",
  5358. "name": "descProvinceID",
  5359. "in": "query"
  5360. },
  5361. {
  5362. "type": "integer",
  5363. "description": "目的地(市)ID",
  5364. "name": "descCityID",
  5365. "in": "query"
  5366. }
  5367. ],
  5368. "responses": {
  5369. "200": {
  5370. "description": "OK",
  5371. "schema": {
  5372. "$ref": "#/definitions/models.HsbyTopGoods"
  5373. }
  5374. },
  5375. "500": {
  5376. "description": "Internal Server Error",
  5377. "schema": {
  5378. "$ref": "#/definitions/app.Response"
  5379. }
  5380. }
  5381. }
  5382. }
  5383. },
  5384. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  5385. "get": {
  5386. "security": [
  5387. {
  5388. "ApiKeyAuth": []
  5389. }
  5390. ],
  5391. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  5392. "produces": [
  5393. "application/json"
  5394. ],
  5395. "tags": [
  5396. "定制【海商报业】"
  5397. ],
  5398. "summary": "查询游客三级市场(商城)商品信息详情",
  5399. "parameters": [
  5400. {
  5401. "type": "integer",
  5402. "description": "商品ID",
  5403. "name": "goodsID",
  5404. "in": "query",
  5405. "required": true
  5406. }
  5407. ],
  5408. "responses": {
  5409. "200": {
  5410. "description": "OK",
  5411. "schema": {
  5412. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  5413. }
  5414. },
  5415. "500": {
  5416. "description": "Internal Server Error",
  5417. "schema": {
  5418. "$ref": "#/definitions/app.Response"
  5419. }
  5420. }
  5421. }
  5422. }
  5423. },
  5424. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  5425. "get": {
  5426. "security": [
  5427. {
  5428. "ApiKeyAuth": []
  5429. }
  5430. ],
  5431. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  5432. "produces": [
  5433. "application/json"
  5434. ],
  5435. "tags": [
  5436. "定制【海商报业】"
  5437. ],
  5438. "summary": "查询游客特卖商品列表(三级商城)",
  5439. "parameters": [
  5440. {
  5441. "type": "integer",
  5442. "description": "页码",
  5443. "name": "page",
  5444. "in": "query"
  5445. },
  5446. {
  5447. "type": "integer",
  5448. "description": "每页条数",
  5449. "name": "pagesize",
  5450. "in": "query"
  5451. },
  5452. {
  5453. "type": "string",
  5454. "description": "市场ID列表,格式:1,2,3",
  5455. "name": "marketIDs",
  5456. "in": "query",
  5457. "required": true
  5458. },
  5459. {
  5460. "type": "integer",
  5461. "description": "类别ID",
  5462. "name": "categoryID",
  5463. "in": "query"
  5464. },
  5465. {
  5466. "type": "string",
  5467. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  5468. "name": "goodsIDs",
  5469. "in": "query"
  5470. }
  5471. ],
  5472. "responses": {
  5473. "200": {
  5474. "description": "OK",
  5475. "schema": {
  5476. "$ref": "#/definitions/models.HsbyMarketGoods"
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/HSBY/QueryMyCollectionOrders": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "produces": [
  5496. "application/json"
  5497. ],
  5498. "tags": [
  5499. "定制【海商报业】"
  5500. ],
  5501. "summary": "我的闲置中收款信息查询",
  5502. "parameters": [
  5503. {
  5504. "type": "integer",
  5505. "description": "页码",
  5506. "name": "page",
  5507. "in": "query"
  5508. },
  5509. {
  5510. "type": "integer",
  5511. "description": "每页条数",
  5512. "name": "pagesize",
  5513. "in": "query"
  5514. },
  5515. {
  5516. "type": "string",
  5517. "description": "资金账户,格式:1,2,3",
  5518. "name": "accountIDs",
  5519. "in": "query",
  5520. "required": true
  5521. }
  5522. ],
  5523. "responses": {
  5524. "200": {
  5525. "description": "OK",
  5526. "schema": {
  5527. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  5528. }
  5529. },
  5530. "500": {
  5531. "description": "Internal Server Error",
  5532. "schema": {
  5533. "$ref": "#/definitions/app.Response"
  5534. }
  5535. }
  5536. }
  5537. }
  5538. },
  5539. "/HSBY/QueryMyCouponHolds": {
  5540. "get": {
  5541. "security": [
  5542. {
  5543. "ApiKeyAuth": []
  5544. }
  5545. ],
  5546. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  5547. "produces": [
  5548. "application/json"
  5549. ],
  5550. "tags": [
  5551. "定制【海商报业】"
  5552. ],
  5553. "summary": "我的优惠卷持仓查询",
  5554. "parameters": [
  5555. {
  5556. "type": "string",
  5557. "description": "资金账户列表,格式:1,2,3",
  5558. "name": "accountIDs",
  5559. "in": "query",
  5560. "required": true
  5561. },
  5562. {
  5563. "type": "string",
  5564. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  5565. "name": "holdStatus",
  5566. "in": "query"
  5567. }
  5568. ],
  5569. "responses": {
  5570. "200": {
  5571. "description": "OK",
  5572. "schema": {
  5573. "$ref": "#/definitions/models.MyCouponHold"
  5574. }
  5575. },
  5576. "500": {
  5577. "description": "Internal Server Error",
  5578. "schema": {
  5579. "$ref": "#/definitions/app.Response"
  5580. }
  5581. }
  5582. }
  5583. }
  5584. },
  5585. "/HSBY/QueryMyCoupons": {
  5586. "get": {
  5587. "security": [
  5588. {
  5589. "ApiKeyAuth": []
  5590. }
  5591. ],
  5592. "produces": [
  5593. "application/json"
  5594. ],
  5595. "tags": [
  5596. "定制【海商报业】"
  5597. ],
  5598. "summary": "我的优惠卷查询",
  5599. "parameters": [
  5600. {
  5601. "type": "string",
  5602. "description": "资金账户列表,格式:1,2,3",
  5603. "name": "accountIDs",
  5604. "in": "query",
  5605. "required": true
  5606. },
  5607. {
  5608. "type": "integer",
  5609. "description": "商品ID, 一般与sellUserID配套传入",
  5610. "name": "goodsID",
  5611. "in": "query"
  5612. },
  5613. {
  5614. "type": "integer",
  5615. "description": "卖方UserID",
  5616. "name": "sellUserID",
  5617. "in": "query"
  5618. }
  5619. ],
  5620. "responses": {
  5621. "200": {
  5622. "description": "OK",
  5623. "schema": {
  5624. "$ref": "#/definitions/models.MyCoupon"
  5625. }
  5626. },
  5627. "500": {
  5628. "description": "Internal Server Error",
  5629. "schema": {
  5630. "$ref": "#/definitions/app.Response"
  5631. }
  5632. }
  5633. }
  5634. }
  5635. },
  5636. "/HSBY/QueryMyPayOrders": {
  5637. "get": {
  5638. "security": [
  5639. {
  5640. "ApiKeyAuth": []
  5641. }
  5642. ],
  5643. "produces": [
  5644. "application/json"
  5645. ],
  5646. "tags": [
  5647. "定制【海商报业】"
  5648. ],
  5649. "summary": "获取我的订单中待付款信息",
  5650. "parameters": [
  5651. {
  5652. "type": "integer",
  5653. "description": "页码",
  5654. "name": "page",
  5655. "in": "query"
  5656. },
  5657. {
  5658. "type": "integer",
  5659. "description": "每页条数",
  5660. "name": "pagesize",
  5661. "in": "query"
  5662. },
  5663. {
  5664. "type": "string",
  5665. "description": "资金账户列表,格式:1,2,3",
  5666. "name": "accountIDs",
  5667. "in": "query",
  5668. "required": true
  5669. },
  5670. {
  5671. "type": "integer",
  5672. "description": "买方委托单号",
  5673. "name": "buyOrderID",
  5674. "in": "query"
  5675. },
  5676. {
  5677. "type": "integer",
  5678. "description": "卖方委托单号",
  5679. "name": "sellOrderID",
  5680. "in": "query"
  5681. }
  5682. ],
  5683. "responses": {
  5684. "200": {
  5685. "description": "OK",
  5686. "schema": {
  5687. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  5688. }
  5689. },
  5690. "500": {
  5691. "description": "Internal Server Error",
  5692. "schema": {
  5693. "$ref": "#/definitions/app.Response"
  5694. }
  5695. }
  5696. }
  5697. }
  5698. },
  5699. "/HSBY/QueryMyUsedCoupon": {
  5700. "get": {
  5701. "security": [
  5702. {
  5703. "ApiKeyAuth": []
  5704. }
  5705. ],
  5706. "produces": [
  5707. "application/json"
  5708. ],
  5709. "tags": [
  5710. "定制【海商报业】"
  5711. ],
  5712. "summary": "已使用优惠卷查询",
  5713. "parameters": [
  5714. {
  5715. "type": "string",
  5716. "description": "资金账户列表,格式:1,2,3",
  5717. "name": "accountIDs",
  5718. "in": "query",
  5719. "required": true
  5720. }
  5721. ],
  5722. "responses": {
  5723. "200": {
  5724. "description": "OK",
  5725. "schema": {
  5726. "$ref": "#/definitions/models.MyUsedCoupon"
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/HSBY/QueryProvincesAndCities": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  5746. "produces": [
  5747. "application/json"
  5748. ],
  5749. "tags": [
  5750. "定制【海商报业】"
  5751. ],
  5752. "summary": "查询省市信息(不包括区)",
  5753. "parameters": [
  5754. {
  5755. "type": "integer",
  5756. "description": "省ID",
  5757. "name": "provinceID",
  5758. "in": "query"
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  5766. }
  5767. },
  5768. "500": {
  5769. "description": "Internal Server Error",
  5770. "schema": {
  5771. "$ref": "#/definitions/app.Response"
  5772. }
  5773. }
  5774. }
  5775. }
  5776. },
  5777. "/HSBY/SetHsbyMyPackagesStatus": {
  5778. "post": {
  5779. "security": [
  5780. {
  5781. "ApiKeyAuth": []
  5782. }
  5783. ],
  5784. "produces": [
  5785. "application/json"
  5786. ],
  5787. "tags": [
  5788. "定制【海商报业】"
  5789. ],
  5790. "summary": "设置我的包裹已收货状态",
  5791. "parameters": [
  5792. {
  5793. "type": "string",
  5794. "description": "提货单号",
  5795. "name": "takeOrderID",
  5796. "in": "query",
  5797. "required": true
  5798. },
  5799. {
  5800. "type": "integer",
  5801. "description": "资金账号",
  5802. "name": "accountID",
  5803. "in": "query",
  5804. "required": true
  5805. }
  5806. ],
  5807. "responses": {
  5808. "200": {
  5809. "description": "OK",
  5810. "schema": {
  5811. "$ref": "#/definitions/app.Response"
  5812. }
  5813. },
  5814. "500": {
  5815. "description": "Internal Server Error",
  5816. "schema": {
  5817. "$ref": "#/definitions/app.Response"
  5818. }
  5819. }
  5820. }
  5821. }
  5822. },
  5823. "/Market/QueryGoodsesByLoginID": {
  5824. "get": {
  5825. "security": [
  5826. {
  5827. "ApiKeyAuth": []
  5828. }
  5829. ],
  5830. "produces": [
  5831. "application/json"
  5832. ],
  5833. "tags": [
  5834. "通用市场"
  5835. ],
  5836. "summary": "获取登录账号有权限的商品信息",
  5837. "parameters": [
  5838. {
  5839. "type": "integer",
  5840. "description": "登录账号",
  5841. "name": "loginID",
  5842. "in": "query",
  5843. "required": true
  5844. },
  5845. {
  5846. "type": "string",
  5847. "description": "市场ID列表,格式:1,2,3",
  5848. "name": "marketIDs",
  5849. "in": "query"
  5850. }
  5851. ],
  5852. "responses": {
  5853. "200": {
  5854. "description": "OK",
  5855. "schema": {
  5856. "$ref": "#/definitions/models.Goods"
  5857. }
  5858. },
  5859. "500": {
  5860. "description": "Internal Server Error",
  5861. "schema": {
  5862. "$ref": "#/definitions/app.Response"
  5863. }
  5864. }
  5865. }
  5866. }
  5867. },
  5868. "/Market/QueryMarketRun": {
  5869. "get": {
  5870. "security": [
  5871. {
  5872. "ApiKeyAuth": []
  5873. }
  5874. ],
  5875. "produces": [
  5876. "application/json"
  5877. ],
  5878. "tags": [
  5879. "通用市场"
  5880. ],
  5881. "summary": "查询市场运行信息",
  5882. "parameters": [
  5883. {
  5884. "type": "integer",
  5885. "description": "市场ID,不传返回所有",
  5886. "name": "marketID",
  5887. "in": "query"
  5888. }
  5889. ],
  5890. "responses": {
  5891. "200": {
  5892. "description": "OK",
  5893. "schema": {
  5894. "$ref": "#/definitions/models.Marketrun"
  5895. }
  5896. },
  5897. "500": {
  5898. "description": "Internal Server Error",
  5899. "schema": {
  5900. "$ref": "#/definitions/app.Response"
  5901. }
  5902. }
  5903. }
  5904. }
  5905. },
  5906. "/Market/QueryMarketsByLoginID": {
  5907. "get": {
  5908. "security": [
  5909. {
  5910. "ApiKeyAuth": []
  5911. }
  5912. ],
  5913. "produces": [
  5914. "application/json"
  5915. ],
  5916. "tags": [
  5917. "通用市场"
  5918. ],
  5919. "summary": "获取登录账号有权限的市场信息",
  5920. "parameters": [
  5921. {
  5922. "type": "integer",
  5923. "description": "登录账号",
  5924. "name": "loginID",
  5925. "in": "query",
  5926. "required": true
  5927. }
  5928. ],
  5929. "responses": {
  5930. "200": {
  5931. "description": "OK",
  5932. "schema": {
  5933. "$ref": "#/definitions/models.Market"
  5934. }
  5935. },
  5936. "500": {
  5937. "description": "Internal Server Error",
  5938. "schema": {
  5939. "$ref": "#/definitions/app.Response"
  5940. }
  5941. }
  5942. }
  5943. }
  5944. },
  5945. "/Order/QueryHisTradeDetail": {
  5946. "get": {
  5947. "security": [
  5948. {
  5949. "ApiKeyAuth": []
  5950. }
  5951. ],
  5952. "produces": [
  5953. "application/json"
  5954. ],
  5955. "tags": [
  5956. "通用单据"
  5957. ],
  5958. "summary": "历史成交单查询(合约市场)",
  5959. "parameters": [
  5960. {
  5961. "type": "string",
  5962. "description": "资金账户 - 格式:1,2,3",
  5963. "name": "accountID",
  5964. "in": "query",
  5965. "required": true
  5966. },
  5967. {
  5968. "type": "integer",
  5969. "description": "成交单号",
  5970. "name": "tradeID",
  5971. "in": "query"
  5972. },
  5973. {
  5974. "type": "integer",
  5975. "description": "委托单号",
  5976. "name": "orderID",
  5977. "in": "query"
  5978. },
  5979. {
  5980. "type": "string",
  5981. "description": "交易模式 - 格式:1,2,3",
  5982. "name": "tradeMode",
  5983. "in": "query"
  5984. },
  5985. {
  5986. "type": "integer",
  5987. "description": "委托单据类型",
  5988. "name": "buildType",
  5989. "in": "query"
  5990. },
  5991. {
  5992. "type": "string",
  5993. "description": "成交类别 - 格式:1,2,3",
  5994. "name": "tradeType",
  5995. "in": "query"
  5996. },
  5997. {
  5998. "type": "string",
  5999. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6000. "name": "startDate",
  6001. "in": "query"
  6002. },
  6003. {
  6004. "type": "string",
  6005. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6006. "name": "endDate",
  6007. "in": "query"
  6008. }
  6009. ],
  6010. "responses": {
  6011. "200": {
  6012. "description": "OK",
  6013. "schema": {
  6014. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  6015. }
  6016. },
  6017. "500": {
  6018. "description": "Internal Server Error",
  6019. "schema": {
  6020. "$ref": "#/definitions/app.Response"
  6021. }
  6022. }
  6023. }
  6024. }
  6025. },
  6026. "/Order/QueryHisTradeOrderDetail": {
  6027. "get": {
  6028. "security": [
  6029. {
  6030. "ApiKeyAuth": []
  6031. }
  6032. ],
  6033. "produces": [
  6034. "application/json"
  6035. ],
  6036. "tags": [
  6037. "通用单据"
  6038. ],
  6039. "summary": "历史委托单查询请求(合约市场)",
  6040. "parameters": [
  6041. {
  6042. "type": "string",
  6043. "description": "资金账户 - 格式:1,2,3",
  6044. "name": "accountID",
  6045. "in": "query",
  6046. "required": true
  6047. },
  6048. {
  6049. "type": "string",
  6050. "description": "交易模式 - 格式:1,2,3",
  6051. "name": "tradeMode",
  6052. "in": "query"
  6053. },
  6054. {
  6055. "type": "string",
  6056. "description": "委托状态 - 格式:1,2,3",
  6057. "name": "orderStatus",
  6058. "in": "query"
  6059. },
  6060. {
  6061. "type": "integer",
  6062. "description": "委托单号",
  6063. "name": "orderID",
  6064. "in": "query"
  6065. },
  6066. {
  6067. "type": "string",
  6068. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6069. "name": "startDate",
  6070. "in": "query"
  6071. },
  6072. {
  6073. "type": "string",
  6074. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6075. "name": "endDate",
  6076. "in": "query"
  6077. }
  6078. ],
  6079. "responses": {
  6080. "200": {
  6081. "description": "OK",
  6082. "schema": {
  6083. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  6084. }
  6085. },
  6086. "500": {
  6087. "description": "Internal Server Error",
  6088. "schema": {
  6089. "$ref": "#/definitions/app.Response"
  6090. }
  6091. }
  6092. }
  6093. }
  6094. },
  6095. "/Order/QueryTradeDetail": {
  6096. "get": {
  6097. "security": [
  6098. {
  6099. "ApiKeyAuth": []
  6100. }
  6101. ],
  6102. "produces": [
  6103. "application/json"
  6104. ],
  6105. "tags": [
  6106. "通用单据"
  6107. ],
  6108. "summary": "成交单查询(合约市场)",
  6109. "parameters": [
  6110. {
  6111. "type": "string",
  6112. "description": "资金账户 - 格式:1,2,3",
  6113. "name": "accountID",
  6114. "in": "query",
  6115. "required": true
  6116. },
  6117. {
  6118. "type": "integer",
  6119. "description": "成交单号",
  6120. "name": "tradeID",
  6121. "in": "query"
  6122. },
  6123. {
  6124. "type": "integer",
  6125. "description": "委托单号",
  6126. "name": "orderID",
  6127. "in": "query"
  6128. },
  6129. {
  6130. "type": "string",
  6131. "description": "交易模式 - 格式:1,2,3",
  6132. "name": "tradeMode",
  6133. "in": "query"
  6134. },
  6135. {
  6136. "type": "integer",
  6137. "description": "委托单据类型",
  6138. "name": "buildType",
  6139. "in": "query"
  6140. },
  6141. {
  6142. "type": "string",
  6143. "description": "成交类别 - 格式:1,2,3",
  6144. "name": "tradeType",
  6145. "in": "query"
  6146. }
  6147. ],
  6148. "responses": {
  6149. "200": {
  6150. "description": "OK",
  6151. "schema": {
  6152. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  6153. }
  6154. },
  6155. "500": {
  6156. "description": "Internal Server Error",
  6157. "schema": {
  6158. "$ref": "#/definitions/app.Response"
  6159. }
  6160. }
  6161. }
  6162. }
  6163. },
  6164. "/Order/QueryTradeOrderDetail": {
  6165. "get": {
  6166. "security": [
  6167. {
  6168. "ApiKeyAuth": []
  6169. }
  6170. ],
  6171. "produces": [
  6172. "application/json"
  6173. ],
  6174. "tags": [
  6175. "通用单据"
  6176. ],
  6177. "summary": "委托单查询请求(合约市场)",
  6178. "parameters": [
  6179. {
  6180. "type": "string",
  6181. "description": "资金账户 - 格式:1,2,3",
  6182. "name": "accountID",
  6183. "in": "query",
  6184. "required": true
  6185. },
  6186. {
  6187. "type": "string",
  6188. "description": "交易模式 - 格式:1,2,3",
  6189. "name": "tradeMode",
  6190. "in": "query"
  6191. },
  6192. {
  6193. "type": "string",
  6194. "description": "委托状态 - 格式:1,2,3",
  6195. "name": "orderStatus",
  6196. "in": "query"
  6197. },
  6198. {
  6199. "type": "integer",
  6200. "description": "委托单号",
  6201. "name": "orderID",
  6202. "in": "query"
  6203. }
  6204. ],
  6205. "responses": {
  6206. "200": {
  6207. "description": "OK",
  6208. "schema": {
  6209. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  6210. }
  6211. },
  6212. "500": {
  6213. "description": "Internal Server Error",
  6214. "schema": {
  6215. "$ref": "#/definitions/app.Response"
  6216. }
  6217. }
  6218. }
  6219. }
  6220. },
  6221. "/Order/QueryTradePosition": {
  6222. "get": {
  6223. "security": [
  6224. {
  6225. "ApiKeyAuth": []
  6226. }
  6227. ],
  6228. "produces": [
  6229. "application/json"
  6230. ],
  6231. "tags": [
  6232. "通用单据"
  6233. ],
  6234. "summary": "持仓汇总查询(合约市场)",
  6235. "parameters": [
  6236. {
  6237. "type": "string",
  6238. "description": "资金账户 - 格式:1,2,3",
  6239. "name": "accountID",
  6240. "in": "query",
  6241. "required": true
  6242. },
  6243. {
  6244. "type": "string",
  6245. "description": "交易模式 - 格式:1,2,3",
  6246. "name": "tradeMode",
  6247. "in": "query"
  6248. }
  6249. ],
  6250. "responses": {
  6251. "200": {
  6252. "description": "OK",
  6253. "schema": {
  6254. "$ref": "#/definitions/order.QueryTradePositionRsp"
  6255. }
  6256. },
  6257. "500": {
  6258. "description": "Internal Server Error",
  6259. "schema": {
  6260. "$ref": "#/definitions/app.Response"
  6261. }
  6262. }
  6263. }
  6264. }
  6265. },
  6266. "/Quote/QueryHistoryDatas": {
  6267. "get": {
  6268. "security": [
  6269. {
  6270. "ApiKeyAuth": []
  6271. }
  6272. ],
  6273. "produces": [
  6274. "application/json"
  6275. ],
  6276. "tags": [
  6277. "行情服务"
  6278. ],
  6279. "summary": "查询行情历史数据",
  6280. "parameters": [
  6281. {
  6282. "type": "integer",
  6283. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线",
  6284. "name": "cycleType",
  6285. "in": "query",
  6286. "required": true
  6287. },
  6288. {
  6289. "type": "string",
  6290. "description": "商品代码",
  6291. "name": "goodsCode",
  6292. "in": "query",
  6293. "required": true
  6294. },
  6295. {
  6296. "type": "string",
  6297. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6298. "name": "startTime",
  6299. "in": "query"
  6300. },
  6301. {
  6302. "type": "string",
  6303. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6304. "name": "endTime",
  6305. "in": "query"
  6306. },
  6307. {
  6308. "type": "integer",
  6309. "description": "条数",
  6310. "name": "count",
  6311. "in": "query"
  6312. },
  6313. {
  6314. "type": "boolean",
  6315. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6316. "name": "isAsc",
  6317. "in": "query"
  6318. }
  6319. ],
  6320. "responses": {
  6321. "200": {
  6322. "description": "OK",
  6323. "schema": {
  6324. "$ref": "#/definitions/quote.HistoryData"
  6325. }
  6326. },
  6327. "500": {
  6328. "description": "Internal Server Error",
  6329. "schema": {
  6330. "$ref": "#/definitions/app.Response"
  6331. }
  6332. }
  6333. }
  6334. }
  6335. },
  6336. "/Quote/QueryHistoryTikDatas": {
  6337. "get": {
  6338. "security": [
  6339. {
  6340. "ApiKeyAuth": []
  6341. }
  6342. ],
  6343. "produces": [
  6344. "application/json"
  6345. ],
  6346. "tags": [
  6347. "行情服务"
  6348. ],
  6349. "summary": "查询行情Tik数据",
  6350. "parameters": [
  6351. {
  6352. "type": "string",
  6353. "description": "商品代码",
  6354. "name": "goodsCode",
  6355. "in": "query",
  6356. "required": true
  6357. },
  6358. {
  6359. "type": "string",
  6360. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  6361. "name": "startTime",
  6362. "in": "query"
  6363. },
  6364. {
  6365. "type": "string",
  6366. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  6367. "name": "endTime",
  6368. "in": "query"
  6369. },
  6370. {
  6371. "type": "integer",
  6372. "description": "条数",
  6373. "name": "count",
  6374. "in": "query"
  6375. },
  6376. {
  6377. "type": "boolean",
  6378. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  6379. "name": "isAsc",
  6380. "in": "query"
  6381. }
  6382. ],
  6383. "responses": {
  6384. "200": {
  6385. "description": "OK",
  6386. "schema": {
  6387. "$ref": "#/definitions/quote.HistoryTikData"
  6388. }
  6389. },
  6390. "500": {
  6391. "description": "Internal Server Error",
  6392. "schema": {
  6393. "$ref": "#/definitions/app.Response"
  6394. }
  6395. }
  6396. }
  6397. }
  6398. },
  6399. "/Quote/QueryQuoteDay": {
  6400. "get": {
  6401. "security": [
  6402. {
  6403. "ApiKeyAuth": []
  6404. }
  6405. ],
  6406. "produces": [
  6407. "application/json"
  6408. ],
  6409. "tags": [
  6410. "行情服务"
  6411. ],
  6412. "summary": "获取商品盘面信息",
  6413. "parameters": [
  6414. {
  6415. "type": "string",
  6416. "description": "商品代码列表,格式:CU2102,CU2103,AL2107",
  6417. "name": "goodsCodes",
  6418. "in": "query",
  6419. "required": true
  6420. }
  6421. ],
  6422. "responses": {
  6423. "200": {
  6424. "description": "OK",
  6425. "schema": {
  6426. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  6427. }
  6428. },
  6429. "500": {
  6430. "description": "Internal Server Error",
  6431. "schema": {
  6432. "$ref": "#/definitions/app.Response"
  6433. }
  6434. }
  6435. }
  6436. }
  6437. },
  6438. "/Quote/QueryTSData": {
  6439. "get": {
  6440. "security": [
  6441. {
  6442. "ApiKeyAuth": []
  6443. }
  6444. ],
  6445. "produces": [
  6446. "application/json"
  6447. ],
  6448. "tags": [
  6449. "行情服务"
  6450. ],
  6451. "summary": "分时图数据查询",
  6452. "parameters": [
  6453. {
  6454. "type": "string",
  6455. "description": "商品代码",
  6456. "name": "goodsCode",
  6457. "in": "query",
  6458. "required": true
  6459. }
  6460. ],
  6461. "responses": {
  6462. "200": {
  6463. "description": "OK",
  6464. "schema": {
  6465. "$ref": "#/definitions/quote.QueryTSDataRsp"
  6466. }
  6467. },
  6468. "500": {
  6469. "description": "Internal Server Error",
  6470. "schema": {
  6471. "$ref": "#/definitions/app.Response"
  6472. }
  6473. }
  6474. }
  6475. }
  6476. },
  6477. "/SZDZ/QueryConvertConfig": {
  6478. "get": {
  6479. "security": [
  6480. {
  6481. "ApiKeyAuth": []
  6482. }
  6483. ],
  6484. "produces": [
  6485. "application/json"
  6486. ],
  6487. "tags": [
  6488. "定制【尚志大宗】"
  6489. ],
  6490. "summary": "查询交易系统转换设置",
  6491. "parameters": [
  6492. {
  6493. "type": "integer",
  6494. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  6495. "name": "convertType",
  6496. "in": "query"
  6497. },
  6498. {
  6499. "type": "string",
  6500. "description": "外部商品代码[JD\\PD]",
  6501. "name": "outerGoodsCode",
  6502. "in": "query"
  6503. },
  6504. {
  6505. "type": "string",
  6506. "description": "内部商品ID列表[交易],格式:1,2,3",
  6507. "name": "innerGoodsIDs",
  6508. "in": "query"
  6509. }
  6510. ],
  6511. "responses": {
  6512. "200": {
  6513. "description": "OK",
  6514. "schema": {
  6515. "$ref": "#/definitions/models.Szdz3convertconfig"
  6516. }
  6517. },
  6518. "500": {
  6519. "description": "Internal Server Error",
  6520. "schema": {
  6521. "$ref": "#/definitions/app.Response"
  6522. }
  6523. }
  6524. }
  6525. }
  6526. },
  6527. "/SZDZ/QueryConvertLog": {
  6528. "get": {
  6529. "security": [
  6530. {
  6531. "ApiKeyAuth": []
  6532. }
  6533. ],
  6534. "produces": [
  6535. "application/json"
  6536. ],
  6537. "tags": [
  6538. "定制【尚志大宗】"
  6539. ],
  6540. "summary": "交易系统转换流水查询",
  6541. "parameters": [
  6542. {
  6543. "type": "string",
  6544. "description": "资金账户 - 格式:1,2,3",
  6545. "name": "accountID",
  6546. "in": "query",
  6547. "required": true
  6548. },
  6549. {
  6550. "type": "string",
  6551. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6552. "name": "startDate",
  6553. "in": "query"
  6554. },
  6555. {
  6556. "type": "string",
  6557. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  6558. "name": "endDate",
  6559. "in": "query"
  6560. }
  6561. ],
  6562. "responses": {
  6563. "200": {
  6564. "description": "OK",
  6565. "schema": {
  6566. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  6567. }
  6568. },
  6569. "500": {
  6570. "description": "Internal Server Error",
  6571. "schema": {
  6572. "$ref": "#/definitions/app.Response"
  6573. }
  6574. }
  6575. }
  6576. }
  6577. },
  6578. "/SZDZ/QueryGoodsPickup": {
  6579. "get": {
  6580. "security": [
  6581. {
  6582. "ApiKeyAuth": []
  6583. }
  6584. ],
  6585. "produces": [
  6586. "application/json"
  6587. ],
  6588. "tags": [
  6589. "定制【尚志大宗】"
  6590. ],
  6591. "summary": "商品提货单查询",
  6592. "parameters": [
  6593. {
  6594. "type": "string",
  6595. "description": "资金账户 - 格式:1,2,3",
  6596. "name": "accountID",
  6597. "in": "query",
  6598. "required": true
  6599. },
  6600. {
  6601. "type": "integer",
  6602. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  6603. "name": "takeOrderStatus",
  6604. "in": "query"
  6605. }
  6606. ],
  6607. "responses": {
  6608. "200": {
  6609. "description": "OK",
  6610. "schema": {
  6611. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  6612. }
  6613. },
  6614. "500": {
  6615. "description": "Internal Server Error",
  6616. "schema": {
  6617. "$ref": "#/definitions/app.Response"
  6618. }
  6619. }
  6620. }
  6621. }
  6622. },
  6623. "/SZDZ/QueryRecieptOrder": {
  6624. "get": {
  6625. "security": [
  6626. {
  6627. "ApiKeyAuth": []
  6628. }
  6629. ],
  6630. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6631. "produces": [
  6632. "application/json"
  6633. ],
  6634. "tags": [
  6635. "定制【尚志大宗】"
  6636. ],
  6637. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  6638. "parameters": [
  6639. {
  6640. "type": "integer",
  6641. "description": "页码",
  6642. "name": "page",
  6643. "in": "query"
  6644. },
  6645. {
  6646. "type": "integer",
  6647. "description": "每页条数",
  6648. "name": "pagesize",
  6649. "in": "query"
  6650. },
  6651. {
  6652. "type": "integer",
  6653. "description": "商品ID",
  6654. "name": "goodsID",
  6655. "in": "query",
  6656. "required": true
  6657. },
  6658. {
  6659. "type": "string",
  6660. "description": "所属账户名称",
  6661. "name": "accountName",
  6662. "in": "query"
  6663. },
  6664. {
  6665. "type": "integer",
  6666. "description": "市场ID",
  6667. "name": "marketID",
  6668. "in": "query"
  6669. },
  6670. {
  6671. "type": "integer",
  6672. "description": "方向 - 0:买 1:卖",
  6673. "name": "buyorsell",
  6674. "in": "query",
  6675. "required": true
  6676. }
  6677. ],
  6678. "responses": {
  6679. "200": {
  6680. "description": "OK",
  6681. "schema": {
  6682. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  6683. }
  6684. },
  6685. "500": {
  6686. "description": "Internal Server Error",
  6687. "schema": {
  6688. "$ref": "#/definitions/app.Response"
  6689. }
  6690. }
  6691. }
  6692. }
  6693. },
  6694. "/SZDZ/QuerySZDZTradePosition": {
  6695. "get": {
  6696. "security": [
  6697. {
  6698. "ApiKeyAuth": []
  6699. }
  6700. ],
  6701. "produces": [
  6702. "application/json"
  6703. ],
  6704. "tags": [
  6705. "定制【尚志大宗】"
  6706. ],
  6707. "summary": "持仓汇总查询(尚志大宗)",
  6708. "parameters": [
  6709. {
  6710. "type": "integer",
  6711. "description": "资金账户",
  6712. "name": "accountID",
  6713. "in": "query",
  6714. "required": true
  6715. }
  6716. ],
  6717. "responses": {
  6718. "200": {
  6719. "description": "OK",
  6720. "schema": {
  6721. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  6722. }
  6723. },
  6724. "500": {
  6725. "description": "Internal Server Error",
  6726. "schema": {
  6727. "$ref": "#/definitions/app.Response"
  6728. }
  6729. }
  6730. }
  6731. }
  6732. },
  6733. "/SZDZ/SearchWhite": {
  6734. "get": {
  6735. "security": [
  6736. {
  6737. "ApiKeyAuth": []
  6738. }
  6739. ],
  6740. "produces": [
  6741. "application/json"
  6742. ],
  6743. "tags": [
  6744. "定制【尚志大宗】"
  6745. ],
  6746. "summary": "搜索白名单",
  6747. "parameters": [
  6748. {
  6749. "type": "integer",
  6750. "description": "用户ID",
  6751. "name": "userID",
  6752. "in": "query",
  6753. "required": true
  6754. }
  6755. ],
  6756. "responses": {
  6757. "200": {
  6758. "description": "OK",
  6759. "schema": {
  6760. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  6761. }
  6762. },
  6763. "500": {
  6764. "description": "Internal Server Error",
  6765. "schema": {
  6766. "$ref": "#/definitions/app.Response"
  6767. }
  6768. }
  6769. }
  6770. }
  6771. },
  6772. "/Search/SearchGoodses": {
  6773. "get": {
  6774. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  6775. "produces": [
  6776. "application/json"
  6777. ],
  6778. "tags": [
  6779. "检索服务"
  6780. ],
  6781. "summary": "检索商品信息",
  6782. "parameters": [
  6783. {
  6784. "type": "string",
  6785. "description": "检索内容",
  6786. "name": "content",
  6787. "in": "query",
  6788. "required": true
  6789. },
  6790. {
  6791. "type": "string",
  6792. "description": "交易模式,格式:1,2,3",
  6793. "name": "tradeModes",
  6794. "in": "query"
  6795. }
  6796. ],
  6797. "responses": {
  6798. "200": {
  6799. "description": "OK",
  6800. "schema": {
  6801. "$ref": "#/definitions/models.SearchGoods"
  6802. }
  6803. },
  6804. "500": {
  6805. "description": "Internal Server Error",
  6806. "schema": {
  6807. "$ref": "#/definitions/app.Response"
  6808. }
  6809. }
  6810. }
  6811. }
  6812. },
  6813. "/TaAccount/GetTaAccounts": {
  6814. "get": {
  6815. "security": [
  6816. {
  6817. "ApiKeyAuth": []
  6818. }
  6819. ],
  6820. "produces": [
  6821. "application/json"
  6822. ],
  6823. "tags": [
  6824. "资金账户"
  6825. ],
  6826. "summary": "获取资金账户信息",
  6827. "parameters": [
  6828. {
  6829. "type": "integer",
  6830. "description": "登录账户",
  6831. "name": "loginID",
  6832. "in": "query",
  6833. "required": true
  6834. },
  6835. {
  6836. "type": "integer",
  6837. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  6838. "name": "taAccountType",
  6839. "in": "query"
  6840. }
  6841. ],
  6842. "responses": {
  6843. "200": {
  6844. "description": "OK",
  6845. "schema": {
  6846. "$ref": "#/definitions/models.Taaccount"
  6847. }
  6848. },
  6849. "500": {
  6850. "description": "Internal Server Error",
  6851. "schema": {
  6852. "$ref": "#/definitions/app.Response"
  6853. }
  6854. }
  6855. }
  6856. }
  6857. },
  6858. "/TaAccount/QueryAmountLog": {
  6859. "get": {
  6860. "security": [
  6861. {
  6862. "ApiKeyAuth": []
  6863. }
  6864. ],
  6865. "produces": [
  6866. "application/json"
  6867. ],
  6868. "tags": [
  6869. "资金账户"
  6870. ],
  6871. "summary": "资金流水查询(当前)",
  6872. "parameters": [
  6873. {
  6874. "type": "integer",
  6875. "description": "页码",
  6876. "name": "page",
  6877. "in": "query"
  6878. },
  6879. {
  6880. "type": "integer",
  6881. "description": "每页条数",
  6882. "name": "pagesize",
  6883. "in": "query"
  6884. },
  6885. {
  6886. "type": "string",
  6887. "description": "资金账户 - 格式:1,2,3",
  6888. "name": "accountID",
  6889. "in": "query",
  6890. "required": true
  6891. },
  6892. {
  6893. "type": "string",
  6894. "description": "资金操作类型 - 格式:1,2,3",
  6895. "name": "OperateType",
  6896. "in": "query"
  6897. }
  6898. ],
  6899. "responses": {
  6900. "200": {
  6901. "description": "OK",
  6902. "schema": {
  6903. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  6904. }
  6905. },
  6906. "500": {
  6907. "description": "Internal Server Error",
  6908. "schema": {
  6909. "$ref": "#/definitions/app.Response"
  6910. }
  6911. }
  6912. }
  6913. }
  6914. },
  6915. "/TaAccount/QueryHisAmountLog": {
  6916. "get": {
  6917. "security": [
  6918. {
  6919. "ApiKeyAuth": []
  6920. }
  6921. ],
  6922. "produces": [
  6923. "application/json"
  6924. ],
  6925. "tags": [
  6926. "资金账户"
  6927. ],
  6928. "summary": "资金流水查询(历史)",
  6929. "parameters": [
  6930. {
  6931. "type": "integer",
  6932. "description": "页码",
  6933. "name": "page",
  6934. "in": "query"
  6935. },
  6936. {
  6937. "type": "integer",
  6938. "description": "每页条数",
  6939. "name": "pagesize",
  6940. "in": "query"
  6941. },
  6942. {
  6943. "type": "string",
  6944. "description": "资金账户 - 格式:1,2,3",
  6945. "name": "accountID",
  6946. "in": "query",
  6947. "required": true
  6948. },
  6949. {
  6950. "type": "string",
  6951. "description": "资金操作类型 - 格式:1,2,3",
  6952. "name": "OperateType",
  6953. "in": "query"
  6954. },
  6955. {
  6956. "type": "string",
  6957. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  6958. "name": "startDate",
  6959. "in": "query"
  6960. },
  6961. {
  6962. "type": "string",
  6963. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  6964. "name": "endDate",
  6965. "in": "query"
  6966. }
  6967. ],
  6968. "responses": {
  6969. "200": {
  6970. "description": "OK",
  6971. "schema": {
  6972. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  6973. }
  6974. },
  6975. "500": {
  6976. "description": "Internal Server Error",
  6977. "schema": {
  6978. "$ref": "#/definitions/app.Response"
  6979. }
  6980. }
  6981. }
  6982. }
  6983. },
  6984. "/Trade/QueryRecieptOrder": {
  6985. "get": {
  6986. "security": [
  6987. {
  6988. "ApiKeyAuth": []
  6989. }
  6990. ],
  6991. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  6992. "produces": [
  6993. "application/json"
  6994. ],
  6995. "tags": [
  6996. "通用交易"
  6997. ],
  6998. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  6999. "parameters": [
  7000. {
  7001. "type": "integer",
  7002. "description": "页码",
  7003. "name": "page",
  7004. "in": "query"
  7005. },
  7006. {
  7007. "type": "integer",
  7008. "description": "每页条数",
  7009. "name": "pagesize",
  7010. "in": "query"
  7011. },
  7012. {
  7013. "type": "integer",
  7014. "description": "商品ID",
  7015. "name": "goodsID",
  7016. "in": "query",
  7017. "required": true
  7018. },
  7019. {
  7020. "type": "string",
  7021. "description": "所属账户名称",
  7022. "name": "accountName",
  7023. "in": "query"
  7024. },
  7025. {
  7026. "type": "integer",
  7027. "description": "市场ID",
  7028. "name": "marketID",
  7029. "in": "query"
  7030. },
  7031. {
  7032. "type": "integer",
  7033. "description": "方向 - 0:买 1:卖",
  7034. "name": "buyorsell",
  7035. "in": "query",
  7036. "required": true
  7037. }
  7038. ],
  7039. "responses": {
  7040. "200": {
  7041. "description": "OK",
  7042. "schema": {
  7043. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  7044. }
  7045. },
  7046. "500": {
  7047. "description": "Internal Server Error",
  7048. "schema": {
  7049. "$ref": "#/definitions/app.Response"
  7050. }
  7051. }
  7052. }
  7053. }
  7054. },
  7055. "/User/AddMessageBoard": {
  7056. "post": {
  7057. "security": [
  7058. {
  7059. "ApiKeyAuth": []
  7060. }
  7061. ],
  7062. "produces": [
  7063. "application/json"
  7064. ],
  7065. "tags": [
  7066. "用户信息"
  7067. ],
  7068. "summary": "添加用户留言板信息",
  7069. "parameters": [
  7070. {
  7071. "type": "integer",
  7072. "description": "用户ID",
  7073. "name": "userID",
  7074. "in": "query",
  7075. "required": true
  7076. },
  7077. {
  7078. "type": "string",
  7079. "description": "留言信息",
  7080. "name": "message",
  7081. "in": "query",
  7082. "required": true
  7083. },
  7084. {
  7085. "type": "string",
  7086. "description": "联系电话",
  7087. "name": "contactNum",
  7088. "in": "query",
  7089. "required": true
  7090. }
  7091. ],
  7092. "responses": {
  7093. "200": {
  7094. "description": "OK",
  7095. "schema": {
  7096. "$ref": "#/definitions/app.Response"
  7097. }
  7098. },
  7099. "500": {
  7100. "description": "Internal Server Error",
  7101. "schema": {
  7102. "$ref": "#/definitions/app.Response"
  7103. }
  7104. }
  7105. }
  7106. }
  7107. },
  7108. "/User/AddUserFavoriteGoods": {
  7109. "post": {
  7110. "security": [
  7111. {
  7112. "ApiKeyAuth": []
  7113. }
  7114. ],
  7115. "produces": [
  7116. "application/json"
  7117. ],
  7118. "tags": [
  7119. "用户信息"
  7120. ],
  7121. "summary": "添加用户商品收藏信息",
  7122. "parameters": [
  7123. {
  7124. "type": "integer",
  7125. "description": "用户ID",
  7126. "name": "userID",
  7127. "in": "query",
  7128. "required": true
  7129. },
  7130. {
  7131. "type": "integer",
  7132. "description": "商品ID",
  7133. "name": "goodsID",
  7134. "in": "query",
  7135. "required": true
  7136. }
  7137. ],
  7138. "responses": {
  7139. "200": {
  7140. "description": "OK",
  7141. "schema": {
  7142. "$ref": "#/definitions/app.Response"
  7143. }
  7144. },
  7145. "500": {
  7146. "description": "Internal Server Error",
  7147. "schema": {
  7148. "$ref": "#/definitions/app.Response"
  7149. }
  7150. }
  7151. }
  7152. }
  7153. },
  7154. "/User/GetLoginID": {
  7155. "get": {
  7156. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  7157. "produces": [
  7158. "application/json"
  7159. ],
  7160. "tags": [
  7161. "用户信息"
  7162. ],
  7163. "summary": "获取登录ID",
  7164. "parameters": [
  7165. {
  7166. "type": "string",
  7167. "description": "登录代码",
  7168. "name": "username",
  7169. "in": "query",
  7170. "required": true
  7171. }
  7172. ],
  7173. "responses": {
  7174. "200": {
  7175. "description": "OK",
  7176. "schema": {
  7177. "$ref": "#/definitions/app.Response"
  7178. }
  7179. },
  7180. "500": {
  7181. "description": "Internal Server Error",
  7182. "schema": {
  7183. "$ref": "#/definitions/app.Response"
  7184. }
  7185. }
  7186. }
  7187. }
  7188. },
  7189. "/User/GetUserAccount": {
  7190. "get": {
  7191. "security": [
  7192. {
  7193. "ApiKeyAuth": []
  7194. }
  7195. ],
  7196. "produces": [
  7197. "application/json"
  7198. ],
  7199. "tags": [
  7200. "用户信息"
  7201. ],
  7202. "summary": "获取用户账号信息",
  7203. "parameters": [
  7204. {
  7205. "type": "integer",
  7206. "description": "用户ID",
  7207. "name": "userID",
  7208. "in": "query",
  7209. "required": true
  7210. }
  7211. ],
  7212. "responses": {
  7213. "200": {
  7214. "description": "OK",
  7215. "schema": {
  7216. "$ref": "#/definitions/models.Useraccount"
  7217. }
  7218. },
  7219. "500": {
  7220. "description": "Internal Server Error",
  7221. "schema": {
  7222. "$ref": "#/definitions/app.Response"
  7223. }
  7224. }
  7225. }
  7226. }
  7227. },
  7228. "/User/GetUserAuthStatus": {
  7229. "get": {
  7230. "security": [
  7231. {
  7232. "ApiKeyAuth": []
  7233. }
  7234. ],
  7235. "produces": [
  7236. "application/json"
  7237. ],
  7238. "tags": [
  7239. "用户信息"
  7240. ],
  7241. "summary": "获取用户实名认证状态",
  7242. "parameters": [
  7243. {
  7244. "type": "integer",
  7245. "description": "用户ID",
  7246. "name": "userID",
  7247. "in": "query",
  7248. "required": true
  7249. }
  7250. ],
  7251. "responses": {
  7252. "200": {
  7253. "description": "OK",
  7254. "schema": {
  7255. "$ref": "#/definitions/app.Response"
  7256. }
  7257. },
  7258. "500": {
  7259. "description": "Internal Server Error",
  7260. "schema": {
  7261. "$ref": "#/definitions/app.Response"
  7262. }
  7263. }
  7264. }
  7265. }
  7266. },
  7267. "/User/LoginQuery": {
  7268. "get": {
  7269. "security": [
  7270. {
  7271. "ApiKeyAuth": []
  7272. }
  7273. ],
  7274. "produces": [
  7275. "application/json"
  7276. ],
  7277. "tags": [
  7278. "用户信息"
  7279. ],
  7280. "summary": "账户登录后信息查询",
  7281. "parameters": [
  7282. {
  7283. "type": "integer",
  7284. "description": "登录账号",
  7285. "name": "loginID",
  7286. "in": "query",
  7287. "required": true
  7288. }
  7289. ],
  7290. "responses": {
  7291. "200": {
  7292. "description": "OK",
  7293. "schema": {
  7294. "$ref": "#/definitions/user.LoginQueryRsp"
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/User/QueryMessageBoard": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "用户信息"
  7318. ],
  7319. "summary": "获取用户留言板信息",
  7320. "parameters": [
  7321. {
  7322. "type": "integer",
  7323. "description": "用户ID",
  7324. "name": "userID",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "$ref": "#/definitions/models.Messageboard"
  7334. }
  7335. },
  7336. "500": {
  7337. "description": "Internal Server Error",
  7338. "schema": {
  7339. "$ref": "#/definitions/app.Response"
  7340. }
  7341. }
  7342. }
  7343. }
  7344. },
  7345. "/User/QueryUserFavoriteGoodses": {
  7346. "get": {
  7347. "security": [
  7348. {
  7349. "ApiKeyAuth": []
  7350. }
  7351. ],
  7352. "produces": [
  7353. "application/json"
  7354. ],
  7355. "tags": [
  7356. "用户信息"
  7357. ],
  7358. "summary": "获取用户商品收藏信息",
  7359. "parameters": [
  7360. {
  7361. "type": "integer",
  7362. "description": "用户ID",
  7363. "name": "userID",
  7364. "in": "query",
  7365. "required": true
  7366. }
  7367. ],
  7368. "responses": {
  7369. "200": {
  7370. "description": "OK",
  7371. "schema": {
  7372. "$ref": "#/definitions/models.Userfavoritegoods"
  7373. }
  7374. },
  7375. "500": {
  7376. "description": "Internal Server Error",
  7377. "schema": {
  7378. "$ref": "#/definitions/app.Response"
  7379. }
  7380. }
  7381. }
  7382. }
  7383. },
  7384. "/User/QueryUserInfo": {
  7385. "get": {
  7386. "security": [
  7387. {
  7388. "ApiKeyAuth": []
  7389. }
  7390. ],
  7391. "produces": [
  7392. "application/json"
  7393. ],
  7394. "tags": [
  7395. "用户信息"
  7396. ],
  7397. "summary": "获取用户信息",
  7398. "parameters": [
  7399. {
  7400. "type": "integer",
  7401. "description": "用户ID",
  7402. "name": "userID",
  7403. "in": "query",
  7404. "required": true
  7405. },
  7406. {
  7407. "type": "boolean",
  7408. "description": "是否解密",
  7409. "name": "isDecrypt",
  7410. "in": "query"
  7411. }
  7412. ],
  7413. "responses": {
  7414. "200": {
  7415. "description": "OK",
  7416. "schema": {
  7417. "$ref": "#/definitions/models.Userinfo"
  7418. }
  7419. },
  7420. "500": {
  7421. "description": "Internal Server Error",
  7422. "schema": {
  7423. "$ref": "#/definitions/app.Response"
  7424. }
  7425. }
  7426. }
  7427. }
  7428. },
  7429. "/User/QueryUserReferNum": {
  7430. "get": {
  7431. "produces": [
  7432. "application/json"
  7433. ],
  7434. "tags": [
  7435. "用户信息"
  7436. ],
  7437. "summary": "获取用户邀请码",
  7438. "parameters": [
  7439. {
  7440. "type": "integer",
  7441. "description": "用户ID",
  7442. "name": "userID",
  7443. "in": "query",
  7444. "required": true
  7445. }
  7446. ],
  7447. "responses": {
  7448. "200": {
  7449. "description": "OK",
  7450. "schema": {
  7451. "$ref": "#/definitions/app.Response"
  7452. }
  7453. },
  7454. "500": {
  7455. "description": "Internal Server Error",
  7456. "schema": {
  7457. "$ref": "#/definitions/app.Response"
  7458. }
  7459. }
  7460. }
  7461. }
  7462. },
  7463. "/User/RemoveUserFavoriteGoods": {
  7464. "post": {
  7465. "security": [
  7466. {
  7467. "ApiKeyAuth": []
  7468. }
  7469. ],
  7470. "produces": [
  7471. "application/json"
  7472. ],
  7473. "tags": [
  7474. "用户信息"
  7475. ],
  7476. "summary": "移除用户商品收藏信息",
  7477. "parameters": [
  7478. {
  7479. "type": "integer",
  7480. "description": "用户ID",
  7481. "name": "userID",
  7482. "in": "query",
  7483. "required": true
  7484. },
  7485. {
  7486. "type": "integer",
  7487. "description": "商品ID",
  7488. "name": "goodsID",
  7489. "in": "query",
  7490. "required": true
  7491. }
  7492. ],
  7493. "responses": {
  7494. "200": {
  7495. "description": "OK",
  7496. "schema": {
  7497. "$ref": "#/definitions/app.Response"
  7498. }
  7499. },
  7500. "500": {
  7501. "description": "Internal Server Error",
  7502. "schema": {
  7503. "$ref": "#/definitions/app.Response"
  7504. }
  7505. }
  7506. }
  7507. }
  7508. },
  7509. "/User/UpdateUserAccountStatus": {
  7510. "post": {
  7511. "security": [
  7512. {
  7513. "ApiKeyAuth": []
  7514. }
  7515. ],
  7516. "produces": [
  7517. "application/json"
  7518. ],
  7519. "tags": [
  7520. "用户信息"
  7521. ],
  7522. "summary": "更新用户状态",
  7523. "parameters": [
  7524. {
  7525. "type": "integer",
  7526. "description": "用户ID",
  7527. "name": "userID",
  7528. "in": "query",
  7529. "required": true
  7530. },
  7531. {
  7532. "type": "integer",
  7533. "description": "账户状态 - 4:正常 6:注销(停用)",
  7534. "name": "accountStatus",
  7535. "in": "query",
  7536. "required": true
  7537. }
  7538. ],
  7539. "responses": {
  7540. "200": {
  7541. "description": "OK",
  7542. "schema": {
  7543. "$ref": "#/definitions/app.Response"
  7544. }
  7545. },
  7546. "500": {
  7547. "description": "Internal Server Error",
  7548. "schema": {
  7549. "$ref": "#/definitions/app.Response"
  7550. }
  7551. }
  7552. }
  7553. }
  7554. },
  7555. "/WR/GetWRCategoryInfo": {
  7556. "get": {
  7557. "produces": [
  7558. "application/json"
  7559. ],
  7560. "tags": [
  7561. "仓单服务"
  7562. ],
  7563. "summary": "获取现货分类信息",
  7564. "responses": {
  7565. "200": {
  7566. "description": "OK",
  7567. "schema": {
  7568. "$ref": "#/definitions/models.WRCategoryTree"
  7569. }
  7570. },
  7571. "500": {
  7572. "description": "Internal Server Error",
  7573. "schema": {
  7574. "$ref": "#/definitions/app.Response"
  7575. }
  7576. }
  7577. }
  7578. }
  7579. },
  7580. "/WRTrade/GetAllDeliveryGoods": {
  7581. "get": {
  7582. "security": [
  7583. {
  7584. "ApiKeyAuth": []
  7585. },
  7586. {
  7587. "ApiKeyAuth": []
  7588. }
  7589. ],
  7590. "produces": [
  7591. "application/json",
  7592. "application/json"
  7593. ],
  7594. "tags": [
  7595. "仓单贸易",
  7596. "仓单贸易"
  7597. ],
  7598. "summary": "获取带仓单分类的种类信息",
  7599. "responses": {
  7600. "200": {
  7601. "description": "OK",
  7602. "schema": {
  7603. "$ref": "#/definitions/app.Response"
  7604. }
  7605. },
  7606. "500": {
  7607. "description": "Internal Server Error",
  7608. "schema": {
  7609. "$ref": "#/definitions/app.Response"
  7610. }
  7611. }
  7612. }
  7613. }
  7614. }
  7615. },
  7616. "definitions": {
  7617. "app.Response": {
  7618. "type": "object",
  7619. "properties": {
  7620. "code": {
  7621. "type": "integer"
  7622. },
  7623. "data": {
  7624. "type": "object"
  7625. },
  7626. "msg": {
  7627. "type": "string"
  7628. },
  7629. "page": {
  7630. "description": "页码",
  7631. "type": "integer"
  7632. },
  7633. "pagesize": {
  7634. "description": "每页条数",
  7635. "type": "integer"
  7636. },
  7637. "total": {
  7638. "description": "总条数",
  7639. "type": "integer"
  7640. }
  7641. }
  7642. },
  7643. "common.ClientMenu": {
  7644. "type": "object",
  7645. "properties": {
  7646. "children": {
  7647. "description": "子菜单列表",
  7648. "type": "array",
  7649. "items": {
  7650. "$ref": "#/definitions/common.ClientMenu"
  7651. }
  7652. },
  7653. "code": {
  7654. "description": "ID",
  7655. "type": "string"
  7656. },
  7657. "isshow": {
  7658. "description": "是否显示",
  7659. "type": "boolean"
  7660. },
  7661. "rulekey": {
  7662. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  7663. "type": "string"
  7664. },
  7665. "sort": {
  7666. "description": "排序",
  7667. "type": "integer"
  7668. },
  7669. "title": {
  7670. "description": "标题",
  7671. "type": "string"
  7672. },
  7673. "type": {
  7674. "description": "类型,1:菜单 2:按钮",
  7675. "type": "integer"
  7676. }
  7677. }
  7678. },
  7679. "common.QueryImageConfigsRsp": {
  7680. "type": "object",
  7681. "required": [
  7682. "configid"
  7683. ],
  7684. "properties": {
  7685. "areauserid": {
  7686. "description": "所属机构ID",
  7687. "type": "integer"
  7688. },
  7689. "configid": {
  7690. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  7691. "type": "integer"
  7692. },
  7693. "createdate": {
  7694. "description": "创建时间",
  7695. "type": "string"
  7696. },
  7697. "creatorid": {
  7698. "description": "创建人",
  7699. "type": "integer"
  7700. },
  7701. "imagepath": {
  7702. "description": "图片",
  7703. "type": "string"
  7704. },
  7705. "imagetype": {
  7706. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  7707. "type": "integer"
  7708. },
  7709. "isshow": {
  7710. "description": "是否展示 - 0:不展示 1:展示",
  7711. "type": "integer"
  7712. },
  7713. "marketid": {
  7714. "description": "市场ID",
  7715. "type": "integer"
  7716. },
  7717. "modifierid": {
  7718. "description": "操作人",
  7719. "type": "integer"
  7720. },
  7721. "sort": {
  7722. "description": "排序",
  7723. "type": "integer"
  7724. },
  7725. "title": {
  7726. "description": "标题",
  7727. "type": "string"
  7728. },
  7729. "trademode": {
  7730. "description": "交易模式",
  7731. "type": "integer"
  7732. },
  7733. "updatedate": {
  7734. "description": "修改时间",
  7735. "type": "string"
  7736. },
  7737. "url": {
  7738. "description": "链接(地址或商品ID)",
  7739. "type": "string"
  7740. },
  7741. "urltype": {
  7742. "description": "链接类型 - 1:直接地址 2:商品ID",
  7743. "type": "integer"
  7744. }
  7745. }
  7746. },
  7747. "common.QueryNoticeRsp": {
  7748. "type": "object",
  7749. "required": [
  7750. "autoid"
  7751. ],
  7752. "properties": {
  7753. "auditoruserid": {
  7754. "description": "审核人",
  7755. "type": "integer"
  7756. },
  7757. "auditremark": {
  7758. "description": "审核备注",
  7759. "type": "string"
  7760. },
  7761. "audittime": {
  7762. "description": "审核日期",
  7763. "type": "string"
  7764. },
  7765. "autoid": {
  7766. "description": "自增ID",
  7767. "type": "integer"
  7768. },
  7769. "content": {
  7770. "description": "内容",
  7771. "type": "string"
  7772. },
  7773. "createtime": {
  7774. "description": "创建时间",
  7775. "type": "string"
  7776. },
  7777. "creatorid": {
  7778. "description": "建仓人",
  7779. "type": "integer"
  7780. },
  7781. "endtime": {
  7782. "description": "结束时间",
  7783. "type": "string"
  7784. },
  7785. "istop": {
  7786. "description": "是否置顶 - 0:不置顶 1:置顶",
  7787. "type": "integer"
  7788. },
  7789. "msgiconurl": {
  7790. "description": "消息图标Url",
  7791. "type": "string"
  7792. },
  7793. "msgtype": {
  7794. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  7795. "type": "integer"
  7796. },
  7797. "publisher": {
  7798. "description": "消息发布者",
  7799. "type": "string"
  7800. },
  7801. "readed": {
  7802. "description": "是否已读",
  7803. "type": "boolean"
  7804. },
  7805. "scheduletime": {
  7806. "description": "计划发送时间",
  7807. "type": "string"
  7808. },
  7809. "sendtype": {
  7810. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  7811. "type": "integer"
  7812. },
  7813. "sentstatus": {
  7814. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  7815. "type": "integer"
  7816. },
  7817. "title": {
  7818. "description": "标题",
  7819. "type": "string"
  7820. },
  7821. "userid": {
  7822. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  7823. "type": "integer"
  7824. }
  7825. }
  7826. },
  7827. "common.QueryProvincesAndCitiesRsp": {
  7828. "type": "object",
  7829. "properties": {
  7830. "cities": {
  7831. "description": "市",
  7832. "type": "array",
  7833. "items": {
  7834. "$ref": "#/definitions/models.Division"
  7835. }
  7836. },
  7837. "province": {
  7838. "description": "省",
  7839. "type": "object",
  7840. "$ref": "#/definitions/models.Division"
  7841. }
  7842. }
  7843. },
  7844. "common.QueryTableDefineRsp": {
  7845. "type": "object",
  7846. "required": [
  7847. "tablekey"
  7848. ],
  7849. "properties": {
  7850. "columns": {
  7851. "description": "列头信息数组",
  7852. "type": "array",
  7853. "items": {
  7854. "$ref": "#/definitions/models.Tablecolumnconfig"
  7855. }
  7856. },
  7857. "remark": {
  7858. "description": "Remark",
  7859. "type": "string"
  7860. },
  7861. "tabelmenu": {
  7862. "description": "列表菜单",
  7863. "type": "string"
  7864. },
  7865. "tablekey": {
  7866. "description": "列表Key",
  7867. "type": "string"
  7868. },
  7869. "tablename": {
  7870. "description": "列表名称",
  7871. "type": "string"
  7872. },
  7873. "tabletype": {
  7874. "description": "列表类型 - 1:管理端 2:终端",
  7875. "type": "integer"
  7876. }
  7877. }
  7878. },
  7879. "common.QueryTraderMenuRsp": {
  7880. "type": "object",
  7881. "properties": {
  7882. "OperationMenu": {
  7883. "description": "功能菜单",
  7884. "type": "array",
  7885. "items": {
  7886. "$ref": "#/definitions/models.OperationPrimaryMenu"
  7887. }
  7888. },
  7889. "QuoteMenu": {
  7890. "description": "报价牌分类菜单",
  7891. "type": "array",
  7892. "items": {
  7893. "$ref": "#/definitions/models.QuotePrimaryMenu"
  7894. }
  7895. }
  7896. }
  7897. },
  7898. "cptrade.Cptradepositioncancel": {
  7899. "type": "object",
  7900. "required": [
  7901. "cancelid"
  7902. ],
  7903. "properties": {
  7904. "accountid": {
  7905. "description": "申请人账户ID",
  7906. "type": "integer"
  7907. },
  7908. "applystatus": {
  7909. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7910. "type": "integer"
  7911. },
  7912. "applytime": {
  7913. "description": "申请时间",
  7914. "type": "string"
  7915. },
  7916. "cancelid": {
  7917. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  7918. "type": "integer"
  7919. },
  7920. "cancelqty": {
  7921. "description": "注销数量",
  7922. "type": "integer"
  7923. },
  7924. "createtime": {
  7925. "description": "创建时间",
  7926. "type": "string"
  7927. },
  7928. "creatorid": {
  7929. "description": "创建人ID",
  7930. "type": "integer"
  7931. },
  7932. "creatorname": {
  7933. "description": "创建人",
  7934. "type": "string"
  7935. },
  7936. "goodscode": {
  7937. "description": "订单商品代码",
  7938. "type": "string"
  7939. },
  7940. "goodsid": {
  7941. "description": "商品ID",
  7942. "type": "integer"
  7943. },
  7944. "goodsname": {
  7945. "description": "订单商品名称",
  7946. "type": "string"
  7947. },
  7948. "goodunit": {
  7949. "description": "报价单位",
  7950. "type": "string"
  7951. },
  7952. "handlestatus": {
  7953. "description": "处理状态",
  7954. "type": "integer"
  7955. },
  7956. "marketid": {
  7957. "description": "市场ID",
  7958. "type": "integer"
  7959. },
  7960. "marketname": {
  7961. "description": "市场名称",
  7962. "type": "string"
  7963. },
  7964. "tradedate": {
  7965. "description": "交易日(yyyyMMdd)",
  7966. "type": "string"
  7967. },
  7968. "userid": {
  7969. "description": "申请人ID",
  7970. "type": "integer"
  7971. }
  7972. }
  7973. },
  7974. "cptrade.Cptradepresaleapply": {
  7975. "type": "object",
  7976. "required": [
  7977. "applyid"
  7978. ],
  7979. "properties": {
  7980. "accountid": {
  7981. "description": "申请人账户ID",
  7982. "type": "integer"
  7983. },
  7984. "applyid": {
  7985. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  7986. "type": "integer"
  7987. },
  7988. "applyremark": {
  7989. "description": "申请备注",
  7990. "type": "string"
  7991. },
  7992. "applystatus": {
  7993. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  7994. "type": "integer"
  7995. },
  7996. "applytime": {
  7997. "description": "申请时间",
  7998. "type": "string"
  7999. },
  8000. "attachmenturl": {
  8001. "description": "附件地址",
  8002. "type": "string"
  8003. },
  8004. "endtime": {
  8005. "description": "预售结束时间",
  8006. "type": "string"
  8007. },
  8008. "goodscode": {
  8009. "description": "商品代码",
  8010. "type": "string"
  8011. },
  8012. "goodsid": {
  8013. "description": "商品ID",
  8014. "type": "integer"
  8015. },
  8016. "goodsname": {
  8017. "description": "商品名称",
  8018. "type": "string"
  8019. },
  8020. "goodunit": {
  8021. "description": "报价单位",
  8022. "type": "string"
  8023. },
  8024. "handlestatus": {
  8025. "description": "处理状态",
  8026. "type": "integer"
  8027. },
  8028. "marketid": {
  8029. "description": "预售市场ID",
  8030. "type": "integer"
  8031. },
  8032. "marketname": {
  8033. "description": "预售市场名称",
  8034. "type": "string"
  8035. },
  8036. "presaleqty": {
  8037. "description": "预售数量",
  8038. "type": "integer"
  8039. },
  8040. "relatedgoodscode": {
  8041. "description": "关联交易合约代码",
  8042. "type": "string"
  8043. },
  8044. "relatedgoodsid": {
  8045. "description": "关联交易合约ID",
  8046. "type": "integer"
  8047. },
  8048. "relatedgoodsname": {
  8049. "description": "关联交易合约名称",
  8050. "type": "string"
  8051. },
  8052. "starttime": {
  8053. "description": "预售开始时间",
  8054. "type": "string"
  8055. },
  8056. "tradedate": {
  8057. "description": "交易日(yyyyMMdd)",
  8058. "type": "string"
  8059. },
  8060. "trademode": {
  8061. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  8062. "type": "integer"
  8063. },
  8064. "userid": {
  8065. "description": "申请人ID",
  8066. "type": "integer"
  8067. }
  8068. }
  8069. },
  8070. "cptrade.Cptradeusergoodsdata": {
  8071. "type": "object",
  8072. "required": [
  8073. "accountid",
  8074. "goodsid"
  8075. ],
  8076. "properties": {
  8077. "EnabledQty": {
  8078. "description": "可用量",
  8079. "type": "integer"
  8080. },
  8081. "GoodsCode": {
  8082. "description": "订单商品代码",
  8083. "type": "string"
  8084. },
  8085. "GoodsName": {
  8086. "description": "订单商品名称",
  8087. "type": "string"
  8088. },
  8089. "WRStandardCode": {
  8090. "description": "仓单标准代码",
  8091. "type": "string"
  8092. },
  8093. "WRStandardName": {
  8094. "description": "仓单标准名称",
  8095. "type": "string"
  8096. },
  8097. "accountid": {
  8098. "description": "账户ID",
  8099. "type": "integer"
  8100. },
  8101. "cancelqty": {
  8102. "description": "注销量",
  8103. "type": "integer"
  8104. },
  8105. "curpresaleqty": {
  8106. "description": "当前预售量",
  8107. "type": "integer"
  8108. },
  8109. "deliveryqty": {
  8110. "description": "交割量",
  8111. "type": "integer"
  8112. },
  8113. "freezeamount": {
  8114. "description": "冻结金额",
  8115. "type": "number"
  8116. },
  8117. "goodsid": {
  8118. "description": "商品ID",
  8119. "type": "integer"
  8120. },
  8121. "goodunit": {
  8122. "description": "报价单位",
  8123. "type": "string"
  8124. },
  8125. "hasspotfreeze": {
  8126. "description": "是否有现货冻结 - 0:否 1:有",
  8127. "type": "integer"
  8128. },
  8129. "inqty": {
  8130. "description": "转入量(总数量)",
  8131. "type": "integer"
  8132. },
  8133. "marketid": {
  8134. "description": "市场ID",
  8135. "type": "integer"
  8136. },
  8137. "presaledamount": {
  8138. "description": "已预售总金额",
  8139. "type": "integer"
  8140. },
  8141. "presaledqty": {
  8142. "description": "已预售量",
  8143. "type": "integer"
  8144. },
  8145. "userid": {
  8146. "description": "用户ID",
  8147. "type": "integer"
  8148. },
  8149. "wrstandardid": {
  8150. "description": "仓单标准ID",
  8151. "type": "integer"
  8152. }
  8153. }
  8154. },
  8155. "cptrade.QueryCPTradeMyBidRsp": {
  8156. "type": "object",
  8157. "required": [
  8158. "accountid",
  8159. "goodsid",
  8160. "marketid",
  8161. "orderid",
  8162. "orderqty",
  8163. "ordertime",
  8164. "tradeprice",
  8165. "tradeqty"
  8166. ],
  8167. "properties": {
  8168. "accountid": {
  8169. "description": "账户ID[报价币种]",
  8170. "type": "integer"
  8171. },
  8172. "goodsid": {
  8173. "description": "商品ID",
  8174. "type": "integer"
  8175. },
  8176. "goodunit": {
  8177. "description": "报价单位",
  8178. "type": "string"
  8179. },
  8180. "marketid": {
  8181. "description": "市场ID",
  8182. "type": "integer"
  8183. },
  8184. "orderid": {
  8185. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8186. "type": "integer"
  8187. },
  8188. "orderprice": {
  8189. "description": "委托价格",
  8190. "type": "number"
  8191. },
  8192. "orderqty": {
  8193. "description": "委托数量",
  8194. "type": "integer"
  8195. },
  8196. "ordertime": {
  8197. "description": "委托时间",
  8198. "type": "string"
  8199. },
  8200. "ordertotalprice": {
  8201. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  8202. "type": "number"
  8203. },
  8204. "ordertotalweight": {
  8205. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  8206. "type": "integer"
  8207. },
  8208. "totaltotalprice": {
  8209. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  8210. "type": "number"
  8211. },
  8212. "tradeprice": {
  8213. "description": "成交价格",
  8214. "type": "number"
  8215. },
  8216. "tradeqty": {
  8217. "description": "成交数量",
  8218. "type": "integer"
  8219. }
  8220. }
  8221. },
  8222. "cptrade.QueryCPTradeOrderDetailRsq": {
  8223. "type": "object",
  8224. "required": [
  8225. "accountid",
  8226. "buildtype",
  8227. "buyorsell",
  8228. "goodsid",
  8229. "marketid",
  8230. "memberuserid",
  8231. "operatetype",
  8232. "orderqty",
  8233. "ordertime",
  8234. "pricemode",
  8235. "strorderid",
  8236. "tradedate",
  8237. "validtype"
  8238. ],
  8239. "properties": {
  8240. "accountid": {
  8241. "description": "账户ID[报价币种]",
  8242. "type": "integer"
  8243. },
  8244. "buildtype": {
  8245. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  8246. "type": "integer"
  8247. },
  8248. "buyorsell": {
  8249. "description": "买卖 - 0:买 1:卖",
  8250. "type": "integer"
  8251. },
  8252. "cancelorderid": {
  8253. "description": "撤单单号(撤单时填写)",
  8254. "type": "integer"
  8255. },
  8256. "cancelqty": {
  8257. "description": "撤单数量",
  8258. "type": "integer"
  8259. },
  8260. "clientordertime": {
  8261. "description": "客户端委托时间",
  8262. "type": "string"
  8263. },
  8264. "clientticket": {
  8265. "description": "客户端流水号",
  8266. "type": "string"
  8267. },
  8268. "clienttype": {
  8269. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  8270. "type": "integer"
  8271. },
  8272. "closeexchagechargevalue": {
  8273. "description": "平仓交易所手续费设置值",
  8274. "type": "number"
  8275. },
  8276. "closefeealgorithm": {
  8277. "description": "平仓手续费收取方式 1:比率 2:固定",
  8278. "type": "integer"
  8279. },
  8280. "closefreezecharge": {
  8281. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  8282. "type": "number"
  8283. },
  8284. "closememberchargevalue": {
  8285. "description": "平仓会员手续费设置值",
  8286. "type": "number"
  8287. },
  8288. "closeqty": {
  8289. "description": "平仓数量(先建后平操作 需要记录)",
  8290. "type": "integer"
  8291. },
  8292. "closetradeqty": {
  8293. "description": "平仓成交数量(先建后平操作,需要记录)",
  8294. "type": "integer"
  8295. },
  8296. "closeunfreezecharge": {
  8297. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  8298. "type": "number"
  8299. },
  8300. "delistingtype": {
  8301. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  8302. "type": "integer"
  8303. },
  8304. "freezecharge": {
  8305. "description": "冻结手续费",
  8306. "type": "number"
  8307. },
  8308. "freezemargin": {
  8309. "description": "冻结保证金(冻结交易金额)",
  8310. "type": "number"
  8311. },
  8312. "gcaccountid": {
  8313. "description": "账户ID[合约币种]",
  8314. "type": "integer"
  8315. },
  8316. "goodsid": {
  8317. "description": "商品ID",
  8318. "type": "integer"
  8319. },
  8320. "isconfirmexercise": {
  8321. "description": "是否确认行权- 0:否 1:是",
  8322. "type": "integer"
  8323. },
  8324. "ispreexercise": {
  8325. "description": "是否预申报- 0:否 1:是",
  8326. "type": "integer"
  8327. },
  8328. "listingselecttype": {
  8329. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  8330. "type": "integer"
  8331. },
  8332. "marginalgorithm": {
  8333. "description": "保证金收取方式 1:比率 2:固定",
  8334. "type": "integer"
  8335. },
  8336. "marginvalue": {
  8337. "description": "即市保证金设置值",
  8338. "type": "number"
  8339. },
  8340. "marketid": {
  8341. "description": "市场ID",
  8342. "type": "integer"
  8343. },
  8344. "marketmaxsub": {
  8345. "description": "市价最大偏移范围",
  8346. "type": "number"
  8347. },
  8348. "memberuserid": {
  8349. "description": "所属会员UserID",
  8350. "type": "integer"
  8351. },
  8352. "openexchagechargevalue": {
  8353. "description": "建仓交易所手续费设置值",
  8354. "type": "number"
  8355. },
  8356. "openfeealgorithm": {
  8357. "description": "建仓手续费收取方式 1:比率 2:固定",
  8358. "type": "integer"
  8359. },
  8360. "openfreezecharge": {
  8361. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  8362. "type": "number"
  8363. },
  8364. "openmemberchargevalue": {
  8365. "description": "建仓会员手续费设置值",
  8366. "type": "number"
  8367. },
  8368. "openqty": {
  8369. "description": "开仓数量(先建后平操作,需要记录)",
  8370. "type": "integer"
  8371. },
  8372. "opentradeqty": {
  8373. "description": "开仓成交数量(先建后平操作,需要记录)",
  8374. "type": "integer"
  8375. },
  8376. "openunfreezecharge": {
  8377. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  8378. "type": "number"
  8379. },
  8380. "operatetype": {
  8381. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  8382. "type": "integer"
  8383. },
  8384. "operatorid": {
  8385. "description": "登录账号(LoginID)",
  8386. "type": "integer"
  8387. },
  8388. "optiontype": {
  8389. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  8390. "type": "integer"
  8391. },
  8392. "orderprice": {
  8393. "description": "委托价格",
  8394. "type": "number"
  8395. },
  8396. "orderqty": {
  8397. "description": "委托数量",
  8398. "type": "integer"
  8399. },
  8400. "ordersrc": {
  8401. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  8402. "type": "integer"
  8403. },
  8404. "orderstatus": {
  8405. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8406. "type": "integer"
  8407. },
  8408. "ordertime": {
  8409. "description": "委托时间",
  8410. "type": "string"
  8411. },
  8412. "preexerciseprice": {
  8413. "description": "预申报价格",
  8414. "type": "number"
  8415. },
  8416. "premium": {
  8417. "description": "权利金",
  8418. "type": "number"
  8419. },
  8420. "preorderid": {
  8421. "description": "关联预埋单号(止盈止损单时填写)",
  8422. "type": "integer"
  8423. },
  8424. "pricemode": {
  8425. "description": "取价方式 - 1:市价 2: 限价",
  8426. "type": "integer"
  8427. },
  8428. "quoteid": {
  8429. "description": "报价单ID",
  8430. "type": "integer"
  8431. },
  8432. "relatedid": {
  8433. "description": "关联单号(交割单)",
  8434. "type": "integer"
  8435. },
  8436. "retcode": {
  8437. "description": "错误代码",
  8438. "type": "integer"
  8439. },
  8440. "sessionid": {
  8441. "description": "会话ID",
  8442. "type": "integer"
  8443. },
  8444. "strorderid": {
  8445. "description": "委托单号",
  8446. "type": "string"
  8447. },
  8448. "tradedate": {
  8449. "description": "交易日(yyyyMMdd)",
  8450. "type": "string"
  8451. },
  8452. "tradeproperty": {
  8453. "description": "交易属性",
  8454. "type": "integer"
  8455. },
  8456. "tradeqty": {
  8457. "description": "成交数量",
  8458. "type": "integer"
  8459. },
  8460. "unfreezecharge": {
  8461. "description": "解冻手续费",
  8462. "type": "number"
  8463. },
  8464. "unfreezemargin": {
  8465. "description": "解冻保证金",
  8466. "type": "number"
  8467. },
  8468. "updatetime": {
  8469. "description": "更新时间",
  8470. "type": "string"
  8471. },
  8472. "uuid": {
  8473. "description": "发起端唯一id",
  8474. "type": "string"
  8475. },
  8476. "validtime": {
  8477. "description": "有效期限",
  8478. "type": "string"
  8479. },
  8480. "validtype": {
  8481. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  8482. "type": "integer"
  8483. },
  8484. "volumetype": {
  8485. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  8486. "type": "integer"
  8487. }
  8488. }
  8489. },
  8490. "cptrade.QueryMyCPTradeGoodsRsp": {
  8491. "type": "object",
  8492. "required": [
  8493. "goodscode",
  8494. "goodsid",
  8495. "goodsname",
  8496. "marketid",
  8497. "relatedgoodscode",
  8498. "relatedgoodsname"
  8499. ],
  8500. "properties": {
  8501. "accountid": {
  8502. "description": "卖方账户ID",
  8503. "type": "integer"
  8504. },
  8505. "agreeunit": {
  8506. "description": "合约单位",
  8507. "type": "number"
  8508. },
  8509. "applyid": {
  8510. "description": "关联申请ID",
  8511. "type": "integer"
  8512. },
  8513. "attachmenturl": {
  8514. "description": "附件地址",
  8515. "type": "string"
  8516. },
  8517. "createtime": {
  8518. "description": "创建时间",
  8519. "type": "string"
  8520. },
  8521. "currencyid": {
  8522. "description": "报价货币ID",
  8523. "type": "integer"
  8524. },
  8525. "decimalplace": {
  8526. "description": "报价小数位",
  8527. "type": "integer"
  8528. },
  8529. "endtime": {
  8530. "description": "预售结束时间",
  8531. "type": "string"
  8532. },
  8533. "floorprice": {
  8534. "description": "底价[大宗式竞拍]",
  8535. "type": "number"
  8536. },
  8537. "goodscode": {
  8538. "description": "商品代码(预售)",
  8539. "type": "string"
  8540. },
  8541. "goodsdetail": {
  8542. "description": "详情[大宗]",
  8543. "type": "string"
  8544. },
  8545. "goodsid": {
  8546. "description": "商品ID(自增ID SEQ_GOODS)",
  8547. "type": "integer"
  8548. },
  8549. "goodsname": {
  8550. "description": "商品名称(预售)",
  8551. "type": "string"
  8552. },
  8553. "goodunit": {
  8554. "description": "报价单位",
  8555. "type": "string"
  8556. },
  8557. "goodunitid": {
  8558. "description": "报价单位ID",
  8559. "type": "integer"
  8560. },
  8561. "marketid": {
  8562. "description": "所属市场ID",
  8563. "type": "integer"
  8564. },
  8565. "marketname": {
  8566. "description": "预售市场名称",
  8567. "type": "string"
  8568. },
  8569. "presaledamount": {
  8570. "description": "已预售总金额(预售结束时更新)",
  8571. "type": "number"
  8572. },
  8573. "presaledqty": {
  8574. "description": "已预售量(预售结束时更新)",
  8575. "type": "integer"
  8576. },
  8577. "presalemode": {
  8578. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8579. "type": "integer"
  8580. },
  8581. "presaleqty": {
  8582. "description": "预售数量",
  8583. "type": "integer"
  8584. },
  8585. "refprice": {
  8586. "description": "参考价格[一口价]",
  8587. "type": "number"
  8588. },
  8589. "relatedgoodscode": {
  8590. "description": "商品代码(订单)",
  8591. "type": "string"
  8592. },
  8593. "relatedgoodsid": {
  8594. "description": "关联交易合约ID",
  8595. "type": "integer"
  8596. },
  8597. "relatedgoodsname": {
  8598. "description": "商品名称(订单)",
  8599. "type": "string"
  8600. },
  8601. "relatedmarketid": {
  8602. "description": "关联交易合约市场ID",
  8603. "type": "integer"
  8604. },
  8605. "sellstatus": {
  8606. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8607. "type": "integer"
  8608. },
  8609. "startprice": {
  8610. "description": "起拍价[大宗式竞拍]",
  8611. "type": "number"
  8612. },
  8613. "starttime": {
  8614. "description": "预售开始时间",
  8615. "type": "string"
  8616. },
  8617. "tradedate": {
  8618. "description": "交易日(yyyyMMdd)",
  8619. "type": "string"
  8620. },
  8621. "tradeprice": {
  8622. "description": "成交价[大宗]",
  8623. "type": "number"
  8624. },
  8625. "userid": {
  8626. "description": "卖方用户ID",
  8627. "type": "integer"
  8628. }
  8629. }
  8630. },
  8631. "cptrade.QueryPresaleGoodsExRsp": {
  8632. "type": "object",
  8633. "required": [
  8634. "goodsid"
  8635. ],
  8636. "properties": {
  8637. "attachmenturl": {
  8638. "description": "附件地址",
  8639. "type": "string"
  8640. },
  8641. "createtime": {
  8642. "description": "创建时间",
  8643. "type": "string"
  8644. },
  8645. "endtime": {
  8646. "description": "预售结束时间",
  8647. "type": "string"
  8648. },
  8649. "floorprice": {
  8650. "description": "底价[大宗式竞拍]",
  8651. "type": "number"
  8652. },
  8653. "goodsdetail": {
  8654. "description": "详情[大宗]",
  8655. "type": "string"
  8656. },
  8657. "goodsid": {
  8658. "description": "商品ID(预售)",
  8659. "type": "integer"
  8660. },
  8661. "goodunit": {
  8662. "description": "报价单位",
  8663. "type": "string"
  8664. },
  8665. "marketid": {
  8666. "description": "预售市场ID - 根据预售模式选择市场",
  8667. "type": "integer"
  8668. },
  8669. "presaledamount": {
  8670. "description": "已预售总金额(预售结束时更新)",
  8671. "type": "number"
  8672. },
  8673. "presaledqty": {
  8674. "description": "已预售量(预售结束时更新)",
  8675. "type": "integer"
  8676. },
  8677. "presalemode": {
  8678. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  8679. "type": "integer"
  8680. },
  8681. "presaleqty": {
  8682. "description": "预售数量",
  8683. "type": "integer"
  8684. },
  8685. "refprice": {
  8686. "description": "参考价格[一口价]",
  8687. "type": "number"
  8688. },
  8689. "relatedgoodsid": {
  8690. "description": "关联交易合约ID",
  8691. "type": "integer"
  8692. },
  8693. "relatedmarketid": {
  8694. "description": "关联交易合约市场ID",
  8695. "type": "integer"
  8696. },
  8697. "sellstatus": {
  8698. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  8699. "type": "integer"
  8700. },
  8701. "startprice": {
  8702. "description": "起拍价[大宗式竞拍]",
  8703. "type": "number"
  8704. },
  8705. "starttime": {
  8706. "description": "预售开始时间",
  8707. "type": "string"
  8708. },
  8709. "tradedate": {
  8710. "description": "交易日(yyyyMMdd)",
  8711. "type": "string"
  8712. },
  8713. "tradeprice": {
  8714. "description": "成交价[大宗]",
  8715. "type": "number"
  8716. }
  8717. }
  8718. },
  8719. "delivery.QueryDeliveryRelationRsp": {
  8720. "type": "object",
  8721. "required": [
  8722. "begindate",
  8723. "enddate",
  8724. "goodsid",
  8725. "mindeliveryqty",
  8726. "xdeliveryratio"
  8727. ],
  8728. "properties": {
  8729. "begindate": {
  8730. "description": "起始日期(yyyyMMdd)",
  8731. "type": "string"
  8732. },
  8733. "buytemplateid": {
  8734. "description": "买履约计划模板ID",
  8735. "type": "integer"
  8736. },
  8737. "deliverygoodscode": {
  8738. "description": "品种代码",
  8739. "type": "string"
  8740. },
  8741. "deliverygoodsid": {
  8742. "description": "交割商品",
  8743. "type": "integer"
  8744. },
  8745. "deliverygoodsname": {
  8746. "description": "品种名称",
  8747. "type": "string"
  8748. },
  8749. "deliverymode": {
  8750. "description": "交割方式 - 1:点选式 2:申报式",
  8751. "type": "integer"
  8752. },
  8753. "deliverypricerule": {
  8754. "description": "交割价规则- 1:行情价 2:建仓价",
  8755. "type": "integer"
  8756. },
  8757. "deliverytype": {
  8758. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  8759. "type": "integer"
  8760. },
  8761. "enddate": {
  8762. "description": "结束日期(yyyyMMdd)",
  8763. "type": "string"
  8764. },
  8765. "goodscode": {
  8766. "description": "商品代码",
  8767. "type": "string"
  8768. },
  8769. "goodsid": {
  8770. "description": "交易合约ID",
  8771. "type": "integer"
  8772. },
  8773. "goodsname": {
  8774. "description": "商品名称",
  8775. "type": "string"
  8776. },
  8777. "marketid": {
  8778. "description": "市场ID",
  8779. "type": "integer"
  8780. },
  8781. "mindeliveryqty": {
  8782. "description": "最小交割系数(K)",
  8783. "type": "integer"
  8784. },
  8785. "p2deliveryprice": {
  8786. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  8787. "type": "number"
  8788. },
  8789. "p2deliveryratio": {
  8790. "description": "P2合约系数(p)",
  8791. "type": "integer"
  8792. },
  8793. "p2goodsid": {
  8794. "description": "P2合约ID",
  8795. "type": "integer"
  8796. },
  8797. "p2pricemode": {
  8798. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  8799. "type": "integer"
  8800. },
  8801. "pdeliveryprice": {
  8802. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  8803. "type": "number"
  8804. },
  8805. "pdeliveryratio": {
  8806. "description": "P合约系数(n)",
  8807. "type": "integer"
  8808. },
  8809. "pgoodsid": {
  8810. "description": "P合约ID",
  8811. "type": "integer"
  8812. },
  8813. "ppricemode": {
  8814. "description": "P合约价格方式 - 1:商品价 2:固定值",
  8815. "type": "integer"
  8816. },
  8817. "rratio": {
  8818. "description": "兑换系数(R)",
  8819. "type": "integer"
  8820. },
  8821. "rratio1": {
  8822. "description": "兑换系数(交易合约)(R1)",
  8823. "type": "integer"
  8824. },
  8825. "rratio2": {
  8826. "description": "兑换系数(仓单标准)(R2)",
  8827. "type": "integer"
  8828. },
  8829. "selltemplateid": {
  8830. "description": "卖履约计划模板ID",
  8831. "type": "integer"
  8832. },
  8833. "wrstandardid": {
  8834. "description": "仓单标准ID",
  8835. "type": "integer"
  8836. },
  8837. "xdeliveryratio": {
  8838. "description": "交易合约系数(m)",
  8839. "type": "integer"
  8840. }
  8841. }
  8842. },
  8843. "ermcp.ExposureDetailRsp": {
  8844. "$ref": "#/definitions/models.ErmcpExposureDetailModel"
  8845. },
  8846. "ermcp.ExposureHedgePosDetailRsp": {
  8847. "$ref": "#/definitions/models.ErmcpHedgePositionDetail"
  8848. },
  8849. "ermcp.ExposureHedgePositionRsp": {
  8850. "$ref": "#/definitions/models.ErmcpHedgePosition"
  8851. },
  8852. "ermcp.ExposureSpotDetailRsp": {
  8853. "$ref": "#/definitions/models.ErmcpAreaSpotDetailModel"
  8854. },
  8855. "ermcp.ExposureSpotRsp": {
  8856. "$ref": "#/definitions/models.AreaSpotModel"
  8857. },
  8858. "ermcp.HisExposureRsp": {
  8859. "$ref": "#/definitions/models.ErmcpHisExposureS"
  8860. },
  8861. "ermcp.PendingAuditCntRsp": {
  8862. "$ref": "#/definitions/models.ErmcpPendingAudit"
  8863. },
  8864. "ermcp.QryAreaStockApplyRsp": {
  8865. "$ref": "#/definitions/models.ErmcpAreaStockApply"
  8866. },
  8867. "ermcp.QryAvalidGPRsp": {
  8868. "$ref": "#/definitions/models.ErmcpAvalidGoodsGroupModel"
  8869. },
  8870. "ermcp.QryBusinessDjRsp": {
  8871. "type": "object",
  8872. "properties": {
  8873. "amount": {
  8874. "description": "点价金额=(点价价格+升贴水)*点价数量",
  8875. "type": "number"
  8876. },
  8877. "applyid": {
  8878. "description": "申请人",
  8879. "type": "string"
  8880. },
  8881. "applyname": {
  8882. "description": "申请人名称",
  8883. "type": "string"
  8884. },
  8885. "applystatus": {
  8886. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  8887. "type": "integer"
  8888. },
  8889. "applytime": {
  8890. "description": "申请时间",
  8891. "type": "string"
  8892. },
  8893. "attachurl": {
  8894. "description": "附件",
  8895. "type": "string"
  8896. },
  8897. "auditid": {
  8898. "description": "审核人ID",
  8899. "type": "string"
  8900. },
  8901. "auditname": {
  8902. "description": "审核人名称",
  8903. "type": "string"
  8904. },
  8905. "audittime": {
  8906. "description": "审核时间",
  8907. "type": "string"
  8908. },
  8909. "buyusername": {
  8910. "description": "采购方名称",
  8911. "type": "string"
  8912. },
  8913. "contractno": {
  8914. "description": "合同编号",
  8915. "type": "string"
  8916. },
  8917. "contractstatus": {
  8918. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8919. "type": "integer"
  8920. },
  8921. "contracttype": {
  8922. "description": "现货合同类型 - 1:采购 -1:销售",
  8923. "type": "integer"
  8924. },
  8925. "enumdicname": {
  8926. "description": "单位名称",
  8927. "type": "string"
  8928. },
  8929. "goodscode": {
  8930. "description": "点价合约",
  8931. "type": "string"
  8932. },
  8933. "goodsname": {
  8934. "description": "商品名称",
  8935. "type": "string"
  8936. },
  8937. "operateapplyid": {
  8938. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  8939. "type": "string"
  8940. },
  8941. "operateapplytype": {
  8942. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  8943. "type": "integer"
  8944. },
  8945. "pricedPrice": {
  8946. "description": "点价价格(非必填)",
  8947. "type": "number"
  8948. },
  8949. "pricedQty": {
  8950. "description": "点价数量(非必填)",
  8951. "type": "number"
  8952. },
  8953. "pricemove": {
  8954. "description": "升贴水",
  8955. "type": "number"
  8956. },
  8957. "pricetype": {
  8958. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8959. "type": "integer"
  8960. },
  8961. "relatedid": {
  8962. "description": "现货合同ID",
  8963. "type": "string"
  8964. },
  8965. "sellusername": {
  8966. "description": "销售方名字",
  8967. "type": "string"
  8968. },
  8969. "userid": {
  8970. "description": "用户ID",
  8971. "type": "integer"
  8972. },
  8973. "wrstandardcode": {
  8974. "description": "现货商品代码",
  8975. "type": "string"
  8976. },
  8977. "wrstandardid": {
  8978. "description": "现货商品id",
  8979. "type": "integer"
  8980. },
  8981. "wrstandardname": {
  8982. "description": "现货商品名称",
  8983. "type": "string"
  8984. }
  8985. }
  8986. },
  8987. "ermcp.QryBussinessFpRsp": {
  8988. "type": "object",
  8989. "properties": {
  8990. "applyid": {
  8991. "description": "申请人",
  8992. "type": "string"
  8993. },
  8994. "applyname": {
  8995. "description": "申请人名称",
  8996. "type": "string"
  8997. },
  8998. "applystatus": {
  8999. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9000. "type": "integer"
  9001. },
  9002. "applytime": {
  9003. "description": "申请时间",
  9004. "type": "string"
  9005. },
  9006. "attachurl": {
  9007. "description": "附件",
  9008. "type": "string"
  9009. },
  9010. "auditid": {
  9011. "description": "审核人ID",
  9012. "type": "string"
  9013. },
  9014. "auditname": {
  9015. "description": "审核人名称",
  9016. "type": "string"
  9017. },
  9018. "audittime": {
  9019. "description": "审核时间",
  9020. "type": "string"
  9021. },
  9022. "buyusername": {
  9023. "description": "采购方名称",
  9024. "type": "string"
  9025. },
  9026. "contractno": {
  9027. "description": "合同编号",
  9028. "type": "string"
  9029. },
  9030. "contractstatus": {
  9031. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9032. "type": "integer"
  9033. },
  9034. "contracttype": {
  9035. "description": "现货合同类型 - 1:采购 -1:销售",
  9036. "type": "integer"
  9037. },
  9038. "enumdicname": {
  9039. "description": "单位名称",
  9040. "type": "string"
  9041. },
  9042. "goodscode": {
  9043. "description": "点价合约",
  9044. "type": "string"
  9045. },
  9046. "goodsname": {
  9047. "description": "商品名称",
  9048. "type": "string"
  9049. },
  9050. "invoiceAmount": {
  9051. "description": "已开收票金额(销售为开票,采购为收票)",
  9052. "type": "number"
  9053. },
  9054. "operateapplyid": {
  9055. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9056. "type": "string"
  9057. },
  9058. "operateapplytype": {
  9059. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9060. "type": "integer"
  9061. },
  9062. "pricemove": {
  9063. "description": "升贴水",
  9064. "type": "number"
  9065. },
  9066. "pricetype": {
  9067. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9068. "type": "integer"
  9069. },
  9070. "relatedid": {
  9071. "description": "现货合同ID",
  9072. "type": "string"
  9073. },
  9074. "sellusername": {
  9075. "description": "销售方名字",
  9076. "type": "string"
  9077. },
  9078. "userid": {
  9079. "description": "用户ID",
  9080. "type": "integer"
  9081. },
  9082. "wrstandardcode": {
  9083. "description": "现货商品代码",
  9084. "type": "string"
  9085. },
  9086. "wrstandardid": {
  9087. "description": "现货商品id",
  9088. "type": "integer"
  9089. },
  9090. "wrstandardname": {
  9091. "description": "现货商品名称",
  9092. "type": "string"
  9093. }
  9094. }
  9095. },
  9096. "ermcp.QryBussinessJsExRsp": {
  9097. "type": "object",
  9098. "properties": {
  9099. "applyid": {
  9100. "description": "申请人",
  9101. "type": "string"
  9102. },
  9103. "applyname": {
  9104. "description": "申请人名称",
  9105. "type": "string"
  9106. },
  9107. "applystatus": {
  9108. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9109. "type": "integer"
  9110. },
  9111. "applytime": {
  9112. "description": "申请时间",
  9113. "type": "string"
  9114. },
  9115. "attachurl": {
  9116. "description": "附件",
  9117. "type": "string"
  9118. },
  9119. "auditid": {
  9120. "description": "审核人ID",
  9121. "type": "string"
  9122. },
  9123. "auditname": {
  9124. "description": "审核人名称",
  9125. "type": "string"
  9126. },
  9127. "audittime": {
  9128. "description": "审核时间",
  9129. "type": "string"
  9130. },
  9131. "buyusername": {
  9132. "description": "采购方名称",
  9133. "type": "string"
  9134. },
  9135. "contractno": {
  9136. "description": "合同编号",
  9137. "type": "string"
  9138. },
  9139. "contractstatus": {
  9140. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9141. "type": "integer"
  9142. },
  9143. "contracttype": {
  9144. "description": "现货合同类型 - 1:采购 -1:销售",
  9145. "type": "integer"
  9146. },
  9147. "enumdicname": {
  9148. "description": "单位名称",
  9149. "type": "string"
  9150. },
  9151. "goodscode": {
  9152. "description": "点价合约",
  9153. "type": "string"
  9154. },
  9155. "goodsname": {
  9156. "description": "商品名称",
  9157. "type": "string"
  9158. },
  9159. "operateapplyid": {
  9160. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9161. "type": "string"
  9162. },
  9163. "operateapplytype": {
  9164. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9165. "type": "integer"
  9166. },
  9167. "pricemove": {
  9168. "description": "升贴水",
  9169. "type": "number"
  9170. },
  9171. "pricetype": {
  9172. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9173. "type": "integer"
  9174. },
  9175. "reckontype": {
  9176. "description": "结算类型",
  9177. "type": "string"
  9178. },
  9179. "reckonvalue": {
  9180. "description": "值",
  9181. "type": "number"
  9182. },
  9183. "relatedid": {
  9184. "description": "现货合同ID",
  9185. "type": "string"
  9186. },
  9187. "sellusername": {
  9188. "description": "销售方名字",
  9189. "type": "string"
  9190. },
  9191. "userid": {
  9192. "description": "用户ID",
  9193. "type": "integer"
  9194. },
  9195. "wrstandardcode": {
  9196. "description": "现货商品代码",
  9197. "type": "string"
  9198. },
  9199. "wrstandardid": {
  9200. "description": "现货商品id",
  9201. "type": "integer"
  9202. },
  9203. "wrstandardname": {
  9204. "description": "现货商品名称",
  9205. "type": "string"
  9206. }
  9207. }
  9208. },
  9209. "ermcp.QryBussinessJsRsp": {
  9210. "type": "object",
  9211. "properties": {
  9212. "addmargin": {
  9213. "description": "追加保证金(非必填)",
  9214. "type": "number"
  9215. },
  9216. "applyid": {
  9217. "description": "申请人",
  9218. "type": "string"
  9219. },
  9220. "applyname": {
  9221. "description": "申请人名称",
  9222. "type": "string"
  9223. },
  9224. "applystatus": {
  9225. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9226. "type": "integer"
  9227. },
  9228. "applytime": {
  9229. "description": "申请时间",
  9230. "type": "string"
  9231. },
  9232. "attachurl": {
  9233. "description": "附件",
  9234. "type": "string"
  9235. },
  9236. "auditid": {
  9237. "description": "审核人ID",
  9238. "type": "string"
  9239. },
  9240. "auditname": {
  9241. "description": "审核人名称",
  9242. "type": "string"
  9243. },
  9244. "audittime": {
  9245. "description": "审核时间",
  9246. "type": "string"
  9247. },
  9248. "buyusername": {
  9249. "description": "采购方名称",
  9250. "type": "string"
  9251. },
  9252. "contractno": {
  9253. "description": "合同编号",
  9254. "type": "string"
  9255. },
  9256. "contractstatus": {
  9257. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9258. "type": "integer"
  9259. },
  9260. "contracttype": {
  9261. "description": "现货合同类型 - 1:采购 -1:销售",
  9262. "type": "integer"
  9263. },
  9264. "decmargin": {
  9265. "description": "减少保证金(非必填)",
  9266. "type": "number"
  9267. },
  9268. "enumdicname": {
  9269. "description": "单位名称",
  9270. "type": "string"
  9271. },
  9272. "goodscode": {
  9273. "description": "点价合约",
  9274. "type": "string"
  9275. },
  9276. "goodsname": {
  9277. "description": "商品名称",
  9278. "type": "string"
  9279. },
  9280. "operateapplyid": {
  9281. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9282. "type": "string"
  9283. },
  9284. "operateapplytype": {
  9285. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9286. "type": "integer"
  9287. },
  9288. "pricemove": {
  9289. "description": "升贴水",
  9290. "type": "number"
  9291. },
  9292. "pricetype": {
  9293. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9294. "type": "integer"
  9295. },
  9296. "reckonadjustamount": {
  9297. "description": "结算调整金额(非必填)",
  9298. "type": "number"
  9299. },
  9300. "reckonosamount": {
  9301. "description": "结算溢短金额(非必填)",
  9302. "type": "number"
  9303. },
  9304. "reckonotheramount": {
  9305. "description": "结算其他费用(非必填)",
  9306. "type": "number"
  9307. },
  9308. "reckonrealqty": {
  9309. "description": "结算实际数量(非必填)",
  9310. "type": "number"
  9311. },
  9312. "relatedid": {
  9313. "description": "现货合同ID",
  9314. "type": "string"
  9315. },
  9316. "sellusername": {
  9317. "description": "销售方名字",
  9318. "type": "string"
  9319. },
  9320. "userid": {
  9321. "description": "用户ID",
  9322. "type": "integer"
  9323. },
  9324. "wrstandardcode": {
  9325. "description": "现货商品代码",
  9326. "type": "string"
  9327. },
  9328. "wrstandardid": {
  9329. "description": "现货商品id",
  9330. "type": "integer"
  9331. },
  9332. "wrstandardname": {
  9333. "description": "现货商品名称",
  9334. "type": "string"
  9335. }
  9336. }
  9337. },
  9338. "ermcp.QryBussinessKxRsp": {
  9339. "type": "object",
  9340. "properties": {
  9341. "applyid": {
  9342. "description": "申请人",
  9343. "type": "string"
  9344. },
  9345. "applyname": {
  9346. "description": "申请人名称",
  9347. "type": "string"
  9348. },
  9349. "applystatus": {
  9350. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9351. "type": "integer"
  9352. },
  9353. "applytime": {
  9354. "description": "申请时间",
  9355. "type": "string"
  9356. },
  9357. "attachurl": {
  9358. "description": "附件",
  9359. "type": "string"
  9360. },
  9361. "auditid": {
  9362. "description": "审核人ID",
  9363. "type": "string"
  9364. },
  9365. "auditname": {
  9366. "description": "审核人名称",
  9367. "type": "string"
  9368. },
  9369. "audittime": {
  9370. "description": "审核时间",
  9371. "type": "string"
  9372. },
  9373. "buyusername": {
  9374. "description": "采购方名称",
  9375. "type": "string"
  9376. },
  9377. "contractno": {
  9378. "description": "合同编号",
  9379. "type": "string"
  9380. },
  9381. "contractstatus": {
  9382. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9383. "type": "integer"
  9384. },
  9385. "contracttype": {
  9386. "description": "现货合同类型 - 1:采购 -1:销售",
  9387. "type": "integer"
  9388. },
  9389. "deductamount": {
  9390. "description": "退款(非必填)",
  9391. "type": "number"
  9392. },
  9393. "enumdicname": {
  9394. "description": "单位名称",
  9395. "type": "string"
  9396. },
  9397. "goodscode": {
  9398. "description": "点价合约",
  9399. "type": "string"
  9400. },
  9401. "goodsname": {
  9402. "description": "商品名称",
  9403. "type": "string"
  9404. },
  9405. "kxtype": {
  9406. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  9407. "type": "integer"
  9408. },
  9409. "operateapplyid": {
  9410. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  9411. "type": "string"
  9412. },
  9413. "operateapplytype": {
  9414. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  9415. "type": "integer"
  9416. },
  9417. "payamount": {
  9418. "description": "收付款(非必填)",
  9419. "type": "number"
  9420. },
  9421. "pricemove": {
  9422. "description": "升贴水",
  9423. "type": "number"
  9424. },
  9425. "pricetype": {
  9426. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9427. "type": "integer"
  9428. },
  9429. "relatedid": {
  9430. "description": "现货合同ID",
  9431. "type": "string"
  9432. },
  9433. "sellusername": {
  9434. "description": "销售方名字",
  9435. "type": "string"
  9436. },
  9437. "userid": {
  9438. "description": "用户ID",
  9439. "type": "integer"
  9440. },
  9441. "wrstandardcode": {
  9442. "description": "现货商品代码",
  9443. "type": "string"
  9444. },
  9445. "wrstandardid": {
  9446. "description": "现货商品id",
  9447. "type": "integer"
  9448. },
  9449. "wrstandardname": {
  9450. "description": "现货商品名称",
  9451. "type": "string"
  9452. }
  9453. }
  9454. },
  9455. "ermcp.QryErmcpRsp": {
  9456. "$ref": "#/definitions/models.ErmcpModel"
  9457. },
  9458. "ermcp.QryGGCovertCfgRsp": {
  9459. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  9460. },
  9461. "ermcp.QryHedgePlanRsp": {
  9462. "$ref": "#/definitions/models.ErmcpHedgePlan"
  9463. },
  9464. "ermcp.QryMGChangeLogRsp": {
  9465. "$ref": "#/definitions/models.ErmcpMiddleGoodsChangeLog"
  9466. },
  9467. "ermcp.QryMiddleGoodsDetailRsp": {
  9468. "$ref": "#/definitions/models.ErmcpMiddleGoodsDetail"
  9469. },
  9470. "ermcp.QryMiddleGoodsRsp": {
  9471. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  9472. },
  9473. "ermcp.QryOPLogRsp": {
  9474. "$ref": "#/definitions/models.ErmcpOPLogModel"
  9475. },
  9476. "ermcp.QryReportDaySpotDetailRsp": {
  9477. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9478. },
  9479. "ermcp.QryReportExposureDayRsp": {
  9480. "$ref": "#/definitions/models.ErmcpReportDayExposure"
  9481. },
  9482. "ermcp.QryReportFinanceDayRsp": {
  9483. "$ref": "#/definitions/models.ErmcpReportDayFR"
  9484. },
  9485. "ermcp.QryReportFinanceKxRsp": {
  9486. "$ref": "#/definitions/models.ErmcpReportOPLog"
  9487. },
  9488. "ermcp.QryReportFinanceMonRsp": {
  9489. "$ref": "#/definitions/models.ErmcpReportMonthFR"
  9490. },
  9491. "ermcp.QryReportSpotDayRsp": {
  9492. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9493. },
  9494. "ermcp.QryReportSpotMonRsp": {
  9495. "$ref": "#/definitions/models.ErmcpReportMonSpot"
  9496. },
  9497. "ermcp.QryReportSpotMonthDetailRsp": {
  9498. "$ref": "#/definitions/models.ErmcpReportDaySpot"
  9499. },
  9500. "ermcp.QrySpotContractRsp": {
  9501. "$ref": "#/definitions/models.ErmcpSpotContractModel"
  9502. },
  9503. "ermcp.QryUserInfoRsp": {
  9504. "$ref": "#/definitions/models.ErmcpUserModel"
  9505. },
  9506. "ermcp.QryWarehouseRsp": {
  9507. "$ref": "#/definitions/models.ErmcpWareHouseInfo"
  9508. },
  9509. "ermcp.QryWrStandardDetailRsp": {
  9510. "$ref": "#/definitions/models.ErmcpWrstandDetail"
  9511. },
  9512. "ermcp.QryWrStandardRsp": {
  9513. "$ref": "#/definitions/models.ErmcpWrstandard"
  9514. },
  9515. "ermcp.QueryAreaStockApplySumRsp": {
  9516. "$ref": "#/definitions/models.ErmcpAreaStockApplySum"
  9517. },
  9518. "ermcp.QueryErmcpTradePositionRsp": {
  9519. "type": "object",
  9520. "properties": {
  9521. "agreeunit": {
  9522. "description": "合约单位",
  9523. "type": "number"
  9524. },
  9525. "buyorsell": {
  9526. "description": "方向 - 0:买 1:卖",
  9527. "type": "integer"
  9528. },
  9529. "curpositionqty": {
  9530. "description": "持仓(总仓数量, 期末头寸)",
  9531. "type": "integer"
  9532. },
  9533. "curtdposition": {
  9534. "description": "今仓数量(期末今日头寸)",
  9535. "type": "integer"
  9536. },
  9537. "curtdpositionenabled": {
  9538. "description": "今仓可用",
  9539. "type": "integer"
  9540. },
  9541. "decimalplace": {
  9542. "description": "报价小数位",
  9543. "type": "integer"
  9544. },
  9545. "enableqty": {
  9546. "description": "可用(总仓可用)",
  9547. "type": "integer"
  9548. },
  9549. "exexchangename": {
  9550. "description": "外部交易所名称",
  9551. "type": "string"
  9552. },
  9553. "goodscode": {
  9554. "description": "商品代码(内部)",
  9555. "type": "string"
  9556. },
  9557. "goodsid": {
  9558. "description": "商品ID(自增ID SEQ_GOODS)",
  9559. "type": "integer"
  9560. },
  9561. "goodsname": {
  9562. "description": "商品名称",
  9563. "type": "string"
  9564. },
  9565. "last": {
  9566. "description": "现价",
  9567. "type": "number"
  9568. },
  9569. "marketid": {
  9570. "description": "所属市场ID",
  9571. "type": "integer"
  9572. },
  9573. "openaverageprice": {
  9574. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  9575. "type": "number"
  9576. },
  9577. "opencost": {
  9578. "description": "开仓成本",
  9579. "type": "number"
  9580. },
  9581. "openpl": {
  9582. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9583. "type": "number"
  9584. },
  9585. "outgoodscode": {
  9586. "description": "商品代码(外部)",
  9587. "type": "string"
  9588. },
  9589. "positionaverageprice": {
  9590. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  9591. "type": "number"
  9592. },
  9593. "positioncost": {
  9594. "description": "持仓成本",
  9595. "type": "number"
  9596. },
  9597. "positionpl": {
  9598. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  9599. "type": "number"
  9600. },
  9601. "positionplrate": {
  9602. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  9603. "type": "number"
  9604. },
  9605. "usedmargin": {
  9606. "description": "占用保证金",
  9607. "type": "number"
  9608. }
  9609. }
  9610. },
  9611. "ermcp.RealtimeExposurePositionRsp": {
  9612. "$ref": "#/definitions/models.ErmcpExposurePostion"
  9613. },
  9614. "ermcp.RealtimeExposureRsp": {
  9615. "$ref": "#/definitions/models.ErmcpRealExposureModel"
  9616. },
  9617. "erms2.QueryArbitrageStrategyRsp": {
  9618. "type": "object",
  9619. "required": [
  9620. "asapplyid"
  9621. ],
  9622. "properties": {
  9623. "applybasis": {
  9624. "description": "申请基差",
  9625. "type": "number"
  9626. },
  9627. "asapplyid": {
  9628. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9629. "type": "string"
  9630. },
  9631. "asname": {
  9632. "description": "策略名称",
  9633. "type": "string"
  9634. },
  9635. "asno": {
  9636. "description": "策略编号",
  9637. "type": "string"
  9638. },
  9639. "basischangepl": {
  9640. "description": "基差变动损益[结算更新]",
  9641. "type": "number"
  9642. },
  9643. "biztype": {
  9644. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9645. "type": "integer"
  9646. },
  9647. "closetradedate": {
  9648. "description": "完结交易日(yyyyMMdd)",
  9649. "type": "string"
  9650. },
  9651. "curbasis": {
  9652. "description": "当前基差[结算更新]",
  9653. "type": "number"
  9654. },
  9655. "deliverygoodsid": {
  9656. "description": "现货品种ID",
  9657. "type": "integer"
  9658. },
  9659. "futureavgprice": {
  9660. "description": "期货建仓均价",
  9661. "type": "number"
  9662. },
  9663. "futurecloseamount": {
  9664. "description": "期货平仓金额",
  9665. "type": "number"
  9666. },
  9667. "futurecloseqty": {
  9668. "description": "期货平仓数量",
  9669. "type": "number"
  9670. },
  9671. "futureopenamount": {
  9672. "description": "期货开仓金额",
  9673. "type": "number"
  9674. },
  9675. "futureopenqty": {
  9676. "description": "期货开仓数量",
  9677. "type": "number"
  9678. },
  9679. "futurepl": {
  9680. "description": "期货总盈亏[结算更新]",
  9681. "type": "number"
  9682. },
  9683. "futureqty": {
  9684. "description": "期货持仓数量",
  9685. "type": "number"
  9686. },
  9687. "futurequote": {
  9688. "description": "期货额度",
  9689. "type": "number"
  9690. },
  9691. "goodsgroupid": {
  9692. "description": "期货品种ID",
  9693. "type": "integer"
  9694. },
  9695. "marketid": {
  9696. "description": "市场ID",
  9697. "type": "integer"
  9698. },
  9699. "netexposure": {
  9700. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9701. "type": "number"
  9702. },
  9703. "netexposurepl": {
  9704. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9705. "type": "number"
  9706. },
  9707. "netexposurerate": {
  9708. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9709. "type": "number"
  9710. },
  9711. "openbasis": {
  9712. "description": "建仓基差",
  9713. "type": "number"
  9714. },
  9715. "pricedspotqty": {
  9716. "description": "已定价现货数量",
  9717. "type": "number"
  9718. },
  9719. "pricedspotqtynotax": {
  9720. "description": "已定价现货不含税数量",
  9721. "type": "number"
  9722. },
  9723. "remark": {
  9724. "description": "备注",
  9725. "type": "string"
  9726. },
  9727. "spotavgprice": {
  9728. "description": "现货均价",
  9729. "type": "number"
  9730. },
  9731. "spotbuyamount": {
  9732. "description": "现货采购金额",
  9733. "type": "number"
  9734. },
  9735. "spotbuyqty": {
  9736. "description": "现货采购数量",
  9737. "type": "number"
  9738. },
  9739. "spotpl": {
  9740. "description": "现货总盈亏[结算更新]",
  9741. "type": "number"
  9742. },
  9743. "spotquota": {
  9744. "description": "现货额度",
  9745. "type": "number"
  9746. },
  9747. "spotsellamount": {
  9748. "description": "现货销售金额",
  9749. "type": "number"
  9750. },
  9751. "spotsellqty": {
  9752. "description": "现货销售数量",
  9753. "type": "number"
  9754. },
  9755. "spotusedquota": {
  9756. "description": "现货占用资金",
  9757. "type": "number"
  9758. },
  9759. "strategystatus": {
  9760. "description": "策略状态 - 0:未结束 1:已结束",
  9761. "type": "integer"
  9762. },
  9763. "totalpl": {
  9764. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9765. "type": "number"
  9766. },
  9767. "tradedate": {
  9768. "description": "交易日(yyyyMMdd)",
  9769. "type": "string"
  9770. },
  9771. "updatetime": {
  9772. "description": "更新时间",
  9773. "type": "string"
  9774. },
  9775. "usedquota": {
  9776. "description": "已占用资金",
  9777. "type": "number"
  9778. },
  9779. "userid": {
  9780. "description": "所属机构",
  9781. "type": "integer"
  9782. }
  9783. }
  9784. },
  9785. "erms2.QueryInnerTradeDetailRsp": {
  9786. "type": "object",
  9787. "required": [
  9788. "asapplyid",
  9789. "buyorsell",
  9790. "goodscode",
  9791. "goodsgroupid",
  9792. "goodsgroupname",
  9793. "goodsname",
  9794. "tradeid"
  9795. ],
  9796. "properties": {
  9797. "accountid": {
  9798. "description": "账号ID",
  9799. "type": "integer"
  9800. },
  9801. "agreeunit": {
  9802. "description": "合约单位",
  9803. "type": "number"
  9804. },
  9805. "asapplyid": {
  9806. "description": "策略申请ID",
  9807. "type": "integer"
  9808. },
  9809. "asname": {
  9810. "description": "策略名称",
  9811. "type": "string"
  9812. },
  9813. "asno": {
  9814. "description": "策略编号",
  9815. "type": "string"
  9816. },
  9817. "buyorsell": {
  9818. "description": "方向 - 0:买 1:卖",
  9819. "type": "integer"
  9820. },
  9821. "channelbuildtype": {
  9822. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9823. "type": "integer"
  9824. },
  9825. "closetype": {
  9826. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9827. "type": "integer"
  9828. },
  9829. "decimalplace": {
  9830. "description": "报价小数位",
  9831. "type": "integer"
  9832. },
  9833. "detailtype": {
  9834. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9835. "type": "integer"
  9836. },
  9837. "exexchangecode": {
  9838. "description": "外部交易所代码",
  9839. "type": "string"
  9840. },
  9841. "exexchangename": {
  9842. "description": "外部交易所名称",
  9843. "type": "string"
  9844. },
  9845. "goodscode": {
  9846. "description": "商品代码(合约)",
  9847. "type": "string"
  9848. },
  9849. "goodsgroupid": {
  9850. "description": "商品组ID(品种ID)",
  9851. "type": "integer"
  9852. },
  9853. "goodsgroupname": {
  9854. "description": "商品组名称(品种)",
  9855. "type": "string"
  9856. },
  9857. "goodsid": {
  9858. "description": "商品ID",
  9859. "type": "integer"
  9860. },
  9861. "goodsname": {
  9862. "description": "商品名称(合约)",
  9863. "type": "string"
  9864. },
  9865. "goodunit": {
  9866. "description": "报价单位",
  9867. "type": "string"
  9868. },
  9869. "marketid": {
  9870. "description": "市场ID",
  9871. "type": "integer"
  9872. },
  9873. "orderid": {
  9874. "description": "委托单号",
  9875. "type": "string"
  9876. },
  9877. "outgoodscode": {
  9878. "description": "商品代码(外部)",
  9879. "type": "string"
  9880. },
  9881. "relatedouttradeid": {
  9882. "description": "关联外部成交单ID",
  9883. "type": "string"
  9884. },
  9885. "remark": {
  9886. "description": "备注",
  9887. "type": "string"
  9888. },
  9889. "spotcontractid": {
  9890. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9891. "type": "integer"
  9892. },
  9893. "spotcontractno": {
  9894. "description": "现货合同编号",
  9895. "type": "string"
  9896. },
  9897. "tradeid": {
  9898. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9899. "type": "string"
  9900. },
  9901. "tradeprice": {
  9902. "description": "成交价格",
  9903. "type": "number"
  9904. },
  9905. "tradeqty": {
  9906. "description": "成交数量",
  9907. "type": "integer"
  9908. },
  9909. "tradetime": {
  9910. "description": "成交时间",
  9911. "type": "string"
  9912. },
  9913. "updatetime": {
  9914. "description": "更新时间",
  9915. "type": "string"
  9916. }
  9917. }
  9918. },
  9919. "erms2.QuerySpotContractRsp": {
  9920. "type": "object",
  9921. "required": [
  9922. "spotcontractid"
  9923. ],
  9924. "properties": {
  9925. "accountid": {
  9926. "description": "资金账户ID",
  9927. "type": "integer"
  9928. },
  9929. "areauserid": {
  9930. "description": "所属机构",
  9931. "type": "integer"
  9932. },
  9933. "closedate": {
  9934. "description": "终止日期",
  9935. "type": "string"
  9936. },
  9937. "closeremark": {
  9938. "description": "结束备注",
  9939. "type": "string"
  9940. },
  9941. "closetradedate": {
  9942. "description": "完结交易日(yyyyMMdd)",
  9943. "type": "string"
  9944. },
  9945. "closetype": {
  9946. "description": "终止类型 - 1:违约 2:提前终止",
  9947. "type": "integer"
  9948. },
  9949. "contractamount": {
  9950. "description": "合同金额",
  9951. "type": "number"
  9952. },
  9953. "contractattachment": {
  9954. "description": "合同附件",
  9955. "type": "string"
  9956. },
  9957. "contractno": {
  9958. "description": "现货合同编号",
  9959. "type": "string"
  9960. },
  9961. "contractqty": {
  9962. "description": "合同数量(数值) (用于计算)",
  9963. "type": "number"
  9964. },
  9965. "contractqtychar": {
  9966. "description": "合同数量\\已订价数量 (用于显示)",
  9967. "type": "string"
  9968. },
  9969. "contractstatus": {
  9970. "description": "合同状态 - 0:未结束 1:已结束",
  9971. "type": "integer"
  9972. },
  9973. "contracttype": {
  9974. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9975. "type": "integer"
  9976. },
  9977. "customeraccountid": {
  9978. "description": "客户资金账户ID",
  9979. "type": "integer"
  9980. },
  9981. "customeruserid": {
  9982. "description": "客户ID",
  9983. "type": "integer"
  9984. },
  9985. "deliverygoodsdesc": {
  9986. "description": "品种说明",
  9987. "type": "string"
  9988. },
  9989. "deliverygoodsid": {
  9990. "description": "现货品种ID",
  9991. "type": "integer"
  9992. },
  9993. "handlestatus": {
  9994. "description": "处理状态",
  9995. "type": "integer"
  9996. },
  9997. "invoiceatt": {
  9998. "description": "发票附件",
  9999. "type": "string"
  10000. },
  10001. "invoicedatetime": {
  10002. "description": "开收票更新时间",
  10003. "type": "string"
  10004. },
  10005. "invoiceopentime": {
  10006. "description": "开票时间",
  10007. "type": "string"
  10008. },
  10009. "invoiceremark": {
  10010. "description": "发票备注",
  10011. "type": "string"
  10012. },
  10013. "invoicestatus": {
  10014. "description": "开收票状态 - 0:未开票 1:已开票",
  10015. "type": "integer"
  10016. },
  10017. "lastdate": {
  10018. "description": "交货时间",
  10019. "type": "string"
  10020. },
  10021. "marketid": {
  10022. "description": "市场ID",
  10023. "type": "integer"
  10024. },
  10025. "paydatetime": {
  10026. "description": "收付款更新时间",
  10027. "type": "string"
  10028. },
  10029. "payremark": {
  10030. "description": "收付款备注",
  10031. "type": "string"
  10032. },
  10033. "paystatus": {
  10034. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  10035. "type": "integer"
  10036. },
  10037. "positionqty": {
  10038. "description": "头寸数量 - 合同数量去小数部分",
  10039. "type": "integer"
  10040. },
  10041. "producttype": {
  10042. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  10043. "type": "integer"
  10044. },
  10045. "relatedqty": {
  10046. "description": "已关联数量",
  10047. "type": "number"
  10048. },
  10049. "relatedstatus": {
  10050. "description": "关联完结状态 - 0:未结束 1:已结束",
  10051. "type": "integer"
  10052. },
  10053. "remark": {
  10054. "description": "备注",
  10055. "type": "string"
  10056. },
  10057. "signdate": {
  10058. "description": "签订日期",
  10059. "type": "string"
  10060. },
  10061. "spotcontractid": {
  10062. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10063. "type": "string"
  10064. },
  10065. "spotdatetime": {
  10066. "description": "收发货更新时间",
  10067. "type": "string"
  10068. },
  10069. "spotprice": {
  10070. "description": "价格",
  10071. "type": "number"
  10072. },
  10073. "spotremark": {
  10074. "description": "收发货备注",
  10075. "type": "string"
  10076. },
  10077. "spotstatus": {
  10078. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10079. "type": "integer"
  10080. },
  10081. "tradedate": {
  10082. "description": "交易日(yyyyMMdd)",
  10083. "type": "string"
  10084. },
  10085. "userid": {
  10086. "description": "业务员用户ID",
  10087. "type": "integer"
  10088. },
  10089. "warehouseid": {
  10090. "description": "仓库ID",
  10091. "type": "integer"
  10092. },
  10093. "wrfactortypeid": {
  10094. "description": "仓单要素类型ID",
  10095. "type": "integer"
  10096. },
  10097. "wrstandardid": {
  10098. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10099. "type": "integer"
  10100. }
  10101. }
  10102. },
  10103. "erms3.AddErms2ASApplyReq": {
  10104. "type": "object",
  10105. "required": [
  10106. "asapplyid"
  10107. ],
  10108. "properties": {
  10109. "applybasis": {
  10110. "description": "申请基差",
  10111. "type": "number"
  10112. },
  10113. "applystatus": {
  10114. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10115. "type": "integer"
  10116. },
  10117. "asapplyid": {
  10118. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10119. "type": "integer"
  10120. },
  10121. "asname": {
  10122. "description": "策略名称",
  10123. "type": "string"
  10124. },
  10125. "asno": {
  10126. "description": "策略编号",
  10127. "type": "string"
  10128. },
  10129. "auditid": {
  10130. "description": "审核人",
  10131. "type": "integer"
  10132. },
  10133. "auditremark": {
  10134. "description": "审核备注",
  10135. "type": "string"
  10136. },
  10137. "audittime": {
  10138. "description": "审核时间",
  10139. "type": "string"
  10140. },
  10141. "biztype": {
  10142. "description": "业务类型 - 1:正向套利 2:反向套利",
  10143. "type": "integer"
  10144. },
  10145. "createtime": {
  10146. "description": "创建时间",
  10147. "type": "string"
  10148. },
  10149. "creatorid": {
  10150. "description": "创建人",
  10151. "type": "integer"
  10152. },
  10153. "deliverygoodsid": {
  10154. "description": "现货品种ID",
  10155. "type": "integer"
  10156. },
  10157. "futurequote": {
  10158. "description": "期货额度",
  10159. "type": "number"
  10160. },
  10161. "goodsgroupid": {
  10162. "description": "期货品种ID",
  10163. "type": "integer"
  10164. },
  10165. "marketid": {
  10166. "description": "市场ID",
  10167. "type": "integer"
  10168. },
  10169. "remark": {
  10170. "description": "备注",
  10171. "type": "string"
  10172. },
  10173. "spotquota": {
  10174. "description": "现货额度",
  10175. "type": "number"
  10176. },
  10177. "tradedate": {
  10178. "description": "交易日(yyyyMMdd)",
  10179. "type": "string"
  10180. },
  10181. "userid": {
  10182. "description": "所属机构",
  10183. "type": "integer"
  10184. }
  10185. }
  10186. },
  10187. "erms3.AddErms2SpotTradeApplyReq": {
  10188. "type": "object",
  10189. "required": [
  10190. "spottradeid"
  10191. ],
  10192. "properties": {
  10193. "applyjsondetail": {
  10194. "description": "申请明细(JSON)",
  10195. "type": "string"
  10196. },
  10197. "applystatus": {
  10198. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10199. "type": "integer"
  10200. },
  10201. "areauserid": {
  10202. "description": "所属机构",
  10203. "type": "integer"
  10204. },
  10205. "auditid": {
  10206. "description": "审核人",
  10207. "type": "integer"
  10208. },
  10209. "auditremark": {
  10210. "description": "审核备注",
  10211. "type": "string"
  10212. },
  10213. "audittime": {
  10214. "description": "审核时间",
  10215. "type": "string"
  10216. },
  10217. "createtime": {
  10218. "description": "创建时间",
  10219. "type": "string"
  10220. },
  10221. "creatorid": {
  10222. "description": "创建人",
  10223. "type": "integer"
  10224. },
  10225. "deliverygoodsid": {
  10226. "description": "现货品种ID",
  10227. "type": "integer"
  10228. },
  10229. "futureaccountid": {
  10230. "description": "期货资金账户",
  10231. "type": "integer"
  10232. },
  10233. "goodsgroupid": {
  10234. "description": "期货品种",
  10235. "type": "integer"
  10236. },
  10237. "marketid": {
  10238. "description": "市场ID",
  10239. "type": "integer"
  10240. },
  10241. "remark": {
  10242. "description": "备注",
  10243. "type": "string"
  10244. },
  10245. "spotaccountid": {
  10246. "description": "现货资金账户",
  10247. "type": "integer"
  10248. },
  10249. "spottradeid": {
  10250. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10251. "type": "integer"
  10252. },
  10253. "spottradename": {
  10254. "description": "业务名称",
  10255. "type": "string"
  10256. },
  10257. "spottradeno": {
  10258. "description": "业务编号",
  10259. "type": "string"
  10260. },
  10261. "tradedate": {
  10262. "description": "交易日(yyyyMMdd)",
  10263. "type": "string"
  10264. },
  10265. "wrstandardid": {
  10266. "description": "仓单标准ID",
  10267. "type": "integer"
  10268. }
  10269. }
  10270. },
  10271. "erms3.AddSpotContractApplyReq": {
  10272. "type": "object",
  10273. "required": [
  10274. "accountid",
  10275. "areauserid",
  10276. "contractno",
  10277. "contracttype",
  10278. "customeraccountid",
  10279. "customeruserid",
  10280. "details",
  10281. "orimargin",
  10282. "signdate"
  10283. ],
  10284. "properties": {
  10285. "accountid": {
  10286. "description": "资金账户ID",
  10287. "type": "integer"
  10288. },
  10289. "areauserid": {
  10290. "description": "所属机构",
  10291. "type": "integer"
  10292. },
  10293. "contractattachment": {
  10294. "description": "合同附件",
  10295. "type": "string"
  10296. },
  10297. "contractno": {
  10298. "description": "现货合同编号",
  10299. "type": "string"
  10300. },
  10301. "contracttype": {
  10302. "description": "现货合同类型 - 1:采购 -1:销售",
  10303. "type": "integer"
  10304. },
  10305. "creatorid": {
  10306. "description": "申请人",
  10307. "type": "integer"
  10308. },
  10309. "customeraccountid": {
  10310. "description": "客户资金账户ID",
  10311. "type": "integer"
  10312. },
  10313. "customeruserid": {
  10314. "description": "客户ID",
  10315. "type": "integer"
  10316. },
  10317. "details": {
  10318. "description": "明细",
  10319. "type": "array",
  10320. "items": {
  10321. "$ref": "#/definitions/erms3.SoptContractDetail"
  10322. }
  10323. },
  10324. "orimargin": {
  10325. "description": "初始保证金",
  10326. "type": "number"
  10327. },
  10328. "remark": {
  10329. "description": "备注",
  10330. "type": "string"
  10331. },
  10332. "signdate": {
  10333. "description": "签订日期",
  10334. "type": "string"
  10335. }
  10336. }
  10337. },
  10338. "erms3.AddSpotContractApplyRsp": {
  10339. "type": "object",
  10340. "required": [
  10341. "contractno"
  10342. ],
  10343. "properties": {
  10344. "contractno": {
  10345. "description": "现货合同编号",
  10346. "type": "string"
  10347. },
  10348. "spotcontractid": {
  10349. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10350. "type": "integer"
  10351. }
  10352. }
  10353. },
  10354. "erms3.AddUserInfoApplyReq": {
  10355. "type": "object",
  10356. "required": [
  10357. "userid"
  10358. ],
  10359. "properties": {
  10360. "accountid": {
  10361. "description": "交易系统帐号Id (加密存储)",
  10362. "type": "integer"
  10363. },
  10364. "areacode": {
  10365. "description": "机构代码",
  10366. "type": "string"
  10367. },
  10368. "areaid": {
  10369. "description": "机构Id",
  10370. "type": "integer"
  10371. },
  10372. "attachment1": {
  10373. "description": "附件1",
  10374. "type": "string"
  10375. },
  10376. "attachment2": {
  10377. "description": "附件2",
  10378. "type": "string"
  10379. },
  10380. "attachment3": {
  10381. "description": "附件3",
  10382. "type": "string"
  10383. },
  10384. "attachment4": {
  10385. "description": "附件4",
  10386. "type": "string"
  10387. },
  10388. "attachment5": {
  10389. "description": "附件5",
  10390. "type": "string"
  10391. },
  10392. "auditedby": {
  10393. "description": "审核人",
  10394. "type": "string"
  10395. },
  10396. "auditime": {
  10397. "description": "审核时间",
  10398. "type": "string"
  10399. },
  10400. "bankaccount": {
  10401. "description": "银行帐号 (加密存储)",
  10402. "type": "string"
  10403. },
  10404. "bankaccountname": {
  10405. "description": "收款人名称",
  10406. "type": "string"
  10407. },
  10408. "bankcardbackphotourl": {
  10409. "description": "银行卡背面照地址",
  10410. "type": "string"
  10411. },
  10412. "bankcardfrontphotourl": {
  10413. "description": "银行卡正面照地址",
  10414. "type": "string"
  10415. },
  10416. "bankid": {
  10417. "description": "银行编码",
  10418. "type": "string"
  10419. },
  10420. "bankname": {
  10421. "description": "银行名称",
  10422. "type": "string"
  10423. },
  10424. "bankpictureurl": {
  10425. "description": "银行卡正面地址",
  10426. "type": "string"
  10427. },
  10428. "biznature": {
  10429. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10430. "type": "integer"
  10431. },
  10432. "bizscope": {
  10433. "description": "企业经营范围(企业)",
  10434. "type": "string"
  10435. },
  10436. "biztype": {
  10437. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10438. "type": "integer"
  10439. },
  10440. "brokerid": {
  10441. "description": "经纪人ID(加密存储)",
  10442. "type": "string"
  10443. },
  10444. "cardaddress": {
  10445. "description": "证件地址 (加密存储)",
  10446. "type": "string"
  10447. },
  10448. "cardbackphotourl": {
  10449. "description": "背面证件照地址",
  10450. "type": "string"
  10451. },
  10452. "cardfrontphotourl": {
  10453. "description": "正面证件照地址",
  10454. "type": "string"
  10455. },
  10456. "cardnum": {
  10457. "description": "证件号码 (加密存储)",
  10458. "type": "string"
  10459. },
  10460. "cardtype": {
  10461. "description": "证件类型",
  10462. "type": "integer"
  10463. },
  10464. "cityid": {
  10465. "description": "市",
  10466. "type": "integer"
  10467. },
  10468. "company": {
  10469. "description": "公司(个人)",
  10470. "type": "string"
  10471. },
  10472. "contactcardbackphotourl": {
  10473. "description": "联系人证件背面图片地址",
  10474. "type": "string"
  10475. },
  10476. "contactcardfrontphotourl": {
  10477. "description": "联系人证件正面图片地址",
  10478. "type": "string"
  10479. },
  10480. "contactname": {
  10481. "description": "联系人",
  10482. "type": "string"
  10483. },
  10484. "countryid": {
  10485. "description": "国家",
  10486. "type": "integer"
  10487. },
  10488. "createtime": {
  10489. "description": "开户申请时间",
  10490. "type": "string"
  10491. },
  10492. "cusbankid": {
  10493. "description": "签约类型",
  10494. "type": "string"
  10495. },
  10496. "cusbankname": {
  10497. "description": "签约类型名称",
  10498. "type": "string"
  10499. },
  10500. "customername": {
  10501. "description": "客户名称(企业名称)",
  10502. "type": "string"
  10503. },
  10504. "districtid": {
  10505. "description": "地区",
  10506. "type": "integer"
  10507. },
  10508. "email": {
  10509. "description": "Email地址(加密存储)",
  10510. "type": "string"
  10511. },
  10512. "halfbodyphotourl": {
  10513. "description": "半身照地址",
  10514. "type": "string"
  10515. },
  10516. "headurl": {
  10517. "description": "头像地址",
  10518. "type": "string"
  10519. },
  10520. "ipaddress": {
  10521. "description": "IP地址",
  10522. "type": "string"
  10523. },
  10524. "isvalidate": {
  10525. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10526. "type": "string"
  10527. },
  10528. "legalcardbackphotourl": {
  10529. "description": "法人身份证背面照地址",
  10530. "type": "string"
  10531. },
  10532. "legalcardfrontphotourl": {
  10533. "description": "法人身份证正面照地址",
  10534. "type": "string"
  10535. },
  10536. "legalpersonname": {
  10537. "description": "法人姓名(企业)",
  10538. "type": "string"
  10539. },
  10540. "logincode": {
  10541. "description": "登录帐号 (加密存储)",
  10542. "type": "string"
  10543. },
  10544. "memberareaid": {
  10545. "description": "所属会员ID",
  10546. "type": "integer"
  10547. },
  10548. "mobile2": {
  10549. "description": "手机号码[明文-尚志]",
  10550. "type": "string"
  10551. },
  10552. "mobilephone": {
  10553. "description": "手机号码 (加密存储)",
  10554. "type": "string"
  10555. },
  10556. "modifiedby": {
  10557. "description": "修改人帐号",
  10558. "type": "integer"
  10559. },
  10560. "modifiedtime": {
  10561. "description": "修改时间",
  10562. "type": "string"
  10563. },
  10564. "nickname": {
  10565. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10566. "type": "string"
  10567. },
  10568. "openmode": {
  10569. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10570. "type": "integer"
  10571. },
  10572. "otherurl": {
  10573. "description": "其它图片地址[使用分号分隔]",
  10574. "type": "string"
  10575. },
  10576. "postalcode": {
  10577. "description": "邮政编码",
  10578. "type": "string"
  10579. },
  10580. "provinceid": {
  10581. "description": "省",
  10582. "type": "integer"
  10583. },
  10584. "proxystatementurl": {
  10585. "description": "授权委托书",
  10586. "type": "string"
  10587. },
  10588. "qq": {
  10589. "description": "QQ(加密存储",
  10590. "type": "string"
  10591. },
  10592. "referral": {
  10593. "description": "推荐人编码",
  10594. "type": "string"
  10595. },
  10596. "remark": {
  10597. "description": "备注",
  10598. "type": "string"
  10599. },
  10600. "removebeforestatus": {
  10601. "description": "REMOVEBEFORESTATUS",
  10602. "type": "integer"
  10603. },
  10604. "sex": {
  10605. "description": "性别 - 0:女 1:男",
  10606. "type": "integer"
  10607. },
  10608. "signedstatus": {
  10609. "description": "账户一号签签约状态",
  10610. "type": "integer"
  10611. },
  10612. "signpdfurl": {
  10613. "description": "签约pdf文件",
  10614. "type": "string"
  10615. },
  10616. "subbranch": {
  10617. "description": "开户支行",
  10618. "type": "string"
  10619. },
  10620. "telphone": {
  10621. "description": "联系电话(加密存储)",
  10622. "type": "string"
  10623. },
  10624. "userid": {
  10625. "description": "用户ID(自增ID)",
  10626. "type": "integer"
  10627. },
  10628. "userinfotype": {
  10629. "description": "用户信息类型 - 1:个人 2:企业",
  10630. "type": "integer"
  10631. },
  10632. "username": {
  10633. "description": "用户姓名",
  10634. "type": "string"
  10635. },
  10636. "userstate": {
  10637. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10638. "type": "integer"
  10639. },
  10640. "usertype": {
  10641. "description": "用户类型 - 1:投资者 2:机构",
  10642. "type": "integer"
  10643. },
  10644. "videourl": {
  10645. "description": "视频地址",
  10646. "type": "string"
  10647. },
  10648. "wechat": {
  10649. "description": "微信号 (加密存储)",
  10650. "type": "string"
  10651. }
  10652. }
  10653. },
  10654. "erms3.CustomerInfo": {
  10655. "type": "object",
  10656. "required": [
  10657. "userid"
  10658. ],
  10659. "properties": {
  10660. "accountids": {
  10661. "description": "资金账户ID列表",
  10662. "type": "array",
  10663. "items": {
  10664. "type": "integer"
  10665. }
  10666. },
  10667. "customername": {
  10668. "description": "名称(企业名称)",
  10669. "type": "string"
  10670. },
  10671. "mobile": {
  10672. "description": "手机号码",
  10673. "type": "string"
  10674. },
  10675. "userid": {
  10676. "description": "用户ID",
  10677. "type": "integer"
  10678. }
  10679. }
  10680. },
  10681. "erms3.ModifyUserInfoApplyReq": {
  10682. "type": "object",
  10683. "required": [
  10684. "userid"
  10685. ],
  10686. "properties": {
  10687. "accountid": {
  10688. "description": "交易系统帐号Id (加密存储)",
  10689. "type": "integer"
  10690. },
  10691. "areacode": {
  10692. "description": "机构代码",
  10693. "type": "string"
  10694. },
  10695. "areaid": {
  10696. "description": "机构Id",
  10697. "type": "integer"
  10698. },
  10699. "attachment1": {
  10700. "description": "附件1",
  10701. "type": "string"
  10702. },
  10703. "attachment2": {
  10704. "description": "附件2",
  10705. "type": "string"
  10706. },
  10707. "attachment3": {
  10708. "description": "附件3",
  10709. "type": "string"
  10710. },
  10711. "attachment4": {
  10712. "description": "附件4",
  10713. "type": "string"
  10714. },
  10715. "attachment5": {
  10716. "description": "附件5",
  10717. "type": "string"
  10718. },
  10719. "auditedby": {
  10720. "description": "审核人",
  10721. "type": "string"
  10722. },
  10723. "auditime": {
  10724. "description": "审核时间",
  10725. "type": "string"
  10726. },
  10727. "bankaccount": {
  10728. "description": "银行帐号 (加密存储)",
  10729. "type": "string"
  10730. },
  10731. "bankaccountname": {
  10732. "description": "收款人名称",
  10733. "type": "string"
  10734. },
  10735. "bankcardbackphotourl": {
  10736. "description": "银行卡背面照地址",
  10737. "type": "string"
  10738. },
  10739. "bankcardfrontphotourl": {
  10740. "description": "银行卡正面照地址",
  10741. "type": "string"
  10742. },
  10743. "bankid": {
  10744. "description": "银行编码",
  10745. "type": "string"
  10746. },
  10747. "bankname": {
  10748. "description": "银行名称",
  10749. "type": "string"
  10750. },
  10751. "bankpictureurl": {
  10752. "description": "银行卡正面地址",
  10753. "type": "string"
  10754. },
  10755. "biznature": {
  10756. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10757. "type": "integer"
  10758. },
  10759. "bizscope": {
  10760. "description": "企业经营范围(企业)",
  10761. "type": "string"
  10762. },
  10763. "biztype": {
  10764. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10765. "type": "integer"
  10766. },
  10767. "brokerid": {
  10768. "description": "经纪人ID(加密存储)",
  10769. "type": "string"
  10770. },
  10771. "cardaddress": {
  10772. "description": "证件地址 (加密存储)",
  10773. "type": "string"
  10774. },
  10775. "cardbackphotourl": {
  10776. "description": "背面证件照地址",
  10777. "type": "string"
  10778. },
  10779. "cardfrontphotourl": {
  10780. "description": "正面证件照地址",
  10781. "type": "string"
  10782. },
  10783. "cardnum": {
  10784. "description": "证件号码 (加密存储)",
  10785. "type": "string"
  10786. },
  10787. "cardtype": {
  10788. "description": "证件类型",
  10789. "type": "integer"
  10790. },
  10791. "cityid": {
  10792. "description": "市",
  10793. "type": "integer"
  10794. },
  10795. "company": {
  10796. "description": "公司(个人)",
  10797. "type": "string"
  10798. },
  10799. "contactcardbackphotourl": {
  10800. "description": "联系人证件背面图片地址",
  10801. "type": "string"
  10802. },
  10803. "contactcardfrontphotourl": {
  10804. "description": "联系人证件正面图片地址",
  10805. "type": "string"
  10806. },
  10807. "contactname": {
  10808. "description": "联系人",
  10809. "type": "string"
  10810. },
  10811. "countryid": {
  10812. "description": "国家",
  10813. "type": "integer"
  10814. },
  10815. "createtime": {
  10816. "description": "开户申请时间",
  10817. "type": "string"
  10818. },
  10819. "cusbankid": {
  10820. "description": "签约类型",
  10821. "type": "string"
  10822. },
  10823. "cusbankname": {
  10824. "description": "签约类型名称",
  10825. "type": "string"
  10826. },
  10827. "customername": {
  10828. "description": "客户名称(企业名称)",
  10829. "type": "string"
  10830. },
  10831. "districtid": {
  10832. "description": "地区",
  10833. "type": "integer"
  10834. },
  10835. "email": {
  10836. "description": "Email地址(加密存储)",
  10837. "type": "string"
  10838. },
  10839. "halfbodyphotourl": {
  10840. "description": "半身照地址",
  10841. "type": "string"
  10842. },
  10843. "headurl": {
  10844. "description": "头像地址",
  10845. "type": "string"
  10846. },
  10847. "ipaddress": {
  10848. "description": "IP地址",
  10849. "type": "string"
  10850. },
  10851. "isvalidate": {
  10852. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10853. "type": "string"
  10854. },
  10855. "legalcardbackphotourl": {
  10856. "description": "法人身份证背面照地址",
  10857. "type": "string"
  10858. },
  10859. "legalcardfrontphotourl": {
  10860. "description": "法人身份证正面照地址",
  10861. "type": "string"
  10862. },
  10863. "legalpersonname": {
  10864. "description": "法人姓名(企业)",
  10865. "type": "string"
  10866. },
  10867. "logincode": {
  10868. "description": "登录帐号 (加密存储)",
  10869. "type": "string"
  10870. },
  10871. "memberareaid": {
  10872. "description": "所属会员ID",
  10873. "type": "integer"
  10874. },
  10875. "mobile2": {
  10876. "description": "手机号码[明文-尚志]",
  10877. "type": "string"
  10878. },
  10879. "mobilephone": {
  10880. "description": "手机号码 (加密存储)",
  10881. "type": "string"
  10882. },
  10883. "modifiedby": {
  10884. "description": "修改人帐号",
  10885. "type": "integer"
  10886. },
  10887. "modifiedtime": {
  10888. "description": "修改时间",
  10889. "type": "string"
  10890. },
  10891. "nickname": {
  10892. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10893. "type": "string"
  10894. },
  10895. "openmode": {
  10896. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10897. "type": "integer"
  10898. },
  10899. "otherurl": {
  10900. "description": "其它图片地址[使用分号分隔]",
  10901. "type": "string"
  10902. },
  10903. "postalcode": {
  10904. "description": "邮政编码",
  10905. "type": "string"
  10906. },
  10907. "provinceid": {
  10908. "description": "省",
  10909. "type": "integer"
  10910. },
  10911. "proxystatementurl": {
  10912. "description": "授权委托书",
  10913. "type": "string"
  10914. },
  10915. "qq": {
  10916. "description": "QQ(加密存储",
  10917. "type": "string"
  10918. },
  10919. "referral": {
  10920. "description": "推荐人编码",
  10921. "type": "string"
  10922. },
  10923. "remark": {
  10924. "description": "备注",
  10925. "type": "string"
  10926. },
  10927. "removebeforestatus": {
  10928. "description": "REMOVEBEFORESTATUS",
  10929. "type": "integer"
  10930. },
  10931. "sex": {
  10932. "description": "性别 - 0:女 1:男",
  10933. "type": "integer"
  10934. },
  10935. "signedstatus": {
  10936. "description": "账户一号签签约状态",
  10937. "type": "integer"
  10938. },
  10939. "signpdfurl": {
  10940. "description": "签约pdf文件",
  10941. "type": "string"
  10942. },
  10943. "subbranch": {
  10944. "description": "开户支行",
  10945. "type": "string"
  10946. },
  10947. "telphone": {
  10948. "description": "联系电话(加密存储)",
  10949. "type": "string"
  10950. },
  10951. "userid": {
  10952. "description": "用户ID(自增ID)",
  10953. "type": "integer"
  10954. },
  10955. "userinfotype": {
  10956. "description": "用户信息类型 - 1:个人 2:企业",
  10957. "type": "integer"
  10958. },
  10959. "username": {
  10960. "description": "用户姓名",
  10961. "type": "string"
  10962. },
  10963. "userstate": {
  10964. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10965. "type": "integer"
  10966. },
  10967. "usertype": {
  10968. "description": "用户类型 - 1:投资者 2:机构",
  10969. "type": "integer"
  10970. },
  10971. "videourl": {
  10972. "description": "视频地址",
  10973. "type": "string"
  10974. },
  10975. "wechat": {
  10976. "description": "微信号 (加密存储)",
  10977. "type": "string"
  10978. }
  10979. }
  10980. },
  10981. "erms3.QryAuditContractRsp": {
  10982. "type": "object",
  10983. "required": [
  10984. "matchcustomername",
  10985. "spotcontractid"
  10986. ],
  10987. "properties": {
  10988. "accountid": {
  10989. "description": "交易员ID",
  10990. "type": "string"
  10991. },
  10992. "applystatus": {
  10993. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10994. "type": "integer"
  10995. },
  10996. "curdeliveryqty": {
  10997. "description": "未交收量",
  10998. "type": "integer"
  10999. },
  11000. "customername": {
  11001. "description": "采购方ID",
  11002. "type": "string"
  11003. },
  11004. "deliverygoodsid": {
  11005. "description": "品种ID",
  11006. "type": "string"
  11007. },
  11008. "deliveryqty": {
  11009. "description": "交收量",
  11010. "type": "integer"
  11011. },
  11012. "enumdicname": {
  11013. "description": "单位名称",
  11014. "type": "string"
  11015. },
  11016. "matchaccountid": {
  11017. "description": "业务员ID",
  11018. "type": "string"
  11019. },
  11020. "matchcustomername": {
  11021. "description": "销售方ID",
  11022. "type": "string"
  11023. },
  11024. "pricedqty": {
  11025. "description": "定价量",
  11026. "type": "number"
  11027. },
  11028. "signdate": {
  11029. "description": "签订日期",
  11030. "type": "string"
  11031. },
  11032. "spotcontractid": {
  11033. "description": "合同ID",
  11034. "type": "string"
  11035. },
  11036. "totaldqty": {
  11037. "description": "合同量",
  11038. "type": "number"
  11039. },
  11040. "unpricedqty": {
  11041. "description": "未定价量",
  11042. "type": "number"
  11043. },
  11044. "wrstandardname": {
  11045. "description": "商品名称",
  11046. "type": "string"
  11047. }
  11048. }
  11049. },
  11050. "erms3.QryPendingBizRsp": {
  11051. "$ref": "#/definitions/models.PendingAuditBizModel"
  11052. },
  11053. "erms3.QueryBusinessInfoRsp": {
  11054. "type": "object",
  11055. "properties": {
  11056. "businessid": {
  11057. "description": "业务ID.",
  11058. "type": "integer"
  11059. },
  11060. "buyamount": {
  11061. "description": "采购额.",
  11062. "type": "number"
  11063. },
  11064. "buyqty": {
  11065. "description": "采购量.",
  11066. "type": "string"
  11067. },
  11068. "futurepl": {
  11069. "description": "期货盈亏.",
  11070. "type": "number"
  11071. },
  11072. "futureqty": {
  11073. "description": "期货敞口.",
  11074. "type": "string"
  11075. },
  11076. "goodsid": {
  11077. "description": "商品名称/商品代码.",
  11078. "type": "string"
  11079. },
  11080. "hedgingqty": {
  11081. "description": "套保量.",
  11082. "type": "string"
  11083. },
  11084. "sellamount": {
  11085. "description": "销售额.",
  11086. "type": "number"
  11087. },
  11088. "sellqty": {
  11089. "description": "销售量.",
  11090. "type": "string"
  11091. },
  11092. "spotmarketvalue": {
  11093. "description": "现货市值.",
  11094. "type": "number"
  11095. },
  11096. "spotpl": {
  11097. "description": "浮动权益.",
  11098. "type": "number"
  11099. },
  11100. "spotqty": {
  11101. "description": "现货量.",
  11102. "type": "string"
  11103. },
  11104. "statu": {
  11105. "description": "状态,0-未结束 1-已结束.",
  11106. "type": "integer"
  11107. },
  11108. "totalpl": {
  11109. "description": "总盈亏.",
  11110. "type": "number"
  11111. },
  11112. "totalqty": {
  11113. "description": "总敞口.",
  11114. "type": "string"
  11115. },
  11116. "type": {
  11117. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11118. "type": "integer"
  11119. }
  11120. }
  11121. },
  11122. "erms3.QuerySpotContractAppleFormRsp": {
  11123. "type": "object",
  11124. "properties": {
  11125. "goodses": {
  11126. "description": "合约列表",
  11127. "type": "array",
  11128. "items": {
  11129. "$ref": "#/definitions/models.GoodsIDAndName"
  11130. }
  11131. },
  11132. "oppositeusers": {
  11133. "description": "对方账号列表",
  11134. "type": "array",
  11135. "items": {
  11136. "$ref": "#/definitions/erms3.CustomerInfo"
  11137. }
  11138. },
  11139. "ouruser": {
  11140. "description": "我方账号",
  11141. "type": "object",
  11142. "$ref": "#/definitions/erms3.CustomerInfo"
  11143. },
  11144. "warehouseinfos": {
  11145. "description": "仓库信息列表",
  11146. "type": "array",
  11147. "items": {
  11148. "$ref": "#/definitions/models.Warehouseinfo"
  11149. }
  11150. },
  11151. "wrstandards": {
  11152. "description": "仓单标准列表",
  11153. "type": "array",
  11154. "items": {
  11155. "$ref": "#/definitions/models.WRStandardInfo"
  11156. }
  11157. }
  11158. }
  11159. },
  11160. "erms3.QuerySpotContractInfoRsp": {
  11161. "type": "object",
  11162. "properties": {
  11163. "accountid": {
  11164. "description": "表示交易员ID.",
  11165. "type": "integer"
  11166. },
  11167. "curdeliveryqty": {
  11168. "description": "表示未交收量.",
  11169. "type": "number"
  11170. },
  11171. "customername": {
  11172. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11173. "type": "string"
  11174. },
  11175. "deliverygoodsid": {
  11176. "description": "表示品种ID.",
  11177. "type": "string"
  11178. },
  11179. "deliveryqty": {
  11180. "description": "表示交收量.",
  11181. "type": "number"
  11182. },
  11183. "matchaccountid": {
  11184. "description": "表示业务员ID.",
  11185. "type": "integer"
  11186. },
  11187. "matchcustomername": {
  11188. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11189. "type": "string"
  11190. },
  11191. "priceqty": {
  11192. "description": "表示定价量.",
  11193. "type": "number"
  11194. },
  11195. "relatedbizid": {
  11196. "description": "表示业务ID.",
  11197. "type": "string"
  11198. },
  11199. "signdate": {
  11200. "description": "表示签订日期.",
  11201. "type": "string"
  11202. },
  11203. "spotcontractid": {
  11204. "description": "合同ID",
  11205. "type": "string"
  11206. },
  11207. "status": {
  11208. "description": "表示状态,0-履约中 1-已完成.",
  11209. "type": "integer"
  11210. },
  11211. "totalqty": {
  11212. "description": "表示合同量.",
  11213. "type": "number"
  11214. },
  11215. "unpricedqty": {
  11216. "description": "表示未定价量.",
  11217. "type": "number"
  11218. },
  11219. "wrstandardname": {
  11220. "description": "表示商品ID.",
  11221. "type": "string"
  11222. }
  11223. }
  11224. },
  11225. "erms3.QueryUserInfoAppliesRsp": {
  11226. "type": "object",
  11227. "required": [
  11228. "userid"
  11229. ],
  11230. "properties": {
  11231. "biznature": {
  11232. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11233. "type": "integer"
  11234. },
  11235. "contactname": {
  11236. "description": "联系人",
  11237. "type": "string"
  11238. },
  11239. "createtime": {
  11240. "description": "开户申请时间",
  11241. "type": "string"
  11242. },
  11243. "userid": {
  11244. "description": "用户ID(自增ID)",
  11245. "type": "integer"
  11246. },
  11247. "userinfotype": {
  11248. "description": "用户信息类型 - 1:个人 2:企业",
  11249. "type": "integer"
  11250. },
  11251. "username": {
  11252. "description": "用户姓名",
  11253. "type": "string"
  11254. },
  11255. "userstate": {
  11256. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11257. "type": "integer"
  11258. }
  11259. }
  11260. },
  11261. "erms3.QueryUserInfosRsp": {
  11262. "type": "object",
  11263. "required": [
  11264. "userid"
  11265. ],
  11266. "properties": {
  11267. "biznature": {
  11268. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11269. "type": "integer"
  11270. },
  11271. "contactname": {
  11272. "description": "联系人",
  11273. "type": "string"
  11274. },
  11275. "customername": {
  11276. "description": "客户名称(企业名称)",
  11277. "type": "string"
  11278. },
  11279. "userid": {
  11280. "description": "用户ID",
  11281. "type": "integer"
  11282. },
  11283. "userinfotype": {
  11284. "description": "用户信息类型 - 1:个人 2:企业",
  11285. "type": "integer"
  11286. },
  11287. "userstatus": {
  11288. "description": "用户状态 - 1:正常 2:注销",
  11289. "type": "integer"
  11290. }
  11291. }
  11292. },
  11293. "erms3.SoptContractDetail": {
  11294. "type": "object",
  11295. "required": [
  11296. "deliverygoodsid",
  11297. "producttype",
  11298. "unitname",
  11299. "warehouseid",
  11300. "wrstandardid",
  11301. "wrstandardname"
  11302. ],
  11303. "properties": {
  11304. "deliverygoodsdesc": {
  11305. "description": "现货品种说明",
  11306. "type": "string"
  11307. },
  11308. "deliverygoodsid": {
  11309. "description": "现货品种ID",
  11310. "type": "integer"
  11311. },
  11312. "deliverygoodsname": {
  11313. "description": "现货品种名称",
  11314. "type": "string"
  11315. },
  11316. "pointdesc": {
  11317. "description": "点价描述",
  11318. "type": "string"
  11319. },
  11320. "producttype": {
  11321. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11322. "type": "integer"
  11323. },
  11324. "producttypename": {
  11325. "description": "产品类型名称",
  11326. "type": "string"
  11327. },
  11328. "spotPointOrderVoList": {
  11329. "description": "点价列表",
  11330. "type": "array",
  11331. "items": {
  11332. "$ref": "#/definitions/erms3.SpotPointOrder"
  11333. }
  11334. },
  11335. "spotPriceOrderList": {
  11336. "description": "定价列表",
  11337. "type": "array",
  11338. "items": {
  11339. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11340. }
  11341. },
  11342. "unitname": {
  11343. "description": "单位名称",
  11344. "type": "string"
  11345. },
  11346. "warehouseid": {
  11347. "description": "仓库ID",
  11348. "type": "integer"
  11349. },
  11350. "warehousename": {
  11351. "description": "仓库名称",
  11352. "type": "string"
  11353. },
  11354. "wrstandardid": {
  11355. "description": "交易标的ID",
  11356. "type": "integer"
  11357. },
  11358. "wrstandardname": {
  11359. "description": "交易标的名称",
  11360. "type": "string"
  11361. }
  11362. }
  11363. },
  11364. "erms3.SpotPointOrder": {
  11365. "type": "object",
  11366. "required": [
  11367. "basic",
  11368. "goodsid",
  11369. "qty"
  11370. ],
  11371. "properties": {
  11372. "basic": {
  11373. "description": "基差",
  11374. "type": "number"
  11375. },
  11376. "deliveryenddate": {
  11377. "description": "交收结束日期",
  11378. "type": "string"
  11379. },
  11380. "deliverystartdate": {
  11381. "description": "交收开始日期",
  11382. "type": "string"
  11383. },
  11384. "enddate": {
  11385. "description": "点价结束日期",
  11386. "type": "string"
  11387. },
  11388. "goodsid": {
  11389. "description": "商品ID",
  11390. "type": "integer"
  11391. },
  11392. "goodsname": {
  11393. "description": "商品名称",
  11394. "type": "string"
  11395. },
  11396. "qty": {
  11397. "description": "数量",
  11398. "type": "number"
  11399. },
  11400. "startdate": {
  11401. "description": "点价开始日期",
  11402. "type": "string"
  11403. }
  11404. }
  11405. },
  11406. "erms3.SpotPriceOrder": {
  11407. "type": "object",
  11408. "required": [
  11409. "amount",
  11410. "price",
  11411. "qty"
  11412. ],
  11413. "properties": {
  11414. "amount": {
  11415. "description": "金额",
  11416. "type": "number"
  11417. },
  11418. "deliveryenddate": {
  11419. "description": "交收结束日期",
  11420. "type": "string"
  11421. },
  11422. "deliverystartdate": {
  11423. "description": "交收开始日期",
  11424. "type": "string"
  11425. },
  11426. "price": {
  11427. "description": "价格",
  11428. "type": "number"
  11429. },
  11430. "qty": {
  11431. "description": "数量",
  11432. "type": "number"
  11433. }
  11434. }
  11435. },
  11436. "hsby.GetHsbyMyCountRsp": {
  11437. "type": "object",
  11438. "properties": {
  11439. "myCouponCount": {
  11440. "description": "我的优惠卷数量",
  11441. "type": "integer"
  11442. },
  11443. "myOrderDetailListingCount": {
  11444. "description": "我的订单求购中数量",
  11445. "type": "integer"
  11446. },
  11447. "myOrderDetailPreCount": {
  11448. "description": "我的订单抢购中数量",
  11449. "type": "integer"
  11450. },
  11451. "myPackageUnReceiveCount": {
  11452. "description": "我的包裹待收货数量",
  11453. "type": "integer"
  11454. },
  11455. "myPackageUnSendCount": {
  11456. "description": "我的包裹待发货数量",
  11457. "type": "integer"
  11458. },
  11459. "myPayOrderCount": {
  11460. "description": "我的订单待付款数量",
  11461. "type": "integer"
  11462. }
  11463. }
  11464. },
  11465. "hsby.QueryProvincesAndCitiesRsp": {
  11466. "type": "object",
  11467. "properties": {
  11468. "cities": {
  11469. "description": "市",
  11470. "type": "array",
  11471. "items": {
  11472. "$ref": "#/definitions/models.Division"
  11473. }
  11474. },
  11475. "province": {
  11476. "description": "省",
  11477. "type": "object",
  11478. "$ref": "#/definitions/models.Division"
  11479. }
  11480. }
  11481. },
  11482. "models.AreaSpotModel": {
  11483. "type": "object",
  11484. "properties": {
  11485. "areauserid": {
  11486. "description": "所属机构",
  11487. "type": "integer"
  11488. },
  11489. "decreaseqty": {
  11490. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  11491. "type": "number"
  11492. },
  11493. "increaseqty": {
  11494. "description": "增加数量=销售计划数量+采购已定价数量",
  11495. "type": "number"
  11496. },
  11497. "oritoalspotqty": {
  11498. "description": "昨日数量",
  11499. "type": "number"
  11500. },
  11501. "totalspotqty": {
  11502. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  11503. "type": "number"
  11504. },
  11505. "updatetime": {
  11506. "description": "更新时间",
  11507. "type": "string"
  11508. },
  11509. "wrstandardcode": {
  11510. "description": "现货品种代码",
  11511. "type": "string"
  11512. },
  11513. "wrstandardid": {
  11514. "description": "现货商品ID",
  11515. "type": "integer"
  11516. },
  11517. "wrstandardname": {
  11518. "description": "现货品种",
  11519. "type": "string"
  11520. }
  11521. }
  11522. },
  11523. "models.Clientfixedadconfig": {
  11524. "type": "object",
  11525. "required": [
  11526. "adsort",
  11527. "adtype"
  11528. ],
  11529. "properties": {
  11530. "adsort": {
  11531. "description": "排序",
  11532. "type": "integer"
  11533. },
  11534. "adtype": {
  11535. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11536. "type": "integer"
  11537. },
  11538. "areauserid": {
  11539. "description": "所属机构ID",
  11540. "type": "integer"
  11541. },
  11542. "createdate": {
  11543. "description": "创建时间",
  11544. "type": "string"
  11545. },
  11546. "creatorid": {
  11547. "description": "创建人",
  11548. "type": "integer"
  11549. },
  11550. "imagepath": {
  11551. "description": "图片",
  11552. "type": "string"
  11553. },
  11554. "isshow": {
  11555. "description": "是否展示 - 0:不展示 1:展示",
  11556. "type": "integer"
  11557. },
  11558. "modifierid": {
  11559. "description": "操作人",
  11560. "type": "integer"
  11561. },
  11562. "recsize": {
  11563. "description": "推荐尺寸",
  11564. "type": "string"
  11565. },
  11566. "title": {
  11567. "description": "标题",
  11568. "type": "string"
  11569. },
  11570. "updatedate": {
  11571. "description": "更新时间",
  11572. "type": "string"
  11573. },
  11574. "urlcontent": {
  11575. "description": "链接(地址或商品ID)",
  11576. "type": "string"
  11577. },
  11578. "urltype": {
  11579. "description": "链接类型 - 1:直接地址 2:商品ID",
  11580. "type": "integer"
  11581. }
  11582. }
  11583. },
  11584. "models.Division": {
  11585. "type": "object",
  11586. "required": [
  11587. "autoid",
  11588. "divisioncode"
  11589. ],
  11590. "properties": {
  11591. "autoid": {
  11592. "description": "自增ID",
  11593. "type": "integer"
  11594. },
  11595. "divisioncode": {
  11596. "description": "行政代码",
  11597. "type": "string"
  11598. },
  11599. "divisionlevel": {
  11600. "description": "行政级别",
  11601. "type": "string"
  11602. },
  11603. "divisionname": {
  11604. "description": "行政名称",
  11605. "type": "string"
  11606. },
  11607. "modifierid": {
  11608. "description": "修改人",
  11609. "type": "integer"
  11610. },
  11611. "modifytime": {
  11612. "description": "修改时间",
  11613. "type": "string"
  11614. },
  11615. "parentcode": {
  11616. "description": "上级行政代码",
  11617. "type": "string"
  11618. },
  11619. "pathname": {
  11620. "description": "路径名称",
  11621. "type": "string"
  11622. },
  11623. "postcode": {
  11624. "description": "邮政编码",
  11625. "type": "string"
  11626. },
  11627. "separablename": {
  11628. "description": "可拆分的全称",
  11629. "type": "string"
  11630. },
  11631. "shortcode": {
  11632. "description": "地区简码",
  11633. "type": "string"
  11634. }
  11635. }
  11636. },
  11637. "models.Enumdicitem": {
  11638. "type": "object",
  11639. "required": [
  11640. "autoid",
  11641. "enumdiccode",
  11642. "enumdicid",
  11643. "enumitemname"
  11644. ],
  11645. "properties": {
  11646. "autoid": {
  11647. "description": "自增ID",
  11648. "type": "integer"
  11649. },
  11650. "bankmappedvalue": {
  11651. "description": "银行服务对应值",
  11652. "type": "string"
  11653. },
  11654. "enumdiccode": {
  11655. "description": "所属枚举代码",
  11656. "type": "string"
  11657. },
  11658. "enumdicid": {
  11659. "description": "所属枚举ID",
  11660. "type": "integer"
  11661. },
  11662. "enumdicname": {
  11663. "description": "枚举项名称",
  11664. "type": "string"
  11665. },
  11666. "enumitemname": {
  11667. "description": "枚举项值",
  11668. "type": "integer"
  11669. },
  11670. "enumitemstatus": {
  11671. "description": "枚举项状态 - 1.启用 2.不启用",
  11672. "type": "integer"
  11673. },
  11674. "enumitemvalue": {
  11675. "description": "通用值 - [币种通用简写]",
  11676. "type": "string"
  11677. },
  11678. "param1": {
  11679. "description": "参数1[币种:币种小数位]",
  11680. "type": "string"
  11681. },
  11682. "param2": {
  11683. "description": "参数1[币种:币种显示单位]",
  11684. "type": "string"
  11685. },
  11686. "remark": {
  11687. "description": "备注",
  11688. "type": "string"
  11689. }
  11690. }
  11691. },
  11692. "models.ErmcpAreaSpotDetailModel": {
  11693. "type": "object",
  11694. "properties": {
  11695. "contracttype": {
  11696. "description": "合同类型 1-采购 -1-销售",
  11697. "type": "integer"
  11698. },
  11699. "createtime": {
  11700. "description": "创建时间",
  11701. "type": "string"
  11702. },
  11703. "enumdicname": {
  11704. "description": "现货商品单位名称",
  11705. "type": "string"
  11706. },
  11707. "logtype": {
  11708. "description": "记录类型 1-套保 2-现货合同",
  11709. "type": "integer"
  11710. },
  11711. "qty": {
  11712. "description": "数量",
  11713. "type": "number"
  11714. },
  11715. "recordname": {
  11716. "description": "类型名称",
  11717. "type": "string"
  11718. },
  11719. "relatedid": {
  11720. "description": "套保计划ID/现货合同ID",
  11721. "type": "string"
  11722. },
  11723. "relatedno": {
  11724. "description": "编号",
  11725. "type": "string"
  11726. },
  11727. "strtime": {
  11728. "description": "时间",
  11729. "type": "string"
  11730. },
  11731. "wrstandardcode": {
  11732. "description": "现货商品代码",
  11733. "type": "string"
  11734. },
  11735. "wrstandardname": {
  11736. "description": "现货商品名称",
  11737. "type": "string"
  11738. }
  11739. }
  11740. },
  11741. "models.ErmcpAreaStock": {
  11742. "type": "object",
  11743. "properties": {
  11744. "brandname": {
  11745. "description": "品牌名称",
  11746. "type": "string"
  11747. },
  11748. "curstock": {
  11749. "description": "期末库存量(今日量)",
  11750. "type": "number"
  11751. },
  11752. "deliverygoodsid": {
  11753. "description": "现货品种ID",
  11754. "type": "integer"
  11755. },
  11756. "enumdicname": {
  11757. "description": "单位名称",
  11758. "type": "string"
  11759. },
  11760. "modelname": {
  11761. "description": "型号名称",
  11762. "type": "string"
  11763. },
  11764. "oristock": {
  11765. "description": "期初库存量(昨日量)",
  11766. "type": "number"
  11767. },
  11768. "spotgoodsbrandid": {
  11769. "description": "现货品牌ID",
  11770. "type": "integer"
  11771. },
  11772. "spotgoodsmodelid": {
  11773. "description": "现货型号ID",
  11774. "type": "integer"
  11775. },
  11776. "todaybuyinqty": {
  11777. "description": "今日采购入库量",
  11778. "type": "number"
  11779. },
  11780. "todayproduceinqty": {
  11781. "description": "今日生产入库量",
  11782. "type": "number"
  11783. },
  11784. "todayproduceoutqty": {
  11785. "description": "今日生产出库量",
  11786. "type": "number"
  11787. },
  11788. "todayselloutqty": {
  11789. "description": "今日销售出库量",
  11790. "type": "number"
  11791. },
  11792. "unitid": {
  11793. "description": "单位id",
  11794. "type": "integer"
  11795. },
  11796. "updatetime": {
  11797. "description": "更新时间",
  11798. "type": "string"
  11799. },
  11800. "userid": {
  11801. "description": "机构ID",
  11802. "type": "integer"
  11803. },
  11804. "username": {
  11805. "description": "机构名称",
  11806. "type": "string"
  11807. },
  11808. "warehousecode": {
  11809. "description": "仓库代码",
  11810. "type": "string"
  11811. },
  11812. "warehouseinfoid": {
  11813. "description": "仓库ID",
  11814. "type": "string"
  11815. },
  11816. "warehousename": {
  11817. "description": "仓库名称",
  11818. "type": "string"
  11819. },
  11820. "warehousetype": {
  11821. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11822. "type": "integer"
  11823. },
  11824. "wrstandardcode": {
  11825. "description": "现货商品代码",
  11826. "type": "string"
  11827. },
  11828. "wrstandardid": {
  11829. "description": "现货商品ID",
  11830. "type": "string"
  11831. },
  11832. "wrstandardname": {
  11833. "description": "现货商品名称",
  11834. "type": "string"
  11835. }
  11836. }
  11837. },
  11838. "models.ErmcpAreaStockApply": {
  11839. "type": "object",
  11840. "properties": {
  11841. "applyid": {
  11842. "description": "申请人",
  11843. "type": "integer"
  11844. },
  11845. "applyname": {
  11846. "description": "申请人名称",
  11847. "type": "string"
  11848. },
  11849. "applyremark": {
  11850. "description": "申请备注",
  11851. "type": "string"
  11852. },
  11853. "applysrc": {
  11854. "description": "申请来源 - 1:管理端 2:终端",
  11855. "type": "integer"
  11856. },
  11857. "applystatus": {
  11858. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11859. "type": "integer"
  11860. },
  11861. "applytime": {
  11862. "description": "申请时间",
  11863. "type": "string"
  11864. },
  11865. "auditid": {
  11866. "description": "审核人",
  11867. "type": "integer"
  11868. },
  11869. "auditname": {
  11870. "description": "审核人名称",
  11871. "type": "string"
  11872. },
  11873. "auditremark": {
  11874. "description": "审核备注",
  11875. "type": "string"
  11876. },
  11877. "auditsrc": {
  11878. "description": "审核来源 - 1:管理端 2:终端",
  11879. "type": "integer"
  11880. },
  11881. "audittime": {
  11882. "description": "审核时间",
  11883. "type": "string"
  11884. },
  11885. "audittradedate": {
  11886. "description": "审核交易日(yyyyMMdd)",
  11887. "type": "string"
  11888. },
  11889. "brandname": {
  11890. "description": "品牌名称",
  11891. "type": "string"
  11892. },
  11893. "buyuserid": {
  11894. "description": "采购方userid",
  11895. "type": "integer"
  11896. },
  11897. "buyusername": {
  11898. "description": "采购方名称",
  11899. "type": "string"
  11900. },
  11901. "contractno": {
  11902. "description": "合同编号",
  11903. "type": "string"
  11904. },
  11905. "contractqty": {
  11906. "description": "合同量",
  11907. "type": "number"
  11908. },
  11909. "contracttype": {
  11910. "description": "现货合同类型 - 1:采购 -1:销售",
  11911. "type": "integer"
  11912. },
  11913. "deliverygoodsid": {
  11914. "description": "现货品种ID",
  11915. "type": "integer"
  11916. },
  11917. "enumdicname": {
  11918. "description": "现货商品单位名称",
  11919. "type": "string"
  11920. },
  11921. "inoutapplyid": {
  11922. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  11923. "type": "string"
  11924. },
  11925. "inouttype": {
  11926. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  11927. "type": "integer"
  11928. },
  11929. "modelname": {
  11930. "description": "型号名称",
  11931. "type": "string"
  11932. },
  11933. "pricetype": {
  11934. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  11935. "type": "integer"
  11936. },
  11937. "qty": {
  11938. "description": "数量",
  11939. "type": "number"
  11940. },
  11941. "selluserid": {
  11942. "description": "销售方userid",
  11943. "type": "integer"
  11944. },
  11945. "sellusername": {
  11946. "description": "销售方名称",
  11947. "type": "string"
  11948. },
  11949. "spotcontractid": {
  11950. "description": "关联现货合同ID",
  11951. "type": "string"
  11952. },
  11953. "spotgoodsbrandid": {
  11954. "description": "现货品牌ID",
  11955. "type": "integer"
  11956. },
  11957. "spotgoodsmodelid": {
  11958. "description": "现货型号ID",
  11959. "type": "integer"
  11960. },
  11961. "unitid": {
  11962. "description": "单位id",
  11963. "type": "integer"
  11964. },
  11965. "userid": {
  11966. "description": "机构ID",
  11967. "type": "integer"
  11968. },
  11969. "warehousecode": {
  11970. "description": "仓库代码",
  11971. "type": "string"
  11972. },
  11973. "warehouseinfoid": {
  11974. "description": "现货仓库ID",
  11975. "type": "string"
  11976. },
  11977. "warehousename": {
  11978. "description": "仓库名称",
  11979. "type": "string"
  11980. },
  11981. "warehousetype": {
  11982. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  11983. "type": "integer"
  11984. },
  11985. "wrstandardcode": {
  11986. "description": "现货商品代码",
  11987. "type": "string"
  11988. },
  11989. "wrstandardid": {
  11990. "description": "现货商品ID",
  11991. "type": "string"
  11992. },
  11993. "wrstandardname": {
  11994. "description": "现货商品名称",
  11995. "type": "string"
  11996. }
  11997. }
  11998. },
  11999. "models.ErmcpAreaStockApplySum": {
  12000. "type": "object",
  12001. "properties": {
  12002. "brandname": {
  12003. "description": "品牌名称",
  12004. "type": "string"
  12005. },
  12006. "inouttype": {
  12007. "description": "出入库类型 - 1:采购入库 2:销售出库 3:生产入库 4:生产出库",
  12008. "type": "integer"
  12009. },
  12010. "modelname": {
  12011. "description": "型号名称",
  12012. "type": "string"
  12013. },
  12014. "spotcontractid": {
  12015. "description": "关联现货合同ID",
  12016. "type": "string"
  12017. },
  12018. "spotgoodsbrandid": {
  12019. "description": "品牌id",
  12020. "type": "integer"
  12021. },
  12022. "spotgoodsmodelid": {
  12023. "description": "型号id",
  12024. "type": "integer"
  12025. },
  12026. "totalqty": {
  12027. "description": "总数量",
  12028. "type": "number"
  12029. }
  12030. }
  12031. },
  12032. "models.ErmcpAreaStockReport": {
  12033. "type": "object",
  12034. "properties": {
  12035. "brandname": {
  12036. "description": "品牌名称",
  12037. "type": "string"
  12038. },
  12039. "curstock": {
  12040. "description": "期末库存量",
  12041. "type": "number"
  12042. },
  12043. "deliverygoodsid": {
  12044. "description": "现货品种ID",
  12045. "type": "integer"
  12046. },
  12047. "enumdicname": {
  12048. "description": "单位名称",
  12049. "type": "string"
  12050. },
  12051. "modelname": {
  12052. "description": "型号名称",
  12053. "type": "string"
  12054. },
  12055. "oristock": {
  12056. "description": "期初库存量",
  12057. "type": "number"
  12058. },
  12059. "spotgoodsbrandid": {
  12060. "description": "现货品牌ID",
  12061. "type": "integer"
  12062. },
  12063. "spotgoodsmodelid": {
  12064. "description": "现货型号ID",
  12065. "type": "integer"
  12066. },
  12067. "todaybuyinqty": {
  12068. "description": "今日采购入库量",
  12069. "type": "number"
  12070. },
  12071. "todayproduceinqty": {
  12072. "description": "今日生产入库量",
  12073. "type": "number"
  12074. },
  12075. "todayproduceoutqty": {
  12076. "description": "今日生产出库量",
  12077. "type": "number"
  12078. },
  12079. "todayselloutqty": {
  12080. "description": "今日销售出库量",
  12081. "type": "number"
  12082. },
  12083. "unitid": {
  12084. "description": "单位id",
  12085. "type": "integer"
  12086. },
  12087. "updatetime": {
  12088. "description": "更新时间",
  12089. "type": "string"
  12090. },
  12091. "userid": {
  12092. "description": "机构ID",
  12093. "type": "integer"
  12094. },
  12095. "username": {
  12096. "description": "机构名称",
  12097. "type": "string"
  12098. },
  12099. "warehousecode": {
  12100. "description": "仓库代码",
  12101. "type": "string"
  12102. },
  12103. "warehouseinfoid": {
  12104. "description": "仓库ID",
  12105. "type": "string"
  12106. },
  12107. "warehousename": {
  12108. "description": "仓库名称",
  12109. "type": "string"
  12110. },
  12111. "warehousetype": {
  12112. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  12113. "type": "integer"
  12114. },
  12115. "wrstandardcode": {
  12116. "description": "现货商品代码",
  12117. "type": "string"
  12118. },
  12119. "wrstandardid": {
  12120. "description": "现货商品ID",
  12121. "type": "string"
  12122. },
  12123. "wrstandardname": {
  12124. "description": "现货商品名称",
  12125. "type": "string"
  12126. }
  12127. }
  12128. },
  12129. "models.ErmcpAvalidGoodsGroupModel": {
  12130. "type": "object",
  12131. "properties": {
  12132. "goodsgroupid": {
  12133. "description": "期货品种id",
  12134. "type": "integer"
  12135. },
  12136. "goodsgroupname": {
  12137. "description": "期货品种名称",
  12138. "type": "string"
  12139. },
  12140. "goodunitid": {
  12141. "description": "品种单位id",
  12142. "type": "integer"
  12143. },
  12144. "goodunitname": {
  12145. "description": "品种单位名称",
  12146. "type": "string"
  12147. },
  12148. "outergroupcode": {
  12149. "description": "期货品种代码",
  12150. "type": "string"
  12151. }
  12152. }
  12153. },
  12154. "models.ErmcpBizGroupEx": {
  12155. "type": "object",
  12156. "properties": {
  12157. "acclist": {
  12158. "description": "账号列表",
  12159. "type": "array",
  12160. "items": {
  12161. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  12162. }
  12163. },
  12164. "bizgroupid": {
  12165. "description": "业务分组id",
  12166. "type": "integer"
  12167. },
  12168. "biztype": {
  12169. "description": "业务类型 1-套保 2-套利",
  12170. "type": "integer"
  12171. },
  12172. "wrlist": {
  12173. "description": "现货商品表表",
  12174. "type": "array",
  12175. "items": {
  12176. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  12177. }
  12178. }
  12179. }
  12180. },
  12181. "models.ErmcpBizGroupSpotGoods": {
  12182. "type": "object",
  12183. "properties": {
  12184. "areauserid": {
  12185. "description": "所属机构id",
  12186. "type": "integer"
  12187. },
  12188. "bizgroupid": {
  12189. "description": "分组id",
  12190. "type": "integer"
  12191. },
  12192. "biztype": {
  12193. "description": "业务类型 1-套保 2-套利",
  12194. "type": "integer"
  12195. },
  12196. "unitid": {
  12197. "description": "现货商品单位id",
  12198. "type": "integer"
  12199. },
  12200. "wrstandardcode": {
  12201. "description": "现货商品代码",
  12202. "type": "string"
  12203. },
  12204. "wrstandardid": {
  12205. "description": "现货商品id",
  12206. "type": "integer"
  12207. },
  12208. "wrstandardname": {
  12209. "description": "现货商品名称",
  12210. "type": "string"
  12211. }
  12212. }
  12213. },
  12214. "models.ErmcpBizGroupTaAccount": {
  12215. "type": "object",
  12216. "properties": {
  12217. "accountid": {
  12218. "description": "账号id",
  12219. "type": "string"
  12220. },
  12221. "accountname": {
  12222. "description": "账号名称",
  12223. "type": "string"
  12224. },
  12225. "areauserid": {
  12226. "description": "所属机构id",
  12227. "type": "integer"
  12228. },
  12229. "bizgroupid": {
  12230. "description": "业务分组id",
  12231. "type": "integer"
  12232. },
  12233. "ismain": {
  12234. "description": "是否主账号 1-是 0-否",
  12235. "type": "integer"
  12236. }
  12237. }
  12238. },
  12239. "models.ErmcpExposureDetailModel": {
  12240. "type": "object",
  12241. "properties": {
  12242. "areauserid": {
  12243. "description": "机构ID",
  12244. "type": "integer"
  12245. },
  12246. "changeQty": {
  12247. "description": "套保变动量",
  12248. "type": "number"
  12249. },
  12250. "contracttype": {
  12251. "description": "现货合同类型 - 1:采购 -1:销售",
  12252. "type": "integer"
  12253. },
  12254. "convertfactor": {
  12255. "description": "标仓系数",
  12256. "type": "number"
  12257. },
  12258. "convertratio": {
  12259. "description": "套保系数",
  12260. "type": "number"
  12261. },
  12262. "createtime": {
  12263. "description": "时间",
  12264. "type": "string"
  12265. },
  12266. "enumdicname": {
  12267. "description": "现货商品单位名称",
  12268. "type": "string"
  12269. },
  12270. "logtype": {
  12271. "description": "类型 - 1:套保计划 2:现货合同",
  12272. "type": "integer"
  12273. },
  12274. "middlegoodsId": {
  12275. "description": "套保商品id",
  12276. "type": "integer"
  12277. },
  12278. "middlegoodscode": {
  12279. "description": "套保商品代码",
  12280. "type": "string"
  12281. },
  12282. "middlegoodsname": {
  12283. "description": "套保商品名称",
  12284. "type": "string"
  12285. },
  12286. "qty": {
  12287. "description": "数量",
  12288. "type": "number"
  12289. },
  12290. "relateNo": {
  12291. "description": "现货合同/套保计划编号",
  12292. "type": "string"
  12293. },
  12294. "wrstandardcode": {
  12295. "description": "现货商品代码",
  12296. "type": "string"
  12297. },
  12298. "wrstandardid": {
  12299. "description": "现货商品ID",
  12300. "type": "integer"
  12301. },
  12302. "wrstandardname": {
  12303. "description": "现货商品名称",
  12304. "type": "string"
  12305. }
  12306. }
  12307. },
  12308. "models.ErmcpExposurePostion": {
  12309. "type": "object",
  12310. "properties": {
  12311. "agreeunit": {
  12312. "description": "合约单位",
  12313. "type": "string"
  12314. },
  12315. "areauserid": {
  12316. "description": "所属机构id",
  12317. "type": "integer"
  12318. },
  12319. "convertratio": {
  12320. "description": "期货品种系数(折算系数)",
  12321. "type": "number"
  12322. },
  12323. "curqty": {
  12324. "description": "当前持仓",
  12325. "type": "integer"
  12326. },
  12327. "diffhedgeqty": {
  12328. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  12329. "type": "number"
  12330. },
  12331. "diffqty": {
  12332. "description": "持仓变动量=当前持仓-昨日持仓",
  12333. "type": "integer"
  12334. },
  12335. "goodscode": {
  12336. "description": "商品代码",
  12337. "type": "string"
  12338. },
  12339. "goodsid": {
  12340. "description": "商品id",
  12341. "type": "integer"
  12342. },
  12343. "goodsname": {
  12344. "description": "商品名称",
  12345. "type": "string"
  12346. },
  12347. "middlegoodsid": {
  12348. "description": "套保商品id",
  12349. "type": "integer"
  12350. },
  12351. "ydqty": {
  12352. "description": "昨日持仓",
  12353. "type": "integer"
  12354. }
  12355. }
  12356. },
  12357. "models.ErmcpFuturesCompany": {
  12358. "type": "object",
  12359. "properties": {
  12360. "brokerid": {
  12361. "description": "经纪公司代码",
  12362. "type": "string"
  12363. },
  12364. "channeladdress": {
  12365. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  12366. "type": "string"
  12367. },
  12368. "channelid": {
  12369. "description": "对冲渠道ID",
  12370. "type": "string"
  12371. },
  12372. "createtime": {
  12373. "description": "创建时间",
  12374. "type": "string"
  12375. },
  12376. "creatorid": {
  12377. "description": "创建人",
  12378. "type": "string"
  12379. },
  12380. "fcid": {
  12381. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  12382. "type": "integer"
  12383. },
  12384. "fcname": {
  12385. "description": "期货公司名称",
  12386. "type": "string"
  12387. },
  12388. "isvalid": {
  12389. "description": "是否有效 - 0:无效 1:有效",
  12390. "type": "integer"
  12391. },
  12392. "mhpaddress": {
  12393. "description": "MHP服务地址(IP:Port)",
  12394. "type": "string"
  12395. },
  12396. "riskrulegroupid": {
  12397. "description": "风控规则组ID",
  12398. "type": "string"
  12399. },
  12400. "tradefeetmpid": {
  12401. "description": "手续费模板ID[TradeConfigTmpType为2]",
  12402. "type": "string"
  12403. },
  12404. "trademargintmpid": {
  12405. "description": "保证金模板ID [TradeConfigTmpType为1]",
  12406. "type": "string"
  12407. },
  12408. "traderatetmpid": {
  12409. "description": "汇率模板ID[TradeConfigTmpType为3]",
  12410. "type": "string"
  12411. },
  12412. "updatetime": {
  12413. "description": "更新时间",
  12414. "type": "string"
  12415. },
  12416. "updatorid": {
  12417. "description": "更新人",
  12418. "type": "string"
  12419. }
  12420. }
  12421. },
  12422. "models.ErmcpGGConvertCfg": {
  12423. "type": "object",
  12424. "properties": {
  12425. "convertratio": {
  12426. "description": "折算系数",
  12427. "type": "number"
  12428. },
  12429. "destgoodsgroupid": {
  12430. "description": "目标品种ID",
  12431. "type": "integer"
  12432. },
  12433. "dstcode": {
  12434. "description": "目录品种代码",
  12435. "type": "string"
  12436. },
  12437. "dstexchangecode": {
  12438. "description": "目标期货交易所",
  12439. "type": "string"
  12440. },
  12441. "dstname": {
  12442. "description": "目标品种名称",
  12443. "type": "string"
  12444. },
  12445. "dstunitid": {
  12446. "description": "目标品种单位ID",
  12447. "type": "integer"
  12448. },
  12449. "dstunitidname": {
  12450. "description": "目标品种单位名称",
  12451. "type": "string"
  12452. },
  12453. "modifytime": {
  12454. "description": "修改时间",
  12455. "type": "string"
  12456. },
  12457. "srccode": {
  12458. "description": "源品种代码",
  12459. "type": "string"
  12460. },
  12461. "srcexchangecode": {
  12462. "description": "源期货交易所",
  12463. "type": "string"
  12464. },
  12465. "srcgoodsgroupid": {
  12466. "description": "源品种ID",
  12467. "type": "integer"
  12468. },
  12469. "srcname": {
  12470. "description": "源品种名称",
  12471. "type": "string"
  12472. },
  12473. "srcunitid": {
  12474. "description": "源品种单位ID",
  12475. "type": "integer"
  12476. },
  12477. "srcunitidname": {
  12478. "description": "源品种单位名称",
  12479. "type": "string"
  12480. }
  12481. }
  12482. },
  12483. "models.ErmcpGoodsBrand": {
  12484. "type": "object",
  12485. "properties": {
  12486. "areauserid": {
  12487. "description": "所属机构",
  12488. "type": "integer"
  12489. },
  12490. "brandid": {
  12491. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  12492. "type": "integer"
  12493. },
  12494. "brandname": {
  12495. "description": "品牌名称",
  12496. "type": "string"
  12497. },
  12498. "createtime": {
  12499. "description": "创建时间",
  12500. "type": "string"
  12501. },
  12502. "creatorid": {
  12503. "description": "创建人",
  12504. "type": "integer"
  12505. },
  12506. "creatorsrc": {
  12507. "description": "创建人来源 - 1:管理端 2:终端",
  12508. "type": "integer"
  12509. },
  12510. "deliverygoodsid": {
  12511. "description": "现货品种ID",
  12512. "type": "integer"
  12513. },
  12514. "isvalid": {
  12515. "description": "是否有效 - 0:无效 1:有效",
  12516. "type": "integer"
  12517. },
  12518. "updatetime": {
  12519. "description": "更新时间",
  12520. "type": "string"
  12521. },
  12522. "updatorid": {
  12523. "description": "更新人",
  12524. "type": "integer"
  12525. },
  12526. "updatorsrc": {
  12527. "description": "更新人来源 - 1:管理端 2:终端",
  12528. "type": "integer"
  12529. },
  12530. "wrstandardid": {
  12531. "description": "现货商品ID",
  12532. "type": "integer"
  12533. }
  12534. }
  12535. },
  12536. "models.ErmcpGoodsModel": {
  12537. "type": "object",
  12538. "properties": {
  12539. "areauserid": {
  12540. "description": "所属机构",
  12541. "type": "integer"
  12542. },
  12543. "convertfactor": {
  12544. "description": "标仓系数",
  12545. "type": "number"
  12546. },
  12547. "createtime": {
  12548. "description": "创建时间",
  12549. "type": "string"
  12550. },
  12551. "creatorid": {
  12552. "description": "创建人",
  12553. "type": "integer"
  12554. },
  12555. "creatorsrc": {
  12556. "description": "创建人来源 - 1:管理端 2:终端",
  12557. "type": "integer"
  12558. },
  12559. "deliverygoodsid": {
  12560. "description": "现货品种ID",
  12561. "type": "integer"
  12562. },
  12563. "isvalid": {
  12564. "description": "是否有效 - 0:无效 1:有效",
  12565. "type": "integer"
  12566. },
  12567. "modelid": {
  12568. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  12569. "type": "integer"
  12570. },
  12571. "modelname": {
  12572. "description": "型号名称",
  12573. "type": "string"
  12574. },
  12575. "updatetime": {
  12576. "description": "更新时间",
  12577. "type": "string"
  12578. },
  12579. "updatorid": {
  12580. "description": "更新人",
  12581. "type": "integer"
  12582. },
  12583. "updatorsrc": {
  12584. "description": "更新人来源 - 1:管理端 2:终端",
  12585. "type": "integer"
  12586. },
  12587. "wrstandardid": {
  12588. "description": "现货商品ID",
  12589. "type": "integer"
  12590. }
  12591. }
  12592. },
  12593. "models.ErmcpHedgePlan": {
  12594. "type": "object",
  12595. "properties": {
  12596. "areauserid": {
  12597. "description": "用户ID",
  12598. "type": "integer"
  12599. },
  12600. "audittime": {
  12601. "description": "审核时间",
  12602. "type": "string"
  12603. },
  12604. "contracttype": {
  12605. "description": "计划类型 - 1:采购 -1:销售",
  12606. "type": "integer"
  12607. },
  12608. "convertfactor": {
  12609. "description": "标仓系数",
  12610. "type": "number"
  12611. },
  12612. "createtime": {
  12613. "description": "创建时间",
  12614. "type": "string"
  12615. },
  12616. "deliverygoodsid": {
  12617. "description": "现货品种ID",
  12618. "type": "integer"
  12619. },
  12620. "deliverygoodsname": {
  12621. "description": "现货品种名称",
  12622. "type": "string"
  12623. },
  12624. "enumdicname": {
  12625. "description": "单位名称",
  12626. "type": "string"
  12627. },
  12628. "hedgeplanid": {
  12629. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  12630. "type": "string"
  12631. },
  12632. "hedgeplanno": {
  12633. "description": "套保计划编号(名称)",
  12634. "type": "string"
  12635. },
  12636. "hedgeplanstatus": {
  12637. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  12638. "type": "integer"
  12639. },
  12640. "planqty": {
  12641. "description": "计划数量",
  12642. "type": "number"
  12643. },
  12644. "plantime": {
  12645. "description": "计划时间",
  12646. "type": "string"
  12647. },
  12648. "producttype": {
  12649. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  12650. "type": "integer"
  12651. },
  12652. "remark": {
  12653. "description": "备注",
  12654. "type": "string"
  12655. },
  12656. "spotgoodsdesc": {
  12657. "description": "商品型号",
  12658. "type": "string"
  12659. },
  12660. "unitid": {
  12661. "description": "单位id",
  12662. "type": "integer"
  12663. },
  12664. "updatetime": {
  12665. "description": "更新时间",
  12666. "type": "string"
  12667. },
  12668. "wrstandardid": {
  12669. "description": "现货商品ID",
  12670. "type": "integer"
  12671. },
  12672. "wrstandardname": {
  12673. "description": "现货商品名称",
  12674. "type": "string"
  12675. }
  12676. }
  12677. },
  12678. "models.ErmcpHedgePosition": {
  12679. "type": "object",
  12680. "properties": {
  12681. "accountid": {
  12682. "description": "资金账号[外部母账户]",
  12683. "type": "integer"
  12684. },
  12685. "curbuyposition": {
  12686. "description": "期末买头寸",
  12687. "type": "integer"
  12688. },
  12689. "cursellposition": {
  12690. "description": "期末卖头寸",
  12691. "type": "integer"
  12692. },
  12693. "curtdbuyposition": {
  12694. "description": "期末今日买头寸",
  12695. "type": "integer"
  12696. },
  12697. "curtdsellposition": {
  12698. "description": "期末今日卖头寸",
  12699. "type": "integer"
  12700. },
  12701. "curydbuyposition": {
  12702. "description": "期末上日买头寸",
  12703. "type": "integer"
  12704. },
  12705. "curydsellposition": {
  12706. "description": "期末上日卖头寸",
  12707. "type": "integer"
  12708. },
  12709. "decreaseqty": {
  12710. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  12711. "type": "integer"
  12712. },
  12713. "fretdbuyposition": {
  12714. "description": "冻结今日买头寸",
  12715. "type": "integer"
  12716. },
  12717. "fretdsellposition": {
  12718. "description": "冻结今日卖头寸",
  12719. "type": "integer"
  12720. },
  12721. "freydbuyposition": {
  12722. "description": "冻结上日买头寸",
  12723. "type": "integer"
  12724. },
  12725. "freydsellposition": {
  12726. "description": "冻结上日卖头寸",
  12727. "type": "integer"
  12728. },
  12729. "goodscode": {
  12730. "description": "商品代码",
  12731. "type": "string"
  12732. },
  12733. "goodsid": {
  12734. "description": "商品id",
  12735. "type": "integer"
  12736. },
  12737. "goodsname": {
  12738. "description": "商品名称",
  12739. "type": "string"
  12740. },
  12741. "hedgeaccountcode": {
  12742. "description": "对冲账号",
  12743. "type": "string"
  12744. },
  12745. "hedgegoodsid": {
  12746. "description": "对冲合约ID",
  12747. "type": "integer"
  12748. },
  12749. "increaseqty": {
  12750. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  12751. "type": "integer"
  12752. },
  12753. "marketid": {
  12754. "description": "市场ID",
  12755. "type": "integer"
  12756. },
  12757. "relateduserid": {
  12758. "description": "关联用户id",
  12759. "type": "integer"
  12760. },
  12761. "totalcurqty": {
  12762. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  12763. "type": "integer"
  12764. },
  12765. "totalydqty": {
  12766. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  12767. "type": "integer"
  12768. },
  12769. "tradedate": {
  12770. "description": "交易日(yyyyMMdd)",
  12771. "type": "string"
  12772. },
  12773. "ydbuyposition": {
  12774. "description": "期初买头寸",
  12775. "type": "integer"
  12776. },
  12777. "ydsellposition": {
  12778. "description": "期初卖头寸",
  12779. "type": "integer"
  12780. }
  12781. }
  12782. },
  12783. "models.ErmcpHedgePositionDetail": {
  12784. "type": "object",
  12785. "properties": {
  12786. "buyorsell": {
  12787. "description": "买卖方向 0-买 1-卖",
  12788. "type": "integer"
  12789. },
  12790. "channelbuildtype": {
  12791. "description": "开平方向 1-建仓 2-平仓",
  12792. "type": "integer"
  12793. },
  12794. "goodscode": {
  12795. "description": "商品代码",
  12796. "type": "string"
  12797. },
  12798. "goodsname": {
  12799. "description": "商品名称",
  12800. "type": "string"
  12801. },
  12802. "hedgegoodsid": {
  12803. "description": "商品id",
  12804. "type": "integer"
  12805. },
  12806. "tradeqty": {
  12807. "description": "数量(成交数量)",
  12808. "type": "integer"
  12809. },
  12810. "tradetime": {
  12811. "description": "时间(成交时间)",
  12812. "type": "string"
  12813. }
  12814. }
  12815. },
  12816. "models.ErmcpHisExposure": {
  12817. "type": "object",
  12818. "properties": {
  12819. "needhedgeexposoure": {
  12820. "description": "应套保敞口",
  12821. "type": "number"
  12822. },
  12823. "reckondate": {
  12824. "description": "日照时期(yyyyMMdd)",
  12825. "type": "string"
  12826. },
  12827. "totalexposure": {
  12828. "description": "总敞口",
  12829. "type": "number"
  12830. }
  12831. }
  12832. },
  12833. "models.ErmcpHisExposureS": {
  12834. "type": "object",
  12835. "properties": {
  12836. "data": {
  12837. "description": "历史敞口",
  12838. "type": "array",
  12839. "items": {
  12840. "$ref": "#/definitions/models.ErmcpHisExposure"
  12841. }
  12842. },
  12843. "enumdicname": {
  12844. "description": "单位名称",
  12845. "type": "string"
  12846. },
  12847. "middlegoodscode": {
  12848. "description": "套保品种代码",
  12849. "type": "string"
  12850. },
  12851. "middlegoodsid": {
  12852. "description": "套保品种ID",
  12853. "type": "integer"
  12854. },
  12855. "middlegoodsname": {
  12856. "description": "套保品种名称",
  12857. "type": "string"
  12858. }
  12859. }
  12860. },
  12861. "models.ErmcpLoginUser": {
  12862. "type": "object",
  12863. "properties": {
  12864. "accountname": {
  12865. "description": "用户名称",
  12866. "type": "string"
  12867. },
  12868. "clientroleid": {
  12869. "description": "角色id(usertype=2)",
  12870. "type": "integer"
  12871. },
  12872. "createtime": {
  12873. "description": "创建时间",
  12874. "type": "string"
  12875. },
  12876. "loginstatus": {
  12877. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  12878. "type": "integer"
  12879. },
  12880. "memberuserid": {
  12881. "description": "所属会员id",
  12882. "type": "integer"
  12883. },
  12884. "modifytime": {
  12885. "description": "修改时间",
  12886. "type": "string"
  12887. },
  12888. "rolename": {
  12889. "description": "角色名称",
  12890. "type": "string"
  12891. },
  12892. "rolestatus": {
  12893. "description": "角色状态 1-启用 2-停用",
  12894. "type": "integer"
  12895. },
  12896. "roletype": {
  12897. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  12898. "type": "string"
  12899. },
  12900. "userid": {
  12901. "description": "用户id",
  12902. "type": "integer"
  12903. },
  12904. "usertype": {
  12905. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  12906. "type": "integer"
  12907. }
  12908. }
  12909. },
  12910. "models.ErmcpLoginUserEx": {
  12911. "type": "object",
  12912. "properties": {
  12913. "rolename": {
  12914. "description": "角色名称",
  12915. "type": "string"
  12916. },
  12917. "userlist": {
  12918. "description": "用户列表",
  12919. "type": "array",
  12920. "items": {
  12921. "$ref": "#/definitions/models.ErmcpLoginUser"
  12922. }
  12923. },
  12924. "usertype": {
  12925. "description": "用户类型 2-机构 7-企业成员(云平台)",
  12926. "type": "integer"
  12927. }
  12928. }
  12929. },
  12930. "models.ErmcpMiddleGoodsChangeLog": {
  12931. "type": "object",
  12932. "properties": {
  12933. "aftervalue": {
  12934. "description": "变更后",
  12935. "type": "number"
  12936. },
  12937. "applyid": {
  12938. "description": "操作人",
  12939. "type": "integer"
  12940. },
  12941. "applyname": {
  12942. "description": "操作人名称",
  12943. "type": "string"
  12944. },
  12945. "applysrc": {
  12946. "description": "操作来源 - 1:管理端 2:终端",
  12947. "type": "integer"
  12948. },
  12949. "beforevalue": {
  12950. "description": "变更前",
  12951. "type": "number"
  12952. },
  12953. "changelogtype": {
  12954. "description": "变更流水类型 - 1:套保比率变更",
  12955. "type": "integer"
  12956. },
  12957. "handlestatus": {
  12958. "description": "处理状态",
  12959. "type": "integer"
  12960. },
  12961. "logdatetime": {
  12962. "description": "流水日期",
  12963. "type": "string"
  12964. },
  12965. "logid": {
  12966. "description": "流水ID",
  12967. "type": "integer"
  12968. },
  12969. "logremark": {
  12970. "description": "流水备注",
  12971. "type": "string"
  12972. },
  12973. "middlegoodsid": {
  12974. "description": "套保品种ID",
  12975. "type": "integer"
  12976. },
  12977. "tradedate": {
  12978. "description": "交易日(yyyyMMdd)",
  12979. "type": "string"
  12980. },
  12981. "updatetime": {
  12982. "description": "更新时间",
  12983. "type": "string"
  12984. }
  12985. }
  12986. },
  12987. "models.ErmcpMiddleGoodsDetail": {
  12988. "type": "object",
  12989. "properties": {
  12990. "cvList": {
  12991. "description": "期货品种折算列表",
  12992. "type": "array",
  12993. "items": {
  12994. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  12995. }
  12996. },
  12997. "mg": {
  12998. "description": "套保品种基本信息",
  12999. "type": "object",
  13000. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  13001. },
  13002. "wrcList": {
  13003. "description": "现货品种列表(现货商品折算配置)",
  13004. "type": "array",
  13005. "items": {
  13006. "$ref": "#/definitions/models.WRSConverTDetail"
  13007. }
  13008. }
  13009. }
  13010. },
  13011. "models.ErmcpMiddleGoodsModel": {
  13012. "type": "object",
  13013. "properties": {
  13014. "areauserid": {
  13015. "description": "机构用户ID",
  13016. "type": "integer"
  13017. },
  13018. "createtime": {
  13019. "description": "修改时间",
  13020. "type": "string"
  13021. },
  13022. "enumdicname": {
  13023. "description": "单位名称",
  13024. "type": "string"
  13025. },
  13026. "evaluateratio": {
  13027. "description": "估价系数",
  13028. "type": "number"
  13029. },
  13030. "goodsgroupid": {
  13031. "description": "关联期货品种ID",
  13032. "type": "integer"
  13033. },
  13034. "isvalid": {
  13035. "description": "状态 0-无效(停用) 1-有效(正常)",
  13036. "type": "integer"
  13037. },
  13038. "middlegoodscode": {
  13039. "description": "套保品种代码",
  13040. "type": "string"
  13041. },
  13042. "middlegoodsid": {
  13043. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  13044. "type": "integer"
  13045. },
  13046. "middlegoodsname": {
  13047. "description": "套保品种名称",
  13048. "type": "string"
  13049. },
  13050. "modifytime": {
  13051. "description": "修改时间",
  13052. "type": "string"
  13053. },
  13054. "needhedgeratio": {
  13055. "description": "套保比率",
  13056. "type": "number"
  13057. },
  13058. "qtydecimalplace": {
  13059. "description": "数量小数位",
  13060. "type": "integer"
  13061. },
  13062. "relatedgoodsid": {
  13063. "description": "关联交易商品ID",
  13064. "type": "integer"
  13065. },
  13066. "relatedgoodstype": {
  13067. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  13068. "type": "integer"
  13069. },
  13070. "remark": {
  13071. "description": "备注",
  13072. "type": "string"
  13073. }
  13074. }
  13075. },
  13076. "models.ErmcpModel": {
  13077. "type": "object",
  13078. "properties": {
  13079. "accountname": {
  13080. "description": "账户名称",
  13081. "type": "string"
  13082. },
  13083. "attachment": {
  13084. "description": "附件",
  13085. "type": "string"
  13086. },
  13087. "audittime": {
  13088. "description": "审核时间",
  13089. "type": "string"
  13090. },
  13091. "brandname": {
  13092. "description": "品牌名称",
  13093. "type": "string"
  13094. },
  13095. "contracctstatus": {
  13096. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  13097. "type": "integer"
  13098. },
  13099. "contractmargin": {
  13100. "description": "合同保证金",
  13101. "type": "number"
  13102. },
  13103. "contractno": {
  13104. "description": "合同编号",
  13105. "type": "string"
  13106. },
  13107. "contracttype": {
  13108. "description": "合同类型 1-采购, -1-销售",
  13109. "type": "integer"
  13110. },
  13111. "convertfactor": {
  13112. "description": "标仓系数",
  13113. "type": "number"
  13114. },
  13115. "createtime": {
  13116. "description": "创建时间",
  13117. "type": "string"
  13118. },
  13119. "daikaiamount": {
  13120. "description": "应收(开)票额",
  13121. "type": "number"
  13122. },
  13123. "deliveryenddate": {
  13124. "description": "交割结束日",
  13125. "type": "string"
  13126. },
  13127. "deliverygoodscode": {
  13128. "description": "现货品种代码",
  13129. "type": "string"
  13130. },
  13131. "deliverygoodsid": {
  13132. "description": "现货商品ID",
  13133. "type": "integer"
  13134. },
  13135. "deliverygoodsname": {
  13136. "description": "现货品种名称",
  13137. "type": "string"
  13138. },
  13139. "deliverystartdate": {
  13140. "description": "交割开始日",
  13141. "type": "string"
  13142. },
  13143. "enddate": {
  13144. "description": "点价结束日",
  13145. "type": "string"
  13146. },
  13147. "enumdicname": {
  13148. "description": "单位名称",
  13149. "type": "string"
  13150. },
  13151. "goodscode": {
  13152. "description": "点价商品代码",
  13153. "type": "string"
  13154. },
  13155. "goodsid": {
  13156. "description": "点价商品ID",
  13157. "type": "integer"
  13158. },
  13159. "goodsname": {
  13160. "description": "点价商品名称",
  13161. "type": "string"
  13162. },
  13163. "invoiceamount": {
  13164. "description": "已开票额",
  13165. "type": "number"
  13166. },
  13167. "loanamount": {
  13168. "description": "贷款总额=已定价额+调整金额",
  13169. "type": "number"
  13170. },
  13171. "margin": {
  13172. "description": "保证金",
  13173. "type": "number"
  13174. },
  13175. "modelname": {
  13176. "description": "型号名称",
  13177. "type": "string"
  13178. },
  13179. "payamount": {
  13180. "description": "已收付额(收款或付款)",
  13181. "type": "number"
  13182. },
  13183. "preinvoiceamount": {
  13184. "description": "预收(开)票额",
  13185. "type": "number"
  13186. },
  13187. "prepayamount": {
  13188. "description": "预收付额",
  13189. "type": "number"
  13190. },
  13191. "price": {
  13192. "description": "价格",
  13193. "type": "number"
  13194. },
  13195. "pricedamount": {
  13196. "description": "已定价额",
  13197. "type": "number"
  13198. },
  13199. "pricedavg": {
  13200. "description": "已点均价",
  13201. "type": "number"
  13202. },
  13203. "pricedqty": {
  13204. "description": "已定价量",
  13205. "type": "number"
  13206. },
  13207. "pricemove": {
  13208. "description": "升贴水",
  13209. "type": "number"
  13210. },
  13211. "pricetype": {
  13212. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  13213. "type": "integer"
  13214. },
  13215. "producttype": {
  13216. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  13217. "type": "integer"
  13218. },
  13219. "qty": {
  13220. "description": "合同量",
  13221. "type": "number"
  13222. },
  13223. "reckonadjustamount": {
  13224. "description": "调整金额",
  13225. "type": "number"
  13226. },
  13227. "reckonedamount": {
  13228. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  13229. "type": "number"
  13230. },
  13231. "reckonotheramount": {
  13232. "description": "其它费用",
  13233. "type": "number"
  13234. },
  13235. "reckonrealqty": {
  13236. "description": "已确定量",
  13237. "type": "number"
  13238. },
  13239. "remark": {
  13240. "description": "备注",
  13241. "type": "string"
  13242. },
  13243. "spotcontractid": {
  13244. "description": "合同ID",
  13245. "type": "string"
  13246. },
  13247. "spotgoodsbrandid": {
  13248. "description": "现货品牌ID",
  13249. "type": "integer"
  13250. },
  13251. "spotgoodsdesc": {
  13252. "description": "商品型号(商品规格)",
  13253. "type": "string"
  13254. },
  13255. "spotgoodsmodelid": {
  13256. "description": "现货型号ID",
  13257. "type": "integer"
  13258. },
  13259. "startdate": {
  13260. "description": "点价开始日",
  13261. "type": "string"
  13262. },
  13263. "totalamount": {
  13264. "description": "合计总额",
  13265. "type": "number"
  13266. },
  13267. "unpayamount": {
  13268. "description": "应收付款额(应支付或应收款)",
  13269. "type": "number"
  13270. },
  13271. "unpricedqty": {
  13272. "description": "未定价量",
  13273. "type": "number"
  13274. },
  13275. "unsureqty": {
  13276. "description": "未确定量",
  13277. "type": "number"
  13278. },
  13279. "userid": {
  13280. "description": "用户ID",
  13281. "type": "integer"
  13282. },
  13283. "wrstandardcode": {
  13284. "description": "现货商品代码",
  13285. "type": "string"
  13286. },
  13287. "wrstandardid": {
  13288. "description": "现货商品ID",
  13289. "type": "integer"
  13290. },
  13291. "wrstandardname": {
  13292. "description": "现货商品名称",
  13293. "type": "string"
  13294. }
  13295. }
  13296. },
  13297. "models.ErmcpOPLogModel": {
  13298. "type": "object",
  13299. "properties": {
  13300. "aftervalue": {
  13301. "description": "变更后",
  13302. "type": "number"
  13303. },
  13304. "applyid": {
  13305. "description": "操作人ID",
  13306. "type": "string"
  13307. },
  13308. "applyname": {
  13309. "description": "操作人名称",
  13310. "type": "string"
  13311. },
  13312. "beforevalue": {
  13313. "description": "变更前",
  13314. "type": "number"
  13315. },
  13316. "biztype": {
  13317. "description": "业务类型 - 1:套保计划 2:现货合同",
  13318. "type": "integer"
  13319. },
  13320. "contracttype": {
  13321. "description": "现货合同类型 - 1:采购 -1:销售",
  13322. "type": "integer"
  13323. },
  13324. "logvalue": {
  13325. "description": "数值",
  13326. "type": "number"
  13327. },
  13328. "operatelogtype": {
  13329. "description": "操作流水类型",
  13330. "type": "integer"
  13331. },
  13332. "operatelogtypedesc": {
  13333. "description": "操作流水类型名称",
  13334. "type": "string"
  13335. },
  13336. "relatedid": {
  13337. "description": "现货合同ID\\套保计划",
  13338. "type": "string"
  13339. },
  13340. "updatetime": {
  13341. "description": "更新时间",
  13342. "type": "string"
  13343. }
  13344. }
  13345. },
  13346. "models.ErmcpPendingAudit": {
  13347. "type": "object",
  13348. "properties": {
  13349. "areastockqty": {
  13350. "description": "待审核数量: 库存申请",
  13351. "type": "integer"
  13352. },
  13353. "businessdjqty": {
  13354. "description": "待审核数量: 点价",
  13355. "type": "integer"
  13356. },
  13357. "businessfpqty": {
  13358. "description": "待审核数量: 发票",
  13359. "type": "integer"
  13360. },
  13361. "businessjsqty": {
  13362. "description": "待审核数量: 结算",
  13363. "type": "integer"
  13364. },
  13365. "businesskxqty": {
  13366. "description": "待审核数量: 款项",
  13367. "type": "integer"
  13368. },
  13369. "hedgeplanqty": {
  13370. "description": "待审核数量: 套保计划",
  13371. "type": "integer"
  13372. },
  13373. "spotcontractqty": {
  13374. "description": "待审核数量: 现货合同",
  13375. "type": "integer"
  13376. },
  13377. "userqty": {
  13378. "description": "待审核数量: 用户",
  13379. "type": "integer"
  13380. }
  13381. }
  13382. },
  13383. "models.ErmcpRealExposureModel": {
  13384. "type": "object",
  13385. "properties": {
  13386. "AreaUserID": {
  13387. "description": "所属机构",
  13388. "type": "integer"
  13389. },
  13390. "BuyFutureQty": {
  13391. "description": "买入期货数量",
  13392. "type": "number"
  13393. },
  13394. "BuyPlanQty": {
  13395. "description": "采购计划数量",
  13396. "type": "number"
  13397. },
  13398. "BuyPricedQty": {
  13399. "description": "采购合同已定价数量",
  13400. "type": "number"
  13401. },
  13402. "MiddleGoodsCode": {
  13403. "description": "套保品种代码",
  13404. "type": "string"
  13405. },
  13406. "MiddleGoodsHedgeRatio": {
  13407. "description": "应套保比例",
  13408. "type": "number"
  13409. },
  13410. "MiddleGoodsID": {
  13411. "description": "套保品种",
  13412. "type": "integer"
  13413. },
  13414. "MiddleGoodsName": {
  13415. "description": "套保品种名称",
  13416. "type": "string"
  13417. },
  13418. "NeedHedgeExposoure": {
  13419. "description": "应套保敞口",
  13420. "type": "number"
  13421. },
  13422. "NeedHedgeRatio": {
  13423. "description": "应套保敞口比例",
  13424. "type": "number"
  13425. },
  13426. "OriBuyFutureQty": {
  13427. "description": "期初买入期货数量",
  13428. "type": "number"
  13429. },
  13430. "OriBuyPlanQty": {
  13431. "description": "期初采购计划数量",
  13432. "type": "number"
  13433. },
  13434. "OriBuyPricedQty": {
  13435. "description": "期初采购合同已定价数量",
  13436. "type": "number"
  13437. },
  13438. "OriSellFutureQty": {
  13439. "description": "期初卖出期货数量",
  13440. "type": "number"
  13441. },
  13442. "OriSellPlanQty": {
  13443. "description": "期初销售计划数量",
  13444. "type": "number"
  13445. },
  13446. "OriSellPricedQty": {
  13447. "description": "期初销售合同已定价数量",
  13448. "type": "number"
  13449. },
  13450. "SellFutureQty": {
  13451. "description": "卖出期货数量",
  13452. "type": "number"
  13453. },
  13454. "SellPlanQty": {
  13455. "description": "销售计划数量",
  13456. "type": "number"
  13457. },
  13458. "SellPricedQty": {
  13459. "description": "销售合同已定价数量",
  13460. "type": "number"
  13461. },
  13462. "TotalExposure": {
  13463. "description": "总敞口",
  13464. "type": "number"
  13465. },
  13466. "TotalFutureQty": {
  13467. "description": "期货数量",
  13468. "type": "number"
  13469. },
  13470. "TotalHedgeRatio": {
  13471. "description": "敞口比例",
  13472. "type": "number"
  13473. },
  13474. "TotalNeedHedgeQty": {
  13475. "description": "期货应套保量",
  13476. "type": "number"
  13477. },
  13478. "TotalSpotQty": {
  13479. "description": "现货数量",
  13480. "type": "number"
  13481. },
  13482. "diffFutuQty": {
  13483. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13484. "type": "number"
  13485. },
  13486. "diffSpotQty": {
  13487. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13488. "type": "number"
  13489. },
  13490. "enumdicname": {
  13491. "description": "单位名称",
  13492. "type": "string"
  13493. },
  13494. "oriTotalFutuQty": {
  13495. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13496. "type": "number"
  13497. },
  13498. "oriTotalSpotQty": {
  13499. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13500. "type": "number"
  13501. }
  13502. }
  13503. },
  13504. "models.ErmcpReportAreaSpotPL": {
  13505. "type": "object",
  13506. "properties": {
  13507. "actualpl": {
  13508. "description": "实际损益",
  13509. "type": "number"
  13510. },
  13511. "areauserid": {
  13512. "description": "所属机构",
  13513. "type": "integer"
  13514. },
  13515. "brandname": {
  13516. "description": "品牌名称",
  13517. "type": "string"
  13518. },
  13519. "curamount": {
  13520. "description": "期末额",
  13521. "type": "number"
  13522. },
  13523. "curaverageprice": {
  13524. "description": "期末均价",
  13525. "type": "number"
  13526. },
  13527. "curbuyamount": {
  13528. "description": "期末采购总额(采购额)",
  13529. "type": "number"
  13530. },
  13531. "curbuyqty": {
  13532. "description": "期末采购总量",
  13533. "type": "number"
  13534. },
  13535. "curmarketvalue": {
  13536. "description": "参考市值",
  13537. "type": "number"
  13538. },
  13539. "curqty": {
  13540. "description": "期末量",
  13541. "type": "number"
  13542. },
  13543. "cursellamount": {
  13544. "description": "期末销售总额(销售额)",
  13545. "type": "number"
  13546. },
  13547. "cursellqty": {
  13548. "description": "期末销售总量",
  13549. "type": "number"
  13550. },
  13551. "curspotprice": {
  13552. "description": "参考市价",
  13553. "type": "number"
  13554. },
  13555. "enumdicname": {
  13556. "description": "现货商品单位名称",
  13557. "type": "string"
  13558. },
  13559. "floatpl": {
  13560. "description": "浮动损益",
  13561. "type": "number"
  13562. },
  13563. "gbenumdicname": {
  13564. "description": "品类单位名称",
  13565. "type": "string"
  13566. },
  13567. "gbunitid": {
  13568. "description": "品类单位id",
  13569. "type": "integer"
  13570. },
  13571. "modelname": {
  13572. "description": "品类名称",
  13573. "type": "string"
  13574. },
  13575. "oriamount": {
  13576. "description": "期初额",
  13577. "type": "number"
  13578. },
  13579. "oriaverageprice": {
  13580. "description": "期初均价",
  13581. "type": "number"
  13582. },
  13583. "oribuyamount": {
  13584. "description": "期初采购总额",
  13585. "type": "number"
  13586. },
  13587. "oribuyqty": {
  13588. "description": "期初采购总量",
  13589. "type": "number"
  13590. },
  13591. "oriqty": {
  13592. "description": "期初量",
  13593. "type": "number"
  13594. },
  13595. "orisellamount": {
  13596. "description": "期初销售总额",
  13597. "type": "number"
  13598. },
  13599. "orisellqty": {
  13600. "description": "期初销售总量",
  13601. "type": "number"
  13602. },
  13603. "spotgoodsbrandid": {
  13604. "description": "现货品牌ID",
  13605. "type": "integer"
  13606. },
  13607. "spotgoodsmodelid": {
  13608. "description": "现货品类ID",
  13609. "type": "integer"
  13610. },
  13611. "todaybuyamount": {
  13612. "description": "今日采购额",
  13613. "type": "number"
  13614. },
  13615. "todaybuyaverageprice": {
  13616. "description": "今日采购均价(采购均价)",
  13617. "type": "number"
  13618. },
  13619. "todaybuyqty": {
  13620. "description": "今日采购量(采购增量)",
  13621. "type": "number"
  13622. },
  13623. "todaysellamount": {
  13624. "description": "今日销售额",
  13625. "type": "number"
  13626. },
  13627. "todaysellaverageprice": {
  13628. "description": "今日销售均价(销售均价)",
  13629. "type": "number"
  13630. },
  13631. "todaysellqty": {
  13632. "description": "今日销售量(销售增量)",
  13633. "type": "number"
  13634. },
  13635. "unitid": {
  13636. "description": "现货商品单位id",
  13637. "type": "integer"
  13638. },
  13639. "updatetime": {
  13640. "description": "更新时间",
  13641. "type": "string"
  13642. },
  13643. "wrstandardcode": {
  13644. "description": "现货商品代码",
  13645. "type": "string"
  13646. },
  13647. "wrstandardid": {
  13648. "description": "现货商品ID",
  13649. "type": "integer"
  13650. },
  13651. "wrstandardname": {
  13652. "description": "现货商品名称",
  13653. "type": "string"
  13654. }
  13655. }
  13656. },
  13657. "models.ErmcpReportDayExposure": {
  13658. "type": "object",
  13659. "properties": {
  13660. "areauserid": {
  13661. "description": "所属机构",
  13662. "type": "integer"
  13663. },
  13664. "buyfutureqty": {
  13665. "description": "买入期货数量",
  13666. "type": "number"
  13667. },
  13668. "buyplanqty": {
  13669. "description": "采购计划数量",
  13670. "type": "number"
  13671. },
  13672. "buypricedqty": {
  13673. "description": "采购合同已定价数量",
  13674. "type": "number"
  13675. },
  13676. "diffFutuQty": {
  13677. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  13678. "type": "number"
  13679. },
  13680. "diffSpotQty": {
  13681. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  13682. "type": "number"
  13683. },
  13684. "enumdicname": {
  13685. "description": "单位名称",
  13686. "type": "string"
  13687. },
  13688. "middlegoodscode": {
  13689. "description": "套保品种代码",
  13690. "type": "string"
  13691. },
  13692. "middlegoodshedgeratio": {
  13693. "description": "应套保比例",
  13694. "type": "number"
  13695. },
  13696. "middlegoodsid": {
  13697. "description": "套保品种ID",
  13698. "type": "integer"
  13699. },
  13700. "middlegoodsname": {
  13701. "description": "套保品种名称",
  13702. "type": "string"
  13703. },
  13704. "needhedgeexposoure": {
  13705. "description": "应套保敞口",
  13706. "type": "number"
  13707. },
  13708. "needhedgeratio": {
  13709. "description": "应套保敞口比例",
  13710. "type": "number"
  13711. },
  13712. "oriTotalFutuQty": {
  13713. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  13714. "type": "number"
  13715. },
  13716. "oriTotalSpotQty": {
  13717. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  13718. "type": "number"
  13719. },
  13720. "oribuyfutureqty": {
  13721. "description": "期初买入期货数量",
  13722. "type": "number"
  13723. },
  13724. "oribuyplanqty": {
  13725. "description": "期初采购计划数量",
  13726. "type": "number"
  13727. },
  13728. "oribuypricedqty": {
  13729. "description": "期初采购合同已定价数量",
  13730. "type": "number"
  13731. },
  13732. "orisellfutureqty": {
  13733. "description": "期初卖出期货数量",
  13734. "type": "number"
  13735. },
  13736. "orisellplanqty": {
  13737. "description": "期初销售计划数量",
  13738. "type": "number"
  13739. },
  13740. "orisellpricedqty": {
  13741. "description": "期初销售合同已定价数量",
  13742. "type": "number"
  13743. },
  13744. "reckondate": {
  13745. "description": "日照时期(yyyyMMdd)",
  13746. "type": "string"
  13747. },
  13748. "sellfutureqty": {
  13749. "description": "卖出期货数量",
  13750. "type": "number"
  13751. },
  13752. "sellplanqty": {
  13753. "description": "销售计划数量",
  13754. "type": "number"
  13755. },
  13756. "sellpricedqty": {
  13757. "description": "销售合同已定价数量",
  13758. "type": "number"
  13759. },
  13760. "totalexposure": {
  13761. "description": "总敞口",
  13762. "type": "number"
  13763. },
  13764. "totalfutureqty": {
  13765. "description": "期货数量",
  13766. "type": "number"
  13767. },
  13768. "totalhedgeratio": {
  13769. "description": "敞口比例",
  13770. "type": "number"
  13771. },
  13772. "totalneedhedgeqty": {
  13773. "description": "期货应套保量",
  13774. "type": "number"
  13775. },
  13776. "totalspotqty": {
  13777. "description": "现货数量",
  13778. "type": "number"
  13779. }
  13780. }
  13781. },
  13782. "models.ErmcpReportDayFR": {
  13783. "type": "object",
  13784. "properties": {
  13785. "areauserid": {
  13786. "description": "所属机构",
  13787. "type": "integer"
  13788. },
  13789. "collectinvoiceamount": {
  13790. "description": "今日开票金额",
  13791. "type": "number"
  13792. },
  13793. "collectinvoicecount": {
  13794. "description": "今日开票笔数",
  13795. "type": "integer"
  13796. },
  13797. "collectmoneyamount": {
  13798. "description": "今日收款金额",
  13799. "type": "number"
  13800. },
  13801. "collectmoneycount": {
  13802. "description": "今日收款笔数",
  13803. "type": "integer"
  13804. },
  13805. "payinvoiceamount": {
  13806. "description": "今日收票金额",
  13807. "type": "number"
  13808. },
  13809. "payinvoicecount": {
  13810. "description": "今日收票笔数",
  13811. "type": "integer"
  13812. },
  13813. "paymoneyamount": {
  13814. "description": "今日付款金额",
  13815. "type": "number"
  13816. },
  13817. "paymoneycount": {
  13818. "description": "今日付款笔数",
  13819. "type": "integer"
  13820. },
  13821. "reckondate": {
  13822. "description": "日照时期(yyyyMMdd)",
  13823. "type": "string"
  13824. },
  13825. "updatetime": {
  13826. "description": "更新时间",
  13827. "type": "string"
  13828. }
  13829. }
  13830. },
  13831. "models.ErmcpReportDaySpot": {
  13832. "type": "object",
  13833. "properties": {
  13834. "areauserid": {
  13835. "description": "所属机构T",
  13836. "type": "integer"
  13837. },
  13838. "buyinqty": {
  13839. "description": "采购入库量",
  13840. "type": "number"
  13841. },
  13842. "enumdicname": {
  13843. "description": "现货商品单位名称",
  13844. "type": "string"
  13845. },
  13846. "reckondate": {
  13847. "description": "日照时期(yyyyMMdd)",
  13848. "type": "string"
  13849. },
  13850. "selloutqty": {
  13851. "description": "销售出库量",
  13852. "type": "number"
  13853. },
  13854. "todaybuyreckonqty": {
  13855. "description": "采购确定量",
  13856. "type": "number"
  13857. },
  13858. "todaysellreckonqty": {
  13859. "description": "销售确定量",
  13860. "type": "number"
  13861. },
  13862. "totalbuypricedqty": {
  13863. "description": "采购定价量 = 期末 - 期初",
  13864. "type": "number"
  13865. },
  13866. "totalsellpricedqty": {
  13867. "description": "销售定价量 = 期末 - 期初",
  13868. "type": "number"
  13869. },
  13870. "wrstandardcode": {
  13871. "description": "现货商品代码",
  13872. "type": "string"
  13873. },
  13874. "wrstandardid": {
  13875. "description": "现货商品ID",
  13876. "type": "integer"
  13877. },
  13878. "wrstandardname": {
  13879. "description": "现货商品名称",
  13880. "type": "string"
  13881. }
  13882. }
  13883. },
  13884. "models.ErmcpReportMonSpot": {
  13885. "type": "object",
  13886. "properties": {
  13887. "areauserid": {
  13888. "description": "所属机构T",
  13889. "type": "integer"
  13890. },
  13891. "buyinqty": {
  13892. "description": "采购入库量",
  13893. "type": "number"
  13894. },
  13895. "cycletime": {
  13896. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13897. "type": "string"
  13898. },
  13899. "cycletype": {
  13900. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13901. "type": "integer"
  13902. },
  13903. "enumdicname": {
  13904. "description": "现货商品单位名称",
  13905. "type": "string"
  13906. },
  13907. "selloutqty": {
  13908. "description": "销售出库量",
  13909. "type": "number"
  13910. },
  13911. "todaybuyreckonqty": {
  13912. "description": "采购确定量",
  13913. "type": "number"
  13914. },
  13915. "todaysellreckonqty": {
  13916. "description": "销售确定量",
  13917. "type": "number"
  13918. },
  13919. "totalbuypricedqty": {
  13920. "description": "采购定价量 = 期末 - 期初",
  13921. "type": "number"
  13922. },
  13923. "totalsellpricedqty": {
  13924. "description": "销售定价量 = 期末 - 期初",
  13925. "type": "number"
  13926. },
  13927. "wrstandardcode": {
  13928. "description": "现货商品代码",
  13929. "type": "string"
  13930. },
  13931. "wrstandardid": {
  13932. "description": "现货商品ID",
  13933. "type": "integer"
  13934. },
  13935. "wrstandardname": {
  13936. "description": "现货商品名称",
  13937. "type": "string"
  13938. }
  13939. }
  13940. },
  13941. "models.ErmcpReportMonthFR": {
  13942. "type": "object",
  13943. "properties": {
  13944. "areauserid": {
  13945. "description": "所属机构【原值】",
  13946. "type": "integer"
  13947. },
  13948. "collectinvoiceamount": {
  13949. "description": "今日开票金额【汇总】",
  13950. "type": "number"
  13951. },
  13952. "collectinvoicecount": {
  13953. "description": "今日开票笔数【汇总】",
  13954. "type": "integer"
  13955. },
  13956. "collectmoneyamount": {
  13957. "description": "今日收款金额【汇总】",
  13958. "type": "number"
  13959. },
  13960. "collectmoneycount": {
  13961. "description": "今日收款笔数 【汇总】",
  13962. "type": "integer"
  13963. },
  13964. "cycletime": {
  13965. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  13966. "type": "string"
  13967. },
  13968. "cycletype": {
  13969. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  13970. "type": "integer"
  13971. },
  13972. "dayFr": {
  13973. "description": "日报表明细",
  13974. "type": "array",
  13975. "items": {
  13976. "$ref": "#/definitions/models.ErmcpReportDayFR"
  13977. }
  13978. },
  13979. "payinvoiceamount": {
  13980. "description": "今日收票金额【汇总】",
  13981. "type": "number"
  13982. },
  13983. "payinvoicecount": {
  13984. "description": "今日收票笔数【汇总】",
  13985. "type": "integer"
  13986. },
  13987. "paymoneyamount": {
  13988. "description": "今日付款金额【汇总】",
  13989. "type": "number"
  13990. },
  13991. "paymoneycount": {
  13992. "description": "今日付款笔数【汇总】",
  13993. "type": "integer"
  13994. },
  13995. "updatetime": {
  13996. "description": "更新时间",
  13997. "type": "string"
  13998. }
  13999. }
  14000. },
  14001. "models.ErmcpReportOPLog": {
  14002. "type": "object",
  14003. "properties": {
  14004. "applyid": {
  14005. "description": "操作人",
  14006. "type": "integer"
  14007. },
  14008. "applyname": {
  14009. "description": "操作人名称",
  14010. "type": "string"
  14011. },
  14012. "biztype": {
  14013. "description": "业务类型 - 1:套保计划 2:现货合同",
  14014. "type": "integer"
  14015. },
  14016. "brandname": {
  14017. "description": "品牌名称",
  14018. "type": "string"
  14019. },
  14020. "contracttype": {
  14021. "description": "现货合同类型 - 1:采购 -1:销售",
  14022. "type": "integer"
  14023. },
  14024. "enumdicName": {
  14025. "description": "单位名称",
  14026. "type": "string"
  14027. },
  14028. "logdatetime": {
  14029. "description": "流水日期(时间)",
  14030. "type": "string"
  14031. },
  14032. "logid": {
  14033. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  14034. "type": "string"
  14035. },
  14036. "logtypename": {
  14037. "description": "合同类型(名称)",
  14038. "type": "string"
  14039. },
  14040. "logvalue": {
  14041. "description": "数值",
  14042. "type": "string"
  14043. },
  14044. "modelname": {
  14045. "description": "型号名称",
  14046. "type": "string"
  14047. },
  14048. "operatelogtype": {
  14049. "description": "操作流水类型 -",
  14050. "type": "integer"
  14051. },
  14052. "optypename": {
  14053. "description": "流水类型名称",
  14054. "type": "string"
  14055. },
  14056. "relatedid": {
  14057. "description": "现货合同ID\\套保计划",
  14058. "type": "string"
  14059. },
  14060. "relatedno": {
  14061. "description": "合同编号",
  14062. "type": "string"
  14063. },
  14064. "tradedate": {
  14065. "description": "交易日(yyyyMMdd)",
  14066. "type": "string"
  14067. },
  14068. "userid": {
  14069. "description": "机构ID",
  14070. "type": "integer"
  14071. },
  14072. "wrstandardcode": {
  14073. "description": "现货商品代码",
  14074. "type": "string"
  14075. },
  14076. "wrstandardid": {
  14077. "description": "现货商品ID",
  14078. "type": "integer"
  14079. },
  14080. "wrstandardname": {
  14081. "description": "现货商品名称",
  14082. "type": "string"
  14083. }
  14084. }
  14085. },
  14086. "models.ErmcpRole": {
  14087. "type": "object",
  14088. "properties": {
  14089. "areauserid": {
  14090. "description": "所属机构",
  14091. "type": "integer"
  14092. },
  14093. "autoid": {
  14094. "description": "角色ID(自增ID)",
  14095. "type": "integer"
  14096. },
  14097. "modifierid": {
  14098. "description": "修改人(创建人)",
  14099. "type": "integer"
  14100. },
  14101. "modifiername": {
  14102. "description": "修改人名称",
  14103. "type": "string"
  14104. },
  14105. "modifytime": {
  14106. "description": "修改时间(创建时间)",
  14107. "type": "string"
  14108. },
  14109. "rolename": {
  14110. "description": "角色名称",
  14111. "type": "string"
  14112. },
  14113. "rolestatus": {
  14114. "description": "角色状态 - 1:启用 2:停用",
  14115. "type": "integer"
  14116. },
  14117. "roletype": {
  14118. "description": "角色类型 - 1- 管理端 2- 交易端",
  14119. "type": "integer"
  14120. }
  14121. }
  14122. },
  14123. "models.ErmcpRoleMenu": {
  14124. "type": "object",
  14125. "properties": {
  14126. "iconame": {
  14127. "description": "菜单图标",
  14128. "type": "string"
  14129. },
  14130. "menutype": {
  14131. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  14132. "type": "integer"
  14133. },
  14134. "parentcode": {
  14135. "description": "上级资源代码",
  14136. "type": "string"
  14137. },
  14138. "remark": {
  14139. "description": "菜单备注",
  14140. "type": "string"
  14141. },
  14142. "resourcecode": {
  14143. "description": "菜单代码",
  14144. "type": "string"
  14145. },
  14146. "resourcelevel": {
  14147. "description": "级别",
  14148. "type": "integer"
  14149. },
  14150. "resourcename": {
  14151. "description": "菜单名称",
  14152. "type": "string"
  14153. },
  14154. "roleid": {
  14155. "description": "角色id",
  14156. "type": "integer"
  14157. },
  14158. "sort": {
  14159. "description": "排序",
  14160. "type": "integer"
  14161. },
  14162. "url": {
  14163. "description": "URL",
  14164. "type": "string"
  14165. },
  14166. "userid": {
  14167. "description": "用户id",
  14168. "type": "integer"
  14169. }
  14170. }
  14171. },
  14172. "models.ErmcpRoleMenuEx": {
  14173. "type": "object",
  14174. "properties": {
  14175. "menu": {
  14176. "description": "父级菜单",
  14177. "type": "object",
  14178. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14179. },
  14180. "subMenu": {
  14181. "description": "子级菜单",
  14182. "type": "array",
  14183. "items": {
  14184. "$ref": "#/definitions/models.ErmcpRoleMenu"
  14185. }
  14186. }
  14187. }
  14188. },
  14189. "models.ErmcpSpotContractModel": {
  14190. "type": "object",
  14191. "properties": {
  14192. "amount": {
  14193. "description": "金额 [1:一口价、3:暂定价]",
  14194. "type": "number"
  14195. },
  14196. "attachment": {
  14197. "description": "附件",
  14198. "type": "string"
  14199. },
  14200. "auditremark": {
  14201. "description": "审核意见",
  14202. "type": "string"
  14203. },
  14204. "audittime": {
  14205. "description": "审核时间",
  14206. "type": "string"
  14207. },
  14208. "brandname": {
  14209. "description": "品牌名称",
  14210. "type": "string"
  14211. },
  14212. "buyuserid": {
  14213. "description": "采购方ID",
  14214. "type": "integer"
  14215. },
  14216. "buyusername": {
  14217. "description": "采购方名称",
  14218. "type": "string"
  14219. },
  14220. "contracctstatus": {
  14221. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  14222. "type": "integer"
  14223. },
  14224. "contractmargin": {
  14225. "description": "合同保证金",
  14226. "type": "number"
  14227. },
  14228. "contractno": {
  14229. "description": "现货合同编号",
  14230. "type": "string"
  14231. },
  14232. "contracttype": {
  14233. "description": "现货合同类型 - 1:采购 -1:销售",
  14234. "type": "integer"
  14235. },
  14236. "convertfactor": {
  14237. "description": "标仓系数",
  14238. "type": "number"
  14239. },
  14240. "createtime": {
  14241. "description": "创建时间",
  14242. "type": "string"
  14243. },
  14244. "deliveryenddate": {
  14245. "description": "交收期(结束)",
  14246. "type": "string"
  14247. },
  14248. "deliverygoodscode": {
  14249. "description": "现货品种代码",
  14250. "type": "string"
  14251. },
  14252. "deliverygoodsid": {
  14253. "description": "现货品种ID",
  14254. "type": "integer"
  14255. },
  14256. "deliverygoodsname": {
  14257. "description": "现货品种名称",
  14258. "type": "string"
  14259. },
  14260. "deliverystartdate": {
  14261. "description": "交收期(开始)",
  14262. "type": "string"
  14263. },
  14264. "enddate": {
  14265. "description": "点价结束日期 [2:点价 3:暂定价]",
  14266. "type": "string"
  14267. },
  14268. "enumdicname": {
  14269. "description": "单位名称",
  14270. "type": "string"
  14271. },
  14272. "goodscode": {
  14273. "description": "点价合约代码",
  14274. "type": "string"
  14275. },
  14276. "goodsid": {
  14277. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  14278. "type": "integer"
  14279. },
  14280. "goodsname": {
  14281. "description": "点价商品名称",
  14282. "type": "string"
  14283. },
  14284. "margin": {
  14285. "description": "当前保证金",
  14286. "type": "number"
  14287. },
  14288. "modelname": {
  14289. "description": "型号名称",
  14290. "type": "string"
  14291. },
  14292. "price": {
  14293. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  14294. "type": "number"
  14295. },
  14296. "pricemove": {
  14297. "description": "升贴水 [2:点价 3:暂定价]",
  14298. "type": "number"
  14299. },
  14300. "pricetype": {
  14301. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  14302. "type": "integer"
  14303. },
  14304. "producttype": {
  14305. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  14306. "type": "integer"
  14307. },
  14308. "qty": {
  14309. "description": "数量",
  14310. "type": "number"
  14311. },
  14312. "remark": {
  14313. "description": "备注",
  14314. "type": "string"
  14315. },
  14316. "selluserid": {
  14317. "description": "销售方ID",
  14318. "type": "integer"
  14319. },
  14320. "sellusername": {
  14321. "description": "销售方名称",
  14322. "type": "string"
  14323. },
  14324. "spotcontractid": {
  14325. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  14326. "type": "string"
  14327. },
  14328. "spotgoodsbrandid": {
  14329. "description": "现货品牌ID",
  14330. "type": "integer"
  14331. },
  14332. "spotgoodsdesc": {
  14333. "description": "商品型号",
  14334. "type": "string"
  14335. },
  14336. "spotgoodsmodelid": {
  14337. "description": "现货型号ID",
  14338. "type": "integer"
  14339. },
  14340. "startdate": {
  14341. "description": "点价开始日期 [2:点价 3:暂定价]",
  14342. "type": "string"
  14343. },
  14344. "updatetime": {
  14345. "description": "更新时间",
  14346. "type": "string"
  14347. },
  14348. "userid": {
  14349. "description": "机构ID",
  14350. "type": "integer"
  14351. },
  14352. "wrstandardcode": {
  14353. "description": "现货商品代码",
  14354. "type": "string"
  14355. },
  14356. "wrstandardid": {
  14357. "description": "现货商品ID",
  14358. "type": "integer"
  14359. },
  14360. "wrstandardname": {
  14361. "description": "现货商品名称",
  14362. "type": "string"
  14363. }
  14364. }
  14365. },
  14366. "models.ErmcpSpotGoodsPrice": {
  14367. "type": "object",
  14368. "properties": {
  14369. "areauserid": {
  14370. "description": "所属机构id",
  14371. "type": "integer"
  14372. },
  14373. "brandname": {
  14374. "description": "品牌名称",
  14375. "type": "string"
  14376. },
  14377. "currencyid": {
  14378. "description": "报价货币ID",
  14379. "type": "integer"
  14380. },
  14381. "enumdicname": {
  14382. "description": "现货商品单位名称",
  14383. "type": "string"
  14384. },
  14385. "gbenumdicname": {
  14386. "description": "品类单位名称",
  14387. "type": "string"
  14388. },
  14389. "gmunitid": {
  14390. "description": "品类单位id",
  14391. "type": "integer"
  14392. },
  14393. "isvalid": {
  14394. "description": "是否有效 - 0:无效 1:有效",
  14395. "type": "integer"
  14396. },
  14397. "modelname": {
  14398. "description": "品类名称",
  14399. "type": "string"
  14400. },
  14401. "operateid": {
  14402. "description": "最后操作人",
  14403. "type": "integer"
  14404. },
  14405. "operatesrc": {
  14406. "description": "最后操作来源 - 1:管理端 2:终端",
  14407. "type": "integer"
  14408. },
  14409. "operatetime": {
  14410. "description": "最后操作时间",
  14411. "type": "string"
  14412. },
  14413. "operatorname": {
  14414. "description": "操作人名称",
  14415. "type": "string"
  14416. },
  14417. "spotgoodsbrandid": {
  14418. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14419. "type": "integer"
  14420. },
  14421. "spotgoodsmodelid": {
  14422. "description": "现货品类ID(通用则为0)",
  14423. "type": "integer"
  14424. },
  14425. "spotgoodsprice": {
  14426. "description": "现货价格",
  14427. "type": "number"
  14428. },
  14429. "tradedate": {
  14430. "description": "交易日(yyyyMMdd)",
  14431. "type": "string"
  14432. },
  14433. "unitid": {
  14434. "description": "现货商品单位id",
  14435. "type": "integer"
  14436. },
  14437. "wrstandardcode": {
  14438. "description": "现货商品代码",
  14439. "type": "string"
  14440. },
  14441. "wrstandardid": {
  14442. "description": "现货商品ID",
  14443. "type": "integer"
  14444. },
  14445. "wrstandardname": {
  14446. "description": "现货商品名称",
  14447. "type": "string"
  14448. }
  14449. }
  14450. },
  14451. "models.ErmcpSpotGoodsPriceLog": {
  14452. "type": "object",
  14453. "properties": {
  14454. "areauserid": {
  14455. "description": "所属机构id",
  14456. "type": "integer"
  14457. },
  14458. "brandname": {
  14459. "description": "品牌名称",
  14460. "type": "string"
  14461. },
  14462. "currencyid": {
  14463. "description": "报价货币ID",
  14464. "type": "integer"
  14465. },
  14466. "enumdicname": {
  14467. "description": "现货商品单位名称",
  14468. "type": "string"
  14469. },
  14470. "gbenumdicname": {
  14471. "description": "品类单位名称",
  14472. "type": "string"
  14473. },
  14474. "gmunitid": {
  14475. "description": "品类单位id",
  14476. "type": "integer"
  14477. },
  14478. "logid": {
  14479. "description": "日志id",
  14480. "type": "integer"
  14481. },
  14482. "modelname": {
  14483. "description": "品类名称",
  14484. "type": "string"
  14485. },
  14486. "operateid": {
  14487. "description": "最后操作人",
  14488. "type": "integer"
  14489. },
  14490. "operatesrc": {
  14491. "description": "最后操作来源 - 1:管理端 2:终端",
  14492. "type": "integer"
  14493. },
  14494. "operatetime": {
  14495. "description": "最后操作时间",
  14496. "type": "string"
  14497. },
  14498. "operatorname": {
  14499. "description": "操作人名称",
  14500. "type": "string"
  14501. },
  14502. "spotgoodsbrandid": {
  14503. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  14504. "type": "integer"
  14505. },
  14506. "spotgoodsmodelid": {
  14507. "description": "现货品类ID(通用则为0)",
  14508. "type": "integer"
  14509. },
  14510. "spotgoodsprice": {
  14511. "description": "现货价格",
  14512. "type": "number"
  14513. },
  14514. "tradedate": {
  14515. "description": "交易日(yyyyMMdd)",
  14516. "type": "string"
  14517. },
  14518. "unitid": {
  14519. "description": "现货商品单位id",
  14520. "type": "integer"
  14521. },
  14522. "wrstandardcode": {
  14523. "description": "现货商品代码",
  14524. "type": "string"
  14525. },
  14526. "wrstandardid": {
  14527. "description": "现货商品ID",
  14528. "type": "integer"
  14529. },
  14530. "wrstandardname": {
  14531. "description": "现货商品名称",
  14532. "type": "string"
  14533. }
  14534. }
  14535. },
  14536. "models.ErmcpTaAccount": {
  14537. "type": "object",
  14538. "properties": {
  14539. "accountid": {
  14540. "description": "账户id",
  14541. "type": "integer"
  14542. },
  14543. "accountname": {
  14544. "description": "账户名称",
  14545. "type": "string"
  14546. },
  14547. "currencyid": {
  14548. "description": "币种id",
  14549. "type": "integer"
  14550. },
  14551. "ismain": {
  14552. "description": "是否主账户 0-否 1-是",
  14553. "type": "integer"
  14554. },
  14555. "parentaccountid": {
  14556. "description": "父账户id",
  14557. "type": "integer"
  14558. },
  14559. "relateduserid": {
  14560. "description": "关联userid",
  14561. "type": "integer"
  14562. },
  14563. "tradestatus": {
  14564. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14565. "type": "integer"
  14566. }
  14567. }
  14568. },
  14569. "models.ErmcpTaAccountEx": {
  14570. "type": "object",
  14571. "properties": {
  14572. "mainAcc": {
  14573. "description": "主账号",
  14574. "type": "object",
  14575. "$ref": "#/definitions/models.ErmcpTaAccount"
  14576. },
  14577. "subacclist": {
  14578. "description": "子账号列表",
  14579. "type": "array",
  14580. "items": {
  14581. "$ref": "#/definitions/models.ErmcpTaAccount"
  14582. }
  14583. }
  14584. }
  14585. },
  14586. "models.ErmcpTaAccountInfo": {
  14587. "type": "object",
  14588. "properties": {
  14589. "accountid": {
  14590. "description": "资金账户ID",
  14591. "type": "integer"
  14592. },
  14593. "accountname": {
  14594. "description": "账户名称",
  14595. "type": "string"
  14596. },
  14597. "balance": {
  14598. "description": "期初余额",
  14599. "type": "number"
  14600. },
  14601. "capitalbalance": {
  14602. "description": "本金余额[外部子账户实际出入金余额]",
  14603. "type": "number"
  14604. },
  14605. "closepl": {
  14606. "description": "今日平仓盈亏",
  14607. "type": "number"
  14608. },
  14609. "creditdecrease": {
  14610. "description": "今日授信减少",
  14611. "type": "number"
  14612. },
  14613. "creditincrease": {
  14614. "description": "今日授信增加",
  14615. "type": "number"
  14616. },
  14617. "curdebt": {
  14618. "description": "期末欠款",
  14619. "type": "number"
  14620. },
  14621. "currencyid": {
  14622. "description": "货币ID",
  14623. "type": "integer"
  14624. },
  14625. "currentbalance": {
  14626. "description": "期末余额",
  14627. "type": "number"
  14628. },
  14629. "freezecharge": {
  14630. "description": "手续费冻结",
  14631. "type": "number"
  14632. },
  14633. "freezemargin": {
  14634. "description": "冻结保证金",
  14635. "type": "number"
  14636. },
  14637. "fromaccountid": {
  14638. "description": "所属上级账户",
  14639. "type": "integer"
  14640. },
  14641. "inamount": {
  14642. "description": "今日入金金额(包括三方入金)",
  14643. "type": "number"
  14644. },
  14645. "ismain": {
  14646. "description": "是否母账号 0:不是母账户 1:是母账户",
  14647. "type": "integer"
  14648. },
  14649. "mortgagecredit": {
  14650. "description": "授信金额",
  14651. "type": "number"
  14652. },
  14653. "oridebt": {
  14654. "description": "期初欠款",
  14655. "type": "number"
  14656. },
  14657. "orifreezecharge": {
  14658. "description": "期初手续费冻结",
  14659. "type": "number"
  14660. },
  14661. "orifreezemargin": {
  14662. "description": "期初冻结保证金",
  14663. "type": "number"
  14664. },
  14665. "orimortgagecredit": {
  14666. "description": "期初授信金额",
  14667. "type": "number"
  14668. },
  14669. "oriothercredit": {
  14670. "description": "期初其它授信金额",
  14671. "type": "number"
  14672. },
  14673. "oriotherfreezemargin": {
  14674. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14675. "type": "number"
  14676. },
  14677. "orioutamountfreeze": {
  14678. "description": "期初出金冻结",
  14679. "type": "number"
  14680. },
  14681. "oriusedmargin": {
  14682. "description": "期初占用保证金",
  14683. "type": "number"
  14684. },
  14685. "othercredit": {
  14686. "description": "其它授信金额",
  14687. "type": "number"
  14688. },
  14689. "othercreditdecrease": {
  14690. "description": "今日其它授信减少",
  14691. "type": "number"
  14692. },
  14693. "othercreditincrease": {
  14694. "description": "今日其它授信增加",
  14695. "type": "number"
  14696. },
  14697. "otherfreezemargin": {
  14698. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14699. "type": "number"
  14700. },
  14701. "outamount": {
  14702. "description": "今日出金金额(包括三方出金)",
  14703. "type": "number"
  14704. },
  14705. "outamountfreeze": {
  14706. "description": "出金冻结",
  14707. "type": "number"
  14708. },
  14709. "outthreshold": {
  14710. "description": "出金阈值",
  14711. "type": "number"
  14712. },
  14713. "parentaccountid": {
  14714. "description": "所属根账号",
  14715. "type": "integer"
  14716. },
  14717. "paycharge": {
  14718. "description": "今日手续费支出",
  14719. "type": "number"
  14720. },
  14721. "relateduserid": {
  14722. "description": "关联用户",
  14723. "type": "integer"
  14724. },
  14725. "signstatus": {
  14726. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14727. "type": "integer"
  14728. },
  14729. "sublevelpath": {
  14730. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14731. "type": "string"
  14732. },
  14733. "taaccounttype": {
  14734. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14735. "type": "integer"
  14736. },
  14737. "thirdinamount": {
  14738. "description": "今日三方入金",
  14739. "type": "number"
  14740. },
  14741. "thirdoutamount": {
  14742. "description": "今日三方出金",
  14743. "type": "number"
  14744. },
  14745. "tradestatus": {
  14746. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14747. "type": "integer"
  14748. },
  14749. "transferamount": {
  14750. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14751. "type": "number"
  14752. },
  14753. "usedmargin": {
  14754. "description": "占用保证金",
  14755. "type": "number"
  14756. },
  14757. "userid": {
  14758. "description": "用户ID",
  14759. "type": "integer"
  14760. }
  14761. }
  14762. },
  14763. "models.ErmcpUserModel": {
  14764. "type": "object",
  14765. "properties": {
  14766. "address": {
  14767. "description": "通讯地址",
  14768. "type": "string"
  14769. },
  14770. "attachment1": {
  14771. "description": "附件1",
  14772. "type": "string"
  14773. },
  14774. "audittime": {
  14775. "description": "审核时间",
  14776. "type": "string"
  14777. },
  14778. "cardfrontphotourl": {
  14779. "description": "证件正面图片地址",
  14780. "type": "string"
  14781. },
  14782. "cardnum": {
  14783. "description": "证件号码",
  14784. "type": "string"
  14785. },
  14786. "cardtype": {
  14787. "description": "证件类型",
  14788. "type": "integer"
  14789. },
  14790. "cardtypename": {
  14791. "description": "证件类型名称",
  14792. "type": "string"
  14793. },
  14794. "cityid": {
  14795. "description": "市",
  14796. "type": "integer"
  14797. },
  14798. "countryid": {
  14799. "description": "国家",
  14800. "type": "integer"
  14801. },
  14802. "createtime": {
  14803. "description": "创建时间",
  14804. "type": "string"
  14805. },
  14806. "customername": {
  14807. "description": "企业名称",
  14808. "type": "string"
  14809. },
  14810. "districtid": {
  14811. "description": "区域",
  14812. "type": "integer"
  14813. },
  14814. "memberuserid": {
  14815. "description": "所属机构ID",
  14816. "type": "integer"
  14817. },
  14818. "mobile": {
  14819. "description": "手机号码",
  14820. "type": "string"
  14821. },
  14822. "modifytime": {
  14823. "description": "修改时间",
  14824. "type": "string"
  14825. },
  14826. "nickname": {
  14827. "description": "昵称",
  14828. "type": "string"
  14829. },
  14830. "provinceid": {
  14831. "description": "省",
  14832. "type": "integer"
  14833. },
  14834. "remark": {
  14835. "description": "备注",
  14836. "type": "string"
  14837. },
  14838. "status": {
  14839. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14840. "type": "integer"
  14841. },
  14842. "statusdesc": {
  14843. "description": "账户状态中文描述",
  14844. "type": "string"
  14845. },
  14846. "telphone": {
  14847. "description": "联系电话",
  14848. "type": "string"
  14849. },
  14850. "userid": {
  14851. "description": "用户ID",
  14852. "type": "integer"
  14853. },
  14854. "userinfotype": {
  14855. "description": "客户类型",
  14856. "type": "string"
  14857. }
  14858. }
  14859. },
  14860. "models.ErmcpWareHouseInfo": {
  14861. "type": "object",
  14862. "properties": {
  14863. "address": {
  14864. "description": "详细地址",
  14865. "type": "string"
  14866. },
  14867. "areauserid": {
  14868. "description": "所属机构",
  14869. "type": "integer"
  14870. },
  14871. "autoid": {
  14872. "description": "自增ID(仓库ID)",
  14873. "type": "integer"
  14874. },
  14875. "cityid": {
  14876. "description": "市",
  14877. "type": "integer"
  14878. },
  14879. "contactname": {
  14880. "description": "联系人",
  14881. "type": "string"
  14882. },
  14883. "contactnum": {
  14884. "description": "联系电话",
  14885. "type": "string"
  14886. },
  14887. "countryid": {
  14888. "description": "国家",
  14889. "type": "integer"
  14890. },
  14891. "createtime": {
  14892. "description": "创建时间",
  14893. "type": "string"
  14894. },
  14895. "districtid": {
  14896. "description": "区",
  14897. "type": "integer"
  14898. },
  14899. "hasvideo": {
  14900. "description": "是否有视频 - 0:无 1:有",
  14901. "type": "integer"
  14902. },
  14903. "provinceid": {
  14904. "description": "省",
  14905. "type": "integer"
  14906. },
  14907. "remark": {
  14908. "description": "审核备注",
  14909. "type": "string"
  14910. },
  14911. "videourl": {
  14912. "description": "视频地址",
  14913. "type": "string"
  14914. },
  14915. "warehousecode": {
  14916. "description": "仓库代码",
  14917. "type": "string"
  14918. },
  14919. "warehousename": {
  14920. "description": "仓库名称",
  14921. "type": "string"
  14922. },
  14923. "warehousestatus": {
  14924. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  14925. "type": "integer"
  14926. },
  14927. "warehousetype": {
  14928. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  14929. "type": "integer"
  14930. }
  14931. }
  14932. },
  14933. "models.ErmcpWrstandDetail": {
  14934. "type": "object",
  14935. "properties": {
  14936. "gbList": {
  14937. "description": "品牌列表",
  14938. "type": "array",
  14939. "items": {
  14940. "$ref": "#/definitions/models.GoodsBrand"
  14941. }
  14942. },
  14943. "goodsList": {
  14944. "description": "关联交易商品列表",
  14945. "type": "array",
  14946. "items": {
  14947. "$ref": "#/definitions/models.RelatedGoodsEx"
  14948. }
  14949. },
  14950. "gtList": {
  14951. "description": "型号列表",
  14952. "type": "array",
  14953. "items": {
  14954. "$ref": "#/definitions/models.GoodsTypeModel"
  14955. }
  14956. },
  14957. "wrd": {
  14958. "description": "基本信息",
  14959. "type": "object",
  14960. "$ref": "#/definitions/models.ErmcpWrstandard"
  14961. },
  14962. "wrsList": {
  14963. "description": "套保信息列表",
  14964. "type": "array",
  14965. "items": {
  14966. "$ref": "#/definitions/models.WRSConverTDetail"
  14967. }
  14968. }
  14969. }
  14970. },
  14971. "models.ErmcpWrstandard": {
  14972. "type": "object",
  14973. "properties": {
  14974. "areauserid": {
  14975. "description": "所属机构",
  14976. "type": "integer"
  14977. },
  14978. "createtime": {
  14979. "description": "创建时间",
  14980. "type": "string"
  14981. },
  14982. "creatorid": {
  14983. "description": "创建人",
  14984. "type": "integer"
  14985. },
  14986. "deliverygoodsid": {
  14987. "description": "品种ID",
  14988. "type": "integer"
  14989. },
  14990. "enumdicname": {
  14991. "description": "单位名称",
  14992. "type": "string"
  14993. },
  14994. "isvalid": {
  14995. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  14996. "type": "integer"
  14997. },
  14998. "minivalue": {
  14999. "description": "最小变动值",
  15000. "type": "integer"
  15001. },
  15002. "minivaluedp": {
  15003. "description": "最小变动值小数位",
  15004. "type": "integer"
  15005. },
  15006. "realminivalue": {
  15007. "description": "实际最小变动值",
  15008. "type": "integer"
  15009. },
  15010. "realminivaluedp": {
  15011. "description": "实际最小变动值小数位",
  15012. "type": "integer"
  15013. },
  15014. "remark": {
  15015. "description": "备注",
  15016. "type": "string"
  15017. },
  15018. "unitid": {
  15019. "description": "单位ID",
  15020. "type": "integer"
  15021. },
  15022. "updatetime": {
  15023. "description": "更新时间",
  15024. "type": "string"
  15025. },
  15026. "wrstandardcode": {
  15027. "description": "现货商品代码",
  15028. "type": "string"
  15029. },
  15030. "wrstandardid": {
  15031. "description": "现货商品ID(SEQ_WRSTANDARD)",
  15032. "type": "integer"
  15033. },
  15034. "wrstandardname": {
  15035. "description": "现货商品名称",
  15036. "type": "string"
  15037. }
  15038. }
  15039. },
  15040. "models.Externalexchange": {
  15041. "type": "object",
  15042. "required": [
  15043. "autoid"
  15044. ],
  15045. "properties": {
  15046. "autoid": {
  15047. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  15048. "type": "integer"
  15049. },
  15050. "exchangefullname": {
  15051. "description": "外部交易所全称",
  15052. "type": "string"
  15053. },
  15054. "exexchangecode": {
  15055. "description": "外部交易所代码",
  15056. "type": "string"
  15057. },
  15058. "exexchangename": {
  15059. "description": "外部交易所名称(简称)",
  15060. "type": "string"
  15061. },
  15062. "ismarketprice": {
  15063. "description": "是否支持市价 - 0:不支持 1:支持",
  15064. "type": "integer"
  15065. },
  15066. "quotegear": {
  15067. "description": "行情档位(1-10)",
  15068. "type": "integer"
  15069. },
  15070. "showbrokerflag": {
  15071. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  15072. "type": "integer"
  15073. },
  15074. "updatetime": {
  15075. "description": "更新时间",
  15076. "type": "string"
  15077. }
  15078. }
  15079. },
  15080. "models.Funcmenulist": {
  15081. "type": "object",
  15082. "required": [
  15083. "resourcecode"
  15084. ],
  15085. "properties": {
  15086. "iconame": {
  15087. "description": "菜单图标",
  15088. "type": "string"
  15089. },
  15090. "menutype": {
  15091. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  15092. "type": "integer"
  15093. },
  15094. "parentcode": {
  15095. "description": "上级资源代码",
  15096. "type": "string"
  15097. },
  15098. "remark": {
  15099. "description": "备注",
  15100. "type": "string"
  15101. },
  15102. "resourcecode": {
  15103. "description": "资源代码",
  15104. "type": "string"
  15105. },
  15106. "resourcelevel": {
  15107. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  15108. "type": "integer"
  15109. },
  15110. "resourcename": {
  15111. "description": "资源名",
  15112. "type": "string"
  15113. },
  15114. "sort": {
  15115. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  15116. "type": "integer"
  15117. },
  15118. "url": {
  15119. "description": "URL",
  15120. "type": "string"
  15121. }
  15122. }
  15123. },
  15124. "models.Goods": {
  15125. "type": "object",
  15126. "required": [
  15127. "goodscode",
  15128. "goodsid",
  15129. "goodsname",
  15130. "marketid"
  15131. ],
  15132. "properties": {
  15133. "agreeunit": {
  15134. "description": "合约单位",
  15135. "type": "number"
  15136. },
  15137. "auditaccountid": {
  15138. "description": "审核操作员账号",
  15139. "type": "integer"
  15140. },
  15141. "audittime": {
  15142. "description": "审核时间",
  15143. "type": "string"
  15144. },
  15145. "cancelaccountid": {
  15146. "description": "注销操作员账号",
  15147. "type": "integer"
  15148. },
  15149. "canceltime": {
  15150. "description": "注销时间",
  15151. "type": "string"
  15152. },
  15153. "closepricemode": {
  15154. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15155. "type": "integer"
  15156. },
  15157. "closepriceparam": {
  15158. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  15159. "type": "number"
  15160. },
  15161. "createtime": {
  15162. "description": "创建时间",
  15163. "type": "string"
  15164. },
  15165. "creatorid": {
  15166. "description": "创建人",
  15167. "type": "integer"
  15168. },
  15169. "currencyid": {
  15170. "description": "报价货币ID",
  15171. "type": "integer"
  15172. },
  15173. "cutmode": {
  15174. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  15175. "type": "integer"
  15176. },
  15177. "decimalplace": {
  15178. "description": "报价小数位",
  15179. "type": "integer"
  15180. },
  15181. "delistingdate": {
  15182. "description": "商品退市时间(状态:退市) -- 已作废",
  15183. "type": "string"
  15184. },
  15185. "delistingmode": {
  15186. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  15187. "type": "integer"
  15188. },
  15189. "deliveryflag": {
  15190. "description": "交割标志 - 0:不可交割 1:可交割",
  15191. "type": "integer"
  15192. },
  15193. "forceclosemode": {
  15194. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  15195. "type": "integer"
  15196. },
  15197. "forceclosevalue": {
  15198. "description": "定期强平参数 [收益权]",
  15199. "type": "integer"
  15200. },
  15201. "goodscode": {
  15202. "description": "商品代码(内部)",
  15203. "type": "string"
  15204. },
  15205. "goodscurrencyid": {
  15206. "description": "合约货币ID",
  15207. "type": "integer"
  15208. },
  15209. "goodsgroupid": {
  15210. "description": "所属商品组ID",
  15211. "type": "integer"
  15212. },
  15213. "goodsid": {
  15214. "description": "商品ID(自增ID SEQ_GOODS)",
  15215. "type": "integer"
  15216. },
  15217. "goodsname": {
  15218. "description": "商品名称",
  15219. "type": "string"
  15220. },
  15221. "goodsquotetype": {
  15222. "description": "合约报价类型: 1-直接报价 2-间接报价",
  15223. "type": "integer"
  15224. },
  15225. "goodsstatus": {
  15226. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  15227. "type": "integer"
  15228. },
  15229. "goodstradetype": {
  15230. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  15231. "type": "integer"
  15232. },
  15233. "goodunitid": {
  15234. "description": "报价单位ID",
  15235. "type": "integer"
  15236. },
  15237. "hasquoter": {
  15238. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  15239. "type": "integer"
  15240. },
  15241. "hqprotecttime": {
  15242. "description": "行情保护时间(秒)",
  15243. "type": "integer"
  15244. },
  15245. "innerdealmode": {
  15246. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15247. "type": "integer"
  15248. },
  15249. "isbuylimited": {
  15250. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15251. "type": "integer"
  15252. },
  15253. "lasttradedate": {
  15254. "description": "最后交易日期(状态:待退市)",
  15255. "type": "string"
  15256. },
  15257. "listingdate": {
  15258. "description": "交易开始日期",
  15259. "type": "string"
  15260. },
  15261. "marketid": {
  15262. "description": "所属市场ID",
  15263. "type": "integer"
  15264. },
  15265. "modifierid": {
  15266. "description": "修改人",
  15267. "type": "integer"
  15268. },
  15269. "modifystatus": {
  15270. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  15271. "type": "integer"
  15272. },
  15273. "modifytime": {
  15274. "description": "修改时间",
  15275. "type": "string"
  15276. },
  15277. "outerdealmode": {
  15278. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15279. "type": "integer"
  15280. },
  15281. "outgoodscode": {
  15282. "description": "商品代码(外部)",
  15283. "type": "string"
  15284. },
  15285. "qtydecimalplace": {
  15286. "description": "成交量小数位",
  15287. "type": "integer"
  15288. },
  15289. "quotegear": {
  15290. "description": "行情档位(1-10)",
  15291. "type": "integer"
  15292. },
  15293. "quoteminunit": {
  15294. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15295. "type": "integer"
  15296. },
  15297. "quoteshowtype": {
  15298. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  15299. "type": "integer"
  15300. },
  15301. "quoteshowtypeinterval": {
  15302. "description": "行情报价间隔时间(秒)(成交价时为0)",
  15303. "type": "integer"
  15304. },
  15305. "remark": {
  15306. "description": "备注",
  15307. "type": "string"
  15308. }
  15309. }
  15310. },
  15311. "models.GoodsBrand": {
  15312. "type": "object",
  15313. "properties": {
  15314. "brandid": {
  15315. "description": "品牌ID",
  15316. "type": "integer"
  15317. },
  15318. "brandname": {
  15319. "description": "品牌名称",
  15320. "type": "string"
  15321. },
  15322. "isvalid": {
  15323. "description": "是否有效 - 0:无效 1:有效",
  15324. "type": "integer"
  15325. }
  15326. }
  15327. },
  15328. "models.GoodsIDAndName": {
  15329. "type": "object",
  15330. "required": [
  15331. "goodscode",
  15332. "goodsid",
  15333. "goodsname",
  15334. "marketid"
  15335. ],
  15336. "properties": {
  15337. "goodscode": {
  15338. "description": "商品代码(内部)",
  15339. "type": "string"
  15340. },
  15341. "goodsid": {
  15342. "description": "商品ID(自增ID SEQ_GOODS)",
  15343. "type": "integer"
  15344. },
  15345. "goodsname": {
  15346. "description": "商品名称",
  15347. "type": "string"
  15348. },
  15349. "marketid": {
  15350. "description": "所属市场ID",
  15351. "type": "integer"
  15352. }
  15353. }
  15354. },
  15355. "models.GoodsTypeModel": {
  15356. "type": "object",
  15357. "properties": {
  15358. "convertfactor": {
  15359. "description": "标仓系数",
  15360. "type": "number"
  15361. },
  15362. "modelid": {
  15363. "description": "型号ID",
  15364. "type": "integer"
  15365. },
  15366. "modelname": {
  15367. "description": "型号名称",
  15368. "type": "string"
  15369. },
  15370. "updatetime": {
  15371. "description": "更新时间",
  15372. "type": "string"
  15373. }
  15374. }
  15375. },
  15376. "models.Goodsgroup": {
  15377. "type": "object",
  15378. "required": [
  15379. "goodsgroupid",
  15380. "goodsgroupname",
  15381. "goodsgroupstatus",
  15382. "marketid"
  15383. ],
  15384. "properties": {
  15385. "agreeunit": {
  15386. "description": "合约单位",
  15387. "type": "number"
  15388. },
  15389. "canshort": {
  15390. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  15391. "type": "integer"
  15392. },
  15393. "closepricemode": {
  15394. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  15395. "type": "integer"
  15396. },
  15397. "closepriceparam": {
  15398. "description": "强平最新价浮动比例 - 方式为2时使用",
  15399. "type": "number"
  15400. },
  15401. "createtime": {
  15402. "description": "创建时间",
  15403. "type": "string"
  15404. },
  15405. "creatorid": {
  15406. "description": "创建人",
  15407. "type": "integer"
  15408. },
  15409. "currencyid": {
  15410. "description": "报价货币ID",
  15411. "type": "integer"
  15412. },
  15413. "decimalplace": {
  15414. "description": "报价小数位",
  15415. "type": "integer"
  15416. },
  15417. "exercisetype": {
  15418. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  15419. "type": "integer"
  15420. },
  15421. "exexchangeid": {
  15422. "description": "外部交易所ID[通道交易]",
  15423. "type": "integer"
  15424. },
  15425. "goodsgroupid": {
  15426. "description": "商品组ID(自增ID)",
  15427. "type": "integer"
  15428. },
  15429. "goodsgroupname": {
  15430. "description": "商品组名称",
  15431. "type": "string"
  15432. },
  15433. "goodsgroupstatus": {
  15434. "description": "商品组状态 - 1:正常 2:注销",
  15435. "type": "integer"
  15436. },
  15437. "goodunitid": {
  15438. "description": "报价单位ID",
  15439. "type": "integer"
  15440. },
  15441. "innerdealmode": {
  15442. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  15443. "type": "integer"
  15444. },
  15445. "isbuylimited": {
  15446. "description": "是否限制建仓量 - 0:不限制 1:限制",
  15447. "type": "integer"
  15448. },
  15449. "marketid": {
  15450. "description": "所属市场ID",
  15451. "type": "integer"
  15452. },
  15453. "modifierid": {
  15454. "description": "修改人",
  15455. "type": "integer"
  15456. },
  15457. "modifytime": {
  15458. "description": "修改时间",
  15459. "type": "string"
  15460. },
  15461. "outerdealmode": {
  15462. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  15463. "type": "integer"
  15464. },
  15465. "outergroupcode": {
  15466. "description": "外部商品组代码[通道交易]",
  15467. "type": "string"
  15468. },
  15469. "premiumdecimalplace": {
  15470. "description": "权利金小数位[场外期权]",
  15471. "type": "integer"
  15472. },
  15473. "premiumspreadalgorithm": {
  15474. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  15475. "type": "integer"
  15476. },
  15477. "premiumspreadvalue": {
  15478. "description": "权利金点差值[场外期权]",
  15479. "type": "number"
  15480. },
  15481. "qtydecimalplace": {
  15482. "description": "成交量小数位",
  15483. "type": "integer"
  15484. },
  15485. "quotegear": {
  15486. "description": "行情档位(1-10)",
  15487. "type": "integer"
  15488. },
  15489. "quoteminunit": {
  15490. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15491. "type": "integer"
  15492. },
  15493. "quoterid": {
  15494. "description": "报价商ID[场外期权]",
  15495. "type": "integer"
  15496. },
  15497. "quotesourcegroupid": {
  15498. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  15499. "type": "integer"
  15500. },
  15501. "syncgoodsqty": {
  15502. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  15503. "type": "integer"
  15504. }
  15505. }
  15506. },
  15507. "models.Goodssortbypreposition": {
  15508. "type": "object",
  15509. "required": [
  15510. "goodscode",
  15511. "tradedate"
  15512. ],
  15513. "properties": {
  15514. "goodscode": {
  15515. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  15516. "type": "string"
  15517. },
  15518. "goodsgroupcode": {
  15519. "description": "品种代码",
  15520. "type": "string"
  15521. },
  15522. "prepositionqty": {
  15523. "description": "昨持仓量",
  15524. "type": "integer"
  15525. },
  15526. "sortindex": {
  15527. "description": "排序",
  15528. "type": "integer"
  15529. },
  15530. "tradedate": {
  15531. "description": "交易日",
  15532. "type": "string"
  15533. },
  15534. "updatetime": {
  15535. "description": "更新时间",
  15536. "type": "string"
  15537. }
  15538. }
  15539. },
  15540. "models.Hedgeinnerholderdetail": {
  15541. "type": "object",
  15542. "required": [
  15543. "buyorsell",
  15544. "tradeid"
  15545. ],
  15546. "properties": {
  15547. "accountid": {
  15548. "description": "账号ID",
  15549. "type": "integer"
  15550. },
  15551. "buyorsell": {
  15552. "description": "方向 - 0:买 1:卖",
  15553. "type": "integer"
  15554. },
  15555. "freezeqty": {
  15556. "description": "冻结数量 - 按单平使用",
  15557. "type": "integer"
  15558. },
  15559. "goodsid": {
  15560. "description": "商品ID",
  15561. "type": "integer"
  15562. },
  15563. "holderamount": {
  15564. "description": "持仓金额 [商品币种]",
  15565. "type": "number"
  15566. },
  15567. "holderdays": {
  15568. "description": "剩余冻结天数",
  15569. "type": "integer"
  15570. },
  15571. "holderprice": {
  15572. "description": "持仓价格",
  15573. "type": "number"
  15574. },
  15575. "holderqty": {
  15576. "description": "持仓数量",
  15577. "type": "integer"
  15578. },
  15579. "marketid": {
  15580. "description": "市场ID",
  15581. "type": "integer"
  15582. },
  15583. "openprice": {
  15584. "description": "建仓价格",
  15585. "type": "number"
  15586. },
  15587. "openqty": {
  15588. "description": "建仓数量",
  15589. "type": "integer"
  15590. },
  15591. "parentaccountid": {
  15592. "description": "所属母账户",
  15593. "type": "integer"
  15594. },
  15595. "releaseamount": {
  15596. "description": "释放持仓金额[商品币种]",
  15597. "type": "number"
  15598. },
  15599. "tradeamount": {
  15600. "description": "成交金额[账户]",
  15601. "type": "number"
  15602. },
  15603. "tradedate": {
  15604. "description": "交易日(yyyyMMdd)",
  15605. "type": "string"
  15606. },
  15607. "tradeid": {
  15608. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15609. "type": "string"
  15610. },
  15611. "tradetime": {
  15612. "description": "交易时间",
  15613. "type": "string"
  15614. }
  15615. }
  15616. },
  15617. "models.HsbyBuyMyPayOrder": {
  15618. "type": "object",
  15619. "required": [
  15620. "goodscode",
  15621. "goodsname",
  15622. "tradeid",
  15623. "trademode"
  15624. ],
  15625. "properties": {
  15626. "agreeunit": {
  15627. "description": "合约单位",
  15628. "type": "number"
  15629. },
  15630. "buyaccountid": {
  15631. "description": "买方账号ID[报价币种]",
  15632. "type": "integer"
  15633. },
  15634. "buyorderid": {
  15635. "description": "买方委托单号",
  15636. "type": "string"
  15637. },
  15638. "createtime": {
  15639. "description": "创建时间",
  15640. "type": "string"
  15641. },
  15642. "currencysign": {
  15643. "description": "货币符号",
  15644. "type": "string"
  15645. },
  15646. "decimalplace": {
  15647. "description": "报价小数位",
  15648. "type": "integer"
  15649. },
  15650. "goodscode": {
  15651. "description": "商品代码(内部)",
  15652. "type": "string"
  15653. },
  15654. "goodsid": {
  15655. "description": "商品ID",
  15656. "type": "integer"
  15657. },
  15658. "goodsname": {
  15659. "description": "商品名称",
  15660. "type": "string"
  15661. },
  15662. "marketid": {
  15663. "description": "市场ID",
  15664. "type": "integer"
  15665. },
  15666. "offamount": {
  15667. "description": "优惠金额",
  15668. "type": "number"
  15669. },
  15670. "originalamount": {
  15671. "description": "原金额 = TradeAmount + TradeCharge + OffAmount",
  15672. "type": "number"
  15673. },
  15674. "payamount": {
  15675. "description": "支付金额 = TradeAmount + TradeCharge",
  15676. "type": "number"
  15677. },
  15678. "payflag": {
  15679. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  15680. "type": "integer"
  15681. },
  15682. "paylimitedtime": {
  15683. "description": "支付期限",
  15684. "type": "string"
  15685. },
  15686. "paytime": {
  15687. "description": "付款时间",
  15688. "type": "string"
  15689. },
  15690. "picurls1": {
  15691. "description": "预售商品介绍图片[多张用逗号分隔]",
  15692. "type": "string"
  15693. },
  15694. "picurls2": {
  15695. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15696. "type": "string"
  15697. },
  15698. "sellaccountid": {
  15699. "description": "卖方账号ID[报价币种]",
  15700. "type": "integer"
  15701. },
  15702. "sellorderid": {
  15703. "description": "卖方委托单号",
  15704. "type": "string"
  15705. },
  15706. "tradeamount": {
  15707. "description": "成交金额",
  15708. "type": "number"
  15709. },
  15710. "tradecharge": {
  15711. "description": "成交手续费(买方)",
  15712. "type": "number"
  15713. },
  15714. "tradedate": {
  15715. "description": "交易日(yyyyMMdd)",
  15716. "type": "string"
  15717. },
  15718. "tradeid": {
  15719. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15720. "type": "string"
  15721. },
  15722. "trademode": {
  15723. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15724. "type": "integer"
  15725. },
  15726. "tradeprice": {
  15727. "description": "成交价格",
  15728. "type": "number"
  15729. },
  15730. "tradeqty": {
  15731. "description": "成交数量",
  15732. "type": "integer"
  15733. },
  15734. "vendorname1": {
  15735. "description": "预售商品供应商名称",
  15736. "type": "string"
  15737. },
  15738. "vendorname2": {
  15739. "description": "挂牌商品供应商名称",
  15740. "type": "string"
  15741. }
  15742. }
  15743. },
  15744. "models.HsbyBuyMyTradeDetail": {
  15745. "type": "object",
  15746. "required": [
  15747. "accountid",
  15748. "buyorsell",
  15749. "goodscode",
  15750. "goodsid",
  15751. "goodsname",
  15752. "marketid",
  15753. "orderid",
  15754. "qty",
  15755. "time",
  15756. "trademode"
  15757. ],
  15758. "properties": {
  15759. "accountid": {
  15760. "description": "账户ID[报价币种]",
  15761. "type": "integer"
  15762. },
  15763. "agreeunit": {
  15764. "description": "合约单位",
  15765. "type": "number"
  15766. },
  15767. "amount": {
  15768. "description": "金额 = 价格 * 数量 * 合约单位",
  15769. "type": "number"
  15770. },
  15771. "buyorsell": {
  15772. "description": "买卖 - 0:买 1:卖",
  15773. "type": "integer"
  15774. },
  15775. "currencysign": {
  15776. "description": "货币符号",
  15777. "type": "string"
  15778. },
  15779. "decimalplace": {
  15780. "description": "报价小数位",
  15781. "type": "integer"
  15782. },
  15783. "goodscode": {
  15784. "description": "商品代码(内部)",
  15785. "type": "string"
  15786. },
  15787. "goodsid": {
  15788. "description": "商品ID",
  15789. "type": "integer"
  15790. },
  15791. "goodsname": {
  15792. "description": "商品名称",
  15793. "type": "string"
  15794. },
  15795. "marketid": {
  15796. "description": "市场ID",
  15797. "type": "integer"
  15798. },
  15799. "orderamount": {
  15800. "description": "委托金额",
  15801. "type": "number"
  15802. },
  15803. "orderid": {
  15804. "description": "单号(成交单号)",
  15805. "type": "string"
  15806. },
  15807. "picurls1": {
  15808. "description": "预售商品介绍图片[多张用逗号分隔]",
  15809. "type": "string"
  15810. },
  15811. "picurls2": {
  15812. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  15813. "type": "string"
  15814. },
  15815. "price": {
  15816. "description": "价格",
  15817. "type": "number"
  15818. },
  15819. "qty": {
  15820. "description": "数量",
  15821. "type": "integer"
  15822. },
  15823. "time": {
  15824. "description": "时间",
  15825. "type": "string"
  15826. },
  15827. "trademode": {
  15828. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15829. "type": "integer"
  15830. },
  15831. "vendorname1": {
  15832. "description": "预售商品供应商名称",
  15833. "type": "string"
  15834. },
  15835. "vendorname2": {
  15836. "description": "挂牌商品供应商名称",
  15837. "type": "string"
  15838. }
  15839. }
  15840. },
  15841. "models.HsbyGoodsOrderDetail": {
  15842. "type": "object",
  15843. "required": [
  15844. "buyorsell",
  15845. "orderid",
  15846. "ordertime"
  15847. ],
  15848. "properties": {
  15849. "buyorsell": {
  15850. "description": "买卖 - 0:买 1:卖",
  15851. "type": "integer"
  15852. },
  15853. "currencysign": {
  15854. "description": "货币符号",
  15855. "type": "string"
  15856. },
  15857. "customername": {
  15858. "description": "客户名称(企业名称),已脱敏",
  15859. "type": "string"
  15860. },
  15861. "enableqty": {
  15862. "description": "可用数量",
  15863. "type": "integer"
  15864. },
  15865. "goodunit": {
  15866. "description": "报价单位",
  15867. "type": "string"
  15868. },
  15869. "orderid": {
  15870. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15871. "type": "string"
  15872. },
  15873. "orderprice": {
  15874. "description": "委托价格",
  15875. "type": "number"
  15876. },
  15877. "ordertime": {
  15878. "description": "委托时间",
  15879. "type": "string"
  15880. }
  15881. }
  15882. },
  15883. "models.HsbyListingGoodsDetail": {
  15884. "type": "object",
  15885. "required": [
  15886. "goodscode",
  15887. "goodsid",
  15888. "goodsname",
  15889. "marketid",
  15890. "trademode"
  15891. ],
  15892. "properties": {
  15893. "agreeunit": {
  15894. "description": "合约单位",
  15895. "type": "number"
  15896. },
  15897. "buymaxqty": {
  15898. "description": "购买上限 [71] - 0为不限",
  15899. "type": "integer"
  15900. },
  15901. "currency": {
  15902. "description": "货币",
  15903. "type": "string"
  15904. },
  15905. "currencysign": {
  15906. "description": "货币符号",
  15907. "type": "string"
  15908. },
  15909. "decimalplace": {
  15910. "description": "报价小数位",
  15911. "type": "integer"
  15912. },
  15913. "desccityid": {
  15914. "description": "目的地(市)ID",
  15915. "type": "integer"
  15916. },
  15917. "descprovinceid": {
  15918. "description": "目的地(省)ID",
  15919. "type": "integer"
  15920. },
  15921. "goodscode": {
  15922. "description": "商品代码(内部)",
  15923. "type": "string"
  15924. },
  15925. "goodsdesc": {
  15926. "description": "商品详情",
  15927. "type": "string"
  15928. },
  15929. "goodsid": {
  15930. "description": "商品ID(自增ID SEQ_GOODS)",
  15931. "type": "integer"
  15932. },
  15933. "goodsname": {
  15934. "description": "商品名称",
  15935. "type": "string"
  15936. },
  15937. "goodsprice": {
  15938. "description": "商品价格",
  15939. "type": "number"
  15940. },
  15941. "hotindex": {
  15942. "description": "景点热度",
  15943. "type": "integer"
  15944. },
  15945. "last": {
  15946. "description": "现价",
  15947. "type": "number"
  15948. },
  15949. "limitdown": {
  15950. "description": "跌停价",
  15951. "type": "number"
  15952. },
  15953. "limitup": {
  15954. "description": "涨停价",
  15955. "type": "number"
  15956. },
  15957. "lotsize": {
  15958. "description": "手数最小变动单位",
  15959. "type": "integer"
  15960. },
  15961. "marketid": {
  15962. "description": "所属市场ID",
  15963. "type": "integer"
  15964. },
  15965. "picurls": {
  15966. "description": "介绍图片[多张用逗号分隔]",
  15967. "type": "string"
  15968. },
  15969. "quoteminunit": {
  15970. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  15971. "type": "integer"
  15972. },
  15973. "stepvalue": {
  15974. "description": "价格最小变动单位",
  15975. "type": "number"
  15976. },
  15977. "trademode": {
  15978. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  15979. "type": "integer"
  15980. },
  15981. "vendorattr": {
  15982. "description": "供应商附件(多张,逗号分隔)",
  15983. "type": "string"
  15984. },
  15985. "vendorname": {
  15986. "description": "供应商名称",
  15987. "type": "string"
  15988. },
  15989. "vendorphone": {
  15990. "description": "供应商客服电话",
  15991. "type": "string"
  15992. },
  15993. "videourls": {
  15994. "description": "介绍视频[多张用逗号分隔]",
  15995. "type": "string"
  15996. }
  15997. }
  15998. },
  15999. "models.HsbyMarketGoods": {
  16000. "type": "object",
  16001. "required": [
  16002. "accountid",
  16003. "buyorsell",
  16004. "goodscode",
  16005. "goodsid",
  16006. "goodsname",
  16007. "marketid",
  16008. "orderid",
  16009. "trademode"
  16010. ],
  16011. "properties": {
  16012. "accountid": {
  16013. "description": "账户ID[报价币种]",
  16014. "type": "integer"
  16015. },
  16016. "agreeunit": {
  16017. "description": "合约单位",
  16018. "type": "number"
  16019. },
  16020. "buyorsell": {
  16021. "description": "买卖 - 0:买 1:卖",
  16022. "type": "integer"
  16023. },
  16024. "categoryid": {
  16025. "description": "类别ID(WRCATEGORY)",
  16026. "type": "integer"
  16027. },
  16028. "currency": {
  16029. "description": "货币",
  16030. "type": "string"
  16031. },
  16032. "currencysign": {
  16033. "description": "货币符号",
  16034. "type": "string"
  16035. },
  16036. "customername": {
  16037. "description": "卖家名称",
  16038. "type": "string"
  16039. },
  16040. "decimalplace": {
  16041. "description": "报价小数位",
  16042. "type": "integer"
  16043. },
  16044. "goodscode": {
  16045. "description": "商品代码(内部)",
  16046. "type": "string"
  16047. },
  16048. "goodsid": {
  16049. "description": "商品ID",
  16050. "type": "integer"
  16051. },
  16052. "goodsname": {
  16053. "description": "商品名称",
  16054. "type": "string"
  16055. },
  16056. "goodsprice": {
  16057. "description": "商品价格",
  16058. "type": "number"
  16059. },
  16060. "hascoupon": {
  16061. "description": "是否可用优惠卷",
  16062. "type": "boolean"
  16063. },
  16064. "hotindex": {
  16065. "description": "景点热度",
  16066. "type": "integer"
  16067. },
  16068. "marketid": {
  16069. "description": "市场ID",
  16070. "type": "integer"
  16071. },
  16072. "orderid": {
  16073. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16074. "type": "string"
  16075. },
  16076. "orderprice": {
  16077. "description": "委托价格",
  16078. "type": "number"
  16079. },
  16080. "orderstatus": {
  16081. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16082. "type": "integer"
  16083. },
  16084. "picurls": {
  16085. "description": "介绍图片[多张用逗号分隔]",
  16086. "type": "string"
  16087. },
  16088. "quoteminunit": {
  16089. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16090. "type": "integer"
  16091. },
  16092. "sellUserID": {
  16093. "description": "卖方UserID",
  16094. "type": "integer"
  16095. },
  16096. "trademode": {
  16097. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16098. "type": "integer"
  16099. },
  16100. "videourls": {
  16101. "description": "介绍视频[多张用逗号分隔]",
  16102. "type": "string"
  16103. }
  16104. }
  16105. },
  16106. "models.HsbyMarketGoodsDetail": {
  16107. "type": "object",
  16108. "required": [
  16109. "accountid",
  16110. "buyorsell",
  16111. "goodscode",
  16112. "goodsid",
  16113. "goodsname",
  16114. "marketid",
  16115. "orderid",
  16116. "orderqty",
  16117. "trademode"
  16118. ],
  16119. "properties": {
  16120. "accountid": {
  16121. "description": "账户ID[报价币种]",
  16122. "type": "integer"
  16123. },
  16124. "agreeunit": {
  16125. "description": "合约单位",
  16126. "type": "number"
  16127. },
  16128. "buymaxqty": {
  16129. "description": "购买上限 [71] - 0为不限",
  16130. "type": "integer"
  16131. },
  16132. "buyorsell": {
  16133. "description": "买卖 - 0:买 1:卖",
  16134. "type": "integer"
  16135. },
  16136. "cancelqty": {
  16137. "description": "撤单数量",
  16138. "type": "integer"
  16139. },
  16140. "categoryid": {
  16141. "description": "类别ID(WRCATEGORY)",
  16142. "type": "integer"
  16143. },
  16144. "currency": {
  16145. "description": "货币",
  16146. "type": "string"
  16147. },
  16148. "currencysign": {
  16149. "description": "货币符号",
  16150. "type": "string"
  16151. },
  16152. "customername": {
  16153. "description": "卖家名称",
  16154. "type": "string"
  16155. },
  16156. "decimalplace": {
  16157. "description": "报价小数位",
  16158. "type": "integer"
  16159. },
  16160. "goodscode": {
  16161. "description": "商品代码(内部)",
  16162. "type": "string"
  16163. },
  16164. "goodsdesc": {
  16165. "description": "商品详情",
  16166. "type": "string"
  16167. },
  16168. "goodsid": {
  16169. "description": "商品ID",
  16170. "type": "integer"
  16171. },
  16172. "goodsname": {
  16173. "description": "商品名称",
  16174. "type": "string"
  16175. },
  16176. "goodsprice": {
  16177. "description": "商品价格",
  16178. "type": "number"
  16179. },
  16180. "hotindex": {
  16181. "description": "景点热度",
  16182. "type": "integer"
  16183. },
  16184. "lotsize": {
  16185. "description": "手数最小变动单位",
  16186. "type": "integer"
  16187. },
  16188. "marketid": {
  16189. "description": "市场ID",
  16190. "type": "integer"
  16191. },
  16192. "orderid": {
  16193. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16194. "type": "string"
  16195. },
  16196. "orderprice": {
  16197. "description": "委托价格",
  16198. "type": "number"
  16199. },
  16200. "orderqty": {
  16201. "description": "委托数量",
  16202. "type": "integer"
  16203. },
  16204. "orderstatus": {
  16205. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16206. "type": "integer"
  16207. },
  16208. "picurls": {
  16209. "description": "介绍图片[多张用逗号分隔]",
  16210. "type": "string"
  16211. },
  16212. "quoteminunit": {
  16213. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16214. "type": "integer"
  16215. },
  16216. "sellUserID": {
  16217. "description": "卖方UserID",
  16218. "type": "integer"
  16219. },
  16220. "trademode": {
  16221. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16222. "type": "integer"
  16223. },
  16224. "tradeqty": {
  16225. "description": "成交数量",
  16226. "type": "integer"
  16227. },
  16228. "vendorattr": {
  16229. "description": "供应商附件(多张,逗号分隔)",
  16230. "type": "string"
  16231. },
  16232. "vendorname": {
  16233. "description": "供应商名称",
  16234. "type": "string"
  16235. },
  16236. "vendorphone": {
  16237. "description": "供应商客服电话",
  16238. "type": "string"
  16239. },
  16240. "videourls": {
  16241. "description": "介绍视频[多张用逗号分隔]",
  16242. "type": "string"
  16243. }
  16244. }
  16245. },
  16246. "models.HsbyMarketInfo": {
  16247. "type": "object",
  16248. "required": [
  16249. "marketid",
  16250. "marketstatus",
  16251. "trademode"
  16252. ],
  16253. "properties": {
  16254. "marketid": {
  16255. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  16256. "type": "integer"
  16257. },
  16258. "marketname": {
  16259. "description": "市场名称",
  16260. "type": "string"
  16261. },
  16262. "marketstatus": {
  16263. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  16264. "type": "integer"
  16265. },
  16266. "trademode": {
  16267. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16268. "type": "integer"
  16269. }
  16270. }
  16271. },
  16272. "models.HsbyMyGoods": {
  16273. "type": "object",
  16274. "required": [
  16275. "accountid",
  16276. "goodscode",
  16277. "goodsid",
  16278. "goodsname",
  16279. "marketid",
  16280. "trademode"
  16281. ],
  16282. "properties": {
  16283. "accountid": {
  16284. "description": "账号Id",
  16285. "type": "integer"
  16286. },
  16287. "agreeunit": {
  16288. "description": "合约单位",
  16289. "type": "number"
  16290. },
  16291. "buyaverageprice": {
  16292. "description": "持仓均价",
  16293. "type": "number"
  16294. },
  16295. "buycurholderamount": {
  16296. "description": "买当前持仓总金额[商品币种]",
  16297. "type": "number"
  16298. },
  16299. "buycurpositionqty": {
  16300. "description": "买当前持仓总数量",
  16301. "type": "integer"
  16302. },
  16303. "buymaxqty": {
  16304. "description": "购买上限 [71] - 0为不限",
  16305. "type": "integer"
  16306. },
  16307. "currencysign": {
  16308. "description": "货币符号",
  16309. "type": "string"
  16310. },
  16311. "decimalplace": {
  16312. "description": "报价小数位",
  16313. "type": "integer"
  16314. },
  16315. "enableqty": {
  16316. "description": "可用数量",
  16317. "type": "integer"
  16318. },
  16319. "goodscode": {
  16320. "description": "商品代码(内部)",
  16321. "type": "string"
  16322. },
  16323. "goodsid": {
  16324. "description": "商品Id",
  16325. "type": "integer"
  16326. },
  16327. "goodsname": {
  16328. "description": "商品名称",
  16329. "type": "string"
  16330. },
  16331. "goodsprice": {
  16332. "description": "商品价格",
  16333. "type": "number"
  16334. },
  16335. "goodsstatus": {
  16336. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  16337. "type": "integer"
  16338. },
  16339. "last": {
  16340. "description": "现价(仅使用于挂牌点选)",
  16341. "type": "number"
  16342. },
  16343. "limitdown": {
  16344. "description": "跌停价(仅使用于挂牌点选)",
  16345. "type": "number"
  16346. },
  16347. "limitup": {
  16348. "description": "涨停价(仅使用于挂牌点选)",
  16349. "type": "number"
  16350. },
  16351. "lotsize": {
  16352. "description": "手数最小变动单位",
  16353. "type": "integer"
  16354. },
  16355. "marketid": {
  16356. "description": "所属市场ID",
  16357. "type": "integer"
  16358. },
  16359. "picurls": {
  16360. "description": "介绍图片[多张用逗号分隔]",
  16361. "type": "string"
  16362. },
  16363. "quoteminunit": {
  16364. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16365. "type": "integer"
  16366. },
  16367. "stepvalue": {
  16368. "description": "价格最小变动单位",
  16369. "type": "number"
  16370. },
  16371. "trademode": {
  16372. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16373. "type": "integer"
  16374. }
  16375. }
  16376. },
  16377. "models.HsbyMyPackage": {
  16378. "type": "object",
  16379. "required": [
  16380. "goodscode",
  16381. "goodsname",
  16382. "takeorderid",
  16383. "trademode"
  16384. ],
  16385. "properties": {
  16386. "accountid": {
  16387. "description": "账户ID",
  16388. "type": "integer"
  16389. },
  16390. "address": {
  16391. "description": "提货人详细地址",
  16392. "type": "string"
  16393. },
  16394. "agreeunit": {
  16395. "description": "合约单位",
  16396. "type": "number"
  16397. },
  16398. "amount": {
  16399. "description": "提货金额",
  16400. "type": "number"
  16401. },
  16402. "auditer": {
  16403. "description": "审核人",
  16404. "type": "integer"
  16405. },
  16406. "audittime": {
  16407. "description": "审核时间",
  16408. "type": "string"
  16409. },
  16410. "averageprice": {
  16411. "description": "均价",
  16412. "type": "number"
  16413. },
  16414. "cardnum": {
  16415. "description": "提货人证件号码",
  16416. "type": "string"
  16417. },
  16418. "cardtypeid": {
  16419. "description": "提货人证件类型",
  16420. "type": "integer"
  16421. },
  16422. "checkremark": {
  16423. "description": "审核备注",
  16424. "type": "string"
  16425. },
  16426. "currencysign": {
  16427. "description": "货币符号",
  16428. "type": "string"
  16429. },
  16430. "decimalplace": {
  16431. "description": "报价小数位",
  16432. "type": "integer"
  16433. },
  16434. "goodscode": {
  16435. "description": "商品代码(内部)",
  16436. "type": "string"
  16437. },
  16438. "goodsid": {
  16439. "description": "商品ID",
  16440. "type": "integer"
  16441. },
  16442. "goodsname": {
  16443. "description": "商品名称",
  16444. "type": "string"
  16445. },
  16446. "handlestatus": {
  16447. "description": "处理状态",
  16448. "type": "integer"
  16449. },
  16450. "marketid": {
  16451. "description": "市场ID",
  16452. "type": "integer"
  16453. },
  16454. "phonenum": {
  16455. "description": "提货人联系方式",
  16456. "type": "string"
  16457. },
  16458. "picurls": {
  16459. "description": "介绍图片[多张用逗号分隔]",
  16460. "type": "string"
  16461. },
  16462. "qty": {
  16463. "description": "提货数量",
  16464. "type": "number"
  16465. },
  16466. "recivername": {
  16467. "description": "提货人姓名",
  16468. "type": "string"
  16469. },
  16470. "reqtime": {
  16471. "description": "更新时间",
  16472. "type": "string"
  16473. },
  16474. "takemode": {
  16475. "description": "提货方式 - 2:自提 3:配送",
  16476. "type": "integer"
  16477. },
  16478. "takeorderid": {
  16479. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16480. "type": "string"
  16481. },
  16482. "takeorderstatus": {
  16483. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16484. "type": "integer"
  16485. },
  16486. "takeremark": {
  16487. "description": "提货备注",
  16488. "type": "string"
  16489. },
  16490. "tradedate": {
  16491. "description": "交易日(yyyyMMdd)",
  16492. "type": "string"
  16493. },
  16494. "trademode": {
  16495. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16496. "type": "integer"
  16497. },
  16498. "userid": {
  16499. "description": "用户ID",
  16500. "type": "integer"
  16501. },
  16502. "vendorname": {
  16503. "description": "供应商名称",
  16504. "type": "string"
  16505. }
  16506. }
  16507. },
  16508. "models.HsbyPreGoods": {
  16509. "type": "object",
  16510. "required": [
  16511. "goodscode",
  16512. "goodsid",
  16513. "goodsname",
  16514. "marketid",
  16515. "trademode"
  16516. ],
  16517. "properties": {
  16518. "agreeunit": {
  16519. "description": "合约单位",
  16520. "type": "number"
  16521. },
  16522. "currency": {
  16523. "description": "货币",
  16524. "type": "string"
  16525. },
  16526. "currencysign": {
  16527. "description": "货币符号",
  16528. "type": "string"
  16529. },
  16530. "decimalplace": {
  16531. "description": "报价小数位",
  16532. "type": "integer"
  16533. },
  16534. "desccityid": {
  16535. "description": "目的地(市)",
  16536. "type": "integer"
  16537. },
  16538. "descprovinceid": {
  16539. "description": "目的地(省)",
  16540. "type": "integer"
  16541. },
  16542. "enableqty": {
  16543. "description": "剩余数量",
  16544. "type": "integer"
  16545. },
  16546. "goodscode": {
  16547. "description": "商品代码(内部)",
  16548. "type": "string"
  16549. },
  16550. "goodsid": {
  16551. "description": "商品ID(自增ID SEQ_GOODS)",
  16552. "type": "integer"
  16553. },
  16554. "goodsname": {
  16555. "description": "商品名称",
  16556. "type": "string"
  16557. },
  16558. "goodsstatus": {
  16559. "description": "商品状态- 2:未上市 3:上市",
  16560. "type": "integer"
  16561. },
  16562. "lasttradedate": {
  16563. "description": "最后交易日期(状态:待退市)",
  16564. "type": "string"
  16565. },
  16566. "listingdate": {
  16567. "description": "交易开始日期",
  16568. "type": "string"
  16569. },
  16570. "marketid": {
  16571. "description": "所属市场ID",
  16572. "type": "integer"
  16573. },
  16574. "picurls": {
  16575. "description": "介绍图片[多张用逗号分隔]",
  16576. "type": "string"
  16577. },
  16578. "presaledqty": {
  16579. "description": "已预售量(预售结束时更新)",
  16580. "type": "integer"
  16581. },
  16582. "presaleqty": {
  16583. "description": "预售数量",
  16584. "type": "integer"
  16585. },
  16586. "quoteminunit": {
  16587. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16588. "type": "integer"
  16589. },
  16590. "refprice": {
  16591. "description": "参考价格[一口价]",
  16592. "type": "number"
  16593. },
  16594. "relatedgoodsid": {
  16595. "description": "关联交易合约ID",
  16596. "type": "integer"
  16597. },
  16598. "trademode": {
  16599. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16600. "type": "integer"
  16601. },
  16602. "videourls": {
  16603. "description": "介绍视频[多张用逗号分隔]",
  16604. "type": "string"
  16605. }
  16606. }
  16607. },
  16608. "models.HsbyPreGoodsDetail": {
  16609. "type": "object",
  16610. "required": [
  16611. "goodscode",
  16612. "goodsid",
  16613. "goodsname",
  16614. "marketid",
  16615. "trademode"
  16616. ],
  16617. "properties": {
  16618. "agreeunit": {
  16619. "description": "合约单位",
  16620. "type": "number"
  16621. },
  16622. "buymaxqty": {
  16623. "description": "购买上限 [71] - 0为不限",
  16624. "type": "integer"
  16625. },
  16626. "currency": {
  16627. "description": "货币",
  16628. "type": "string"
  16629. },
  16630. "currencysign": {
  16631. "description": "货币符号",
  16632. "type": "string"
  16633. },
  16634. "customername": {
  16635. "description": "发行单位",
  16636. "type": "string"
  16637. },
  16638. "decimalplace": {
  16639. "description": "报价小数位",
  16640. "type": "integer"
  16641. },
  16642. "desccityid": {
  16643. "description": "目的地(市)ID",
  16644. "type": "integer"
  16645. },
  16646. "descprovinceid": {
  16647. "description": "目的地(省)ID",
  16648. "type": "integer"
  16649. },
  16650. "enableqty": {
  16651. "description": "剩余数量",
  16652. "type": "integer"
  16653. },
  16654. "goodscode": {
  16655. "description": "商品代码(内部)",
  16656. "type": "string"
  16657. },
  16658. "goodsdesc": {
  16659. "description": "商品详情",
  16660. "type": "string"
  16661. },
  16662. "goodsid": {
  16663. "description": "商品ID(自增ID SEQ_GOODS)",
  16664. "type": "integer"
  16665. },
  16666. "goodsname": {
  16667. "description": "商品名称",
  16668. "type": "string"
  16669. },
  16670. "goodsstatus": {
  16671. "description": "商品状态- 2:未上市 3:上市",
  16672. "type": "integer"
  16673. },
  16674. "goodunit": {
  16675. "description": "报价单位",
  16676. "type": "string"
  16677. },
  16678. "lasttradedate": {
  16679. "description": "最后交易日期(状态:待退市)",
  16680. "type": "string"
  16681. },
  16682. "listingdate": {
  16683. "description": "交易开始日期",
  16684. "type": "string"
  16685. },
  16686. "lotsize": {
  16687. "description": "手数最小变动单位",
  16688. "type": "integer"
  16689. },
  16690. "marketid": {
  16691. "description": "所属市场ID",
  16692. "type": "integer"
  16693. },
  16694. "picurls": {
  16695. "description": "介绍图片[多张用逗号分隔]",
  16696. "type": "string"
  16697. },
  16698. "presaledqty": {
  16699. "description": "已预售量(预售结束时更新)",
  16700. "type": "integer"
  16701. },
  16702. "presaleqty": {
  16703. "description": "预售数量",
  16704. "type": "integer"
  16705. },
  16706. "quoteminunit": {
  16707. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  16708. "type": "integer"
  16709. },
  16710. "refprice": {
  16711. "description": "参考价格[一口价]",
  16712. "type": "number"
  16713. },
  16714. "relatedgoodsid": {
  16715. "description": "关联交易合约ID",
  16716. "type": "integer"
  16717. },
  16718. "stepvalue": {
  16719. "description": "价格最小变动单位",
  16720. "type": "number"
  16721. },
  16722. "trademode": {
  16723. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16724. "type": "integer"
  16725. },
  16726. "vendorattr": {
  16727. "description": "供应商附件(多张,逗号分隔)",
  16728. "type": "string"
  16729. },
  16730. "vendorname": {
  16731. "description": "供应商名称",
  16732. "type": "string"
  16733. },
  16734. "vendorphone": {
  16735. "description": "供应商客服电话",
  16736. "type": "string"
  16737. },
  16738. "videourls": {
  16739. "description": "介绍视频[多张用逗号分隔]",
  16740. "type": "string"
  16741. }
  16742. }
  16743. },
  16744. "models.HsbySellCollectionOrder": {
  16745. "type": "object",
  16746. "required": [
  16747. "goodscode",
  16748. "goodsname",
  16749. "tradeid",
  16750. "trademode"
  16751. ],
  16752. "properties": {
  16753. "agreeunit": {
  16754. "description": "合约单位",
  16755. "type": "number"
  16756. },
  16757. "buyaccountid": {
  16758. "description": "买方账号ID[报价币种]",
  16759. "type": "integer"
  16760. },
  16761. "buyorderid": {
  16762. "description": "买方委托单号",
  16763. "type": "string"
  16764. },
  16765. "createtime": {
  16766. "description": "创建时间",
  16767. "type": "string"
  16768. },
  16769. "currencysign": {
  16770. "description": "货币符号",
  16771. "type": "string"
  16772. },
  16773. "decimalplace": {
  16774. "description": "报价小数位",
  16775. "type": "integer"
  16776. },
  16777. "goodscode": {
  16778. "description": "商品代码(内部)",
  16779. "type": "string"
  16780. },
  16781. "goodsid": {
  16782. "description": "商品ID",
  16783. "type": "integer"
  16784. },
  16785. "goodsname": {
  16786. "description": "商品名称",
  16787. "type": "string"
  16788. },
  16789. "marketid": {
  16790. "description": "市场ID",
  16791. "type": "integer"
  16792. },
  16793. "offamount": {
  16794. "description": "优惠金额",
  16795. "type": "number"
  16796. },
  16797. "payamount": {
  16798. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  16799. "type": "number"
  16800. },
  16801. "payflag": {
  16802. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  16803. "type": "integer"
  16804. },
  16805. "paylimitedtime": {
  16806. "description": "支付期限",
  16807. "type": "string"
  16808. },
  16809. "paytime": {
  16810. "description": "付款时间",
  16811. "type": "string"
  16812. },
  16813. "picurls": {
  16814. "description": "商品介绍图片[多张用逗号分隔]",
  16815. "type": "string"
  16816. },
  16817. "sellaccountid": {
  16818. "description": "卖方账号ID[报价币种]",
  16819. "type": "integer"
  16820. },
  16821. "sellorderid": {
  16822. "description": "卖方委托单号",
  16823. "type": "string"
  16824. },
  16825. "tradeamount": {
  16826. "description": "成交金额",
  16827. "type": "number"
  16828. },
  16829. "tradecharge": {
  16830. "description": "成交手续费(买方)",
  16831. "type": "number"
  16832. },
  16833. "tradedate": {
  16834. "description": "交易日(yyyyMMdd)",
  16835. "type": "string"
  16836. },
  16837. "tradeid": {
  16838. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16839. "type": "string"
  16840. },
  16841. "trademode": {
  16842. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16843. "type": "integer"
  16844. },
  16845. "tradeprice": {
  16846. "description": "成交价格",
  16847. "type": "number"
  16848. },
  16849. "tradeqty": {
  16850. "description": "成交数量",
  16851. "type": "integer"
  16852. }
  16853. }
  16854. },
  16855. "models.HsbySellMyDetail": {
  16856. "type": "object",
  16857. "required": [
  16858. "accountid",
  16859. "buyorsell",
  16860. "goodscode",
  16861. "goodsid",
  16862. "goodsname",
  16863. "marketid",
  16864. "orderid",
  16865. "time",
  16866. "trademode"
  16867. ],
  16868. "properties": {
  16869. "accountid": {
  16870. "description": "账户ID[报价币种]",
  16871. "type": "integer"
  16872. },
  16873. "agreeunit": {
  16874. "description": "合约单位",
  16875. "type": "number"
  16876. },
  16877. "buyorsell": {
  16878. "description": "买卖 - 0:买 1:卖",
  16879. "type": "integer"
  16880. },
  16881. "currencysign": {
  16882. "description": "货币符号",
  16883. "type": "string"
  16884. },
  16885. "decimalplace": {
  16886. "description": "报价小数位",
  16887. "type": "integer"
  16888. },
  16889. "goodscode": {
  16890. "description": "商品代码(内部)",
  16891. "type": "string"
  16892. },
  16893. "goodsid": {
  16894. "description": "商品ID",
  16895. "type": "integer"
  16896. },
  16897. "goodsname": {
  16898. "description": "商品名称",
  16899. "type": "string"
  16900. },
  16901. "marketid": {
  16902. "description": "市场ID",
  16903. "type": "integer"
  16904. },
  16905. "orderid": {
  16906. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  16907. "type": "string"
  16908. },
  16909. "ordertype": {
  16910. "description": "单据类型:0 - 发布中, 1 - 已完成",
  16911. "type": "integer"
  16912. },
  16913. "picurls": {
  16914. "description": "介绍图片[多张用逗号分隔]",
  16915. "type": "string"
  16916. },
  16917. "price": {
  16918. "description": "价格",
  16919. "type": "number"
  16920. },
  16921. "qty": {
  16922. "description": "数量",
  16923. "type": "integer"
  16924. },
  16925. "time": {
  16926. "description": "时间",
  16927. "type": "string"
  16928. },
  16929. "trademode": {
  16930. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  16931. "type": "integer"
  16932. },
  16933. "vendorname": {
  16934. "description": "供应商名称",
  16935. "type": "string"
  16936. }
  16937. }
  16938. },
  16939. "models.HsbyTopGoods": {
  16940. "type": "object",
  16941. "required": [
  16942. "goodscode",
  16943. "goodsid",
  16944. "goodsname",
  16945. "marketid",
  16946. "trademode"
  16947. ],
  16948. "properties": {
  16949. "agreeunit": {
  16950. "description": "合约单位",
  16951. "type": "number"
  16952. },
  16953. "currency": {
  16954. "description": "货币",
  16955. "type": "string"
  16956. },
  16957. "currencysign": {
  16958. "description": "货币符号",
  16959. "type": "string"
  16960. },
  16961. "decimalplace": {
  16962. "description": "报价小数位",
  16963. "type": "integer"
  16964. },
  16965. "desccityid": {
  16966. "description": "目的地(市)",
  16967. "type": "integer"
  16968. },
  16969. "descprovinceid": {
  16970. "description": "目的地(省)",
  16971. "type": "integer"
  16972. },
  16973. "goodscode": {
  16974. "description": "商品代码(内部)",
  16975. "type": "string"
  16976. },
  16977. "goodsid": {
  16978. "description": "商品ID(自增ID SEQ_GOODS)",
  16979. "type": "integer"
  16980. },
  16981. "goodsname": {
  16982. "description": "商品名称",
  16983. "type": "string"
  16984. },
  16985. "hotindex": {
  16986. "description": "景点热度",
  16987. "type": "integer"
  16988. },
  16989. "last": {
  16990. "description": "现价",
  16991. "type": "number"
  16992. },
  16993. "marketid": {
  16994. "description": "所属市场ID",
  16995. "type": "integer"
  16996. },
  16997. "picurls": {
  16998. "description": "介绍图片[多张用逗号分隔]",
  16999. "type": "string"
  17000. },
  17001. "quoteminunit": {
  17002. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  17003. "type": "integer"
  17004. },
  17005. "trademode": {
  17006. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17007. "type": "integer"
  17008. },
  17009. "videourls": {
  17010. "description": "介绍视频[多张用逗号分隔]",
  17011. "type": "string"
  17012. }
  17013. }
  17014. },
  17015. "models.HybsMyBuyOrderDetail": {
  17016. "type": "object",
  17017. "required": [
  17018. "accountid",
  17019. "buyorsell",
  17020. "goodscode",
  17021. "goodsid",
  17022. "goodsname",
  17023. "marketid",
  17024. "orderid",
  17025. "orderqty",
  17026. "ordertime",
  17027. "trademode"
  17028. ],
  17029. "properties": {
  17030. "accountid": {
  17031. "description": "账户ID[报价币种]",
  17032. "type": "integer"
  17033. },
  17034. "agreeunit": {
  17035. "description": "合约单位",
  17036. "type": "number"
  17037. },
  17038. "buyorsell": {
  17039. "description": "买卖 - 0:买 1:卖",
  17040. "type": "integer"
  17041. },
  17042. "cancelqty": {
  17043. "description": "撤单数量",
  17044. "type": "integer"
  17045. },
  17046. "currencysign": {
  17047. "description": "货币符号",
  17048. "type": "string"
  17049. },
  17050. "decimalplace": {
  17051. "description": "报价小数位",
  17052. "type": "integer"
  17053. },
  17054. "goodscode": {
  17055. "description": "商品代码(内部)",
  17056. "type": "string"
  17057. },
  17058. "goodsid": {
  17059. "description": "商品ID",
  17060. "type": "integer"
  17061. },
  17062. "goodsname": {
  17063. "description": "商品名称",
  17064. "type": "string"
  17065. },
  17066. "listingselecttype": {
  17067. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17068. "type": "integer"
  17069. },
  17070. "marketid": {
  17071. "description": "市场ID",
  17072. "type": "integer"
  17073. },
  17074. "mybuystatus": {
  17075. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  17076. "type": "integer"
  17077. },
  17078. "orderamount": {
  17079. "description": "委托金额",
  17080. "type": "number"
  17081. },
  17082. "orderid": {
  17083. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17084. "type": "string"
  17085. },
  17086. "orderprice": {
  17087. "description": "委托价格",
  17088. "type": "number"
  17089. },
  17090. "orderqty": {
  17091. "description": "委托数量",
  17092. "type": "integer"
  17093. },
  17094. "orderstatus": {
  17095. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17096. "type": "integer"
  17097. },
  17098. "ordertime": {
  17099. "description": "委托时间",
  17100. "type": "string"
  17101. },
  17102. "picurls1": {
  17103. "description": "预售商品介绍图片[多张用逗号分隔]",
  17104. "type": "string"
  17105. },
  17106. "picurls2": {
  17107. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  17108. "type": "string"
  17109. },
  17110. "trademode": {
  17111. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17112. "type": "integer"
  17113. },
  17114. "tradeqty": {
  17115. "description": "成交数量",
  17116. "type": "integer"
  17117. },
  17118. "vendorname1": {
  17119. "description": "预售商品供应商名称",
  17120. "type": "string"
  17121. },
  17122. "vendorname2": {
  17123. "description": "挂牌商品供应商名称",
  17124. "type": "string"
  17125. }
  17126. }
  17127. },
  17128. "models.Loginaccount": {
  17129. "type": "object",
  17130. "required": [
  17131. "loginid"
  17132. ],
  17133. "properties": {
  17134. "canoutin": {
  17135. "description": "是否可出入金 - 0:不可 1:可",
  17136. "type": "integer"
  17137. },
  17138. "clientroleid": {
  17139. "description": "终端角色ID",
  17140. "type": "integer"
  17141. },
  17142. "haslogined": {
  17143. "description": "是否已登录 - 0:未登录 1:已登录",
  17144. "type": "integer"
  17145. },
  17146. "hasupdatedpwd": {
  17147. "description": "是否已更改密码 - 0:未修改 1:已修改",
  17148. "type": "integer"
  17149. },
  17150. "lastloginip": {
  17151. "description": "最新登录地址",
  17152. "type": "string"
  17153. },
  17154. "lastloginmode": {
  17155. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17156. "type": "integer"
  17157. },
  17158. "lastloginremark": {
  17159. "description": "最新登录描述",
  17160. "type": "string"
  17161. },
  17162. "lastlogintime": {
  17163. "description": "最新登录时间",
  17164. "type": "string"
  17165. },
  17166. "logincode": {
  17167. "description": "登录代码",
  17168. "type": "string"
  17169. },
  17170. "loginfailnum": {
  17171. "description": "连续登录失败次数(登录成功时清零)",
  17172. "type": "integer"
  17173. },
  17174. "loginid": {
  17175. "description": "登陆账号",
  17176. "type": "integer"
  17177. },
  17178. "loginport": {
  17179. "description": "最新登录端口",
  17180. "type": "integer"
  17181. },
  17182. "loginstatus": {
  17183. "description": "登录账号状态 1:正常 2:冻结 3:无效",
  17184. "type": "integer"
  17185. },
  17186. "loginusertype": {
  17187. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  17188. "type": "integer"
  17189. },
  17190. "modifierid": {
  17191. "description": "修改人",
  17192. "type": "integer"
  17193. },
  17194. "modifytime": {
  17195. "description": "修改时间",
  17196. "type": "string"
  17197. },
  17198. "pwdwrongcount": {
  17199. "description": "密码错误次数",
  17200. "type": "integer"
  17201. },
  17202. "taaccountrighttype": {
  17203. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  17204. "type": "integer"
  17205. },
  17206. "unfreezetime": {
  17207. "description": "账户解冻时间",
  17208. "type": "string"
  17209. },
  17210. "userid": {
  17211. "description": "用户ID",
  17212. "type": "integer"
  17213. }
  17214. }
  17215. },
  17216. "models.MainAccountInfo": {
  17217. "type": "object",
  17218. "properties": {
  17219. "accountid": {
  17220. "description": "账号id",
  17221. "type": "string"
  17222. },
  17223. "appid": {
  17224. "description": "AppID",
  17225. "type": "string"
  17226. },
  17227. "authcode": {
  17228. "description": "授权码",
  17229. "type": "string"
  17230. },
  17231. "brokerid": {
  17232. "description": "经纪商id",
  17233. "type": "string"
  17234. },
  17235. "fcid": {
  17236. "description": "期货公司id",
  17237. "type": "integer"
  17238. },
  17239. "fcname": {
  17240. "description": "期货公司代码",
  17241. "type": "string"
  17242. },
  17243. "hedgeaccountcode": {
  17244. "description": "外部账号代码",
  17245. "type": "string"
  17246. },
  17247. "hedgeaccountpwd": {
  17248. "description": "密码",
  17249. "type": "string"
  17250. },
  17251. "ismain": {
  17252. "description": "是否主账号",
  17253. "type": "integer"
  17254. },
  17255. "relateduserid": {
  17256. "description": "关联用户id",
  17257. "type": "integer"
  17258. }
  17259. }
  17260. },
  17261. "models.Market": {
  17262. "type": "object",
  17263. "required": [
  17264. "marketid",
  17265. "marketstatus",
  17266. "openmethod",
  17267. "reckonpricealgorithm",
  17268. "trademode",
  17269. "tradeproperty"
  17270. ],
  17271. "properties": {
  17272. "auctionwrtype": {
  17273. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  17274. "type": "integer"
  17275. },
  17276. "canacceptquote": {
  17277. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  17278. "type": "integer"
  17279. },
  17280. "cangoodsexercise": {
  17281. "description": "[期权]是否可现货行权- 0:否 1:是",
  17282. "type": "integer"
  17283. },
  17284. "cangoodsexercisetype": {
  17285. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  17286. "type": "integer"
  17287. },
  17288. "canmanualquotestrike": {
  17289. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  17290. "type": "integer"
  17291. },
  17292. "canmutistage": {
  17293. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  17294. "type": "integer"
  17295. },
  17296. "canpreexercise": {
  17297. "description": "[期权]是否可预申报- 0:否 1:是",
  17298. "type": "integer"
  17299. },
  17300. "clearinterval": {
  17301. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  17302. "type": "integer"
  17303. },
  17304. "contracttmp": {
  17305. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  17306. "type": "string"
  17307. },
  17308. "exchareaid": {
  17309. "description": "所属交易所,可以没有",
  17310. "type": "integer"
  17311. },
  17312. "goodstype": {
  17313. "description": "商品类型 - 1:交易商品 2:仓单商品",
  17314. "type": "integer"
  17315. },
  17316. "hasrebate": {
  17317. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  17318. "type": "integer"
  17319. },
  17320. "hastradecredit": {
  17321. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  17322. "type": "integer"
  17323. },
  17324. "haswr": {
  17325. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  17326. "type": "integer"
  17327. },
  17328. "isdeductmargin": {
  17329. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  17330. "type": "integer"
  17331. },
  17332. "isrecordsource": {
  17333. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  17334. "type": "integer"
  17335. },
  17336. "isreleasemargin": {
  17337. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  17338. "type": "integer"
  17339. },
  17340. "marginformula": {
  17341. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17342. "type": "integer"
  17343. },
  17344. "marginformula2": {
  17345. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  17346. "type": "integer"
  17347. },
  17348. "marketid": {
  17349. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  17350. "type": "integer"
  17351. },
  17352. "marketname": {
  17353. "description": "市场名称",
  17354. "type": "string"
  17355. },
  17356. "marketserviceid": {
  17357. "description": "市场服务ID",
  17358. "type": "integer"
  17359. },
  17360. "marketstatus": {
  17361. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  17362. "type": "integer"
  17363. },
  17364. "markettype": {
  17365. "description": "市场类型- 1:非交易服务 2:交易服务",
  17366. "type": "integer"
  17367. },
  17368. "matchermode": {
  17369. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  17370. "type": "integer"
  17371. },
  17372. "openmethod": {
  17373. "description": "开盘模式 - 0 自动 1手动",
  17374. "type": "integer"
  17375. },
  17376. "otcuserid": {
  17377. "description": "场外期权做市商[场外期权]",
  17378. "type": "integer"
  17379. },
  17380. "outersynctime": {
  17381. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  17382. "type": "string"
  17383. },
  17384. "pendingflag": {
  17385. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  17386. "type": "integer"
  17387. },
  17388. "pendingtime": {
  17389. "description": "待开市时间[通道交易-对冲](HH:mm)",
  17390. "type": "string"
  17391. },
  17392. "performancetempid": {
  17393. "description": "履约计划模板ID - 作废",
  17394. "type": "integer"
  17395. },
  17396. "premiumquotemode": {
  17397. "description": "权利金报价方式 - 1:自动 2:手动",
  17398. "type": "integer"
  17399. },
  17400. "rebateratio": {
  17401. "description": "返利比率[竞价式]",
  17402. "type": "number"
  17403. },
  17404. "reckonorder": {
  17405. "description": "结算顺序",
  17406. "type": "integer"
  17407. },
  17408. "reckonpricealgorithm": {
  17409. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  17410. "type": "integer"
  17411. },
  17412. "reckonpriceparam": {
  17413. "description": "结算价参数",
  17414. "type": "integer"
  17415. },
  17416. "reckontime": {
  17417. "description": "结算时间[通道交易-对冲](HH:mm)",
  17418. "type": "string"
  17419. },
  17420. "roleprioritytype": {
  17421. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  17422. "type": "integer"
  17423. },
  17424. "selllistingauditflag": {
  17425. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  17426. "type": "integer"
  17427. },
  17428. "trademarkettype": {
  17429. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  17430. "type": "integer"
  17431. },
  17432. "trademode": {
  17433. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  17434. "type": "integer"
  17435. },
  17436. "tradeproperty": {
  17437. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  17438. "type": "integer"
  17439. },
  17440. "tradetype": {
  17441. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  17442. "type": "integer"
  17443. }
  17444. }
  17445. },
  17446. "models.Marketrun": {
  17447. "type": "object",
  17448. "required": [
  17449. "marketid",
  17450. "nexttradedate",
  17451. "reckonflag",
  17452. "runstatus",
  17453. "tradedate",
  17454. "tradedate2"
  17455. ],
  17456. "properties": {
  17457. "afternexttradedate": {
  17458. "description": "下下交易日",
  17459. "type": "string"
  17460. },
  17461. "clearquoteflag": {
  17462. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  17463. "type": "integer"
  17464. },
  17465. "lastreckondate": {
  17466. "description": "最新交易日(结算成功)",
  17467. "type": "string"
  17468. },
  17469. "machinedate": {
  17470. "description": "机器时间",
  17471. "type": "string"
  17472. },
  17473. "manualflag": {
  17474. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  17475. "type": "integer"
  17476. },
  17477. "marketid": {
  17478. "description": "市场ID",
  17479. "type": "integer"
  17480. },
  17481. "nexttradedate": {
  17482. "description": "下一交易日",
  17483. "type": "string"
  17484. },
  17485. "pretradedate": {
  17486. "description": "上一交易日",
  17487. "type": "string"
  17488. },
  17489. "reckonflag": {
  17490. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  17491. "type": "integer"
  17492. },
  17493. "runstatus": {
  17494. "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.今日免清算",
  17495. "type": "integer"
  17496. },
  17497. "sectionid": {
  17498. "description": "时间段号[多时段时用]",
  17499. "type": "integer"
  17500. },
  17501. "tradedate": {
  17502. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  17503. "type": "string"
  17504. },
  17505. "tradedate2": {
  17506. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  17507. "type": "string"
  17508. },
  17509. "updatetime": {
  17510. "description": "更新时间",
  17511. "type": "string"
  17512. }
  17513. }
  17514. },
  17515. "models.Messageboard": {
  17516. "type": "object",
  17517. "required": [
  17518. "messageboardid"
  17519. ],
  17520. "properties": {
  17521. "contactnum": {
  17522. "description": "联系电话",
  17523. "type": "string"
  17524. },
  17525. "createtime": {
  17526. "description": "创建时间",
  17527. "type": "string"
  17528. },
  17529. "message": {
  17530. "description": "留言信息",
  17531. "type": "string"
  17532. },
  17533. "messageboardid": {
  17534. "description": "留言簿ID(SEQ_MessageBoard)",
  17535. "type": "integer"
  17536. },
  17537. "userid": {
  17538. "description": "用户ID",
  17539. "type": "integer"
  17540. }
  17541. }
  17542. },
  17543. "models.MyCoupon": {
  17544. "type": "object",
  17545. "required": [
  17546. "accountid",
  17547. "coupontypeid"
  17548. ],
  17549. "properties": {
  17550. "accountid": {
  17551. "description": "资金账户ID",
  17552. "type": "integer"
  17553. },
  17554. "areauserid": {
  17555. "description": "所属机构",
  17556. "type": "integer"
  17557. },
  17558. "conditionvalue": {
  17559. "description": "条件阈值(可为0)",
  17560. "type": "number"
  17561. },
  17562. "couponcategroy": {
  17563. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  17564. "type": "integer"
  17565. },
  17566. "couponname": {
  17567. "description": "优惠券名称",
  17568. "type": "string"
  17569. },
  17570. "coupontypeid": {
  17571. "description": "优惠券类型ID",
  17572. "type": "string"
  17573. },
  17574. "couponvalue": {
  17575. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  17576. "type": "number"
  17577. },
  17578. "curfreezeqty": {
  17579. "description": "期末冻结数量",
  17580. "type": "integer"
  17581. },
  17582. "curqty": {
  17583. "description": "期末数量",
  17584. "type": "integer"
  17585. },
  17586. "isgeneral": {
  17587. "description": "是否通用券 - 0:否 1:是",
  17588. "type": "integer"
  17589. },
  17590. "isunusable": {
  17591. "description": "是否不可用",
  17592. "type": "boolean"
  17593. },
  17594. "limitedflag": {
  17595. "description": "是否指定商品 - 0:不限 1:限制",
  17596. "type": "integer"
  17597. },
  17598. "limitedgoodsids": {
  17599. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  17600. "type": "string"
  17601. },
  17602. "orifreezeqty": {
  17603. "description": "期初冻结数量",
  17604. "type": "integer"
  17605. },
  17606. "oriqty": {
  17607. "description": "期初数量",
  17608. "type": "integer"
  17609. },
  17610. "reasontype": {
  17611. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  17612. "type": "integer"
  17613. },
  17614. "todaydecrease": {
  17615. "description": "今日减少",
  17616. "type": "integer"
  17617. },
  17618. "todayincrease": {
  17619. "description": "今日增加",
  17620. "type": "integer"
  17621. },
  17622. "userid": {
  17623. "description": "用户ID",
  17624. "type": "integer"
  17625. },
  17626. "userscope": {
  17627. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  17628. "type": "string"
  17629. }
  17630. }
  17631. },
  17632. "models.MyCouponHold": {
  17633. "type": "object",
  17634. "required": [
  17635. "couponholdid"
  17636. ],
  17637. "properties": {
  17638. "accountid": {
  17639. "description": "资金账户ID",
  17640. "type": "integer"
  17641. },
  17642. "conditionvalue": {
  17643. "description": "条件阈值(可为0)",
  17644. "type": "number"
  17645. },
  17646. "couponcategroy": {
  17647. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  17648. "type": "integer"
  17649. },
  17650. "couponholdid": {
  17651. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  17652. "type": "string"
  17653. },
  17654. "couponname": {
  17655. "description": "优惠券名称",
  17656. "type": "string"
  17657. },
  17658. "coupontypeid": {
  17659. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  17660. "type": "string"
  17661. },
  17662. "couponvalue": {
  17663. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  17664. "type": "number"
  17665. },
  17666. "createtime": {
  17667. "description": "创建时间",
  17668. "type": "string"
  17669. },
  17670. "enddate": {
  17671. "description": "结束日期",
  17672. "type": "string"
  17673. },
  17674. "giveapplyid": {
  17675. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  17676. "type": "integer"
  17677. },
  17678. "holdstatus": {
  17679. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  17680. "type": "integer"
  17681. },
  17682. "isgeneral": {
  17683. "description": "是否通用券 - 0:否 1:是",
  17684. "type": "integer"
  17685. },
  17686. "limitedflag": {
  17687. "description": "是否指定商品 - 0:不限 1:限制",
  17688. "type": "integer"
  17689. },
  17690. "limitedgoodsids": {
  17691. "description": "指定商品IDs[逗号分隔]",
  17692. "type": "string"
  17693. },
  17694. "qty": {
  17695. "description": "数量(按1平铺)",
  17696. "type": "integer"
  17697. },
  17698. "startdate": {
  17699. "description": "开始日期",
  17700. "type": "string"
  17701. },
  17702. "userid": {
  17703. "description": "用户ID",
  17704. "type": "integer"
  17705. },
  17706. "userscope": {
  17707. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  17708. "type": "string"
  17709. }
  17710. }
  17711. },
  17712. "models.MyUsedCoupon": {
  17713. "type": "object",
  17714. "required": [
  17715. "coupontypeid",
  17716. "orderid"
  17717. ],
  17718. "properties": {
  17719. "accountid": {
  17720. "description": "资金账户ID(买方)",
  17721. "type": "integer"
  17722. },
  17723. "conditionvalue": {
  17724. "description": "条件阈值(可为0)",
  17725. "type": "number"
  17726. },
  17727. "couponcategroy": {
  17728. "description": "种类 - 1:现金券 2:折扣券",
  17729. "type": "integer"
  17730. },
  17731. "couponname": {
  17732. "description": "优惠券名称",
  17733. "type": "string"
  17734. },
  17735. "coupontypeid": {
  17736. "description": "优惠券类型ID(买方)",
  17737. "type": "string"
  17738. },
  17739. "couponvalue": {
  17740. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  17741. "type": "number"
  17742. },
  17743. "createtime": {
  17744. "description": "创建时间",
  17745. "type": "string"
  17746. },
  17747. "goodsid": {
  17748. "description": "商品ID",
  17749. "type": "integer"
  17750. },
  17751. "handlestatus": {
  17752. "description": "处理状态",
  17753. "type": "integer"
  17754. },
  17755. "marketid": {
  17756. "description": "市场ID",
  17757. "type": "integer"
  17758. },
  17759. "offamount": {
  17760. "description": "优惠金额",
  17761. "type": "number"
  17762. },
  17763. "orderid": {
  17764. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17765. "type": "string"
  17766. },
  17767. "sellaccountid": {
  17768. "description": "资金账户ID(卖方)",
  17769. "type": "integer"
  17770. },
  17771. "tradeamount": {
  17772. "description": "成交金额",
  17773. "type": "number"
  17774. },
  17775. "tradeid": {
  17776. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17777. "type": "string"
  17778. },
  17779. "usedqty": {
  17780. "description": "使用数量",
  17781. "type": "integer"
  17782. }
  17783. }
  17784. },
  17785. "models.OperationPrimaryMenu": {
  17786. "type": "object",
  17787. "properties": {
  17788. "Children": {
  17789. "description": "二级功能菜单",
  17790. "type": "array",
  17791. "items": {
  17792. "$ref": "#/definitions/models.OperationSecondaryMenu"
  17793. }
  17794. },
  17795. "Key": {
  17796. "description": "菜单KEY",
  17797. "type": "string"
  17798. },
  17799. "Label": {
  17800. "description": "菜单标题",
  17801. "type": "string"
  17802. }
  17803. }
  17804. },
  17805. "models.OperationSecondaryMenu": {
  17806. "type": "object",
  17807. "properties": {
  17808. "Key": {
  17809. "description": "菜单KEY",
  17810. "type": "string"
  17811. },
  17812. "Label": {
  17813. "description": "菜单标题",
  17814. "type": "string"
  17815. },
  17816. "TabList": {
  17817. "description": "三级功能菜单",
  17818. "type": "array",
  17819. "items": {
  17820. "$ref": "#/definitions/models.OperationTabMenu"
  17821. }
  17822. }
  17823. }
  17824. },
  17825. "models.OperationTabMenu": {
  17826. "type": "object",
  17827. "properties": {
  17828. "Key": {
  17829. "description": "菜单KEY",
  17830. "type": "string"
  17831. },
  17832. "Label": {
  17833. "description": "菜单标题",
  17834. "type": "string"
  17835. }
  17836. }
  17837. },
  17838. "models.PendingAuditBizModel": {
  17839. "type": "object",
  17840. "properties": {
  17841. "accountid": {
  17842. "description": "现货账户",
  17843. "type": "string"
  17844. },
  17845. "areaname": {
  17846. "description": "所属部门",
  17847. "type": "string"
  17848. },
  17849. "bizid": {
  17850. "description": "业务ID",
  17851. "type": "string"
  17852. },
  17853. "bizname": {
  17854. "description": "业务名称",
  17855. "type": "string"
  17856. },
  17857. "status": {
  17858. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  17859. "type": "integer"
  17860. },
  17861. "type": {
  17862. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  17863. "type": "integer"
  17864. }
  17865. }
  17866. },
  17867. "models.QueryErrorInfosRsp": {
  17868. "type": "object",
  17869. "required": [
  17870. "errorid"
  17871. ],
  17872. "properties": {
  17873. "description": {
  17874. "description": "异常描述",
  17875. "type": "string"
  17876. },
  17877. "errorcode": {
  17878. "description": "异常代码",
  17879. "type": "string"
  17880. },
  17881. "errorid": {
  17882. "description": "异常ID",
  17883. "type": "integer"
  17884. },
  17885. "modulecode": {
  17886. "description": "所属模块",
  17887. "type": "string"
  17888. },
  17889. "operatecode": {
  17890. "description": "所属操作",
  17891. "type": "string"
  17892. },
  17893. "rownumber": {
  17894. "description": "行号",
  17895. "type": "string"
  17896. }
  17897. }
  17898. },
  17899. "models.QueryHedgeOrderDetailRsp": {
  17900. "type": "object",
  17901. "properties": {
  17902. "accountid": {
  17903. "description": "账户ID",
  17904. "type": "integer"
  17905. },
  17906. "buyorsell": {
  17907. "description": "买卖 - 0:买 1:卖",
  17908. "type": "integer"
  17909. },
  17910. "cancellogincode": {
  17911. "description": "撤单人",
  17912. "type": "string"
  17913. },
  17914. "channelbuildtype": {
  17915. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  17916. "type": "integer"
  17917. },
  17918. "channelinnerorderstatus": {
  17919. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  17920. "type": "integer"
  17921. },
  17922. "channeloperatetype": {
  17923. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  17924. "type": "integer"
  17925. },
  17926. "closetype": {
  17927. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  17928. "type": "integer"
  17929. },
  17930. "curexchangerate": {
  17931. "description": "当前汇率",
  17932. "type": "number"
  17933. },
  17934. "exchangefullname": {
  17935. "description": "外部交易所全称",
  17936. "type": "string"
  17937. },
  17938. "goodscode": {
  17939. "description": "商品代码(内部)",
  17940. "type": "string"
  17941. },
  17942. "goodsid": {
  17943. "description": "商品ID",
  17944. "type": "integer"
  17945. },
  17946. "goodsname": {
  17947. "description": "商品名称",
  17948. "type": "string"
  17949. },
  17950. "marketid": {
  17951. "description": "市场ID",
  17952. "type": "integer"
  17953. },
  17954. "openfreezemargin": {
  17955. "description": "冻结保证金(冻结交易金额)",
  17956. "type": "number"
  17957. },
  17958. "orderid": {
  17959. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17960. "type": "string"
  17961. },
  17962. "orderlogincode": {
  17963. "description": "委托人",
  17964. "type": "string"
  17965. },
  17966. "orderprice": {
  17967. "description": "委托价格(账户)",
  17968. "type": "number"
  17969. },
  17970. "orderqty": {
  17971. "description": "委托数量",
  17972. "type": "integer"
  17973. },
  17974. "ordertime": {
  17975. "description": "委托时间",
  17976. "type": "string"
  17977. },
  17978. "pricemode": {
  17979. "description": "取价方式 - 1:市价 2: 限价",
  17980. "type": "integer"
  17981. },
  17982. "tradedate": {
  17983. "description": "交易日(yyyyMMdd)",
  17984. "type": "string"
  17985. },
  17986. "tradeqty": {
  17987. "description": "成交数量",
  17988. "type": "integer"
  17989. }
  17990. }
  17991. },
  17992. "models.QueryHedgeTradeDetailRsp": {
  17993. "type": "object",
  17994. "properties": {
  17995. "accountid": {
  17996. "description": "账号ID",
  17997. "type": "integer"
  17998. },
  17999. "buyorsell": {
  18000. "description": "方向 - 0:买 1:卖",
  18001. "type": "integer"
  18002. },
  18003. "channelbuildtype": {
  18004. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  18005. "type": "integer"
  18006. },
  18007. "closecharge": {
  18008. "description": "平仓手续费(账户)",
  18009. "type": "number"
  18010. },
  18011. "closecharge2": {
  18012. "description": "平仓手续费(商品)",
  18013. "type": "number"
  18014. },
  18015. "closepl": {
  18016. "description": "平仓盈亏(账户)",
  18017. "type": "number"
  18018. },
  18019. "closepl2": {
  18020. "description": "平仓盈亏(商品)",
  18021. "type": "number"
  18022. },
  18023. "closepl3": {
  18024. "description": "平仓盈亏(账户)(逐笔)",
  18025. "type": "number"
  18026. },
  18027. "closepl4": {
  18028. "description": "平仓盈亏(商品)(逐笔)",
  18029. "type": "number"
  18030. },
  18031. "closetype": {
  18032. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  18033. "type": "integer"
  18034. },
  18035. "curexchangerate": {
  18036. "description": "当前汇率",
  18037. "type": "number"
  18038. },
  18039. "exchangefullname": {
  18040. "description": "外部交易所全称",
  18041. "type": "string"
  18042. },
  18043. "goodscode": {
  18044. "description": "商品代码(内部)",
  18045. "type": "string"
  18046. },
  18047. "goodsid": {
  18048. "description": "商品ID",
  18049. "type": "integer"
  18050. },
  18051. "goodsname": {
  18052. "description": "商品名称",
  18053. "type": "string"
  18054. },
  18055. "marketid": {
  18056. "description": "市场ID",
  18057. "type": "integer"
  18058. },
  18059. "opencharge": {
  18060. "description": "建仓手续费(账户)",
  18061. "type": "number"
  18062. },
  18063. "opencharge2": {
  18064. "description": "建仓手续费(商品)",
  18065. "type": "number"
  18066. },
  18067. "orderid": {
  18068. "description": "委托单号",
  18069. "type": "string"
  18070. },
  18071. "orderlogincode": {
  18072. "description": "委托人",
  18073. "type": "string"
  18074. },
  18075. "tradeamount": {
  18076. "description": "成交金额(账户)",
  18077. "type": "number"
  18078. },
  18079. "tradedate": {
  18080. "description": "交易日(yyyyMMdd)",
  18081. "type": "string"
  18082. },
  18083. "tradeid": {
  18084. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18085. "type": "string"
  18086. },
  18087. "tradeprice": {
  18088. "description": "成交价格",
  18089. "type": "number"
  18090. },
  18091. "tradeqty": {
  18092. "description": "成交数量",
  18093. "type": "integer"
  18094. },
  18095. "tradetime": {
  18096. "description": "成交时间",
  18097. "type": "string"
  18098. },
  18099. "tradetype": {
  18100. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  18101. "type": "integer"
  18102. }
  18103. }
  18104. },
  18105. "models.QuotePrimaryMenu": {
  18106. "type": "object",
  18107. "properties": {
  18108. "Index": {
  18109. "description": "序号",
  18110. "type": "integer"
  18111. },
  18112. "Key": {
  18113. "description": "键名",
  18114. "type": "string"
  18115. },
  18116. "Name": {
  18117. "description": "菜单名称",
  18118. "type": "string"
  18119. },
  18120. "SubMenus": {
  18121. "description": "子菜单",
  18122. "type": "array",
  18123. "items": {
  18124. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  18125. }
  18126. },
  18127. "SubTitleType": {
  18128. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  18129. "type": "integer"
  18130. },
  18131. "TradeModes": {
  18132. "description": "包含市场交易类型",
  18133. "type": "string"
  18134. }
  18135. }
  18136. },
  18137. "models.QuoteSecondaryMenu": {
  18138. "type": "object",
  18139. "properties": {
  18140. "ExExchangeCode": {
  18141. "description": "外部交易所代码",
  18142. "type": "string"
  18143. },
  18144. "ExExchangeID": {
  18145. "description": "外部交易所ID",
  18146. "type": "integer"
  18147. },
  18148. "GoodsGroupIDs": {
  18149. "description": "商品组ID列表",
  18150. "type": "array",
  18151. "items": {
  18152. "type": "integer"
  18153. }
  18154. },
  18155. "Index": {
  18156. "description": "序号",
  18157. "type": "integer"
  18158. },
  18159. "MarketID": {
  18160. "description": "市场ID",
  18161. "type": "integer"
  18162. },
  18163. "MenuTitle": {
  18164. "description": "菜单标题(市场名称或外部交易所名称)",
  18165. "type": "string"
  18166. },
  18167. "TradeMode": {
  18168. "description": "交易模式",
  18169. "type": "integer"
  18170. }
  18171. }
  18172. },
  18173. "models.RelatedGoodsEx": {
  18174. "type": "object",
  18175. "properties": {
  18176. "goodscode": {
  18177. "description": "商品代码",
  18178. "type": "string"
  18179. },
  18180. "goodsid": {
  18181. "description": "商品id",
  18182. "type": "integer"
  18183. },
  18184. "goodsname": {
  18185. "description": "商品名称",
  18186. "type": "string"
  18187. }
  18188. }
  18189. },
  18190. "models.SearchGoods": {
  18191. "type": "object",
  18192. "required": [
  18193. "goodscode",
  18194. "goodsid",
  18195. "goodsname",
  18196. "marketid",
  18197. "trademode"
  18198. ],
  18199. "properties": {
  18200. "goodscode": {
  18201. "description": "商品代码(内部)",
  18202. "type": "string"
  18203. },
  18204. "goodsid": {
  18205. "description": "商品ID(自增ID SEQ_GOODS)",
  18206. "type": "integer"
  18207. },
  18208. "goodsname": {
  18209. "description": "商品名称",
  18210. "type": "string"
  18211. },
  18212. "marketid": {
  18213. "description": "所属市场ID",
  18214. "type": "integer"
  18215. },
  18216. "marketname": {
  18217. "description": "市场名称",
  18218. "type": "string"
  18219. },
  18220. "trademode": {
  18221. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  18222. "type": "integer"
  18223. }
  18224. }
  18225. },
  18226. "models.Systemparam": {
  18227. "type": "object",
  18228. "required": [
  18229. "paramcode"
  18230. ],
  18231. "properties": {
  18232. "loginid": {
  18233. "description": "更新用户账号,登录账号",
  18234. "type": "string"
  18235. },
  18236. "modifyflag": {
  18237. "description": "修改标志0 不允许修改 1 允许修改",
  18238. "type": "integer"
  18239. },
  18240. "paramcode": {
  18241. "description": "参数代码",
  18242. "type": "string"
  18243. },
  18244. "paramname": {
  18245. "description": "参数名",
  18246. "type": "string"
  18247. },
  18248. "paramtype": {
  18249. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  18250. "type": "integer"
  18251. },
  18252. "paramvalue": {
  18253. "description": "参数值",
  18254. "type": "string"
  18255. },
  18256. "paramvalue2": {
  18257. "description": "参数值(CLOB)",
  18258. "type": "string"
  18259. },
  18260. "regexpress": {
  18261. "description": "正则表达式",
  18262. "type": "string"
  18263. },
  18264. "remark": {
  18265. "description": "备注",
  18266. "type": "string"
  18267. },
  18268. "serverip": {
  18269. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  18270. "type": "string"
  18271. },
  18272. "showflag": {
  18273. "description": "是否显示0 不显示 1 显示",
  18274. "type": "integer"
  18275. },
  18276. "updatetime": {
  18277. "description": "更新时间",
  18278. "type": "string"
  18279. },
  18280. "userid": {
  18281. "description": "更新用户ID",
  18282. "type": "integer"
  18283. }
  18284. }
  18285. },
  18286. "models.Szdz3convertconfig": {
  18287. "type": "object",
  18288. "required": [
  18289. "converttype",
  18290. "innergoodsid",
  18291. "outergoodscode"
  18292. ],
  18293. "properties": {
  18294. "canin": {
  18295. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  18296. "type": "integer"
  18297. },
  18298. "canout": {
  18299. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  18300. "type": "integer"
  18301. },
  18302. "converttype": {
  18303. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  18304. "type": "integer"
  18305. },
  18306. "createtime": {
  18307. "description": "创建时间",
  18308. "type": "string"
  18309. },
  18310. "creatorid": {
  18311. "description": "创建人",
  18312. "type": "integer"
  18313. },
  18314. "daymaxvalue": {
  18315. "description": "当日最大转入限制",
  18316. "type": "number"
  18317. },
  18318. "freezedays": {
  18319. "description": "冻结天数 [5:花生米转交易]",
  18320. "type": "integer"
  18321. },
  18322. "innergoodsid": {
  18323. "description": "内部商品ID[交易]",
  18324. "type": "integer"
  18325. },
  18326. "inratio": {
  18327. "description": "目标值",
  18328. "type": "integer"
  18329. },
  18330. "modifierid": {
  18331. "description": "修改人",
  18332. "type": "integer"
  18333. },
  18334. "modifytime": {
  18335. "description": "修改时间",
  18336. "type": "string"
  18337. },
  18338. "outergoodscode": {
  18339. "description": "外部商品代码[JD\\PD]",
  18340. "type": "string"
  18341. },
  18342. "outratio": {
  18343. "description": "源值",
  18344. "type": "integer"
  18345. },
  18346. "pddecimalplace": {
  18347. "description": "PD小数位",
  18348. "type": "integer"
  18349. },
  18350. "timemaxvalue": {
  18351. "description": "单次最大转入限制",
  18352. "type": "number"
  18353. },
  18354. "timeminvalue": {
  18355. "description": "单次最小转入限制",
  18356. "type": "number"
  18357. }
  18358. }
  18359. },
  18360. "models.Szdz3searchwhitelist": {
  18361. "type": "object",
  18362. "required": [
  18363. "userid"
  18364. ],
  18365. "properties": {
  18366. "createtime": {
  18367. "description": "创建时间",
  18368. "type": "string"
  18369. },
  18370. "creatorid": {
  18371. "description": "创建人",
  18372. "type": "integer"
  18373. },
  18374. "modifierid": {
  18375. "description": "修改人",
  18376. "type": "integer"
  18377. },
  18378. "modifytime": {
  18379. "description": "修改时间",
  18380. "type": "string"
  18381. },
  18382. "userid": {
  18383. "description": "用户ID",
  18384. "type": "integer"
  18385. }
  18386. }
  18387. },
  18388. "models.Taaccount": {
  18389. "type": "object",
  18390. "required": [
  18391. "accountid",
  18392. "userid"
  18393. ],
  18394. "properties": {
  18395. "accountflag": {
  18396. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  18397. "type": "integer"
  18398. },
  18399. "accountid": {
  18400. "description": "资金账户ID",
  18401. "type": "integer"
  18402. },
  18403. "accountname": {
  18404. "description": "账户名称",
  18405. "type": "string"
  18406. },
  18407. "balance": {
  18408. "description": "期初余额",
  18409. "type": "number"
  18410. },
  18411. "capitalbalance": {
  18412. "description": "本金余额[外部子账户实际出入金余额]",
  18413. "type": "number"
  18414. },
  18415. "changeflag": {
  18416. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  18417. "type": "integer"
  18418. },
  18419. "changetime": {
  18420. "description": "账户状态变更时间",
  18421. "type": "string"
  18422. },
  18423. "closepl": {
  18424. "description": "今日平仓盈亏",
  18425. "type": "number"
  18426. },
  18427. "creditdecrease": {
  18428. "description": "今日授信减少",
  18429. "type": "number"
  18430. },
  18431. "creditincrease": {
  18432. "description": "今日授信增加",
  18433. "type": "number"
  18434. },
  18435. "currencyid": {
  18436. "description": "货币ID",
  18437. "type": "integer"
  18438. },
  18439. "currentbalance": {
  18440. "description": "期末余额",
  18441. "type": "number"
  18442. },
  18443. "freezecharge": {
  18444. "description": "手续费冻结",
  18445. "type": "number"
  18446. },
  18447. "freezemargin": {
  18448. "description": "冻结保证金",
  18449. "type": "number"
  18450. },
  18451. "fromaccountid": {
  18452. "description": "所属上级账户",
  18453. "type": "integer"
  18454. },
  18455. "inamount": {
  18456. "description": "今日入金金额(包括三方入金)",
  18457. "type": "number"
  18458. },
  18459. "ismain": {
  18460. "description": "是否母账号 0:不是母账户 1:是母账户",
  18461. "type": "integer"
  18462. },
  18463. "ismarketaccount": {
  18464. "description": "是否机构接单账号 0:不是 1:是",
  18465. "type": "integer"
  18466. },
  18467. "isreckonaccount": {
  18468. "description": "是否机构分润账号 0:不是 1:是",
  18469. "type": "integer"
  18470. },
  18471. "mortgagecredit": {
  18472. "description": "授信金额",
  18473. "type": "number"
  18474. },
  18475. "orifreezecharge": {
  18476. "description": "期初手续费冻结",
  18477. "type": "number"
  18478. },
  18479. "orifreezemargin": {
  18480. "description": "期初冻结保证金",
  18481. "type": "number"
  18482. },
  18483. "orimortgagecredit": {
  18484. "description": "期初授信金额",
  18485. "type": "number"
  18486. },
  18487. "oriothercredit": {
  18488. "description": "期初其它授信金额",
  18489. "type": "number"
  18490. },
  18491. "oriotherfreezemargin": {
  18492. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  18493. "type": "number"
  18494. },
  18495. "orioutamountfreeze": {
  18496. "description": "期初出金冻结",
  18497. "type": "number"
  18498. },
  18499. "oriusedmargin": {
  18500. "description": "期初占用保证金",
  18501. "type": "number"
  18502. },
  18503. "othercredit": {
  18504. "description": "其它授信金额",
  18505. "type": "number"
  18506. },
  18507. "othercreditdecrease": {
  18508. "description": "今日其它授信减少",
  18509. "type": "number"
  18510. },
  18511. "othercreditincrease": {
  18512. "description": "今日其它授信增加",
  18513. "type": "number"
  18514. },
  18515. "otherfreezemargin": {
  18516. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  18517. "type": "number"
  18518. },
  18519. "otherincome": {
  18520. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  18521. "type": "number"
  18522. },
  18523. "otherpay": {
  18524. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  18525. "type": "number"
  18526. },
  18527. "outamount": {
  18528. "description": "今日出金金额(包括三方出金)",
  18529. "type": "number"
  18530. },
  18531. "outamountfreeze": {
  18532. "description": "出金冻结",
  18533. "type": "number"
  18534. },
  18535. "outthreshold": {
  18536. "description": "出金阈值",
  18537. "type": "number"
  18538. },
  18539. "parentaccountid": {
  18540. "description": "所属根账号",
  18541. "type": "integer"
  18542. },
  18543. "paycharge": {
  18544. "description": "今日手续费支出",
  18545. "type": "number"
  18546. },
  18547. "relatedaccountstatus": {
  18548. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  18549. "type": "integer"
  18550. },
  18551. "relateduserid": {
  18552. "description": "关联用户",
  18553. "type": "integer"
  18554. },
  18555. "serivcegroup": {
  18556. "description": "服务分组",
  18557. "type": "integer"
  18558. },
  18559. "signstatus": {
  18560. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  18561. "type": "integer"
  18562. },
  18563. "sublevelpath": {
  18564. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  18565. "type": "string"
  18566. },
  18567. "taaccounttype": {
  18568. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  18569. "type": "integer"
  18570. },
  18571. "thirdinamount": {
  18572. "description": "今日三方入金",
  18573. "type": "number"
  18574. },
  18575. "thirdoutamount": {
  18576. "description": "今日三方出金",
  18577. "type": "number"
  18578. },
  18579. "tradestatus": {
  18580. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  18581. "type": "integer"
  18582. },
  18583. "tradestatuschangetime": {
  18584. "description": "激活时间",
  18585. "type": "string"
  18586. },
  18587. "transferamount": {
  18588. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  18589. "type": "number"
  18590. },
  18591. "usedmargin": {
  18592. "description": "占用保证金",
  18593. "type": "number"
  18594. },
  18595. "userid": {
  18596. "description": "用户ID",
  18597. "type": "integer"
  18598. }
  18599. }
  18600. },
  18601. "models.Tablecolumnconfig": {
  18602. "type": "object",
  18603. "required": [
  18604. "autoid"
  18605. ],
  18606. "properties": {
  18607. "aligntype": {
  18608. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  18609. "type": "integer"
  18610. },
  18611. "autoid": {
  18612. "description": "AutoID",
  18613. "type": "integer"
  18614. },
  18615. "columnfield": {
  18616. "description": "列字段",
  18617. "type": "string"
  18618. },
  18619. "columntitle": {
  18620. "description": "列Title",
  18621. "type": "string"
  18622. },
  18623. "columnwidth": {
  18624. "description": "列宽",
  18625. "type": "string"
  18626. },
  18627. "formatterstring": {
  18628. "description": "格式化字符",
  18629. "type": "string"
  18630. },
  18631. "formattertype": {
  18632. "description": "格式化类型",
  18633. "type": "string"
  18634. },
  18635. "groupname": {
  18636. "description": "表头分组名称",
  18637. "type": "string"
  18638. },
  18639. "isshow": {
  18640. "description": "是否显示 - 0:不显示 1:显示",
  18641. "type": "integer"
  18642. },
  18643. "needsummary": {
  18644. "description": "是否需要汇总 - 0:不需要 1:需要",
  18645. "type": "integer"
  18646. },
  18647. "orderindex": {
  18648. "description": "顺序",
  18649. "type": "integer"
  18650. },
  18651. "remark": {
  18652. "description": "备注",
  18653. "type": "string"
  18654. },
  18655. "summarytype": {
  18656. "description": "汇总类型 - 1:加总 2:最后一个",
  18657. "type": "integer"
  18658. },
  18659. "tablekey": {
  18660. "description": "列表Key",
  18661. "type": "string"
  18662. }
  18663. }
  18664. },
  18665. "models.Useraccount": {
  18666. "type": "object",
  18667. "required": [
  18668. "userid"
  18669. ],
  18670. "properties": {
  18671. "accountname": {
  18672. "description": "账户名称(机构名称)",
  18673. "type": "string"
  18674. },
  18675. "accountstatus": {
  18676. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18677. "type": "integer"
  18678. },
  18679. "auditremark": {
  18680. "description": "审核备注",
  18681. "type": "string"
  18682. },
  18683. "audittime": {
  18684. "description": "审核时间",
  18685. "type": "string"
  18686. },
  18687. "audituserid": {
  18688. "description": "审核人",
  18689. "type": "integer"
  18690. },
  18691. "broker": {
  18692. "description": "所属经纪人ID",
  18693. "type": "integer"
  18694. },
  18695. "canceltime": {
  18696. "description": "销户时间",
  18697. "type": "string"
  18698. },
  18699. "canceluserid": {
  18700. "description": "销户人",
  18701. "type": "integer"
  18702. },
  18703. "createtime": {
  18704. "description": "创建时间",
  18705. "type": "string"
  18706. },
  18707. "creatorid": {
  18708. "description": "创建人",
  18709. "type": "integer"
  18710. },
  18711. "hasauth": {
  18712. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  18713. "type": "integer"
  18714. },
  18715. "isanonymous": {
  18716. "description": "是否匿名下单 - 0:否 1:是",
  18717. "type": "integer"
  18718. },
  18719. "maxinvestornum": {
  18720. "description": "最大用户数(经纪会员下投资者个数)",
  18721. "type": "integer"
  18722. },
  18723. "memberuserid": {
  18724. "description": "所属会员ID",
  18725. "type": "integer"
  18726. },
  18727. "modifierid": {
  18728. "description": "修改人",
  18729. "type": "integer"
  18730. },
  18731. "modifyremark": {
  18732. "description": "变更备注",
  18733. "type": "string"
  18734. },
  18735. "modifystatus": {
  18736. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  18737. "type": "integer"
  18738. },
  18739. "modifytime": {
  18740. "description": "修改时间",
  18741. "type": "string"
  18742. },
  18743. "parentuserid": {
  18744. "description": "所属机构ID",
  18745. "type": "integer"
  18746. },
  18747. "reckonaccountid": {
  18748. "description": "默认结算资金账号ID(机构分润使用) 作废",
  18749. "type": "integer"
  18750. },
  18751. "refercount": {
  18752. "description": "推荐总人数",
  18753. "type": "integer"
  18754. },
  18755. "refereeuserid": {
  18756. "description": "推荐人ID",
  18757. "type": "integer"
  18758. },
  18759. "refernum": {
  18760. "description": "推荐码",
  18761. "type": "string"
  18762. },
  18763. "subarealevelpath": {
  18764. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  18765. "type": "string"
  18766. },
  18767. "userid": {
  18768. "description": "用户ID",
  18769. "type": "integer"
  18770. },
  18771. "usertype": {
  18772. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  18773. "type": "integer"
  18774. }
  18775. }
  18776. },
  18777. "models.Userfavoritegoods": {
  18778. "type": "object",
  18779. "required": [
  18780. "goodsid"
  18781. ],
  18782. "properties": {
  18783. "goodsid": {
  18784. "description": "商品ID",
  18785. "type": "integer"
  18786. }
  18787. }
  18788. },
  18789. "models.Userinfo": {
  18790. "type": "object",
  18791. "required": [
  18792. "userid"
  18793. ],
  18794. "properties": {
  18795. "address": {
  18796. "description": "地址",
  18797. "type": "string"
  18798. },
  18799. "attachment1": {
  18800. "description": "附件1",
  18801. "type": "string"
  18802. },
  18803. "attachment2": {
  18804. "description": "附件2",
  18805. "type": "string"
  18806. },
  18807. "bankaccount": {
  18808. "description": "银行帐号 (加密存储)",
  18809. "type": "string"
  18810. },
  18811. "bankaccountname": {
  18812. "description": "收款人名称",
  18813. "type": "string"
  18814. },
  18815. "bankcardfrontphotourl": {
  18816. "description": "银行卡正面照地址",
  18817. "type": "string"
  18818. },
  18819. "bankid": {
  18820. "description": "银行编码",
  18821. "type": "string"
  18822. },
  18823. "bankname": {
  18824. "description": "银行名称",
  18825. "type": "string"
  18826. },
  18827. "biznature": {
  18828. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  18829. "type": "integer"
  18830. },
  18831. "bizscope": {
  18832. "description": "企业经营范围(企业)",
  18833. "type": "string"
  18834. },
  18835. "cardbackphotourl": {
  18836. "description": "证件背面图片地址",
  18837. "type": "string"
  18838. },
  18839. "cardfrontphotourl": {
  18840. "description": "证件正面图片地址",
  18841. "type": "string"
  18842. },
  18843. "cardnum": {
  18844. "description": "证件号码(加密存储)",
  18845. "type": "string"
  18846. },
  18847. "cardtypeid": {
  18848. "description": "证件类型ID",
  18849. "type": "integer"
  18850. },
  18851. "cityid": {
  18852. "description": "市",
  18853. "type": "integer"
  18854. },
  18855. "company": {
  18856. "description": "公司(个人)",
  18857. "type": "string"
  18858. },
  18859. "contactname": {
  18860. "description": "联系人",
  18861. "type": "string"
  18862. },
  18863. "countryid": {
  18864. "description": "国家",
  18865. "type": "integer"
  18866. },
  18867. "createtime": {
  18868. "description": "创建时间",
  18869. "type": "string"
  18870. },
  18871. "creatorid": {
  18872. "description": "创建人",
  18873. "type": "integer"
  18874. },
  18875. "customername": {
  18876. "description": "客户名称(企业名称)",
  18877. "type": "string"
  18878. },
  18879. "districtid": {
  18880. "description": "地区",
  18881. "type": "integer"
  18882. },
  18883. "email": {
  18884. "description": "邮件(加密存储)",
  18885. "type": "string"
  18886. },
  18887. "fax": {
  18888. "description": "传真(加密存储)",
  18889. "type": "string"
  18890. },
  18891. "halfbodyphotourl": {
  18892. "description": "半身照地址",
  18893. "type": "string"
  18894. },
  18895. "hasencrypt": {
  18896. "description": "数据是否已加密 - 0:未加密 1:已加密",
  18897. "type": "integer"
  18898. },
  18899. "headurl": {
  18900. "description": "头像地址",
  18901. "type": "string"
  18902. },
  18903. "legalcardbackphotourl": {
  18904. "description": "法人身份证背面照地址",
  18905. "type": "string"
  18906. },
  18907. "legalcardfrontphotourl": {
  18908. "description": "法人身份证正面照地址",
  18909. "type": "string"
  18910. },
  18911. "legalpersonname": {
  18912. "description": "法人姓名(企业)",
  18913. "type": "string"
  18914. },
  18915. "mobile": {
  18916. "description": "手机号码(加密存储)",
  18917. "type": "string"
  18918. },
  18919. "mobile2": {
  18920. "description": "手机号码[明文-尚志]",
  18921. "type": "string"
  18922. },
  18923. "modifierid": {
  18924. "description": "修改人",
  18925. "type": "integer"
  18926. },
  18927. "modifiertime": {
  18928. "description": "修改时间",
  18929. "type": "string"
  18930. },
  18931. "needinvoice": {
  18932. "description": "是否需要发票 - 0:不需要 1:需要",
  18933. "type": "integer"
  18934. },
  18935. "nickname": {
  18936. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  18937. "type": "string"
  18938. },
  18939. "openmode": {
  18940. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  18941. "type": "integer"
  18942. },
  18943. "otherurl": {
  18944. "description": "其它图片地址[使用分号分隔]",
  18945. "type": "string"
  18946. },
  18947. "postalcode": {
  18948. "description": "邮政编码",
  18949. "type": "string"
  18950. },
  18951. "provinceid": {
  18952. "description": "省",
  18953. "type": "integer"
  18954. },
  18955. "qq": {
  18956. "description": "QQ(加密存储",
  18957. "type": "string"
  18958. },
  18959. "remark": {
  18960. "description": "备注",
  18961. "type": "string"
  18962. },
  18963. "sex": {
  18964. "description": "用户性别 0: 女 1: 男",
  18965. "type": "integer"
  18966. },
  18967. "signpdfurl": {
  18968. "description": "签约pdf文件",
  18969. "type": "string"
  18970. },
  18971. "telphone": {
  18972. "description": "联系电话(加密存储)",
  18973. "type": "string"
  18974. },
  18975. "userid": {
  18976. "description": "用户ID",
  18977. "type": "integer"
  18978. },
  18979. "userinfotype": {
  18980. "description": "用户信息类型 - 1:个人 2:企业",
  18981. "type": "integer"
  18982. },
  18983. "userstatus": {
  18984. "description": "用户状态 - 1:正常 2:注销",
  18985. "type": "integer"
  18986. },
  18987. "usertype": {
  18988. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  18989. "type": "integer"
  18990. },
  18991. "wechat": {
  18992. "description": "微信(加密存储)",
  18993. "type": "string"
  18994. },
  18995. "wskhinfo": {
  18996. "description": "开户申请信息(JSON)",
  18997. "type": "string"
  18998. }
  18999. }
  19000. },
  19001. "models.WRCategoryTree": {
  19002. "type": "object",
  19003. "required": [
  19004. "categoryid"
  19005. ],
  19006. "properties": {
  19007. "areauserid": {
  19008. "description": "所属机构",
  19009. "type": "integer"
  19010. },
  19011. "categorydesc": {
  19012. "description": "类别描述",
  19013. "type": "string"
  19014. },
  19015. "categoryid": {
  19016. "description": "类别ID(SEQ_WRCATEGORY)",
  19017. "type": "integer"
  19018. },
  19019. "categoryname": {
  19020. "description": "类别名称",
  19021. "type": "string"
  19022. },
  19023. "iconurl": {
  19024. "description": "图标地址",
  19025. "type": "string"
  19026. },
  19027. "orderindex": {
  19028. "description": "顺序",
  19029. "type": "integer"
  19030. },
  19031. "parentcategoryid": {
  19032. "description": "父类别ID",
  19033. "type": "integer"
  19034. },
  19035. "subcategory": {
  19036. "description": "子分类",
  19037. "type": "array",
  19038. "items": {
  19039. "$ref": "#/definitions/models.WRCategoryTree"
  19040. }
  19041. }
  19042. }
  19043. },
  19044. "models.WRSConverTDetail": {
  19045. "type": "object",
  19046. "properties": {
  19047. "convertratio": {
  19048. "description": "套保系数",
  19049. "type": "number"
  19050. },
  19051. "deliverygoodsid": {
  19052. "description": "现货品种ID",
  19053. "type": "integer"
  19054. },
  19055. "enumdicname": {
  19056. "description": "单位名称",
  19057. "type": "string"
  19058. },
  19059. "goodsunitid": {
  19060. "description": "套保品种单位id",
  19061. "type": "integer"
  19062. },
  19063. "middlegoodscode": {
  19064. "description": "套保品种代码",
  19065. "type": "string"
  19066. },
  19067. "middlegoodsid": {
  19068. "description": "套保品种ID",
  19069. "type": "integer"
  19070. },
  19071. "middlegoodsname": {
  19072. "description": "套保品种名称",
  19073. "type": "string"
  19074. },
  19075. "modifytime": {
  19076. "description": "修改时间",
  19077. "type": "string"
  19078. },
  19079. "wrstandardid": {
  19080. "description": "现货商品ID",
  19081. "type": "integer"
  19082. }
  19083. }
  19084. },
  19085. "models.WRStandardInfo": {
  19086. "type": "object",
  19087. "required": [
  19088. "wrstandardid"
  19089. ],
  19090. "properties": {
  19091. "createtime": {
  19092. "description": "创建时间",
  19093. "type": "string"
  19094. },
  19095. "creatorid": {
  19096. "description": "创建人",
  19097. "type": "integer"
  19098. },
  19099. "deliverygoodsid": {
  19100. "description": "品种ID",
  19101. "type": "integer"
  19102. },
  19103. "deliverygoodsname": {
  19104. "description": "交割商品名称",
  19105. "type": "string"
  19106. },
  19107. "factoryitemjson": {
  19108. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  19109. "type": "string"
  19110. },
  19111. "isvalid": {
  19112. "description": "是否有效 - 0:无效 1:有效",
  19113. "type": "integer"
  19114. },
  19115. "minivalue": {
  19116. "description": "最小变动值",
  19117. "type": "integer"
  19118. },
  19119. "minivaluedp": {
  19120. "description": "最小变动值小数位",
  19121. "type": "integer"
  19122. },
  19123. "realminivalue": {
  19124. "description": "实际最小变动值",
  19125. "type": "integer"
  19126. },
  19127. "realminivaluedp": {
  19128. "description": "实际最小变动值小数位",
  19129. "type": "integer"
  19130. },
  19131. "unitid": {
  19132. "description": "单位ID",
  19133. "type": "integer"
  19134. },
  19135. "unitname": {
  19136. "description": "单位",
  19137. "type": "string"
  19138. },
  19139. "updatetime": {
  19140. "description": "更新时间",
  19141. "type": "string"
  19142. },
  19143. "updatorid": {
  19144. "description": "更新人",
  19145. "type": "integer"
  19146. },
  19147. "wrsstatus": {
  19148. "description": "状态 - 作废 - 0:未激活 1:正常",
  19149. "type": "integer"
  19150. },
  19151. "wrstandardcode": {
  19152. "description": "仓单标准代码",
  19153. "type": "string"
  19154. },
  19155. "wrstandardid": {
  19156. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19157. "type": "integer"
  19158. },
  19159. "wrstandardname": {
  19160. "description": "仓单标准名称",
  19161. "type": "string"
  19162. }
  19163. }
  19164. },
  19165. "models.Warehouseinfo": {
  19166. "type": "object",
  19167. "required": [
  19168. "autoid",
  19169. "warehousecode"
  19170. ],
  19171. "properties": {
  19172. "address": {
  19173. "description": "详细地址",
  19174. "type": "string"
  19175. },
  19176. "areauserid": {
  19177. "description": "所属机构",
  19178. "type": "integer"
  19179. },
  19180. "autoid": {
  19181. "description": "自增ID",
  19182. "type": "integer"
  19183. },
  19184. "cityid": {
  19185. "description": "市",
  19186. "type": "integer"
  19187. },
  19188. "contactname": {
  19189. "description": "联系人",
  19190. "type": "string"
  19191. },
  19192. "contactnum": {
  19193. "description": "联系电话",
  19194. "type": "string"
  19195. },
  19196. "countryid": {
  19197. "description": "国家",
  19198. "type": "integer"
  19199. },
  19200. "createtime": {
  19201. "description": "创建时间",
  19202. "type": "string"
  19203. },
  19204. "districtid": {
  19205. "description": "区",
  19206. "type": "integer"
  19207. },
  19208. "hasvideo": {
  19209. "description": "是否有视频 - 0:无 1:有",
  19210. "type": "integer"
  19211. },
  19212. "provinceid": {
  19213. "description": "省",
  19214. "type": "integer"
  19215. },
  19216. "remark": {
  19217. "description": "审核备注",
  19218. "type": "string"
  19219. },
  19220. "videourl": {
  19221. "description": "视频地址",
  19222. "type": "string"
  19223. },
  19224. "warehousecode": {
  19225. "description": "仓库代码",
  19226. "type": "string"
  19227. },
  19228. "warehousename": {
  19229. "description": "仓库名称",
  19230. "type": "string"
  19231. },
  19232. "warehousestatus": {
  19233. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19234. "type": "integer"
  19235. },
  19236. "warehousetype": {
  19237. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19238. "type": "integer"
  19239. }
  19240. }
  19241. },
  19242. "order.QueryHisTradeDetailRsp": {
  19243. "type": "object",
  19244. "required": [
  19245. "accountid",
  19246. "buyorsell",
  19247. "goodsid",
  19248. "histradedate",
  19249. "marketid",
  19250. "memberuserid",
  19251. "orderid",
  19252. "tradeamount",
  19253. "tradedate",
  19254. "tradeid",
  19255. "tradeprice",
  19256. "tradeqty",
  19257. "tradetime"
  19258. ],
  19259. "properties": {
  19260. "accountid": {
  19261. "description": "账户ID[报价币种]",
  19262. "type": "integer"
  19263. },
  19264. "buildtype": {
  19265. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19266. "type": "integer"
  19267. },
  19268. "buyorsell": {
  19269. "description": "方向 - 0:买 1:卖",
  19270. "type": "integer"
  19271. },
  19272. "charge": {
  19273. "description": "手续费",
  19274. "type": "number"
  19275. },
  19276. "closecharge": {
  19277. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19278. "type": "number"
  19279. },
  19280. "closeexchagechargevalue": {
  19281. "description": "平仓交易所手续费设置值",
  19282. "type": "number"
  19283. },
  19284. "closefeealgorithm": {
  19285. "description": "平仓手续费收取方式 1:比率 2:固定",
  19286. "type": "integer"
  19287. },
  19288. "closememberchargevalue": {
  19289. "description": "平仓会员手续费设置值",
  19290. "type": "number"
  19291. },
  19292. "closepl": {
  19293. "description": "平仓盈亏",
  19294. "type": "number"
  19295. },
  19296. "closepl2": {
  19297. "description": "平仓盈亏[逐笔]",
  19298. "type": "number"
  19299. },
  19300. "closeqty": {
  19301. "description": "平仓数量(先建后平操作 需要记录)",
  19302. "type": "integer"
  19303. },
  19304. "creditamount": {
  19305. "description": "授信金额",
  19306. "type": "number"
  19307. },
  19308. "gcaccountid": {
  19309. "description": "账户ID[合约币种]",
  19310. "type": "integer"
  19311. },
  19312. "goodscode": {
  19313. "description": "商品代码",
  19314. "type": "string"
  19315. },
  19316. "goodsid": {
  19317. "description": "商品ID",
  19318. "type": "integer"
  19319. },
  19320. "goodsname": {
  19321. "description": "商品名称",
  19322. "type": "string"
  19323. },
  19324. "histradedate": {
  19325. "description": "历史交易日",
  19326. "type": "string"
  19327. },
  19328. "intclosepl": {
  19329. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19330. "type": "integer"
  19331. },
  19332. "isconfirmexercise": {
  19333. "description": "是否确认行权- 0:否 1:是",
  19334. "type": "integer"
  19335. },
  19336. "ismain": {
  19337. "description": "是否主单 - 0:不是 1:是",
  19338. "type": "integer"
  19339. },
  19340. "ispreexercise": {
  19341. "description": "是否预申报- 0:否 1:是",
  19342. "type": "integer"
  19343. },
  19344. "isreckoned": {
  19345. "description": "是否结算 - 0:未结算 1:已结算",
  19346. "type": "integer"
  19347. },
  19348. "isvaliddata": {
  19349. "description": "是否有效 - 0:无效 1:有效",
  19350. "type": "integer"
  19351. },
  19352. "listingselecttype": {
  19353. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19354. "type": "integer"
  19355. },
  19356. "marketid": {
  19357. "description": "市场ID",
  19358. "type": "integer"
  19359. },
  19360. "marketname": {
  19361. "description": "市场名称",
  19362. "type": "string"
  19363. },
  19364. "matchaccountid": {
  19365. "description": "对手账号id",
  19366. "type": "integer"
  19367. },
  19368. "memberuserid": {
  19369. "description": "会员id 个人投资者 需要填写",
  19370. "type": "integer"
  19371. },
  19372. "opencharge": {
  19373. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19374. "type": "number"
  19375. },
  19376. "openexchagechargevalue": {
  19377. "description": "建仓交易所手续费设置值",
  19378. "type": "number"
  19379. },
  19380. "openfeealgorithm": {
  19381. "description": "建仓手续费收取方式 1:比率 2:固定",
  19382. "type": "integer"
  19383. },
  19384. "openmemberchargevalue": {
  19385. "description": "建仓会员手续费设置值",
  19386. "type": "number"
  19387. },
  19388. "openqty": {
  19389. "description": "开仓数量(先建后平操作 需要记录)",
  19390. "type": "integer"
  19391. },
  19392. "optiontype": {
  19393. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19394. "type": "integer"
  19395. },
  19396. "orderid": {
  19397. "description": "委托单号",
  19398. "type": "string"
  19399. },
  19400. "performanceplanid": {
  19401. "description": "履约计划ID[期权]",
  19402. "type": "integer"
  19403. },
  19404. "performancestatus": {
  19405. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19406. "type": "integer"
  19407. },
  19408. "preexerciseprice": {
  19409. "description": "预申报价格",
  19410. "type": "number"
  19411. },
  19412. "premium": {
  19413. "description": "权利金 - [持仓单的权利金]",
  19414. "type": "number"
  19415. },
  19416. "relatedouttradeid": {
  19417. "description": "关联外部成交单ID",
  19418. "type": "integer"
  19419. },
  19420. "status": {
  19421. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19422. "type": "integer"
  19423. },
  19424. "tradeamount": {
  19425. "description": "成交金额[账户币种,用于所有权]",
  19426. "type": "number"
  19427. },
  19428. "tradedate": {
  19429. "description": "交易日(yyyyMMdd)",
  19430. "type": "string"
  19431. },
  19432. "tradeid": {
  19433. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19434. "type": "string"
  19435. },
  19436. "trademode": {
  19437. "description": "交易模式",
  19438. "type": "integer"
  19439. },
  19440. "tradeprice": {
  19441. "description": "成交价格",
  19442. "type": "number"
  19443. },
  19444. "tradeproperty": {
  19445. "description": "交易属性",
  19446. "type": "integer"
  19447. },
  19448. "tradeqty": {
  19449. "description": "成交数量",
  19450. "type": "integer"
  19451. },
  19452. "tradetime": {
  19453. "description": "成交时间",
  19454. "type": "string"
  19455. },
  19456. "tradetype": {
  19457. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19458. "type": "integer"
  19459. }
  19460. }
  19461. },
  19462. "order.QueryHisTradeOrderDetailRsp": {
  19463. "type": "object",
  19464. "required": [
  19465. "accountid",
  19466. "buildtype",
  19467. "buyorsell",
  19468. "goodsid",
  19469. "histradedate",
  19470. "marketid",
  19471. "memberuserid",
  19472. "operatetype",
  19473. "orderid",
  19474. "orderqty",
  19475. "ordertime",
  19476. "pricemode",
  19477. "tradedate",
  19478. "validtype"
  19479. ],
  19480. "properties": {
  19481. "accountid": {
  19482. "description": "账户ID[报价币种]",
  19483. "type": "integer"
  19484. },
  19485. "buildtype": {
  19486. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19487. "type": "integer"
  19488. },
  19489. "buyorsell": {
  19490. "description": "买卖 - 0:买 1:卖",
  19491. "type": "integer"
  19492. },
  19493. "cancelorderid": {
  19494. "description": "撤单单号(撤单时填写)",
  19495. "type": "string"
  19496. },
  19497. "cancelqty": {
  19498. "description": "撤单数量",
  19499. "type": "integer"
  19500. },
  19501. "clientordertime": {
  19502. "description": "客户端委托时间",
  19503. "type": "string"
  19504. },
  19505. "clientticket": {
  19506. "description": "客户端流水号",
  19507. "type": "string"
  19508. },
  19509. "clienttype": {
  19510. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  19511. "type": "integer"
  19512. },
  19513. "closeexchagechargevalue": {
  19514. "description": "平仓交易所手续费设置值",
  19515. "type": "number"
  19516. },
  19517. "closefeealgorithm": {
  19518. "description": "平仓手续费收取方式 1:比率 2:固定",
  19519. "type": "integer"
  19520. },
  19521. "closefreezecharge": {
  19522. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  19523. "type": "number"
  19524. },
  19525. "closememberchargevalue": {
  19526. "description": "平仓会员手续费设置值",
  19527. "type": "number"
  19528. },
  19529. "closeqty": {
  19530. "description": "平仓数量(先建后平操作 需要记录)",
  19531. "type": "integer"
  19532. },
  19533. "closetradeqty": {
  19534. "description": "平仓成交数量(先建后平操作,需要记录)",
  19535. "type": "integer"
  19536. },
  19537. "closeunfreezecharge": {
  19538. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  19539. "type": "number"
  19540. },
  19541. "delistingtype": {
  19542. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  19543. "type": "integer"
  19544. },
  19545. "freezecharge": {
  19546. "description": "冻结手续费",
  19547. "type": "number"
  19548. },
  19549. "freezemargin": {
  19550. "description": "冻结保证金(冻结交易金额)",
  19551. "type": "number"
  19552. },
  19553. "gcaccountid": {
  19554. "description": "账户ID[合约币种]",
  19555. "type": "integer"
  19556. },
  19557. "goodscode": {
  19558. "description": "商品代码",
  19559. "type": "string"
  19560. },
  19561. "goodsid": {
  19562. "description": "商品ID",
  19563. "type": "integer"
  19564. },
  19565. "goodsname": {
  19566. "description": "商品名称",
  19567. "type": "string"
  19568. },
  19569. "histradedate": {
  19570. "description": "历史交易日",
  19571. "type": "string"
  19572. },
  19573. "isconfirmexercise": {
  19574. "description": "是否确认行权- 0:否 1:是",
  19575. "type": "integer"
  19576. },
  19577. "ispreexercise": {
  19578. "description": "是否预申报- 0:否 1:是",
  19579. "type": "integer"
  19580. },
  19581. "isvaliddata": {
  19582. "description": "是否有效 - 0:无效 1:有效",
  19583. "type": "integer"
  19584. },
  19585. "listingselecttype": {
  19586. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19587. "type": "integer"
  19588. },
  19589. "marginalgorithm": {
  19590. "description": "保证金收取方式 1:比率 2:固定",
  19591. "type": "integer"
  19592. },
  19593. "marginvalue": {
  19594. "description": "即市保证金设置值",
  19595. "type": "number"
  19596. },
  19597. "marketid": {
  19598. "description": "市场ID",
  19599. "type": "integer"
  19600. },
  19601. "marketmaxsub": {
  19602. "description": "市价最大偏移范围",
  19603. "type": "number"
  19604. },
  19605. "marketname": {
  19606. "description": "市场名称",
  19607. "type": "string"
  19608. },
  19609. "memberuserid": {
  19610. "description": "所属会员UserID",
  19611. "type": "integer"
  19612. },
  19613. "openexchagechargevalue": {
  19614. "description": "建仓交易所手续费设置值",
  19615. "type": "number"
  19616. },
  19617. "openfeealgorithm": {
  19618. "description": "建仓手续费收取方式 1:比率 2:固定",
  19619. "type": "integer"
  19620. },
  19621. "openfreezecharge": {
  19622. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  19623. "type": "number"
  19624. },
  19625. "openmemberchargevalue": {
  19626. "description": "建仓会员手续费设置值",
  19627. "type": "number"
  19628. },
  19629. "openqty": {
  19630. "description": "开仓数量(先建后平操作,需要记录)",
  19631. "type": "integer"
  19632. },
  19633. "opentradeqty": {
  19634. "description": "开仓成交数量(先建后平操作,需要记录)",
  19635. "type": "integer"
  19636. },
  19637. "openunfreezecharge": {
  19638. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  19639. "type": "number"
  19640. },
  19641. "operatetype": {
  19642. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  19643. "type": "integer"
  19644. },
  19645. "operatorid": {
  19646. "description": "登录账号(LoginID)",
  19647. "type": "integer"
  19648. },
  19649. "optiontype": {
  19650. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19651. "type": "integer"
  19652. },
  19653. "orderid": {
  19654. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19655. "type": "string"
  19656. },
  19657. "orderprice": {
  19658. "description": "委托价格",
  19659. "type": "number"
  19660. },
  19661. "orderqty": {
  19662. "description": "委托数量",
  19663. "type": "integer"
  19664. },
  19665. "ordersrc": {
  19666. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  19667. "type": "integer"
  19668. },
  19669. "orderstatus": {
  19670. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  19671. "type": "integer"
  19672. },
  19673. "ordertime": {
  19674. "description": "委托时间",
  19675. "type": "string"
  19676. },
  19677. "preexerciseprice": {
  19678. "description": "预申报价格",
  19679. "type": "number"
  19680. },
  19681. "premium": {
  19682. "description": "权利金",
  19683. "type": "number"
  19684. },
  19685. "preorderid": {
  19686. "description": "关联预埋单号(止盈止损单时填写)",
  19687. "type": "string"
  19688. },
  19689. "pricemode": {
  19690. "description": "取价方式 - 1:市价 2: 限价",
  19691. "type": "integer"
  19692. },
  19693. "quoteid": {
  19694. "description": "报价单ID",
  19695. "type": "integer"
  19696. },
  19697. "relatedid": {
  19698. "description": "关联单号(交割单)",
  19699. "type": "string"
  19700. },
  19701. "retcode": {
  19702. "description": "错误代码",
  19703. "type": "integer"
  19704. },
  19705. "sessionid": {
  19706. "description": "会话ID",
  19707. "type": "integer"
  19708. },
  19709. "tradedate": {
  19710. "description": "交易日(yyyyMMdd)",
  19711. "type": "string"
  19712. },
  19713. "trademode": {
  19714. "description": "交易模式",
  19715. "type": "integer"
  19716. },
  19717. "tradeproperty": {
  19718. "description": "交易属性",
  19719. "type": "integer"
  19720. },
  19721. "tradeqty": {
  19722. "description": "成交数量",
  19723. "type": "integer"
  19724. },
  19725. "unfreezecharge": {
  19726. "description": "解冻手续费",
  19727. "type": "number"
  19728. },
  19729. "unfreezemargin": {
  19730. "description": "解冻保证金",
  19731. "type": "number"
  19732. },
  19733. "updatetime": {
  19734. "description": "更新时间",
  19735. "type": "string"
  19736. },
  19737. "uuid": {
  19738. "description": "发起端唯一id",
  19739. "type": "string"
  19740. },
  19741. "validtime": {
  19742. "description": "有效期限",
  19743. "type": "string"
  19744. },
  19745. "validtype": {
  19746. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  19747. "type": "integer"
  19748. },
  19749. "volumetype": {
  19750. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  19751. "type": "integer"
  19752. }
  19753. }
  19754. },
  19755. "order.QueryTradeDetailRsp": {
  19756. "type": "object",
  19757. "required": [
  19758. "accountid",
  19759. "buyorsell",
  19760. "goodsid",
  19761. "marketid",
  19762. "memberuserid",
  19763. "orderid",
  19764. "tradeamount",
  19765. "tradedate",
  19766. "tradeid",
  19767. "tradeprice",
  19768. "tradeqty",
  19769. "tradetime"
  19770. ],
  19771. "properties": {
  19772. "accountid": {
  19773. "description": "账户ID[报价币种]",
  19774. "type": "integer"
  19775. },
  19776. "buildtype": {
  19777. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  19778. "type": "integer"
  19779. },
  19780. "buyorsell": {
  19781. "description": "方向 - 0:买 1:卖",
  19782. "type": "integer"
  19783. },
  19784. "charge": {
  19785. "description": "手续费",
  19786. "type": "number"
  19787. },
  19788. "closecharge": {
  19789. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19790. "type": "number"
  19791. },
  19792. "closeexchagechargevalue": {
  19793. "description": "平仓交易所手续费设置值",
  19794. "type": "number"
  19795. },
  19796. "closefeealgorithm": {
  19797. "description": "平仓手续费收取方式 1:比率 2:固定",
  19798. "type": "integer"
  19799. },
  19800. "closememberchargevalue": {
  19801. "description": "平仓会员手续费设置值",
  19802. "type": "number"
  19803. },
  19804. "closepl": {
  19805. "description": "平仓盈亏",
  19806. "type": "number"
  19807. },
  19808. "closepl2": {
  19809. "description": "平仓盈亏[逐笔]",
  19810. "type": "number"
  19811. },
  19812. "closeqty": {
  19813. "description": "平仓数量(先建后平操作 需要记录)",
  19814. "type": "integer"
  19815. },
  19816. "creditamount": {
  19817. "description": "授信金额",
  19818. "type": "number"
  19819. },
  19820. "gcaccountid": {
  19821. "description": "账户ID[合约币种]",
  19822. "type": "integer"
  19823. },
  19824. "goodscode": {
  19825. "description": "商品代码",
  19826. "type": "string"
  19827. },
  19828. "goodsid": {
  19829. "description": "商品ID",
  19830. "type": "integer"
  19831. },
  19832. "goodsname": {
  19833. "description": "商品名称",
  19834. "type": "string"
  19835. },
  19836. "intclosepl": {
  19837. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  19838. "type": "integer"
  19839. },
  19840. "isconfirmexercise": {
  19841. "description": "是否确认行权- 0:否 1:是",
  19842. "type": "integer"
  19843. },
  19844. "ismain": {
  19845. "description": "是否主单 - 0:不是 1:是",
  19846. "type": "integer"
  19847. },
  19848. "ispreexercise": {
  19849. "description": "是否预申报- 0:否 1:是",
  19850. "type": "integer"
  19851. },
  19852. "isreckoned": {
  19853. "description": "是否结算 - 0:未结算 1:已结算",
  19854. "type": "integer"
  19855. },
  19856. "listingselecttype": {
  19857. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  19858. "type": "integer"
  19859. },
  19860. "marketid": {
  19861. "description": "市场ID",
  19862. "type": "integer"
  19863. },
  19864. "marketname": {
  19865. "description": "市场名称",
  19866. "type": "string"
  19867. },
  19868. "matchaccountid": {
  19869. "description": "对手账号id",
  19870. "type": "integer"
  19871. },
  19872. "memberuserid": {
  19873. "description": "会员id 个人投资者 需要填写",
  19874. "type": "integer"
  19875. },
  19876. "opencharge": {
  19877. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  19878. "type": "number"
  19879. },
  19880. "openexchagechargevalue": {
  19881. "description": "建仓交易所手续费设置值",
  19882. "type": "number"
  19883. },
  19884. "openfeealgorithm": {
  19885. "description": "建仓手续费收取方式 1:比率 2:固定",
  19886. "type": "integer"
  19887. },
  19888. "openmemberchargevalue": {
  19889. "description": "建仓会员手续费设置值",
  19890. "type": "number"
  19891. },
  19892. "openqty": {
  19893. "description": "开仓数量(先建后平操作 需要记录)",
  19894. "type": "integer"
  19895. },
  19896. "optiontype": {
  19897. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  19898. "type": "integer"
  19899. },
  19900. "orderid": {
  19901. "description": "委托单号",
  19902. "type": "string"
  19903. },
  19904. "performanceplanid": {
  19905. "description": "履约计划ID[期权]",
  19906. "type": "integer"
  19907. },
  19908. "performancestatus": {
  19909. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  19910. "type": "integer"
  19911. },
  19912. "preexerciseprice": {
  19913. "description": "预申报价格",
  19914. "type": "number"
  19915. },
  19916. "premium": {
  19917. "description": "权利金 - [持仓单的权利金]",
  19918. "type": "number"
  19919. },
  19920. "relatedouttradeid": {
  19921. "description": "关联外部成交单ID",
  19922. "type": "integer"
  19923. },
  19924. "status": {
  19925. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  19926. "type": "integer"
  19927. },
  19928. "tradeamount": {
  19929. "description": "成交金额[账户币种,用于所有权]",
  19930. "type": "number"
  19931. },
  19932. "tradedate": {
  19933. "description": "交易日(yyyyMMdd)",
  19934. "type": "string"
  19935. },
  19936. "tradeid": {
  19937. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19938. "type": "string"
  19939. },
  19940. "trademode": {
  19941. "description": "交易模式",
  19942. "type": "integer"
  19943. },
  19944. "tradeprice": {
  19945. "description": "成交价格",
  19946. "type": "number"
  19947. },
  19948. "tradeproperty": {
  19949. "description": "交易属性",
  19950. "type": "integer"
  19951. },
  19952. "tradeqty": {
  19953. "description": "成交数量",
  19954. "type": "integer"
  19955. },
  19956. "tradetime": {
  19957. "description": "成交时间",
  19958. "type": "string"
  19959. },
  19960. "tradetype": {
  19961. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  19962. "type": "integer"
  19963. }
  19964. }
  19965. },
  19966. "order.QueryTradeOrderDetailRsp": {
  19967. "type": "object",
  19968. "required": [
  19969. "accountid",
  19970. "buildtype",
  19971. "buyorsell",
  19972. "goodsid",
  19973. "marketid",
  19974. "operatetype",
  19975. "orderqty",
  19976. "ordertime",
  19977. "pricemode",
  19978. "tradedate",
  19979. "validtype"
  19980. ],
  19981. "properties": {
  19982. "accountid": {
  19983. "description": "账户ID[报价币种]",
  19984. "type": "integer"
  19985. },
  19986. "buildtype": {
  19987. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  19988. "type": "integer"
  19989. },
  19990. "buyorsell": {
  19991. "description": "买卖 - 0:买 1:卖",
  19992. "type": "integer"
  19993. },
  19994. "cancelorderid": {
  19995. "description": "撤单单号(撤单时填写)",
  19996. "type": "string"
  19997. },
  19998. "cancelqty": {
  19999. "description": "撤单数量",
  20000. "type": "integer"
  20001. },
  20002. "clienttype": {
  20003. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  20004. "type": "integer"
  20005. },
  20006. "closefreezecharge": {
  20007. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  20008. "type": "number"
  20009. },
  20010. "closeqty": {
  20011. "description": "平仓数量(先建后平操作 需要记录)",
  20012. "type": "integer"
  20013. },
  20014. "closetradeqty": {
  20015. "description": "平仓成交数量(先建后平操作,需要记录)",
  20016. "type": "integer"
  20017. },
  20018. "closeunfreezecharge": {
  20019. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  20020. "type": "number"
  20021. },
  20022. "delistingtype": {
  20023. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  20024. "type": "integer"
  20025. },
  20026. "enableqty": {
  20027. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  20028. "type": "integer"
  20029. },
  20030. "freezecharge": {
  20031. "description": "冻结手续费",
  20032. "type": "number"
  20033. },
  20034. "freezemargin": {
  20035. "description": "冻结保证金(冻结交易金额)",
  20036. "type": "number"
  20037. },
  20038. "goodscode": {
  20039. "description": "商品代码",
  20040. "type": "string"
  20041. },
  20042. "goodsid": {
  20043. "description": "商品ID",
  20044. "type": "integer"
  20045. },
  20046. "goodsname": {
  20047. "description": "商品名称",
  20048. "type": "string"
  20049. },
  20050. "listingselecttype": {
  20051. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  20052. "type": "integer"
  20053. },
  20054. "marketid": {
  20055. "description": "市场ID",
  20056. "type": "integer"
  20057. },
  20058. "marketname": {
  20059. "description": "市场名称",
  20060. "type": "string"
  20061. },
  20062. "openfreezecharge": {
  20063. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  20064. "type": "number"
  20065. },
  20066. "openqty": {
  20067. "description": "开仓数量(先建后平操作,需要记录)",
  20068. "type": "integer"
  20069. },
  20070. "opentradeqty": {
  20071. "description": "开仓成交数量(先建后平操作,需要记录)",
  20072. "type": "integer"
  20073. },
  20074. "openunfreezecharge": {
  20075. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  20076. "type": "number"
  20077. },
  20078. "operatetype": {
  20079. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  20080. "type": "integer"
  20081. },
  20082. "operatorid": {
  20083. "description": "登录账号(LoginID)",
  20084. "type": "integer"
  20085. },
  20086. "orderid": {
  20087. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20088. "type": "string"
  20089. },
  20090. "orderprice": {
  20091. "description": "委托价格",
  20092. "type": "number"
  20093. },
  20094. "orderqty": {
  20095. "description": "委托数量",
  20096. "type": "integer"
  20097. },
  20098. "ordersrc": {
  20099. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  20100. "type": "integer"
  20101. },
  20102. "orderstatus": {
  20103. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  20104. "type": "integer"
  20105. },
  20106. "ordertime": {
  20107. "description": "委托时间",
  20108. "type": "string"
  20109. },
  20110. "preorderid": {
  20111. "description": "关联预埋单号(止盈止损单时填写)",
  20112. "type": "string"
  20113. },
  20114. "pricemode": {
  20115. "description": "取价方式 - 1:市价 2: 限价",
  20116. "type": "integer"
  20117. },
  20118. "relatedid": {
  20119. "description": "关联单号(交割单)",
  20120. "type": "string"
  20121. },
  20122. "tradedate": {
  20123. "description": "交易日(yyyyMMdd)",
  20124. "type": "string"
  20125. },
  20126. "trademode": {
  20127. "description": "交易模式",
  20128. "type": "integer"
  20129. },
  20130. "tradeqty": {
  20131. "description": "成交数量",
  20132. "type": "integer"
  20133. },
  20134. "unfreezecharge": {
  20135. "description": "解冻手续费",
  20136. "type": "number"
  20137. },
  20138. "unfreezemargin": {
  20139. "description": "解冻保证金",
  20140. "type": "number"
  20141. },
  20142. "validtime": {
  20143. "description": "有效期限",
  20144. "type": "string"
  20145. },
  20146. "validtype": {
  20147. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  20148. "type": "integer"
  20149. },
  20150. "volumetype": {
  20151. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  20152. "type": "integer"
  20153. }
  20154. }
  20155. },
  20156. "order.QueryTradePositionRsp": {
  20157. "type": "object",
  20158. "required": [
  20159. "goodsid"
  20160. ],
  20161. "properties": {
  20162. "accountid": {
  20163. "description": "资金账户",
  20164. "type": "integer"
  20165. },
  20166. "agreeunit": {
  20167. "description": "合约单位",
  20168. "type": "number"
  20169. },
  20170. "averageprice": {
  20171. "description": "持仓均价",
  20172. "type": "number"
  20173. },
  20174. "buyorsell": {
  20175. "description": "方向 - 0:买 1:卖",
  20176. "type": "integer"
  20177. },
  20178. "closetotalqty": {
  20179. "description": "平仓总数量",
  20180. "type": "integer"
  20181. },
  20182. "curholderamount": {
  20183. "description": "当前持仓总金额[商品币种]",
  20184. "type": "number"
  20185. },
  20186. "curpositionqty": {
  20187. "description": "当前持仓总数量",
  20188. "type": "integer"
  20189. },
  20190. "currencyid": {
  20191. "description": "报价货币ID",
  20192. "type": "integer"
  20193. },
  20194. "curtdposition": {
  20195. "description": "期末今日头寸",
  20196. "type": "integer"
  20197. },
  20198. "decimalplace": {
  20199. "description": "报价小数位",
  20200. "type": "integer"
  20201. },
  20202. "enableqty": {
  20203. "description": "可用量",
  20204. "type": "integer"
  20205. },
  20206. "fretdposition": {
  20207. "description": "冻结今日头寸",
  20208. "type": "integer"
  20209. },
  20210. "frozenqty": {
  20211. "description": "持仓冻结数量",
  20212. "type": "integer"
  20213. },
  20214. "goodscode": {
  20215. "description": "商品代码",
  20216. "type": "string"
  20217. },
  20218. "goodsid": {
  20219. "description": "商品Id",
  20220. "type": "integer"
  20221. },
  20222. "goodsname": {
  20223. "description": "商品名称",
  20224. "type": "string"
  20225. },
  20226. "goodunit": {
  20227. "description": "报价单位",
  20228. "type": "string"
  20229. },
  20230. "goodunitid": {
  20231. "description": "报价单位ID",
  20232. "type": "integer"
  20233. },
  20234. "holderamount": {
  20235. "description": "期初持仓总金额[商品币种]",
  20236. "type": "number"
  20237. },
  20238. "marketid": {
  20239. "description": "所属市场ID",
  20240. "type": "integer"
  20241. },
  20242. "openreqqty": {
  20243. "description": "开仓申请数量(用于比较最大持仓数量)",
  20244. "type": "integer"
  20245. },
  20246. "opentotalqty": {
  20247. "description": "开仓总数量",
  20248. "type": "integer"
  20249. },
  20250. "otherfrozenqty": {
  20251. "description": "持仓其他冻结数量(交割冻结)",
  20252. "type": "integer"
  20253. },
  20254. "positionqty": {
  20255. "description": "期初持仓数量",
  20256. "type": "integer"
  20257. },
  20258. "tnqty": {
  20259. "description": "T+N冻结总量",
  20260. "type": "integer"
  20261. },
  20262. "tnusedqty": {
  20263. "description": "T+N使用量(可以使用T+N的冻结数量)",
  20264. "type": "integer"
  20265. },
  20266. "trademode": {
  20267. "description": "交易模式",
  20268. "type": "integer"
  20269. },
  20270. "usedmargin": {
  20271. "description": "占用保证金[商品币种]",
  20272. "type": "number"
  20273. }
  20274. }
  20275. },
  20276. "quote.HistoryData": {
  20277. "type": "object",
  20278. "properties": {
  20279. "c": {
  20280. "description": "收盘价",
  20281. "type": "number"
  20282. },
  20283. "f": {
  20284. "description": "是否补充数据",
  20285. "type": "boolean"
  20286. },
  20287. "h": {
  20288. "description": "最高价",
  20289. "type": "number"
  20290. },
  20291. "hv": {
  20292. "description": "持仓量",
  20293. "type": "integer"
  20294. },
  20295. "l": {
  20296. "description": "最低价",
  20297. "type": "number"
  20298. },
  20299. "o": {
  20300. "description": "开盘价",
  20301. "type": "number"
  20302. },
  20303. "s": {
  20304. "description": "结算价,日线周期(包括)以上才有",
  20305. "type": "number"
  20306. },
  20307. "ts": {
  20308. "description": "时间",
  20309. "type": "string"
  20310. },
  20311. "tt": {
  20312. "description": "总金额",
  20313. "type": "number"
  20314. },
  20315. "tv": {
  20316. "description": "总量",
  20317. "type": "integer"
  20318. }
  20319. }
  20320. },
  20321. "quote.HistoryTikData": {
  20322. "type": "object",
  20323. "properties": {
  20324. "AV": {
  20325. "description": "卖量",
  20326. "type": "integer"
  20327. },
  20328. "Ask": {
  20329. "description": "卖价",
  20330. "type": "number"
  20331. },
  20332. "BV": {
  20333. "description": "买量",
  20334. "type": "integer"
  20335. },
  20336. "Bid": {
  20337. "description": "买价",
  20338. "type": "number"
  20339. },
  20340. "HI": {
  20341. "description": "单笔持仓",
  20342. "type": "integer"
  20343. },
  20344. "HV": {
  20345. "description": "持仓量",
  20346. "type": "integer"
  20347. },
  20348. "PE": {
  20349. "description": "现价",
  20350. "type": "number"
  20351. },
  20352. "TDR": {
  20353. "description": "交易方向,0:买 1:卖",
  20354. "type": "integer"
  20355. },
  20356. "TK": {
  20357. "description": "交易类型",
  20358. "type": "integer"
  20359. },
  20360. "TS": {
  20361. "description": "行情时间文本",
  20362. "type": "string"
  20363. },
  20364. "TT": {
  20365. "description": "现金额",
  20366. "type": "number"
  20367. },
  20368. "Vol": {
  20369. "description": "现量",
  20370. "type": "integer"
  20371. }
  20372. }
  20373. },
  20374. "quote.QueryQuoteDayRsp": {
  20375. "type": "object",
  20376. "properties": {
  20377. "ask": {
  20378. "description": "卖1",
  20379. "type": "number"
  20380. },
  20381. "ask10": {
  20382. "description": "卖10",
  20383. "type": "number"
  20384. },
  20385. "ask2": {
  20386. "description": "卖2",
  20387. "type": "number"
  20388. },
  20389. "ask3": {
  20390. "description": "卖3",
  20391. "type": "number"
  20392. },
  20393. "ask4": {
  20394. "description": "卖4",
  20395. "type": "number"
  20396. },
  20397. "ask5": {
  20398. "description": "卖5",
  20399. "type": "number"
  20400. },
  20401. "ask6": {
  20402. "description": "卖6",
  20403. "type": "number"
  20404. },
  20405. "ask7": {
  20406. "description": "卖7",
  20407. "type": "number"
  20408. },
  20409. "ask8": {
  20410. "description": "卖8",
  20411. "type": "number"
  20412. },
  20413. "ask9": {
  20414. "description": "卖9",
  20415. "type": "number"
  20416. },
  20417. "askorderid": {
  20418. "description": "卖单号1",
  20419. "type": "integer"
  20420. },
  20421. "askorderid2": {
  20422. "description": "卖单号2",
  20423. "type": "integer"
  20424. },
  20425. "askorderid3": {
  20426. "description": "卖单号3",
  20427. "type": "integer"
  20428. },
  20429. "askorderid4": {
  20430. "description": "卖单号4",
  20431. "type": "integer"
  20432. },
  20433. "askorderid5": {
  20434. "description": "卖单号5",
  20435. "type": "integer"
  20436. },
  20437. "askordervolume": {
  20438. "description": "卖单量1",
  20439. "type": "integer"
  20440. },
  20441. "askordervolume10": {
  20442. "description": "卖单量10",
  20443. "type": "integer"
  20444. },
  20445. "askordervolume2": {
  20446. "description": "卖单量2",
  20447. "type": "integer"
  20448. },
  20449. "askordervolume3": {
  20450. "description": "卖单量3",
  20451. "type": "integer"
  20452. },
  20453. "askordervolume4": {
  20454. "description": "卖单量4",
  20455. "type": "integer"
  20456. },
  20457. "askordervolume5": {
  20458. "description": "卖单量5",
  20459. "type": "integer"
  20460. },
  20461. "askordervolume6": {
  20462. "description": "卖单量6",
  20463. "type": "integer"
  20464. },
  20465. "askordervolume7": {
  20466. "description": "卖单量7",
  20467. "type": "integer"
  20468. },
  20469. "askordervolume8": {
  20470. "description": "卖单量8",
  20471. "type": "integer"
  20472. },
  20473. "askordervolume9": {
  20474. "description": "卖单量9",
  20475. "type": "integer"
  20476. },
  20477. "askqueueinfo": {
  20478. "description": "大利市卖港股用",
  20479. "type": "string"
  20480. },
  20481. "askvolume": {
  20482. "description": "卖量1",
  20483. "type": "integer"
  20484. },
  20485. "askvolume10": {
  20486. "description": "卖量10",
  20487. "type": "integer"
  20488. },
  20489. "askvolume2": {
  20490. "description": "卖量2",
  20491. "type": "integer"
  20492. },
  20493. "askvolume3": {
  20494. "description": "卖量3",
  20495. "type": "integer"
  20496. },
  20497. "askvolume4": {
  20498. "description": "卖量4",
  20499. "type": "integer"
  20500. },
  20501. "askvolume5": {
  20502. "description": "卖量5",
  20503. "type": "integer"
  20504. },
  20505. "askvolume6": {
  20506. "description": "卖量6",
  20507. "type": "integer"
  20508. },
  20509. "askvolume7": {
  20510. "description": "卖量7",
  20511. "type": "integer"
  20512. },
  20513. "askvolume8": {
  20514. "description": "卖量8",
  20515. "type": "integer"
  20516. },
  20517. "askvolume9": {
  20518. "description": "卖量9",
  20519. "type": "integer"
  20520. },
  20521. "averageprice": {
  20522. "description": "均价",
  20523. "type": "number"
  20524. },
  20525. "bid": {
  20526. "description": "买1",
  20527. "type": "number"
  20528. },
  20529. "bid10": {
  20530. "description": "买10",
  20531. "type": "number"
  20532. },
  20533. "bid2": {
  20534. "description": "买2",
  20535. "type": "number"
  20536. },
  20537. "bid3": {
  20538. "description": "买3",
  20539. "type": "number"
  20540. },
  20541. "bid4": {
  20542. "description": "买4",
  20543. "type": "number"
  20544. },
  20545. "bid5": {
  20546. "description": "买5",
  20547. "type": "number"
  20548. },
  20549. "bid6": {
  20550. "description": "买6",
  20551. "type": "number"
  20552. },
  20553. "bid7": {
  20554. "description": "买7",
  20555. "type": "number"
  20556. },
  20557. "bid8": {
  20558. "description": "买8",
  20559. "type": "number"
  20560. },
  20561. "bid9": {
  20562. "description": "买9",
  20563. "type": "number"
  20564. },
  20565. "bidorderid": {
  20566. "description": "买单号1",
  20567. "type": "integer"
  20568. },
  20569. "bidorderid2": {
  20570. "description": "买单号2",
  20571. "type": "integer"
  20572. },
  20573. "bidorderid3": {
  20574. "description": "买单号3",
  20575. "type": "integer"
  20576. },
  20577. "bidorderid4": {
  20578. "description": "买单号4",
  20579. "type": "integer"
  20580. },
  20581. "bidorderid5": {
  20582. "description": "买单号5",
  20583. "type": "integer"
  20584. },
  20585. "bidordervolume": {
  20586. "description": "买单量1",
  20587. "type": "integer"
  20588. },
  20589. "bidordervolume10": {
  20590. "description": "买单量10",
  20591. "type": "integer"
  20592. },
  20593. "bidordervolume2": {
  20594. "description": "买单量2",
  20595. "type": "integer"
  20596. },
  20597. "bidordervolume3": {
  20598. "description": "买单量3",
  20599. "type": "integer"
  20600. },
  20601. "bidordervolume4": {
  20602. "description": "买单量4",
  20603. "type": "integer"
  20604. },
  20605. "bidordervolume5": {
  20606. "description": "买单量5",
  20607. "type": "integer"
  20608. },
  20609. "bidordervolume6": {
  20610. "description": "买单量6",
  20611. "type": "integer"
  20612. },
  20613. "bidordervolume7": {
  20614. "description": "买单量7",
  20615. "type": "integer"
  20616. },
  20617. "bidordervolume8": {
  20618. "description": "买单量8",
  20619. "type": "integer"
  20620. },
  20621. "bidordervolume9": {
  20622. "description": "买单量9",
  20623. "type": "integer"
  20624. },
  20625. "bidqueueinfo": {
  20626. "description": "大利市买港股用",
  20627. "type": "string"
  20628. },
  20629. "bidvolume": {
  20630. "description": "买量1",
  20631. "type": "integer"
  20632. },
  20633. "bidvolume10": {
  20634. "description": "买量10",
  20635. "type": "integer"
  20636. },
  20637. "bidvolume2": {
  20638. "description": "买量2",
  20639. "type": "integer"
  20640. },
  20641. "bidvolume3": {
  20642. "description": "买量3",
  20643. "type": "integer"
  20644. },
  20645. "bidvolume4": {
  20646. "description": "买量4",
  20647. "type": "integer"
  20648. },
  20649. "bidvolume5": {
  20650. "description": "买量5",
  20651. "type": "integer"
  20652. },
  20653. "bidvolume6": {
  20654. "description": "买量6",
  20655. "type": "integer"
  20656. },
  20657. "bidvolume7": {
  20658. "description": "买量7",
  20659. "type": "integer"
  20660. },
  20661. "bidvolume8": {
  20662. "description": "买量8",
  20663. "type": "integer"
  20664. },
  20665. "bidvolume9": {
  20666. "description": "买量9",
  20667. "type": "integer"
  20668. },
  20669. "calloptionpremiums": {
  20670. "description": "认购期权1",
  20671. "type": "integer"
  20672. },
  20673. "calloptionpremiums2": {
  20674. "description": "认购期权2",
  20675. "type": "integer"
  20676. },
  20677. "calloptionpremiums3": {
  20678. "description": "认购期权3",
  20679. "type": "integer"
  20680. },
  20681. "calloptionpremiums4": {
  20682. "description": "认购期权4",
  20683. "type": "integer"
  20684. },
  20685. "calloptionpremiums5": {
  20686. "description": "认购期权5",
  20687. "type": "integer"
  20688. },
  20689. "cleartime": {
  20690. "description": "清盘时间",
  20691. "type": "integer"
  20692. },
  20693. "exchangecode": {
  20694. "description": "交易所代码",
  20695. "type": "integer"
  20696. },
  20697. "exchangedate": {
  20698. "description": "交易日",
  20699. "type": "integer"
  20700. },
  20701. "goodscode": {
  20702. "description": "商品代码",
  20703. "type": "string"
  20704. },
  20705. "grepmarketprice": {
  20706. "description": "暗盘价 港股专用",
  20707. "type": "number"
  20708. },
  20709. "highest": {
  20710. "description": "最高价",
  20711. "type": "number"
  20712. },
  20713. "holdincrement": {
  20714. "description": "单笔持仓",
  20715. "type": "integer"
  20716. },
  20717. "holdvolume": {
  20718. "description": "持仓",
  20719. "type": "integer"
  20720. },
  20721. "iep": {
  20722. "description": "平衡价 港股专用",
  20723. "type": "number"
  20724. },
  20725. "iev": {
  20726. "description": "平衡量 港股专用",
  20727. "type": "number"
  20728. },
  20729. "inventory": {
  20730. "description": "库存",
  20731. "type": "integer"
  20732. },
  20733. "iscleared": {
  20734. "description": "是否清盘标志",
  20735. "type": "integer"
  20736. },
  20737. "issettled": {
  20738. "description": "是否结算标志",
  20739. "type": "integer"
  20740. },
  20741. "last": {
  20742. "description": "最新价",
  20743. "type": "number"
  20744. },
  20745. "lastlot": {
  20746. "description": "最新成交手数",
  20747. "type": "integer"
  20748. },
  20749. "lasttime": {
  20750. "description": "行情时间(只有现价变化行情时间才变化)",
  20751. "type": "string"
  20752. },
  20753. "lastturnover": {
  20754. "description": "最新成交金额",
  20755. "type": "number"
  20756. },
  20757. "lastvolume": {
  20758. "description": "最新成交量",
  20759. "type": "integer"
  20760. },
  20761. "limitdown": {
  20762. "description": "跌停价",
  20763. "type": "number"
  20764. },
  20765. "limitup": {
  20766. "description": "涨停价",
  20767. "type": "number"
  20768. },
  20769. "lowest": {
  20770. "description": "最低价",
  20771. "type": "number"
  20772. },
  20773. "nontotalholdervolume": {
  20774. "description": "非交易持仓量",
  20775. "type": "integer"
  20776. },
  20777. "nontotallot": {
  20778. "description": "非交易总手数",
  20779. "type": "integer"
  20780. },
  20781. "nontotalturnover": {
  20782. "description": "非交易总金额",
  20783. "type": "integer"
  20784. },
  20785. "nontotalvolume": {
  20786. "description": "非交易总量",
  20787. "type": "integer"
  20788. },
  20789. "opened": {
  20790. "description": "开盘价",
  20791. "type": "number"
  20792. },
  20793. "opentime": {
  20794. "description": "开盘时间",
  20795. "type": "string"
  20796. },
  20797. "orderid": {
  20798. "description": "序号",
  20799. "type": "integer"
  20800. },
  20801. "preclose": {
  20802. "description": "昨收",
  20803. "type": "number"
  20804. },
  20805. "preholdvolume": {
  20806. "description": "昨持仓",
  20807. "type": "integer"
  20808. },
  20809. "presettle": {
  20810. "description": "昨结价",
  20811. "type": "number"
  20812. },
  20813. "publictradetype": {
  20814. "description": "公共交易标志类型 港股专用",
  20815. "type": "string"
  20816. },
  20817. "putoptionpremiums": {
  20818. "description": "认沽期权1",
  20819. "type": "integer"
  20820. },
  20821. "putoptionpremiums2": {
  20822. "description": "认沽期权2",
  20823. "type": "integer"
  20824. },
  20825. "putoptionpremiums3": {
  20826. "description": "认沽期权3",
  20827. "type": "integer"
  20828. },
  20829. "putoptionpremiums4": {
  20830. "description": "认沽期权4",
  20831. "type": "integer"
  20832. },
  20833. "putoptionpremiums5": {
  20834. "description": "认沽期权5",
  20835. "type": "integer"
  20836. },
  20837. "settle": {
  20838. "description": "结算价",
  20839. "type": "number"
  20840. },
  20841. "strikeprice": {
  20842. "description": "发行价",
  20843. "type": "number"
  20844. },
  20845. "totalaskvolume": {
  20846. "description": "内盘",
  20847. "type": "integer"
  20848. },
  20849. "totalbidvolume": {
  20850. "description": "外盘",
  20851. "type": "integer"
  20852. },
  20853. "totallot": {
  20854. "description": "总手数",
  20855. "type": "integer"
  20856. },
  20857. "totalturnover": {
  20858. "description": "总金额",
  20859. "type": "number"
  20860. },
  20861. "totalvolume": {
  20862. "description": "总量",
  20863. "type": "integer"
  20864. },
  20865. "utclasttime": {
  20866. "description": "utc的行情时间",
  20867. "type": "string"
  20868. }
  20869. }
  20870. },
  20871. "quote.QueryTSDataRsp": {
  20872. "type": "object",
  20873. "properties": {
  20874. "Count": {
  20875. "description": "交易日应有数据个数",
  20876. "type": "integer"
  20877. },
  20878. "decimalPlace": {
  20879. "description": "小数位",
  20880. "type": "integer"
  20881. },
  20882. "endTime": {
  20883. "description": "结束时间",
  20884. "type": "string"
  20885. },
  20886. "goodsCode": {
  20887. "description": "商品代码",
  20888. "type": "string"
  20889. },
  20890. "historyDatas": {
  20891. "description": "历史数据",
  20892. "type": "array",
  20893. "items": {
  20894. "$ref": "#/definitions/quote.HistoryData"
  20895. }
  20896. },
  20897. "outGoodsCode": {
  20898. "description": "外部商品代码",
  20899. "type": "string"
  20900. },
  20901. "preSettle": {
  20902. "description": "昨结价",
  20903. "type": "number"
  20904. },
  20905. "runSteps": {
  20906. "description": "交易日开休市计划",
  20907. "type": "array",
  20908. "items": {
  20909. "$ref": "#/definitions/quote.TSDataRunStep"
  20910. }
  20911. },
  20912. "startTime": {
  20913. "description": "开始时间",
  20914. "type": "string"
  20915. },
  20916. "tradeDate": {
  20917. "description": "交易日",
  20918. "type": "string"
  20919. }
  20920. }
  20921. },
  20922. "quote.TSDataRunStep": {
  20923. "type": "object",
  20924. "properties": {
  20925. "end": {
  20926. "description": "真实结束时间",
  20927. "type": "string"
  20928. },
  20929. "endflag": {
  20930. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  20931. "type": "integer"
  20932. },
  20933. "endtime": {
  20934. "description": "结束时间(HH:mm)",
  20935. "type": "string"
  20936. },
  20937. "endweekday": {
  20938. "description": "结束周几",
  20939. "type": "integer"
  20940. },
  20941. "groupid": {
  20942. "description": "分组ID",
  20943. "type": "integer"
  20944. },
  20945. "runstep": {
  20946. "description": "运行阶段 - 2:连续交易",
  20947. "type": "integer"
  20948. },
  20949. "sectionid": {
  20950. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  20951. "type": "integer"
  20952. },
  20953. "start": {
  20954. "description": "真实开始时间",
  20955. "type": "string"
  20956. },
  20957. "startflag": {
  20958. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  20959. "type": "integer"
  20960. },
  20961. "starttime": {
  20962. "description": "起始时间(HH:mm)",
  20963. "type": "string"
  20964. },
  20965. "startweekday": {
  20966. "description": "起始周几",
  20967. "type": "integer"
  20968. },
  20969. "tradeweekday": {
  20970. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  20971. "type": "integer"
  20972. }
  20973. }
  20974. },
  20975. "szdz.QueryConvertLogRsp": {
  20976. "type": "object",
  20977. "required": [
  20978. "logid"
  20979. ],
  20980. "properties": {
  20981. "accountid": {
  20982. "description": "资金账户ID",
  20983. "type": "integer"
  20984. },
  20985. "clientticket": {
  20986. "description": "客户端流水号",
  20987. "type": "string"
  20988. },
  20989. "converttype": {
  20990. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  20991. "type": "integer"
  20992. },
  20993. "createtime": {
  20994. "description": "记账时间",
  20995. "type": "string"
  20996. },
  20997. "daymaxvalue": {
  20998. "description": "配置当日最大转入限制",
  20999. "type": "number"
  21000. },
  21001. "daymaxvalue2": {
  21002. "description": "配置当日最大转入限制(转入)",
  21003. "type": "number"
  21004. },
  21005. "goodscode": {
  21006. "description": "商品代码",
  21007. "type": "string"
  21008. },
  21009. "goodsname": {
  21010. "description": "商品名称",
  21011. "type": "string"
  21012. },
  21013. "handlestatus": {
  21014. "description": "处理状态",
  21015. "type": "integer"
  21016. },
  21017. "innergoodsid": {
  21018. "description": "内部商品ID",
  21019. "type": "integer"
  21020. },
  21021. "inratio": {
  21022. "description": "配置转入比值",
  21023. "type": "integer"
  21024. },
  21025. "invalue": {
  21026. "description": "目标值",
  21027. "type": "number"
  21028. },
  21029. "logid": {
  21030. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21031. "type": "integer"
  21032. },
  21033. "mobile": {
  21034. "description": "手机号码(加密存储)",
  21035. "type": "string"
  21036. },
  21037. "outergoodscode": {
  21038. "description": "外部商品代码[JD\\PD]",
  21039. "type": "string"
  21040. },
  21041. "outratio": {
  21042. "description": "配置转出比值",
  21043. "type": "integer"
  21044. },
  21045. "outvalue": {
  21046. "description": "源值",
  21047. "type": "number"
  21048. },
  21049. "pddecimalplace": {
  21050. "description": "PD小数位",
  21051. "type": "integer"
  21052. },
  21053. "qty": {
  21054. "description": "数量",
  21055. "type": "string"
  21056. },
  21057. "remark": {
  21058. "description": "备注",
  21059. "type": "string"
  21060. },
  21061. "sessionid": {
  21062. "description": "会话ID",
  21063. "type": "integer"
  21064. },
  21065. "timemaxvalue": {
  21066. "description": "配置单次最大转入限制",
  21067. "type": "number"
  21068. },
  21069. "timemaxvalue2": {
  21070. "description": "配置单次最大转入限制(转入)",
  21071. "type": "number"
  21072. },
  21073. "timeminvalue": {
  21074. "description": "配置单次最小数量限制",
  21075. "type": "number"
  21076. },
  21077. "timeminvalue2": {
  21078. "description": "配置单次最小数量限制(转入)",
  21079. "type": "number"
  21080. },
  21081. "tradedate": {
  21082. "description": "交易日(yyyyMMdd)",
  21083. "type": "string"
  21084. },
  21085. "userid": {
  21086. "description": "用户ID",
  21087. "type": "integer"
  21088. }
  21089. }
  21090. },
  21091. "szdz.QueryGoodsPickupRsp": {
  21092. "type": "object",
  21093. "required": [
  21094. "takeorderid"
  21095. ],
  21096. "properties": {
  21097. "accountid": {
  21098. "description": "账户ID",
  21099. "type": "integer"
  21100. },
  21101. "address": {
  21102. "description": "提货人详细地址",
  21103. "type": "string"
  21104. },
  21105. "auditer": {
  21106. "description": "审核人",
  21107. "type": "integer"
  21108. },
  21109. "audittime": {
  21110. "description": "审核时间",
  21111. "type": "string"
  21112. },
  21113. "cardnum": {
  21114. "description": "提货人证件号码",
  21115. "type": "string"
  21116. },
  21117. "cardtypeid": {
  21118. "description": "提货人证件类型",
  21119. "type": "integer"
  21120. },
  21121. "checkremark": {
  21122. "description": "审核备注",
  21123. "type": "string"
  21124. },
  21125. "goodscode": {
  21126. "description": "商品代码",
  21127. "type": "string"
  21128. },
  21129. "goodsid": {
  21130. "description": "商品ID",
  21131. "type": "integer"
  21132. },
  21133. "goodsname": {
  21134. "description": "商品名称",
  21135. "type": "string"
  21136. },
  21137. "handlestatus": {
  21138. "description": "处理状态",
  21139. "type": "integer"
  21140. },
  21141. "marketid": {
  21142. "description": "市场ID",
  21143. "type": "integer"
  21144. },
  21145. "phonenum": {
  21146. "description": "提货人联系方式",
  21147. "type": "string"
  21148. },
  21149. "qty": {
  21150. "description": "提货数量",
  21151. "type": "number"
  21152. },
  21153. "recivername": {
  21154. "description": "提货人姓名",
  21155. "type": "string"
  21156. },
  21157. "reqtime": {
  21158. "description": "更新时间",
  21159. "type": "string"
  21160. },
  21161. "takemode": {
  21162. "description": "提货方式 - 2:自提 3:配送",
  21163. "type": "integer"
  21164. },
  21165. "takeorderid": {
  21166. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  21167. "type": "string"
  21168. },
  21169. "takeorderstatus": {
  21170. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  21171. "type": "integer"
  21172. },
  21173. "takeremark": {
  21174. "description": "提货备注",
  21175. "type": "string"
  21176. },
  21177. "tradedate": {
  21178. "description": "交易日(yyyyMMdd)",
  21179. "type": "string"
  21180. },
  21181. "userid": {
  21182. "description": "用户ID",
  21183. "type": "integer"
  21184. }
  21185. }
  21186. },
  21187. "szdz.QueryRecieptOrderRsp": {
  21188. "type": "object",
  21189. "required": [
  21190. "ordertime"
  21191. ],
  21192. "properties": {
  21193. "accountName": {
  21194. "description": "所属账号名称(已脱敏)",
  21195. "type": "string"
  21196. },
  21197. "accountid": {
  21198. "description": "资金账号",
  21199. "type": "integer"
  21200. },
  21201. "buyorsell": {
  21202. "description": "方向 - 0:买 1:卖",
  21203. "type": "integer"
  21204. },
  21205. "enableqty": {
  21206. "description": "可摘数量",
  21207. "type": "integer"
  21208. },
  21209. "goodscode": {
  21210. "description": "商品代码",
  21211. "type": "string"
  21212. },
  21213. "goodsid": {
  21214. "description": "商品ID",
  21215. "type": "integer"
  21216. },
  21217. "goodsname": {
  21218. "description": "商品名称",
  21219. "type": "string"
  21220. },
  21221. "orderid": {
  21222. "description": "委托单号",
  21223. "type": "string"
  21224. },
  21225. "orderprice": {
  21226. "description": "委托价格",
  21227. "type": "number"
  21228. },
  21229. "ordertime": {
  21230. "description": "委托时间",
  21231. "type": "string"
  21232. },
  21233. "tradedate": {
  21234. "description": "交易日(yyyyMMdd)",
  21235. "type": "string"
  21236. }
  21237. }
  21238. },
  21239. "szdz.QuerySZDZTradePositionRsp": {
  21240. "type": "object",
  21241. "properties": {
  21242. "accountid": {
  21243. "description": "账号Id",
  21244. "type": "integer"
  21245. },
  21246. "agreeunit": {
  21247. "description": "合约单位",
  21248. "type": "number"
  21249. },
  21250. "averageprice": {
  21251. "description": "持仓均价",
  21252. "type": "number"
  21253. },
  21254. "buyorsell": {
  21255. "description": "方向 - 0:买 1:卖",
  21256. "type": "integer"
  21257. },
  21258. "closetotalqty": {
  21259. "description": "平仓总数量",
  21260. "type": "integer"
  21261. },
  21262. "curholderamount": {
  21263. "description": "当前持仓总金额",
  21264. "type": "number"
  21265. },
  21266. "curpositionqty": {
  21267. "description": "当前持仓总数量",
  21268. "type": "integer"
  21269. },
  21270. "currencyid": {
  21271. "description": "报价货币ID",
  21272. "type": "integer"
  21273. },
  21274. "curtdposition": {
  21275. "description": "期末今日头寸",
  21276. "type": "integer"
  21277. },
  21278. "decimalplace": {
  21279. "description": "报价小数位",
  21280. "type": "integer"
  21281. },
  21282. "enableqty": {
  21283. "description": "可用量",
  21284. "type": "integer"
  21285. },
  21286. "fretdposition": {
  21287. "description": "冻结今日头寸",
  21288. "type": "integer"
  21289. },
  21290. "frozenqty": {
  21291. "description": "持仓冻结数量",
  21292. "type": "integer"
  21293. },
  21294. "goodscode": {
  21295. "description": "商品代码(内部)",
  21296. "type": "string"
  21297. },
  21298. "goodsid": {
  21299. "description": "商品Id",
  21300. "type": "integer"
  21301. },
  21302. "goodsname": {
  21303. "description": "商品名称",
  21304. "type": "string"
  21305. },
  21306. "goodunit": {
  21307. "description": "报价单位",
  21308. "type": "string"
  21309. },
  21310. "goodunitid": {
  21311. "description": "报价单位ID",
  21312. "type": "integer"
  21313. },
  21314. "holderamount": {
  21315. "description": "期初持仓总金额",
  21316. "type": "number"
  21317. },
  21318. "marketid": {
  21319. "description": "市场ID",
  21320. "type": "integer"
  21321. },
  21322. "openreqqty": {
  21323. "description": "开仓申请数量",
  21324. "type": "integer"
  21325. },
  21326. "opentotalqty": {
  21327. "description": "开仓总数量",
  21328. "type": "integer"
  21329. },
  21330. "otherfrozenqty": {
  21331. "description": "持仓其他冻结数量(交割冻结)",
  21332. "type": "integer"
  21333. },
  21334. "positionqty": {
  21335. "description": "期初持仓数量",
  21336. "type": "integer"
  21337. },
  21338. "szdz3freezqty": {
  21339. "description": "尚志大宗转换冻结总数量",
  21340. "type": "integer"
  21341. },
  21342. "tnqty": {
  21343. "description": "T+N冻结总量",
  21344. "type": "integer"
  21345. },
  21346. "tnusedqty": {
  21347. "description": "T+N使用量",
  21348. "type": "integer"
  21349. },
  21350. "trademode": {
  21351. "description": "交易模式",
  21352. "type": "integer"
  21353. },
  21354. "usedmargin": {
  21355. "description": "占用保证金",
  21356. "type": "number"
  21357. }
  21358. }
  21359. },
  21360. "taaccount.QueryAmountLogRsp": {
  21361. "type": "object",
  21362. "required": [
  21363. "accountid",
  21364. "amount",
  21365. "amountadjusttype",
  21366. "autoid",
  21367. "balance",
  21368. "createtime",
  21369. "currentbalance",
  21370. "operatetype"
  21371. ],
  21372. "properties": {
  21373. "OPERATETYPENAME": {
  21374. "description": "资金操作类型名称",
  21375. "type": "string"
  21376. },
  21377. "accountid": {
  21378. "description": "资金账户ID",
  21379. "type": "integer"
  21380. },
  21381. "agoodscode": {
  21382. "description": "竞拍商品代码",
  21383. "type": "string"
  21384. },
  21385. "agoodsname": {
  21386. "description": "竞拍商品名称",
  21387. "type": "string"
  21388. },
  21389. "amount": {
  21390. "description": "资金金额",
  21391. "type": "number"
  21392. },
  21393. "amountadjusttype": {
  21394. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21395. "type": "integer"
  21396. },
  21397. "autoid": {
  21398. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21399. "type": "integer"
  21400. },
  21401. "balance": {
  21402. "description": "期初余额",
  21403. "type": "number"
  21404. },
  21405. "businesscode": {
  21406. "description": "业务编号",
  21407. "type": "integer"
  21408. },
  21409. "createtime": {
  21410. "description": "发生时间",
  21411. "type": "string"
  21412. },
  21413. "currencyid": {
  21414. "description": "币种ID",
  21415. "type": "integer"
  21416. },
  21417. "currentbalance": {
  21418. "description": "期末余额(变动后金额)",
  21419. "type": "number"
  21420. },
  21421. "dgoodscode": {
  21422. "description": "交割商品代码",
  21423. "type": "string"
  21424. },
  21425. "dgoodsname": {
  21426. "description": "交割商品名称",
  21427. "type": "string"
  21428. },
  21429. "goodscode": {
  21430. "description": "商品代码",
  21431. "type": "string"
  21432. },
  21433. "goodsid": {
  21434. "description": "商品ID",
  21435. "type": "integer"
  21436. },
  21437. "goodsname": {
  21438. "description": "商品名称",
  21439. "type": "string"
  21440. },
  21441. "marketid": {
  21442. "description": "市场ID",
  21443. "type": "integer"
  21444. },
  21445. "marketname": {
  21446. "description": "市场名称",
  21447. "type": "string"
  21448. },
  21449. "moneyticket": {
  21450. "description": "资金流水号:银行端流水号",
  21451. "type": "integer"
  21452. },
  21453. "operatetype": {
  21454. "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:营销收款",
  21455. "type": "integer"
  21456. },
  21457. "relationorderid": {
  21458. "description": "关联单号",
  21459. "type": "string"
  21460. },
  21461. "remark": {
  21462. "description": "备注",
  21463. "type": "string"
  21464. },
  21465. "trademode": {
  21466. "description": "交易模式",
  21467. "type": "integer"
  21468. }
  21469. }
  21470. },
  21471. "taaccount.QueryHisAmountLogRsp": {
  21472. "type": "object",
  21473. "required": [
  21474. "accountid",
  21475. "amount",
  21476. "amountadjusttype",
  21477. "autoid",
  21478. "balance",
  21479. "createtime",
  21480. "currentbalance",
  21481. "histradedate",
  21482. "operatetype"
  21483. ],
  21484. "properties": {
  21485. "OPERATETYPENAME": {
  21486. "description": "资金操作类型名称",
  21487. "type": "string"
  21488. },
  21489. "accountid": {
  21490. "description": "资金账户ID",
  21491. "type": "integer"
  21492. },
  21493. "agoodscode": {
  21494. "description": "竞拍商品代码",
  21495. "type": "string"
  21496. },
  21497. "agoodsname": {
  21498. "description": "竞拍商品名称",
  21499. "type": "string"
  21500. },
  21501. "amount": {
  21502. "description": "资金金额",
  21503. "type": "number"
  21504. },
  21505. "amountadjusttype": {
  21506. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  21507. "type": "integer"
  21508. },
  21509. "autoid": {
  21510. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  21511. "type": "integer"
  21512. },
  21513. "balance": {
  21514. "description": "期初余额",
  21515. "type": "number"
  21516. },
  21517. "businesscode": {
  21518. "description": "业务编号",
  21519. "type": "integer"
  21520. },
  21521. "createtime": {
  21522. "description": "发生时间",
  21523. "type": "string"
  21524. },
  21525. "currencyid": {
  21526. "description": "币种ID",
  21527. "type": "integer"
  21528. },
  21529. "currentbalance": {
  21530. "description": "期末余额(变动后金额)",
  21531. "type": "number"
  21532. },
  21533. "dgoodscode": {
  21534. "description": "交割商品代码",
  21535. "type": "string"
  21536. },
  21537. "dgoodsname": {
  21538. "description": "交割商品名称",
  21539. "type": "string"
  21540. },
  21541. "goodscode": {
  21542. "description": "商品代码",
  21543. "type": "string"
  21544. },
  21545. "goodsid": {
  21546. "description": "商品ID",
  21547. "type": "integer"
  21548. },
  21549. "goodsname": {
  21550. "description": "商品名称",
  21551. "type": "string"
  21552. },
  21553. "histradedate": {
  21554. "description": "历史交易日",
  21555. "type": "string"
  21556. },
  21557. "isvaliddata": {
  21558. "description": "是否有效 - 0:无效 1:有效",
  21559. "type": "integer"
  21560. },
  21561. "marketid": {
  21562. "description": "市场ID",
  21563. "type": "integer"
  21564. },
  21565. "marketname": {
  21566. "description": "市场名称",
  21567. "type": "string"
  21568. },
  21569. "moneyticket": {
  21570. "description": "资金流水号:银行端流水号",
  21571. "type": "integer"
  21572. },
  21573. "operatetype": {
  21574. "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:营销收款",
  21575. "type": "integer"
  21576. },
  21577. "relationorderid": {
  21578. "description": "关联单号",
  21579. "type": "string"
  21580. },
  21581. "remark": {
  21582. "description": "备注",
  21583. "type": "string"
  21584. },
  21585. "trademode": {
  21586. "description": "交易模式",
  21587. "type": "integer"
  21588. }
  21589. }
  21590. },
  21591. "trade.QueryRecieptOrderRsp": {
  21592. "type": "object",
  21593. "required": [
  21594. "ordertime"
  21595. ],
  21596. "properties": {
  21597. "accountName": {
  21598. "description": "所属账号名称(已脱敏)",
  21599. "type": "string"
  21600. },
  21601. "accountid": {
  21602. "description": "资金账号",
  21603. "type": "integer"
  21604. },
  21605. "buyorsell": {
  21606. "description": "方向 - 0:买 1:卖",
  21607. "type": "integer"
  21608. },
  21609. "enableqty": {
  21610. "description": "可摘数量",
  21611. "type": "integer"
  21612. },
  21613. "goodscode": {
  21614. "description": "商品代码",
  21615. "type": "string"
  21616. },
  21617. "goodsid": {
  21618. "description": "商品ID",
  21619. "type": "integer"
  21620. },
  21621. "goodsname": {
  21622. "description": "商品名称",
  21623. "type": "string"
  21624. },
  21625. "orderid": {
  21626. "description": "委托单号",
  21627. "type": "string"
  21628. },
  21629. "orderprice": {
  21630. "description": "委托价格",
  21631. "type": "number"
  21632. },
  21633. "ordertime": {
  21634. "description": "委托时间",
  21635. "type": "string"
  21636. },
  21637. "tradedate": {
  21638. "description": "交易日(yyyyMMdd)",
  21639. "type": "string"
  21640. }
  21641. }
  21642. },
  21643. "user.LoginQueryRsp": {
  21644. "type": "object",
  21645. "properties": {
  21646. "externalExchanges": {
  21647. "description": "外部交易所",
  21648. "type": "array",
  21649. "items": {
  21650. "$ref": "#/definitions/models.Externalexchange"
  21651. }
  21652. },
  21653. "goodsgroups": {
  21654. "description": "商品组",
  21655. "type": "array",
  21656. "items": {
  21657. "$ref": "#/definitions/models.Goodsgroup"
  21658. }
  21659. },
  21660. "loginAccount": {
  21661. "description": "登录账号",
  21662. "type": "object",
  21663. "$ref": "#/definitions/models.Loginaccount"
  21664. },
  21665. "markets": {
  21666. "description": "市场",
  21667. "type": "array",
  21668. "items": {
  21669. "$ref": "#/definitions/models.Market"
  21670. }
  21671. },
  21672. "systemParams": {
  21673. "description": "系统参数",
  21674. "type": "array",
  21675. "items": {
  21676. "$ref": "#/definitions/models.Systemparam"
  21677. }
  21678. },
  21679. "userAccount": {
  21680. "description": "用户账号",
  21681. "type": "object",
  21682. "$ref": "#/definitions/models.Useraccount"
  21683. },
  21684. "userInfo": {
  21685. "description": "用户信息",
  21686. "type": "object",
  21687. "$ref": "#/definitions/models.Userinfo"
  21688. },
  21689. "username": {
  21690. "description": "用户姓名",
  21691. "type": "string"
  21692. }
  21693. }
  21694. }
  21695. },
  21696. "securityDefinitions": {
  21697. "ApiKeyAuth": {
  21698. "type": "apiKey",
  21699. "name": "Authorization",
  21700. "in": "header"
  21701. }
  21702. }
  21703. }