swagger.json 612 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  358. "produces": [
  359. "application/json"
  360. ],
  361. "tags": [
  362. "通用服务"
  363. ],
  364. "summary": "获取所有枚举信息",
  365. "parameters": [
  366. {
  367. "type": "integer",
  368. "description": "起始自增ID",
  369. "name": "autoid",
  370. "in": "query"
  371. }
  372. ],
  373. "responses": {
  374. "200": {
  375. "description": "OK",
  376. "schema": {
  377. "$ref": "#/definitions/models.Enumdicitem"
  378. }
  379. },
  380. "500": {
  381. "description": "Internal Server Error",
  382. "schema": {
  383. "$ref": "#/definitions/app.Response"
  384. }
  385. }
  386. }
  387. }
  388. },
  389. "/Common/GetDivisions": {
  390. "get": {
  391. "produces": [
  392. "application/json"
  393. ],
  394. "tags": [
  395. "通用服务"
  396. ],
  397. "summary": "查询区域信息",
  398. "responses": {
  399. "200": {
  400. "description": "OK",
  401. "schema": {
  402. "$ref": "#/definitions/models.Division"
  403. }
  404. },
  405. "500": {
  406. "description": "Internal Server Error",
  407. "schema": {
  408. "$ref": "#/definitions/app.Response"
  409. }
  410. }
  411. }
  412. }
  413. },
  414. "/Common/GetServerTime": {
  415. "get": {
  416. "produces": [
  417. "application/json"
  418. ],
  419. "tags": [
  420. "通用服务"
  421. ],
  422. "summary": "获取服务器时间",
  423. "responses": {
  424. "200": {
  425. "description": "OK",
  426. "schema": {
  427. "$ref": "#/definitions/app.Response"
  428. }
  429. },
  430. "500": {
  431. "description": "Internal Server Error",
  432. "schema": {
  433. "$ref": "#/definitions/app.Response"
  434. }
  435. }
  436. }
  437. }
  438. },
  439. "/Common/NoticeReaded": {
  440. "post": {
  441. "security": [
  442. {
  443. "ApiKeyAuth": []
  444. }
  445. ],
  446. "produces": [
  447. "application/json"
  448. ],
  449. "tags": [
  450. "通用服务"
  451. ],
  452. "summary": "通知公告设置已读请求",
  453. "parameters": [
  454. {
  455. "type": "integer",
  456. "description": "登录账号",
  457. "name": "loginID",
  458. "in": "query",
  459. "required": true
  460. },
  461. {
  462. "type": "integer",
  463. "description": "通知公告ID",
  464. "name": "noticeID",
  465. "in": "query",
  466. "required": true
  467. }
  468. ],
  469. "responses": {
  470. "200": {
  471. "description": "OK",
  472. "schema": {
  473. "$ref": "#/definitions/app.Response"
  474. }
  475. },
  476. "500": {
  477. "description": "Internal Server Error",
  478. "schema": {
  479. "$ref": "#/definitions/app.Response"
  480. }
  481. }
  482. }
  483. }
  484. },
  485. "/Common/QueryErrorInfos": {
  486. "get": {
  487. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  488. "produces": [
  489. "application/json"
  490. ],
  491. "tags": [
  492. "通用服务"
  493. ],
  494. "summary": "获取数据库错误信息",
  495. "parameters": [
  496. {
  497. "type": "string",
  498. "description": "起始行号前索引",
  499. "name": "rowNumber",
  500. "in": "query"
  501. }
  502. ],
  503. "responses": {
  504. "200": {
  505. "description": "OK",
  506. "schema": {
  507. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  508. }
  509. },
  510. "500": {
  511. "description": "Internal Server Error",
  512. "schema": {
  513. "$ref": "#/definitions/app.Response"
  514. }
  515. }
  516. }
  517. }
  518. },
  519. "/Common/QueryImageConfigs": {
  520. "get": {
  521. "produces": [
  522. "application/json"
  523. ],
  524. "tags": [
  525. "通用服务"
  526. ],
  527. "summary": "查询轮播图配置信息",
  528. "parameters": [
  529. {
  530. "type": "integer",
  531. "description": "类型 - 1:App首页轮播 2:我的",
  532. "name": "imageType",
  533. "in": "query"
  534. }
  535. ],
  536. "responses": {
  537. "200": {
  538. "description": "OK",
  539. "schema": {
  540. "$ref": "#/definitions/models.Szdz2imageconfig"
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/QueryNotice": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "通知公告系统消息查询",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "页码",
  570. "name": "page",
  571. "in": "query"
  572. },
  573. {
  574. "type": "integer",
  575. "description": "每页条数",
  576. "name": "pagesize",
  577. "in": "query"
  578. },
  579. {
  580. "type": "integer",
  581. "description": "登录账号",
  582. "name": "loginID",
  583. "in": "query",
  584. "required": true
  585. },
  586. {
  587. "type": "integer",
  588. "description": "消息类型 - 1:公告通知 2:系统消息",
  589. "name": "msgType",
  590. "in": "query"
  591. },
  592. {
  593. "type": "boolean",
  594. "description": "是否只获取未读信息",
  595. "name": "onlyUnRead",
  596. "in": "query"
  597. }
  598. ],
  599. "responses": {
  600. "200": {
  601. "description": "OK",
  602. "schema": {
  603. "$ref": "#/definitions/common.QueryNoticeRsp"
  604. }
  605. },
  606. "500": {
  607. "description": "Internal Server Error",
  608. "schema": {
  609. "$ref": "#/definitions/app.Response"
  610. }
  611. }
  612. }
  613. }
  614. },
  615. "/Common/QueryProvincesAndCities": {
  616. "get": {
  617. "produces": [
  618. "application/json"
  619. ],
  620. "tags": [
  621. "通用服务"
  622. ],
  623. "summary": "查询省市信息(不包括区)",
  624. "parameters": [
  625. {
  626. "type": "integer",
  627. "description": "省ID",
  628. "name": "provinceID",
  629. "in": "query"
  630. }
  631. ],
  632. "responses": {
  633. "200": {
  634. "description": "OK",
  635. "schema": {
  636. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  637. }
  638. },
  639. "500": {
  640. "description": "Internal Server Error",
  641. "schema": {
  642. "$ref": "#/definitions/app.Response"
  643. }
  644. }
  645. }
  646. }
  647. },
  648. "/Common/QueryTableDefine": {
  649. "get": {
  650. "produces": [
  651. "application/json"
  652. ],
  653. "tags": [
  654. "通用服务"
  655. ],
  656. "summary": "查询交易端列表头信息",
  657. "parameters": [
  658. {
  659. "type": "string",
  660. "description": "表key",
  661. "name": "tableKey",
  662. "in": "query"
  663. },
  664. {
  665. "type": "integer",
  666. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  667. "name": "tableType",
  668. "in": "query"
  669. }
  670. ],
  671. "responses": {
  672. "200": {
  673. "description": "OK",
  674. "schema": {
  675. "$ref": "#/definitions/common.QueryTableDefineRsp"
  676. }
  677. },
  678. "500": {
  679. "description": "Internal Server Error",
  680. "schema": {
  681. "$ref": "#/definitions/app.Response"
  682. }
  683. }
  684. }
  685. }
  686. },
  687. "/Common/QueryTraderMenu": {
  688. "get": {
  689. "produces": [
  690. "application/json"
  691. ],
  692. "tags": [
  693. "通用服务"
  694. ],
  695. "summary": "查询交易端菜单",
  696. "parameters": [
  697. {
  698. "type": "integer",
  699. "description": "登录账号",
  700. "name": "loginid",
  701. "in": "query",
  702. "required": true
  703. }
  704. ],
  705. "responses": {
  706. "200": {
  707. "description": "OK",
  708. "schema": {
  709. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  710. }
  711. },
  712. "500": {
  713. "description": "Internal Server Error",
  714. "schema": {
  715. "$ref": "#/definitions/app.Response"
  716. }
  717. }
  718. }
  719. }
  720. },
  721. "/Delivery/QueryDeliveryRelation": {
  722. "get": {
  723. "security": [
  724. {
  725. "ApiKeyAuth": []
  726. }
  727. ],
  728. "produces": [
  729. "application/json"
  730. ],
  731. "tags": [
  732. "交割服务"
  733. ],
  734. "summary": "查询商品交割关系表",
  735. "parameters": [
  736. {
  737. "type": "integer",
  738. "description": "商品ID",
  739. "name": "goodsid",
  740. "in": "query"
  741. },
  742. {
  743. "type": "integer",
  744. "description": "品种ID",
  745. "name": "deliverygoodsid",
  746. "in": "query"
  747. },
  748. {
  749. "type": "integer",
  750. "description": "市场ID",
  751. "name": "marketid",
  752. "in": "query"
  753. }
  754. ],
  755. "responses": {
  756. "200": {
  757. "description": "OK",
  758. "schema": {
  759. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  760. }
  761. },
  762. "500": {
  763. "description": "Internal Server Error",
  764. "schema": {
  765. "$ref": "#/definitions/app.Response"
  766. }
  767. }
  768. }
  769. }
  770. },
  771. "/Ermcp/GetErmcpGoods": {
  772. "get": {
  773. "security": [
  774. {
  775. "ApiKeyAuth": []
  776. }
  777. ],
  778. "produces": [
  779. "application/json"
  780. ],
  781. "tags": [
  782. "企业风险管理(app)"
  783. ],
  784. "summary": "查询企业风管期货商品信息",
  785. "parameters": [
  786. {
  787. "type": "integer",
  788. "description": "已存末尾商品编号",
  789. "name": "lastID",
  790. "in": "query"
  791. }
  792. ],
  793. "responses": {
  794. "200": {
  795. "description": "OK",
  796. "schema": {
  797. "$ref": "#/definitions/models.Goods"
  798. }
  799. },
  800. "500": {
  801. "description": "Internal Server Error",
  802. "schema": {
  803. "$ref": "#/definitions/app.Response"
  804. }
  805. }
  806. }
  807. }
  808. },
  809. "/Ermcp/QryReportDayExposure": {
  810. "get": {
  811. "security": [
  812. {
  813. "ApiKeyAuth": []
  814. }
  815. ],
  816. "produces": [
  817. "application/json"
  818. ],
  819. "tags": [
  820. "企业风险管理(app)"
  821. ],
  822. "summary": "查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)",
  823. "parameters": [
  824. {
  825. "type": "integer",
  826. "description": "用户ID",
  827. "name": "userid",
  828. "in": "query",
  829. "required": true
  830. },
  831. {
  832. "type": "string",
  833. "description": "交易日(格式:yyyyMMdd)",
  834. "name": "tradedate",
  835. "in": "query",
  836. "required": true
  837. }
  838. ],
  839. "responses": {
  840. "200": {
  841. "description": "OK",
  842. "schema": {
  843. "type": "array",
  844. "items": {
  845. "$ref": "#/definitions/ermcp.QryReportExposureDayRsp"
  846. }
  847. }
  848. },
  849. "500": {
  850. "description": "Internal Server Error",
  851. "schema": {
  852. "$ref": "#/definitions/app.Response"
  853. }
  854. }
  855. }
  856. }
  857. },
  858. "/Ermcp/QryReportDayFinance": {
  859. "get": {
  860. "security": [
  861. {
  862. "ApiKeyAuth": []
  863. }
  864. ],
  865. "produces": [
  866. "application/json"
  867. ],
  868. "tags": [
  869. "企业风险管理(app)"
  870. ],
  871. "summary": "查询财务日报表(菜单:报表查询/财务报表/日报表)",
  872. "parameters": [
  873. {
  874. "type": "integer",
  875. "description": "用户ID",
  876. "name": "userid",
  877. "in": "query",
  878. "required": true
  879. },
  880. {
  881. "type": "string",
  882. "description": "交易日(格式:yyyyMMdd)",
  883. "name": "tradedate",
  884. "in": "query",
  885. "required": true
  886. }
  887. ],
  888. "responses": {
  889. "200": {
  890. "description": "OK",
  891. "schema": {
  892. "type": "array",
  893. "items": {
  894. "$ref": "#/definitions/ermcp.QryReportFinanceDayRsp"
  895. }
  896. }
  897. },
  898. "500": {
  899. "description": "Internal Server Error",
  900. "schema": {
  901. "$ref": "#/definitions/app.Response"
  902. }
  903. }
  904. }
  905. }
  906. },
  907. "/Ermcp/QryReportDayFinanceFp": {
  908. "get": {
  909. "security": [
  910. {
  911. "ApiKeyAuth": []
  912. }
  913. ],
  914. "produces": [
  915. "application/json"
  916. ],
  917. "tags": [
  918. "企业风险管理(app)"
  919. ],
  920. "summary": "查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)",
  921. "parameters": [
  922. {
  923. "type": "integer",
  924. "description": "用户ID",
  925. "name": "userid",
  926. "in": "query",
  927. "required": true
  928. },
  929. {
  930. "type": "string",
  931. "description": "交易日(格式:yyyyMMdd)",
  932. "name": "tradedate",
  933. "in": "query",
  934. "required": true
  935. }
  936. ],
  937. "responses": {
  938. "200": {
  939. "description": "OK",
  940. "schema": {
  941. "type": "array",
  942. "items": {
  943. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  944. }
  945. }
  946. },
  947. "500": {
  948. "description": "Internal Server Error",
  949. "schema": {
  950. "$ref": "#/definitions/app.Response"
  951. }
  952. }
  953. }
  954. }
  955. },
  956. "/Ermcp/QryReportDayFinanceKx": {
  957. "get": {
  958. "security": [
  959. {
  960. "ApiKeyAuth": []
  961. }
  962. ],
  963. "produces": [
  964. "application/json"
  965. ],
  966. "tags": [
  967. "企业风险管理(app)"
  968. ],
  969. "summary": "查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)",
  970. "parameters": [
  971. {
  972. "type": "integer",
  973. "description": "用户ID",
  974. "name": "userid",
  975. "in": "query",
  976. "required": true
  977. },
  978. {
  979. "type": "string",
  980. "description": "交易日(格式:yyyyMMdd)",
  981. "name": "tradedate",
  982. "in": "query",
  983. "required": true
  984. }
  985. ],
  986. "responses": {
  987. "200": {
  988. "description": "OK",
  989. "schema": {
  990. "type": "array",
  991. "items": {
  992. "$ref": "#/definitions/ermcp.QryReportFinanceKxRsp"
  993. }
  994. }
  995. },
  996. "500": {
  997. "description": "Internal Server Error",
  998. "schema": {
  999. "$ref": "#/definitions/app.Response"
  1000. }
  1001. }
  1002. }
  1003. }
  1004. },
  1005. "/Ermcp/QryReportDaySpot": {
  1006. "get": {
  1007. "security": [
  1008. {
  1009. "ApiKeyAuth": []
  1010. }
  1011. ],
  1012. "produces": [
  1013. "application/json"
  1014. ],
  1015. "tags": [
  1016. "企业风险管理(app)"
  1017. ],
  1018. "summary": "查询现货日报表(菜单:报表查询/现货报表/现货日报表)",
  1019. "parameters": [
  1020. {
  1021. "type": "integer",
  1022. "description": "用户ID",
  1023. "name": "userid",
  1024. "in": "query",
  1025. "required": true
  1026. },
  1027. {
  1028. "type": "string",
  1029. "description": "交易日(格式:yyyyMMdd)",
  1030. "name": "tradedate",
  1031. "in": "query",
  1032. "required": true
  1033. }
  1034. ],
  1035. "responses": {
  1036. "200": {
  1037. "description": "OK",
  1038. "schema": {
  1039. "type": "array",
  1040. "items": {
  1041. "$ref": "#/definitions/ermcp.QryReportSpotDayRsp"
  1042. }
  1043. }
  1044. },
  1045. "500": {
  1046. "description": "Internal Server Error",
  1047. "schema": {
  1048. "$ref": "#/definitions/app.Response"
  1049. }
  1050. }
  1051. }
  1052. }
  1053. },
  1054. "/Ermcp/QryReportDaySpotDetail": {
  1055. "get": {
  1056. "security": [
  1057. {
  1058. "ApiKeyAuth": []
  1059. }
  1060. ],
  1061. "produces": [
  1062. "application/json"
  1063. ],
  1064. "tags": [
  1065. "企业风险管理(app)"
  1066. ],
  1067. "summary": "查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)",
  1068. "parameters": [
  1069. {
  1070. "type": "integer",
  1071. "description": "用户ID",
  1072. "name": "userid",
  1073. "in": "query",
  1074. "required": true
  1075. },
  1076. {
  1077. "type": "integer",
  1078. "description": "现货商品id",
  1079. "name": "wrstandardid",
  1080. "in": "query",
  1081. "required": true
  1082. },
  1083. {
  1084. "type": "string",
  1085. "description": "交易日(格式:yyyyMMdd)",
  1086. "name": "tradedate",
  1087. "in": "query",
  1088. "required": true
  1089. }
  1090. ],
  1091. "responses": {
  1092. "200": {
  1093. "description": "OK",
  1094. "schema": {
  1095. "type": "array",
  1096. "items": {
  1097. "$ref": "#/definitions/ermcp.QryReportDaySpotDetailRsp"
  1098. }
  1099. }
  1100. },
  1101. "500": {
  1102. "description": "Internal Server Error",
  1103. "schema": {
  1104. "$ref": "#/definitions/app.Response"
  1105. }
  1106. }
  1107. }
  1108. }
  1109. },
  1110. "/Ermcp/QryReportMonthFinance": {
  1111. "get": {
  1112. "security": [
  1113. {
  1114. "ApiKeyAuth": []
  1115. }
  1116. ],
  1117. "produces": [
  1118. "application/json"
  1119. ],
  1120. "tags": [
  1121. "企业风险管理(app)"
  1122. ],
  1123. "summary": "查询财务月报表(菜单:报表查询/财务报表/月报表)",
  1124. "parameters": [
  1125. {
  1126. "type": "integer",
  1127. "description": "用户ID",
  1128. "name": "userid",
  1129. "in": "query",
  1130. "required": true
  1131. },
  1132. {
  1133. "type": "string",
  1134. "description": "周期时间:月(格式:yyyyMM)",
  1135. "name": "cycletime",
  1136. "in": "query",
  1137. "required": true
  1138. }
  1139. ],
  1140. "responses": {
  1141. "200": {
  1142. "description": "OK",
  1143. "schema": {
  1144. "type": "array",
  1145. "items": {
  1146. "$ref": "#/definitions/ermcp.QryReportFinanceMonRsp"
  1147. }
  1148. }
  1149. },
  1150. "500": {
  1151. "description": "Internal Server Error",
  1152. "schema": {
  1153. "$ref": "#/definitions/app.Response"
  1154. }
  1155. }
  1156. }
  1157. }
  1158. },
  1159. "/Ermcp/QryReportMonthSpot": {
  1160. "get": {
  1161. "security": [
  1162. {
  1163. "ApiKeyAuth": []
  1164. }
  1165. ],
  1166. "produces": [
  1167. "application/json"
  1168. ],
  1169. "tags": [
  1170. "企业风险管理(app)"
  1171. ],
  1172. "summary": "查询现货月报表(菜单:报表查询/现货报表/现货月报表)",
  1173. "parameters": [
  1174. {
  1175. "type": "integer",
  1176. "description": "用户ID",
  1177. "name": "userid",
  1178. "in": "query",
  1179. "required": true
  1180. },
  1181. {
  1182. "type": "string",
  1183. "description": "周期时间:月(格式:yyyyMM)",
  1184. "name": "cycletime",
  1185. "in": "query",
  1186. "required": true
  1187. }
  1188. ],
  1189. "responses": {
  1190. "200": {
  1191. "description": "OK",
  1192. "schema": {
  1193. "type": "array",
  1194. "items": {
  1195. "$ref": "#/definitions/ermcp.QryReportSpotMonRsp"
  1196. }
  1197. }
  1198. },
  1199. "500": {
  1200. "description": "Internal Server Error",
  1201. "schema": {
  1202. "$ref": "#/definitions/app.Response"
  1203. }
  1204. }
  1205. }
  1206. }
  1207. },
  1208. "/Ermcp/QryReportMonthSpotDetail": {
  1209. "get": {
  1210. "security": [
  1211. {
  1212. "ApiKeyAuth": []
  1213. }
  1214. ],
  1215. "produces": [
  1216. "application/json"
  1217. ],
  1218. "tags": [
  1219. "企业风险管理(app)"
  1220. ],
  1221. "summary": "查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)",
  1222. "parameters": [
  1223. {
  1224. "type": "integer",
  1225. "description": "用户ID",
  1226. "name": "userid",
  1227. "in": "query",
  1228. "required": true
  1229. },
  1230. {
  1231. "type": "integer",
  1232. "description": "现货商品id",
  1233. "name": "wrstandardid",
  1234. "in": "query",
  1235. "required": true
  1236. },
  1237. {
  1238. "type": "string",
  1239. "description": "周期时间:月(格式:yyyyMM)",
  1240. "name": "cycletime",
  1241. "in": "query",
  1242. "required": true
  1243. }
  1244. ],
  1245. "responses": {
  1246. "200": {
  1247. "description": "OK",
  1248. "schema": {
  1249. "type": "array",
  1250. "items": {
  1251. "$ref": "#/definitions/ermcp.QryReportSpotMonthDetailRsp"
  1252. }
  1253. }
  1254. },
  1255. "500": {
  1256. "description": "Internal Server Error",
  1257. "schema": {
  1258. "$ref": "#/definitions/app.Response"
  1259. }
  1260. }
  1261. }
  1262. }
  1263. },
  1264. "/Ermcp/QueryAvaildGoodsGroup": {
  1265. "get": {
  1266. "security": [
  1267. {
  1268. "ApiKeyAuth": []
  1269. }
  1270. ],
  1271. "produces": [
  1272. "application/json"
  1273. ],
  1274. "tags": [
  1275. "企业风险管理(app)"
  1276. ],
  1277. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1278. "parameters": [
  1279. {
  1280. "type": "integer",
  1281. "description": "所属机构ID",
  1282. "name": "userid",
  1283. "in": "query",
  1284. "required": true
  1285. }
  1286. ],
  1287. "responses": {
  1288. "200": {
  1289. "description": "OK",
  1290. "schema": {
  1291. "type": "array",
  1292. "items": {
  1293. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1294. }
  1295. }
  1296. },
  1297. "500": {
  1298. "description": "Internal Server Error",
  1299. "schema": {
  1300. "$ref": "#/definitions/app.Response"
  1301. }
  1302. }
  1303. }
  1304. }
  1305. },
  1306. "/Ermcp/QueryBusinessDj": {
  1307. "get": {
  1308. "security": [
  1309. {
  1310. "ApiKeyAuth": []
  1311. }
  1312. ],
  1313. "produces": [
  1314. "application/json"
  1315. ],
  1316. "tags": [
  1317. "企业风险管理(app)"
  1318. ],
  1319. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1320. "parameters": [
  1321. {
  1322. "type": "integer",
  1323. "description": "用户ID",
  1324. "name": "UserId",
  1325. "in": "query",
  1326. "required": true
  1327. },
  1328. {
  1329. "type": "string",
  1330. "description": "现货合同ID, 不填则查所有",
  1331. "name": "relatedid",
  1332. "in": "query"
  1333. }
  1334. ],
  1335. "responses": {
  1336. "200": {
  1337. "description": "OK",
  1338. "schema": {
  1339. "type": "array",
  1340. "items": {
  1341. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1342. }
  1343. }
  1344. },
  1345. "500": {
  1346. "description": "Internal Server Error",
  1347. "schema": {
  1348. "$ref": "#/definitions/app.Response"
  1349. }
  1350. }
  1351. }
  1352. }
  1353. },
  1354. "/Ermcp/QueryBusinessFp": {
  1355. "get": {
  1356. "security": [
  1357. {
  1358. "ApiKeyAuth": []
  1359. }
  1360. ],
  1361. "produces": [
  1362. "application/json"
  1363. ],
  1364. "tags": [
  1365. "企业风险管理(app)"
  1366. ],
  1367. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1368. "parameters": [
  1369. {
  1370. "type": "integer",
  1371. "description": "用户ID",
  1372. "name": "UserId",
  1373. "in": "query",
  1374. "required": true
  1375. },
  1376. {
  1377. "type": "string",
  1378. "description": "现货合同ID, 不填则查所有",
  1379. "name": "relatedid",
  1380. "in": "query"
  1381. }
  1382. ],
  1383. "responses": {
  1384. "200": {
  1385. "description": "OK",
  1386. "schema": {
  1387. "type": "array",
  1388. "items": {
  1389. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1390. }
  1391. }
  1392. },
  1393. "500": {
  1394. "description": "Internal Server Error",
  1395. "schema": {
  1396. "$ref": "#/definitions/app.Response"
  1397. }
  1398. }
  1399. }
  1400. }
  1401. },
  1402. "/Ermcp/QueryBusinessJs": {
  1403. "get": {
  1404. "security": [
  1405. {
  1406. "ApiKeyAuth": []
  1407. }
  1408. ],
  1409. "produces": [
  1410. "application/json"
  1411. ],
  1412. "tags": [
  1413. "企业风险管理(app)"
  1414. ],
  1415. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1416. "parameters": [
  1417. {
  1418. "type": "integer",
  1419. "description": "用户ID",
  1420. "name": "UserId",
  1421. "in": "query",
  1422. "required": true
  1423. },
  1424. {
  1425. "type": "string",
  1426. "description": "现货合同ID, 不填则查所有",
  1427. "name": "relatedid",
  1428. "in": "query"
  1429. }
  1430. ],
  1431. "responses": {
  1432. "200": {
  1433. "description": "OK",
  1434. "schema": {
  1435. "type": "array",
  1436. "items": {
  1437. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1438. }
  1439. }
  1440. },
  1441. "500": {
  1442. "description": "Internal Server Error",
  1443. "schema": {
  1444. "$ref": "#/definitions/app.Response"
  1445. }
  1446. }
  1447. }
  1448. }
  1449. },
  1450. "/Ermcp/QueryBusinessJsEx": {
  1451. "get": {
  1452. "security": [
  1453. {
  1454. "ApiKeyAuth": []
  1455. }
  1456. ],
  1457. "produces": [
  1458. "application/json"
  1459. ],
  1460. "tags": [
  1461. "企业风险管理(app)"
  1462. ],
  1463. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1464. "parameters": [
  1465. {
  1466. "type": "integer",
  1467. "description": "用户ID",
  1468. "name": "UserId",
  1469. "in": "query",
  1470. "required": true
  1471. },
  1472. {
  1473. "type": "string",
  1474. "description": "现货合同ID, 不填则查所有",
  1475. "name": "relatedid",
  1476. "in": "query"
  1477. }
  1478. ],
  1479. "responses": {
  1480. "200": {
  1481. "description": "OK",
  1482. "schema": {
  1483. "type": "array",
  1484. "items": {
  1485. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1486. }
  1487. }
  1488. },
  1489. "500": {
  1490. "description": "Internal Server Error",
  1491. "schema": {
  1492. "$ref": "#/definitions/app.Response"
  1493. }
  1494. }
  1495. }
  1496. }
  1497. },
  1498. "/Ermcp/QueryBusinessKx": {
  1499. "get": {
  1500. "security": [
  1501. {
  1502. "ApiKeyAuth": []
  1503. }
  1504. ],
  1505. "produces": [
  1506. "application/json"
  1507. ],
  1508. "tags": [
  1509. "企业风险管理(app)"
  1510. ],
  1511. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1512. "parameters": [
  1513. {
  1514. "type": "integer",
  1515. "description": "用户ID",
  1516. "name": "UserId",
  1517. "in": "query",
  1518. "required": true
  1519. },
  1520. {
  1521. "type": "string",
  1522. "description": "现货合同ID, 不填则查所有",
  1523. "name": "relatedid",
  1524. "in": "query"
  1525. }
  1526. ],
  1527. "responses": {
  1528. "200": {
  1529. "description": "OK",
  1530. "schema": {
  1531. "type": "array",
  1532. "items": {
  1533. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  1534. }
  1535. }
  1536. },
  1537. "500": {
  1538. "description": "Internal Server Error",
  1539. "schema": {
  1540. "$ref": "#/definitions/app.Response"
  1541. }
  1542. }
  1543. }
  1544. }
  1545. },
  1546. "/Ermcp/QueryChangeLog": {
  1547. "get": {
  1548. "security": [
  1549. {
  1550. "ApiKeyAuth": []
  1551. }
  1552. ],
  1553. "produces": [
  1554. "application/json"
  1555. ],
  1556. "tags": [
  1557. "企业风险管理(app)"
  1558. ],
  1559. "summary": "查询变更记录",
  1560. "parameters": [
  1561. {
  1562. "type": "string",
  1563. "description": "用户ID",
  1564. "name": "RelatedId",
  1565. "in": "query",
  1566. "required": true
  1567. }
  1568. ],
  1569. "responses": {
  1570. "200": {
  1571. "description": "OK",
  1572. "schema": {
  1573. "type": "array",
  1574. "items": {
  1575. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  1576. }
  1577. }
  1578. },
  1579. "500": {
  1580. "description": "Internal Server Error",
  1581. "schema": {
  1582. "$ref": "#/definitions/app.Response"
  1583. }
  1584. }
  1585. }
  1586. }
  1587. },
  1588. "/Ermcp/QueryContract": {
  1589. "get": {
  1590. "security": [
  1591. {
  1592. "ApiKeyAuth": []
  1593. }
  1594. ],
  1595. "produces": [
  1596. "application/json"
  1597. ],
  1598. "tags": [
  1599. "企业风险管理(app)"
  1600. ],
  1601. "summary": "查询合同(采购和销售)",
  1602. "parameters": [
  1603. {
  1604. "type": "integer",
  1605. "description": "用户ID",
  1606. "name": "userId",
  1607. "in": "query",
  1608. "required": true
  1609. },
  1610. {
  1611. "type": "integer",
  1612. "description": "合同类型 1-采购, -1-销售",
  1613. "name": "contracttype",
  1614. "in": "query",
  1615. "required": true
  1616. },
  1617. {
  1618. "type": "integer",
  1619. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  1620. "name": "querytype",
  1621. "in": "query",
  1622. "required": true
  1623. }
  1624. ],
  1625. "responses": {
  1626. "200": {
  1627. "description": "OK",
  1628. "schema": {
  1629. "type": "array",
  1630. "items": {
  1631. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  1632. }
  1633. }
  1634. },
  1635. "500": {
  1636. "description": "Internal Server Error",
  1637. "schema": {
  1638. "$ref": "#/definitions/app.Response"
  1639. }
  1640. }
  1641. }
  1642. }
  1643. },
  1644. "/Ermcp/QueryExposureDetail": {
  1645. "get": {
  1646. "security": [
  1647. {
  1648. "ApiKeyAuth": []
  1649. }
  1650. ],
  1651. "produces": [
  1652. "application/json"
  1653. ],
  1654. "tags": [
  1655. "企业风险管理(app)"
  1656. ],
  1657. "summary": "查询敞口现货明细",
  1658. "parameters": [
  1659. {
  1660. "type": "integer",
  1661. "description": "所属机构ID",
  1662. "name": "areaUserId",
  1663. "in": "query",
  1664. "required": true
  1665. },
  1666. {
  1667. "type": "integer",
  1668. "description": "套保商品",
  1669. "name": "middleGoodsId",
  1670. "in": "query",
  1671. "required": true
  1672. }
  1673. ],
  1674. "responses": {
  1675. "200": {
  1676. "description": "OK",
  1677. "schema": {
  1678. "type": "array",
  1679. "items": {
  1680. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1681. }
  1682. }
  1683. },
  1684. "500": {
  1685. "description": "Internal Server Error",
  1686. "schema": {
  1687. "$ref": "#/definitions/app.Response"
  1688. }
  1689. }
  1690. }
  1691. }
  1692. },
  1693. "/Ermcp/QueryExposureHedgePosition": {
  1694. "get": {
  1695. "security": [
  1696. {
  1697. "ApiKeyAuth": []
  1698. }
  1699. ],
  1700. "produces": [
  1701. "application/json"
  1702. ],
  1703. "tags": [
  1704. "企业风险管理(app)"
  1705. ],
  1706. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1707. "parameters": [
  1708. {
  1709. "type": "integer",
  1710. "description": "所属机构ID",
  1711. "name": "areaUserId",
  1712. "in": "query",
  1713. "required": true
  1714. }
  1715. ],
  1716. "responses": {
  1717. "200": {
  1718. "description": "OK",
  1719. "schema": {
  1720. "type": "array",
  1721. "items": {
  1722. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1723. }
  1724. }
  1725. },
  1726. "500": {
  1727. "description": "Internal Server Error",
  1728. "schema": {
  1729. "$ref": "#/definitions/app.Response"
  1730. }
  1731. }
  1732. }
  1733. }
  1734. },
  1735. "/Ermcp/QueryExposureHedgePositionDetail": {
  1736. "get": {
  1737. "security": [
  1738. {
  1739. "ApiKeyAuth": []
  1740. }
  1741. ],
  1742. "produces": [
  1743. "application/json"
  1744. ],
  1745. "tags": [
  1746. "企业风险管理(app)"
  1747. ],
  1748. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1749. "parameters": [
  1750. {
  1751. "type": "integer",
  1752. "description": "所属机构ID",
  1753. "name": "areaUserId",
  1754. "in": "query",
  1755. "required": true
  1756. },
  1757. {
  1758. "type": "integer",
  1759. "description": "商品id",
  1760. "name": "goodsId",
  1761. "in": "query",
  1762. "required": true
  1763. }
  1764. ],
  1765. "responses": {
  1766. "200": {
  1767. "description": "OK",
  1768. "schema": {
  1769. "type": "array",
  1770. "items": {
  1771. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1772. }
  1773. }
  1774. },
  1775. "500": {
  1776. "description": "Internal Server Error",
  1777. "schema": {
  1778. "$ref": "#/definitions/app.Response"
  1779. }
  1780. }
  1781. }
  1782. }
  1783. },
  1784. "/Ermcp/QueryExposureSpot": {
  1785. "get": {
  1786. "security": [
  1787. {
  1788. "ApiKeyAuth": []
  1789. }
  1790. ],
  1791. "produces": [
  1792. "application/json"
  1793. ],
  1794. "tags": [
  1795. "企业风险管理(app)"
  1796. ],
  1797. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1798. "parameters": [
  1799. {
  1800. "type": "integer",
  1801. "description": "所属机构ID",
  1802. "name": "areaUserId",
  1803. "in": "query",
  1804. "required": true
  1805. }
  1806. ],
  1807. "responses": {
  1808. "200": {
  1809. "description": "OK",
  1810. "schema": {
  1811. "type": "array",
  1812. "items": {
  1813. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1814. }
  1815. }
  1816. },
  1817. "500": {
  1818. "description": "Internal Server Error",
  1819. "schema": {
  1820. "$ref": "#/definitions/app.Response"
  1821. }
  1822. }
  1823. }
  1824. }
  1825. },
  1826. "/Ermcp/QueryExposureSpotDetail": {
  1827. "get": {
  1828. "security": [
  1829. {
  1830. "ApiKeyAuth": []
  1831. }
  1832. ],
  1833. "produces": [
  1834. "application/json"
  1835. ],
  1836. "tags": [
  1837. "企业风险管理(app)"
  1838. ],
  1839. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1840. "parameters": [
  1841. {
  1842. "type": "integer",
  1843. "description": "所属机构ID",
  1844. "name": "areaUserId",
  1845. "in": "query",
  1846. "required": true
  1847. },
  1848. {
  1849. "type": "integer",
  1850. "description": "现货品种ID",
  1851. "name": "wrstandardId",
  1852. "in": "query",
  1853. "required": true
  1854. }
  1855. ],
  1856. "responses": {
  1857. "200": {
  1858. "description": "OK",
  1859. "schema": {
  1860. "type": "array",
  1861. "items": {
  1862. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1863. }
  1864. }
  1865. },
  1866. "500": {
  1867. "description": "Internal Server Error",
  1868. "schema": {
  1869. "$ref": "#/definitions/app.Response"
  1870. }
  1871. }
  1872. }
  1873. }
  1874. },
  1875. "/Ermcp/QueryGGConvertConfig": {
  1876. "get": {
  1877. "security": [
  1878. {
  1879. "ApiKeyAuth": []
  1880. }
  1881. ],
  1882. "produces": [
  1883. "application/json"
  1884. ],
  1885. "tags": [
  1886. "企业风险管理(app)"
  1887. ],
  1888. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1889. "parameters": [
  1890. {
  1891. "type": "integer",
  1892. "description": "品种id(不填则查所有)",
  1893. "name": "goodsgroupid",
  1894. "in": "query"
  1895. }
  1896. ],
  1897. "responses": {
  1898. "200": {
  1899. "description": "OK",
  1900. "schema": {
  1901. "type": "array",
  1902. "items": {
  1903. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1904. }
  1905. }
  1906. },
  1907. "500": {
  1908. "description": "Internal Server Error",
  1909. "schema": {
  1910. "$ref": "#/definitions/app.Response"
  1911. }
  1912. }
  1913. }
  1914. }
  1915. },
  1916. "/Ermcp/QueryHedgePlan": {
  1917. "get": {
  1918. "security": [
  1919. {
  1920. "ApiKeyAuth": []
  1921. }
  1922. ],
  1923. "produces": [
  1924. "application/json"
  1925. ],
  1926. "tags": [
  1927. "企业风险管理(app)"
  1928. ],
  1929. "summary": "查询套保计划",
  1930. "parameters": [
  1931. {
  1932. "type": "integer",
  1933. "description": "用户ID",
  1934. "name": "userId",
  1935. "in": "query",
  1936. "required": true
  1937. },
  1938. {
  1939. "type": "string",
  1940. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1941. "name": "HedgePlanStatus",
  1942. "in": "query",
  1943. "required": true
  1944. }
  1945. ],
  1946. "responses": {
  1947. "200": {
  1948. "description": "OK",
  1949. "schema": {
  1950. "type": "array",
  1951. "items": {
  1952. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1953. }
  1954. }
  1955. },
  1956. "500": {
  1957. "description": "Internal Server Error",
  1958. "schema": {
  1959. "$ref": "#/definitions/app.Response"
  1960. }
  1961. }
  1962. }
  1963. }
  1964. },
  1965. "/Ermcp/QueryHisExposure": {
  1966. "get": {
  1967. "security": [
  1968. {
  1969. "ApiKeyAuth": []
  1970. }
  1971. ],
  1972. "produces": [
  1973. "application/json"
  1974. ],
  1975. "tags": [
  1976. "企业风险管理(app)"
  1977. ],
  1978. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  1979. "parameters": [
  1980. {
  1981. "type": "integer",
  1982. "description": "所属机构ID",
  1983. "name": "areaUserId",
  1984. "in": "query",
  1985. "required": true
  1986. },
  1987. {
  1988. "type": "integer",
  1989. "description": "每个品种记录数",
  1990. "name": "lastNum",
  1991. "in": "query",
  1992. "required": true
  1993. }
  1994. ],
  1995. "responses": {
  1996. "200": {
  1997. "description": "OK",
  1998. "schema": {
  1999. "type": "array",
  2000. "items": {
  2001. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2002. }
  2003. }
  2004. },
  2005. "500": {
  2006. "description": "Internal Server Error",
  2007. "schema": {
  2008. "$ref": "#/definitions/app.Response"
  2009. }
  2010. }
  2011. }
  2012. }
  2013. },
  2014. "/Ermcp/QueryMiddleGoods": {
  2015. "get": {
  2016. "security": [
  2017. {
  2018. "ApiKeyAuth": []
  2019. }
  2020. ],
  2021. "produces": [
  2022. "application/json"
  2023. ],
  2024. "tags": [
  2025. "企业风险管理(app)"
  2026. ],
  2027. "summary": "查询套保品种(菜单:套保品种)",
  2028. "parameters": [
  2029. {
  2030. "type": "integer",
  2031. "description": "所属机构ID",
  2032. "name": "userid",
  2033. "in": "query",
  2034. "required": true
  2035. },
  2036. {
  2037. "type": "integer",
  2038. "description": "状态 0-停用 1-正常",
  2039. "name": "status",
  2040. "in": "query",
  2041. "required": true
  2042. }
  2043. ],
  2044. "responses": {
  2045. "200": {
  2046. "description": "OK",
  2047. "schema": {
  2048. "type": "array",
  2049. "items": {
  2050. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2051. }
  2052. }
  2053. },
  2054. "500": {
  2055. "description": "Internal Server Error",
  2056. "schema": {
  2057. "$ref": "#/definitions/app.Response"
  2058. }
  2059. }
  2060. }
  2061. }
  2062. },
  2063. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2064. "get": {
  2065. "security": [
  2066. {
  2067. "ApiKeyAuth": []
  2068. }
  2069. ],
  2070. "produces": [
  2071. "application/json"
  2072. ],
  2073. "tags": [
  2074. "企业风险管理(app)"
  2075. ],
  2076. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2077. "parameters": [
  2078. {
  2079. "type": "integer",
  2080. "description": "所属机构ID",
  2081. "name": "userid",
  2082. "in": "query",
  2083. "required": true
  2084. },
  2085. {
  2086. "type": "integer",
  2087. "description": "套保品种id",
  2088. "name": "middlegoodsid",
  2089. "in": "query",
  2090. "required": true
  2091. }
  2092. ],
  2093. "responses": {
  2094. "200": {
  2095. "description": "OK",
  2096. "schema": {
  2097. "type": "array",
  2098. "items": {
  2099. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2100. }
  2101. }
  2102. },
  2103. "500": {
  2104. "description": "Internal Server Error",
  2105. "schema": {
  2106. "$ref": "#/definitions/app.Response"
  2107. }
  2108. }
  2109. }
  2110. }
  2111. },
  2112. "/Ermcp/QueryMiddleGoodsDetail": {
  2113. "get": {
  2114. "security": [
  2115. {
  2116. "ApiKeyAuth": []
  2117. }
  2118. ],
  2119. "produces": [
  2120. "application/json"
  2121. ],
  2122. "tags": [
  2123. "企业风险管理(app)"
  2124. ],
  2125. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2126. "parameters": [
  2127. {
  2128. "type": "integer",
  2129. "description": "所属机构ID",
  2130. "name": "userid",
  2131. "in": "query",
  2132. "required": true
  2133. },
  2134. {
  2135. "type": "integer",
  2136. "description": "套保品种id",
  2137. "name": "middlegoodsid",
  2138. "in": "query",
  2139. "required": true
  2140. }
  2141. ],
  2142. "responses": {
  2143. "200": {
  2144. "description": "OK",
  2145. "schema": {
  2146. "type": "array",
  2147. "items": {
  2148. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2149. }
  2150. }
  2151. },
  2152. "500": {
  2153. "description": "Internal Server Error",
  2154. "schema": {
  2155. "$ref": "#/definitions/app.Response"
  2156. }
  2157. }
  2158. }
  2159. }
  2160. },
  2161. "/Ermcp/QueryRealtimeExposure": {
  2162. "get": {
  2163. "security": [
  2164. {
  2165. "ApiKeyAuth": []
  2166. }
  2167. ],
  2168. "produces": [
  2169. "application/json"
  2170. ],
  2171. "tags": [
  2172. "企业风险管理(app)"
  2173. ],
  2174. "summary": "查询实时敞口",
  2175. "parameters": [
  2176. {
  2177. "type": "integer",
  2178. "description": "所属机构ID",
  2179. "name": "AreaUserID",
  2180. "in": "query",
  2181. "required": true
  2182. }
  2183. ],
  2184. "responses": {
  2185. "200": {
  2186. "description": "OK",
  2187. "schema": {
  2188. "type": "array",
  2189. "items": {
  2190. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2191. }
  2192. }
  2193. },
  2194. "500": {
  2195. "description": "Internal Server Error",
  2196. "schema": {
  2197. "$ref": "#/definitions/app.Response"
  2198. }
  2199. }
  2200. }
  2201. }
  2202. },
  2203. "/Ermcp/QueryRealtimeExposurePosition": {
  2204. "get": {
  2205. "security": [
  2206. {
  2207. "ApiKeyAuth": []
  2208. }
  2209. ],
  2210. "produces": [
  2211. "application/json"
  2212. ],
  2213. "tags": [
  2214. "企业风险管理(app)"
  2215. ],
  2216. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2217. "parameters": [
  2218. {
  2219. "type": "integer",
  2220. "description": "所属机构ID",
  2221. "name": "areaUserId",
  2222. "in": "query",
  2223. "required": true
  2224. },
  2225. {
  2226. "type": "integer",
  2227. "description": "套保商品ID",
  2228. "name": "middleGoodsId",
  2229. "in": "query",
  2230. "required": true
  2231. }
  2232. ],
  2233. "responses": {
  2234. "200": {
  2235. "description": "OK",
  2236. "schema": {
  2237. "type": "array",
  2238. "items": {
  2239. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2240. }
  2241. }
  2242. },
  2243. "500": {
  2244. "description": "Internal Server Error",
  2245. "schema": {
  2246. "$ref": "#/definitions/app.Response"
  2247. }
  2248. }
  2249. }
  2250. }
  2251. },
  2252. "/Ermcp/QuerySpotContract": {
  2253. "get": {
  2254. "security": [
  2255. {
  2256. "ApiKeyAuth": []
  2257. }
  2258. ],
  2259. "produces": [
  2260. "application/json"
  2261. ],
  2262. "tags": [
  2263. "企业风险管理(app)"
  2264. ],
  2265. "summary": "查询现货合同(对应现货合同菜单)",
  2266. "parameters": [
  2267. {
  2268. "type": "integer",
  2269. "description": "用户ID",
  2270. "name": "userId",
  2271. "in": "query",
  2272. "required": true
  2273. },
  2274. {
  2275. "type": "integer",
  2276. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2277. "name": "QueryType",
  2278. "in": "query",
  2279. "required": true
  2280. }
  2281. ],
  2282. "responses": {
  2283. "200": {
  2284. "description": "OK",
  2285. "schema": {
  2286. "type": "array",
  2287. "items": {
  2288. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2289. }
  2290. }
  2291. },
  2292. "500": {
  2293. "description": "Internal Server Error",
  2294. "schema": {
  2295. "$ref": "#/definitions/app.Response"
  2296. }
  2297. }
  2298. }
  2299. }
  2300. },
  2301. "/Ermcp/QueryUserInfo": {
  2302. "get": {
  2303. "security": [
  2304. {
  2305. "ApiKeyAuth": []
  2306. }
  2307. ],
  2308. "produces": [
  2309. "application/json"
  2310. ],
  2311. "tags": [
  2312. "企业风险管理(app)"
  2313. ],
  2314. "summary": "查询客户资料",
  2315. "parameters": [
  2316. {
  2317. "type": "integer",
  2318. "description": "所属机构用户ID",
  2319. "name": "MemberUserID",
  2320. "in": "query",
  2321. "required": true
  2322. },
  2323. {
  2324. "type": "integer",
  2325. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2326. "name": "queryType",
  2327. "in": "query",
  2328. "required": true
  2329. }
  2330. ],
  2331. "responses": {
  2332. "200": {
  2333. "description": "OK",
  2334. "schema": {
  2335. "type": "array",
  2336. "items": {
  2337. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2338. }
  2339. }
  2340. },
  2341. "500": {
  2342. "description": "Internal Server Error",
  2343. "schema": {
  2344. "$ref": "#/definitions/app.Response"
  2345. }
  2346. }
  2347. }
  2348. }
  2349. },
  2350. "/Ermcp/QueryWrStandard": {
  2351. "get": {
  2352. "security": [
  2353. {
  2354. "ApiKeyAuth": []
  2355. }
  2356. ],
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "查询现货商品",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "所属机构ID",
  2368. "name": "userid",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "状态 0-停用 1-正常",
  2375. "name": "status",
  2376. "in": "query",
  2377. "required": true
  2378. }
  2379. ],
  2380. "responses": {
  2381. "200": {
  2382. "description": "OK",
  2383. "schema": {
  2384. "type": "array",
  2385. "items": {
  2386. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2387. }
  2388. }
  2389. },
  2390. "500": {
  2391. "description": "Internal Server Error",
  2392. "schema": {
  2393. "$ref": "#/definitions/app.Response"
  2394. }
  2395. }
  2396. }
  2397. }
  2398. },
  2399. "/Ermcp/QueryWrStandardDetail": {
  2400. "get": {
  2401. "security": [
  2402. {
  2403. "ApiKeyAuth": []
  2404. }
  2405. ],
  2406. "produces": [
  2407. "application/json"
  2408. ],
  2409. "tags": [
  2410. "企业风险管理(app)"
  2411. ],
  2412. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2413. "parameters": [
  2414. {
  2415. "type": "integer",
  2416. "description": "所属机构ID",
  2417. "name": "userid",
  2418. "in": "query",
  2419. "required": true
  2420. },
  2421. {
  2422. "type": "integer",
  2423. "description": "现货商品ID",
  2424. "name": "wrstandardid",
  2425. "in": "query",
  2426. "required": true
  2427. }
  2428. ],
  2429. "responses": {
  2430. "200": {
  2431. "description": "OK",
  2432. "schema": {
  2433. "type": "array",
  2434. "items": {
  2435. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2436. }
  2437. }
  2438. },
  2439. "500": {
  2440. "description": "Internal Server Error",
  2441. "schema": {
  2442. "$ref": "#/definitions/app.Response"
  2443. }
  2444. }
  2445. }
  2446. }
  2447. },
  2448. "/Erms2/QueryArbitrageStrategy": {
  2449. "get": {
  2450. "security": [
  2451. {
  2452. "ApiKeyAuth": []
  2453. }
  2454. ],
  2455. "produces": [
  2456. "application/json"
  2457. ],
  2458. "tags": [
  2459. "风险管理"
  2460. ],
  2461. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  2462. "parameters": [
  2463. {
  2464. "type": "integer",
  2465. "description": "账户ID",
  2466. "name": "userid",
  2467. "in": "query",
  2468. "required": true
  2469. },
  2470. {
  2471. "type": "string",
  2472. "description": "商品组ID(品种ID)",
  2473. "name": "goodsgroupid",
  2474. "in": "query"
  2475. }
  2476. ],
  2477. "responses": {
  2478. "200": {
  2479. "description": "OK",
  2480. "schema": {
  2481. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2482. }
  2483. },
  2484. "500": {
  2485. "description": "Internal Server Error",
  2486. "schema": {
  2487. "$ref": "#/definitions/app.Response"
  2488. }
  2489. }
  2490. }
  2491. }
  2492. },
  2493. "/Erms2/QueryInnerTradeDetail": {
  2494. "get": {
  2495. "security": [
  2496. {
  2497. "ApiKeyAuth": []
  2498. }
  2499. ],
  2500. "produces": [
  2501. "application/json"
  2502. ],
  2503. "tags": [
  2504. "风险管理"
  2505. ],
  2506. "summary": "查询内部成交单信息",
  2507. "parameters": [
  2508. {
  2509. "type": "integer",
  2510. "description": "资金账户",
  2511. "name": "accountid",
  2512. "in": "query",
  2513. "required": true
  2514. }
  2515. ],
  2516. "responses": {
  2517. "200": {
  2518. "description": "OK",
  2519. "schema": {
  2520. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2521. }
  2522. },
  2523. "500": {
  2524. "description": "Internal Server Error",
  2525. "schema": {
  2526. "$ref": "#/definitions/app.Response"
  2527. }
  2528. }
  2529. }
  2530. }
  2531. },
  2532. "/Erms2/QuerySpotContract": {
  2533. "get": {
  2534. "security": [
  2535. {
  2536. "ApiKeyAuth": []
  2537. }
  2538. ],
  2539. "produces": [
  2540. "application/json"
  2541. ],
  2542. "tags": [
  2543. "风险管理"
  2544. ],
  2545. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2546. "parameters": [
  2547. {
  2548. "type": "integer",
  2549. "description": "策略申请ID",
  2550. "name": "asapplyid",
  2551. "in": "query",
  2552. "required": true
  2553. },
  2554. {
  2555. "type": "integer",
  2556. "description": "现货合同ID",
  2557. "name": "spotcontractid",
  2558. "in": "query"
  2559. }
  2560. ],
  2561. "responses": {
  2562. "200": {
  2563. "description": "OK",
  2564. "schema": {
  2565. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Erms3/AddErms2ASApply": {
  2578. "post": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "风险管理v3"
  2589. ],
  2590. "summary": "新增期现套利业务申请",
  2591. "parameters": [
  2592. {
  2593. "description": "申请参数",
  2594. "name": "jsonBody",
  2595. "in": "body",
  2596. "required": true,
  2597. "schema": {
  2598. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2599. }
  2600. }
  2601. ],
  2602. "responses": {
  2603. "200": {
  2604. "description": "OK",
  2605. "schema": {
  2606. "$ref": "#/definitions/app.Response"
  2607. }
  2608. },
  2609. "500": {
  2610. "description": "Internal Server Error",
  2611. "schema": {
  2612. "$ref": "#/definitions/app.Response"
  2613. }
  2614. }
  2615. }
  2616. }
  2617. },
  2618. "/Erms3/AddErms2SpotTradeApply": {
  2619. "post": {
  2620. "security": [
  2621. {
  2622. "ApiKeyAuth": []
  2623. }
  2624. ],
  2625. "produces": [
  2626. "application/json"
  2627. ],
  2628. "tags": [
  2629. "风险管理v3"
  2630. ],
  2631. "summary": "新增现货贸易业务申请",
  2632. "parameters": [
  2633. {
  2634. "description": "申请参数",
  2635. "name": "jsonBody",
  2636. "in": "body",
  2637. "required": true,
  2638. "schema": {
  2639. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2640. }
  2641. }
  2642. ],
  2643. "responses": {
  2644. "200": {
  2645. "description": "OK",
  2646. "schema": {
  2647. "$ref": "#/definitions/app.Response"
  2648. }
  2649. },
  2650. "500": {
  2651. "description": "Internal Server Error",
  2652. "schema": {
  2653. "$ref": "#/definitions/app.Response"
  2654. }
  2655. }
  2656. }
  2657. }
  2658. },
  2659. "/Erms3/AddSpotContractApply": {
  2660. "post": {
  2661. "security": [
  2662. {
  2663. "ApiKeyAuth": []
  2664. }
  2665. ],
  2666. "produces": [
  2667. "application/json"
  2668. ],
  2669. "tags": [
  2670. "风险管理v3"
  2671. ],
  2672. "summary": "新增现货合同申请",
  2673. "parameters": [
  2674. {
  2675. "description": "申请参数",
  2676. "name": "jsonBody",
  2677. "in": "body",
  2678. "required": true,
  2679. "schema": {
  2680. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2681. }
  2682. }
  2683. ],
  2684. "responses": {
  2685. "200": {
  2686. "description": "OK",
  2687. "schema": {
  2688. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2689. }
  2690. },
  2691. "500": {
  2692. "description": "Internal Server Error",
  2693. "schema": {
  2694. "$ref": "#/definitions/app.Response"
  2695. }
  2696. }
  2697. }
  2698. }
  2699. },
  2700. "/Erms3/AddUserInfoApply": {
  2701. "post": {
  2702. "security": [
  2703. {
  2704. "ApiKeyAuth": []
  2705. }
  2706. ],
  2707. "produces": [
  2708. "application/json"
  2709. ],
  2710. "tags": [
  2711. "风险管理v3"
  2712. ],
  2713. "summary": "新增客户申请",
  2714. "parameters": [
  2715. {
  2716. "description": "用户信息",
  2717. "name": "jsonBody",
  2718. "in": "body",
  2719. "required": true,
  2720. "schema": {
  2721. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2722. }
  2723. }
  2724. ],
  2725. "responses": {
  2726. "200": {
  2727. "description": "OK",
  2728. "schema": {
  2729. "$ref": "#/definitions/app.Response"
  2730. }
  2731. },
  2732. "500": {
  2733. "description": "Internal Server Error",
  2734. "schema": {
  2735. "$ref": "#/definitions/app.Response"
  2736. }
  2737. }
  2738. }
  2739. }
  2740. },
  2741. "/Erms3/ModifyUserInfoApply": {
  2742. "post": {
  2743. "security": [
  2744. {
  2745. "ApiKeyAuth": []
  2746. }
  2747. ],
  2748. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "风险管理v3"
  2754. ],
  2755. "summary": "修改客户申请",
  2756. "parameters": [
  2757. {
  2758. "description": "用户信息",
  2759. "name": "jsonBody",
  2760. "in": "body",
  2761. "required": true,
  2762. "schema": {
  2763. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2764. }
  2765. }
  2766. ],
  2767. "responses": {
  2768. "200": {
  2769. "description": "OK",
  2770. "schema": {
  2771. "$ref": "#/definitions/app.Response"
  2772. }
  2773. },
  2774. "500": {
  2775. "description": "Internal Server Error",
  2776. "schema": {
  2777. "$ref": "#/definitions/app.Response"
  2778. }
  2779. }
  2780. }
  2781. }
  2782. },
  2783. "/Erms3/QueryBusinessInfo": {
  2784. "get": {
  2785. "security": [
  2786. {
  2787. "ApiKeyAuth": []
  2788. }
  2789. ],
  2790. "produces": [
  2791. "application/json"
  2792. ],
  2793. "tags": [
  2794. "风险管理v3"
  2795. ],
  2796. "summary": "查询业务表单数据",
  2797. "parameters": [
  2798. {
  2799. "type": "string",
  2800. "description": "资金账号ID列表,用逗号分隔",
  2801. "name": "accountids",
  2802. "in": "query",
  2803. "required": true
  2804. },
  2805. {
  2806. "type": "integer",
  2807. "description": "状态,0为未结束 1为已结束",
  2808. "name": "status",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Erms3/QueryPendingAuditContract": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "风险管理v3"
  2844. ],
  2845. "summary": "查询待审核合同",
  2846. "parameters": [
  2847. {
  2848. "type": "string",
  2849. "description": "资金账号ID列表,逗号隔开",
  2850. "name": "accountids",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "合同类型 1-采购 -1-销售",
  2857. "name": "contracttype",
  2858. "in": "query",
  2859. "required": true
  2860. },
  2861. {
  2862. "type": "integer",
  2863. "description": "合同模式 1-普通 2-回购",
  2864. "name": "contractmode",
  2865. "in": "query",
  2866. "required": true
  2867. }
  2868. ],
  2869. "responses": {
  2870. "200": {
  2871. "description": "OK",
  2872. "schema": {
  2873. "type": "array",
  2874. "items": {
  2875. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2876. }
  2877. }
  2878. },
  2879. "500": {
  2880. "description": "Internal Server Error",
  2881. "schema": {
  2882. "$ref": "#/definitions/app.Response"
  2883. }
  2884. }
  2885. }
  2886. }
  2887. },
  2888. "/Erms3/QueryPendingBusiness": {
  2889. "get": {
  2890. "security": [
  2891. {
  2892. "ApiKeyAuth": []
  2893. }
  2894. ],
  2895. "produces": [
  2896. "application/json"
  2897. ],
  2898. "tags": [
  2899. "风险管理v3"
  2900. ],
  2901. "summary": "查询待审核基差贸易业务",
  2902. "parameters": [
  2903. {
  2904. "type": "string",
  2905. "description": "资金账号ID列表,逗号隔开",
  2906. "name": "accountids",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Erms3/QuerySpotContractAppleForm": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "风险管理v3"
  2942. ],
  2943. "summary": "查询合同申请表单数据",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "登录账号",
  2948. "name": "loginID",
  2949. "in": "query",
  2950. "required": true
  2951. }
  2952. ],
  2953. "responses": {
  2954. "200": {
  2955. "description": "OK",
  2956. "schema": {
  2957. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  2958. }
  2959. },
  2960. "500": {
  2961. "description": "Internal Server Error",
  2962. "schema": {
  2963. "$ref": "#/definitions/app.Response"
  2964. }
  2965. }
  2966. }
  2967. }
  2968. },
  2969. "/Erms3/QuerySpotContractDetail": {
  2970. "get": {
  2971. "security": [
  2972. {
  2973. "ApiKeyAuth": []
  2974. }
  2975. ],
  2976. "produces": [
  2977. "application/json"
  2978. ],
  2979. "tags": [
  2980. "风险管理v3"
  2981. ],
  2982. "summary": "查询合同详细信息",
  2983. "parameters": [
  2984. {
  2985. "type": "string",
  2986. "description": "资金账号ID列表,用逗号分隔",
  2987. "name": "accountids",
  2988. "in": "query",
  2989. "required": true
  2990. },
  2991. {
  2992. "type": "integer",
  2993. "description": "合同类型,1为采购合同 -1为销售合同",
  2994. "name": "contracttype",
  2995. "in": "query",
  2996. "required": true
  2997. },
  2998. {
  2999. "type": "integer",
  3000. "description": "合同模式,1为普通合同 2为回购销售合同",
  3001. "name": "contractmode",
  3002. "in": "query",
  3003. "required": true
  3004. },
  3005. {
  3006. "type": "integer",
  3007. "description": "状态,0为履约中 1为已完成",
  3008. "name": "status",
  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/erms3.QuerySpotContractInfoRsp"
  3020. }
  3021. }
  3022. },
  3023. "500": {
  3024. "description": "Internal Server Error",
  3025. "schema": {
  3026. "$ref": "#/definitions/app.Response"
  3027. }
  3028. }
  3029. }
  3030. }
  3031. },
  3032. "/Erms3/QueryUserInfoApplies": {
  3033. "get": {
  3034. "security": [
  3035. {
  3036. "ApiKeyAuth": []
  3037. }
  3038. ],
  3039. "produces": [
  3040. "application/json"
  3041. ],
  3042. "tags": [
  3043. "风险管理v3"
  3044. ],
  3045. "summary": "客户申请信息查询",
  3046. "parameters": [
  3047. {
  3048. "type": "integer",
  3049. "description": "页码",
  3050. "name": "page",
  3051. "in": "query"
  3052. },
  3053. {
  3054. "type": "integer",
  3055. "description": "每页条数",
  3056. "name": "pagesize",
  3057. "in": "query"
  3058. },
  3059. {
  3060. "type": "string",
  3061. "description": "客户名称,支持模糊查询",
  3062. "name": "userName",
  3063. "in": "query"
  3064. }
  3065. ],
  3066. "responses": {
  3067. "200": {
  3068. "description": "OK",
  3069. "schema": {
  3070. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3071. }
  3072. },
  3073. "500": {
  3074. "description": "Internal Server Error",
  3075. "schema": {
  3076. "$ref": "#/definitions/app.Response"
  3077. }
  3078. }
  3079. }
  3080. }
  3081. },
  3082. "/Erms3/QueryUserInfos": {
  3083. "get": {
  3084. "security": [
  3085. {
  3086. "ApiKeyAuth": []
  3087. }
  3088. ],
  3089. "produces": [
  3090. "application/json"
  3091. ],
  3092. "tags": [
  3093. "风险管理v3"
  3094. ],
  3095. "summary": "客户信息查询",
  3096. "parameters": [
  3097. {
  3098. "type": "integer",
  3099. "description": "页码",
  3100. "name": "page",
  3101. "in": "query"
  3102. },
  3103. {
  3104. "type": "integer",
  3105. "description": "每页条数",
  3106. "name": "pagesize",
  3107. "in": "query"
  3108. },
  3109. {
  3110. "type": "string",
  3111. "description": "客户名称,支持模糊查询",
  3112. "name": "userName",
  3113. "in": "query"
  3114. }
  3115. ],
  3116. "responses": {
  3117. "200": {
  3118. "description": "OK",
  3119. "schema": {
  3120. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3121. }
  3122. },
  3123. "500": {
  3124. "description": "Internal Server Error",
  3125. "schema": {
  3126. "$ref": "#/definitions/app.Response"
  3127. }
  3128. }
  3129. }
  3130. }
  3131. },
  3132. "/HSBY/GetHsbyMyCount": {
  3133. "get": {
  3134. "security": [
  3135. {
  3136. "ApiKeyAuth": []
  3137. }
  3138. ],
  3139. "description": "说明: 不包括已完成的数量。",
  3140. "produces": [
  3141. "application/json"
  3142. ],
  3143. "tags": [
  3144. "定制【海商报业】"
  3145. ],
  3146. "summary": "获取我的订单与包裹数量",
  3147. "parameters": [
  3148. {
  3149. "type": "string",
  3150. "description": "资金账户列表,格式:1,2,3",
  3151. "name": "accountIDs",
  3152. "in": "query",
  3153. "required": true
  3154. }
  3155. ],
  3156. "responses": {
  3157. "200": {
  3158. "description": "OK",
  3159. "schema": {
  3160. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3161. }
  3162. },
  3163. "500": {
  3164. "description": "Internal Server Error",
  3165. "schema": {
  3166. "$ref": "#/definitions/app.Response"
  3167. }
  3168. }
  3169. }
  3170. }
  3171. },
  3172. "/HSBY/QueryClientFixedADConfigs": {
  3173. "get": {
  3174. "security": [
  3175. {
  3176. "ApiKeyAuth": []
  3177. }
  3178. ],
  3179. "produces": [
  3180. "application/json"
  3181. ],
  3182. "tags": [
  3183. "定制【海商报业】"
  3184. ],
  3185. "summary": "获取终端固定广告配置",
  3186. "responses": {
  3187. "200": {
  3188. "description": "OK",
  3189. "schema": {
  3190. "$ref": "#/definitions/models.Clientfixedadconfig"
  3191. }
  3192. },
  3193. "500": {
  3194. "description": "Internal Server Error",
  3195. "schema": {
  3196. "$ref": "#/definitions/app.Response"
  3197. }
  3198. }
  3199. }
  3200. }
  3201. },
  3202. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3203. "get": {
  3204. "security": [
  3205. {
  3206. "ApiKeyAuth": []
  3207. }
  3208. ],
  3209. "produces": [
  3210. "application/json"
  3211. ],
  3212. "tags": [
  3213. "定制【海商报业】"
  3214. ],
  3215. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3216. "parameters": [
  3217. {
  3218. "type": "integer",
  3219. "description": "页码",
  3220. "name": "page",
  3221. "in": "query"
  3222. },
  3223. {
  3224. "type": "integer",
  3225. "description": "每页条数",
  3226. "name": "pagesize",
  3227. "in": "query"
  3228. },
  3229. {
  3230. "type": "string",
  3231. "description": "资金账户列表,格式:1,2,3",
  3232. "name": "accountIDs",
  3233. "in": "query",
  3234. "required": true
  3235. }
  3236. ],
  3237. "responses": {
  3238. "200": {
  3239. "description": "OK",
  3240. "schema": {
  3241. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3242. }
  3243. },
  3244. "500": {
  3245. "description": "Internal Server Error",
  3246. "schema": {
  3247. "$ref": "#/definitions/app.Response"
  3248. }
  3249. }
  3250. }
  3251. }
  3252. },
  3253. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3254. "get": {
  3255. "security": [
  3256. {
  3257. "ApiKeyAuth": []
  3258. }
  3259. ],
  3260. "description": "说明:查询结果已按委托价格和委托时间排序",
  3261. "produces": [
  3262. "application/json"
  3263. ],
  3264. "tags": [
  3265. "定制【海商报业】"
  3266. ],
  3267. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3268. "parameters": [
  3269. {
  3270. "type": "integer",
  3271. "description": "商品ID",
  3272. "name": "goodsID",
  3273. "in": "query",
  3274. "required": true
  3275. },
  3276. {
  3277. "type": "string",
  3278. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3279. "name": "accountIDs",
  3280. "in": "query"
  3281. },
  3282. {
  3283. "type": "integer",
  3284. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3285. "name": "buyOrSell",
  3286. "in": "query"
  3287. },
  3288. {
  3289. "type": "number",
  3290. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3291. "name": "price",
  3292. "in": "query"
  3293. },
  3294. {
  3295. "type": "integer",
  3296. "description": "档位,不传则默认为3档",
  3297. "name": "speed",
  3298. "in": "query"
  3299. }
  3300. ],
  3301. "responses": {
  3302. "200": {
  3303. "description": "OK",
  3304. "schema": {
  3305. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3306. }
  3307. },
  3308. "500": {
  3309. "description": "Internal Server Error",
  3310. "schema": {
  3311. "$ref": "#/definitions/app.Response"
  3312. }
  3313. }
  3314. }
  3315. }
  3316. },
  3317. "/HSBY/QueryHsbyListingGoodsDetail": {
  3318. "get": {
  3319. "security": [
  3320. {
  3321. "ApiKeyAuth": []
  3322. }
  3323. ],
  3324. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3325. "produces": [
  3326. "application/json"
  3327. ],
  3328. "tags": [
  3329. "定制【海商报业】"
  3330. ],
  3331. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3332. "parameters": [
  3333. {
  3334. "type": "integer",
  3335. "description": "商品ID",
  3336. "name": "goodsID",
  3337. "in": "query",
  3338. "required": true
  3339. },
  3340. {
  3341. "type": "integer",
  3342. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  3343. "name": "accountID",
  3344. "in": "query"
  3345. }
  3346. ],
  3347. "responses": {
  3348. "200": {
  3349. "description": "OK",
  3350. "schema": {
  3351. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  3352. }
  3353. },
  3354. "500": {
  3355. "description": "Internal Server Error",
  3356. "schema": {
  3357. "$ref": "#/definitions/app.Response"
  3358. }
  3359. }
  3360. }
  3361. }
  3362. },
  3363. "/HSBY/QueryHsbyMarketGoodsDetail": {
  3364. "get": {
  3365. "security": [
  3366. {
  3367. "ApiKeyAuth": []
  3368. }
  3369. ],
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "定制【海商报业】"
  3375. ],
  3376. "summary": "查询三级市场(商城)商品信息详情",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "委托单号",
  3381. "name": "orderID",
  3382. "in": "query",
  3383. "required": true
  3384. },
  3385. {
  3386. "type": "integer",
  3387. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3388. "name": "accountID",
  3389. "in": "query"
  3390. }
  3391. ],
  3392. "responses": {
  3393. "200": {
  3394. "description": "OK",
  3395. "schema": {
  3396. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3397. }
  3398. },
  3399. "500": {
  3400. "description": "Internal Server Error",
  3401. "schema": {
  3402. "$ref": "#/definitions/app.Response"
  3403. }
  3404. }
  3405. }
  3406. }
  3407. },
  3408. "/HSBY/QueryHsbyMarketGoodses": {
  3409. "get": {
  3410. "security": [
  3411. {
  3412. "ApiKeyAuth": []
  3413. }
  3414. ],
  3415. "produces": [
  3416. "application/json"
  3417. ],
  3418. "tags": [
  3419. "定制【海商报业】"
  3420. ],
  3421. "summary": "查询特卖商品列表(三级商城)",
  3422. "parameters": [
  3423. {
  3424. "type": "integer",
  3425. "description": "页码",
  3426. "name": "page",
  3427. "in": "query"
  3428. },
  3429. {
  3430. "type": "integer",
  3431. "description": "每页条数",
  3432. "name": "pagesize",
  3433. "in": "query"
  3434. },
  3435. {
  3436. "type": "string",
  3437. "description": "市场ID列表,格式:1,2,3",
  3438. "name": "marketIDs",
  3439. "in": "query",
  3440. "required": true
  3441. },
  3442. {
  3443. "type": "integer",
  3444. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3445. "name": "accountID",
  3446. "in": "query",
  3447. "required": true
  3448. },
  3449. {
  3450. "type": "integer",
  3451. "description": "类别ID",
  3452. "name": "categoryID",
  3453. "in": "query"
  3454. },
  3455. {
  3456. "type": "string",
  3457. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3458. "name": "goodsIDs",
  3459. "in": "query"
  3460. },
  3461. {
  3462. "type": "integer",
  3463. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3464. "name": "couponTypeID",
  3465. "in": "query"
  3466. }
  3467. ],
  3468. "responses": {
  3469. "200": {
  3470. "description": "OK",
  3471. "schema": {
  3472. "$ref": "#/definitions/models.HsbyMarketGoods"
  3473. }
  3474. },
  3475. "500": {
  3476. "description": "Internal Server Error",
  3477. "schema": {
  3478. "$ref": "#/definitions/app.Response"
  3479. }
  3480. }
  3481. }
  3482. }
  3483. },
  3484. "/HSBY/QueryHsbyMarkets": {
  3485. "get": {
  3486. "security": [
  3487. {
  3488. "ApiKeyAuth": []
  3489. }
  3490. ],
  3491. "produces": [
  3492. "application/json"
  3493. ],
  3494. "tags": [
  3495. "定制【海商报业】"
  3496. ],
  3497. "summary": "查询海商报业相关市场信息",
  3498. "responses": {
  3499. "200": {
  3500. "description": "OK",
  3501. "schema": {
  3502. "$ref": "#/definitions/models.HsbyMarketInfo"
  3503. }
  3504. },
  3505. "500": {
  3506. "description": "Internal Server Error",
  3507. "schema": {
  3508. "$ref": "#/definitions/app.Response"
  3509. }
  3510. }
  3511. }
  3512. }
  3513. },
  3514. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3515. "get": {
  3516. "security": [
  3517. {
  3518. "ApiKeyAuth": []
  3519. }
  3520. ],
  3521. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3522. "produces": [
  3523. "application/json"
  3524. ],
  3525. "tags": [
  3526. "定制【海商报业】"
  3527. ],
  3528. "summary": "查询“我的订单”信息",
  3529. "parameters": [
  3530. {
  3531. "type": "string",
  3532. "description": "资金账户列表,格式:1,2,3",
  3533. "name": "accountIDs",
  3534. "in": "query",
  3535. "required": true
  3536. }
  3537. ],
  3538. "responses": {
  3539. "200": {
  3540. "description": "OK",
  3541. "schema": {
  3542. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3543. }
  3544. },
  3545. "500": {
  3546. "description": "Internal Server Error",
  3547. "schema": {
  3548. "$ref": "#/definitions/app.Response"
  3549. }
  3550. }
  3551. }
  3552. }
  3553. },
  3554. "/HSBY/QueryHsbyMyGoods": {
  3555. "get": {
  3556. "security": [
  3557. {
  3558. "ApiKeyAuth": []
  3559. }
  3560. ],
  3561. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3562. "produces": [
  3563. "application/json"
  3564. ],
  3565. "tags": [
  3566. "定制【海商报业】"
  3567. ],
  3568. "summary": "查询“我的商品”信息",
  3569. "parameters": [
  3570. {
  3571. "type": "string",
  3572. "description": "资金账户列表,格式:1,2,3",
  3573. "name": "accountIDs",
  3574. "in": "query",
  3575. "required": true
  3576. }
  3577. ],
  3578. "responses": {
  3579. "200": {
  3580. "description": "OK",
  3581. "schema": {
  3582. "$ref": "#/definitions/models.HsbyMyGoods"
  3583. }
  3584. },
  3585. "500": {
  3586. "description": "Internal Server Error",
  3587. "schema": {
  3588. "$ref": "#/definitions/app.Response"
  3589. }
  3590. }
  3591. }
  3592. }
  3593. },
  3594. "/HSBY/QueryHsbyMyPackages": {
  3595. "get": {
  3596. "security": [
  3597. {
  3598. "ApiKeyAuth": []
  3599. }
  3600. ],
  3601. "produces": [
  3602. "application/json"
  3603. ],
  3604. "tags": [
  3605. "定制【海商报业】"
  3606. ],
  3607. "summary": "查询我的包裹信息",
  3608. "parameters": [
  3609. {
  3610. "type": "string",
  3611. "description": "资金账户列表,格式:1,2,3",
  3612. "name": "accountIDs",
  3613. "in": "query",
  3614. "required": true
  3615. },
  3616. {
  3617. "type": "integer",
  3618. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3619. "name": "takeOrderStatus",
  3620. "in": "query"
  3621. }
  3622. ],
  3623. "responses": {
  3624. "200": {
  3625. "description": "OK",
  3626. "schema": {
  3627. "$ref": "#/definitions/models.HsbyMyPackage"
  3628. }
  3629. },
  3630. "500": {
  3631. "description": "Internal Server Error",
  3632. "schema": {
  3633. "$ref": "#/definitions/app.Response"
  3634. }
  3635. }
  3636. }
  3637. }
  3638. },
  3639. "/HSBY/QueryHsbyPreGoodsDetail": {
  3640. "get": {
  3641. "security": [
  3642. {
  3643. "ApiKeyAuth": []
  3644. }
  3645. ],
  3646. "produces": [
  3647. "application/json"
  3648. ],
  3649. "tags": [
  3650. "定制【海商报业】"
  3651. ],
  3652. "summary": "查询一级市场(预售)商品信息详情",
  3653. "parameters": [
  3654. {
  3655. "type": "integer",
  3656. "description": "商品ID",
  3657. "name": "goodsID",
  3658. "in": "query",
  3659. "required": true
  3660. },
  3661. {
  3662. "type": "integer",
  3663. "description": "资金账户,主要用于获取预售商品购买上限",
  3664. "name": "accountID",
  3665. "in": "query"
  3666. }
  3667. ],
  3668. "responses": {
  3669. "200": {
  3670. "description": "OK",
  3671. "schema": {
  3672. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3673. }
  3674. },
  3675. "500": {
  3676. "description": "Internal Server Error",
  3677. "schema": {
  3678. "$ref": "#/definitions/app.Response"
  3679. }
  3680. }
  3681. }
  3682. }
  3683. },
  3684. "/HSBY/QueryHsbyPreGoodses": {
  3685. "get": {
  3686. "security": [
  3687. {
  3688. "ApiKeyAuth": []
  3689. }
  3690. ],
  3691. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3692. "produces": [
  3693. "application/json"
  3694. ],
  3695. "tags": [
  3696. "定制【海商报业】"
  3697. ],
  3698. "summary": "查询新品上市商品列表(一级市场预售)",
  3699. "parameters": [
  3700. {
  3701. "type": "integer",
  3702. "description": "页码",
  3703. "name": "page",
  3704. "in": "query"
  3705. },
  3706. {
  3707. "type": "integer",
  3708. "description": "每页条数",
  3709. "name": "pagesize",
  3710. "in": "query"
  3711. },
  3712. {
  3713. "type": "string",
  3714. "description": "市场ID列表,格式:1,2,3",
  3715. "name": "marketIDs",
  3716. "in": "query",
  3717. "required": true
  3718. },
  3719. {
  3720. "type": "integer",
  3721. "description": "目的地(省)ID",
  3722. "name": "descProvinceID",
  3723. "in": "query"
  3724. },
  3725. {
  3726. "type": "integer",
  3727. "description": "目的地(市)ID",
  3728. "name": "descCityID",
  3729. "in": "query"
  3730. }
  3731. ],
  3732. "responses": {
  3733. "200": {
  3734. "description": "OK",
  3735. "schema": {
  3736. "$ref": "#/definitions/models.HsbyPreGoods"
  3737. }
  3738. },
  3739. "500": {
  3740. "description": "Internal Server Error",
  3741. "schema": {
  3742. "$ref": "#/definitions/app.Response"
  3743. }
  3744. }
  3745. }
  3746. }
  3747. },
  3748. "/HSBY/QueryHsbySellMyDetails": {
  3749. "get": {
  3750. "security": [
  3751. {
  3752. "ApiKeyAuth": []
  3753. }
  3754. ],
  3755. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3756. "produces": [
  3757. "application/json"
  3758. ],
  3759. "tags": [
  3760. "定制【海商报业】"
  3761. ],
  3762. "summary": "查询\"我的闲置\"单据信息",
  3763. "parameters": [
  3764. {
  3765. "type": "integer",
  3766. "description": "页码",
  3767. "name": "page",
  3768. "in": "query"
  3769. },
  3770. {
  3771. "type": "integer",
  3772. "description": "每页条数",
  3773. "name": "pagesize",
  3774. "in": "query"
  3775. },
  3776. {
  3777. "type": "string",
  3778. "description": "资金账户列表,格式:1,2,3",
  3779. "name": "accountIDs",
  3780. "in": "query",
  3781. "required": true
  3782. },
  3783. {
  3784. "type": "integer",
  3785. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3786. "name": "orderType",
  3787. "in": "query"
  3788. }
  3789. ],
  3790. "responses": {
  3791. "200": {
  3792. "description": "OK",
  3793. "schema": {
  3794. "$ref": "#/definitions/models.HsbySellMyDetail"
  3795. }
  3796. },
  3797. "500": {
  3798. "description": "Internal Server Error",
  3799. "schema": {
  3800. "$ref": "#/definitions/app.Response"
  3801. }
  3802. }
  3803. }
  3804. }
  3805. },
  3806. "/HSBY/QueryHsbyTopGoodses": {
  3807. "get": {
  3808. "security": [
  3809. {
  3810. "ApiKeyAuth": []
  3811. }
  3812. ],
  3813. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3814. "produces": [
  3815. "application/json"
  3816. ],
  3817. "tags": [
  3818. "定制【海商报业】"
  3819. ],
  3820. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3821. "parameters": [
  3822. {
  3823. "type": "integer",
  3824. "description": "页码",
  3825. "name": "page",
  3826. "in": "query"
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "每页条数",
  3831. "name": "pagesize",
  3832. "in": "query"
  3833. },
  3834. {
  3835. "type": "string",
  3836. "description": "市场ID列表,格式:1,2,3",
  3837. "name": "marketIDs",
  3838. "in": "query",
  3839. "required": true
  3840. },
  3841. {
  3842. "type": "integer",
  3843. "description": "目的地(省)ID",
  3844. "name": "descProvinceID",
  3845. "in": "query"
  3846. },
  3847. {
  3848. "type": "integer",
  3849. "description": "目的地(市)ID",
  3850. "name": "descCityID",
  3851. "in": "query"
  3852. }
  3853. ],
  3854. "responses": {
  3855. "200": {
  3856. "description": "OK",
  3857. "schema": {
  3858. "$ref": "#/definitions/models.HsbyTopGoods"
  3859. }
  3860. },
  3861. "500": {
  3862. "description": "Internal Server Error",
  3863. "schema": {
  3864. "$ref": "#/definitions/app.Response"
  3865. }
  3866. }
  3867. }
  3868. }
  3869. },
  3870. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3871. "get": {
  3872. "security": [
  3873. {
  3874. "ApiKeyAuth": []
  3875. }
  3876. ],
  3877. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3878. "produces": [
  3879. "application/json"
  3880. ],
  3881. "tags": [
  3882. "定制【海商报业】"
  3883. ],
  3884. "summary": "查询游客三级市场(商城)商品信息详情",
  3885. "parameters": [
  3886. {
  3887. "type": "integer",
  3888. "description": "商品ID",
  3889. "name": "goodsID",
  3890. "in": "query",
  3891. "required": true
  3892. }
  3893. ],
  3894. "responses": {
  3895. "200": {
  3896. "description": "OK",
  3897. "schema": {
  3898. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3899. }
  3900. },
  3901. "500": {
  3902. "description": "Internal Server Error",
  3903. "schema": {
  3904. "$ref": "#/definitions/app.Response"
  3905. }
  3906. }
  3907. }
  3908. }
  3909. },
  3910. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3911. "get": {
  3912. "security": [
  3913. {
  3914. "ApiKeyAuth": []
  3915. }
  3916. ],
  3917. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "定制【海商报业】"
  3923. ],
  3924. "summary": "查询游客特卖商品列表(三级商城)",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "页码",
  3929. "name": "page",
  3930. "in": "query"
  3931. },
  3932. {
  3933. "type": "integer",
  3934. "description": "每页条数",
  3935. "name": "pagesize",
  3936. "in": "query"
  3937. },
  3938. {
  3939. "type": "string",
  3940. "description": "市场ID列表,格式:1,2,3",
  3941. "name": "marketIDs",
  3942. "in": "query",
  3943. "required": true
  3944. },
  3945. {
  3946. "type": "integer",
  3947. "description": "类别ID",
  3948. "name": "categoryID",
  3949. "in": "query"
  3950. },
  3951. {
  3952. "type": "string",
  3953. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3954. "name": "goodsIDs",
  3955. "in": "query"
  3956. }
  3957. ],
  3958. "responses": {
  3959. "200": {
  3960. "description": "OK",
  3961. "schema": {
  3962. "$ref": "#/definitions/models.HsbyMarketGoods"
  3963. }
  3964. },
  3965. "500": {
  3966. "description": "Internal Server Error",
  3967. "schema": {
  3968. "$ref": "#/definitions/app.Response"
  3969. }
  3970. }
  3971. }
  3972. }
  3973. },
  3974. "/HSBY/QueryMyCollectionOrders": {
  3975. "get": {
  3976. "security": [
  3977. {
  3978. "ApiKeyAuth": []
  3979. }
  3980. ],
  3981. "produces": [
  3982. "application/json"
  3983. ],
  3984. "tags": [
  3985. "定制【海商报业】"
  3986. ],
  3987. "summary": "我的闲置中收款信息查询",
  3988. "parameters": [
  3989. {
  3990. "type": "integer",
  3991. "description": "页码",
  3992. "name": "page",
  3993. "in": "query"
  3994. },
  3995. {
  3996. "type": "integer",
  3997. "description": "每页条数",
  3998. "name": "pagesize",
  3999. "in": "query"
  4000. },
  4001. {
  4002. "type": "string",
  4003. "description": "资金账户,格式:1,2,3",
  4004. "name": "accountIDs",
  4005. "in": "query",
  4006. "required": true
  4007. }
  4008. ],
  4009. "responses": {
  4010. "200": {
  4011. "description": "OK",
  4012. "schema": {
  4013. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4014. }
  4015. },
  4016. "500": {
  4017. "description": "Internal Server Error",
  4018. "schema": {
  4019. "$ref": "#/definitions/app.Response"
  4020. }
  4021. }
  4022. }
  4023. }
  4024. },
  4025. "/HSBY/QueryMyCouponHolds": {
  4026. "get": {
  4027. "security": [
  4028. {
  4029. "ApiKeyAuth": []
  4030. }
  4031. ],
  4032. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  4033. "produces": [
  4034. "application/json"
  4035. ],
  4036. "tags": [
  4037. "定制【海商报业】"
  4038. ],
  4039. "summary": "我的优惠卷持仓查询",
  4040. "parameters": [
  4041. {
  4042. "type": "string",
  4043. "description": "资金账户列表,格式:1,2,3",
  4044. "name": "accountIDs",
  4045. "in": "query",
  4046. "required": true
  4047. },
  4048. {
  4049. "type": "string",
  4050. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4051. "name": "holdStatus",
  4052. "in": "query"
  4053. }
  4054. ],
  4055. "responses": {
  4056. "200": {
  4057. "description": "OK",
  4058. "schema": {
  4059. "$ref": "#/definitions/models.MyCouponHold"
  4060. }
  4061. },
  4062. "500": {
  4063. "description": "Internal Server Error",
  4064. "schema": {
  4065. "$ref": "#/definitions/app.Response"
  4066. }
  4067. }
  4068. }
  4069. }
  4070. },
  4071. "/HSBY/QueryMyCoupons": {
  4072. "get": {
  4073. "security": [
  4074. {
  4075. "ApiKeyAuth": []
  4076. }
  4077. ],
  4078. "produces": [
  4079. "application/json"
  4080. ],
  4081. "tags": [
  4082. "定制【海商报业】"
  4083. ],
  4084. "summary": "我的优惠卷查询",
  4085. "parameters": [
  4086. {
  4087. "type": "string",
  4088. "description": "资金账户列表,格式:1,2,3",
  4089. "name": "accountIDs",
  4090. "in": "query",
  4091. "required": true
  4092. },
  4093. {
  4094. "type": "integer",
  4095. "description": "商品ID, 一般与sellUserID配套传入",
  4096. "name": "goodsID",
  4097. "in": "query"
  4098. },
  4099. {
  4100. "type": "integer",
  4101. "description": "卖方UserID",
  4102. "name": "sellUserID",
  4103. "in": "query"
  4104. }
  4105. ],
  4106. "responses": {
  4107. "200": {
  4108. "description": "OK",
  4109. "schema": {
  4110. "$ref": "#/definitions/models.MyCoupon"
  4111. }
  4112. },
  4113. "500": {
  4114. "description": "Internal Server Error",
  4115. "schema": {
  4116. "$ref": "#/definitions/app.Response"
  4117. }
  4118. }
  4119. }
  4120. }
  4121. },
  4122. "/HSBY/QueryMyPayOrders": {
  4123. "get": {
  4124. "security": [
  4125. {
  4126. "ApiKeyAuth": []
  4127. }
  4128. ],
  4129. "produces": [
  4130. "application/json"
  4131. ],
  4132. "tags": [
  4133. "定制【海商报业】"
  4134. ],
  4135. "summary": "获取我的订单中待付款信息",
  4136. "parameters": [
  4137. {
  4138. "type": "integer",
  4139. "description": "页码",
  4140. "name": "page",
  4141. "in": "query"
  4142. },
  4143. {
  4144. "type": "integer",
  4145. "description": "每页条数",
  4146. "name": "pagesize",
  4147. "in": "query"
  4148. },
  4149. {
  4150. "type": "string",
  4151. "description": "资金账户列表,格式:1,2,3",
  4152. "name": "accountIDs",
  4153. "in": "query",
  4154. "required": true
  4155. },
  4156. {
  4157. "type": "integer",
  4158. "description": "买方委托单号",
  4159. "name": "buyOrderID",
  4160. "in": "query"
  4161. },
  4162. {
  4163. "type": "integer",
  4164. "description": "卖方委托单号",
  4165. "name": "sellOrderID",
  4166. "in": "query"
  4167. }
  4168. ],
  4169. "responses": {
  4170. "200": {
  4171. "description": "OK",
  4172. "schema": {
  4173. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4174. }
  4175. },
  4176. "500": {
  4177. "description": "Internal Server Error",
  4178. "schema": {
  4179. "$ref": "#/definitions/app.Response"
  4180. }
  4181. }
  4182. }
  4183. }
  4184. },
  4185. "/HSBY/QueryMyUsedCoupon": {
  4186. "get": {
  4187. "security": [
  4188. {
  4189. "ApiKeyAuth": []
  4190. }
  4191. ],
  4192. "produces": [
  4193. "application/json"
  4194. ],
  4195. "tags": [
  4196. "定制【海商报业】"
  4197. ],
  4198. "summary": "已使用优惠卷查询",
  4199. "parameters": [
  4200. {
  4201. "type": "string",
  4202. "description": "资金账户列表,格式:1,2,3",
  4203. "name": "accountIDs",
  4204. "in": "query",
  4205. "required": true
  4206. }
  4207. ],
  4208. "responses": {
  4209. "200": {
  4210. "description": "OK",
  4211. "schema": {
  4212. "$ref": "#/definitions/models.MyUsedCoupon"
  4213. }
  4214. },
  4215. "500": {
  4216. "description": "Internal Server Error",
  4217. "schema": {
  4218. "$ref": "#/definitions/app.Response"
  4219. }
  4220. }
  4221. }
  4222. }
  4223. },
  4224. "/HSBY/QueryProvincesAndCities": {
  4225. "get": {
  4226. "security": [
  4227. {
  4228. "ApiKeyAuth": []
  4229. }
  4230. ],
  4231. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4232. "produces": [
  4233. "application/json"
  4234. ],
  4235. "tags": [
  4236. "定制【海商报业】"
  4237. ],
  4238. "summary": "查询省市信息(不包括区)",
  4239. "parameters": [
  4240. {
  4241. "type": "integer",
  4242. "description": "省ID",
  4243. "name": "provinceID",
  4244. "in": "query"
  4245. }
  4246. ],
  4247. "responses": {
  4248. "200": {
  4249. "description": "OK",
  4250. "schema": {
  4251. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4252. }
  4253. },
  4254. "500": {
  4255. "description": "Internal Server Error",
  4256. "schema": {
  4257. "$ref": "#/definitions/app.Response"
  4258. }
  4259. }
  4260. }
  4261. }
  4262. },
  4263. "/HSBY/SetHsbyMyPackagesStatus": {
  4264. "post": {
  4265. "security": [
  4266. {
  4267. "ApiKeyAuth": []
  4268. }
  4269. ],
  4270. "produces": [
  4271. "application/json"
  4272. ],
  4273. "tags": [
  4274. "定制【海商报业】"
  4275. ],
  4276. "summary": "设置我的包裹已收货状态",
  4277. "parameters": [
  4278. {
  4279. "type": "string",
  4280. "description": "提货单号",
  4281. "name": "takeOrderID",
  4282. "in": "query",
  4283. "required": true
  4284. },
  4285. {
  4286. "type": "integer",
  4287. "description": "资金账号",
  4288. "name": "accountID",
  4289. "in": "query",
  4290. "required": true
  4291. }
  4292. ],
  4293. "responses": {
  4294. "200": {
  4295. "description": "OK",
  4296. "schema": {
  4297. "$ref": "#/definitions/app.Response"
  4298. }
  4299. },
  4300. "500": {
  4301. "description": "Internal Server Error",
  4302. "schema": {
  4303. "$ref": "#/definitions/app.Response"
  4304. }
  4305. }
  4306. }
  4307. }
  4308. },
  4309. "/Market/QueryGoodsesByLoginID": {
  4310. "get": {
  4311. "security": [
  4312. {
  4313. "ApiKeyAuth": []
  4314. }
  4315. ],
  4316. "produces": [
  4317. "application/json"
  4318. ],
  4319. "tags": [
  4320. "通用市场"
  4321. ],
  4322. "summary": "获取登录账号有权限的商品信息",
  4323. "parameters": [
  4324. {
  4325. "type": "integer",
  4326. "description": "登录账号",
  4327. "name": "loginID",
  4328. "in": "query",
  4329. "required": true
  4330. },
  4331. {
  4332. "type": "string",
  4333. "description": "市场ID列表,格式:1,2,3",
  4334. "name": "marketIDs",
  4335. "in": "query"
  4336. }
  4337. ],
  4338. "responses": {
  4339. "200": {
  4340. "description": "OK",
  4341. "schema": {
  4342. "$ref": "#/definitions/models.Goods"
  4343. }
  4344. },
  4345. "500": {
  4346. "description": "Internal Server Error",
  4347. "schema": {
  4348. "$ref": "#/definitions/app.Response"
  4349. }
  4350. }
  4351. }
  4352. }
  4353. },
  4354. "/Market/QueryMarketRun": {
  4355. "get": {
  4356. "security": [
  4357. {
  4358. "ApiKeyAuth": []
  4359. }
  4360. ],
  4361. "produces": [
  4362. "application/json"
  4363. ],
  4364. "tags": [
  4365. "通用市场"
  4366. ],
  4367. "summary": "查询市场运行信息",
  4368. "parameters": [
  4369. {
  4370. "type": "integer",
  4371. "description": "市场ID,不传返回所有",
  4372. "name": "marketID",
  4373. "in": "query"
  4374. }
  4375. ],
  4376. "responses": {
  4377. "200": {
  4378. "description": "OK",
  4379. "schema": {
  4380. "$ref": "#/definitions/models.Marketrun"
  4381. }
  4382. },
  4383. "500": {
  4384. "description": "Internal Server Error",
  4385. "schema": {
  4386. "$ref": "#/definitions/app.Response"
  4387. }
  4388. }
  4389. }
  4390. }
  4391. },
  4392. "/Market/QueryMarketsByLoginID": {
  4393. "get": {
  4394. "security": [
  4395. {
  4396. "ApiKeyAuth": []
  4397. }
  4398. ],
  4399. "produces": [
  4400. "application/json"
  4401. ],
  4402. "tags": [
  4403. "通用市场"
  4404. ],
  4405. "summary": "获取登录账号有权限的市场信息",
  4406. "parameters": [
  4407. {
  4408. "type": "integer",
  4409. "description": "登录账号",
  4410. "name": "loginID",
  4411. "in": "query",
  4412. "required": true
  4413. }
  4414. ],
  4415. "responses": {
  4416. "200": {
  4417. "description": "OK",
  4418. "schema": {
  4419. "$ref": "#/definitions/models.Market"
  4420. }
  4421. },
  4422. "500": {
  4423. "description": "Internal Server Error",
  4424. "schema": {
  4425. "$ref": "#/definitions/app.Response"
  4426. }
  4427. }
  4428. }
  4429. }
  4430. },
  4431. "/Order/QueryHisTradeDetail": {
  4432. "get": {
  4433. "security": [
  4434. {
  4435. "ApiKeyAuth": []
  4436. }
  4437. ],
  4438. "produces": [
  4439. "application/json"
  4440. ],
  4441. "tags": [
  4442. "通用单据"
  4443. ],
  4444. "summary": "历史成交单查询(合约市场)",
  4445. "parameters": [
  4446. {
  4447. "type": "string",
  4448. "description": "资金账户 - 格式:1,2,3",
  4449. "name": "accountID",
  4450. "in": "query",
  4451. "required": true
  4452. },
  4453. {
  4454. "type": "integer",
  4455. "description": "成交单号",
  4456. "name": "tradeID",
  4457. "in": "query"
  4458. },
  4459. {
  4460. "type": "integer",
  4461. "description": "委托单号",
  4462. "name": "orderID",
  4463. "in": "query"
  4464. },
  4465. {
  4466. "type": "string",
  4467. "description": "交易模式 - 格式:1,2,3",
  4468. "name": "tradeMode",
  4469. "in": "query"
  4470. },
  4471. {
  4472. "type": "integer",
  4473. "description": "委托单据类型",
  4474. "name": "buildType",
  4475. "in": "query"
  4476. },
  4477. {
  4478. "type": "string",
  4479. "description": "成交类别 - 格式:1,2,3",
  4480. "name": "tradeType",
  4481. "in": "query"
  4482. },
  4483. {
  4484. "type": "string",
  4485. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4486. "name": "startDate",
  4487. "in": "query"
  4488. },
  4489. {
  4490. "type": "string",
  4491. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4492. "name": "endDate",
  4493. "in": "query"
  4494. }
  4495. ],
  4496. "responses": {
  4497. "200": {
  4498. "description": "OK",
  4499. "schema": {
  4500. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4501. }
  4502. },
  4503. "500": {
  4504. "description": "Internal Server Error",
  4505. "schema": {
  4506. "$ref": "#/definitions/app.Response"
  4507. }
  4508. }
  4509. }
  4510. }
  4511. },
  4512. "/Order/QueryHisTradeOrderDetail": {
  4513. "get": {
  4514. "security": [
  4515. {
  4516. "ApiKeyAuth": []
  4517. }
  4518. ],
  4519. "produces": [
  4520. "application/json"
  4521. ],
  4522. "tags": [
  4523. "通用单据"
  4524. ],
  4525. "summary": "历史委托单查询请求(合约市场)",
  4526. "parameters": [
  4527. {
  4528. "type": "string",
  4529. "description": "资金账户 - 格式:1,2,3",
  4530. "name": "accountID",
  4531. "in": "query",
  4532. "required": true
  4533. },
  4534. {
  4535. "type": "string",
  4536. "description": "交易模式 - 格式:1,2,3",
  4537. "name": "tradeMode",
  4538. "in": "query"
  4539. },
  4540. {
  4541. "type": "string",
  4542. "description": "委托状态 - 格式:1,2,3",
  4543. "name": "orderStatus",
  4544. "in": "query"
  4545. },
  4546. {
  4547. "type": "integer",
  4548. "description": "委托单号",
  4549. "name": "orderID",
  4550. "in": "query"
  4551. },
  4552. {
  4553. "type": "string",
  4554. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4555. "name": "startDate",
  4556. "in": "query"
  4557. },
  4558. {
  4559. "type": "string",
  4560. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4561. "name": "endDate",
  4562. "in": "query"
  4563. }
  4564. ],
  4565. "responses": {
  4566. "200": {
  4567. "description": "OK",
  4568. "schema": {
  4569. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4570. }
  4571. },
  4572. "500": {
  4573. "description": "Internal Server Error",
  4574. "schema": {
  4575. "$ref": "#/definitions/app.Response"
  4576. }
  4577. }
  4578. }
  4579. }
  4580. },
  4581. "/Order/QueryTradeDetail": {
  4582. "get": {
  4583. "security": [
  4584. {
  4585. "ApiKeyAuth": []
  4586. }
  4587. ],
  4588. "produces": [
  4589. "application/json"
  4590. ],
  4591. "tags": [
  4592. "通用单据"
  4593. ],
  4594. "summary": "成交单查询(合约市场)",
  4595. "parameters": [
  4596. {
  4597. "type": "string",
  4598. "description": "资金账户 - 格式:1,2,3",
  4599. "name": "accountID",
  4600. "in": "query",
  4601. "required": true
  4602. },
  4603. {
  4604. "type": "integer",
  4605. "description": "成交单号",
  4606. "name": "tradeID",
  4607. "in": "query"
  4608. },
  4609. {
  4610. "type": "integer",
  4611. "description": "委托单号",
  4612. "name": "orderID",
  4613. "in": "query"
  4614. },
  4615. {
  4616. "type": "string",
  4617. "description": "交易模式 - 格式:1,2,3",
  4618. "name": "tradeMode",
  4619. "in": "query"
  4620. },
  4621. {
  4622. "type": "integer",
  4623. "description": "委托单据类型",
  4624. "name": "buildType",
  4625. "in": "query"
  4626. },
  4627. {
  4628. "type": "string",
  4629. "description": "成交类别 - 格式:1,2,3",
  4630. "name": "tradeType",
  4631. "in": "query"
  4632. }
  4633. ],
  4634. "responses": {
  4635. "200": {
  4636. "description": "OK",
  4637. "schema": {
  4638. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4639. }
  4640. },
  4641. "500": {
  4642. "description": "Internal Server Error",
  4643. "schema": {
  4644. "$ref": "#/definitions/app.Response"
  4645. }
  4646. }
  4647. }
  4648. }
  4649. },
  4650. "/Order/QueryTradeOrderDetail": {
  4651. "get": {
  4652. "security": [
  4653. {
  4654. "ApiKeyAuth": []
  4655. }
  4656. ],
  4657. "produces": [
  4658. "application/json"
  4659. ],
  4660. "tags": [
  4661. "通用单据"
  4662. ],
  4663. "summary": "委托单查询请求(合约市场)",
  4664. "parameters": [
  4665. {
  4666. "type": "string",
  4667. "description": "资金账户 - 格式:1,2,3",
  4668. "name": "accountID",
  4669. "in": "query",
  4670. "required": true
  4671. },
  4672. {
  4673. "type": "string",
  4674. "description": "交易模式 - 格式:1,2,3",
  4675. "name": "tradeMode",
  4676. "in": "query"
  4677. },
  4678. {
  4679. "type": "string",
  4680. "description": "委托状态 - 格式:1,2,3",
  4681. "name": "orderStatus",
  4682. "in": "query"
  4683. },
  4684. {
  4685. "type": "integer",
  4686. "description": "委托单号",
  4687. "name": "orderID",
  4688. "in": "query"
  4689. }
  4690. ],
  4691. "responses": {
  4692. "200": {
  4693. "description": "OK",
  4694. "schema": {
  4695. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4696. }
  4697. },
  4698. "500": {
  4699. "description": "Internal Server Error",
  4700. "schema": {
  4701. "$ref": "#/definitions/app.Response"
  4702. }
  4703. }
  4704. }
  4705. }
  4706. },
  4707. "/Order/QueryTradePosition": {
  4708. "get": {
  4709. "security": [
  4710. {
  4711. "ApiKeyAuth": []
  4712. }
  4713. ],
  4714. "produces": [
  4715. "application/json"
  4716. ],
  4717. "tags": [
  4718. "通用单据"
  4719. ],
  4720. "summary": "持仓汇总查询(合约市场)",
  4721. "parameters": [
  4722. {
  4723. "type": "string",
  4724. "description": "资金账户 - 格式:1,2,3",
  4725. "name": "accountID",
  4726. "in": "query",
  4727. "required": true
  4728. },
  4729. {
  4730. "type": "string",
  4731. "description": "交易模式 - 格式:1,2,3",
  4732. "name": "tradeMode",
  4733. "in": "query"
  4734. }
  4735. ],
  4736. "responses": {
  4737. "200": {
  4738. "description": "OK",
  4739. "schema": {
  4740. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/Quote/QueryHistoryDatas": {
  4753. "get": {
  4754. "security": [
  4755. {
  4756. "ApiKeyAuth": []
  4757. }
  4758. ],
  4759. "produces": [
  4760. "application/json"
  4761. ],
  4762. "tags": [
  4763. "行情服务"
  4764. ],
  4765. "summary": "查询行情历史数据",
  4766. "parameters": [
  4767. {
  4768. "type": "integer",
  4769. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4770. "name": "cycleType",
  4771. "in": "query",
  4772. "required": true
  4773. },
  4774. {
  4775. "type": "string",
  4776. "description": "商品代码",
  4777. "name": "goodsCode",
  4778. "in": "query",
  4779. "required": true
  4780. },
  4781. {
  4782. "type": "string",
  4783. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4784. "name": "startTime",
  4785. "in": "query"
  4786. },
  4787. {
  4788. "type": "string",
  4789. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4790. "name": "endTime",
  4791. "in": "query"
  4792. },
  4793. {
  4794. "type": "integer",
  4795. "description": "条数",
  4796. "name": "count",
  4797. "in": "query"
  4798. },
  4799. {
  4800. "type": "boolean",
  4801. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4802. "name": "isAsc",
  4803. "in": "query"
  4804. }
  4805. ],
  4806. "responses": {
  4807. "200": {
  4808. "description": "OK",
  4809. "schema": {
  4810. "$ref": "#/definitions/quote.HistoryData"
  4811. }
  4812. },
  4813. "500": {
  4814. "description": "Internal Server Error",
  4815. "schema": {
  4816. "$ref": "#/definitions/app.Response"
  4817. }
  4818. }
  4819. }
  4820. }
  4821. },
  4822. "/Quote/QueryTSData": {
  4823. "get": {
  4824. "produces": [
  4825. "application/json"
  4826. ],
  4827. "tags": [
  4828. "行情服务"
  4829. ],
  4830. "summary": "分时图数据查询",
  4831. "parameters": [
  4832. {
  4833. "type": "string",
  4834. "description": "商品代码",
  4835. "name": "goodsCode",
  4836. "in": "query",
  4837. "required": true
  4838. }
  4839. ],
  4840. "responses": {
  4841. "200": {
  4842. "description": "OK",
  4843. "schema": {
  4844. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4845. }
  4846. },
  4847. "500": {
  4848. "description": "Internal Server Error",
  4849. "schema": {
  4850. "$ref": "#/definitions/app.Response"
  4851. }
  4852. }
  4853. }
  4854. }
  4855. },
  4856. "/SZDZ/QueryConvertConfig": {
  4857. "get": {
  4858. "security": [
  4859. {
  4860. "ApiKeyAuth": []
  4861. }
  4862. ],
  4863. "produces": [
  4864. "application/json"
  4865. ],
  4866. "tags": [
  4867. "定制【尚志大宗】"
  4868. ],
  4869. "summary": "查询交易系统转换设置",
  4870. "parameters": [
  4871. {
  4872. "type": "integer",
  4873. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4874. "name": "convertType",
  4875. "in": "query"
  4876. },
  4877. {
  4878. "type": "string",
  4879. "description": "外部商品代码[JD\\PD]",
  4880. "name": "outerGoodsCode",
  4881. "in": "query"
  4882. },
  4883. {
  4884. "type": "string",
  4885. "description": "内部商品ID列表[交易],格式:1,2,3",
  4886. "name": "innerGoodsIDs",
  4887. "in": "query"
  4888. }
  4889. ],
  4890. "responses": {
  4891. "200": {
  4892. "description": "OK",
  4893. "schema": {
  4894. "$ref": "#/definitions/models.Szdz3convertconfig"
  4895. }
  4896. },
  4897. "500": {
  4898. "description": "Internal Server Error",
  4899. "schema": {
  4900. "$ref": "#/definitions/app.Response"
  4901. }
  4902. }
  4903. }
  4904. }
  4905. },
  4906. "/SZDZ/QueryConvertLog": {
  4907. "get": {
  4908. "security": [
  4909. {
  4910. "ApiKeyAuth": []
  4911. }
  4912. ],
  4913. "produces": [
  4914. "application/json"
  4915. ],
  4916. "tags": [
  4917. "定制【尚志大宗】"
  4918. ],
  4919. "summary": "交易系统转换流水查询",
  4920. "parameters": [
  4921. {
  4922. "type": "string",
  4923. "description": "资金账户 - 格式:1,2,3",
  4924. "name": "accountID",
  4925. "in": "query",
  4926. "required": true
  4927. },
  4928. {
  4929. "type": "string",
  4930. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4931. "name": "startDate",
  4932. "in": "query"
  4933. },
  4934. {
  4935. "type": "string",
  4936. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4937. "name": "endDate",
  4938. "in": "query"
  4939. }
  4940. ],
  4941. "responses": {
  4942. "200": {
  4943. "description": "OK",
  4944. "schema": {
  4945. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4946. }
  4947. },
  4948. "500": {
  4949. "description": "Internal Server Error",
  4950. "schema": {
  4951. "$ref": "#/definitions/app.Response"
  4952. }
  4953. }
  4954. }
  4955. }
  4956. },
  4957. "/SZDZ/QueryGoodsPickup": {
  4958. "get": {
  4959. "security": [
  4960. {
  4961. "ApiKeyAuth": []
  4962. }
  4963. ],
  4964. "produces": [
  4965. "application/json"
  4966. ],
  4967. "tags": [
  4968. "定制【尚志大宗】"
  4969. ],
  4970. "summary": "商品提货单查询",
  4971. "parameters": [
  4972. {
  4973. "type": "string",
  4974. "description": "资金账户 - 格式:1,2,3",
  4975. "name": "accountID",
  4976. "in": "query",
  4977. "required": true
  4978. },
  4979. {
  4980. "type": "integer",
  4981. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  4982. "name": "takeOrderStatus",
  4983. "in": "query"
  4984. }
  4985. ],
  4986. "responses": {
  4987. "200": {
  4988. "description": "OK",
  4989. "schema": {
  4990. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  4991. }
  4992. },
  4993. "500": {
  4994. "description": "Internal Server Error",
  4995. "schema": {
  4996. "$ref": "#/definitions/app.Response"
  4997. }
  4998. }
  4999. }
  5000. }
  5001. },
  5002. "/SZDZ/QueryRecieptOrder": {
  5003. "get": {
  5004. "security": [
  5005. {
  5006. "ApiKeyAuth": []
  5007. }
  5008. ],
  5009. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5010. "produces": [
  5011. "application/json"
  5012. ],
  5013. "tags": [
  5014. "定制【尚志大宗】"
  5015. ],
  5016. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5017. "parameters": [
  5018. {
  5019. "type": "integer",
  5020. "description": "页码",
  5021. "name": "page",
  5022. "in": "query"
  5023. },
  5024. {
  5025. "type": "integer",
  5026. "description": "每页条数",
  5027. "name": "pagesize",
  5028. "in": "query"
  5029. },
  5030. {
  5031. "type": "integer",
  5032. "description": "商品ID",
  5033. "name": "goodsID",
  5034. "in": "query",
  5035. "required": true
  5036. },
  5037. {
  5038. "type": "string",
  5039. "description": "所属账户名称",
  5040. "name": "accountName",
  5041. "in": "query"
  5042. },
  5043. {
  5044. "type": "integer",
  5045. "description": "市场ID",
  5046. "name": "marketID",
  5047. "in": "query"
  5048. },
  5049. {
  5050. "type": "integer",
  5051. "description": "方向 - 0:买 1:卖",
  5052. "name": "buyorsell",
  5053. "in": "query",
  5054. "required": true
  5055. }
  5056. ],
  5057. "responses": {
  5058. "200": {
  5059. "description": "OK",
  5060. "schema": {
  5061. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5062. }
  5063. },
  5064. "500": {
  5065. "description": "Internal Server Error",
  5066. "schema": {
  5067. "$ref": "#/definitions/app.Response"
  5068. }
  5069. }
  5070. }
  5071. }
  5072. },
  5073. "/SZDZ/QuerySZDZTradePosition": {
  5074. "get": {
  5075. "security": [
  5076. {
  5077. "ApiKeyAuth": []
  5078. }
  5079. ],
  5080. "produces": [
  5081. "application/json"
  5082. ],
  5083. "tags": [
  5084. "定制【尚志大宗】"
  5085. ],
  5086. "summary": "持仓汇总查询(尚志大宗)",
  5087. "parameters": [
  5088. {
  5089. "type": "integer",
  5090. "description": "资金账户",
  5091. "name": "accountID",
  5092. "in": "query",
  5093. "required": true
  5094. }
  5095. ],
  5096. "responses": {
  5097. "200": {
  5098. "description": "OK",
  5099. "schema": {
  5100. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5101. }
  5102. },
  5103. "500": {
  5104. "description": "Internal Server Error",
  5105. "schema": {
  5106. "$ref": "#/definitions/app.Response"
  5107. }
  5108. }
  5109. }
  5110. }
  5111. },
  5112. "/SZDZ/SearchWhite": {
  5113. "get": {
  5114. "security": [
  5115. {
  5116. "ApiKeyAuth": []
  5117. }
  5118. ],
  5119. "produces": [
  5120. "application/json"
  5121. ],
  5122. "tags": [
  5123. "定制【尚志大宗】"
  5124. ],
  5125. "summary": "搜索白名单",
  5126. "parameters": [
  5127. {
  5128. "type": "integer",
  5129. "description": "用户ID",
  5130. "name": "userID",
  5131. "in": "query",
  5132. "required": true
  5133. }
  5134. ],
  5135. "responses": {
  5136. "200": {
  5137. "description": "OK",
  5138. "schema": {
  5139. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5140. }
  5141. },
  5142. "500": {
  5143. "description": "Internal Server Error",
  5144. "schema": {
  5145. "$ref": "#/definitions/app.Response"
  5146. }
  5147. }
  5148. }
  5149. }
  5150. },
  5151. "/Search/SearchGoodses": {
  5152. "get": {
  5153. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5154. "produces": [
  5155. "application/json"
  5156. ],
  5157. "tags": [
  5158. "检索服务"
  5159. ],
  5160. "summary": "检索商品信息",
  5161. "parameters": [
  5162. {
  5163. "type": "string",
  5164. "description": "检索内容",
  5165. "name": "content",
  5166. "in": "query",
  5167. "required": true
  5168. },
  5169. {
  5170. "type": "string",
  5171. "description": "交易模式,格式:1,2,3",
  5172. "name": "tradeModes",
  5173. "in": "query"
  5174. }
  5175. ],
  5176. "responses": {
  5177. "200": {
  5178. "description": "OK",
  5179. "schema": {
  5180. "$ref": "#/definitions/models.SearchGoods"
  5181. }
  5182. },
  5183. "500": {
  5184. "description": "Internal Server Error",
  5185. "schema": {
  5186. "$ref": "#/definitions/app.Response"
  5187. }
  5188. }
  5189. }
  5190. }
  5191. },
  5192. "/TaAccount/GetTaAccounts": {
  5193. "get": {
  5194. "security": [
  5195. {
  5196. "ApiKeyAuth": []
  5197. }
  5198. ],
  5199. "produces": [
  5200. "application/json"
  5201. ],
  5202. "tags": [
  5203. "资金账户"
  5204. ],
  5205. "summary": "获取资金账户信息",
  5206. "parameters": [
  5207. {
  5208. "type": "integer",
  5209. "description": "登录账户",
  5210. "name": "loginID",
  5211. "in": "query",
  5212. "required": true
  5213. },
  5214. {
  5215. "type": "integer",
  5216. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5217. "name": "taAccountType",
  5218. "in": "query"
  5219. }
  5220. ],
  5221. "responses": {
  5222. "200": {
  5223. "description": "OK",
  5224. "schema": {
  5225. "$ref": "#/definitions/models.Taaccount"
  5226. }
  5227. },
  5228. "500": {
  5229. "description": "Internal Server Error",
  5230. "schema": {
  5231. "$ref": "#/definitions/app.Response"
  5232. }
  5233. }
  5234. }
  5235. }
  5236. },
  5237. "/TaAccount/QueryAmountLog": {
  5238. "get": {
  5239. "security": [
  5240. {
  5241. "ApiKeyAuth": []
  5242. }
  5243. ],
  5244. "produces": [
  5245. "application/json"
  5246. ],
  5247. "tags": [
  5248. "资金账户"
  5249. ],
  5250. "summary": "资金流水查询(当前)",
  5251. "parameters": [
  5252. {
  5253. "type": "integer",
  5254. "description": "页码",
  5255. "name": "page",
  5256. "in": "query"
  5257. },
  5258. {
  5259. "type": "integer",
  5260. "description": "每页条数",
  5261. "name": "pagesize",
  5262. "in": "query"
  5263. },
  5264. {
  5265. "type": "string",
  5266. "description": "资金账户 - 格式:1,2,3",
  5267. "name": "accountID",
  5268. "in": "query",
  5269. "required": true
  5270. },
  5271. {
  5272. "type": "string",
  5273. "description": "资金操作类型 - 格式:1,2,3",
  5274. "name": "OperateType",
  5275. "in": "query"
  5276. }
  5277. ],
  5278. "responses": {
  5279. "200": {
  5280. "description": "OK",
  5281. "schema": {
  5282. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5283. }
  5284. },
  5285. "500": {
  5286. "description": "Internal Server Error",
  5287. "schema": {
  5288. "$ref": "#/definitions/app.Response"
  5289. }
  5290. }
  5291. }
  5292. }
  5293. },
  5294. "/TaAccount/QueryHisAmountLog": {
  5295. "get": {
  5296. "security": [
  5297. {
  5298. "ApiKeyAuth": []
  5299. }
  5300. ],
  5301. "produces": [
  5302. "application/json"
  5303. ],
  5304. "tags": [
  5305. "资金账户"
  5306. ],
  5307. "summary": "资金流水查询(历史)",
  5308. "parameters": [
  5309. {
  5310. "type": "integer",
  5311. "description": "页码",
  5312. "name": "page",
  5313. "in": "query"
  5314. },
  5315. {
  5316. "type": "integer",
  5317. "description": "每页条数",
  5318. "name": "pagesize",
  5319. "in": "query"
  5320. },
  5321. {
  5322. "type": "string",
  5323. "description": "资金账户 - 格式:1,2,3",
  5324. "name": "accountID",
  5325. "in": "query",
  5326. "required": true
  5327. },
  5328. {
  5329. "type": "string",
  5330. "description": "资金操作类型 - 格式:1,2,3",
  5331. "name": "OperateType",
  5332. "in": "query"
  5333. },
  5334. {
  5335. "type": "string",
  5336. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5337. "name": "startDate",
  5338. "in": "query"
  5339. },
  5340. {
  5341. "type": "string",
  5342. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5343. "name": "endDate",
  5344. "in": "query"
  5345. }
  5346. ],
  5347. "responses": {
  5348. "200": {
  5349. "description": "OK",
  5350. "schema": {
  5351. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5352. }
  5353. },
  5354. "500": {
  5355. "description": "Internal Server Error",
  5356. "schema": {
  5357. "$ref": "#/definitions/app.Response"
  5358. }
  5359. }
  5360. }
  5361. }
  5362. },
  5363. "/Trade/QueryRecieptOrder": {
  5364. "get": {
  5365. "security": [
  5366. {
  5367. "ApiKeyAuth": []
  5368. }
  5369. ],
  5370. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5371. "produces": [
  5372. "application/json"
  5373. ],
  5374. "tags": [
  5375. "通用交易"
  5376. ],
  5377. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5378. "parameters": [
  5379. {
  5380. "type": "integer",
  5381. "description": "页码",
  5382. "name": "page",
  5383. "in": "query"
  5384. },
  5385. {
  5386. "type": "integer",
  5387. "description": "每页条数",
  5388. "name": "pagesize",
  5389. "in": "query"
  5390. },
  5391. {
  5392. "type": "integer",
  5393. "description": "商品ID",
  5394. "name": "goodsID",
  5395. "in": "query",
  5396. "required": true
  5397. },
  5398. {
  5399. "type": "string",
  5400. "description": "所属账户名称",
  5401. "name": "accountName",
  5402. "in": "query"
  5403. },
  5404. {
  5405. "type": "integer",
  5406. "description": "市场ID",
  5407. "name": "marketID",
  5408. "in": "query"
  5409. },
  5410. {
  5411. "type": "integer",
  5412. "description": "方向 - 0:买 1:卖",
  5413. "name": "buyorsell",
  5414. "in": "query",
  5415. "required": true
  5416. }
  5417. ],
  5418. "responses": {
  5419. "200": {
  5420. "description": "OK",
  5421. "schema": {
  5422. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5423. }
  5424. },
  5425. "500": {
  5426. "description": "Internal Server Error",
  5427. "schema": {
  5428. "$ref": "#/definitions/app.Response"
  5429. }
  5430. }
  5431. }
  5432. }
  5433. },
  5434. "/User/AddMessageBoard": {
  5435. "post": {
  5436. "security": [
  5437. {
  5438. "ApiKeyAuth": []
  5439. }
  5440. ],
  5441. "produces": [
  5442. "application/json"
  5443. ],
  5444. "tags": [
  5445. "用户信息"
  5446. ],
  5447. "summary": "添加用户留言板信息",
  5448. "parameters": [
  5449. {
  5450. "type": "integer",
  5451. "description": "用户ID",
  5452. "name": "userID",
  5453. "in": "query",
  5454. "required": true
  5455. },
  5456. {
  5457. "type": "string",
  5458. "description": "留言信息",
  5459. "name": "message",
  5460. "in": "query",
  5461. "required": true
  5462. }
  5463. ],
  5464. "responses": {
  5465. "200": {
  5466. "description": "OK",
  5467. "schema": {
  5468. "$ref": "#/definitions/app.Response"
  5469. }
  5470. },
  5471. "500": {
  5472. "description": "Internal Server Error",
  5473. "schema": {
  5474. "$ref": "#/definitions/app.Response"
  5475. }
  5476. }
  5477. }
  5478. }
  5479. },
  5480. "/User/AddUserFavoriteGoods": {
  5481. "post": {
  5482. "security": [
  5483. {
  5484. "ApiKeyAuth": []
  5485. }
  5486. ],
  5487. "produces": [
  5488. "application/json"
  5489. ],
  5490. "tags": [
  5491. "用户信息"
  5492. ],
  5493. "summary": "添加用户商品收藏信息",
  5494. "parameters": [
  5495. {
  5496. "type": "integer",
  5497. "description": "用户ID",
  5498. "name": "userID",
  5499. "in": "query",
  5500. "required": true
  5501. },
  5502. {
  5503. "type": "integer",
  5504. "description": "商品ID",
  5505. "name": "goodsID",
  5506. "in": "query",
  5507. "required": true
  5508. }
  5509. ],
  5510. "responses": {
  5511. "200": {
  5512. "description": "OK",
  5513. "schema": {
  5514. "$ref": "#/definitions/app.Response"
  5515. }
  5516. },
  5517. "500": {
  5518. "description": "Internal Server Error",
  5519. "schema": {
  5520. "$ref": "#/definitions/app.Response"
  5521. }
  5522. }
  5523. }
  5524. }
  5525. },
  5526. "/User/GetLoginID": {
  5527. "get": {
  5528. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5529. "produces": [
  5530. "application/json"
  5531. ],
  5532. "tags": [
  5533. "用户信息"
  5534. ],
  5535. "summary": "获取登录ID",
  5536. "parameters": [
  5537. {
  5538. "type": "string",
  5539. "description": "登录代码",
  5540. "name": "username",
  5541. "in": "query",
  5542. "required": true
  5543. }
  5544. ],
  5545. "responses": {
  5546. "200": {
  5547. "description": "OK",
  5548. "schema": {
  5549. "$ref": "#/definitions/app.Response"
  5550. }
  5551. },
  5552. "500": {
  5553. "description": "Internal Server Error",
  5554. "schema": {
  5555. "$ref": "#/definitions/app.Response"
  5556. }
  5557. }
  5558. }
  5559. }
  5560. },
  5561. "/User/GetUserAccount": {
  5562. "get": {
  5563. "security": [
  5564. {
  5565. "ApiKeyAuth": []
  5566. }
  5567. ],
  5568. "produces": [
  5569. "application/json"
  5570. ],
  5571. "tags": [
  5572. "用户信息"
  5573. ],
  5574. "summary": "获取用户账号信息",
  5575. "parameters": [
  5576. {
  5577. "type": "integer",
  5578. "description": "用户ID",
  5579. "name": "userID",
  5580. "in": "query",
  5581. "required": true
  5582. }
  5583. ],
  5584. "responses": {
  5585. "200": {
  5586. "description": "OK",
  5587. "schema": {
  5588. "$ref": "#/definitions/models.Useraccount"
  5589. }
  5590. },
  5591. "500": {
  5592. "description": "Internal Server Error",
  5593. "schema": {
  5594. "$ref": "#/definitions/app.Response"
  5595. }
  5596. }
  5597. }
  5598. }
  5599. },
  5600. "/User/GetUserAuthStatus": {
  5601. "get": {
  5602. "security": [
  5603. {
  5604. "ApiKeyAuth": []
  5605. }
  5606. ],
  5607. "produces": [
  5608. "application/json"
  5609. ],
  5610. "tags": [
  5611. "用户信息"
  5612. ],
  5613. "summary": "获取用户实名认证状态",
  5614. "parameters": [
  5615. {
  5616. "type": "integer",
  5617. "description": "用户ID",
  5618. "name": "userID",
  5619. "in": "query",
  5620. "required": true
  5621. }
  5622. ],
  5623. "responses": {
  5624. "200": {
  5625. "description": "OK",
  5626. "schema": {
  5627. "$ref": "#/definitions/app.Response"
  5628. }
  5629. },
  5630. "500": {
  5631. "description": "Internal Server Error",
  5632. "schema": {
  5633. "$ref": "#/definitions/app.Response"
  5634. }
  5635. }
  5636. }
  5637. }
  5638. },
  5639. "/User/QueryMessageBoard": {
  5640. "get": {
  5641. "security": [
  5642. {
  5643. "ApiKeyAuth": []
  5644. }
  5645. ],
  5646. "produces": [
  5647. "application/json"
  5648. ],
  5649. "tags": [
  5650. "用户信息"
  5651. ],
  5652. "summary": "获取用户留言板信息",
  5653. "parameters": [
  5654. {
  5655. "type": "integer",
  5656. "description": "用户ID",
  5657. "name": "userID",
  5658. "in": "query",
  5659. "required": true
  5660. }
  5661. ],
  5662. "responses": {
  5663. "200": {
  5664. "description": "OK",
  5665. "schema": {
  5666. "$ref": "#/definitions/models.Messageboard"
  5667. }
  5668. },
  5669. "500": {
  5670. "description": "Internal Server Error",
  5671. "schema": {
  5672. "$ref": "#/definitions/app.Response"
  5673. }
  5674. }
  5675. }
  5676. }
  5677. },
  5678. "/User/QueryUserFavoriteGoodses": {
  5679. "get": {
  5680. "security": [
  5681. {
  5682. "ApiKeyAuth": []
  5683. }
  5684. ],
  5685. "produces": [
  5686. "application/json"
  5687. ],
  5688. "tags": [
  5689. "用户信息"
  5690. ],
  5691. "summary": "获取用户商品收藏信息",
  5692. "parameters": [
  5693. {
  5694. "type": "integer",
  5695. "description": "用户ID",
  5696. "name": "userID",
  5697. "in": "query",
  5698. "required": true
  5699. }
  5700. ],
  5701. "responses": {
  5702. "200": {
  5703. "description": "OK",
  5704. "schema": {
  5705. "$ref": "#/definitions/models.Userfavoritegoods"
  5706. }
  5707. },
  5708. "500": {
  5709. "description": "Internal Server Error",
  5710. "schema": {
  5711. "$ref": "#/definitions/app.Response"
  5712. }
  5713. }
  5714. }
  5715. }
  5716. },
  5717. "/User/QueryUserInfo": {
  5718. "get": {
  5719. "security": [
  5720. {
  5721. "ApiKeyAuth": []
  5722. }
  5723. ],
  5724. "produces": [
  5725. "application/json"
  5726. ],
  5727. "tags": [
  5728. "用户信息"
  5729. ],
  5730. "summary": "获取用户信息",
  5731. "parameters": [
  5732. {
  5733. "type": "integer",
  5734. "description": "用户ID",
  5735. "name": "userID",
  5736. "in": "query",
  5737. "required": true
  5738. }
  5739. ],
  5740. "responses": {
  5741. "200": {
  5742. "description": "OK",
  5743. "schema": {
  5744. "$ref": "#/definitions/models.Userinfo"
  5745. }
  5746. },
  5747. "500": {
  5748. "description": "Internal Server Error",
  5749. "schema": {
  5750. "$ref": "#/definitions/app.Response"
  5751. }
  5752. }
  5753. }
  5754. }
  5755. },
  5756. "/User/QueryUserReferNum": {
  5757. "get": {
  5758. "produces": [
  5759. "application/json"
  5760. ],
  5761. "tags": [
  5762. "用户信息"
  5763. ],
  5764. "summary": "获取用户邀请码",
  5765. "parameters": [
  5766. {
  5767. "type": "integer",
  5768. "description": "用户ID",
  5769. "name": "userID",
  5770. "in": "query",
  5771. "required": true
  5772. }
  5773. ],
  5774. "responses": {
  5775. "200": {
  5776. "description": "OK",
  5777. "schema": {
  5778. "$ref": "#/definitions/app.Response"
  5779. }
  5780. },
  5781. "500": {
  5782. "description": "Internal Server Error",
  5783. "schema": {
  5784. "$ref": "#/definitions/app.Response"
  5785. }
  5786. }
  5787. }
  5788. }
  5789. },
  5790. "/User/RemoveUserFavoriteGoods": {
  5791. "post": {
  5792. "security": [
  5793. {
  5794. "ApiKeyAuth": []
  5795. }
  5796. ],
  5797. "produces": [
  5798. "application/json"
  5799. ],
  5800. "tags": [
  5801. "用户信息"
  5802. ],
  5803. "summary": "移除用户商品收藏信息",
  5804. "parameters": [
  5805. {
  5806. "type": "integer",
  5807. "description": "用户ID",
  5808. "name": "userID",
  5809. "in": "query",
  5810. "required": true
  5811. },
  5812. {
  5813. "type": "integer",
  5814. "description": "商品ID",
  5815. "name": "goodsID",
  5816. "in": "query",
  5817. "required": true
  5818. }
  5819. ],
  5820. "responses": {
  5821. "200": {
  5822. "description": "OK",
  5823. "schema": {
  5824. "$ref": "#/definitions/app.Response"
  5825. }
  5826. },
  5827. "500": {
  5828. "description": "Internal Server Error",
  5829. "schema": {
  5830. "$ref": "#/definitions/app.Response"
  5831. }
  5832. }
  5833. }
  5834. }
  5835. },
  5836. "/User/UpdateUserAccountStatus": {
  5837. "post": {
  5838. "security": [
  5839. {
  5840. "ApiKeyAuth": []
  5841. }
  5842. ],
  5843. "produces": [
  5844. "application/json"
  5845. ],
  5846. "tags": [
  5847. "用户信息"
  5848. ],
  5849. "summary": "更新用户状态",
  5850. "parameters": [
  5851. {
  5852. "type": "integer",
  5853. "description": "用户ID",
  5854. "name": "userID",
  5855. "in": "query",
  5856. "required": true
  5857. },
  5858. {
  5859. "type": "integer",
  5860. "description": "账户状态 - 4:正常 6:注销(停用)",
  5861. "name": "accountStatus",
  5862. "in": "query",
  5863. "required": true
  5864. }
  5865. ],
  5866. "responses": {
  5867. "200": {
  5868. "description": "OK",
  5869. "schema": {
  5870. "$ref": "#/definitions/app.Response"
  5871. }
  5872. },
  5873. "500": {
  5874. "description": "Internal Server Error",
  5875. "schema": {
  5876. "$ref": "#/definitions/app.Response"
  5877. }
  5878. }
  5879. }
  5880. }
  5881. },
  5882. "/WR/GetWRCategoryInfo": {
  5883. "get": {
  5884. "produces": [
  5885. "application/json"
  5886. ],
  5887. "tags": [
  5888. "仓单服务"
  5889. ],
  5890. "summary": "获取现货分类信息",
  5891. "responses": {
  5892. "200": {
  5893. "description": "OK",
  5894. "schema": {
  5895. "$ref": "#/definitions/models.WRCategoryTree"
  5896. }
  5897. },
  5898. "500": {
  5899. "description": "Internal Server Error",
  5900. "schema": {
  5901. "$ref": "#/definitions/app.Response"
  5902. }
  5903. }
  5904. }
  5905. }
  5906. },
  5907. "/WRTrade/GetAllDeliveryGoods": {
  5908. "get": {
  5909. "security": [
  5910. {
  5911. "ApiKeyAuth": []
  5912. },
  5913. {
  5914. "ApiKeyAuth": []
  5915. }
  5916. ],
  5917. "produces": [
  5918. "application/json",
  5919. "application/json"
  5920. ],
  5921. "tags": [
  5922. "仓单贸易",
  5923. "仓单贸易"
  5924. ],
  5925. "summary": "获取带仓单分类的种类信息",
  5926. "responses": {
  5927. "200": {
  5928. "description": "OK",
  5929. "schema": {
  5930. "$ref": "#/definitions/app.Response"
  5931. }
  5932. },
  5933. "500": {
  5934. "description": "Internal Server Error",
  5935. "schema": {
  5936. "$ref": "#/definitions/app.Response"
  5937. }
  5938. }
  5939. }
  5940. }
  5941. }
  5942. },
  5943. "definitions": {
  5944. "app.Response": {
  5945. "type": "object",
  5946. "properties": {
  5947. "code": {
  5948. "type": "integer"
  5949. },
  5950. "data": {
  5951. "type": "object"
  5952. },
  5953. "msg": {
  5954. "type": "string"
  5955. },
  5956. "page": {
  5957. "description": "页码",
  5958. "type": "integer"
  5959. },
  5960. "pagesize": {
  5961. "description": "每页条数",
  5962. "type": "integer"
  5963. },
  5964. "total": {
  5965. "description": "总条数",
  5966. "type": "integer"
  5967. }
  5968. }
  5969. },
  5970. "common.QueryNoticeRsp": {
  5971. "type": "object",
  5972. "required": [
  5973. "autoid"
  5974. ],
  5975. "properties": {
  5976. "auditoruserid": {
  5977. "description": "审核人",
  5978. "type": "integer"
  5979. },
  5980. "auditremark": {
  5981. "description": "审核备注",
  5982. "type": "string"
  5983. },
  5984. "audittime": {
  5985. "description": "审核日期",
  5986. "type": "string"
  5987. },
  5988. "autoid": {
  5989. "description": "自增ID",
  5990. "type": "integer"
  5991. },
  5992. "content": {
  5993. "description": "内容",
  5994. "type": "string"
  5995. },
  5996. "createtime": {
  5997. "description": "创建时间",
  5998. "type": "string"
  5999. },
  6000. "creatorid": {
  6001. "description": "建仓人",
  6002. "type": "integer"
  6003. },
  6004. "endtime": {
  6005. "description": "结束时间",
  6006. "type": "string"
  6007. },
  6008. "istop": {
  6009. "description": "是否置顶 - 0:不置顶 1:置顶",
  6010. "type": "integer"
  6011. },
  6012. "msgiconurl": {
  6013. "description": "消息图标Url",
  6014. "type": "string"
  6015. },
  6016. "msgtype": {
  6017. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6018. "type": "integer"
  6019. },
  6020. "publisher": {
  6021. "description": "消息发布者",
  6022. "type": "string"
  6023. },
  6024. "readed": {
  6025. "description": "是否已读",
  6026. "type": "boolean"
  6027. },
  6028. "scheduletime": {
  6029. "description": "计划发送时间",
  6030. "type": "string"
  6031. },
  6032. "sendtype": {
  6033. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6034. "type": "integer"
  6035. },
  6036. "sentstatus": {
  6037. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6038. "type": "integer"
  6039. },
  6040. "title": {
  6041. "description": "标题",
  6042. "type": "string"
  6043. },
  6044. "userid": {
  6045. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6046. "type": "integer"
  6047. }
  6048. }
  6049. },
  6050. "common.QueryProvincesAndCitiesRsp": {
  6051. "type": "object",
  6052. "properties": {
  6053. "cities": {
  6054. "description": "市",
  6055. "type": "array",
  6056. "items": {
  6057. "$ref": "#/definitions/models.Division"
  6058. }
  6059. },
  6060. "province": {
  6061. "description": "省",
  6062. "$ref": "#/definitions/models.Division"
  6063. }
  6064. }
  6065. },
  6066. "common.QueryTableDefineRsp": {
  6067. "type": "object",
  6068. "required": [
  6069. "tablekey"
  6070. ],
  6071. "properties": {
  6072. "columns": {
  6073. "description": "列头信息数组",
  6074. "type": "array",
  6075. "items": {
  6076. "$ref": "#/definitions/models.Tablecolumnconfig"
  6077. }
  6078. },
  6079. "remark": {
  6080. "description": "Remark",
  6081. "type": "string"
  6082. },
  6083. "tabelmenu": {
  6084. "description": "列表菜单",
  6085. "type": "string"
  6086. },
  6087. "tablekey": {
  6088. "description": "列表Key",
  6089. "type": "string"
  6090. },
  6091. "tablename": {
  6092. "description": "列表名称",
  6093. "type": "string"
  6094. },
  6095. "tabletype": {
  6096. "description": "列表类型 - 1:管理端 2:终端",
  6097. "type": "integer"
  6098. }
  6099. }
  6100. },
  6101. "common.QueryTraderMenuRsp": {
  6102. "type": "object",
  6103. "properties": {
  6104. "OperationMenu": {
  6105. "description": "功能菜单",
  6106. "type": "array",
  6107. "items": {
  6108. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6109. }
  6110. },
  6111. "QuoteMenu": {
  6112. "description": "报价牌分类菜单",
  6113. "type": "array",
  6114. "items": {
  6115. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6116. }
  6117. }
  6118. }
  6119. },
  6120. "cptrade.Cptradepositioncancel": {
  6121. "type": "object",
  6122. "required": [
  6123. "cancelid"
  6124. ],
  6125. "properties": {
  6126. "accountid": {
  6127. "description": "申请人账户ID",
  6128. "type": "integer"
  6129. },
  6130. "applystatus": {
  6131. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6132. "type": "integer"
  6133. },
  6134. "applytime": {
  6135. "description": "申请时间",
  6136. "type": "string"
  6137. },
  6138. "cancelid": {
  6139. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6140. "type": "integer"
  6141. },
  6142. "cancelqty": {
  6143. "description": "注销数量",
  6144. "type": "integer"
  6145. },
  6146. "createtime": {
  6147. "description": "创建时间",
  6148. "type": "string"
  6149. },
  6150. "creatorid": {
  6151. "description": "创建人ID",
  6152. "type": "integer"
  6153. },
  6154. "creatorname": {
  6155. "description": "创建人",
  6156. "type": "string"
  6157. },
  6158. "goodscode": {
  6159. "description": "订单商品代码",
  6160. "type": "string"
  6161. },
  6162. "goodsid": {
  6163. "description": "商品ID",
  6164. "type": "integer"
  6165. },
  6166. "goodsname": {
  6167. "description": "订单商品名称",
  6168. "type": "string"
  6169. },
  6170. "goodunit": {
  6171. "description": "报价单位",
  6172. "type": "string"
  6173. },
  6174. "handlestatus": {
  6175. "description": "处理状态",
  6176. "type": "integer"
  6177. },
  6178. "marketid": {
  6179. "description": "市场ID",
  6180. "type": "integer"
  6181. },
  6182. "marketname": {
  6183. "description": "市场名称",
  6184. "type": "string"
  6185. },
  6186. "tradedate": {
  6187. "description": "交易日(yyyyMMdd)",
  6188. "type": "string"
  6189. },
  6190. "userid": {
  6191. "description": "申请人ID",
  6192. "type": "integer"
  6193. }
  6194. }
  6195. },
  6196. "cptrade.Cptradepresaleapply": {
  6197. "type": "object",
  6198. "required": [
  6199. "applyid"
  6200. ],
  6201. "properties": {
  6202. "accountid": {
  6203. "description": "申请人账户ID",
  6204. "type": "integer"
  6205. },
  6206. "applyid": {
  6207. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6208. "type": "integer"
  6209. },
  6210. "applyremark": {
  6211. "description": "申请备注",
  6212. "type": "string"
  6213. },
  6214. "applystatus": {
  6215. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6216. "type": "integer"
  6217. },
  6218. "applytime": {
  6219. "description": "申请时间",
  6220. "type": "string"
  6221. },
  6222. "attachmenturl": {
  6223. "description": "附件地址",
  6224. "type": "string"
  6225. },
  6226. "endtime": {
  6227. "description": "预售结束时间",
  6228. "type": "string"
  6229. },
  6230. "goodscode": {
  6231. "description": "商品代码",
  6232. "type": "string"
  6233. },
  6234. "goodsid": {
  6235. "description": "商品ID",
  6236. "type": "integer"
  6237. },
  6238. "goodsname": {
  6239. "description": "商品名称",
  6240. "type": "string"
  6241. },
  6242. "goodunit": {
  6243. "description": "报价单位",
  6244. "type": "string"
  6245. },
  6246. "handlestatus": {
  6247. "description": "处理状态",
  6248. "type": "integer"
  6249. },
  6250. "marketid": {
  6251. "description": "预售市场ID",
  6252. "type": "integer"
  6253. },
  6254. "marketname": {
  6255. "description": "预售市场名称",
  6256. "type": "string"
  6257. },
  6258. "presaleqty": {
  6259. "description": "预售数量",
  6260. "type": "integer"
  6261. },
  6262. "relatedgoodscode": {
  6263. "description": "关联交易合约代码",
  6264. "type": "string"
  6265. },
  6266. "relatedgoodsid": {
  6267. "description": "关联交易合约ID",
  6268. "type": "integer"
  6269. },
  6270. "relatedgoodsname": {
  6271. "description": "关联交易合约名称",
  6272. "type": "string"
  6273. },
  6274. "starttime": {
  6275. "description": "预售开始时间",
  6276. "type": "string"
  6277. },
  6278. "tradedate": {
  6279. "description": "交易日(yyyyMMdd)",
  6280. "type": "string"
  6281. },
  6282. "trademode": {
  6283. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6284. "type": "integer"
  6285. },
  6286. "userid": {
  6287. "description": "申请人ID",
  6288. "type": "integer"
  6289. }
  6290. }
  6291. },
  6292. "cptrade.Cptradeusergoodsdata": {
  6293. "type": "object",
  6294. "required": [
  6295. "accountid",
  6296. "goodsid"
  6297. ],
  6298. "properties": {
  6299. "EnabledQty": {
  6300. "description": "可用量",
  6301. "type": "integer"
  6302. },
  6303. "GoodsCode": {
  6304. "description": "订单商品代码",
  6305. "type": "string"
  6306. },
  6307. "GoodsName": {
  6308. "description": "订单商品名称",
  6309. "type": "string"
  6310. },
  6311. "WRStandardCode": {
  6312. "description": "仓单标准代码",
  6313. "type": "string"
  6314. },
  6315. "WRStandardName": {
  6316. "description": "仓单标准名称",
  6317. "type": "string"
  6318. },
  6319. "accountid": {
  6320. "description": "账户ID",
  6321. "type": "integer"
  6322. },
  6323. "cancelqty": {
  6324. "description": "注销量",
  6325. "type": "integer"
  6326. },
  6327. "curpresaleqty": {
  6328. "description": "当前预售量",
  6329. "type": "integer"
  6330. },
  6331. "deliveryqty": {
  6332. "description": "交割量",
  6333. "type": "integer"
  6334. },
  6335. "freezeamount": {
  6336. "description": "冻结金额",
  6337. "type": "number"
  6338. },
  6339. "goodsid": {
  6340. "description": "商品ID",
  6341. "type": "integer"
  6342. },
  6343. "goodunit": {
  6344. "description": "报价单位",
  6345. "type": "string"
  6346. },
  6347. "hasspotfreeze": {
  6348. "description": "是否有现货冻结 - 0:否 1:有",
  6349. "type": "integer"
  6350. },
  6351. "inqty": {
  6352. "description": "转入量(总数量)",
  6353. "type": "integer"
  6354. },
  6355. "marketid": {
  6356. "description": "市场ID",
  6357. "type": "integer"
  6358. },
  6359. "presaledamount": {
  6360. "description": "已预售总金额",
  6361. "type": "integer"
  6362. },
  6363. "presaledqty": {
  6364. "description": "已预售量",
  6365. "type": "integer"
  6366. },
  6367. "userid": {
  6368. "description": "用户ID",
  6369. "type": "integer"
  6370. },
  6371. "wrstandardid": {
  6372. "description": "仓单标准ID",
  6373. "type": "integer"
  6374. }
  6375. }
  6376. },
  6377. "cptrade.QueryCPTradeMyBidRsp": {
  6378. "type": "object",
  6379. "required": [
  6380. "accountid",
  6381. "goodsid",
  6382. "marketid",
  6383. "orderid",
  6384. "orderqty",
  6385. "ordertime",
  6386. "tradeprice",
  6387. "tradeqty"
  6388. ],
  6389. "properties": {
  6390. "accountid": {
  6391. "description": "账户ID[报价币种]",
  6392. "type": "integer"
  6393. },
  6394. "goodsid": {
  6395. "description": "商品ID",
  6396. "type": "integer"
  6397. },
  6398. "goodunit": {
  6399. "description": "报价单位",
  6400. "type": "string"
  6401. },
  6402. "marketid": {
  6403. "description": "市场ID",
  6404. "type": "integer"
  6405. },
  6406. "orderid": {
  6407. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6408. "type": "integer"
  6409. },
  6410. "orderprice": {
  6411. "description": "委托价格",
  6412. "type": "number"
  6413. },
  6414. "orderqty": {
  6415. "description": "委托数量",
  6416. "type": "integer"
  6417. },
  6418. "ordertime": {
  6419. "description": "委托时间",
  6420. "type": "string"
  6421. },
  6422. "ordertotalprice": {
  6423. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6424. "type": "number"
  6425. },
  6426. "ordertotalweight": {
  6427. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6428. "type": "integer"
  6429. },
  6430. "totaltotalprice": {
  6431. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6432. "type": "number"
  6433. },
  6434. "tradeprice": {
  6435. "description": "成交价格",
  6436. "type": "number"
  6437. },
  6438. "tradeqty": {
  6439. "description": "成交数量",
  6440. "type": "integer"
  6441. }
  6442. }
  6443. },
  6444. "cptrade.QueryCPTradeOrderDetailRsq": {
  6445. "type": "object",
  6446. "required": [
  6447. "accountid",
  6448. "buildtype",
  6449. "buyorsell",
  6450. "goodsid",
  6451. "marketid",
  6452. "memberuserid",
  6453. "operatetype",
  6454. "orderqty",
  6455. "ordertime",
  6456. "pricemode",
  6457. "strorderid",
  6458. "tradedate",
  6459. "validtype"
  6460. ],
  6461. "properties": {
  6462. "accountid": {
  6463. "description": "账户ID[报价币种]",
  6464. "type": "integer"
  6465. },
  6466. "buildtype": {
  6467. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6468. "type": "integer"
  6469. },
  6470. "buyorsell": {
  6471. "description": "买卖 - 0:买 1:卖",
  6472. "type": "integer"
  6473. },
  6474. "cancelorderid": {
  6475. "description": "撤单单号(撤单时填写)",
  6476. "type": "integer"
  6477. },
  6478. "cancelqty": {
  6479. "description": "撤单数量",
  6480. "type": "integer"
  6481. },
  6482. "clientordertime": {
  6483. "description": "客户端委托时间",
  6484. "type": "string"
  6485. },
  6486. "clientticket": {
  6487. "description": "客户端流水号",
  6488. "type": "string"
  6489. },
  6490. "clienttype": {
  6491. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6492. "type": "integer"
  6493. },
  6494. "closeexchagechargevalue": {
  6495. "description": "平仓交易所手续费设置值",
  6496. "type": "number"
  6497. },
  6498. "closefeealgorithm": {
  6499. "description": "平仓手续费收取方式 1:比率 2:固定",
  6500. "type": "integer"
  6501. },
  6502. "closefreezecharge": {
  6503. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6504. "type": "number"
  6505. },
  6506. "closememberchargevalue": {
  6507. "description": "平仓会员手续费设置值",
  6508. "type": "number"
  6509. },
  6510. "closeqty": {
  6511. "description": "平仓数量(先建后平操作 需要记录)",
  6512. "type": "integer"
  6513. },
  6514. "closetradeqty": {
  6515. "description": "平仓成交数量(先建后平操作,需要记录)",
  6516. "type": "integer"
  6517. },
  6518. "closeunfreezecharge": {
  6519. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6520. "type": "number"
  6521. },
  6522. "delistingtype": {
  6523. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6524. "type": "integer"
  6525. },
  6526. "freezecharge": {
  6527. "description": "冻结手续费",
  6528. "type": "number"
  6529. },
  6530. "freezemargin": {
  6531. "description": "冻结保证金(冻结交易金额)",
  6532. "type": "number"
  6533. },
  6534. "gcaccountid": {
  6535. "description": "账户ID[合约币种]",
  6536. "type": "integer"
  6537. },
  6538. "goodsid": {
  6539. "description": "商品ID",
  6540. "type": "integer"
  6541. },
  6542. "isconfirmexercise": {
  6543. "description": "是否确认行权- 0:否 1:是",
  6544. "type": "integer"
  6545. },
  6546. "ispreexercise": {
  6547. "description": "是否预申报- 0:否 1:是",
  6548. "type": "integer"
  6549. },
  6550. "listingselecttype": {
  6551. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6552. "type": "integer"
  6553. },
  6554. "marginalgorithm": {
  6555. "description": "保证金收取方式 1:比率 2:固定",
  6556. "type": "integer"
  6557. },
  6558. "marginvalue": {
  6559. "description": "即市保证金设置值",
  6560. "type": "number"
  6561. },
  6562. "marketid": {
  6563. "description": "市场ID",
  6564. "type": "integer"
  6565. },
  6566. "marketmaxsub": {
  6567. "description": "市价最大偏移范围",
  6568. "type": "number"
  6569. },
  6570. "memberuserid": {
  6571. "description": "所属会员UserID",
  6572. "type": "integer"
  6573. },
  6574. "openexchagechargevalue": {
  6575. "description": "建仓交易所手续费设置值",
  6576. "type": "number"
  6577. },
  6578. "openfeealgorithm": {
  6579. "description": "建仓手续费收取方式 1:比率 2:固定",
  6580. "type": "integer"
  6581. },
  6582. "openfreezecharge": {
  6583. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6584. "type": "number"
  6585. },
  6586. "openmemberchargevalue": {
  6587. "description": "建仓会员手续费设置值",
  6588. "type": "number"
  6589. },
  6590. "openqty": {
  6591. "description": "开仓数量(先建后平操作,需要记录)",
  6592. "type": "integer"
  6593. },
  6594. "opentradeqty": {
  6595. "description": "开仓成交数量(先建后平操作,需要记录)",
  6596. "type": "integer"
  6597. },
  6598. "openunfreezecharge": {
  6599. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6600. "type": "number"
  6601. },
  6602. "operatetype": {
  6603. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6604. "type": "integer"
  6605. },
  6606. "operatorid": {
  6607. "description": "登录账号(LoginID)",
  6608. "type": "integer"
  6609. },
  6610. "optiontype": {
  6611. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6612. "type": "integer"
  6613. },
  6614. "orderprice": {
  6615. "description": "委托价格",
  6616. "type": "number"
  6617. },
  6618. "orderqty": {
  6619. "description": "委托数量",
  6620. "type": "integer"
  6621. },
  6622. "ordersrc": {
  6623. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6624. "type": "integer"
  6625. },
  6626. "orderstatus": {
  6627. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6628. "type": "integer"
  6629. },
  6630. "ordertime": {
  6631. "description": "委托时间",
  6632. "type": "string"
  6633. },
  6634. "preexerciseprice": {
  6635. "description": "预申报价格",
  6636. "type": "number"
  6637. },
  6638. "premium": {
  6639. "description": "权利金",
  6640. "type": "number"
  6641. },
  6642. "preorderid": {
  6643. "description": "关联预埋单号(止盈止损单时填写)",
  6644. "type": "integer"
  6645. },
  6646. "pricemode": {
  6647. "description": "取价方式 - 1:市价 2: 限价",
  6648. "type": "integer"
  6649. },
  6650. "quoteid": {
  6651. "description": "报价单ID",
  6652. "type": "integer"
  6653. },
  6654. "relatedid": {
  6655. "description": "关联单号(交割单)",
  6656. "type": "integer"
  6657. },
  6658. "retcode": {
  6659. "description": "错误代码",
  6660. "type": "integer"
  6661. },
  6662. "sessionid": {
  6663. "description": "会话ID",
  6664. "type": "integer"
  6665. },
  6666. "strorderid": {
  6667. "description": "委托单号",
  6668. "type": "string"
  6669. },
  6670. "tradedate": {
  6671. "description": "交易日(yyyyMMdd)",
  6672. "type": "string"
  6673. },
  6674. "tradeproperty": {
  6675. "description": "交易属性",
  6676. "type": "integer"
  6677. },
  6678. "tradeqty": {
  6679. "description": "成交数量",
  6680. "type": "integer"
  6681. },
  6682. "unfreezecharge": {
  6683. "description": "解冻手续费",
  6684. "type": "number"
  6685. },
  6686. "unfreezemargin": {
  6687. "description": "解冻保证金",
  6688. "type": "number"
  6689. },
  6690. "updatetime": {
  6691. "description": "更新时间",
  6692. "type": "string"
  6693. },
  6694. "uuid": {
  6695. "description": "发起端唯一id",
  6696. "type": "string"
  6697. },
  6698. "validtime": {
  6699. "description": "有效期限",
  6700. "type": "string"
  6701. },
  6702. "validtype": {
  6703. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6704. "type": "integer"
  6705. },
  6706. "volumetype": {
  6707. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6708. "type": "integer"
  6709. }
  6710. }
  6711. },
  6712. "cptrade.QueryMyCPTradeGoodsRsp": {
  6713. "type": "object",
  6714. "required": [
  6715. "goodscode",
  6716. "goodsid",
  6717. "goodsname",
  6718. "marketid",
  6719. "relatedgoodscode",
  6720. "relatedgoodsname"
  6721. ],
  6722. "properties": {
  6723. "accountid": {
  6724. "description": "卖方账户ID",
  6725. "type": "integer"
  6726. },
  6727. "agreeunit": {
  6728. "description": "合约单位",
  6729. "type": "number"
  6730. },
  6731. "applyid": {
  6732. "description": "关联申请ID",
  6733. "type": "integer"
  6734. },
  6735. "attachmenturl": {
  6736. "description": "附件地址",
  6737. "type": "string"
  6738. },
  6739. "createtime": {
  6740. "description": "创建时间",
  6741. "type": "string"
  6742. },
  6743. "currencyid": {
  6744. "description": "报价货币ID",
  6745. "type": "integer"
  6746. },
  6747. "decimalplace": {
  6748. "description": "报价小数位",
  6749. "type": "integer"
  6750. },
  6751. "endtime": {
  6752. "description": "预售结束时间",
  6753. "type": "string"
  6754. },
  6755. "floorprice": {
  6756. "description": "底价[大宗式竞拍]",
  6757. "type": "number"
  6758. },
  6759. "goodscode": {
  6760. "description": "商品代码(预售)",
  6761. "type": "string"
  6762. },
  6763. "goodsdetail": {
  6764. "description": "详情[大宗]",
  6765. "type": "string"
  6766. },
  6767. "goodsid": {
  6768. "description": "商品ID(自增ID SEQ_GOODS)",
  6769. "type": "integer"
  6770. },
  6771. "goodsname": {
  6772. "description": "商品名称(预售)",
  6773. "type": "string"
  6774. },
  6775. "goodunit": {
  6776. "description": "报价单位",
  6777. "type": "string"
  6778. },
  6779. "goodunitid": {
  6780. "description": "报价单位ID",
  6781. "type": "integer"
  6782. },
  6783. "marketid": {
  6784. "description": "所属市场ID",
  6785. "type": "integer"
  6786. },
  6787. "marketname": {
  6788. "description": "预售市场名称",
  6789. "type": "string"
  6790. },
  6791. "presaledamount": {
  6792. "description": "已预售总金额(预售结束时更新)",
  6793. "type": "number"
  6794. },
  6795. "presaledqty": {
  6796. "description": "已预售量(预售结束时更新)",
  6797. "type": "integer"
  6798. },
  6799. "presalemode": {
  6800. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6801. "type": "integer"
  6802. },
  6803. "presaleqty": {
  6804. "description": "预售数量",
  6805. "type": "integer"
  6806. },
  6807. "refprice": {
  6808. "description": "参考价格[一口价]",
  6809. "type": "number"
  6810. },
  6811. "relatedgoodscode": {
  6812. "description": "商品代码(订单)",
  6813. "type": "string"
  6814. },
  6815. "relatedgoodsid": {
  6816. "description": "关联交易合约ID",
  6817. "type": "integer"
  6818. },
  6819. "relatedgoodsname": {
  6820. "description": "商品名称(订单)",
  6821. "type": "string"
  6822. },
  6823. "relatedmarketid": {
  6824. "description": "关联交易合约市场ID",
  6825. "type": "integer"
  6826. },
  6827. "sellstatus": {
  6828. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6829. "type": "integer"
  6830. },
  6831. "startprice": {
  6832. "description": "起拍价[大宗式竞拍]",
  6833. "type": "number"
  6834. },
  6835. "starttime": {
  6836. "description": "预售开始时间",
  6837. "type": "string"
  6838. },
  6839. "tradedate": {
  6840. "description": "交易日(yyyyMMdd)",
  6841. "type": "string"
  6842. },
  6843. "tradeprice": {
  6844. "description": "成交价[大宗]",
  6845. "type": "number"
  6846. },
  6847. "userid": {
  6848. "description": "卖方用户ID",
  6849. "type": "integer"
  6850. }
  6851. }
  6852. },
  6853. "cptrade.QueryPresaleGoodsExRsp": {
  6854. "type": "object",
  6855. "required": [
  6856. "goodsid"
  6857. ],
  6858. "properties": {
  6859. "attachmenturl": {
  6860. "description": "附件地址",
  6861. "type": "string"
  6862. },
  6863. "createtime": {
  6864. "description": "创建时间",
  6865. "type": "string"
  6866. },
  6867. "endtime": {
  6868. "description": "预售结束时间",
  6869. "type": "string"
  6870. },
  6871. "floorprice": {
  6872. "description": "底价[大宗式竞拍]",
  6873. "type": "number"
  6874. },
  6875. "goodsdetail": {
  6876. "description": "详情[大宗]",
  6877. "type": "string"
  6878. },
  6879. "goodsid": {
  6880. "description": "商品ID(预售)",
  6881. "type": "integer"
  6882. },
  6883. "goodunit": {
  6884. "description": "报价单位",
  6885. "type": "string"
  6886. },
  6887. "marketid": {
  6888. "description": "预售市场ID - 根据预售模式选择市场",
  6889. "type": "integer"
  6890. },
  6891. "presaledamount": {
  6892. "description": "已预售总金额(预售结束时更新)",
  6893. "type": "number"
  6894. },
  6895. "presaledqty": {
  6896. "description": "已预售量(预售结束时更新)",
  6897. "type": "integer"
  6898. },
  6899. "presalemode": {
  6900. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6901. "type": "integer"
  6902. },
  6903. "presaleqty": {
  6904. "description": "预售数量",
  6905. "type": "integer"
  6906. },
  6907. "refprice": {
  6908. "description": "参考价格[一口价]",
  6909. "type": "number"
  6910. },
  6911. "relatedgoodsid": {
  6912. "description": "关联交易合约ID",
  6913. "type": "integer"
  6914. },
  6915. "relatedmarketid": {
  6916. "description": "关联交易合约市场ID",
  6917. "type": "integer"
  6918. },
  6919. "sellstatus": {
  6920. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6921. "type": "integer"
  6922. },
  6923. "startprice": {
  6924. "description": "起拍价[大宗式竞拍]",
  6925. "type": "number"
  6926. },
  6927. "starttime": {
  6928. "description": "预售开始时间",
  6929. "type": "string"
  6930. },
  6931. "tradedate": {
  6932. "description": "交易日(yyyyMMdd)",
  6933. "type": "string"
  6934. },
  6935. "tradeprice": {
  6936. "description": "成交价[大宗]",
  6937. "type": "number"
  6938. }
  6939. }
  6940. },
  6941. "delivery.QueryDeliveryRelationRsp": {
  6942. "type": "object",
  6943. "required": [
  6944. "begindate",
  6945. "enddate",
  6946. "goodsid",
  6947. "mindeliveryqty",
  6948. "xdeliveryratio"
  6949. ],
  6950. "properties": {
  6951. "begindate": {
  6952. "description": "起始日期(yyyyMMdd)",
  6953. "type": "string"
  6954. },
  6955. "buytemplateid": {
  6956. "description": "买履约计划模板ID",
  6957. "type": "integer"
  6958. },
  6959. "deliverygoodscode": {
  6960. "description": "品种代码",
  6961. "type": "string"
  6962. },
  6963. "deliverygoodsid": {
  6964. "description": "交割商品",
  6965. "type": "integer"
  6966. },
  6967. "deliverygoodsname": {
  6968. "description": "品种名称",
  6969. "type": "string"
  6970. },
  6971. "deliverymode": {
  6972. "description": "交割方式 - 1:点选式 2:申报式",
  6973. "type": "integer"
  6974. },
  6975. "deliverypricerule": {
  6976. "description": "交割价规则- 1:行情价 2:建仓价",
  6977. "type": "integer"
  6978. },
  6979. "deliverytype": {
  6980. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  6981. "type": "integer"
  6982. },
  6983. "enddate": {
  6984. "description": "结束日期(yyyyMMdd)",
  6985. "type": "string"
  6986. },
  6987. "goodscode": {
  6988. "description": "商品代码",
  6989. "type": "string"
  6990. },
  6991. "goodsid": {
  6992. "description": "交易合约ID",
  6993. "type": "integer"
  6994. },
  6995. "goodsname": {
  6996. "description": "商品名称",
  6997. "type": "string"
  6998. },
  6999. "marketid": {
  7000. "description": "市场ID",
  7001. "type": "integer"
  7002. },
  7003. "mindeliveryqty": {
  7004. "description": "最小交割系数(K)",
  7005. "type": "integer"
  7006. },
  7007. "p2deliveryprice": {
  7008. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7009. "type": "number"
  7010. },
  7011. "p2deliveryratio": {
  7012. "description": "P2合约系数(p)",
  7013. "type": "integer"
  7014. },
  7015. "p2goodsid": {
  7016. "description": "P2合约ID",
  7017. "type": "integer"
  7018. },
  7019. "p2pricemode": {
  7020. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7021. "type": "integer"
  7022. },
  7023. "pdeliveryprice": {
  7024. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7025. "type": "number"
  7026. },
  7027. "pdeliveryratio": {
  7028. "description": "P合约系数(n)",
  7029. "type": "integer"
  7030. },
  7031. "pgoodsid": {
  7032. "description": "P合约ID",
  7033. "type": "integer"
  7034. },
  7035. "ppricemode": {
  7036. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7037. "type": "integer"
  7038. },
  7039. "rratio": {
  7040. "description": "兑换系数(R)",
  7041. "type": "integer"
  7042. },
  7043. "rratio1": {
  7044. "description": "兑换系数(交易合约)(R1)",
  7045. "type": "integer"
  7046. },
  7047. "rratio2": {
  7048. "description": "兑换系数(仓单标准)(R2)",
  7049. "type": "integer"
  7050. },
  7051. "selltemplateid": {
  7052. "description": "卖履约计划模板ID",
  7053. "type": "integer"
  7054. },
  7055. "wrstandardid": {
  7056. "description": "仓单标准ID",
  7057. "type": "integer"
  7058. },
  7059. "xdeliveryratio": {
  7060. "description": "交易合约系数(m)",
  7061. "type": "integer"
  7062. }
  7063. }
  7064. },
  7065. "ermcp.ExposureDetailRsp": {
  7066. "type": "object",
  7067. "properties": {
  7068. "areauserid": {
  7069. "description": "机构ID",
  7070. "type": "integer"
  7071. },
  7072. "changeQty": {
  7073. "description": "套保变动量",
  7074. "type": "number"
  7075. },
  7076. "contracttype": {
  7077. "description": "现货合同类型 - 1:采购 -1:销售",
  7078. "type": "integer"
  7079. },
  7080. "convertfactor": {
  7081. "description": "标仓系数",
  7082. "type": "number"
  7083. },
  7084. "convertratio": {
  7085. "description": "套保系数",
  7086. "type": "number"
  7087. },
  7088. "createtime": {
  7089. "description": "时间",
  7090. "type": "string"
  7091. },
  7092. "enumdicname": {
  7093. "description": "现货商品单位名称",
  7094. "type": "string"
  7095. },
  7096. "logtype": {
  7097. "description": "类型 - 1:套保计划 2:现货合同",
  7098. "type": "integer"
  7099. },
  7100. "middlegoodsId": {
  7101. "description": "套保商品id",
  7102. "type": "integer"
  7103. },
  7104. "middlegoodscode": {
  7105. "description": "套保商品代码",
  7106. "type": "string"
  7107. },
  7108. "middlegoodsname": {
  7109. "description": "套保商品名称",
  7110. "type": "string"
  7111. },
  7112. "qty": {
  7113. "description": "数量",
  7114. "type": "number"
  7115. },
  7116. "relateNo": {
  7117. "description": "现货合同/套保计划编号",
  7118. "type": "string"
  7119. },
  7120. "wrstandardcode": {
  7121. "description": "现货商品代码",
  7122. "type": "string"
  7123. },
  7124. "wrstandardid": {
  7125. "description": "现货商品ID",
  7126. "type": "integer"
  7127. },
  7128. "wrstandardname": {
  7129. "description": "现货商品名称",
  7130. "type": "string"
  7131. }
  7132. }
  7133. },
  7134. "ermcp.ExposureHedgePosDetailRsp": {
  7135. "type": "object",
  7136. "properties": {
  7137. "buyorsell": {
  7138. "description": "买卖方向 0-买 1-卖",
  7139. "type": "integer"
  7140. },
  7141. "channelbuildtype": {
  7142. "description": "开平方向 1-建仓 2-平仓",
  7143. "type": "integer"
  7144. },
  7145. "goodscode": {
  7146. "description": "商品代码",
  7147. "type": "string"
  7148. },
  7149. "goodsname": {
  7150. "description": "商品名称",
  7151. "type": "string"
  7152. },
  7153. "hedgegoodsid": {
  7154. "description": "商品id",
  7155. "type": "integer"
  7156. },
  7157. "tradeqty": {
  7158. "description": "数量(成交数量)",
  7159. "type": "integer"
  7160. },
  7161. "tradetime": {
  7162. "description": "时间(成交时间)",
  7163. "type": "string"
  7164. }
  7165. }
  7166. },
  7167. "ermcp.ExposureHedgePositionRsp": {
  7168. "type": "object",
  7169. "properties": {
  7170. "accountid": {
  7171. "description": "资金账号[外部母账户]",
  7172. "type": "integer"
  7173. },
  7174. "curbuyposition": {
  7175. "description": "期末买头寸",
  7176. "type": "integer"
  7177. },
  7178. "cursellposition": {
  7179. "description": "期末卖头寸",
  7180. "type": "integer"
  7181. },
  7182. "curtdbuyposition": {
  7183. "description": "期末今日买头寸",
  7184. "type": "integer"
  7185. },
  7186. "curtdsellposition": {
  7187. "description": "期末今日卖头寸",
  7188. "type": "integer"
  7189. },
  7190. "curydbuyposition": {
  7191. "description": "期末上日买头寸",
  7192. "type": "integer"
  7193. },
  7194. "curydsellposition": {
  7195. "description": "期末上日卖头寸",
  7196. "type": "integer"
  7197. },
  7198. "decreaseqty": {
  7199. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7200. "type": "integer"
  7201. },
  7202. "fretdbuyposition": {
  7203. "description": "冻结今日买头寸",
  7204. "type": "integer"
  7205. },
  7206. "fretdsellposition": {
  7207. "description": "冻结今日卖头寸",
  7208. "type": "integer"
  7209. },
  7210. "freydbuyposition": {
  7211. "description": "冻结上日买头寸",
  7212. "type": "integer"
  7213. },
  7214. "freydsellposition": {
  7215. "description": "冻结上日卖头寸",
  7216. "type": "integer"
  7217. },
  7218. "goodscode": {
  7219. "description": "商品代码",
  7220. "type": "string"
  7221. },
  7222. "goodsid": {
  7223. "description": "商品id",
  7224. "type": "integer"
  7225. },
  7226. "goodsname": {
  7227. "description": "商品名称",
  7228. "type": "string"
  7229. },
  7230. "hedgeaccountcode": {
  7231. "description": "对冲账号",
  7232. "type": "string"
  7233. },
  7234. "hedgegoodsid": {
  7235. "description": "对冲合约ID",
  7236. "type": "integer"
  7237. },
  7238. "increaseqty": {
  7239. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7240. "type": "integer"
  7241. },
  7242. "marketid": {
  7243. "description": "市场ID",
  7244. "type": "integer"
  7245. },
  7246. "relateduserid": {
  7247. "description": "关联用户id",
  7248. "type": "integer"
  7249. },
  7250. "totalcurqty": {
  7251. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7252. "type": "integer"
  7253. },
  7254. "totalydqty": {
  7255. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7256. "type": "integer"
  7257. },
  7258. "tradedate": {
  7259. "description": "交易日(yyyyMMdd)",
  7260. "type": "string"
  7261. },
  7262. "ydbuyposition": {
  7263. "description": "期初买头寸",
  7264. "type": "integer"
  7265. },
  7266. "ydsellposition": {
  7267. "description": "期初卖头寸",
  7268. "type": "integer"
  7269. }
  7270. }
  7271. },
  7272. "ermcp.ExposureSpotDetailRsp": {
  7273. "type": "object",
  7274. "properties": {
  7275. "contracttype": {
  7276. "description": "合同类型 1-采购 -1-销售",
  7277. "type": "integer"
  7278. },
  7279. "createtime": {
  7280. "description": "创建时间",
  7281. "type": "string"
  7282. },
  7283. "enumdicname": {
  7284. "description": "现货商品单位名称",
  7285. "type": "string"
  7286. },
  7287. "logtype": {
  7288. "description": "记录类型 1-套保 2-现货合同",
  7289. "type": "integer"
  7290. },
  7291. "qty": {
  7292. "description": "数量",
  7293. "type": "number"
  7294. },
  7295. "recordname": {
  7296. "description": "类型名称",
  7297. "type": "string"
  7298. },
  7299. "relatedid": {
  7300. "description": "套保计划ID/现货合同ID",
  7301. "type": "string"
  7302. },
  7303. "relatedno": {
  7304. "description": "编号",
  7305. "type": "string"
  7306. },
  7307. "strtime": {
  7308. "description": "时间",
  7309. "type": "string"
  7310. },
  7311. "wrstandardcode": {
  7312. "description": "现货商品代码",
  7313. "type": "string"
  7314. },
  7315. "wrstandardname": {
  7316. "description": "现货商品名称",
  7317. "type": "string"
  7318. }
  7319. }
  7320. },
  7321. "ermcp.ExposureSpotRsp": {
  7322. "type": "object",
  7323. "properties": {
  7324. "areauserid": {
  7325. "description": "所属机构",
  7326. "type": "integer"
  7327. },
  7328. "decreaseqty": {
  7329. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7330. "type": "number"
  7331. },
  7332. "increaseqty": {
  7333. "description": "增加数量=销售计划数量+采购已定价数量",
  7334. "type": "number"
  7335. },
  7336. "oritoalspotqty": {
  7337. "description": "昨日数量",
  7338. "type": "number"
  7339. },
  7340. "totalspotqty": {
  7341. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7342. "type": "number"
  7343. },
  7344. "updatetime": {
  7345. "description": "更新时间",
  7346. "type": "string"
  7347. },
  7348. "wrstandardcode": {
  7349. "description": "现货品种代码",
  7350. "type": "string"
  7351. },
  7352. "wrstandardid": {
  7353. "description": "现货商品ID",
  7354. "type": "integer"
  7355. },
  7356. "wrstandardname": {
  7357. "description": "现货品种",
  7358. "type": "string"
  7359. }
  7360. }
  7361. },
  7362. "ermcp.HisExposureRsp": {
  7363. "type": "object",
  7364. "properties": {
  7365. "data": {
  7366. "description": "历史敞口",
  7367. "type": "array",
  7368. "items": {
  7369. "$ref": "#/definitions/models.ErmcpHisExposure"
  7370. }
  7371. },
  7372. "enumdicname": {
  7373. "description": "单位名称",
  7374. "type": "string"
  7375. },
  7376. "middlegoodscode": {
  7377. "description": "套保品种代码",
  7378. "type": "string"
  7379. },
  7380. "middlegoodsid": {
  7381. "description": "套保品种ID",
  7382. "type": "integer"
  7383. },
  7384. "middlegoodsname": {
  7385. "description": "套保品种名称",
  7386. "type": "string"
  7387. }
  7388. }
  7389. },
  7390. "ermcp.QryAvalidGPRsp": {
  7391. "type": "object",
  7392. "properties": {
  7393. "goodsgroupid": {
  7394. "description": "期货品种id",
  7395. "type": "integer"
  7396. },
  7397. "goodsgroupname": {
  7398. "description": "期货品种名称",
  7399. "type": "string"
  7400. },
  7401. "goodunitid": {
  7402. "description": "品种单位id",
  7403. "type": "integer"
  7404. },
  7405. "goodunitname": {
  7406. "description": "品种单位名称",
  7407. "type": "string"
  7408. },
  7409. "outergroupcode": {
  7410. "description": "期货品种代码",
  7411. "type": "string"
  7412. }
  7413. }
  7414. },
  7415. "ermcp.QryBusinessDjRsp": {
  7416. "type": "object",
  7417. "properties": {
  7418. "amount": {
  7419. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7420. "type": "number"
  7421. },
  7422. "applyid": {
  7423. "description": "申请人",
  7424. "type": "string"
  7425. },
  7426. "applyname": {
  7427. "description": "申请人名称",
  7428. "type": "string"
  7429. },
  7430. "applystatus": {
  7431. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7432. "type": "integer"
  7433. },
  7434. "applytime": {
  7435. "description": "申请时间",
  7436. "type": "string"
  7437. },
  7438. "attachurl": {
  7439. "description": "附件",
  7440. "type": "string"
  7441. },
  7442. "auditname": {
  7443. "description": "审核人名称",
  7444. "type": "string"
  7445. },
  7446. "audittime": {
  7447. "description": "审核时间",
  7448. "type": "string"
  7449. },
  7450. "buyusername": {
  7451. "description": "采购方名称",
  7452. "type": "string"
  7453. },
  7454. "contractno": {
  7455. "description": "合同编号",
  7456. "type": "string"
  7457. },
  7458. "contractstatus": {
  7459. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7460. "type": "integer"
  7461. },
  7462. "contracttype": {
  7463. "description": "现货合同类型 - 1:采购 -1:销售",
  7464. "type": "integer"
  7465. },
  7466. "enumdicname": {
  7467. "description": "单位名称",
  7468. "type": "string"
  7469. },
  7470. "goodscode": {
  7471. "description": "点价合约",
  7472. "type": "string"
  7473. },
  7474. "goodsname": {
  7475. "description": "商品名称",
  7476. "type": "string"
  7477. },
  7478. "operateapplyid": {
  7479. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7480. "type": "string"
  7481. },
  7482. "operateapplytype": {
  7483. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7484. "type": "integer"
  7485. },
  7486. "pricedPrice": {
  7487. "description": "点价价格(非必填)",
  7488. "type": "number"
  7489. },
  7490. "pricedQty": {
  7491. "description": "点价数量(非必填)",
  7492. "type": "number"
  7493. },
  7494. "pricemove": {
  7495. "description": "升贴水",
  7496. "type": "number"
  7497. },
  7498. "pricetype": {
  7499. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7500. "type": "integer"
  7501. },
  7502. "relatedid": {
  7503. "description": "现货合同ID",
  7504. "type": "string"
  7505. },
  7506. "sellusername": {
  7507. "description": "销售方名字",
  7508. "type": "string"
  7509. },
  7510. "userid": {
  7511. "description": "用户ID",
  7512. "type": "integer"
  7513. }
  7514. }
  7515. },
  7516. "ermcp.QryBussinessFpRsp": {
  7517. "type": "object",
  7518. "properties": {
  7519. "applyid": {
  7520. "description": "申请人",
  7521. "type": "string"
  7522. },
  7523. "applyname": {
  7524. "description": "申请人名称",
  7525. "type": "string"
  7526. },
  7527. "applystatus": {
  7528. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7529. "type": "integer"
  7530. },
  7531. "applytime": {
  7532. "description": "申请时间",
  7533. "type": "string"
  7534. },
  7535. "attachurl": {
  7536. "description": "附件",
  7537. "type": "string"
  7538. },
  7539. "auditname": {
  7540. "description": "审核人名称",
  7541. "type": "string"
  7542. },
  7543. "audittime": {
  7544. "description": "审核时间",
  7545. "type": "string"
  7546. },
  7547. "buyusername": {
  7548. "description": "采购方名称",
  7549. "type": "string"
  7550. },
  7551. "contractno": {
  7552. "description": "合同编号",
  7553. "type": "string"
  7554. },
  7555. "contractstatus": {
  7556. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7557. "type": "integer"
  7558. },
  7559. "contracttype": {
  7560. "description": "现货合同类型 - 1:采购 -1:销售",
  7561. "type": "integer"
  7562. },
  7563. "enumdicname": {
  7564. "description": "单位名称",
  7565. "type": "string"
  7566. },
  7567. "goodscode": {
  7568. "description": "点价合约",
  7569. "type": "string"
  7570. },
  7571. "goodsname": {
  7572. "description": "商品名称",
  7573. "type": "string"
  7574. },
  7575. "invoiceAmount": {
  7576. "description": "已开收票金额(销售为开票,采购为收票)",
  7577. "type": "number"
  7578. },
  7579. "operateapplyid": {
  7580. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7581. "type": "string"
  7582. },
  7583. "operateapplytype": {
  7584. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7585. "type": "integer"
  7586. },
  7587. "pricemove": {
  7588. "description": "升贴水",
  7589. "type": "number"
  7590. },
  7591. "pricetype": {
  7592. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7593. "type": "integer"
  7594. },
  7595. "relatedid": {
  7596. "description": "现货合同ID",
  7597. "type": "string"
  7598. },
  7599. "sellusername": {
  7600. "description": "销售方名字",
  7601. "type": "string"
  7602. },
  7603. "userid": {
  7604. "description": "用户ID",
  7605. "type": "integer"
  7606. }
  7607. }
  7608. },
  7609. "ermcp.QryBussinessJsExRsp": {
  7610. "type": "object",
  7611. "properties": {
  7612. "applyid": {
  7613. "description": "申请人",
  7614. "type": "string"
  7615. },
  7616. "applyname": {
  7617. "description": "申请人名称",
  7618. "type": "string"
  7619. },
  7620. "applystatus": {
  7621. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7622. "type": "integer"
  7623. },
  7624. "applytime": {
  7625. "description": "申请时间",
  7626. "type": "string"
  7627. },
  7628. "attachurl": {
  7629. "description": "附件",
  7630. "type": "string"
  7631. },
  7632. "auditname": {
  7633. "description": "审核人名称",
  7634. "type": "string"
  7635. },
  7636. "audittime": {
  7637. "description": "审核时间",
  7638. "type": "string"
  7639. },
  7640. "buyusername": {
  7641. "description": "采购方名称",
  7642. "type": "string"
  7643. },
  7644. "contractno": {
  7645. "description": "合同编号",
  7646. "type": "string"
  7647. },
  7648. "contractstatus": {
  7649. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7650. "type": "integer"
  7651. },
  7652. "contracttype": {
  7653. "description": "现货合同类型 - 1:采购 -1:销售",
  7654. "type": "integer"
  7655. },
  7656. "enumdicname": {
  7657. "description": "单位名称",
  7658. "type": "string"
  7659. },
  7660. "goodscode": {
  7661. "description": "点价合约",
  7662. "type": "string"
  7663. },
  7664. "goodsname": {
  7665. "description": "商品名称",
  7666. "type": "string"
  7667. },
  7668. "operateapplyid": {
  7669. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7670. "type": "string"
  7671. },
  7672. "operateapplytype": {
  7673. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7674. "type": "integer"
  7675. },
  7676. "pricemove": {
  7677. "description": "升贴水",
  7678. "type": "number"
  7679. },
  7680. "pricetype": {
  7681. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7682. "type": "integer"
  7683. },
  7684. "reckontype": {
  7685. "description": "结算类型",
  7686. "type": "string"
  7687. },
  7688. "reckonvalue": {
  7689. "description": "值",
  7690. "type": "number"
  7691. },
  7692. "relatedid": {
  7693. "description": "现货合同ID",
  7694. "type": "string"
  7695. },
  7696. "sellusername": {
  7697. "description": "销售方名字",
  7698. "type": "string"
  7699. },
  7700. "userid": {
  7701. "description": "用户ID",
  7702. "type": "integer"
  7703. }
  7704. }
  7705. },
  7706. "ermcp.QryBussinessJsRsp": {
  7707. "type": "object",
  7708. "properties": {
  7709. "addmargin": {
  7710. "description": "追加保证金(非必填)",
  7711. "type": "number"
  7712. },
  7713. "applyid": {
  7714. "description": "申请人",
  7715. "type": "string"
  7716. },
  7717. "applyname": {
  7718. "description": "申请人名称",
  7719. "type": "string"
  7720. },
  7721. "applystatus": {
  7722. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7723. "type": "integer"
  7724. },
  7725. "applytime": {
  7726. "description": "申请时间",
  7727. "type": "string"
  7728. },
  7729. "attachurl": {
  7730. "description": "附件",
  7731. "type": "string"
  7732. },
  7733. "auditname": {
  7734. "description": "审核人名称",
  7735. "type": "string"
  7736. },
  7737. "audittime": {
  7738. "description": "审核时间",
  7739. "type": "string"
  7740. },
  7741. "buyusername": {
  7742. "description": "采购方名称",
  7743. "type": "string"
  7744. },
  7745. "contractno": {
  7746. "description": "合同编号",
  7747. "type": "string"
  7748. },
  7749. "contractstatus": {
  7750. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7751. "type": "integer"
  7752. },
  7753. "contracttype": {
  7754. "description": "现货合同类型 - 1:采购 -1:销售",
  7755. "type": "integer"
  7756. },
  7757. "decmargin": {
  7758. "description": "减少保证金(非必填)",
  7759. "type": "number"
  7760. },
  7761. "enumdicname": {
  7762. "description": "单位名称",
  7763. "type": "string"
  7764. },
  7765. "goodscode": {
  7766. "description": "点价合约",
  7767. "type": "string"
  7768. },
  7769. "goodsname": {
  7770. "description": "商品名称",
  7771. "type": "string"
  7772. },
  7773. "operateapplyid": {
  7774. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7775. "type": "string"
  7776. },
  7777. "operateapplytype": {
  7778. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7779. "type": "integer"
  7780. },
  7781. "pricemove": {
  7782. "description": "升贴水",
  7783. "type": "number"
  7784. },
  7785. "pricetype": {
  7786. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7787. "type": "integer"
  7788. },
  7789. "reckonadjustamount": {
  7790. "description": "结算调整金额(非必填)",
  7791. "type": "number"
  7792. },
  7793. "reckonosamount": {
  7794. "description": "结算溢短金额(非必填)",
  7795. "type": "number"
  7796. },
  7797. "reckonotheramount": {
  7798. "description": "结算其他费用(非必填)",
  7799. "type": "number"
  7800. },
  7801. "reckonrealqty": {
  7802. "description": "结算实际数量(非必填)",
  7803. "type": "number"
  7804. },
  7805. "relatedid": {
  7806. "description": "现货合同ID",
  7807. "type": "string"
  7808. },
  7809. "sellusername": {
  7810. "description": "销售方名字",
  7811. "type": "string"
  7812. },
  7813. "userid": {
  7814. "description": "用户ID",
  7815. "type": "integer"
  7816. }
  7817. }
  7818. },
  7819. "ermcp.QryBussinessKxRsp": {
  7820. "type": "object",
  7821. "properties": {
  7822. "applyid": {
  7823. "description": "申请人",
  7824. "type": "string"
  7825. },
  7826. "applyname": {
  7827. "description": "申请人名称",
  7828. "type": "string"
  7829. },
  7830. "applystatus": {
  7831. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7832. "type": "integer"
  7833. },
  7834. "applytime": {
  7835. "description": "申请时间",
  7836. "type": "string"
  7837. },
  7838. "attachurl": {
  7839. "description": "附件",
  7840. "type": "string"
  7841. },
  7842. "auditname": {
  7843. "description": "审核人名称",
  7844. "type": "string"
  7845. },
  7846. "audittime": {
  7847. "description": "审核时间",
  7848. "type": "string"
  7849. },
  7850. "buyusername": {
  7851. "description": "采购方名称",
  7852. "type": "string"
  7853. },
  7854. "contractno": {
  7855. "description": "合同编号",
  7856. "type": "string"
  7857. },
  7858. "contractstatus": {
  7859. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7860. "type": "integer"
  7861. },
  7862. "contracttype": {
  7863. "description": "现货合同类型 - 1:采购 -1:销售",
  7864. "type": "integer"
  7865. },
  7866. "deductamount": {
  7867. "description": "退款(非必填)",
  7868. "type": "number"
  7869. },
  7870. "enumdicname": {
  7871. "description": "单位名称",
  7872. "type": "string"
  7873. },
  7874. "goodscode": {
  7875. "description": "点价合约",
  7876. "type": "string"
  7877. },
  7878. "goodsname": {
  7879. "description": "商品名称",
  7880. "type": "string"
  7881. },
  7882. "kxtype": {
  7883. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7884. "type": "integer"
  7885. },
  7886. "operateapplyid": {
  7887. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7888. "type": "string"
  7889. },
  7890. "operateapplytype": {
  7891. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7892. "type": "integer"
  7893. },
  7894. "payamount": {
  7895. "description": "收付款(非必填)",
  7896. "type": "number"
  7897. },
  7898. "pricemove": {
  7899. "description": "升贴水",
  7900. "type": "number"
  7901. },
  7902. "pricetype": {
  7903. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7904. "type": "integer"
  7905. },
  7906. "relatedid": {
  7907. "description": "现货合同ID",
  7908. "type": "string"
  7909. },
  7910. "sellusername": {
  7911. "description": "销售方名字",
  7912. "type": "string"
  7913. },
  7914. "userid": {
  7915. "description": "用户ID",
  7916. "type": "integer"
  7917. }
  7918. }
  7919. },
  7920. "ermcp.QryErmcpRsp": {
  7921. "type": "object",
  7922. "properties": {
  7923. "accountname": {
  7924. "description": "账户名称",
  7925. "type": "string"
  7926. },
  7927. "attachment": {
  7928. "description": "附件",
  7929. "type": "string"
  7930. },
  7931. "audittime": {
  7932. "description": "审核时间",
  7933. "type": "string"
  7934. },
  7935. "contracctstatus": {
  7936. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7937. "type": "integer"
  7938. },
  7939. "contractmargin": {
  7940. "description": "合同保证金",
  7941. "type": "number"
  7942. },
  7943. "contractno": {
  7944. "description": "合同编号",
  7945. "type": "string"
  7946. },
  7947. "contracttype": {
  7948. "description": "合同类型 1-采购, -1-销售",
  7949. "type": "integer"
  7950. },
  7951. "convertfactor": {
  7952. "description": "标仓系数",
  7953. "type": "number"
  7954. },
  7955. "createtime": {
  7956. "description": "创建时间",
  7957. "type": "string"
  7958. },
  7959. "daikaiamount": {
  7960. "description": "待开票额",
  7961. "type": "number"
  7962. },
  7963. "deliveryenddate": {
  7964. "description": "交割结束日",
  7965. "type": "string"
  7966. },
  7967. "deliverygoodscode": {
  7968. "description": "现货商品代码",
  7969. "type": "string"
  7970. },
  7971. "deliverygoodsid": {
  7972. "description": "现货商品ID",
  7973. "type": "integer"
  7974. },
  7975. "deliverygoodsname": {
  7976. "description": "现货商品名称",
  7977. "type": "string"
  7978. },
  7979. "deliverystartdate": {
  7980. "description": "交割开始日",
  7981. "type": "string"
  7982. },
  7983. "enddate": {
  7984. "description": "点价结束日",
  7985. "type": "string"
  7986. },
  7987. "enumdicname": {
  7988. "description": "单位名称",
  7989. "type": "string"
  7990. },
  7991. "goodscode": {
  7992. "description": "点价商品代码",
  7993. "type": "string"
  7994. },
  7995. "goodsid": {
  7996. "description": "点价商品ID",
  7997. "type": "integer"
  7998. },
  7999. "goodsname": {
  8000. "description": "点价商品名称",
  8001. "type": "string"
  8002. },
  8003. "invoiceamount": {
  8004. "description": "已开票额",
  8005. "type": "number"
  8006. },
  8007. "loanamount": {
  8008. "description": "贷款总额=已定价额+调整金额",
  8009. "type": "number"
  8010. },
  8011. "margin": {
  8012. "description": "保证金",
  8013. "type": "number"
  8014. },
  8015. "payamount": {
  8016. "description": "已收付额(收款或付款)",
  8017. "type": "number"
  8018. },
  8019. "price": {
  8020. "description": "价格",
  8021. "type": "number"
  8022. },
  8023. "pricedamount": {
  8024. "description": "已定价额",
  8025. "type": "number"
  8026. },
  8027. "pricedavg": {
  8028. "description": "已点均价",
  8029. "type": "number"
  8030. },
  8031. "pricedqty": {
  8032. "description": "已定价量",
  8033. "type": "number"
  8034. },
  8035. "pricemove": {
  8036. "description": "升贴水",
  8037. "type": "number"
  8038. },
  8039. "pricetype": {
  8040. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8041. "type": "integer"
  8042. },
  8043. "producttype": {
  8044. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8045. "type": "integer"
  8046. },
  8047. "qty": {
  8048. "description": "合同量",
  8049. "type": "number"
  8050. },
  8051. "reckonadjustamount": {
  8052. "description": "调整金额",
  8053. "type": "number"
  8054. },
  8055. "reckonedamount": {
  8056. "description": "已收付额(已确定额)",
  8057. "type": "number"
  8058. },
  8059. "reckonotheramount": {
  8060. "description": "其它费用",
  8061. "type": "number"
  8062. },
  8063. "reckonrealqty": {
  8064. "description": "已确定量",
  8065. "type": "number"
  8066. },
  8067. "remark": {
  8068. "description": "备注",
  8069. "type": "string"
  8070. },
  8071. "spotcontractid": {
  8072. "description": "合同ID",
  8073. "type": "string"
  8074. },
  8075. "spotgoodsdesc": {
  8076. "description": "商品型号(商品规格)",
  8077. "type": "string"
  8078. },
  8079. "startdate": {
  8080. "description": "点价开始日",
  8081. "type": "string"
  8082. },
  8083. "totalamount": {
  8084. "description": "合计总额",
  8085. "type": "number"
  8086. },
  8087. "unpayamount": {
  8088. "description": "待支收额(支付或收款)",
  8089. "type": "number"
  8090. },
  8091. "unpricedqty": {
  8092. "description": "未定价量",
  8093. "type": "number"
  8094. },
  8095. "unsureqty": {
  8096. "description": "未确定量",
  8097. "type": "number"
  8098. },
  8099. "userid": {
  8100. "description": "用户ID",
  8101. "type": "integer"
  8102. }
  8103. }
  8104. },
  8105. "ermcp.QryGGCovertCfgRsp": {
  8106. "type": "object",
  8107. "properties": {
  8108. "convertratio": {
  8109. "description": "折算系数",
  8110. "type": "number"
  8111. },
  8112. "destgoodsgroupid": {
  8113. "description": "目标品种ID",
  8114. "type": "integer"
  8115. },
  8116. "dstcode": {
  8117. "description": "目录品种代码",
  8118. "type": "string"
  8119. },
  8120. "dstname": {
  8121. "description": "目标品种名称",
  8122. "type": "string"
  8123. },
  8124. "dstunitid": {
  8125. "description": "目标品种单位ID",
  8126. "type": "integer"
  8127. },
  8128. "dstunitidname": {
  8129. "description": "目标品种单位名称",
  8130. "type": "string"
  8131. },
  8132. "srccode": {
  8133. "description": "源品种代码",
  8134. "type": "string"
  8135. },
  8136. "srcgoodsgroupid": {
  8137. "description": "源品种ID",
  8138. "type": "integer"
  8139. },
  8140. "srcname": {
  8141. "description": "源品种名称",
  8142. "type": "string"
  8143. },
  8144. "srcunitid": {
  8145. "description": "源品种单位ID",
  8146. "type": "integer"
  8147. },
  8148. "srcunitidname": {
  8149. "description": "源品种单位名称",
  8150. "type": "string"
  8151. }
  8152. }
  8153. },
  8154. "ermcp.QryHedgePlanRsp": {
  8155. "type": "object",
  8156. "properties": {
  8157. "areauserid": {
  8158. "description": "用户ID",
  8159. "type": "integer"
  8160. },
  8161. "contracttype": {
  8162. "description": "计划类型 - 1:采购 -1:销售",
  8163. "type": "integer"
  8164. },
  8165. "convertfactor": {
  8166. "description": "标仓系数",
  8167. "type": "number"
  8168. },
  8169. "createtime": {
  8170. "description": "创建时间",
  8171. "type": "string"
  8172. },
  8173. "deliverygoodsid": {
  8174. "description": "现货品种ID",
  8175. "type": "integer"
  8176. },
  8177. "deliverygoodsname": {
  8178. "description": "现货品种名称",
  8179. "type": "string"
  8180. },
  8181. "hedgeplanid": {
  8182. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8183. "type": "string"
  8184. },
  8185. "hedgeplanno": {
  8186. "description": "套保计划编号(名称)",
  8187. "type": "string"
  8188. },
  8189. "hedgeplanstatus": {
  8190. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8191. "type": "integer"
  8192. },
  8193. "planqty": {
  8194. "description": "计划数量",
  8195. "type": "number"
  8196. },
  8197. "plantime": {
  8198. "description": "计划时间",
  8199. "type": "string"
  8200. },
  8201. "producttype": {
  8202. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8203. "type": "integer"
  8204. },
  8205. "remark": {
  8206. "description": "备注",
  8207. "type": "string"
  8208. },
  8209. "spotgoodsdesc": {
  8210. "description": "商品型号",
  8211. "type": "string"
  8212. },
  8213. "wrstandardid": {
  8214. "description": "现货商品ID",
  8215. "type": "integer"
  8216. },
  8217. "wrstandardname": {
  8218. "description": "现货商品名称",
  8219. "type": "string"
  8220. }
  8221. }
  8222. },
  8223. "ermcp.QryMGChangeLogRsp": {
  8224. "type": "object",
  8225. "properties": {
  8226. "aftervalue": {
  8227. "description": "变更后",
  8228. "type": "number"
  8229. },
  8230. "applyid": {
  8231. "description": "操作人",
  8232. "type": "integer"
  8233. },
  8234. "applyname": {
  8235. "description": "操作人名称",
  8236. "type": "string"
  8237. },
  8238. "applysrc": {
  8239. "description": "操作来源 - 1:管理端 2:终端",
  8240. "type": "integer"
  8241. },
  8242. "beforevalue": {
  8243. "description": "变更前",
  8244. "type": "number"
  8245. },
  8246. "changelogtype": {
  8247. "description": "变更流水类型 - 1:套保比率变更",
  8248. "type": "integer"
  8249. },
  8250. "handlestatus": {
  8251. "description": "处理状态",
  8252. "type": "integer"
  8253. },
  8254. "logdatetime": {
  8255. "description": "流水日期",
  8256. "type": "string"
  8257. },
  8258. "logid": {
  8259. "description": "流水ID",
  8260. "type": "integer"
  8261. },
  8262. "logremark": {
  8263. "description": "流水备注",
  8264. "type": "string"
  8265. },
  8266. "middlegoodsid": {
  8267. "description": "套保品种ID",
  8268. "type": "integer"
  8269. },
  8270. "tradedate": {
  8271. "description": "交易日(yyyyMMdd)",
  8272. "type": "string"
  8273. },
  8274. "updatetime": {
  8275. "description": "更新时间",
  8276. "type": "string"
  8277. }
  8278. }
  8279. },
  8280. "ermcp.QryMiddleGoodsDetailRsp": {
  8281. "type": "object",
  8282. "properties": {
  8283. "cvList": {
  8284. "description": "期货品种折算列表",
  8285. "type": "array",
  8286. "items": {
  8287. "$ref": "#/definitions/models.GoodsGroupConvert"
  8288. }
  8289. },
  8290. "mg": {
  8291. "description": "套保品种基本信息",
  8292. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8293. }
  8294. }
  8295. },
  8296. "ermcp.QryMiddleGoodsRsp": {
  8297. "type": "object",
  8298. "properties": {
  8299. "areauserid": {
  8300. "description": "机构用户ID",
  8301. "type": "integer"
  8302. },
  8303. "enumdicname": {
  8304. "description": "单位名称",
  8305. "type": "string"
  8306. },
  8307. "evaluateratio": {
  8308. "description": "估价系数",
  8309. "type": "number"
  8310. },
  8311. "goodsgroupid": {
  8312. "description": "关联期货品种ID",
  8313. "type": "integer"
  8314. },
  8315. "isvalid": {
  8316. "description": "状态 0-无效(停用) 1-有效(正常)",
  8317. "type": "integer"
  8318. },
  8319. "middlegoodscode": {
  8320. "description": "套保品种代码",
  8321. "type": "string"
  8322. },
  8323. "middlegoodsid": {
  8324. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8325. "type": "integer"
  8326. },
  8327. "middlegoodsname": {
  8328. "description": "套保品种名称",
  8329. "type": "string"
  8330. },
  8331. "modifytime": {
  8332. "description": "修改时间",
  8333. "type": "string"
  8334. },
  8335. "needhedgeratio": {
  8336. "description": "套保比率",
  8337. "type": "number"
  8338. },
  8339. "qtydecimalplace": {
  8340. "description": "数量小数位",
  8341. "type": "integer"
  8342. },
  8343. "relatedgoodsid": {
  8344. "description": "关联交易商品ID",
  8345. "type": "integer"
  8346. },
  8347. "relatedgoodstype": {
  8348. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8349. "type": "integer"
  8350. }
  8351. }
  8352. },
  8353. "ermcp.QryOPLogRsp": {
  8354. "type": "object",
  8355. "properties": {
  8356. "aftervalue": {
  8357. "description": "变更后",
  8358. "type": "number"
  8359. },
  8360. "applyid": {
  8361. "description": "操作人ID",
  8362. "type": "string"
  8363. },
  8364. "applyname": {
  8365. "description": "操作人名称",
  8366. "type": "string"
  8367. },
  8368. "beforevalue": {
  8369. "description": "变更前",
  8370. "type": "number"
  8371. },
  8372. "biztype": {
  8373. "description": "业务类型 - 1:套保计划 2:现货合同",
  8374. "type": "integer"
  8375. },
  8376. "contracttype": {
  8377. "description": "现货合同类型 - 1:采购 -1:销售",
  8378. "type": "integer"
  8379. },
  8380. "logvalue": {
  8381. "description": "数值",
  8382. "type": "number"
  8383. },
  8384. "operatelogtype": {
  8385. "description": "操作流水类型",
  8386. "type": "integer"
  8387. },
  8388. "operatelogtypedesc": {
  8389. "description": "操作流水类型名称",
  8390. "type": "string"
  8391. },
  8392. "relatedid": {
  8393. "description": "现货合同ID\\套保计划",
  8394. "type": "string"
  8395. },
  8396. "updatetime": {
  8397. "description": "更新时间",
  8398. "type": "string"
  8399. }
  8400. }
  8401. },
  8402. "ermcp.QryReportDaySpotDetailRsp": {
  8403. "type": "object",
  8404. "properties": {
  8405. "applyid": {
  8406. "description": "操作人",
  8407. "type": "integer"
  8408. },
  8409. "applyname": {
  8410. "description": "操作人名称",
  8411. "type": "string"
  8412. },
  8413. "biztype": {
  8414. "description": "业务类型 - 1:套保计划 2:现货合同",
  8415. "type": "integer"
  8416. },
  8417. "contracttype": {
  8418. "description": "现货合同类型 - 1:采购 -1:销售",
  8419. "type": "integer"
  8420. },
  8421. "enumdicName": {
  8422. "description": "单位名称",
  8423. "type": "string"
  8424. },
  8425. "logdatetime": {
  8426. "description": "流水日期(时间)",
  8427. "type": "string"
  8428. },
  8429. "logid": {
  8430. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8431. "type": "string"
  8432. },
  8433. "logtypename": {
  8434. "description": "合同类型(名称)",
  8435. "type": "string"
  8436. },
  8437. "logvalue": {
  8438. "description": "数值",
  8439. "type": "string"
  8440. },
  8441. "operatelogtype": {
  8442. "description": "操作流水类型 -",
  8443. "type": "integer"
  8444. },
  8445. "optypename": {
  8446. "description": "流水类型名称",
  8447. "type": "string"
  8448. },
  8449. "relatedid": {
  8450. "description": "现货合同ID\\套保计划",
  8451. "type": "string"
  8452. },
  8453. "relatedno": {
  8454. "description": "合同编号",
  8455. "type": "string"
  8456. },
  8457. "tradedate": {
  8458. "description": "交易日(yyyyMMdd)",
  8459. "type": "string"
  8460. },
  8461. "userid": {
  8462. "description": "机构ID",
  8463. "type": "integer"
  8464. },
  8465. "wrstandardcode": {
  8466. "description": "现货商品代码",
  8467. "type": "string"
  8468. },
  8469. "wrstandardid": {
  8470. "description": "现货商品ID",
  8471. "type": "integer"
  8472. },
  8473. "wrstandardname": {
  8474. "description": "现货商品名称",
  8475. "type": "string"
  8476. }
  8477. }
  8478. },
  8479. "ermcp.QryReportExposureDayRsp": {
  8480. "type": "object",
  8481. "properties": {
  8482. "areauserid": {
  8483. "description": "所属机构",
  8484. "type": "integer"
  8485. },
  8486. "buyfutureqty": {
  8487. "description": "买入期货数量",
  8488. "type": "number"
  8489. },
  8490. "buyplanqty": {
  8491. "description": "采购计划数量",
  8492. "type": "number"
  8493. },
  8494. "buypricedqty": {
  8495. "description": "采购合同已定价数量",
  8496. "type": "number"
  8497. },
  8498. "diffFutuQty": {
  8499. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8500. "type": "number"
  8501. },
  8502. "diffSpotQty": {
  8503. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8504. "type": "number"
  8505. },
  8506. "enumdicname": {
  8507. "description": "单位名称",
  8508. "type": "string"
  8509. },
  8510. "middlegoodscode": {
  8511. "description": "套保品种代码",
  8512. "type": "string"
  8513. },
  8514. "middlegoodshedgeratio": {
  8515. "description": "应套保比例",
  8516. "type": "number"
  8517. },
  8518. "middlegoodsid": {
  8519. "description": "套保品种ID",
  8520. "type": "integer"
  8521. },
  8522. "middlegoodsname": {
  8523. "description": "套保品种名称",
  8524. "type": "string"
  8525. },
  8526. "needhedgeexposoure": {
  8527. "description": "应套保敞口",
  8528. "type": "number"
  8529. },
  8530. "needhedgeratio": {
  8531. "description": "应套保敞口比例",
  8532. "type": "number"
  8533. },
  8534. "oriTotalFutuQty": {
  8535. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8536. "type": "number"
  8537. },
  8538. "oriTotalSpotQty": {
  8539. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8540. "type": "number"
  8541. },
  8542. "oribuyfutureqty": {
  8543. "description": "期初买入期货数量",
  8544. "type": "number"
  8545. },
  8546. "oribuyplanqty": {
  8547. "description": "期初采购计划数量",
  8548. "type": "number"
  8549. },
  8550. "oribuypricedqty": {
  8551. "description": "期初采购合同已定价数量",
  8552. "type": "number"
  8553. },
  8554. "orisellfutureqty": {
  8555. "description": "期初卖出期货数量",
  8556. "type": "number"
  8557. },
  8558. "orisellplanqty": {
  8559. "description": "期初销售计划数量",
  8560. "type": "number"
  8561. },
  8562. "orisellpricedqty": {
  8563. "description": "期初销售合同已定价数量",
  8564. "type": "number"
  8565. },
  8566. "reckondate": {
  8567. "description": "日照时期(yyyyMMdd)",
  8568. "type": "string"
  8569. },
  8570. "sellfutureqty": {
  8571. "description": "卖出期货数量",
  8572. "type": "number"
  8573. },
  8574. "sellplanqty": {
  8575. "description": "销售计划数量",
  8576. "type": "number"
  8577. },
  8578. "sellpricedqty": {
  8579. "description": "销售合同已定价数量",
  8580. "type": "number"
  8581. },
  8582. "totalexposure": {
  8583. "description": "总敞口",
  8584. "type": "number"
  8585. },
  8586. "totalfutureqty": {
  8587. "description": "期货数量",
  8588. "type": "number"
  8589. },
  8590. "totalhedgeratio": {
  8591. "description": "敞口比例",
  8592. "type": "number"
  8593. },
  8594. "totalneedhedgeqty": {
  8595. "description": "期货应套保量",
  8596. "type": "number"
  8597. },
  8598. "totalspotqty": {
  8599. "description": "现货数量",
  8600. "type": "number"
  8601. }
  8602. }
  8603. },
  8604. "ermcp.QryReportFinanceDayRsp": {
  8605. "type": "object",
  8606. "properties": {
  8607. "areauserid": {
  8608. "description": "所属机构",
  8609. "type": "integer"
  8610. },
  8611. "collectinvoiceamount": {
  8612. "description": "今日开票金额",
  8613. "type": "number"
  8614. },
  8615. "collectinvoicecount": {
  8616. "description": "今日开票笔数",
  8617. "type": "integer"
  8618. },
  8619. "collectmoneyamount": {
  8620. "description": "今日收款金额",
  8621. "type": "number"
  8622. },
  8623. "collectmoneycount": {
  8624. "description": "今日收款笔数",
  8625. "type": "integer"
  8626. },
  8627. "payinvoiceamount": {
  8628. "description": "今日收票金额",
  8629. "type": "number"
  8630. },
  8631. "payinvoicecount": {
  8632. "description": "今日收票笔数",
  8633. "type": "integer"
  8634. },
  8635. "paymoneyamount": {
  8636. "description": "今日付款金额",
  8637. "type": "number"
  8638. },
  8639. "paymoneycount": {
  8640. "description": "今日付款笔数",
  8641. "type": "integer"
  8642. },
  8643. "reckondate": {
  8644. "description": "日照时期(yyyyMMdd)",
  8645. "type": "string"
  8646. },
  8647. "updatetime": {
  8648. "description": "更新时间",
  8649. "type": "string"
  8650. }
  8651. }
  8652. },
  8653. "ermcp.QryReportFinanceKxRsp": {
  8654. "type": "object",
  8655. "properties": {
  8656. "applyid": {
  8657. "description": "操作人",
  8658. "type": "integer"
  8659. },
  8660. "applyname": {
  8661. "description": "操作人名称",
  8662. "type": "string"
  8663. },
  8664. "biztype": {
  8665. "description": "业务类型 - 1:套保计划 2:现货合同",
  8666. "type": "integer"
  8667. },
  8668. "contracttype": {
  8669. "description": "现货合同类型 - 1:采购 -1:销售",
  8670. "type": "integer"
  8671. },
  8672. "enumdicName": {
  8673. "description": "单位名称",
  8674. "type": "string"
  8675. },
  8676. "logdatetime": {
  8677. "description": "流水日期(时间)",
  8678. "type": "string"
  8679. },
  8680. "logid": {
  8681. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8682. "type": "string"
  8683. },
  8684. "logtypename": {
  8685. "description": "合同类型(名称)",
  8686. "type": "string"
  8687. },
  8688. "logvalue": {
  8689. "description": "数值",
  8690. "type": "string"
  8691. },
  8692. "operatelogtype": {
  8693. "description": "操作流水类型 -",
  8694. "type": "integer"
  8695. },
  8696. "optypename": {
  8697. "description": "流水类型名称",
  8698. "type": "string"
  8699. },
  8700. "relatedid": {
  8701. "description": "现货合同ID\\套保计划",
  8702. "type": "string"
  8703. },
  8704. "relatedno": {
  8705. "description": "合同编号",
  8706. "type": "string"
  8707. },
  8708. "tradedate": {
  8709. "description": "交易日(yyyyMMdd)",
  8710. "type": "string"
  8711. },
  8712. "userid": {
  8713. "description": "机构ID",
  8714. "type": "integer"
  8715. },
  8716. "wrstandardcode": {
  8717. "description": "现货商品代码",
  8718. "type": "string"
  8719. },
  8720. "wrstandardid": {
  8721. "description": "现货商品ID",
  8722. "type": "integer"
  8723. },
  8724. "wrstandardname": {
  8725. "description": "现货商品名称",
  8726. "type": "string"
  8727. }
  8728. }
  8729. },
  8730. "ermcp.QryReportFinanceMonRsp": {
  8731. "type": "object",
  8732. "properties": {
  8733. "areauserid": {
  8734. "description": "所属机构【原值】",
  8735. "type": "integer"
  8736. },
  8737. "collectinvoiceamount": {
  8738. "description": "今日开票金额【汇总】",
  8739. "type": "number"
  8740. },
  8741. "collectinvoicecount": {
  8742. "description": "今日开票笔数【汇总】",
  8743. "type": "integer"
  8744. },
  8745. "collectmoneyamount": {
  8746. "description": "今日收款金额【汇总】",
  8747. "type": "number"
  8748. },
  8749. "collectmoneycount": {
  8750. "description": "今日收款笔数 【汇总】",
  8751. "type": "integer"
  8752. },
  8753. "cycletime": {
  8754. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8755. "type": "string"
  8756. },
  8757. "cycletype": {
  8758. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8759. "type": "integer"
  8760. },
  8761. "dayFr": {
  8762. "description": "日报表明细",
  8763. "type": "array",
  8764. "items": {
  8765. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8766. }
  8767. },
  8768. "payinvoiceamount": {
  8769. "description": "今日收票金额【汇总】",
  8770. "type": "number"
  8771. },
  8772. "payinvoicecount": {
  8773. "description": "今日收票笔数【汇总】",
  8774. "type": "integer"
  8775. },
  8776. "paymoneyamount": {
  8777. "description": "今日付款金额【汇总】",
  8778. "type": "number"
  8779. },
  8780. "paymoneycount": {
  8781. "description": "今日付款笔数【汇总】",
  8782. "type": "integer"
  8783. },
  8784. "updatetime": {
  8785. "description": "更新时间",
  8786. "type": "string"
  8787. }
  8788. }
  8789. },
  8790. "ermcp.QryReportSpotDayRsp": {
  8791. "type": "object",
  8792. "properties": {
  8793. "areauserid": {
  8794. "description": "所属机构T",
  8795. "type": "integer"
  8796. },
  8797. "enumdicname": {
  8798. "description": "现货商品单位名称",
  8799. "type": "string"
  8800. },
  8801. "reckondate": {
  8802. "description": "日照时期(yyyyMMdd)",
  8803. "type": "string"
  8804. },
  8805. "todaybuyreckonqty": {
  8806. "description": "采购确定量",
  8807. "type": "number"
  8808. },
  8809. "todaysellreckonqty": {
  8810. "description": "销售确定量",
  8811. "type": "number"
  8812. },
  8813. "totalbuypricedqty": {
  8814. "description": "采购定价量 = 期末 - 期初",
  8815. "type": "number"
  8816. },
  8817. "totalsellpricedqty": {
  8818. "description": "销售定价量 = 期末 - 期初",
  8819. "type": "number"
  8820. },
  8821. "wrstandardcode": {
  8822. "description": "现货商品代码",
  8823. "type": "string"
  8824. },
  8825. "wrstandardid": {
  8826. "description": "现货商品ID",
  8827. "type": "integer"
  8828. },
  8829. "wrstandardname": {
  8830. "description": "现货商品名称",
  8831. "type": "string"
  8832. }
  8833. }
  8834. },
  8835. "ermcp.QryReportSpotMonRsp": {
  8836. "type": "object",
  8837. "properties": {
  8838. "areauserid": {
  8839. "description": "所属机构T",
  8840. "type": "integer"
  8841. },
  8842. "cycletime": {
  8843. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8844. "type": "string"
  8845. },
  8846. "cycletype": {
  8847. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8848. "type": "integer"
  8849. },
  8850. "enumdicname": {
  8851. "description": "现货商品单位名称",
  8852. "type": "string"
  8853. },
  8854. "todaybuyreckonqty": {
  8855. "description": "采购确定量",
  8856. "type": "number"
  8857. },
  8858. "todaysellreckonqty": {
  8859. "description": "销售确定量",
  8860. "type": "number"
  8861. },
  8862. "totalbuypricedqty": {
  8863. "description": "采购定价量 = 期末 - 期初",
  8864. "type": "number"
  8865. },
  8866. "totalsellpricedqty": {
  8867. "description": "销售定价量 = 期末 - 期初",
  8868. "type": "number"
  8869. },
  8870. "wrstandardcode": {
  8871. "description": "现货商品代码",
  8872. "type": "string"
  8873. },
  8874. "wrstandardid": {
  8875. "description": "现货商品ID",
  8876. "type": "integer"
  8877. },
  8878. "wrstandardname": {
  8879. "description": "现货商品名称",
  8880. "type": "string"
  8881. }
  8882. }
  8883. },
  8884. "ermcp.QryReportSpotMonthDetailRsp": {
  8885. "type": "object",
  8886. "properties": {
  8887. "areauserid": {
  8888. "description": "所属机构T",
  8889. "type": "integer"
  8890. },
  8891. "enumdicname": {
  8892. "description": "现货商品单位名称",
  8893. "type": "string"
  8894. },
  8895. "reckondate": {
  8896. "description": "日照时期(yyyyMMdd)",
  8897. "type": "string"
  8898. },
  8899. "todaybuyreckonqty": {
  8900. "description": "采购确定量",
  8901. "type": "number"
  8902. },
  8903. "todaysellreckonqty": {
  8904. "description": "销售确定量",
  8905. "type": "number"
  8906. },
  8907. "totalbuypricedqty": {
  8908. "description": "采购定价量 = 期末 - 期初",
  8909. "type": "number"
  8910. },
  8911. "totalsellpricedqty": {
  8912. "description": "销售定价量 = 期末 - 期初",
  8913. "type": "number"
  8914. },
  8915. "wrstandardcode": {
  8916. "description": "现货商品代码",
  8917. "type": "string"
  8918. },
  8919. "wrstandardid": {
  8920. "description": "现货商品ID",
  8921. "type": "integer"
  8922. },
  8923. "wrstandardname": {
  8924. "description": "现货商品名称",
  8925. "type": "string"
  8926. }
  8927. }
  8928. },
  8929. "ermcp.QrySpotContractRsp": {
  8930. "type": "object",
  8931. "properties": {
  8932. "amount": {
  8933. "description": "金额 [1:一口价、3:暂定价]",
  8934. "type": "number"
  8935. },
  8936. "attachment": {
  8937. "description": "附件",
  8938. "type": "string"
  8939. },
  8940. "auditremark": {
  8941. "description": "审核意见",
  8942. "type": "string"
  8943. },
  8944. "audittime": {
  8945. "description": "审核时间",
  8946. "type": "string"
  8947. },
  8948. "brandname": {
  8949. "description": "品牌名称",
  8950. "type": "string"
  8951. },
  8952. "buyuserid": {
  8953. "description": "采购方ID",
  8954. "type": "integer"
  8955. },
  8956. "buyusername": {
  8957. "description": "采购方名称",
  8958. "type": "string"
  8959. },
  8960. "contracctstatus": {
  8961. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8962. "type": "integer"
  8963. },
  8964. "contractmargin": {
  8965. "description": "合同保证金",
  8966. "type": "number"
  8967. },
  8968. "contractno": {
  8969. "description": "现货合同编号",
  8970. "type": "string"
  8971. },
  8972. "contracttype": {
  8973. "description": "现货合同类型 - 1:采购 -1:销售",
  8974. "type": "integer"
  8975. },
  8976. "convertfactor": {
  8977. "description": "标仓系数",
  8978. "type": "number"
  8979. },
  8980. "createtime": {
  8981. "description": "创建时间",
  8982. "type": "string"
  8983. },
  8984. "deliveryenddate": {
  8985. "description": "交收期(结束)",
  8986. "type": "string"
  8987. },
  8988. "deliverygoodscode": {
  8989. "description": "现货品种代码",
  8990. "type": "string"
  8991. },
  8992. "deliverygoodsid": {
  8993. "description": "现货品种ID",
  8994. "type": "integer"
  8995. },
  8996. "deliverygoodsname": {
  8997. "description": "现货品种名称",
  8998. "type": "string"
  8999. },
  9000. "deliverystartdate": {
  9001. "description": "交收期(开始)",
  9002. "type": "string"
  9003. },
  9004. "enddate": {
  9005. "description": "点价结束日期 [2:点价 3:暂定价]",
  9006. "type": "string"
  9007. },
  9008. "enumdicname": {
  9009. "description": "单位名称",
  9010. "type": "string"
  9011. },
  9012. "goodscode": {
  9013. "description": "点价合约代码",
  9014. "type": "string"
  9015. },
  9016. "goodsid": {
  9017. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9018. "type": "integer"
  9019. },
  9020. "goodsname": {
  9021. "description": "点价商品名称",
  9022. "type": "string"
  9023. },
  9024. "margin": {
  9025. "description": "当前保证金",
  9026. "type": "number"
  9027. },
  9028. "modelname": {
  9029. "description": "型号名称",
  9030. "type": "string"
  9031. },
  9032. "price": {
  9033. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9034. "type": "number"
  9035. },
  9036. "pricemove": {
  9037. "description": "升贴水 [2:点价 3:暂定价]",
  9038. "type": "number"
  9039. },
  9040. "pricetype": {
  9041. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9042. "type": "integer"
  9043. },
  9044. "producttype": {
  9045. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9046. "type": "integer"
  9047. },
  9048. "qty": {
  9049. "description": "数量",
  9050. "type": "number"
  9051. },
  9052. "remark": {
  9053. "description": "备注",
  9054. "type": "string"
  9055. },
  9056. "selluserid": {
  9057. "description": "销售方ID",
  9058. "type": "integer"
  9059. },
  9060. "sellusername": {
  9061. "description": "销售方名称",
  9062. "type": "string"
  9063. },
  9064. "spotcontractid": {
  9065. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9066. "type": "string"
  9067. },
  9068. "spotgoodsbrandid": {
  9069. "description": "现货品牌ID",
  9070. "type": "integer"
  9071. },
  9072. "spotgoodsdesc": {
  9073. "description": "商品型号",
  9074. "type": "string"
  9075. },
  9076. "spotgoodsmodelid": {
  9077. "description": "现货型号ID",
  9078. "type": "integer"
  9079. },
  9080. "startdate": {
  9081. "description": "点价开始日期 [2:点价 3:暂定价]",
  9082. "type": "string"
  9083. },
  9084. "userid": {
  9085. "description": "机构ID",
  9086. "type": "integer"
  9087. },
  9088. "wrstandardid": {
  9089. "description": "现货商品ID",
  9090. "type": "integer"
  9091. }
  9092. }
  9093. },
  9094. "ermcp.QryUserInfoRsp": {
  9095. "type": "object",
  9096. "properties": {
  9097. "address": {
  9098. "description": "通讯地址",
  9099. "type": "string"
  9100. },
  9101. "attachment1": {
  9102. "description": "附件1",
  9103. "type": "string"
  9104. },
  9105. "cardfrontphotourl": {
  9106. "description": "证件正面图片地址",
  9107. "type": "string"
  9108. },
  9109. "cardnum": {
  9110. "description": "证件号码",
  9111. "type": "string"
  9112. },
  9113. "cardtype": {
  9114. "description": "证件类型",
  9115. "type": "integer"
  9116. },
  9117. "cardtypename": {
  9118. "description": "证件类型名称",
  9119. "type": "string"
  9120. },
  9121. "cityid": {
  9122. "description": "市",
  9123. "type": "integer"
  9124. },
  9125. "countryid": {
  9126. "description": "国家",
  9127. "type": "integer"
  9128. },
  9129. "createtime": {
  9130. "description": "创建时间",
  9131. "type": "string"
  9132. },
  9133. "customername": {
  9134. "description": "企业名称",
  9135. "type": "string"
  9136. },
  9137. "memberuserid": {
  9138. "description": "所属机构ID",
  9139. "type": "integer"
  9140. },
  9141. "mobile": {
  9142. "description": "手机号码",
  9143. "type": "string"
  9144. },
  9145. "provinceid": {
  9146. "description": "省",
  9147. "type": "integer"
  9148. },
  9149. "remark": {
  9150. "description": "备注",
  9151. "type": "string"
  9152. },
  9153. "status": {
  9154. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9155. "type": "integer"
  9156. },
  9157. "statusdesc": {
  9158. "description": "账户状态中文描述",
  9159. "type": "string"
  9160. },
  9161. "telphone": {
  9162. "description": "联系电话",
  9163. "type": "string"
  9164. },
  9165. "userid": {
  9166. "description": "用户ID",
  9167. "type": "integer"
  9168. },
  9169. "userinfotype": {
  9170. "description": "客户类型",
  9171. "type": "string"
  9172. }
  9173. }
  9174. },
  9175. "ermcp.QryWrStandardDetailRsp": {
  9176. "type": "object",
  9177. "properties": {
  9178. "gbList": {
  9179. "description": "品牌列表",
  9180. "type": "array",
  9181. "items": {
  9182. "$ref": "#/definitions/models.GoodsBrand"
  9183. }
  9184. },
  9185. "gtList": {
  9186. "description": "型号列表",
  9187. "type": "array",
  9188. "items": {
  9189. "$ref": "#/definitions/models.GoodsTypeModel"
  9190. }
  9191. },
  9192. "wrd": {
  9193. "description": "基本信息",
  9194. "$ref": "#/definitions/models.ErmcpWrstandard"
  9195. },
  9196. "wrsList": {
  9197. "description": "套保信息列表",
  9198. "type": "array",
  9199. "items": {
  9200. "$ref": "#/definitions/models.WRSConverTDetail"
  9201. }
  9202. }
  9203. }
  9204. },
  9205. "ermcp.QryWrStandardRsp": {
  9206. "type": "object",
  9207. "properties": {
  9208. "areauserid": {
  9209. "description": "所属机构",
  9210. "type": "integer"
  9211. },
  9212. "createtime": {
  9213. "description": "创建时间",
  9214. "type": "string"
  9215. },
  9216. "creatorid": {
  9217. "description": "创建人",
  9218. "type": "integer"
  9219. },
  9220. "deliverygoodsid": {
  9221. "description": "品种ID",
  9222. "type": "integer"
  9223. },
  9224. "enumdicname": {
  9225. "description": "单位名称",
  9226. "type": "string"
  9227. },
  9228. "isvalid": {
  9229. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9230. "type": "integer"
  9231. },
  9232. "minivalue": {
  9233. "description": "最小变动值",
  9234. "type": "integer"
  9235. },
  9236. "minivaluedp": {
  9237. "description": "最小变动值小数位",
  9238. "type": "integer"
  9239. },
  9240. "realminivalue": {
  9241. "description": "实际最小变动值",
  9242. "type": "integer"
  9243. },
  9244. "realminivaluedp": {
  9245. "description": "实际最小变动值小数位",
  9246. "type": "integer"
  9247. },
  9248. "remark": {
  9249. "description": "备注",
  9250. "type": "string"
  9251. },
  9252. "unitid": {
  9253. "description": "单位ID",
  9254. "type": "integer"
  9255. },
  9256. "updatetime": {
  9257. "description": "更新时间",
  9258. "type": "string"
  9259. },
  9260. "wrstandardcode": {
  9261. "description": "现货商品代码",
  9262. "type": "string"
  9263. },
  9264. "wrstandardid": {
  9265. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9266. "type": "integer"
  9267. },
  9268. "wrstandardname": {
  9269. "description": "现货商品名称",
  9270. "type": "string"
  9271. }
  9272. }
  9273. },
  9274. "ermcp.RealtimeExposurePositionRsp": {
  9275. "type": "object",
  9276. "properties": {
  9277. "agreeunit": {
  9278. "description": "合约单位",
  9279. "type": "string"
  9280. },
  9281. "areauserid": {
  9282. "description": "所属机构id",
  9283. "type": "integer"
  9284. },
  9285. "convertratio": {
  9286. "description": "期货品种系数(折算系数)",
  9287. "type": "number"
  9288. },
  9289. "curqty": {
  9290. "description": "当前持仓",
  9291. "type": "integer"
  9292. },
  9293. "diffhedgeqty": {
  9294. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9295. "type": "number"
  9296. },
  9297. "diffqty": {
  9298. "description": "持仓变动量=当前持仓-昨日持仓",
  9299. "type": "integer"
  9300. },
  9301. "goodscode": {
  9302. "description": "商品代码",
  9303. "type": "string"
  9304. },
  9305. "goodsid": {
  9306. "description": "商品id",
  9307. "type": "integer"
  9308. },
  9309. "goodsname": {
  9310. "description": "商品名称",
  9311. "type": "string"
  9312. },
  9313. "middlegoodsid": {
  9314. "description": "套保商品id",
  9315. "type": "integer"
  9316. },
  9317. "ydqty": {
  9318. "description": "昨日持仓",
  9319. "type": "integer"
  9320. }
  9321. }
  9322. },
  9323. "ermcp.RealtimeExposureRsp": {
  9324. "type": "object",
  9325. "properties": {
  9326. "areaUserID": {
  9327. "description": "所属机构",
  9328. "type": "integer"
  9329. },
  9330. "buyFutureQty": {
  9331. "description": "买入期货数量",
  9332. "type": "number"
  9333. },
  9334. "buyPlanQty": {
  9335. "description": "采购计划数量",
  9336. "type": "number"
  9337. },
  9338. "buyPricedQty": {
  9339. "description": "采购合同已定价数量",
  9340. "type": "number"
  9341. },
  9342. "diffFutuQty": {
  9343. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9344. "type": "number"
  9345. },
  9346. "diffSpotQty": {
  9347. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9348. "type": "number"
  9349. },
  9350. "enumdicname": {
  9351. "description": "单位名称",
  9352. "type": "string"
  9353. },
  9354. "middleGoodsCode": {
  9355. "description": "套保品种代码",
  9356. "type": "string"
  9357. },
  9358. "middleGoodsHedgeRatio": {
  9359. "description": "应套保比例",
  9360. "type": "number"
  9361. },
  9362. "middleGoodsID": {
  9363. "description": "套保品种",
  9364. "type": "integer"
  9365. },
  9366. "middleGoodsName": {
  9367. "description": "套保品种名称",
  9368. "type": "string"
  9369. },
  9370. "needHedgeExposoure": {
  9371. "description": "应套保敞口",
  9372. "type": "number"
  9373. },
  9374. "needHedgeRatio": {
  9375. "description": "应套保敞口比例",
  9376. "type": "number"
  9377. },
  9378. "oriBuyFutureQty": {
  9379. "description": "期初买入期货数量",
  9380. "type": "number"
  9381. },
  9382. "oriBuyPlanQty": {
  9383. "description": "期初采购计划数量",
  9384. "type": "number"
  9385. },
  9386. "oriBuyPricedQty": {
  9387. "description": "期初采购合同已定价数量",
  9388. "type": "number"
  9389. },
  9390. "oriSellFutureQty": {
  9391. "description": "期初卖出期货数量",
  9392. "type": "number"
  9393. },
  9394. "oriSellPlanQty": {
  9395. "description": "期初销售计划数量",
  9396. "type": "number"
  9397. },
  9398. "oriSellPricedQty": {
  9399. "description": "期初销售合同已定价数量",
  9400. "type": "number"
  9401. },
  9402. "oriTotalFutuQty": {
  9403. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9404. "type": "number"
  9405. },
  9406. "oriTotalSpotQty": {
  9407. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9408. "type": "number"
  9409. },
  9410. "sellFutureQty": {
  9411. "description": "卖出期货数量",
  9412. "type": "number"
  9413. },
  9414. "sellPlanQty": {
  9415. "description": "销售计划数量",
  9416. "type": "number"
  9417. },
  9418. "sellPricedQty": {
  9419. "description": "销售合同已定价数量",
  9420. "type": "number"
  9421. },
  9422. "totalExposure": {
  9423. "description": "总敞口",
  9424. "type": "number"
  9425. },
  9426. "totalFutureQty": {
  9427. "description": "期货数量",
  9428. "type": "number"
  9429. },
  9430. "totalHedgeRatio": {
  9431. "description": "敞口比例",
  9432. "type": "number"
  9433. },
  9434. "totalNeedHedgeQty": {
  9435. "description": "期货应套保量",
  9436. "type": "number"
  9437. },
  9438. "totalSpotQty": {
  9439. "description": "现货数量",
  9440. "type": "number"
  9441. }
  9442. }
  9443. },
  9444. "erms2.QueryArbitrageStrategyRsp": {
  9445. "type": "object",
  9446. "required": [
  9447. "asapplyid"
  9448. ],
  9449. "properties": {
  9450. "applybasis": {
  9451. "description": "申请基差",
  9452. "type": "number"
  9453. },
  9454. "asapplyid": {
  9455. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9456. "type": "string"
  9457. },
  9458. "asname": {
  9459. "description": "策略名称",
  9460. "type": "string"
  9461. },
  9462. "asno": {
  9463. "description": "策略编号",
  9464. "type": "string"
  9465. },
  9466. "basischangepl": {
  9467. "description": "基差变动损益[结算更新]",
  9468. "type": "number"
  9469. },
  9470. "biztype": {
  9471. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9472. "type": "integer"
  9473. },
  9474. "closetradedate": {
  9475. "description": "完结交易日(yyyyMMdd)",
  9476. "type": "string"
  9477. },
  9478. "curbasis": {
  9479. "description": "当前基差[结算更新]",
  9480. "type": "number"
  9481. },
  9482. "deliverygoodsid": {
  9483. "description": "现货品种ID",
  9484. "type": "integer"
  9485. },
  9486. "futureavgprice": {
  9487. "description": "期货建仓均价",
  9488. "type": "number"
  9489. },
  9490. "futurecloseamount": {
  9491. "description": "期货平仓金额",
  9492. "type": "number"
  9493. },
  9494. "futurecloseqty": {
  9495. "description": "期货平仓数量",
  9496. "type": "number"
  9497. },
  9498. "futureopenamount": {
  9499. "description": "期货开仓金额",
  9500. "type": "number"
  9501. },
  9502. "futureopenqty": {
  9503. "description": "期货开仓数量",
  9504. "type": "number"
  9505. },
  9506. "futurepl": {
  9507. "description": "期货总盈亏[结算更新]",
  9508. "type": "number"
  9509. },
  9510. "futureqty": {
  9511. "description": "期货持仓数量",
  9512. "type": "number"
  9513. },
  9514. "futurequote": {
  9515. "description": "期货额度",
  9516. "type": "number"
  9517. },
  9518. "goodsgroupid": {
  9519. "description": "期货品种ID",
  9520. "type": "integer"
  9521. },
  9522. "marketid": {
  9523. "description": "市场ID",
  9524. "type": "integer"
  9525. },
  9526. "netexposure": {
  9527. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9528. "type": "number"
  9529. },
  9530. "netexposurepl": {
  9531. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9532. "type": "number"
  9533. },
  9534. "netexposurerate": {
  9535. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9536. "type": "number"
  9537. },
  9538. "openbasis": {
  9539. "description": "建仓基差",
  9540. "type": "number"
  9541. },
  9542. "pricedspotqty": {
  9543. "description": "已定价现货数量",
  9544. "type": "number"
  9545. },
  9546. "pricedspotqtynotax": {
  9547. "description": "已定价现货不含税数量",
  9548. "type": "number"
  9549. },
  9550. "remark": {
  9551. "description": "备注",
  9552. "type": "string"
  9553. },
  9554. "spotavgprice": {
  9555. "description": "现货均价",
  9556. "type": "number"
  9557. },
  9558. "spotbuyamount": {
  9559. "description": "现货采购金额",
  9560. "type": "number"
  9561. },
  9562. "spotbuyqty": {
  9563. "description": "现货采购数量",
  9564. "type": "number"
  9565. },
  9566. "spotpl": {
  9567. "description": "现货总盈亏[结算更新]",
  9568. "type": "number"
  9569. },
  9570. "spotquota": {
  9571. "description": "现货额度",
  9572. "type": "number"
  9573. },
  9574. "spotsellamount": {
  9575. "description": "现货销售金额",
  9576. "type": "number"
  9577. },
  9578. "spotsellqty": {
  9579. "description": "现货销售数量",
  9580. "type": "number"
  9581. },
  9582. "spotusedquota": {
  9583. "description": "现货占用资金",
  9584. "type": "number"
  9585. },
  9586. "strategystatus": {
  9587. "description": "策略状态 - 0:未结束 1:已结束",
  9588. "type": "integer"
  9589. },
  9590. "totalpl": {
  9591. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9592. "type": "number"
  9593. },
  9594. "tradedate": {
  9595. "description": "交易日(yyyyMMdd)",
  9596. "type": "string"
  9597. },
  9598. "updatetime": {
  9599. "description": "更新时间",
  9600. "type": "string"
  9601. },
  9602. "usedquota": {
  9603. "description": "已占用资金",
  9604. "type": "number"
  9605. },
  9606. "userid": {
  9607. "description": "所属机构",
  9608. "type": "integer"
  9609. }
  9610. }
  9611. },
  9612. "erms2.QueryInnerTradeDetailRsp": {
  9613. "type": "object",
  9614. "required": [
  9615. "asapplyid",
  9616. "buyorsell",
  9617. "goodscode",
  9618. "goodsgroupid",
  9619. "goodsgroupname",
  9620. "goodsname",
  9621. "tradeid"
  9622. ],
  9623. "properties": {
  9624. "accountid": {
  9625. "description": "账号ID",
  9626. "type": "integer"
  9627. },
  9628. "agreeunit": {
  9629. "description": "合约单位",
  9630. "type": "number"
  9631. },
  9632. "asapplyid": {
  9633. "description": "策略申请ID",
  9634. "type": "integer"
  9635. },
  9636. "asname": {
  9637. "description": "策略名称",
  9638. "type": "string"
  9639. },
  9640. "asno": {
  9641. "description": "策略编号",
  9642. "type": "string"
  9643. },
  9644. "buyorsell": {
  9645. "description": "方向 - 0:买 1:卖",
  9646. "type": "integer"
  9647. },
  9648. "channelbuildtype": {
  9649. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9650. "type": "integer"
  9651. },
  9652. "closetype": {
  9653. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9654. "type": "integer"
  9655. },
  9656. "decimalplace": {
  9657. "description": "报价小数位",
  9658. "type": "integer"
  9659. },
  9660. "detailtype": {
  9661. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9662. "type": "integer"
  9663. },
  9664. "exexchangecode": {
  9665. "description": "外部交易所代码",
  9666. "type": "string"
  9667. },
  9668. "exexchangename": {
  9669. "description": "外部交易所名称",
  9670. "type": "string"
  9671. },
  9672. "goodscode": {
  9673. "description": "商品代码(合约)",
  9674. "type": "string"
  9675. },
  9676. "goodsgroupid": {
  9677. "description": "商品组ID(品种ID)",
  9678. "type": "integer"
  9679. },
  9680. "goodsgroupname": {
  9681. "description": "商品组名称(品种)",
  9682. "type": "string"
  9683. },
  9684. "goodsid": {
  9685. "description": "商品ID",
  9686. "type": "integer"
  9687. },
  9688. "goodsname": {
  9689. "description": "商品名称(合约)",
  9690. "type": "string"
  9691. },
  9692. "goodunit": {
  9693. "description": "报价单位",
  9694. "type": "string"
  9695. },
  9696. "marketid": {
  9697. "description": "市场ID",
  9698. "type": "integer"
  9699. },
  9700. "orderid": {
  9701. "description": "委托单号",
  9702. "type": "string"
  9703. },
  9704. "outgoodscode": {
  9705. "description": "商品代码(外部)",
  9706. "type": "string"
  9707. },
  9708. "relatedouttradeid": {
  9709. "description": "关联外部成交单ID",
  9710. "type": "string"
  9711. },
  9712. "remark": {
  9713. "description": "备注",
  9714. "type": "string"
  9715. },
  9716. "spotcontractid": {
  9717. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9718. "type": "integer"
  9719. },
  9720. "spotcontractno": {
  9721. "description": "现货合同编号",
  9722. "type": "string"
  9723. },
  9724. "tradeid": {
  9725. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9726. "type": "string"
  9727. },
  9728. "tradeprice": {
  9729. "description": "成交价格",
  9730. "type": "number"
  9731. },
  9732. "tradeqty": {
  9733. "description": "成交数量",
  9734. "type": "integer"
  9735. },
  9736. "tradetime": {
  9737. "description": "成交时间",
  9738. "type": "string"
  9739. },
  9740. "updatetime": {
  9741. "description": "更新时间",
  9742. "type": "string"
  9743. }
  9744. }
  9745. },
  9746. "erms2.QuerySpotContractRsp": {
  9747. "type": "object",
  9748. "required": [
  9749. "spotcontractid"
  9750. ],
  9751. "properties": {
  9752. "accountid": {
  9753. "description": "资金账户ID",
  9754. "type": "integer"
  9755. },
  9756. "areauserid": {
  9757. "description": "所属机构",
  9758. "type": "integer"
  9759. },
  9760. "closedate": {
  9761. "description": "终止日期",
  9762. "type": "string"
  9763. },
  9764. "closeremark": {
  9765. "description": "结束备注",
  9766. "type": "string"
  9767. },
  9768. "closetradedate": {
  9769. "description": "完结交易日(yyyyMMdd)",
  9770. "type": "string"
  9771. },
  9772. "closetype": {
  9773. "description": "终止类型 - 1:违约 2:提前终止",
  9774. "type": "integer"
  9775. },
  9776. "contractamount": {
  9777. "description": "合同金额",
  9778. "type": "number"
  9779. },
  9780. "contractattachment": {
  9781. "description": "合同附件",
  9782. "type": "string"
  9783. },
  9784. "contractno": {
  9785. "description": "现货合同编号",
  9786. "type": "string"
  9787. },
  9788. "contractqty": {
  9789. "description": "合同数量(数值) (用于计算)",
  9790. "type": "number"
  9791. },
  9792. "contractqtychar": {
  9793. "description": "合同数量\\已订价数量 (用于显示)",
  9794. "type": "string"
  9795. },
  9796. "contractstatus": {
  9797. "description": "合同状态 - 0:未结束 1:已结束",
  9798. "type": "integer"
  9799. },
  9800. "contracttype": {
  9801. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9802. "type": "integer"
  9803. },
  9804. "customeraccountid": {
  9805. "description": "客户资金账户ID",
  9806. "type": "integer"
  9807. },
  9808. "customeruserid": {
  9809. "description": "客户ID",
  9810. "type": "integer"
  9811. },
  9812. "deliverygoodsdesc": {
  9813. "description": "品种说明",
  9814. "type": "string"
  9815. },
  9816. "deliverygoodsid": {
  9817. "description": "现货品种ID",
  9818. "type": "integer"
  9819. },
  9820. "handlestatus": {
  9821. "description": "处理状态",
  9822. "type": "integer"
  9823. },
  9824. "invoiceatt": {
  9825. "description": "发票附件",
  9826. "type": "string"
  9827. },
  9828. "invoicedatetime": {
  9829. "description": "开收票更新时间",
  9830. "type": "string"
  9831. },
  9832. "invoiceopentime": {
  9833. "description": "开票时间",
  9834. "type": "string"
  9835. },
  9836. "invoiceremark": {
  9837. "description": "发票备注",
  9838. "type": "string"
  9839. },
  9840. "invoicestatus": {
  9841. "description": "开收票状态 - 0:未开票 1:已开票",
  9842. "type": "integer"
  9843. },
  9844. "lastdate": {
  9845. "description": "交货时间",
  9846. "type": "string"
  9847. },
  9848. "marketid": {
  9849. "description": "市场ID",
  9850. "type": "integer"
  9851. },
  9852. "paydatetime": {
  9853. "description": "收付款更新时间",
  9854. "type": "string"
  9855. },
  9856. "payremark": {
  9857. "description": "收付款备注",
  9858. "type": "string"
  9859. },
  9860. "paystatus": {
  9861. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9862. "type": "integer"
  9863. },
  9864. "positionqty": {
  9865. "description": "头寸数量 - 合同数量去小数部分",
  9866. "type": "integer"
  9867. },
  9868. "producttype": {
  9869. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9870. "type": "integer"
  9871. },
  9872. "relatedqty": {
  9873. "description": "已关联数量",
  9874. "type": "number"
  9875. },
  9876. "relatedstatus": {
  9877. "description": "关联完结状态 - 0:未结束 1:已结束",
  9878. "type": "integer"
  9879. },
  9880. "remark": {
  9881. "description": "备注",
  9882. "type": "string"
  9883. },
  9884. "signdate": {
  9885. "description": "签订日期",
  9886. "type": "string"
  9887. },
  9888. "spotcontractid": {
  9889. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  9890. "type": "string"
  9891. },
  9892. "spotdatetime": {
  9893. "description": "收发货更新时间",
  9894. "type": "string"
  9895. },
  9896. "spotprice": {
  9897. "description": "价格",
  9898. "type": "number"
  9899. },
  9900. "spotremark": {
  9901. "description": "收发货备注",
  9902. "type": "string"
  9903. },
  9904. "spotstatus": {
  9905. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  9906. "type": "integer"
  9907. },
  9908. "tradedate": {
  9909. "description": "交易日(yyyyMMdd)",
  9910. "type": "string"
  9911. },
  9912. "userid": {
  9913. "description": "业务员用户ID",
  9914. "type": "integer"
  9915. },
  9916. "warehouseid": {
  9917. "description": "仓库ID",
  9918. "type": "integer"
  9919. },
  9920. "wrfactortypeid": {
  9921. "description": "仓单要素类型ID",
  9922. "type": "integer"
  9923. },
  9924. "wrstandardid": {
  9925. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  9926. "type": "integer"
  9927. }
  9928. }
  9929. },
  9930. "erms3.AddErms2ASApplyReq": {
  9931. "type": "object",
  9932. "required": [
  9933. "asapplyid"
  9934. ],
  9935. "properties": {
  9936. "applybasis": {
  9937. "description": "申请基差",
  9938. "type": "number"
  9939. },
  9940. "applystatus": {
  9941. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  9942. "type": "integer"
  9943. },
  9944. "asapplyid": {
  9945. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  9946. "type": "integer"
  9947. },
  9948. "asname": {
  9949. "description": "策略名称",
  9950. "type": "string"
  9951. },
  9952. "asno": {
  9953. "description": "策略编号",
  9954. "type": "string"
  9955. },
  9956. "auditid": {
  9957. "description": "审核人",
  9958. "type": "integer"
  9959. },
  9960. "auditremark": {
  9961. "description": "审核备注",
  9962. "type": "string"
  9963. },
  9964. "audittime": {
  9965. "description": "审核时间",
  9966. "type": "string"
  9967. },
  9968. "biztype": {
  9969. "description": "业务类型 - 1:正向套利 2:反向套利",
  9970. "type": "integer"
  9971. },
  9972. "createtime": {
  9973. "description": "创建时间",
  9974. "type": "string"
  9975. },
  9976. "creatorid": {
  9977. "description": "创建人",
  9978. "type": "integer"
  9979. },
  9980. "deliverygoodsid": {
  9981. "description": "现货品种ID",
  9982. "type": "integer"
  9983. },
  9984. "futurequote": {
  9985. "description": "期货额度",
  9986. "type": "number"
  9987. },
  9988. "goodsgroupid": {
  9989. "description": "期货品种ID",
  9990. "type": "integer"
  9991. },
  9992. "marketid": {
  9993. "description": "市场ID",
  9994. "type": "integer"
  9995. },
  9996. "remark": {
  9997. "description": "备注",
  9998. "type": "string"
  9999. },
  10000. "spotquota": {
  10001. "description": "现货额度",
  10002. "type": "number"
  10003. },
  10004. "tradedate": {
  10005. "description": "交易日(yyyyMMdd)",
  10006. "type": "string"
  10007. },
  10008. "userid": {
  10009. "description": "所属机构",
  10010. "type": "integer"
  10011. }
  10012. }
  10013. },
  10014. "erms3.AddErms2SpotTradeApplyReq": {
  10015. "type": "object",
  10016. "required": [
  10017. "spottradeid"
  10018. ],
  10019. "properties": {
  10020. "applyjsondetail": {
  10021. "description": "申请明细(JSON)",
  10022. "type": "string"
  10023. },
  10024. "applystatus": {
  10025. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10026. "type": "integer"
  10027. },
  10028. "areauserid": {
  10029. "description": "所属机构",
  10030. "type": "integer"
  10031. },
  10032. "auditid": {
  10033. "description": "审核人",
  10034. "type": "integer"
  10035. },
  10036. "auditremark": {
  10037. "description": "审核备注",
  10038. "type": "string"
  10039. },
  10040. "audittime": {
  10041. "description": "审核时间",
  10042. "type": "string"
  10043. },
  10044. "createtime": {
  10045. "description": "创建时间",
  10046. "type": "string"
  10047. },
  10048. "creatorid": {
  10049. "description": "创建人",
  10050. "type": "integer"
  10051. },
  10052. "deliverygoodsid": {
  10053. "description": "现货品种ID",
  10054. "type": "integer"
  10055. },
  10056. "futureaccountid": {
  10057. "description": "期货资金账户",
  10058. "type": "integer"
  10059. },
  10060. "goodsgroupid": {
  10061. "description": "期货品种",
  10062. "type": "integer"
  10063. },
  10064. "marketid": {
  10065. "description": "市场ID",
  10066. "type": "integer"
  10067. },
  10068. "remark": {
  10069. "description": "备注",
  10070. "type": "string"
  10071. },
  10072. "spotaccountid": {
  10073. "description": "现货资金账户",
  10074. "type": "integer"
  10075. },
  10076. "spottradeid": {
  10077. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10078. "type": "integer"
  10079. },
  10080. "spottradename": {
  10081. "description": "业务名称",
  10082. "type": "string"
  10083. },
  10084. "spottradeno": {
  10085. "description": "业务编号",
  10086. "type": "string"
  10087. },
  10088. "tradedate": {
  10089. "description": "交易日(yyyyMMdd)",
  10090. "type": "string"
  10091. },
  10092. "wrstandardid": {
  10093. "description": "仓单标准ID",
  10094. "type": "integer"
  10095. }
  10096. }
  10097. },
  10098. "erms3.AddSpotContractApplyReq": {
  10099. "type": "object",
  10100. "required": [
  10101. "accountid",
  10102. "areauserid",
  10103. "contractno",
  10104. "contracttype",
  10105. "customeraccountid",
  10106. "customeruserid",
  10107. "details",
  10108. "orimargin",
  10109. "signdate"
  10110. ],
  10111. "properties": {
  10112. "accountid": {
  10113. "description": "资金账户ID",
  10114. "type": "integer"
  10115. },
  10116. "areauserid": {
  10117. "description": "所属机构",
  10118. "type": "integer"
  10119. },
  10120. "contractattachment": {
  10121. "description": "合同附件",
  10122. "type": "string"
  10123. },
  10124. "contractno": {
  10125. "description": "现货合同编号",
  10126. "type": "string"
  10127. },
  10128. "contracttype": {
  10129. "description": "现货合同类型 - 1:采购 -1:销售",
  10130. "type": "integer"
  10131. },
  10132. "creatorid": {
  10133. "description": "申请人",
  10134. "type": "integer"
  10135. },
  10136. "customeraccountid": {
  10137. "description": "客户资金账户ID",
  10138. "type": "integer"
  10139. },
  10140. "customeruserid": {
  10141. "description": "客户ID",
  10142. "type": "integer"
  10143. },
  10144. "details": {
  10145. "description": "明细",
  10146. "type": "array",
  10147. "items": {
  10148. "$ref": "#/definitions/erms3.SoptContractDetail"
  10149. }
  10150. },
  10151. "orimargin": {
  10152. "description": "初始保证金",
  10153. "type": "number"
  10154. },
  10155. "remark": {
  10156. "description": "备注",
  10157. "type": "string"
  10158. },
  10159. "signdate": {
  10160. "description": "签订日期",
  10161. "type": "string"
  10162. }
  10163. }
  10164. },
  10165. "erms3.AddSpotContractApplyRsp": {
  10166. "type": "object",
  10167. "required": [
  10168. "contractno"
  10169. ],
  10170. "properties": {
  10171. "contractno": {
  10172. "description": "现货合同编号",
  10173. "type": "string"
  10174. },
  10175. "spotcontractid": {
  10176. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10177. "type": "integer"
  10178. }
  10179. }
  10180. },
  10181. "erms3.AddUserInfoApplyReq": {
  10182. "type": "object",
  10183. "required": [
  10184. "userid"
  10185. ],
  10186. "properties": {
  10187. "accountid": {
  10188. "description": "交易系统帐号Id (加密存储)",
  10189. "type": "integer"
  10190. },
  10191. "areacode": {
  10192. "description": "机构代码",
  10193. "type": "string"
  10194. },
  10195. "areaid": {
  10196. "description": "机构Id",
  10197. "type": "integer"
  10198. },
  10199. "attachment1": {
  10200. "description": "附件1",
  10201. "type": "string"
  10202. },
  10203. "attachment2": {
  10204. "description": "附件2",
  10205. "type": "string"
  10206. },
  10207. "attachment3": {
  10208. "description": "附件3",
  10209. "type": "string"
  10210. },
  10211. "attachment4": {
  10212. "description": "附件4",
  10213. "type": "string"
  10214. },
  10215. "attachment5": {
  10216. "description": "附件5",
  10217. "type": "string"
  10218. },
  10219. "auditedby": {
  10220. "description": "审核人",
  10221. "type": "string"
  10222. },
  10223. "auditime": {
  10224. "description": "审核时间",
  10225. "type": "string"
  10226. },
  10227. "bankaccount": {
  10228. "description": "银行帐号 (加密存储)",
  10229. "type": "string"
  10230. },
  10231. "bankaccountname": {
  10232. "description": "收款人名称",
  10233. "type": "string"
  10234. },
  10235. "bankcardbackphotourl": {
  10236. "description": "银行卡背面照地址",
  10237. "type": "string"
  10238. },
  10239. "bankcardfrontphotourl": {
  10240. "description": "银行卡正面照地址",
  10241. "type": "string"
  10242. },
  10243. "bankid": {
  10244. "description": "银行编码",
  10245. "type": "string"
  10246. },
  10247. "bankname": {
  10248. "description": "银行名称",
  10249. "type": "string"
  10250. },
  10251. "bankpictureurl": {
  10252. "description": "银行卡正面地址",
  10253. "type": "string"
  10254. },
  10255. "biznature": {
  10256. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10257. "type": "integer"
  10258. },
  10259. "bizscope": {
  10260. "description": "企业经营范围(企业)",
  10261. "type": "string"
  10262. },
  10263. "biztype": {
  10264. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10265. "type": "integer"
  10266. },
  10267. "brokerid": {
  10268. "description": "经纪人ID(加密存储)",
  10269. "type": "string"
  10270. },
  10271. "cardaddress": {
  10272. "description": "证件地址 (加密存储)",
  10273. "type": "string"
  10274. },
  10275. "cardbackphotourl": {
  10276. "description": "背面证件照地址",
  10277. "type": "string"
  10278. },
  10279. "cardfrontphotourl": {
  10280. "description": "正面证件照地址",
  10281. "type": "string"
  10282. },
  10283. "cardnum": {
  10284. "description": "证件号码 (加密存储)",
  10285. "type": "string"
  10286. },
  10287. "cardtype": {
  10288. "description": "证件类型",
  10289. "type": "integer"
  10290. },
  10291. "cityid": {
  10292. "description": "市",
  10293. "type": "integer"
  10294. },
  10295. "company": {
  10296. "description": "公司(个人)",
  10297. "type": "string"
  10298. },
  10299. "contactcardbackphotourl": {
  10300. "description": "联系人证件背面图片地址",
  10301. "type": "string"
  10302. },
  10303. "contactcardfrontphotourl": {
  10304. "description": "联系人证件正面图片地址",
  10305. "type": "string"
  10306. },
  10307. "contactname": {
  10308. "description": "联系人",
  10309. "type": "string"
  10310. },
  10311. "countryid": {
  10312. "description": "国家",
  10313. "type": "integer"
  10314. },
  10315. "createtime": {
  10316. "description": "开户申请时间",
  10317. "type": "string"
  10318. },
  10319. "cusbankid": {
  10320. "description": "签约类型",
  10321. "type": "string"
  10322. },
  10323. "cusbankname": {
  10324. "description": "签约类型名称",
  10325. "type": "string"
  10326. },
  10327. "customername": {
  10328. "description": "客户名称(企业名称)",
  10329. "type": "string"
  10330. },
  10331. "districtid": {
  10332. "description": "地区",
  10333. "type": "integer"
  10334. },
  10335. "email": {
  10336. "description": "Email地址(加密存储)",
  10337. "type": "string"
  10338. },
  10339. "halfbodyphotourl": {
  10340. "description": "半身照地址",
  10341. "type": "string"
  10342. },
  10343. "headurl": {
  10344. "description": "头像地址",
  10345. "type": "string"
  10346. },
  10347. "ipaddress": {
  10348. "description": "IP地址",
  10349. "type": "string"
  10350. },
  10351. "isvalidate": {
  10352. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10353. "type": "string"
  10354. },
  10355. "legalcardbackphotourl": {
  10356. "description": "法人身份证背面照地址",
  10357. "type": "string"
  10358. },
  10359. "legalcardfrontphotourl": {
  10360. "description": "法人身份证正面照地址",
  10361. "type": "string"
  10362. },
  10363. "legalpersonname": {
  10364. "description": "法人姓名(企业)",
  10365. "type": "string"
  10366. },
  10367. "logincode": {
  10368. "description": "登录帐号 (加密存储)",
  10369. "type": "string"
  10370. },
  10371. "memberareaid": {
  10372. "description": "所属会员ID",
  10373. "type": "integer"
  10374. },
  10375. "mobile2": {
  10376. "description": "手机号码[明文-尚志]",
  10377. "type": "string"
  10378. },
  10379. "mobilephone": {
  10380. "description": "手机号码 (加密存储)",
  10381. "type": "string"
  10382. },
  10383. "modifiedby": {
  10384. "description": "修改人帐号",
  10385. "type": "integer"
  10386. },
  10387. "modifiedtime": {
  10388. "description": "修改时间",
  10389. "type": "string"
  10390. },
  10391. "nickname": {
  10392. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10393. "type": "string"
  10394. },
  10395. "openmode": {
  10396. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10397. "type": "integer"
  10398. },
  10399. "otherurl": {
  10400. "description": "其它图片地址[使用分号分隔]",
  10401. "type": "string"
  10402. },
  10403. "postalcode": {
  10404. "description": "邮政编码",
  10405. "type": "string"
  10406. },
  10407. "provinceid": {
  10408. "description": "省",
  10409. "type": "integer"
  10410. },
  10411. "proxystatementurl": {
  10412. "description": "授权委托书",
  10413. "type": "string"
  10414. },
  10415. "qq": {
  10416. "description": "QQ(加密存储",
  10417. "type": "string"
  10418. },
  10419. "referral": {
  10420. "description": "推荐人编码",
  10421. "type": "string"
  10422. },
  10423. "remark": {
  10424. "description": "备注",
  10425. "type": "string"
  10426. },
  10427. "removebeforestatus": {
  10428. "description": "REMOVEBEFORESTATUS",
  10429. "type": "integer"
  10430. },
  10431. "sex": {
  10432. "description": "性别 - 0:女 1:男",
  10433. "type": "integer"
  10434. },
  10435. "signedstatus": {
  10436. "description": "账户一号签签约状态",
  10437. "type": "integer"
  10438. },
  10439. "signpdfurl": {
  10440. "description": "签约pdf文件",
  10441. "type": "string"
  10442. },
  10443. "subbranch": {
  10444. "description": "开户支行",
  10445. "type": "string"
  10446. },
  10447. "telphone": {
  10448. "description": "联系电话(加密存储)",
  10449. "type": "string"
  10450. },
  10451. "userid": {
  10452. "description": "用户ID(自增ID)",
  10453. "type": "integer"
  10454. },
  10455. "userinfotype": {
  10456. "description": "用户信息类型 - 1:个人 2:企业",
  10457. "type": "integer"
  10458. },
  10459. "username": {
  10460. "description": "用户姓名",
  10461. "type": "string"
  10462. },
  10463. "userstate": {
  10464. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10465. "type": "integer"
  10466. },
  10467. "usertype": {
  10468. "description": "用户类型 - 1:投资者 2:机构",
  10469. "type": "integer"
  10470. },
  10471. "videourl": {
  10472. "description": "视频地址",
  10473. "type": "string"
  10474. },
  10475. "wechat": {
  10476. "description": "微信号 (加密存储)",
  10477. "type": "string"
  10478. }
  10479. }
  10480. },
  10481. "erms3.CustomerInfo": {
  10482. "type": "object",
  10483. "required": [
  10484. "userid"
  10485. ],
  10486. "properties": {
  10487. "accountids": {
  10488. "description": "资金账户ID列表",
  10489. "type": "array",
  10490. "items": {
  10491. "type": "integer"
  10492. }
  10493. },
  10494. "customername": {
  10495. "description": "名称(企业名称)",
  10496. "type": "string"
  10497. },
  10498. "mobile": {
  10499. "description": "手机号码",
  10500. "type": "string"
  10501. },
  10502. "userid": {
  10503. "description": "用户ID",
  10504. "type": "integer"
  10505. }
  10506. }
  10507. },
  10508. "erms3.ModifyUserInfoApplyReq": {
  10509. "type": "object",
  10510. "required": [
  10511. "userid"
  10512. ],
  10513. "properties": {
  10514. "accountid": {
  10515. "description": "交易系统帐号Id (加密存储)",
  10516. "type": "integer"
  10517. },
  10518. "areacode": {
  10519. "description": "机构代码",
  10520. "type": "string"
  10521. },
  10522. "areaid": {
  10523. "description": "机构Id",
  10524. "type": "integer"
  10525. },
  10526. "attachment1": {
  10527. "description": "附件1",
  10528. "type": "string"
  10529. },
  10530. "attachment2": {
  10531. "description": "附件2",
  10532. "type": "string"
  10533. },
  10534. "attachment3": {
  10535. "description": "附件3",
  10536. "type": "string"
  10537. },
  10538. "attachment4": {
  10539. "description": "附件4",
  10540. "type": "string"
  10541. },
  10542. "attachment5": {
  10543. "description": "附件5",
  10544. "type": "string"
  10545. },
  10546. "auditedby": {
  10547. "description": "审核人",
  10548. "type": "string"
  10549. },
  10550. "auditime": {
  10551. "description": "审核时间",
  10552. "type": "string"
  10553. },
  10554. "bankaccount": {
  10555. "description": "银行帐号 (加密存储)",
  10556. "type": "string"
  10557. },
  10558. "bankaccountname": {
  10559. "description": "收款人名称",
  10560. "type": "string"
  10561. },
  10562. "bankcardbackphotourl": {
  10563. "description": "银行卡背面照地址",
  10564. "type": "string"
  10565. },
  10566. "bankcardfrontphotourl": {
  10567. "description": "银行卡正面照地址",
  10568. "type": "string"
  10569. },
  10570. "bankid": {
  10571. "description": "银行编码",
  10572. "type": "string"
  10573. },
  10574. "bankname": {
  10575. "description": "银行名称",
  10576. "type": "string"
  10577. },
  10578. "bankpictureurl": {
  10579. "description": "银行卡正面地址",
  10580. "type": "string"
  10581. },
  10582. "biznature": {
  10583. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10584. "type": "integer"
  10585. },
  10586. "bizscope": {
  10587. "description": "企业经营范围(企业)",
  10588. "type": "string"
  10589. },
  10590. "biztype": {
  10591. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10592. "type": "integer"
  10593. },
  10594. "brokerid": {
  10595. "description": "经纪人ID(加密存储)",
  10596. "type": "string"
  10597. },
  10598. "cardaddress": {
  10599. "description": "证件地址 (加密存储)",
  10600. "type": "string"
  10601. },
  10602. "cardbackphotourl": {
  10603. "description": "背面证件照地址",
  10604. "type": "string"
  10605. },
  10606. "cardfrontphotourl": {
  10607. "description": "正面证件照地址",
  10608. "type": "string"
  10609. },
  10610. "cardnum": {
  10611. "description": "证件号码 (加密存储)",
  10612. "type": "string"
  10613. },
  10614. "cardtype": {
  10615. "description": "证件类型",
  10616. "type": "integer"
  10617. },
  10618. "cityid": {
  10619. "description": "市",
  10620. "type": "integer"
  10621. },
  10622. "company": {
  10623. "description": "公司(个人)",
  10624. "type": "string"
  10625. },
  10626. "contactcardbackphotourl": {
  10627. "description": "联系人证件背面图片地址",
  10628. "type": "string"
  10629. },
  10630. "contactcardfrontphotourl": {
  10631. "description": "联系人证件正面图片地址",
  10632. "type": "string"
  10633. },
  10634. "contactname": {
  10635. "description": "联系人",
  10636. "type": "string"
  10637. },
  10638. "countryid": {
  10639. "description": "国家",
  10640. "type": "integer"
  10641. },
  10642. "createtime": {
  10643. "description": "开户申请时间",
  10644. "type": "string"
  10645. },
  10646. "cusbankid": {
  10647. "description": "签约类型",
  10648. "type": "string"
  10649. },
  10650. "cusbankname": {
  10651. "description": "签约类型名称",
  10652. "type": "string"
  10653. },
  10654. "customername": {
  10655. "description": "客户名称(企业名称)",
  10656. "type": "string"
  10657. },
  10658. "districtid": {
  10659. "description": "地区",
  10660. "type": "integer"
  10661. },
  10662. "email": {
  10663. "description": "Email地址(加密存储)",
  10664. "type": "string"
  10665. },
  10666. "halfbodyphotourl": {
  10667. "description": "半身照地址",
  10668. "type": "string"
  10669. },
  10670. "headurl": {
  10671. "description": "头像地址",
  10672. "type": "string"
  10673. },
  10674. "ipaddress": {
  10675. "description": "IP地址",
  10676. "type": "string"
  10677. },
  10678. "isvalidate": {
  10679. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10680. "type": "string"
  10681. },
  10682. "legalcardbackphotourl": {
  10683. "description": "法人身份证背面照地址",
  10684. "type": "string"
  10685. },
  10686. "legalcardfrontphotourl": {
  10687. "description": "法人身份证正面照地址",
  10688. "type": "string"
  10689. },
  10690. "legalpersonname": {
  10691. "description": "法人姓名(企业)",
  10692. "type": "string"
  10693. },
  10694. "logincode": {
  10695. "description": "登录帐号 (加密存储)",
  10696. "type": "string"
  10697. },
  10698. "memberareaid": {
  10699. "description": "所属会员ID",
  10700. "type": "integer"
  10701. },
  10702. "mobile2": {
  10703. "description": "手机号码[明文-尚志]",
  10704. "type": "string"
  10705. },
  10706. "mobilephone": {
  10707. "description": "手机号码 (加密存储)",
  10708. "type": "string"
  10709. },
  10710. "modifiedby": {
  10711. "description": "修改人帐号",
  10712. "type": "integer"
  10713. },
  10714. "modifiedtime": {
  10715. "description": "修改时间",
  10716. "type": "string"
  10717. },
  10718. "nickname": {
  10719. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10720. "type": "string"
  10721. },
  10722. "openmode": {
  10723. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10724. "type": "integer"
  10725. },
  10726. "otherurl": {
  10727. "description": "其它图片地址[使用分号分隔]",
  10728. "type": "string"
  10729. },
  10730. "postalcode": {
  10731. "description": "邮政编码",
  10732. "type": "string"
  10733. },
  10734. "provinceid": {
  10735. "description": "省",
  10736. "type": "integer"
  10737. },
  10738. "proxystatementurl": {
  10739. "description": "授权委托书",
  10740. "type": "string"
  10741. },
  10742. "qq": {
  10743. "description": "QQ(加密存储",
  10744. "type": "string"
  10745. },
  10746. "referral": {
  10747. "description": "推荐人编码",
  10748. "type": "string"
  10749. },
  10750. "remark": {
  10751. "description": "备注",
  10752. "type": "string"
  10753. },
  10754. "removebeforestatus": {
  10755. "description": "REMOVEBEFORESTATUS",
  10756. "type": "integer"
  10757. },
  10758. "sex": {
  10759. "description": "性别 - 0:女 1:男",
  10760. "type": "integer"
  10761. },
  10762. "signedstatus": {
  10763. "description": "账户一号签签约状态",
  10764. "type": "integer"
  10765. },
  10766. "signpdfurl": {
  10767. "description": "签约pdf文件",
  10768. "type": "string"
  10769. },
  10770. "subbranch": {
  10771. "description": "开户支行",
  10772. "type": "string"
  10773. },
  10774. "telphone": {
  10775. "description": "联系电话(加密存储)",
  10776. "type": "string"
  10777. },
  10778. "userid": {
  10779. "description": "用户ID(自增ID)",
  10780. "type": "integer"
  10781. },
  10782. "userinfotype": {
  10783. "description": "用户信息类型 - 1:个人 2:企业",
  10784. "type": "integer"
  10785. },
  10786. "username": {
  10787. "description": "用户姓名",
  10788. "type": "string"
  10789. },
  10790. "userstate": {
  10791. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10792. "type": "integer"
  10793. },
  10794. "usertype": {
  10795. "description": "用户类型 - 1:投资者 2:机构",
  10796. "type": "integer"
  10797. },
  10798. "videourl": {
  10799. "description": "视频地址",
  10800. "type": "string"
  10801. },
  10802. "wechat": {
  10803. "description": "微信号 (加密存储)",
  10804. "type": "string"
  10805. }
  10806. }
  10807. },
  10808. "erms3.QryAuditContractRsp": {
  10809. "type": "object",
  10810. "required": [
  10811. "matchcustomername",
  10812. "spotcontractid"
  10813. ],
  10814. "properties": {
  10815. "accountid": {
  10816. "description": "交易员ID",
  10817. "type": "string"
  10818. },
  10819. "applystatus": {
  10820. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10821. "type": "integer"
  10822. },
  10823. "curdeliveryqty": {
  10824. "description": "未交收量",
  10825. "type": "integer"
  10826. },
  10827. "customername": {
  10828. "description": "采购方ID",
  10829. "type": "string"
  10830. },
  10831. "deliverygoodsid": {
  10832. "description": "品种ID",
  10833. "type": "string"
  10834. },
  10835. "deliveryqty": {
  10836. "description": "交收量",
  10837. "type": "integer"
  10838. },
  10839. "enumdicname": {
  10840. "description": "单位名称",
  10841. "type": "string"
  10842. },
  10843. "matchaccountid": {
  10844. "description": "业务员ID",
  10845. "type": "string"
  10846. },
  10847. "matchcustomername": {
  10848. "description": "销售方ID",
  10849. "type": "string"
  10850. },
  10851. "pricedqty": {
  10852. "description": "定价量",
  10853. "type": "number"
  10854. },
  10855. "signdate": {
  10856. "description": "签订日期",
  10857. "type": "string"
  10858. },
  10859. "spotcontractid": {
  10860. "description": "合同ID",
  10861. "type": "string"
  10862. },
  10863. "totaldqty": {
  10864. "description": "合同量",
  10865. "type": "number"
  10866. },
  10867. "unpricedqty": {
  10868. "description": "未定价量",
  10869. "type": "number"
  10870. },
  10871. "wrstandardname": {
  10872. "description": "商品名称",
  10873. "type": "string"
  10874. }
  10875. }
  10876. },
  10877. "erms3.QryPendingBizRsp": {
  10878. "type": "object",
  10879. "properties": {
  10880. "accountid": {
  10881. "description": "现货账户",
  10882. "type": "string"
  10883. },
  10884. "areaname": {
  10885. "description": "所属部门",
  10886. "type": "string"
  10887. },
  10888. "bizid": {
  10889. "description": "业务ID",
  10890. "type": "string"
  10891. },
  10892. "bizname": {
  10893. "description": "业务名称",
  10894. "type": "string"
  10895. },
  10896. "status": {
  10897. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10898. "type": "integer"
  10899. },
  10900. "type": {
  10901. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  10902. "type": "integer"
  10903. }
  10904. }
  10905. },
  10906. "erms3.QueryBusinessInfoRsp": {
  10907. "type": "object",
  10908. "properties": {
  10909. "businessid": {
  10910. "description": "业务ID.",
  10911. "type": "integer"
  10912. },
  10913. "buyamount": {
  10914. "description": "采购额.",
  10915. "type": "number"
  10916. },
  10917. "buyqty": {
  10918. "description": "采购量.",
  10919. "type": "string"
  10920. },
  10921. "futurepl": {
  10922. "description": "期货盈亏.",
  10923. "type": "number"
  10924. },
  10925. "futureqty": {
  10926. "description": "期货敞口.",
  10927. "type": "string"
  10928. },
  10929. "goodsid": {
  10930. "description": "商品名称/商品代码.",
  10931. "type": "string"
  10932. },
  10933. "hedgingqty": {
  10934. "description": "套保量.",
  10935. "type": "string"
  10936. },
  10937. "sellamount": {
  10938. "description": "销售额.",
  10939. "type": "number"
  10940. },
  10941. "sellqty": {
  10942. "description": "销售量.",
  10943. "type": "string"
  10944. },
  10945. "spotmarketvalue": {
  10946. "description": "现货市值.",
  10947. "type": "number"
  10948. },
  10949. "spotpl": {
  10950. "description": "浮动权益.",
  10951. "type": "number"
  10952. },
  10953. "spotqty": {
  10954. "description": "现货量.",
  10955. "type": "string"
  10956. },
  10957. "statu": {
  10958. "description": "状态,0-未结束 1-已结束.",
  10959. "type": "integer"
  10960. },
  10961. "totalpl": {
  10962. "description": "总盈亏.",
  10963. "type": "number"
  10964. },
  10965. "totalqty": {
  10966. "description": "总敞口.",
  10967. "type": "string"
  10968. },
  10969. "type": {
  10970. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  10971. "type": "integer"
  10972. }
  10973. }
  10974. },
  10975. "erms3.QuerySpotContractAppleFormRsp": {
  10976. "type": "object",
  10977. "properties": {
  10978. "goodses": {
  10979. "description": "合约列表",
  10980. "type": "array",
  10981. "items": {
  10982. "$ref": "#/definitions/models.GoodsIDAndName"
  10983. }
  10984. },
  10985. "oppositeusers": {
  10986. "description": "对方账号列表",
  10987. "type": "array",
  10988. "items": {
  10989. "$ref": "#/definitions/erms3.CustomerInfo"
  10990. }
  10991. },
  10992. "ouruser": {
  10993. "description": "我方账号",
  10994. "$ref": "#/definitions/erms3.CustomerInfo"
  10995. },
  10996. "warehouseinfos": {
  10997. "description": "仓库信息列表",
  10998. "type": "array",
  10999. "items": {
  11000. "$ref": "#/definitions/models.Warehouseinfo"
  11001. }
  11002. },
  11003. "wrstandards": {
  11004. "description": "仓单标准列表",
  11005. "type": "array",
  11006. "items": {
  11007. "$ref": "#/definitions/models.WRStandardInfo"
  11008. }
  11009. }
  11010. }
  11011. },
  11012. "erms3.QuerySpotContractInfoRsp": {
  11013. "type": "object",
  11014. "properties": {
  11015. "accountid": {
  11016. "description": "表示交易员ID.",
  11017. "type": "integer"
  11018. },
  11019. "curdeliveryqty": {
  11020. "description": "表示未交收量.",
  11021. "type": "number"
  11022. },
  11023. "customername": {
  11024. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11025. "type": "string"
  11026. },
  11027. "deliverygoodsid": {
  11028. "description": "表示品种ID.",
  11029. "type": "string"
  11030. },
  11031. "deliveryqty": {
  11032. "description": "表示交收量.",
  11033. "type": "number"
  11034. },
  11035. "matchaccountid": {
  11036. "description": "表示业务员ID.",
  11037. "type": "integer"
  11038. },
  11039. "matchcustomername": {
  11040. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11041. "type": "string"
  11042. },
  11043. "priceqty": {
  11044. "description": "表示定价量.",
  11045. "type": "number"
  11046. },
  11047. "relatedbizid": {
  11048. "description": "表示业务ID.",
  11049. "type": "string"
  11050. },
  11051. "signdate": {
  11052. "description": "表示签订日期.",
  11053. "type": "string"
  11054. },
  11055. "spotcontractid": {
  11056. "description": "合同ID",
  11057. "type": "string"
  11058. },
  11059. "status": {
  11060. "description": "表示状态,0-履约中 1-已完成.",
  11061. "type": "integer"
  11062. },
  11063. "totalqty": {
  11064. "description": "表示合同量.",
  11065. "type": "number"
  11066. },
  11067. "unpricedqty": {
  11068. "description": "表示未定价量.",
  11069. "type": "number"
  11070. },
  11071. "wrstandardname": {
  11072. "description": "表示商品ID.",
  11073. "type": "string"
  11074. }
  11075. }
  11076. },
  11077. "erms3.QueryUserInfoAppliesRsp": {
  11078. "type": "object",
  11079. "required": [
  11080. "userid"
  11081. ],
  11082. "properties": {
  11083. "biznature": {
  11084. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11085. "type": "integer"
  11086. },
  11087. "contactname": {
  11088. "description": "联系人",
  11089. "type": "string"
  11090. },
  11091. "createtime": {
  11092. "description": "开户申请时间",
  11093. "type": "string"
  11094. },
  11095. "userid": {
  11096. "description": "用户ID(自增ID)",
  11097. "type": "integer"
  11098. },
  11099. "userinfotype": {
  11100. "description": "用户信息类型 - 1:个人 2:企业",
  11101. "type": "integer"
  11102. },
  11103. "username": {
  11104. "description": "用户姓名",
  11105. "type": "string"
  11106. },
  11107. "userstate": {
  11108. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11109. "type": "integer"
  11110. }
  11111. }
  11112. },
  11113. "erms3.QueryUserInfosRsp": {
  11114. "type": "object",
  11115. "required": [
  11116. "userid"
  11117. ],
  11118. "properties": {
  11119. "biznature": {
  11120. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11121. "type": "integer"
  11122. },
  11123. "contactname": {
  11124. "description": "联系人",
  11125. "type": "string"
  11126. },
  11127. "customername": {
  11128. "description": "客户名称(企业名称)",
  11129. "type": "string"
  11130. },
  11131. "userid": {
  11132. "description": "用户ID",
  11133. "type": "integer"
  11134. },
  11135. "userinfotype": {
  11136. "description": "用户信息类型 - 1:个人 2:企业",
  11137. "type": "integer"
  11138. },
  11139. "userstatus": {
  11140. "description": "用户状态 - 1:正常 2:注销",
  11141. "type": "integer"
  11142. }
  11143. }
  11144. },
  11145. "erms3.SoptContractDetail": {
  11146. "type": "object",
  11147. "required": [
  11148. "deliverygoodsid",
  11149. "producttype",
  11150. "unitname",
  11151. "warehouseid",
  11152. "wrstandardid",
  11153. "wrstandardname"
  11154. ],
  11155. "properties": {
  11156. "deliverygoodsdesc": {
  11157. "description": "现货品种说明",
  11158. "type": "string"
  11159. },
  11160. "deliverygoodsid": {
  11161. "description": "现货品种ID",
  11162. "type": "integer"
  11163. },
  11164. "deliverygoodsname": {
  11165. "description": "现货品种名称",
  11166. "type": "string"
  11167. },
  11168. "pointdesc": {
  11169. "description": "点价描述",
  11170. "type": "string"
  11171. },
  11172. "producttype": {
  11173. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11174. "type": "integer"
  11175. },
  11176. "producttypename": {
  11177. "description": "产品类型名称",
  11178. "type": "string"
  11179. },
  11180. "spotPointOrderVoList": {
  11181. "description": "点价列表",
  11182. "type": "array",
  11183. "items": {
  11184. "$ref": "#/definitions/erms3.SpotPointOrder"
  11185. }
  11186. },
  11187. "spotPriceOrderList": {
  11188. "description": "定价列表",
  11189. "type": "array",
  11190. "items": {
  11191. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11192. }
  11193. },
  11194. "unitname": {
  11195. "description": "单位名称",
  11196. "type": "string"
  11197. },
  11198. "warehouseid": {
  11199. "description": "仓库ID",
  11200. "type": "integer"
  11201. },
  11202. "warehousename": {
  11203. "description": "仓库名称",
  11204. "type": "string"
  11205. },
  11206. "wrstandardid": {
  11207. "description": "交易标的ID",
  11208. "type": "integer"
  11209. },
  11210. "wrstandardname": {
  11211. "description": "交易标的名称",
  11212. "type": "string"
  11213. }
  11214. }
  11215. },
  11216. "erms3.SpotPointOrder": {
  11217. "type": "object",
  11218. "required": [
  11219. "basic",
  11220. "goodsid",
  11221. "qty"
  11222. ],
  11223. "properties": {
  11224. "basic": {
  11225. "description": "基差",
  11226. "type": "number"
  11227. },
  11228. "deliveryenddate": {
  11229. "description": "交收结束日期",
  11230. "type": "string"
  11231. },
  11232. "deliverystartdate": {
  11233. "description": "交收开始日期",
  11234. "type": "string"
  11235. },
  11236. "enddate": {
  11237. "description": "点价结束日期",
  11238. "type": "string"
  11239. },
  11240. "goodsid": {
  11241. "description": "商品ID",
  11242. "type": "integer"
  11243. },
  11244. "goodsname": {
  11245. "description": "商品名称",
  11246. "type": "string"
  11247. },
  11248. "qty": {
  11249. "description": "数量",
  11250. "type": "number"
  11251. },
  11252. "startdate": {
  11253. "description": "点价开始日期",
  11254. "type": "string"
  11255. }
  11256. }
  11257. },
  11258. "erms3.SpotPriceOrder": {
  11259. "type": "object",
  11260. "required": [
  11261. "amount",
  11262. "price",
  11263. "qty"
  11264. ],
  11265. "properties": {
  11266. "amount": {
  11267. "description": "金额",
  11268. "type": "number"
  11269. },
  11270. "deliveryenddate": {
  11271. "description": "交收结束日期",
  11272. "type": "string"
  11273. },
  11274. "deliverystartdate": {
  11275. "description": "交收开始日期",
  11276. "type": "string"
  11277. },
  11278. "price": {
  11279. "description": "价格",
  11280. "type": "number"
  11281. },
  11282. "qty": {
  11283. "description": "数量",
  11284. "type": "number"
  11285. }
  11286. }
  11287. },
  11288. "hsby.GetHsbyMyCountRsp": {
  11289. "type": "object",
  11290. "properties": {
  11291. "myCouponCount": {
  11292. "description": "我的优惠卷数量",
  11293. "type": "integer"
  11294. },
  11295. "myOrderDetailListingCount": {
  11296. "description": "我的订单求购中数量",
  11297. "type": "integer"
  11298. },
  11299. "myOrderDetailPreCount": {
  11300. "description": "我的订单抢购中数量",
  11301. "type": "integer"
  11302. },
  11303. "myPackageUnReceiveCount": {
  11304. "description": "我的包裹待收货数量",
  11305. "type": "integer"
  11306. },
  11307. "myPackageUnSendCount": {
  11308. "description": "我的包裹待发货数量",
  11309. "type": "integer"
  11310. },
  11311. "myPayOrderCount": {
  11312. "description": "我的订单待付款数量",
  11313. "type": "integer"
  11314. }
  11315. }
  11316. },
  11317. "hsby.QueryProvincesAndCitiesRsp": {
  11318. "type": "object",
  11319. "properties": {
  11320. "cities": {
  11321. "description": "市",
  11322. "type": "array",
  11323. "items": {
  11324. "$ref": "#/definitions/models.Division"
  11325. }
  11326. },
  11327. "province": {
  11328. "description": "省",
  11329. "$ref": "#/definitions/models.Division"
  11330. }
  11331. }
  11332. },
  11333. "models.Clientfixedadconfig": {
  11334. "type": "object",
  11335. "required": [
  11336. "adsort",
  11337. "adtype"
  11338. ],
  11339. "properties": {
  11340. "adsort": {
  11341. "description": "排序",
  11342. "type": "integer"
  11343. },
  11344. "adtype": {
  11345. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11346. "type": "integer"
  11347. },
  11348. "areauserid": {
  11349. "description": "所属机构ID",
  11350. "type": "integer"
  11351. },
  11352. "createdate": {
  11353. "description": "创建时间",
  11354. "type": "string"
  11355. },
  11356. "creatorid": {
  11357. "description": "创建人",
  11358. "type": "integer"
  11359. },
  11360. "imagepath": {
  11361. "description": "图片",
  11362. "type": "string"
  11363. },
  11364. "isshow": {
  11365. "description": "是否展示 - 0:不展示 1:展示",
  11366. "type": "integer"
  11367. },
  11368. "modifierid": {
  11369. "description": "操作人",
  11370. "type": "integer"
  11371. },
  11372. "recsize": {
  11373. "description": "推荐尺寸",
  11374. "type": "string"
  11375. },
  11376. "title": {
  11377. "description": "标题",
  11378. "type": "string"
  11379. },
  11380. "updatedate": {
  11381. "description": "更新时间",
  11382. "type": "string"
  11383. },
  11384. "urlcontent": {
  11385. "description": "链接(地址或商品ID)",
  11386. "type": "string"
  11387. },
  11388. "urltype": {
  11389. "description": "链接类型 - 1:直接地址 2:商品ID",
  11390. "type": "integer"
  11391. }
  11392. }
  11393. },
  11394. "models.Division": {
  11395. "type": "object",
  11396. "required": [
  11397. "autoid",
  11398. "divisioncode"
  11399. ],
  11400. "properties": {
  11401. "autoid": {
  11402. "description": "自增ID",
  11403. "type": "integer"
  11404. },
  11405. "divisioncode": {
  11406. "description": "行政代码",
  11407. "type": "string"
  11408. },
  11409. "divisionlevel": {
  11410. "description": "行政级别",
  11411. "type": "string"
  11412. },
  11413. "divisionname": {
  11414. "description": "行政名称",
  11415. "type": "string"
  11416. },
  11417. "modifierid": {
  11418. "description": "修改人",
  11419. "type": "integer"
  11420. },
  11421. "modifytime": {
  11422. "description": "修改时间",
  11423. "type": "string"
  11424. },
  11425. "parentcode": {
  11426. "description": "上级行政代码",
  11427. "type": "string"
  11428. },
  11429. "pathname": {
  11430. "description": "路径名称",
  11431. "type": "string"
  11432. },
  11433. "postcode": {
  11434. "description": "邮政编码",
  11435. "type": "string"
  11436. },
  11437. "separablename": {
  11438. "description": "可拆分的全称",
  11439. "type": "string"
  11440. },
  11441. "shortcode": {
  11442. "description": "地区简码",
  11443. "type": "string"
  11444. }
  11445. }
  11446. },
  11447. "models.Enumdicitem": {
  11448. "type": "object",
  11449. "required": [
  11450. "autoid",
  11451. "enumdiccode",
  11452. "enumdicid",
  11453. "enumitemname"
  11454. ],
  11455. "properties": {
  11456. "autoid": {
  11457. "description": "自增ID",
  11458. "type": "integer"
  11459. },
  11460. "bankmappedvalue": {
  11461. "description": "银行服务对应值",
  11462. "type": "string"
  11463. },
  11464. "enumdiccode": {
  11465. "description": "所属枚举代码",
  11466. "type": "string"
  11467. },
  11468. "enumdicid": {
  11469. "description": "所属枚举ID",
  11470. "type": "integer"
  11471. },
  11472. "enumdicname": {
  11473. "description": "枚举项名称",
  11474. "type": "string"
  11475. },
  11476. "enumitemname": {
  11477. "description": "枚举项值",
  11478. "type": "integer"
  11479. },
  11480. "enumitemstatus": {
  11481. "description": "枚举项状态 - 1.启用 2.不启用",
  11482. "type": "integer"
  11483. },
  11484. "enumitemvalue": {
  11485. "description": "通用值 - [币种通用简写]",
  11486. "type": "string"
  11487. },
  11488. "param1": {
  11489. "description": "参数1[币种:币种小数位]",
  11490. "type": "string"
  11491. },
  11492. "param2": {
  11493. "description": "参数1[币种:币种显示单位]",
  11494. "type": "string"
  11495. },
  11496. "remark": {
  11497. "description": "备注",
  11498. "type": "string"
  11499. }
  11500. }
  11501. },
  11502. "models.ErmcpHisExposure": {
  11503. "type": "object",
  11504. "properties": {
  11505. "needhedgeexposoure": {
  11506. "description": "应套保敞口",
  11507. "type": "number"
  11508. },
  11509. "reckondate": {
  11510. "description": "日照时期(yyyyMMdd)",
  11511. "type": "string"
  11512. },
  11513. "totalexposure": {
  11514. "description": "总敞口",
  11515. "type": "number"
  11516. }
  11517. }
  11518. },
  11519. "models.ErmcpMiddleGoodsModel": {
  11520. "type": "object",
  11521. "properties": {
  11522. "areauserid": {
  11523. "description": "机构用户ID",
  11524. "type": "integer"
  11525. },
  11526. "enumdicname": {
  11527. "description": "单位名称",
  11528. "type": "string"
  11529. },
  11530. "evaluateratio": {
  11531. "description": "估价系数",
  11532. "type": "number"
  11533. },
  11534. "goodsgroupid": {
  11535. "description": "关联期货品种ID",
  11536. "type": "integer"
  11537. },
  11538. "isvalid": {
  11539. "description": "状态 0-无效(停用) 1-有效(正常)",
  11540. "type": "integer"
  11541. },
  11542. "middlegoodscode": {
  11543. "description": "套保品种代码",
  11544. "type": "string"
  11545. },
  11546. "middlegoodsid": {
  11547. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11548. "type": "integer"
  11549. },
  11550. "middlegoodsname": {
  11551. "description": "套保品种名称",
  11552. "type": "string"
  11553. },
  11554. "modifytime": {
  11555. "description": "修改时间",
  11556. "type": "string"
  11557. },
  11558. "needhedgeratio": {
  11559. "description": "套保比率",
  11560. "type": "number"
  11561. },
  11562. "qtydecimalplace": {
  11563. "description": "数量小数位",
  11564. "type": "integer"
  11565. },
  11566. "relatedgoodsid": {
  11567. "description": "关联交易商品ID",
  11568. "type": "integer"
  11569. },
  11570. "relatedgoodstype": {
  11571. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11572. "type": "integer"
  11573. }
  11574. }
  11575. },
  11576. "models.ErmcpReportDayFR": {
  11577. "type": "object",
  11578. "properties": {
  11579. "areauserid": {
  11580. "description": "所属机构",
  11581. "type": "integer"
  11582. },
  11583. "collectinvoiceamount": {
  11584. "description": "今日开票金额",
  11585. "type": "number"
  11586. },
  11587. "collectinvoicecount": {
  11588. "description": "今日开票笔数",
  11589. "type": "integer"
  11590. },
  11591. "collectmoneyamount": {
  11592. "description": "今日收款金额",
  11593. "type": "number"
  11594. },
  11595. "collectmoneycount": {
  11596. "description": "今日收款笔数",
  11597. "type": "integer"
  11598. },
  11599. "payinvoiceamount": {
  11600. "description": "今日收票金额",
  11601. "type": "number"
  11602. },
  11603. "payinvoicecount": {
  11604. "description": "今日收票笔数",
  11605. "type": "integer"
  11606. },
  11607. "paymoneyamount": {
  11608. "description": "今日付款金额",
  11609. "type": "number"
  11610. },
  11611. "paymoneycount": {
  11612. "description": "今日付款笔数",
  11613. "type": "integer"
  11614. },
  11615. "reckondate": {
  11616. "description": "日照时期(yyyyMMdd)",
  11617. "type": "string"
  11618. },
  11619. "updatetime": {
  11620. "description": "更新时间",
  11621. "type": "string"
  11622. }
  11623. }
  11624. },
  11625. "models.ErmcpWrstandard": {
  11626. "type": "object",
  11627. "properties": {
  11628. "areauserid": {
  11629. "description": "所属机构",
  11630. "type": "integer"
  11631. },
  11632. "createtime": {
  11633. "description": "创建时间",
  11634. "type": "string"
  11635. },
  11636. "creatorid": {
  11637. "description": "创建人",
  11638. "type": "integer"
  11639. },
  11640. "deliverygoodsid": {
  11641. "description": "品种ID",
  11642. "type": "integer"
  11643. },
  11644. "enumdicname": {
  11645. "description": "单位名称",
  11646. "type": "string"
  11647. },
  11648. "isvalid": {
  11649. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11650. "type": "integer"
  11651. },
  11652. "minivalue": {
  11653. "description": "最小变动值",
  11654. "type": "integer"
  11655. },
  11656. "minivaluedp": {
  11657. "description": "最小变动值小数位",
  11658. "type": "integer"
  11659. },
  11660. "realminivalue": {
  11661. "description": "实际最小变动值",
  11662. "type": "integer"
  11663. },
  11664. "realminivaluedp": {
  11665. "description": "实际最小变动值小数位",
  11666. "type": "integer"
  11667. },
  11668. "remark": {
  11669. "description": "备注",
  11670. "type": "string"
  11671. },
  11672. "unitid": {
  11673. "description": "单位ID",
  11674. "type": "integer"
  11675. },
  11676. "updatetime": {
  11677. "description": "更新时间",
  11678. "type": "string"
  11679. },
  11680. "wrstandardcode": {
  11681. "description": "现货商品代码",
  11682. "type": "string"
  11683. },
  11684. "wrstandardid": {
  11685. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11686. "type": "integer"
  11687. },
  11688. "wrstandardname": {
  11689. "description": "现货商品名称",
  11690. "type": "string"
  11691. }
  11692. }
  11693. },
  11694. "models.Goods": {
  11695. "type": "object",
  11696. "required": [
  11697. "goodscode",
  11698. "goodsid",
  11699. "goodsname",
  11700. "marketid"
  11701. ],
  11702. "properties": {
  11703. "agreeunit": {
  11704. "description": "合约单位",
  11705. "type": "number"
  11706. },
  11707. "auditaccountid": {
  11708. "description": "审核操作员账号",
  11709. "type": "integer"
  11710. },
  11711. "audittime": {
  11712. "description": "审核时间",
  11713. "type": "string"
  11714. },
  11715. "cancelaccountid": {
  11716. "description": "注销操作员账号",
  11717. "type": "integer"
  11718. },
  11719. "canceltime": {
  11720. "description": "注销时间",
  11721. "type": "string"
  11722. },
  11723. "closepricemode": {
  11724. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11725. "type": "integer"
  11726. },
  11727. "closepriceparam": {
  11728. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11729. "type": "number"
  11730. },
  11731. "createtime": {
  11732. "description": "创建时间",
  11733. "type": "string"
  11734. },
  11735. "creatorid": {
  11736. "description": "创建人",
  11737. "type": "integer"
  11738. },
  11739. "currencyid": {
  11740. "description": "报价货币ID",
  11741. "type": "integer"
  11742. },
  11743. "cutmode": {
  11744. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11745. "type": "integer"
  11746. },
  11747. "decimalplace": {
  11748. "description": "报价小数位",
  11749. "type": "integer"
  11750. },
  11751. "delistingdate": {
  11752. "description": "商品退市时间(状态:退市) -- 已作废",
  11753. "type": "string"
  11754. },
  11755. "delistingmode": {
  11756. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11757. "type": "integer"
  11758. },
  11759. "deliveryflag": {
  11760. "description": "交割标志 - 0:不可交割 1:可交割",
  11761. "type": "integer"
  11762. },
  11763. "forceclosemode": {
  11764. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11765. "type": "integer"
  11766. },
  11767. "forceclosevalue": {
  11768. "description": "定期强平参数 [收益权]",
  11769. "type": "integer"
  11770. },
  11771. "goodscode": {
  11772. "description": "商品代码(内部)",
  11773. "type": "string"
  11774. },
  11775. "goodscurrencyid": {
  11776. "description": "合约货币ID",
  11777. "type": "integer"
  11778. },
  11779. "goodsgroupid": {
  11780. "description": "所属商品组ID",
  11781. "type": "integer"
  11782. },
  11783. "goodsid": {
  11784. "description": "商品ID(自增ID SEQ_GOODS)",
  11785. "type": "integer"
  11786. },
  11787. "goodsname": {
  11788. "description": "商品名称",
  11789. "type": "string"
  11790. },
  11791. "goodsquotetype": {
  11792. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11793. "type": "integer"
  11794. },
  11795. "goodsstatus": {
  11796. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11797. "type": "integer"
  11798. },
  11799. "goodstradetype": {
  11800. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11801. "type": "integer"
  11802. },
  11803. "goodunitid": {
  11804. "description": "报价单位ID",
  11805. "type": "integer"
  11806. },
  11807. "hasquoter": {
  11808. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11809. "type": "integer"
  11810. },
  11811. "hqprotecttime": {
  11812. "description": "行情保护时间(秒)",
  11813. "type": "integer"
  11814. },
  11815. "innerdealmode": {
  11816. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11817. "type": "integer"
  11818. },
  11819. "isbuylimited": {
  11820. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11821. "type": "integer"
  11822. },
  11823. "lasttradedate": {
  11824. "description": "最后交易日期(状态:待退市)",
  11825. "type": "string"
  11826. },
  11827. "listingdate": {
  11828. "description": "交易开始日期",
  11829. "type": "string"
  11830. },
  11831. "marketid": {
  11832. "description": "所属市场ID",
  11833. "type": "integer"
  11834. },
  11835. "modifierid": {
  11836. "description": "修改人",
  11837. "type": "integer"
  11838. },
  11839. "modifystatus": {
  11840. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  11841. "type": "integer"
  11842. },
  11843. "modifytime": {
  11844. "description": "修改时间",
  11845. "type": "string"
  11846. },
  11847. "outerdealmode": {
  11848. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  11849. "type": "integer"
  11850. },
  11851. "outgoodscode": {
  11852. "description": "商品代码(外部)",
  11853. "type": "string"
  11854. },
  11855. "qtydecimalplace": {
  11856. "description": "成交量小数位",
  11857. "type": "integer"
  11858. },
  11859. "quotegear": {
  11860. "description": "行情档位(1-10)",
  11861. "type": "integer"
  11862. },
  11863. "quoteminunit": {
  11864. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11865. "type": "integer"
  11866. },
  11867. "quoteshowtype": {
  11868. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  11869. "type": "integer"
  11870. },
  11871. "quoteshowtypeinterval": {
  11872. "description": "行情报价间隔时间(秒)(成交价时为0)",
  11873. "type": "integer"
  11874. },
  11875. "remark": {
  11876. "description": "备注",
  11877. "type": "string"
  11878. }
  11879. }
  11880. },
  11881. "models.GoodsBrand": {
  11882. "type": "object",
  11883. "properties": {
  11884. "brandid": {
  11885. "description": "品牌ID",
  11886. "type": "integer"
  11887. },
  11888. "brandname": {
  11889. "description": "品牌名称",
  11890. "type": "string"
  11891. },
  11892. "isvalid": {
  11893. "description": "是否有效 - 0:无效 1:有效",
  11894. "type": "integer"
  11895. }
  11896. }
  11897. },
  11898. "models.GoodsGroupConvert": {
  11899. "type": "object",
  11900. "properties": {
  11901. "convertratio": {
  11902. "description": "折算系数",
  11903. "type": "number"
  11904. },
  11905. "dstgoodsgroupid": {
  11906. "description": "目标期货品种ID",
  11907. "type": "integer"
  11908. },
  11909. "goodsgroupname": {
  11910. "description": "期货品种名称",
  11911. "type": "string"
  11912. },
  11913. "outergroupcode": {
  11914. "description": "期货品种代码",
  11915. "type": "string"
  11916. },
  11917. "srcgoodsgroupid": {
  11918. "description": "源期货品种ID",
  11919. "type": "integer"
  11920. }
  11921. }
  11922. },
  11923. "models.GoodsIDAndName": {
  11924. "type": "object",
  11925. "required": [
  11926. "goodscode",
  11927. "goodsid",
  11928. "goodsname",
  11929. "marketid"
  11930. ],
  11931. "properties": {
  11932. "goodscode": {
  11933. "description": "商品代码(内部)",
  11934. "type": "string"
  11935. },
  11936. "goodsid": {
  11937. "description": "商品ID(自增ID SEQ_GOODS)",
  11938. "type": "integer"
  11939. },
  11940. "goodsname": {
  11941. "description": "商品名称",
  11942. "type": "string"
  11943. },
  11944. "marketid": {
  11945. "description": "所属市场ID",
  11946. "type": "integer"
  11947. }
  11948. }
  11949. },
  11950. "models.GoodsTypeModel": {
  11951. "type": "object",
  11952. "properties": {
  11953. "modelid": {
  11954. "description": "型号ID",
  11955. "type": "integer"
  11956. },
  11957. "modelname": {
  11958. "description": "型号名称",
  11959. "type": "string"
  11960. },
  11961. "updatetime": {
  11962. "description": "更新时间",
  11963. "type": "string"
  11964. }
  11965. }
  11966. },
  11967. "models.HsbyBuyMyPayOrder": {
  11968. "type": "object",
  11969. "required": [
  11970. "goodscode",
  11971. "goodsname",
  11972. "tradeid",
  11973. "trademode"
  11974. ],
  11975. "properties": {
  11976. "agreeunit": {
  11977. "description": "合约单位",
  11978. "type": "number"
  11979. },
  11980. "buyaccountid": {
  11981. "description": "买方账号ID[报价币种]",
  11982. "type": "integer"
  11983. },
  11984. "buyorderid": {
  11985. "description": "买方委托单号",
  11986. "type": "string"
  11987. },
  11988. "createtime": {
  11989. "description": "创建时间",
  11990. "type": "string"
  11991. },
  11992. "currencysign": {
  11993. "description": "货币符号",
  11994. "type": "string"
  11995. },
  11996. "decimalplace": {
  11997. "description": "报价小数位",
  11998. "type": "integer"
  11999. },
  12000. "goodscode": {
  12001. "description": "商品代码(内部)",
  12002. "type": "string"
  12003. },
  12004. "goodsid": {
  12005. "description": "商品ID",
  12006. "type": "integer"
  12007. },
  12008. "goodsname": {
  12009. "description": "商品名称",
  12010. "type": "string"
  12011. },
  12012. "marketid": {
  12013. "description": "市场ID",
  12014. "type": "integer"
  12015. },
  12016. "offamount": {
  12017. "description": "优惠金额",
  12018. "type": "number"
  12019. },
  12020. "payamount": {
  12021. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12022. "type": "number"
  12023. },
  12024. "payflag": {
  12025. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12026. "type": "integer"
  12027. },
  12028. "paylimitedtime": {
  12029. "description": "支付期限",
  12030. "type": "string"
  12031. },
  12032. "paytime": {
  12033. "description": "付款时间",
  12034. "type": "string"
  12035. },
  12036. "picurls1": {
  12037. "description": "预售商品介绍图片[多张用逗号分隔]",
  12038. "type": "string"
  12039. },
  12040. "picurls2": {
  12041. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12042. "type": "string"
  12043. },
  12044. "sellaccountid": {
  12045. "description": "卖方账号ID[报价币种]",
  12046. "type": "integer"
  12047. },
  12048. "sellorderid": {
  12049. "description": "卖方委托单号",
  12050. "type": "string"
  12051. },
  12052. "tradeamount": {
  12053. "description": "成交金额",
  12054. "type": "number"
  12055. },
  12056. "tradecharge": {
  12057. "description": "成交手续费(买方)",
  12058. "type": "number"
  12059. },
  12060. "tradedate": {
  12061. "description": "交易日(yyyyMMdd)",
  12062. "type": "string"
  12063. },
  12064. "tradeid": {
  12065. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12066. "type": "string"
  12067. },
  12068. "trademode": {
  12069. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12070. "type": "integer"
  12071. },
  12072. "tradeprice": {
  12073. "description": "成交价格",
  12074. "type": "number"
  12075. },
  12076. "tradeqty": {
  12077. "description": "成交数量",
  12078. "type": "integer"
  12079. },
  12080. "vendorname1": {
  12081. "description": "预售商品供应商名称",
  12082. "type": "string"
  12083. },
  12084. "vendorname2": {
  12085. "description": "挂牌商品供应商名称",
  12086. "type": "string"
  12087. }
  12088. }
  12089. },
  12090. "models.HsbyBuyMyTradeDetail": {
  12091. "type": "object",
  12092. "required": [
  12093. "accountid",
  12094. "buyorsell",
  12095. "goodscode",
  12096. "goodsid",
  12097. "goodsname",
  12098. "marketid",
  12099. "orderid",
  12100. "qty",
  12101. "time",
  12102. "trademode"
  12103. ],
  12104. "properties": {
  12105. "accountid": {
  12106. "description": "账户ID[报价币种]",
  12107. "type": "integer"
  12108. },
  12109. "agreeunit": {
  12110. "description": "合约单位",
  12111. "type": "number"
  12112. },
  12113. "amount": {
  12114. "description": "金额 = 价格 * 数量 * 合约单位",
  12115. "type": "number"
  12116. },
  12117. "buyorsell": {
  12118. "description": "买卖 - 0:买 1:卖",
  12119. "type": "integer"
  12120. },
  12121. "currencysign": {
  12122. "description": "货币符号",
  12123. "type": "string"
  12124. },
  12125. "decimalplace": {
  12126. "description": "报价小数位",
  12127. "type": "integer"
  12128. },
  12129. "goodscode": {
  12130. "description": "商品代码(内部)",
  12131. "type": "string"
  12132. },
  12133. "goodsid": {
  12134. "description": "商品ID",
  12135. "type": "integer"
  12136. },
  12137. "goodsname": {
  12138. "description": "商品名称",
  12139. "type": "string"
  12140. },
  12141. "marketid": {
  12142. "description": "市场ID",
  12143. "type": "integer"
  12144. },
  12145. "orderid": {
  12146. "description": "单号(成交单号)",
  12147. "type": "string"
  12148. },
  12149. "picurls1": {
  12150. "description": "预售商品介绍图片[多张用逗号分隔]",
  12151. "type": "string"
  12152. },
  12153. "picurls2": {
  12154. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12155. "type": "string"
  12156. },
  12157. "price": {
  12158. "description": "价格",
  12159. "type": "number"
  12160. },
  12161. "qty": {
  12162. "description": "数量",
  12163. "type": "integer"
  12164. },
  12165. "time": {
  12166. "description": "时间",
  12167. "type": "string"
  12168. },
  12169. "trademode": {
  12170. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12171. "type": "integer"
  12172. },
  12173. "vendorname1": {
  12174. "description": "预售商品供应商名称",
  12175. "type": "string"
  12176. },
  12177. "vendorname2": {
  12178. "description": "挂牌商品供应商名称",
  12179. "type": "string"
  12180. }
  12181. }
  12182. },
  12183. "models.HsbyGoodsOrderDetail": {
  12184. "type": "object",
  12185. "required": [
  12186. "buyorsell",
  12187. "orderid",
  12188. "ordertime"
  12189. ],
  12190. "properties": {
  12191. "buyorsell": {
  12192. "description": "买卖 - 0:买 1:卖",
  12193. "type": "integer"
  12194. },
  12195. "currencysign": {
  12196. "description": "货币符号",
  12197. "type": "string"
  12198. },
  12199. "customername": {
  12200. "description": "客户名称(企业名称),已脱敏",
  12201. "type": "string"
  12202. },
  12203. "enableqty": {
  12204. "description": "可用数量",
  12205. "type": "integer"
  12206. },
  12207. "goodunit": {
  12208. "description": "报价单位",
  12209. "type": "string"
  12210. },
  12211. "orderid": {
  12212. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12213. "type": "string"
  12214. },
  12215. "orderprice": {
  12216. "description": "委托价格",
  12217. "type": "number"
  12218. },
  12219. "ordertime": {
  12220. "description": "委托时间",
  12221. "type": "string"
  12222. }
  12223. }
  12224. },
  12225. "models.HsbyListingGoodsDetail": {
  12226. "type": "object",
  12227. "required": [
  12228. "goodscode",
  12229. "goodsid",
  12230. "goodsname",
  12231. "marketid",
  12232. "trademode"
  12233. ],
  12234. "properties": {
  12235. "agreeunit": {
  12236. "description": "合约单位",
  12237. "type": "number"
  12238. },
  12239. "buymaxqty": {
  12240. "description": "购买上限 [71] - 0为不限",
  12241. "type": "integer"
  12242. },
  12243. "currency": {
  12244. "description": "货币",
  12245. "type": "string"
  12246. },
  12247. "currencysign": {
  12248. "description": "货币符号",
  12249. "type": "string"
  12250. },
  12251. "decimalplace": {
  12252. "description": "报价小数位",
  12253. "type": "integer"
  12254. },
  12255. "desccityid": {
  12256. "description": "目的地(市)ID",
  12257. "type": "integer"
  12258. },
  12259. "descprovinceid": {
  12260. "description": "目的地(省)ID",
  12261. "type": "integer"
  12262. },
  12263. "goodscode": {
  12264. "description": "商品代码(内部)",
  12265. "type": "string"
  12266. },
  12267. "goodsdesc": {
  12268. "description": "商品详情",
  12269. "type": "string"
  12270. },
  12271. "goodsid": {
  12272. "description": "商品ID(自增ID SEQ_GOODS)",
  12273. "type": "integer"
  12274. },
  12275. "goodsname": {
  12276. "description": "商品名称",
  12277. "type": "string"
  12278. },
  12279. "goodsprice": {
  12280. "description": "商品价格",
  12281. "type": "number"
  12282. },
  12283. "hotindex": {
  12284. "description": "景点热度",
  12285. "type": "integer"
  12286. },
  12287. "last": {
  12288. "description": "现价",
  12289. "type": "number"
  12290. },
  12291. "limitdown": {
  12292. "description": "跌停价",
  12293. "type": "number"
  12294. },
  12295. "limitup": {
  12296. "description": "涨停价",
  12297. "type": "number"
  12298. },
  12299. "lotsize": {
  12300. "description": "手数最小变动单位",
  12301. "type": "integer"
  12302. },
  12303. "marketid": {
  12304. "description": "所属市场ID",
  12305. "type": "integer"
  12306. },
  12307. "picurls": {
  12308. "description": "介绍图片[多张用逗号分隔]",
  12309. "type": "string"
  12310. },
  12311. "quoteminunit": {
  12312. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12313. "type": "integer"
  12314. },
  12315. "stepvalue": {
  12316. "description": "价格最小变动单位",
  12317. "type": "number"
  12318. },
  12319. "trademode": {
  12320. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12321. "type": "integer"
  12322. },
  12323. "vendorattr": {
  12324. "description": "供应商附件(多张,逗号分隔)",
  12325. "type": "string"
  12326. },
  12327. "vendorname": {
  12328. "description": "供应商名称",
  12329. "type": "string"
  12330. },
  12331. "vendorphone": {
  12332. "description": "供应商客服电话",
  12333. "type": "string"
  12334. },
  12335. "videourls": {
  12336. "description": "介绍视频[多张用逗号分隔]",
  12337. "type": "string"
  12338. }
  12339. }
  12340. },
  12341. "models.HsbyMarketGoods": {
  12342. "type": "object",
  12343. "required": [
  12344. "accountid",
  12345. "buyorsell",
  12346. "goodscode",
  12347. "goodsid",
  12348. "goodsname",
  12349. "marketid",
  12350. "orderid",
  12351. "trademode"
  12352. ],
  12353. "properties": {
  12354. "accountid": {
  12355. "description": "账户ID[报价币种]",
  12356. "type": "integer"
  12357. },
  12358. "agreeunit": {
  12359. "description": "合约单位",
  12360. "type": "number"
  12361. },
  12362. "buyorsell": {
  12363. "description": "买卖 - 0:买 1:卖",
  12364. "type": "integer"
  12365. },
  12366. "categoryid": {
  12367. "description": "类别ID(WRCATEGORY)",
  12368. "type": "integer"
  12369. },
  12370. "currency": {
  12371. "description": "货币",
  12372. "type": "string"
  12373. },
  12374. "currencysign": {
  12375. "description": "货币符号",
  12376. "type": "string"
  12377. },
  12378. "customername": {
  12379. "description": "卖家名称",
  12380. "type": "string"
  12381. },
  12382. "decimalplace": {
  12383. "description": "报价小数位",
  12384. "type": "integer"
  12385. },
  12386. "goodscode": {
  12387. "description": "商品代码(内部)",
  12388. "type": "string"
  12389. },
  12390. "goodsid": {
  12391. "description": "商品ID",
  12392. "type": "integer"
  12393. },
  12394. "goodsname": {
  12395. "description": "商品名称",
  12396. "type": "string"
  12397. },
  12398. "goodsprice": {
  12399. "description": "商品价格",
  12400. "type": "number"
  12401. },
  12402. "hascoupon": {
  12403. "description": "是否可用优惠卷",
  12404. "type": "boolean"
  12405. },
  12406. "hotindex": {
  12407. "description": "景点热度",
  12408. "type": "integer"
  12409. },
  12410. "marketid": {
  12411. "description": "市场ID",
  12412. "type": "integer"
  12413. },
  12414. "orderid": {
  12415. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12416. "type": "string"
  12417. },
  12418. "orderprice": {
  12419. "description": "委托价格",
  12420. "type": "number"
  12421. },
  12422. "orderstatus": {
  12423. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12424. "type": "integer"
  12425. },
  12426. "picurls": {
  12427. "description": "介绍图片[多张用逗号分隔]",
  12428. "type": "string"
  12429. },
  12430. "quoteminunit": {
  12431. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12432. "type": "integer"
  12433. },
  12434. "sellUserID": {
  12435. "description": "卖方UserID",
  12436. "type": "integer"
  12437. },
  12438. "trademode": {
  12439. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12440. "type": "integer"
  12441. },
  12442. "videourls": {
  12443. "description": "介绍视频[多张用逗号分隔]",
  12444. "type": "string"
  12445. }
  12446. }
  12447. },
  12448. "models.HsbyMarketGoodsDetail": {
  12449. "type": "object",
  12450. "required": [
  12451. "accountid",
  12452. "buyorsell",
  12453. "goodscode",
  12454. "goodsid",
  12455. "goodsname",
  12456. "marketid",
  12457. "orderid",
  12458. "orderqty",
  12459. "trademode"
  12460. ],
  12461. "properties": {
  12462. "accountid": {
  12463. "description": "账户ID[报价币种]",
  12464. "type": "integer"
  12465. },
  12466. "agreeunit": {
  12467. "description": "合约单位",
  12468. "type": "number"
  12469. },
  12470. "buymaxqty": {
  12471. "description": "购买上限 [71] - 0为不限",
  12472. "type": "integer"
  12473. },
  12474. "buyorsell": {
  12475. "description": "买卖 - 0:买 1:卖",
  12476. "type": "integer"
  12477. },
  12478. "cancelqty": {
  12479. "description": "撤单数量",
  12480. "type": "integer"
  12481. },
  12482. "categoryid": {
  12483. "description": "类别ID(WRCATEGORY)",
  12484. "type": "integer"
  12485. },
  12486. "currency": {
  12487. "description": "货币",
  12488. "type": "string"
  12489. },
  12490. "currencysign": {
  12491. "description": "货币符号",
  12492. "type": "string"
  12493. },
  12494. "customername": {
  12495. "description": "卖家名称",
  12496. "type": "string"
  12497. },
  12498. "decimalplace": {
  12499. "description": "报价小数位",
  12500. "type": "integer"
  12501. },
  12502. "goodscode": {
  12503. "description": "商品代码(内部)",
  12504. "type": "string"
  12505. },
  12506. "goodsdesc": {
  12507. "description": "商品详情",
  12508. "type": "string"
  12509. },
  12510. "goodsid": {
  12511. "description": "商品ID",
  12512. "type": "integer"
  12513. },
  12514. "goodsname": {
  12515. "description": "商品名称",
  12516. "type": "string"
  12517. },
  12518. "goodsprice": {
  12519. "description": "商品价格",
  12520. "type": "number"
  12521. },
  12522. "hotindex": {
  12523. "description": "景点热度",
  12524. "type": "integer"
  12525. },
  12526. "lotsize": {
  12527. "description": "手数最小变动单位",
  12528. "type": "integer"
  12529. },
  12530. "marketid": {
  12531. "description": "市场ID",
  12532. "type": "integer"
  12533. },
  12534. "orderid": {
  12535. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12536. "type": "string"
  12537. },
  12538. "orderprice": {
  12539. "description": "委托价格",
  12540. "type": "number"
  12541. },
  12542. "orderqty": {
  12543. "description": "委托数量",
  12544. "type": "integer"
  12545. },
  12546. "orderstatus": {
  12547. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12548. "type": "integer"
  12549. },
  12550. "picurls": {
  12551. "description": "介绍图片[多张用逗号分隔]",
  12552. "type": "string"
  12553. },
  12554. "quoteminunit": {
  12555. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12556. "type": "integer"
  12557. },
  12558. "sellUserID": {
  12559. "description": "卖方UserID",
  12560. "type": "integer"
  12561. },
  12562. "trademode": {
  12563. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12564. "type": "integer"
  12565. },
  12566. "tradeqty": {
  12567. "description": "成交数量",
  12568. "type": "integer"
  12569. },
  12570. "vendorattr": {
  12571. "description": "供应商附件(多张,逗号分隔)",
  12572. "type": "string"
  12573. },
  12574. "vendorname": {
  12575. "description": "供应商名称",
  12576. "type": "string"
  12577. },
  12578. "vendorphone": {
  12579. "description": "供应商客服电话",
  12580. "type": "string"
  12581. },
  12582. "videourls": {
  12583. "description": "介绍视频[多张用逗号分隔]",
  12584. "type": "string"
  12585. }
  12586. }
  12587. },
  12588. "models.HsbyMarketInfo": {
  12589. "type": "object",
  12590. "required": [
  12591. "marketid",
  12592. "marketstatus",
  12593. "trademode"
  12594. ],
  12595. "properties": {
  12596. "marketid": {
  12597. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12598. "type": "integer"
  12599. },
  12600. "marketname": {
  12601. "description": "市场名称",
  12602. "type": "string"
  12603. },
  12604. "marketstatus": {
  12605. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12606. "type": "integer"
  12607. },
  12608. "trademode": {
  12609. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12610. "type": "integer"
  12611. }
  12612. }
  12613. },
  12614. "models.HsbyMyGoods": {
  12615. "type": "object",
  12616. "required": [
  12617. "accountid",
  12618. "goodscode",
  12619. "goodsid",
  12620. "goodsname",
  12621. "marketid",
  12622. "trademode"
  12623. ],
  12624. "properties": {
  12625. "accountid": {
  12626. "description": "账号Id",
  12627. "type": "integer"
  12628. },
  12629. "agreeunit": {
  12630. "description": "合约单位",
  12631. "type": "number"
  12632. },
  12633. "buyaverageprice": {
  12634. "description": "持仓均价",
  12635. "type": "number"
  12636. },
  12637. "buycurholderamount": {
  12638. "description": "买当前持仓总金额[商品币种]",
  12639. "type": "number"
  12640. },
  12641. "buycurpositionqty": {
  12642. "description": "买当前持仓总数量",
  12643. "type": "integer"
  12644. },
  12645. "buymaxqty": {
  12646. "description": "购买上限 [71] - 0为不限",
  12647. "type": "integer"
  12648. },
  12649. "currencysign": {
  12650. "description": "货币符号",
  12651. "type": "string"
  12652. },
  12653. "decimalplace": {
  12654. "description": "报价小数位",
  12655. "type": "integer"
  12656. },
  12657. "enableqty": {
  12658. "description": "可用数量",
  12659. "type": "integer"
  12660. },
  12661. "goodscode": {
  12662. "description": "商品代码(内部)",
  12663. "type": "string"
  12664. },
  12665. "goodsid": {
  12666. "description": "商品Id",
  12667. "type": "integer"
  12668. },
  12669. "goodsname": {
  12670. "description": "商品名称",
  12671. "type": "string"
  12672. },
  12673. "goodsprice": {
  12674. "description": "商品价格",
  12675. "type": "number"
  12676. },
  12677. "goodsstatus": {
  12678. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12679. "type": "integer"
  12680. },
  12681. "last": {
  12682. "description": "现价(仅使用于挂牌点选)",
  12683. "type": "number"
  12684. },
  12685. "limitdown": {
  12686. "description": "跌停价(仅使用于挂牌点选)",
  12687. "type": "number"
  12688. },
  12689. "limitup": {
  12690. "description": "涨停价(仅使用于挂牌点选)",
  12691. "type": "number"
  12692. },
  12693. "lotsize": {
  12694. "description": "手数最小变动单位",
  12695. "type": "integer"
  12696. },
  12697. "marketid": {
  12698. "description": "所属市场ID",
  12699. "type": "integer"
  12700. },
  12701. "picurls": {
  12702. "description": "介绍图片[多张用逗号分隔]",
  12703. "type": "string"
  12704. },
  12705. "quoteminunit": {
  12706. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12707. "type": "integer"
  12708. },
  12709. "stepvalue": {
  12710. "description": "价格最小变动单位",
  12711. "type": "number"
  12712. },
  12713. "trademode": {
  12714. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12715. "type": "integer"
  12716. }
  12717. }
  12718. },
  12719. "models.HsbyMyPackage": {
  12720. "type": "object",
  12721. "required": [
  12722. "goodscode",
  12723. "goodsname",
  12724. "takeorderid",
  12725. "trademode"
  12726. ],
  12727. "properties": {
  12728. "accountid": {
  12729. "description": "账户ID",
  12730. "type": "integer"
  12731. },
  12732. "address": {
  12733. "description": "提货人详细地址",
  12734. "type": "string"
  12735. },
  12736. "agreeunit": {
  12737. "description": "合约单位",
  12738. "type": "number"
  12739. },
  12740. "amount": {
  12741. "description": "提货金额",
  12742. "type": "number"
  12743. },
  12744. "auditer": {
  12745. "description": "审核人",
  12746. "type": "integer"
  12747. },
  12748. "audittime": {
  12749. "description": "审核时间",
  12750. "type": "string"
  12751. },
  12752. "averageprice": {
  12753. "description": "均价",
  12754. "type": "number"
  12755. },
  12756. "cardnum": {
  12757. "description": "提货人证件号码",
  12758. "type": "string"
  12759. },
  12760. "cardtypeid": {
  12761. "description": "提货人证件类型",
  12762. "type": "integer"
  12763. },
  12764. "checkremark": {
  12765. "description": "审核备注",
  12766. "type": "string"
  12767. },
  12768. "currencysign": {
  12769. "description": "货币符号",
  12770. "type": "string"
  12771. },
  12772. "decimalplace": {
  12773. "description": "报价小数位",
  12774. "type": "integer"
  12775. },
  12776. "goodscode": {
  12777. "description": "商品代码(内部)",
  12778. "type": "string"
  12779. },
  12780. "goodsid": {
  12781. "description": "商品ID",
  12782. "type": "integer"
  12783. },
  12784. "goodsname": {
  12785. "description": "商品名称",
  12786. "type": "string"
  12787. },
  12788. "handlestatus": {
  12789. "description": "处理状态",
  12790. "type": "integer"
  12791. },
  12792. "marketid": {
  12793. "description": "市场ID",
  12794. "type": "integer"
  12795. },
  12796. "phonenum": {
  12797. "description": "提货人联系方式",
  12798. "type": "string"
  12799. },
  12800. "picurls": {
  12801. "description": "介绍图片[多张用逗号分隔]",
  12802. "type": "string"
  12803. },
  12804. "qty": {
  12805. "description": "提货数量",
  12806. "type": "number"
  12807. },
  12808. "recivername": {
  12809. "description": "提货人姓名",
  12810. "type": "string"
  12811. },
  12812. "reqtime": {
  12813. "description": "更新时间",
  12814. "type": "string"
  12815. },
  12816. "takemode": {
  12817. "description": "提货方式 - 2:自提 3:配送",
  12818. "type": "integer"
  12819. },
  12820. "takeorderid": {
  12821. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12822. "type": "string"
  12823. },
  12824. "takeorderstatus": {
  12825. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12826. "type": "integer"
  12827. },
  12828. "takeremark": {
  12829. "description": "提货备注",
  12830. "type": "string"
  12831. },
  12832. "tradedate": {
  12833. "description": "交易日(yyyyMMdd)",
  12834. "type": "string"
  12835. },
  12836. "trademode": {
  12837. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12838. "type": "integer"
  12839. },
  12840. "userid": {
  12841. "description": "用户ID",
  12842. "type": "integer"
  12843. },
  12844. "vendorname": {
  12845. "description": "供应商名称",
  12846. "type": "string"
  12847. }
  12848. }
  12849. },
  12850. "models.HsbyPreGoods": {
  12851. "type": "object",
  12852. "required": [
  12853. "goodscode",
  12854. "goodsid",
  12855. "goodsname",
  12856. "marketid",
  12857. "trademode"
  12858. ],
  12859. "properties": {
  12860. "agreeunit": {
  12861. "description": "合约单位",
  12862. "type": "number"
  12863. },
  12864. "currency": {
  12865. "description": "货币",
  12866. "type": "string"
  12867. },
  12868. "currencysign": {
  12869. "description": "货币符号",
  12870. "type": "string"
  12871. },
  12872. "decimalplace": {
  12873. "description": "报价小数位",
  12874. "type": "integer"
  12875. },
  12876. "desccityid": {
  12877. "description": "目的地(市)",
  12878. "type": "integer"
  12879. },
  12880. "descprovinceid": {
  12881. "description": "目的地(省)",
  12882. "type": "integer"
  12883. },
  12884. "enableqty": {
  12885. "description": "剩余数量",
  12886. "type": "integer"
  12887. },
  12888. "goodscode": {
  12889. "description": "商品代码(内部)",
  12890. "type": "string"
  12891. },
  12892. "goodsid": {
  12893. "description": "商品ID(自增ID SEQ_GOODS)",
  12894. "type": "integer"
  12895. },
  12896. "goodsname": {
  12897. "description": "商品名称",
  12898. "type": "string"
  12899. },
  12900. "goodsstatus": {
  12901. "description": "商品状态- 2:未上市 3:上市",
  12902. "type": "integer"
  12903. },
  12904. "lasttradedate": {
  12905. "description": "最后交易日期(状态:待退市)",
  12906. "type": "string"
  12907. },
  12908. "listingdate": {
  12909. "description": "交易开始日期",
  12910. "type": "string"
  12911. },
  12912. "marketid": {
  12913. "description": "所属市场ID",
  12914. "type": "integer"
  12915. },
  12916. "picurls": {
  12917. "description": "介绍图片[多张用逗号分隔]",
  12918. "type": "string"
  12919. },
  12920. "presaledqty": {
  12921. "description": "已预售量(预售结束时更新)",
  12922. "type": "integer"
  12923. },
  12924. "presaleqty": {
  12925. "description": "预售数量",
  12926. "type": "integer"
  12927. },
  12928. "quoteminunit": {
  12929. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12930. "type": "integer"
  12931. },
  12932. "refprice": {
  12933. "description": "参考价格[一口价]",
  12934. "type": "number"
  12935. },
  12936. "relatedgoodsid": {
  12937. "description": "关联交易合约ID",
  12938. "type": "integer"
  12939. },
  12940. "trademode": {
  12941. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12942. "type": "integer"
  12943. },
  12944. "videourls": {
  12945. "description": "介绍视频[多张用逗号分隔]",
  12946. "type": "string"
  12947. }
  12948. }
  12949. },
  12950. "models.HsbyPreGoodsDetail": {
  12951. "type": "object",
  12952. "required": [
  12953. "goodscode",
  12954. "goodsid",
  12955. "goodsname",
  12956. "marketid",
  12957. "trademode"
  12958. ],
  12959. "properties": {
  12960. "agreeunit": {
  12961. "description": "合约单位",
  12962. "type": "number"
  12963. },
  12964. "buymaxqty": {
  12965. "description": "购买上限 [71] - 0为不限",
  12966. "type": "integer"
  12967. },
  12968. "currency": {
  12969. "description": "货币",
  12970. "type": "string"
  12971. },
  12972. "currencysign": {
  12973. "description": "货币符号",
  12974. "type": "string"
  12975. },
  12976. "customername": {
  12977. "description": "发行单位",
  12978. "type": "string"
  12979. },
  12980. "decimalplace": {
  12981. "description": "报价小数位",
  12982. "type": "integer"
  12983. },
  12984. "desccityid": {
  12985. "description": "目的地(市)ID",
  12986. "type": "integer"
  12987. },
  12988. "descprovinceid": {
  12989. "description": "目的地(省)ID",
  12990. "type": "integer"
  12991. },
  12992. "enableqty": {
  12993. "description": "剩余数量",
  12994. "type": "integer"
  12995. },
  12996. "goodscode": {
  12997. "description": "商品代码(内部)",
  12998. "type": "string"
  12999. },
  13000. "goodsdesc": {
  13001. "description": "商品详情",
  13002. "type": "string"
  13003. },
  13004. "goodsid": {
  13005. "description": "商品ID(自增ID SEQ_GOODS)",
  13006. "type": "integer"
  13007. },
  13008. "goodsname": {
  13009. "description": "商品名称",
  13010. "type": "string"
  13011. },
  13012. "goodsstatus": {
  13013. "description": "商品状态- 2:未上市 3:上市",
  13014. "type": "integer"
  13015. },
  13016. "goodunit": {
  13017. "description": "报价单位",
  13018. "type": "string"
  13019. },
  13020. "lasttradedate": {
  13021. "description": "最后交易日期(状态:待退市)",
  13022. "type": "string"
  13023. },
  13024. "listingdate": {
  13025. "description": "交易开始日期",
  13026. "type": "string"
  13027. },
  13028. "lotsize": {
  13029. "description": "手数最小变动单位",
  13030. "type": "integer"
  13031. },
  13032. "marketid": {
  13033. "description": "所属市场ID",
  13034. "type": "integer"
  13035. },
  13036. "picurls": {
  13037. "description": "介绍图片[多张用逗号分隔]",
  13038. "type": "string"
  13039. },
  13040. "presaledqty": {
  13041. "description": "已预售量(预售结束时更新)",
  13042. "type": "integer"
  13043. },
  13044. "presaleqty": {
  13045. "description": "预售数量",
  13046. "type": "integer"
  13047. },
  13048. "quoteminunit": {
  13049. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13050. "type": "integer"
  13051. },
  13052. "refprice": {
  13053. "description": "参考价格[一口价]",
  13054. "type": "number"
  13055. },
  13056. "relatedgoodsid": {
  13057. "description": "关联交易合约ID",
  13058. "type": "integer"
  13059. },
  13060. "stepvalue": {
  13061. "description": "价格最小变动单位",
  13062. "type": "number"
  13063. },
  13064. "trademode": {
  13065. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13066. "type": "integer"
  13067. },
  13068. "vendorattr": {
  13069. "description": "供应商附件(多张,逗号分隔)",
  13070. "type": "string"
  13071. },
  13072. "vendorname": {
  13073. "description": "供应商名称",
  13074. "type": "string"
  13075. },
  13076. "vendorphone": {
  13077. "description": "供应商客服电话",
  13078. "type": "string"
  13079. },
  13080. "videourls": {
  13081. "description": "介绍视频[多张用逗号分隔]",
  13082. "type": "string"
  13083. }
  13084. }
  13085. },
  13086. "models.HsbySellCollectionOrder": {
  13087. "type": "object",
  13088. "required": [
  13089. "goodscode",
  13090. "goodsname",
  13091. "tradeid",
  13092. "trademode"
  13093. ],
  13094. "properties": {
  13095. "agreeunit": {
  13096. "description": "合约单位",
  13097. "type": "number"
  13098. },
  13099. "buyaccountid": {
  13100. "description": "买方账号ID[报价币种]",
  13101. "type": "integer"
  13102. },
  13103. "buyorderid": {
  13104. "description": "买方委托单号",
  13105. "type": "string"
  13106. },
  13107. "createtime": {
  13108. "description": "创建时间",
  13109. "type": "string"
  13110. },
  13111. "currencysign": {
  13112. "description": "货币符号",
  13113. "type": "string"
  13114. },
  13115. "decimalplace": {
  13116. "description": "报价小数位",
  13117. "type": "integer"
  13118. },
  13119. "goodscode": {
  13120. "description": "商品代码(内部)",
  13121. "type": "string"
  13122. },
  13123. "goodsid": {
  13124. "description": "商品ID",
  13125. "type": "integer"
  13126. },
  13127. "goodsname": {
  13128. "description": "商品名称",
  13129. "type": "string"
  13130. },
  13131. "marketid": {
  13132. "description": "市场ID",
  13133. "type": "integer"
  13134. },
  13135. "offamount": {
  13136. "description": "优惠金额",
  13137. "type": "number"
  13138. },
  13139. "payamount": {
  13140. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13141. "type": "number"
  13142. },
  13143. "payflag": {
  13144. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13145. "type": "integer"
  13146. },
  13147. "paylimitedtime": {
  13148. "description": "支付期限",
  13149. "type": "string"
  13150. },
  13151. "paytime": {
  13152. "description": "付款时间",
  13153. "type": "string"
  13154. },
  13155. "picurls": {
  13156. "description": "商品介绍图片[多张用逗号分隔]",
  13157. "type": "string"
  13158. },
  13159. "sellaccountid": {
  13160. "description": "卖方账号ID[报价币种]",
  13161. "type": "integer"
  13162. },
  13163. "sellorderid": {
  13164. "description": "卖方委托单号",
  13165. "type": "string"
  13166. },
  13167. "tradeamount": {
  13168. "description": "成交金额",
  13169. "type": "number"
  13170. },
  13171. "tradecharge": {
  13172. "description": "成交手续费(买方)",
  13173. "type": "number"
  13174. },
  13175. "tradedate": {
  13176. "description": "交易日(yyyyMMdd)",
  13177. "type": "string"
  13178. },
  13179. "tradeid": {
  13180. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13181. "type": "string"
  13182. },
  13183. "trademode": {
  13184. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13185. "type": "integer"
  13186. },
  13187. "tradeprice": {
  13188. "description": "成交价格",
  13189. "type": "number"
  13190. },
  13191. "tradeqty": {
  13192. "description": "成交数量",
  13193. "type": "integer"
  13194. }
  13195. }
  13196. },
  13197. "models.HsbySellMyDetail": {
  13198. "type": "object",
  13199. "required": [
  13200. "accountid",
  13201. "buyorsell",
  13202. "goodscode",
  13203. "goodsid",
  13204. "goodsname",
  13205. "marketid",
  13206. "orderid",
  13207. "time",
  13208. "trademode"
  13209. ],
  13210. "properties": {
  13211. "accountid": {
  13212. "description": "账户ID[报价币种]",
  13213. "type": "integer"
  13214. },
  13215. "agreeunit": {
  13216. "description": "合约单位",
  13217. "type": "number"
  13218. },
  13219. "buyorsell": {
  13220. "description": "买卖 - 0:买 1:卖",
  13221. "type": "integer"
  13222. },
  13223. "currencysign": {
  13224. "description": "货币符号",
  13225. "type": "string"
  13226. },
  13227. "decimalplace": {
  13228. "description": "报价小数位",
  13229. "type": "integer"
  13230. },
  13231. "goodscode": {
  13232. "description": "商品代码(内部)",
  13233. "type": "string"
  13234. },
  13235. "goodsid": {
  13236. "description": "商品ID",
  13237. "type": "integer"
  13238. },
  13239. "goodsname": {
  13240. "description": "商品名称",
  13241. "type": "string"
  13242. },
  13243. "marketid": {
  13244. "description": "市场ID",
  13245. "type": "integer"
  13246. },
  13247. "orderid": {
  13248. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13249. "type": "string"
  13250. },
  13251. "ordertype": {
  13252. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13253. "type": "integer"
  13254. },
  13255. "picurls": {
  13256. "description": "介绍图片[多张用逗号分隔]",
  13257. "type": "string"
  13258. },
  13259. "price": {
  13260. "description": "价格",
  13261. "type": "number"
  13262. },
  13263. "qty": {
  13264. "description": "数量",
  13265. "type": "integer"
  13266. },
  13267. "time": {
  13268. "description": "时间",
  13269. "type": "string"
  13270. },
  13271. "trademode": {
  13272. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13273. "type": "integer"
  13274. },
  13275. "vendorname": {
  13276. "description": "供应商名称",
  13277. "type": "string"
  13278. }
  13279. }
  13280. },
  13281. "models.HsbyTopGoods": {
  13282. "type": "object",
  13283. "required": [
  13284. "goodscode",
  13285. "goodsid",
  13286. "goodsname",
  13287. "marketid",
  13288. "trademode"
  13289. ],
  13290. "properties": {
  13291. "agreeunit": {
  13292. "description": "合约单位",
  13293. "type": "number"
  13294. },
  13295. "currency": {
  13296. "description": "货币",
  13297. "type": "string"
  13298. },
  13299. "currencysign": {
  13300. "description": "货币符号",
  13301. "type": "string"
  13302. },
  13303. "decimalplace": {
  13304. "description": "报价小数位",
  13305. "type": "integer"
  13306. },
  13307. "desccityid": {
  13308. "description": "目的地(市)",
  13309. "type": "integer"
  13310. },
  13311. "descprovinceid": {
  13312. "description": "目的地(省)",
  13313. "type": "integer"
  13314. },
  13315. "goodscode": {
  13316. "description": "商品代码(内部)",
  13317. "type": "string"
  13318. },
  13319. "goodsid": {
  13320. "description": "商品ID(自增ID SEQ_GOODS)",
  13321. "type": "integer"
  13322. },
  13323. "goodsname": {
  13324. "description": "商品名称",
  13325. "type": "string"
  13326. },
  13327. "hotindex": {
  13328. "description": "景点热度",
  13329. "type": "integer"
  13330. },
  13331. "last": {
  13332. "description": "现价",
  13333. "type": "number"
  13334. },
  13335. "marketid": {
  13336. "description": "所属市场ID",
  13337. "type": "integer"
  13338. },
  13339. "picurls": {
  13340. "description": "介绍图片[多张用逗号分隔]",
  13341. "type": "string"
  13342. },
  13343. "quoteminunit": {
  13344. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13345. "type": "integer"
  13346. },
  13347. "trademode": {
  13348. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13349. "type": "integer"
  13350. },
  13351. "videourls": {
  13352. "description": "介绍视频[多张用逗号分隔]",
  13353. "type": "string"
  13354. }
  13355. }
  13356. },
  13357. "models.HybsMyBuyOrderDetail": {
  13358. "type": "object",
  13359. "required": [
  13360. "accountid",
  13361. "buyorsell",
  13362. "goodscode",
  13363. "goodsid",
  13364. "goodsname",
  13365. "marketid",
  13366. "orderid",
  13367. "orderqty",
  13368. "ordertime",
  13369. "trademode"
  13370. ],
  13371. "properties": {
  13372. "accountid": {
  13373. "description": "账户ID[报价币种]",
  13374. "type": "integer"
  13375. },
  13376. "agreeunit": {
  13377. "description": "合约单位",
  13378. "type": "number"
  13379. },
  13380. "buyorsell": {
  13381. "description": "买卖 - 0:买 1:卖",
  13382. "type": "integer"
  13383. },
  13384. "cancelqty": {
  13385. "description": "撤单数量",
  13386. "type": "integer"
  13387. },
  13388. "currencysign": {
  13389. "description": "货币符号",
  13390. "type": "string"
  13391. },
  13392. "decimalplace": {
  13393. "description": "报价小数位",
  13394. "type": "integer"
  13395. },
  13396. "goodscode": {
  13397. "description": "商品代码(内部)",
  13398. "type": "string"
  13399. },
  13400. "goodsid": {
  13401. "description": "商品ID",
  13402. "type": "integer"
  13403. },
  13404. "goodsname": {
  13405. "description": "商品名称",
  13406. "type": "string"
  13407. },
  13408. "listingselecttype": {
  13409. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13410. "type": "integer"
  13411. },
  13412. "marketid": {
  13413. "description": "市场ID",
  13414. "type": "integer"
  13415. },
  13416. "mybuystatus": {
  13417. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13418. "type": "integer"
  13419. },
  13420. "orderamount": {
  13421. "description": "委托金额",
  13422. "type": "number"
  13423. },
  13424. "orderid": {
  13425. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13426. "type": "string"
  13427. },
  13428. "orderprice": {
  13429. "description": "委托价格",
  13430. "type": "number"
  13431. },
  13432. "orderqty": {
  13433. "description": "委托数量",
  13434. "type": "integer"
  13435. },
  13436. "orderstatus": {
  13437. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13438. "type": "integer"
  13439. },
  13440. "ordertime": {
  13441. "description": "委托时间",
  13442. "type": "string"
  13443. },
  13444. "picurls1": {
  13445. "description": "预售商品介绍图片[多张用逗号分隔]",
  13446. "type": "string"
  13447. },
  13448. "picurls2": {
  13449. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13450. "type": "string"
  13451. },
  13452. "trademode": {
  13453. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13454. "type": "integer"
  13455. },
  13456. "tradeqty": {
  13457. "description": "成交数量",
  13458. "type": "integer"
  13459. },
  13460. "vendorname1": {
  13461. "description": "预售商品供应商名称",
  13462. "type": "string"
  13463. },
  13464. "vendorname2": {
  13465. "description": "挂牌商品供应商名称",
  13466. "type": "string"
  13467. }
  13468. }
  13469. },
  13470. "models.Market": {
  13471. "type": "object",
  13472. "required": [
  13473. "marketid",
  13474. "marketstatus",
  13475. "openmethod",
  13476. "reckonpricealgorithm",
  13477. "trademode",
  13478. "tradeproperty"
  13479. ],
  13480. "properties": {
  13481. "auctionwrtype": {
  13482. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13483. "type": "integer"
  13484. },
  13485. "canacceptquote": {
  13486. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13487. "type": "integer"
  13488. },
  13489. "cangoodsexercise": {
  13490. "description": "[期权]是否可现货行权- 0:否 1:是",
  13491. "type": "integer"
  13492. },
  13493. "cangoodsexercisetype": {
  13494. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13495. "type": "integer"
  13496. },
  13497. "canmanualquotestrike": {
  13498. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13499. "type": "integer"
  13500. },
  13501. "canmutistage": {
  13502. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13503. "type": "integer"
  13504. },
  13505. "canpreexercise": {
  13506. "description": "[期权]是否可预申报- 0:否 1:是",
  13507. "type": "integer"
  13508. },
  13509. "clearinterval": {
  13510. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13511. "type": "integer"
  13512. },
  13513. "contracttmp": {
  13514. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13515. "type": "string"
  13516. },
  13517. "exchareaid": {
  13518. "description": "所属交易所,可以没有",
  13519. "type": "integer"
  13520. },
  13521. "goodstype": {
  13522. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13523. "type": "integer"
  13524. },
  13525. "hasrebate": {
  13526. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13527. "type": "integer"
  13528. },
  13529. "hastradecredit": {
  13530. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13531. "type": "integer"
  13532. },
  13533. "haswr": {
  13534. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13535. "type": "integer"
  13536. },
  13537. "isdeductmargin": {
  13538. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13539. "type": "integer"
  13540. },
  13541. "isrecordsource": {
  13542. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13543. "type": "integer"
  13544. },
  13545. "isreleasemargin": {
  13546. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13547. "type": "integer"
  13548. },
  13549. "marginformula": {
  13550. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13551. "type": "integer"
  13552. },
  13553. "marginformula2": {
  13554. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13555. "type": "integer"
  13556. },
  13557. "marketid": {
  13558. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13559. "type": "integer"
  13560. },
  13561. "marketname": {
  13562. "description": "市场名称",
  13563. "type": "string"
  13564. },
  13565. "marketserviceid": {
  13566. "description": "市场服务ID",
  13567. "type": "integer"
  13568. },
  13569. "marketstatus": {
  13570. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13571. "type": "integer"
  13572. },
  13573. "markettype": {
  13574. "description": "市场类型- 1:非交易服务 2:交易服务",
  13575. "type": "integer"
  13576. },
  13577. "matchermode": {
  13578. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13579. "type": "integer"
  13580. },
  13581. "openmethod": {
  13582. "description": "开盘模式 - 0 自动 1手动",
  13583. "type": "integer"
  13584. },
  13585. "otcuserid": {
  13586. "description": "场外期权做市商[场外期权]",
  13587. "type": "integer"
  13588. },
  13589. "outersynctime": {
  13590. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13591. "type": "string"
  13592. },
  13593. "pendingflag": {
  13594. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13595. "type": "integer"
  13596. },
  13597. "pendingtime": {
  13598. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13599. "type": "string"
  13600. },
  13601. "performancetempid": {
  13602. "description": "履约计划模板ID - 作废",
  13603. "type": "integer"
  13604. },
  13605. "premiumquotemode": {
  13606. "description": "权利金报价方式 - 1:自动 2:手动",
  13607. "type": "integer"
  13608. },
  13609. "rebateratio": {
  13610. "description": "返利比率[竞价式]",
  13611. "type": "number"
  13612. },
  13613. "reckonorder": {
  13614. "description": "结算顺序",
  13615. "type": "integer"
  13616. },
  13617. "reckonpricealgorithm": {
  13618. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13619. "type": "integer"
  13620. },
  13621. "reckonpriceparam": {
  13622. "description": "结算价参数",
  13623. "type": "integer"
  13624. },
  13625. "reckontime": {
  13626. "description": "结算时间[通道交易-对冲](HH:mm)",
  13627. "type": "string"
  13628. },
  13629. "roleprioritytype": {
  13630. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13631. "type": "integer"
  13632. },
  13633. "selllistingauditflag": {
  13634. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13635. "type": "integer"
  13636. },
  13637. "trademarkettype": {
  13638. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13639. "type": "integer"
  13640. },
  13641. "trademode": {
  13642. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13643. "type": "integer"
  13644. },
  13645. "tradeproperty": {
  13646. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13647. "type": "integer"
  13648. },
  13649. "tradetype": {
  13650. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13651. "type": "integer"
  13652. }
  13653. }
  13654. },
  13655. "models.Marketrun": {
  13656. "type": "object",
  13657. "required": [
  13658. "marketid",
  13659. "nexttradedate",
  13660. "reckonflag",
  13661. "runstatus",
  13662. "tradedate",
  13663. "tradedate2"
  13664. ],
  13665. "properties": {
  13666. "afternexttradedate": {
  13667. "description": "下下交易日",
  13668. "type": "string"
  13669. },
  13670. "clearquoteflag": {
  13671. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13672. "type": "integer"
  13673. },
  13674. "lastreckondate": {
  13675. "description": "最新交易日(结算成功)",
  13676. "type": "string"
  13677. },
  13678. "machinedate": {
  13679. "description": "机器时间",
  13680. "type": "string"
  13681. },
  13682. "manualflag": {
  13683. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13684. "type": "integer"
  13685. },
  13686. "marketid": {
  13687. "description": "市场ID",
  13688. "type": "integer"
  13689. },
  13690. "nexttradedate": {
  13691. "description": "下一交易日",
  13692. "type": "string"
  13693. },
  13694. "pretradedate": {
  13695. "description": "上一交易日",
  13696. "type": "string"
  13697. },
  13698. "reckonflag": {
  13699. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13700. "type": "integer"
  13701. },
  13702. "runstatus": {
  13703. "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.今日免清算",
  13704. "type": "integer"
  13705. },
  13706. "sectionid": {
  13707. "description": "时间段号[多时段时用]",
  13708. "type": "integer"
  13709. },
  13710. "tradedate": {
  13711. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13712. "type": "string"
  13713. },
  13714. "tradedate2": {
  13715. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13716. "type": "string"
  13717. },
  13718. "updatetime": {
  13719. "description": "更新时间",
  13720. "type": "string"
  13721. }
  13722. }
  13723. },
  13724. "models.Messageboard": {
  13725. "type": "object",
  13726. "required": [
  13727. "messageboardid"
  13728. ],
  13729. "properties": {
  13730. "createtime": {
  13731. "description": "创建时间",
  13732. "type": "string"
  13733. },
  13734. "message": {
  13735. "description": "留言信息",
  13736. "type": "string"
  13737. },
  13738. "messageboardid": {
  13739. "description": "留言簿ID(SEQ_MessageBoard)",
  13740. "type": "integer"
  13741. },
  13742. "userid": {
  13743. "description": "用户ID",
  13744. "type": "integer"
  13745. }
  13746. }
  13747. },
  13748. "models.MyCoupon": {
  13749. "type": "object",
  13750. "required": [
  13751. "accountid",
  13752. "coupontypeid"
  13753. ],
  13754. "properties": {
  13755. "accountid": {
  13756. "description": "资金账户ID",
  13757. "type": "integer"
  13758. },
  13759. "areauserid": {
  13760. "description": "所属机构",
  13761. "type": "integer"
  13762. },
  13763. "conditionvalue": {
  13764. "description": "条件阈值(可为0)",
  13765. "type": "number"
  13766. },
  13767. "couponcategroy": {
  13768. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13769. "type": "integer"
  13770. },
  13771. "couponname": {
  13772. "description": "优惠券名称",
  13773. "type": "string"
  13774. },
  13775. "coupontypeid": {
  13776. "description": "优惠券类型ID",
  13777. "type": "string"
  13778. },
  13779. "couponvalue": {
  13780. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13781. "type": "number"
  13782. },
  13783. "curfreezeqty": {
  13784. "description": "期末冻结数量",
  13785. "type": "integer"
  13786. },
  13787. "curqty": {
  13788. "description": "期末数量",
  13789. "type": "integer"
  13790. },
  13791. "isgeneral": {
  13792. "description": "是否通用券 - 0:否 1:是",
  13793. "type": "integer"
  13794. },
  13795. "isunusable": {
  13796. "description": "是否不可用",
  13797. "type": "boolean"
  13798. },
  13799. "limitedflag": {
  13800. "description": "是否指定商品 - 0:不限 1:限制",
  13801. "type": "integer"
  13802. },
  13803. "limitedgoodsids": {
  13804. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13805. "type": "string"
  13806. },
  13807. "orifreezeqty": {
  13808. "description": "期初冻结数量",
  13809. "type": "integer"
  13810. },
  13811. "oriqty": {
  13812. "description": "期初数量",
  13813. "type": "integer"
  13814. },
  13815. "reasontype": {
  13816. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13817. "type": "integer"
  13818. },
  13819. "todaydecrease": {
  13820. "description": "今日减少",
  13821. "type": "integer"
  13822. },
  13823. "todayincrease": {
  13824. "description": "今日增加",
  13825. "type": "integer"
  13826. },
  13827. "userid": {
  13828. "description": "用户ID",
  13829. "type": "integer"
  13830. },
  13831. "userscope": {
  13832. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13833. "type": "string"
  13834. }
  13835. }
  13836. },
  13837. "models.MyCouponHold": {
  13838. "type": "object",
  13839. "required": [
  13840. "couponholdid"
  13841. ],
  13842. "properties": {
  13843. "accountid": {
  13844. "description": "资金账户ID",
  13845. "type": "integer"
  13846. },
  13847. "conditionvalue": {
  13848. "description": "条件阈值(可为0)",
  13849. "type": "number"
  13850. },
  13851. "couponcategroy": {
  13852. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13853. "type": "integer"
  13854. },
  13855. "couponholdid": {
  13856. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13857. "type": "string"
  13858. },
  13859. "couponname": {
  13860. "description": "优惠券名称",
  13861. "type": "string"
  13862. },
  13863. "coupontypeid": {
  13864. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  13865. "type": "string"
  13866. },
  13867. "couponvalue": {
  13868. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13869. "type": "number"
  13870. },
  13871. "createtime": {
  13872. "description": "创建时间",
  13873. "type": "string"
  13874. },
  13875. "enddate": {
  13876. "description": "结束日期",
  13877. "type": "string"
  13878. },
  13879. "giveapplyid": {
  13880. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  13881. "type": "integer"
  13882. },
  13883. "holdstatus": {
  13884. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  13885. "type": "integer"
  13886. },
  13887. "isgeneral": {
  13888. "description": "是否通用券 - 0:否 1:是",
  13889. "type": "integer"
  13890. },
  13891. "limitedflag": {
  13892. "description": "是否指定商品 - 0:不限 1:限制",
  13893. "type": "integer"
  13894. },
  13895. "limitedgoodsids": {
  13896. "description": "指定商品IDs[逗号分隔]",
  13897. "type": "string"
  13898. },
  13899. "qty": {
  13900. "description": "数量(按1平铺)",
  13901. "type": "integer"
  13902. },
  13903. "startdate": {
  13904. "description": "开始日期",
  13905. "type": "string"
  13906. },
  13907. "userid": {
  13908. "description": "用户ID",
  13909. "type": "integer"
  13910. },
  13911. "userscope": {
  13912. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  13913. "type": "string"
  13914. }
  13915. }
  13916. },
  13917. "models.MyUsedCoupon": {
  13918. "type": "object",
  13919. "required": [
  13920. "coupontypeid",
  13921. "orderid"
  13922. ],
  13923. "properties": {
  13924. "accountid": {
  13925. "description": "资金账户ID(买方)",
  13926. "type": "integer"
  13927. },
  13928. "conditionvalue": {
  13929. "description": "条件阈值(可为0)",
  13930. "type": "number"
  13931. },
  13932. "couponcategroy": {
  13933. "description": "种类 - 1:现金券 2:折扣券",
  13934. "type": "integer"
  13935. },
  13936. "couponname": {
  13937. "description": "优惠券名称",
  13938. "type": "string"
  13939. },
  13940. "coupontypeid": {
  13941. "description": "优惠券类型ID(买方)",
  13942. "type": "string"
  13943. },
  13944. "couponvalue": {
  13945. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  13946. "type": "number"
  13947. },
  13948. "createtime": {
  13949. "description": "创建时间",
  13950. "type": "string"
  13951. },
  13952. "goodsid": {
  13953. "description": "商品ID",
  13954. "type": "integer"
  13955. },
  13956. "handlestatus": {
  13957. "description": "处理状态",
  13958. "type": "integer"
  13959. },
  13960. "marketid": {
  13961. "description": "市场ID",
  13962. "type": "integer"
  13963. },
  13964. "offamount": {
  13965. "description": "优惠金额",
  13966. "type": "number"
  13967. },
  13968. "orderid": {
  13969. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13970. "type": "string"
  13971. },
  13972. "sellaccountid": {
  13973. "description": "资金账户ID(卖方)",
  13974. "type": "integer"
  13975. },
  13976. "tradeamount": {
  13977. "description": "成交金额",
  13978. "type": "number"
  13979. },
  13980. "tradeid": {
  13981. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13982. "type": "string"
  13983. },
  13984. "usedqty": {
  13985. "description": "使用数量",
  13986. "type": "integer"
  13987. }
  13988. }
  13989. },
  13990. "models.OperationPrimaryMenu": {
  13991. "type": "object",
  13992. "properties": {
  13993. "Children": {
  13994. "description": "二级功能菜单",
  13995. "type": "array",
  13996. "items": {
  13997. "$ref": "#/definitions/models.OperationSecondaryMenu"
  13998. }
  13999. },
  14000. "Key": {
  14001. "description": "菜单KEY",
  14002. "type": "string"
  14003. },
  14004. "Label": {
  14005. "description": "菜单标题",
  14006. "type": "string"
  14007. }
  14008. }
  14009. },
  14010. "models.OperationSecondaryMenu": {
  14011. "type": "object",
  14012. "properties": {
  14013. "Key": {
  14014. "description": "菜单KEY",
  14015. "type": "string"
  14016. },
  14017. "Label": {
  14018. "description": "菜单标题",
  14019. "type": "string"
  14020. },
  14021. "TabList": {
  14022. "description": "三级功能菜单",
  14023. "type": "array",
  14024. "items": {
  14025. "$ref": "#/definitions/models.OperationTabMenu"
  14026. }
  14027. }
  14028. }
  14029. },
  14030. "models.OperationTabMenu": {
  14031. "type": "object",
  14032. "properties": {
  14033. "Key": {
  14034. "description": "菜单KEY",
  14035. "type": "string"
  14036. },
  14037. "Label": {
  14038. "description": "菜单标题",
  14039. "type": "string"
  14040. }
  14041. }
  14042. },
  14043. "models.QueryErrorInfosRsp": {
  14044. "type": "object",
  14045. "required": [
  14046. "errorid"
  14047. ],
  14048. "properties": {
  14049. "description": {
  14050. "description": "异常描述",
  14051. "type": "string"
  14052. },
  14053. "errorcode": {
  14054. "description": "异常代码",
  14055. "type": "string"
  14056. },
  14057. "errorid": {
  14058. "description": "异常ID",
  14059. "type": "integer"
  14060. },
  14061. "modulecode": {
  14062. "description": "所属模块",
  14063. "type": "string"
  14064. },
  14065. "operatecode": {
  14066. "description": "所属操作",
  14067. "type": "string"
  14068. },
  14069. "rownumber": {
  14070. "description": "行号",
  14071. "type": "string"
  14072. }
  14073. }
  14074. },
  14075. "models.QuotePrimaryMenu": {
  14076. "type": "object",
  14077. "properties": {
  14078. "Index": {
  14079. "description": "序号",
  14080. "type": "integer"
  14081. },
  14082. "Key": {
  14083. "description": "键名",
  14084. "type": "string"
  14085. },
  14086. "Name": {
  14087. "description": "菜单名称",
  14088. "type": "string"
  14089. },
  14090. "SubMenus": {
  14091. "description": "子菜单",
  14092. "type": "array",
  14093. "items": {
  14094. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14095. }
  14096. },
  14097. "SubTitleType": {
  14098. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14099. "type": "integer"
  14100. },
  14101. "TradeModes": {
  14102. "description": "包含市场交易类型",
  14103. "type": "string"
  14104. }
  14105. }
  14106. },
  14107. "models.QuoteSecondaryMenu": {
  14108. "type": "object",
  14109. "properties": {
  14110. "ExExchangeCode": {
  14111. "description": "外部交易所代码",
  14112. "type": "string"
  14113. },
  14114. "ExExchangeID": {
  14115. "description": "外部交易所ID",
  14116. "type": "integer"
  14117. },
  14118. "GoodsGroupIDs": {
  14119. "description": "商品组ID列表",
  14120. "type": "array",
  14121. "items": {
  14122. "type": "integer"
  14123. }
  14124. },
  14125. "Index": {
  14126. "description": "序号",
  14127. "type": "integer"
  14128. },
  14129. "MarketID": {
  14130. "description": "市场ID",
  14131. "type": "integer"
  14132. },
  14133. "MenuTitle": {
  14134. "description": "菜单标题(市场名称或外部交易所名称)",
  14135. "type": "string"
  14136. },
  14137. "TradeMode": {
  14138. "description": "交易模式",
  14139. "type": "integer"
  14140. }
  14141. }
  14142. },
  14143. "models.SearchGoods": {
  14144. "type": "object",
  14145. "required": [
  14146. "goodscode",
  14147. "goodsid",
  14148. "goodsname",
  14149. "marketid",
  14150. "trademode"
  14151. ],
  14152. "properties": {
  14153. "goodscode": {
  14154. "description": "商品代码(内部)",
  14155. "type": "string"
  14156. },
  14157. "goodsid": {
  14158. "description": "商品ID(自增ID SEQ_GOODS)",
  14159. "type": "integer"
  14160. },
  14161. "goodsname": {
  14162. "description": "商品名称",
  14163. "type": "string"
  14164. },
  14165. "marketid": {
  14166. "description": "所属市场ID",
  14167. "type": "integer"
  14168. },
  14169. "marketname": {
  14170. "description": "市场名称",
  14171. "type": "string"
  14172. },
  14173. "trademode": {
  14174. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14175. "type": "integer"
  14176. }
  14177. }
  14178. },
  14179. "models.Szdz2imageconfig": {
  14180. "type": "object",
  14181. "required": [
  14182. "configid"
  14183. ],
  14184. "properties": {
  14185. "configid": {
  14186. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14187. "type": "integer"
  14188. },
  14189. "imagepath": {
  14190. "description": "图片",
  14191. "type": "string"
  14192. },
  14193. "imagetype": {
  14194. "description": "类型 - 1:App首页轮播 2:我的",
  14195. "type": "integer"
  14196. },
  14197. "sort": {
  14198. "description": "排序",
  14199. "type": "integer"
  14200. },
  14201. "title": {
  14202. "description": "标题",
  14203. "type": "string"
  14204. },
  14205. "url": {
  14206. "description": "链接",
  14207. "type": "string"
  14208. }
  14209. }
  14210. },
  14211. "models.Szdz3convertconfig": {
  14212. "type": "object",
  14213. "required": [
  14214. "converttype",
  14215. "innergoodsid",
  14216. "outergoodscode"
  14217. ],
  14218. "properties": {
  14219. "canin": {
  14220. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14221. "type": "integer"
  14222. },
  14223. "canout": {
  14224. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14225. "type": "integer"
  14226. },
  14227. "converttype": {
  14228. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14229. "type": "integer"
  14230. },
  14231. "createtime": {
  14232. "description": "创建时间",
  14233. "type": "string"
  14234. },
  14235. "creatorid": {
  14236. "description": "创建人",
  14237. "type": "integer"
  14238. },
  14239. "daymaxvalue": {
  14240. "description": "当日最大转入限制",
  14241. "type": "number"
  14242. },
  14243. "freezedays": {
  14244. "description": "冻结天数 [5:花生米转交易]",
  14245. "type": "integer"
  14246. },
  14247. "innergoodsid": {
  14248. "description": "内部商品ID[交易]",
  14249. "type": "integer"
  14250. },
  14251. "inratio": {
  14252. "description": "目标值",
  14253. "type": "integer"
  14254. },
  14255. "modifierid": {
  14256. "description": "修改人",
  14257. "type": "integer"
  14258. },
  14259. "modifytime": {
  14260. "description": "修改时间",
  14261. "type": "string"
  14262. },
  14263. "outergoodscode": {
  14264. "description": "外部商品代码[JD\\PD]",
  14265. "type": "string"
  14266. },
  14267. "outratio": {
  14268. "description": "源值",
  14269. "type": "integer"
  14270. },
  14271. "pddecimalplace": {
  14272. "description": "PD小数位",
  14273. "type": "integer"
  14274. },
  14275. "timemaxvalue": {
  14276. "description": "单次最大转入限制",
  14277. "type": "number"
  14278. },
  14279. "timeminvalue": {
  14280. "description": "单次最小转入限制",
  14281. "type": "number"
  14282. }
  14283. }
  14284. },
  14285. "models.Szdz3searchwhitelist": {
  14286. "type": "object",
  14287. "required": [
  14288. "userid"
  14289. ],
  14290. "properties": {
  14291. "createtime": {
  14292. "description": "创建时间",
  14293. "type": "string"
  14294. },
  14295. "creatorid": {
  14296. "description": "创建人",
  14297. "type": "integer"
  14298. },
  14299. "modifierid": {
  14300. "description": "修改人",
  14301. "type": "integer"
  14302. },
  14303. "modifytime": {
  14304. "description": "修改时间",
  14305. "type": "string"
  14306. },
  14307. "userid": {
  14308. "description": "用户ID",
  14309. "type": "integer"
  14310. }
  14311. }
  14312. },
  14313. "models.Taaccount": {
  14314. "type": "object",
  14315. "required": [
  14316. "accountid",
  14317. "userid"
  14318. ],
  14319. "properties": {
  14320. "accountflag": {
  14321. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14322. "type": "integer"
  14323. },
  14324. "accountid": {
  14325. "description": "资金账户ID",
  14326. "type": "integer"
  14327. },
  14328. "accountname": {
  14329. "description": "账户名称",
  14330. "type": "string"
  14331. },
  14332. "balance": {
  14333. "description": "期初余额",
  14334. "type": "number"
  14335. },
  14336. "capitalbalance": {
  14337. "description": "本金余额[外部子账户实际出入金余额]",
  14338. "type": "number"
  14339. },
  14340. "changeflag": {
  14341. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14342. "type": "integer"
  14343. },
  14344. "changetime": {
  14345. "description": "账户状态变更时间",
  14346. "type": "string"
  14347. },
  14348. "closepl": {
  14349. "description": "今日平仓盈亏",
  14350. "type": "number"
  14351. },
  14352. "creditdecrease": {
  14353. "description": "今日授信减少",
  14354. "type": "number"
  14355. },
  14356. "creditincrease": {
  14357. "description": "今日授信增加",
  14358. "type": "number"
  14359. },
  14360. "currencyid": {
  14361. "description": "货币ID",
  14362. "type": "integer"
  14363. },
  14364. "currentbalance": {
  14365. "description": "期末余额",
  14366. "type": "number"
  14367. },
  14368. "freezecharge": {
  14369. "description": "手续费冻结",
  14370. "type": "number"
  14371. },
  14372. "freezemargin": {
  14373. "description": "冻结保证金",
  14374. "type": "number"
  14375. },
  14376. "fromaccountid": {
  14377. "description": "所属上级账户",
  14378. "type": "integer"
  14379. },
  14380. "inamount": {
  14381. "description": "今日入金金额(包括三方入金)",
  14382. "type": "number"
  14383. },
  14384. "ismain": {
  14385. "description": "是否母账号 0:不是母账户 1:是母账户",
  14386. "type": "integer"
  14387. },
  14388. "ismarketaccount": {
  14389. "description": "是否机构接单账号 0:不是 1:是",
  14390. "type": "integer"
  14391. },
  14392. "isreckonaccount": {
  14393. "description": "是否机构分润账号 0:不是 1:是",
  14394. "type": "integer"
  14395. },
  14396. "mortgagecredit": {
  14397. "description": "授信金额",
  14398. "type": "number"
  14399. },
  14400. "orifreezecharge": {
  14401. "description": "期初手续费冻结",
  14402. "type": "number"
  14403. },
  14404. "orifreezemargin": {
  14405. "description": "期初冻结保证金",
  14406. "type": "number"
  14407. },
  14408. "orimortgagecredit": {
  14409. "description": "期初授信金额",
  14410. "type": "number"
  14411. },
  14412. "oriothercredit": {
  14413. "description": "期初其它授信金额",
  14414. "type": "number"
  14415. },
  14416. "oriotherfreezemargin": {
  14417. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14418. "type": "number"
  14419. },
  14420. "orioutamountfreeze": {
  14421. "description": "期初出金冻结",
  14422. "type": "number"
  14423. },
  14424. "oriusedmargin": {
  14425. "description": "期初占用保证金",
  14426. "type": "number"
  14427. },
  14428. "othercredit": {
  14429. "description": "其它授信金额",
  14430. "type": "number"
  14431. },
  14432. "othercreditdecrease": {
  14433. "description": "今日其它授信减少",
  14434. "type": "number"
  14435. },
  14436. "othercreditincrease": {
  14437. "description": "今日其它授信增加",
  14438. "type": "number"
  14439. },
  14440. "otherfreezemargin": {
  14441. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14442. "type": "number"
  14443. },
  14444. "otherincome": {
  14445. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14446. "type": "number"
  14447. },
  14448. "otherpay": {
  14449. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14450. "type": "number"
  14451. },
  14452. "outamount": {
  14453. "description": "今日出金金额(包括三方出金)",
  14454. "type": "number"
  14455. },
  14456. "outamountfreeze": {
  14457. "description": "出金冻结",
  14458. "type": "number"
  14459. },
  14460. "outthreshold": {
  14461. "description": "出金阈值",
  14462. "type": "number"
  14463. },
  14464. "parentaccountid": {
  14465. "description": "所属根账号",
  14466. "type": "integer"
  14467. },
  14468. "paycharge": {
  14469. "description": "今日手续费支出",
  14470. "type": "number"
  14471. },
  14472. "relatedaccountstatus": {
  14473. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14474. "type": "integer"
  14475. },
  14476. "relateduserid": {
  14477. "description": "关联用户",
  14478. "type": "integer"
  14479. },
  14480. "serivcegroup": {
  14481. "description": "服务分组",
  14482. "type": "integer"
  14483. },
  14484. "signstatus": {
  14485. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14486. "type": "integer"
  14487. },
  14488. "sublevelpath": {
  14489. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14490. "type": "string"
  14491. },
  14492. "taaccounttype": {
  14493. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14494. "type": "integer"
  14495. },
  14496. "thirdinamount": {
  14497. "description": "今日三方入金",
  14498. "type": "number"
  14499. },
  14500. "thirdoutamount": {
  14501. "description": "今日三方出金",
  14502. "type": "number"
  14503. },
  14504. "tradestatus": {
  14505. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14506. "type": "integer"
  14507. },
  14508. "tradestatuschangetime": {
  14509. "description": "激活时间",
  14510. "type": "string"
  14511. },
  14512. "transferamount": {
  14513. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14514. "type": "number"
  14515. },
  14516. "usedmargin": {
  14517. "description": "占用保证金",
  14518. "type": "number"
  14519. },
  14520. "userid": {
  14521. "description": "用户ID",
  14522. "type": "integer"
  14523. }
  14524. }
  14525. },
  14526. "models.Tablecolumnconfig": {
  14527. "type": "object",
  14528. "required": [
  14529. "autoid"
  14530. ],
  14531. "properties": {
  14532. "aligntype": {
  14533. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14534. "type": "integer"
  14535. },
  14536. "autoid": {
  14537. "description": "AutoID",
  14538. "type": "integer"
  14539. },
  14540. "columnfield": {
  14541. "description": "列字段",
  14542. "type": "string"
  14543. },
  14544. "columntitle": {
  14545. "description": "列Title",
  14546. "type": "string"
  14547. },
  14548. "columnwidth": {
  14549. "description": "列宽",
  14550. "type": "string"
  14551. },
  14552. "formatterstring": {
  14553. "description": "格式化字符",
  14554. "type": "string"
  14555. },
  14556. "formattertype": {
  14557. "description": "格式化类型",
  14558. "type": "string"
  14559. },
  14560. "groupname": {
  14561. "description": "表头分组名称",
  14562. "type": "string"
  14563. },
  14564. "isshow": {
  14565. "description": "是否显示 - 0:不显示 1:显示",
  14566. "type": "integer"
  14567. },
  14568. "needsummary": {
  14569. "description": "是否需要汇总 - 0:不需要 1:需要",
  14570. "type": "integer"
  14571. },
  14572. "orderindex": {
  14573. "description": "顺序",
  14574. "type": "integer"
  14575. },
  14576. "remark": {
  14577. "description": "备注",
  14578. "type": "string"
  14579. },
  14580. "summarytype": {
  14581. "description": "汇总类型 - 1:加总 2:最后一个",
  14582. "type": "integer"
  14583. },
  14584. "tablekey": {
  14585. "description": "列表Key",
  14586. "type": "string"
  14587. }
  14588. }
  14589. },
  14590. "models.Useraccount": {
  14591. "type": "object",
  14592. "required": [
  14593. "userid"
  14594. ],
  14595. "properties": {
  14596. "accountname": {
  14597. "description": "账户名称(机构名称)",
  14598. "type": "string"
  14599. },
  14600. "accountstatus": {
  14601. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14602. "type": "integer"
  14603. },
  14604. "auditremark": {
  14605. "description": "审核备注",
  14606. "type": "string"
  14607. },
  14608. "audittime": {
  14609. "description": "审核时间",
  14610. "type": "string"
  14611. },
  14612. "audituserid": {
  14613. "description": "审核人",
  14614. "type": "integer"
  14615. },
  14616. "broker": {
  14617. "description": "所属经纪人ID",
  14618. "type": "integer"
  14619. },
  14620. "canceltime": {
  14621. "description": "销户时间",
  14622. "type": "string"
  14623. },
  14624. "canceluserid": {
  14625. "description": "销户人",
  14626. "type": "integer"
  14627. },
  14628. "createtime": {
  14629. "description": "创建时间",
  14630. "type": "string"
  14631. },
  14632. "creatorid": {
  14633. "description": "创建人",
  14634. "type": "integer"
  14635. },
  14636. "hasauth": {
  14637. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14638. "type": "integer"
  14639. },
  14640. "isanonymous": {
  14641. "description": "是否匿名下单 - 0:否 1:是",
  14642. "type": "integer"
  14643. },
  14644. "maxinvestornum": {
  14645. "description": "最大用户数(经纪会员下投资者个数)",
  14646. "type": "integer"
  14647. },
  14648. "memberuserid": {
  14649. "description": "所属会员ID",
  14650. "type": "integer"
  14651. },
  14652. "modifierid": {
  14653. "description": "修改人",
  14654. "type": "integer"
  14655. },
  14656. "modifyremark": {
  14657. "description": "变更备注",
  14658. "type": "string"
  14659. },
  14660. "modifystatus": {
  14661. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14662. "type": "integer"
  14663. },
  14664. "modifytime": {
  14665. "description": "修改时间",
  14666. "type": "string"
  14667. },
  14668. "parentuserid": {
  14669. "description": "所属机构ID",
  14670. "type": "integer"
  14671. },
  14672. "reckonaccountid": {
  14673. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14674. "type": "integer"
  14675. },
  14676. "refercount": {
  14677. "description": "推荐总人数",
  14678. "type": "integer"
  14679. },
  14680. "refereeuserid": {
  14681. "description": "推荐人ID",
  14682. "type": "integer"
  14683. },
  14684. "refernum": {
  14685. "description": "推荐码",
  14686. "type": "string"
  14687. },
  14688. "subarealevelpath": {
  14689. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14690. "type": "string"
  14691. },
  14692. "userid": {
  14693. "description": "用户ID",
  14694. "type": "integer"
  14695. },
  14696. "usertype": {
  14697. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14698. "type": "integer"
  14699. }
  14700. }
  14701. },
  14702. "models.Userfavoritegoods": {
  14703. "type": "object",
  14704. "required": [
  14705. "goodsid"
  14706. ],
  14707. "properties": {
  14708. "goodsid": {
  14709. "description": "商品ID",
  14710. "type": "integer"
  14711. }
  14712. }
  14713. },
  14714. "models.Userinfo": {
  14715. "type": "object",
  14716. "required": [
  14717. "userid"
  14718. ],
  14719. "properties": {
  14720. "address": {
  14721. "description": "地址",
  14722. "type": "string"
  14723. },
  14724. "attachment1": {
  14725. "description": "附件1",
  14726. "type": "string"
  14727. },
  14728. "attachment2": {
  14729. "description": "附件2",
  14730. "type": "string"
  14731. },
  14732. "bankaccount": {
  14733. "description": "银行帐号 (加密存储)",
  14734. "type": "string"
  14735. },
  14736. "bankaccountname": {
  14737. "description": "收款人名称",
  14738. "type": "string"
  14739. },
  14740. "bankcardfrontphotourl": {
  14741. "description": "银行卡正面照地址",
  14742. "type": "string"
  14743. },
  14744. "bankid": {
  14745. "description": "银行编码",
  14746. "type": "string"
  14747. },
  14748. "bankname": {
  14749. "description": "银行名称",
  14750. "type": "string"
  14751. },
  14752. "biznature": {
  14753. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14754. "type": "integer"
  14755. },
  14756. "bizscope": {
  14757. "description": "企业经营范围(企业)",
  14758. "type": "string"
  14759. },
  14760. "cardbackphotourl": {
  14761. "description": "证件背面图片地址",
  14762. "type": "string"
  14763. },
  14764. "cardfrontphotourl": {
  14765. "description": "证件正面图片地址",
  14766. "type": "string"
  14767. },
  14768. "cardnum": {
  14769. "description": "证件号码(加密存储)",
  14770. "type": "string"
  14771. },
  14772. "cardtypeid": {
  14773. "description": "证件类型ID",
  14774. "type": "integer"
  14775. },
  14776. "cityid": {
  14777. "description": "市",
  14778. "type": "integer"
  14779. },
  14780. "company": {
  14781. "description": "公司(个人)",
  14782. "type": "string"
  14783. },
  14784. "contactname": {
  14785. "description": "联系人",
  14786. "type": "string"
  14787. },
  14788. "countryid": {
  14789. "description": "国家",
  14790. "type": "integer"
  14791. },
  14792. "createtime": {
  14793. "description": "创建时间",
  14794. "type": "string"
  14795. },
  14796. "creatorid": {
  14797. "description": "创建人",
  14798. "type": "integer"
  14799. },
  14800. "customername": {
  14801. "description": "客户名称(企业名称)",
  14802. "type": "string"
  14803. },
  14804. "districtid": {
  14805. "description": "地区",
  14806. "type": "integer"
  14807. },
  14808. "email": {
  14809. "description": "邮件(加密存储)",
  14810. "type": "string"
  14811. },
  14812. "fax": {
  14813. "description": "传真(加密存储)",
  14814. "type": "string"
  14815. },
  14816. "halfbodyphotourl": {
  14817. "description": "半身照地址",
  14818. "type": "string"
  14819. },
  14820. "hasencrypt": {
  14821. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14822. "type": "integer"
  14823. },
  14824. "headurl": {
  14825. "description": "头像地址",
  14826. "type": "string"
  14827. },
  14828. "legalcardbackphotourl": {
  14829. "description": "法人身份证背面照地址",
  14830. "type": "string"
  14831. },
  14832. "legalcardfrontphotourl": {
  14833. "description": "法人身份证正面照地址",
  14834. "type": "string"
  14835. },
  14836. "legalpersonname": {
  14837. "description": "法人姓名(企业)",
  14838. "type": "string"
  14839. },
  14840. "mobile": {
  14841. "description": "手机号码(加密存储)",
  14842. "type": "string"
  14843. },
  14844. "mobile2": {
  14845. "description": "手机号码[明文-尚志]",
  14846. "type": "string"
  14847. },
  14848. "modifierid": {
  14849. "description": "修改人",
  14850. "type": "integer"
  14851. },
  14852. "modifiertime": {
  14853. "description": "修改时间",
  14854. "type": "string"
  14855. },
  14856. "needinvoice": {
  14857. "description": "是否需要发票 - 0:不需要 1:需要",
  14858. "type": "integer"
  14859. },
  14860. "nickname": {
  14861. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  14862. "type": "string"
  14863. },
  14864. "openmode": {
  14865. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  14866. "type": "integer"
  14867. },
  14868. "otherurl": {
  14869. "description": "其它图片地址[使用分号分隔]",
  14870. "type": "string"
  14871. },
  14872. "postalcode": {
  14873. "description": "邮政编码",
  14874. "type": "string"
  14875. },
  14876. "provinceid": {
  14877. "description": "省",
  14878. "type": "integer"
  14879. },
  14880. "qq": {
  14881. "description": "QQ(加密存储",
  14882. "type": "string"
  14883. },
  14884. "remark": {
  14885. "description": "备注",
  14886. "type": "string"
  14887. },
  14888. "sex": {
  14889. "description": "用户性别 0: 女 1: 男",
  14890. "type": "integer"
  14891. },
  14892. "signpdfurl": {
  14893. "description": "签约pdf文件",
  14894. "type": "string"
  14895. },
  14896. "telphone": {
  14897. "description": "联系电话(加密存储)",
  14898. "type": "string"
  14899. },
  14900. "userid": {
  14901. "description": "用户ID",
  14902. "type": "integer"
  14903. },
  14904. "userinfotype": {
  14905. "description": "用户信息类型 - 1:个人 2:企业",
  14906. "type": "integer"
  14907. },
  14908. "userstatus": {
  14909. "description": "用户状态 - 1:正常 2:注销",
  14910. "type": "integer"
  14911. },
  14912. "usertype": {
  14913. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14914. "type": "integer"
  14915. },
  14916. "wechat": {
  14917. "description": "微信(加密存储)",
  14918. "type": "string"
  14919. },
  14920. "wskhinfo": {
  14921. "description": "开户申请信息(JSON)",
  14922. "type": "string"
  14923. }
  14924. }
  14925. },
  14926. "models.WRCategoryTree": {
  14927. "type": "object",
  14928. "required": [
  14929. "categoryid"
  14930. ],
  14931. "properties": {
  14932. "areauserid": {
  14933. "description": "所属机构",
  14934. "type": "integer"
  14935. },
  14936. "categorydesc": {
  14937. "description": "类别描述",
  14938. "type": "string"
  14939. },
  14940. "categoryid": {
  14941. "description": "类别ID(SEQ_WRCATEGORY)",
  14942. "type": "integer"
  14943. },
  14944. "categoryname": {
  14945. "description": "类别名称",
  14946. "type": "string"
  14947. },
  14948. "iconurl": {
  14949. "description": "图标地址",
  14950. "type": "string"
  14951. },
  14952. "orderindex": {
  14953. "description": "顺序",
  14954. "type": "integer"
  14955. },
  14956. "parentcategoryid": {
  14957. "description": "父类别ID",
  14958. "type": "integer"
  14959. },
  14960. "subcategory": {
  14961. "description": "子分类",
  14962. "type": "array",
  14963. "items": {
  14964. "$ref": "#/definitions/models.WRCategoryTree"
  14965. }
  14966. }
  14967. }
  14968. },
  14969. "models.WRSConverTDetail": {
  14970. "type": "object",
  14971. "properties": {
  14972. "convertratio": {
  14973. "description": "套保系数",
  14974. "type": "number"
  14975. },
  14976. "deliverygoodsid": {
  14977. "description": "现货品种ID",
  14978. "type": "integer"
  14979. },
  14980. "middlegoodscode": {
  14981. "description": "套保品种代码",
  14982. "type": "string"
  14983. },
  14984. "middlegoodsid": {
  14985. "description": "套保品种ID",
  14986. "type": "integer"
  14987. },
  14988. "middlegoodsname": {
  14989. "description": "套保品种名称",
  14990. "type": "string"
  14991. },
  14992. "modifytime": {
  14993. "description": "修改时间",
  14994. "type": "string"
  14995. },
  14996. "wrstandardid": {
  14997. "description": "现货商品ID",
  14998. "type": "integer"
  14999. }
  15000. }
  15001. },
  15002. "models.WRStandardInfo": {
  15003. "type": "object",
  15004. "required": [
  15005. "wrstandardid"
  15006. ],
  15007. "properties": {
  15008. "createtime": {
  15009. "description": "创建时间",
  15010. "type": "string"
  15011. },
  15012. "creatorid": {
  15013. "description": "创建人",
  15014. "type": "integer"
  15015. },
  15016. "deliverygoodsid": {
  15017. "description": "品种ID",
  15018. "type": "integer"
  15019. },
  15020. "deliverygoodsname": {
  15021. "description": "交割商品名称",
  15022. "type": "string"
  15023. },
  15024. "factoryitemjson": {
  15025. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15026. "type": "string"
  15027. },
  15028. "isvalid": {
  15029. "description": "是否有效 - 0:无效 1:有效",
  15030. "type": "integer"
  15031. },
  15032. "minivalue": {
  15033. "description": "最小变动值",
  15034. "type": "integer"
  15035. },
  15036. "minivaluedp": {
  15037. "description": "最小变动值小数位",
  15038. "type": "integer"
  15039. },
  15040. "realminivalue": {
  15041. "description": "实际最小变动值",
  15042. "type": "integer"
  15043. },
  15044. "realminivaluedp": {
  15045. "description": "实际最小变动值小数位",
  15046. "type": "integer"
  15047. },
  15048. "unitid": {
  15049. "description": "单位ID",
  15050. "type": "integer"
  15051. },
  15052. "unitname": {
  15053. "description": "单位",
  15054. "type": "string"
  15055. },
  15056. "updatetime": {
  15057. "description": "更新时间",
  15058. "type": "string"
  15059. },
  15060. "updatorid": {
  15061. "description": "更新人",
  15062. "type": "integer"
  15063. },
  15064. "wrsstatus": {
  15065. "description": "状态 - 作废 - 0:未激活 1:正常",
  15066. "type": "integer"
  15067. },
  15068. "wrstandardcode": {
  15069. "description": "仓单标准代码",
  15070. "type": "string"
  15071. },
  15072. "wrstandardid": {
  15073. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15074. "type": "integer"
  15075. },
  15076. "wrstandardname": {
  15077. "description": "仓单标准名称",
  15078. "type": "string"
  15079. }
  15080. }
  15081. },
  15082. "models.Warehouseinfo": {
  15083. "type": "object",
  15084. "required": [
  15085. "autoid",
  15086. "warehousecode"
  15087. ],
  15088. "properties": {
  15089. "address": {
  15090. "description": "详细地址",
  15091. "type": "string"
  15092. },
  15093. "areauserid": {
  15094. "description": "所属机构",
  15095. "type": "integer"
  15096. },
  15097. "autoid": {
  15098. "description": "自增ID",
  15099. "type": "integer"
  15100. },
  15101. "cityid": {
  15102. "description": "市",
  15103. "type": "integer"
  15104. },
  15105. "contactname": {
  15106. "description": "联系人",
  15107. "type": "string"
  15108. },
  15109. "contactnum": {
  15110. "description": "联系电话",
  15111. "type": "string"
  15112. },
  15113. "countryid": {
  15114. "description": "国家",
  15115. "type": "integer"
  15116. },
  15117. "createtime": {
  15118. "description": "创建时间",
  15119. "type": "string"
  15120. },
  15121. "districtid": {
  15122. "description": "区",
  15123. "type": "integer"
  15124. },
  15125. "hasvideo": {
  15126. "description": "是否有视频 - 0:无 1:有",
  15127. "type": "integer"
  15128. },
  15129. "provinceid": {
  15130. "description": "省",
  15131. "type": "integer"
  15132. },
  15133. "remark": {
  15134. "description": "审核备注",
  15135. "type": "string"
  15136. },
  15137. "videourl": {
  15138. "description": "视频地址",
  15139. "type": "string"
  15140. },
  15141. "warehousecode": {
  15142. "description": "仓库代码",
  15143. "type": "string"
  15144. },
  15145. "warehousename": {
  15146. "description": "仓库名称",
  15147. "type": "string"
  15148. },
  15149. "warehousestatus": {
  15150. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15151. "type": "integer"
  15152. },
  15153. "warehousetype": {
  15154. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15155. "type": "integer"
  15156. }
  15157. }
  15158. },
  15159. "order.QueryHisTradeDetailRsp": {
  15160. "type": "object",
  15161. "required": [
  15162. "accountid",
  15163. "buyorsell",
  15164. "goodsid",
  15165. "histradedate",
  15166. "marketid",
  15167. "memberuserid",
  15168. "orderid",
  15169. "tradeamount",
  15170. "tradedate",
  15171. "tradeid",
  15172. "tradeprice",
  15173. "tradeqty",
  15174. "tradetime"
  15175. ],
  15176. "properties": {
  15177. "accountid": {
  15178. "description": "账户ID[报价币种]",
  15179. "type": "integer"
  15180. },
  15181. "buildtype": {
  15182. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15183. "type": "integer"
  15184. },
  15185. "buyorsell": {
  15186. "description": "方向 - 0:买 1:卖",
  15187. "type": "integer"
  15188. },
  15189. "charge": {
  15190. "description": "手续费",
  15191. "type": "number"
  15192. },
  15193. "closecharge": {
  15194. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15195. "type": "number"
  15196. },
  15197. "closeexchagechargevalue": {
  15198. "description": "平仓交易所手续费设置值",
  15199. "type": "number"
  15200. },
  15201. "closefeealgorithm": {
  15202. "description": "平仓手续费收取方式 1:比率 2:固定",
  15203. "type": "integer"
  15204. },
  15205. "closememberchargevalue": {
  15206. "description": "平仓会员手续费设置值",
  15207. "type": "number"
  15208. },
  15209. "closepl": {
  15210. "description": "平仓盈亏",
  15211. "type": "number"
  15212. },
  15213. "closepl2": {
  15214. "description": "平仓盈亏[逐笔]",
  15215. "type": "number"
  15216. },
  15217. "closeqty": {
  15218. "description": "平仓数量(先建后平操作 需要记录)",
  15219. "type": "integer"
  15220. },
  15221. "creditamount": {
  15222. "description": "授信金额",
  15223. "type": "number"
  15224. },
  15225. "gcaccountid": {
  15226. "description": "账户ID[合约币种]",
  15227. "type": "integer"
  15228. },
  15229. "goodscode": {
  15230. "description": "商品代码",
  15231. "type": "string"
  15232. },
  15233. "goodsid": {
  15234. "description": "商品ID",
  15235. "type": "integer"
  15236. },
  15237. "goodsname": {
  15238. "description": "商品名称",
  15239. "type": "string"
  15240. },
  15241. "histradedate": {
  15242. "description": "历史交易日",
  15243. "type": "string"
  15244. },
  15245. "intclosepl": {
  15246. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15247. "type": "integer"
  15248. },
  15249. "isconfirmexercise": {
  15250. "description": "是否确认行权- 0:否 1:是",
  15251. "type": "integer"
  15252. },
  15253. "ismain": {
  15254. "description": "是否主单 - 0:不是 1:是",
  15255. "type": "integer"
  15256. },
  15257. "ispreexercise": {
  15258. "description": "是否预申报- 0:否 1:是",
  15259. "type": "integer"
  15260. },
  15261. "isreckoned": {
  15262. "description": "是否结算 - 0:未结算 1:已结算",
  15263. "type": "integer"
  15264. },
  15265. "isvaliddata": {
  15266. "description": "是否有效 - 0:无效 1:有效",
  15267. "type": "integer"
  15268. },
  15269. "listingselecttype": {
  15270. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15271. "type": "integer"
  15272. },
  15273. "marketid": {
  15274. "description": "市场ID",
  15275. "type": "integer"
  15276. },
  15277. "marketname": {
  15278. "description": "市场名称",
  15279. "type": "string"
  15280. },
  15281. "matchaccountid": {
  15282. "description": "对手账号id",
  15283. "type": "integer"
  15284. },
  15285. "memberuserid": {
  15286. "description": "会员id 个人投资者 需要填写",
  15287. "type": "integer"
  15288. },
  15289. "opencharge": {
  15290. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15291. "type": "number"
  15292. },
  15293. "openexchagechargevalue": {
  15294. "description": "建仓交易所手续费设置值",
  15295. "type": "number"
  15296. },
  15297. "openfeealgorithm": {
  15298. "description": "建仓手续费收取方式 1:比率 2:固定",
  15299. "type": "integer"
  15300. },
  15301. "openmemberchargevalue": {
  15302. "description": "建仓会员手续费设置值",
  15303. "type": "number"
  15304. },
  15305. "openqty": {
  15306. "description": "开仓数量(先建后平操作 需要记录)",
  15307. "type": "integer"
  15308. },
  15309. "optiontype": {
  15310. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15311. "type": "integer"
  15312. },
  15313. "orderid": {
  15314. "description": "委托单号",
  15315. "type": "string"
  15316. },
  15317. "performanceplanid": {
  15318. "description": "履约计划ID[期权]",
  15319. "type": "integer"
  15320. },
  15321. "performancestatus": {
  15322. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15323. "type": "integer"
  15324. },
  15325. "preexerciseprice": {
  15326. "description": "预申报价格",
  15327. "type": "number"
  15328. },
  15329. "premium": {
  15330. "description": "权利金 - [持仓单的权利金]",
  15331. "type": "number"
  15332. },
  15333. "relatedouttradeid": {
  15334. "description": "关联外部成交单ID",
  15335. "type": "integer"
  15336. },
  15337. "status": {
  15338. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15339. "type": "integer"
  15340. },
  15341. "tradeamount": {
  15342. "description": "成交金额[账户币种,用于所有权]",
  15343. "type": "number"
  15344. },
  15345. "tradedate": {
  15346. "description": "交易日(yyyyMMdd)",
  15347. "type": "string"
  15348. },
  15349. "tradeid": {
  15350. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15351. "type": "string"
  15352. },
  15353. "trademode": {
  15354. "description": "交易模式",
  15355. "type": "integer"
  15356. },
  15357. "tradeprice": {
  15358. "description": "成交价格",
  15359. "type": "number"
  15360. },
  15361. "tradeproperty": {
  15362. "description": "交易属性",
  15363. "type": "integer"
  15364. },
  15365. "tradeqty": {
  15366. "description": "成交数量",
  15367. "type": "integer"
  15368. },
  15369. "tradetime": {
  15370. "description": "成交时间",
  15371. "type": "string"
  15372. },
  15373. "tradetype": {
  15374. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15375. "type": "integer"
  15376. }
  15377. }
  15378. },
  15379. "order.QueryHisTradeOrderDetailRsp": {
  15380. "type": "object",
  15381. "required": [
  15382. "accountid",
  15383. "buildtype",
  15384. "buyorsell",
  15385. "goodsid",
  15386. "histradedate",
  15387. "marketid",
  15388. "memberuserid",
  15389. "operatetype",
  15390. "orderid",
  15391. "orderqty",
  15392. "ordertime",
  15393. "pricemode",
  15394. "tradedate",
  15395. "validtype"
  15396. ],
  15397. "properties": {
  15398. "accountid": {
  15399. "description": "账户ID[报价币种]",
  15400. "type": "integer"
  15401. },
  15402. "buildtype": {
  15403. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15404. "type": "integer"
  15405. },
  15406. "buyorsell": {
  15407. "description": "买卖 - 0:买 1:卖",
  15408. "type": "integer"
  15409. },
  15410. "cancelorderid": {
  15411. "description": "撤单单号(撤单时填写)",
  15412. "type": "string"
  15413. },
  15414. "cancelqty": {
  15415. "description": "撤单数量",
  15416. "type": "integer"
  15417. },
  15418. "clientordertime": {
  15419. "description": "客户端委托时间",
  15420. "type": "string"
  15421. },
  15422. "clientticket": {
  15423. "description": "客户端流水号",
  15424. "type": "string"
  15425. },
  15426. "clienttype": {
  15427. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15428. "type": "integer"
  15429. },
  15430. "closeexchagechargevalue": {
  15431. "description": "平仓交易所手续费设置值",
  15432. "type": "number"
  15433. },
  15434. "closefeealgorithm": {
  15435. "description": "平仓手续费收取方式 1:比率 2:固定",
  15436. "type": "integer"
  15437. },
  15438. "closefreezecharge": {
  15439. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15440. "type": "number"
  15441. },
  15442. "closememberchargevalue": {
  15443. "description": "平仓会员手续费设置值",
  15444. "type": "number"
  15445. },
  15446. "closeqty": {
  15447. "description": "平仓数量(先建后平操作 需要记录)",
  15448. "type": "integer"
  15449. },
  15450. "closetradeqty": {
  15451. "description": "平仓成交数量(先建后平操作,需要记录)",
  15452. "type": "integer"
  15453. },
  15454. "closeunfreezecharge": {
  15455. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15456. "type": "number"
  15457. },
  15458. "delistingtype": {
  15459. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15460. "type": "integer"
  15461. },
  15462. "freezecharge": {
  15463. "description": "冻结手续费",
  15464. "type": "number"
  15465. },
  15466. "freezemargin": {
  15467. "description": "冻结保证金(冻结交易金额)",
  15468. "type": "number"
  15469. },
  15470. "gcaccountid": {
  15471. "description": "账户ID[合约币种]",
  15472. "type": "integer"
  15473. },
  15474. "goodscode": {
  15475. "description": "商品代码",
  15476. "type": "string"
  15477. },
  15478. "goodsid": {
  15479. "description": "商品ID",
  15480. "type": "integer"
  15481. },
  15482. "goodsname": {
  15483. "description": "商品名称",
  15484. "type": "string"
  15485. },
  15486. "histradedate": {
  15487. "description": "历史交易日",
  15488. "type": "string"
  15489. },
  15490. "isconfirmexercise": {
  15491. "description": "是否确认行权- 0:否 1:是",
  15492. "type": "integer"
  15493. },
  15494. "ispreexercise": {
  15495. "description": "是否预申报- 0:否 1:是",
  15496. "type": "integer"
  15497. },
  15498. "isvaliddata": {
  15499. "description": "是否有效 - 0:无效 1:有效",
  15500. "type": "integer"
  15501. },
  15502. "listingselecttype": {
  15503. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15504. "type": "integer"
  15505. },
  15506. "marginalgorithm": {
  15507. "description": "保证金收取方式 1:比率 2:固定",
  15508. "type": "integer"
  15509. },
  15510. "marginvalue": {
  15511. "description": "即市保证金设置值",
  15512. "type": "number"
  15513. },
  15514. "marketid": {
  15515. "description": "市场ID",
  15516. "type": "integer"
  15517. },
  15518. "marketmaxsub": {
  15519. "description": "市价最大偏移范围",
  15520. "type": "number"
  15521. },
  15522. "marketname": {
  15523. "description": "市场名称",
  15524. "type": "string"
  15525. },
  15526. "memberuserid": {
  15527. "description": "所属会员UserID",
  15528. "type": "integer"
  15529. },
  15530. "openexchagechargevalue": {
  15531. "description": "建仓交易所手续费设置值",
  15532. "type": "number"
  15533. },
  15534. "openfeealgorithm": {
  15535. "description": "建仓手续费收取方式 1:比率 2:固定",
  15536. "type": "integer"
  15537. },
  15538. "openfreezecharge": {
  15539. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15540. "type": "number"
  15541. },
  15542. "openmemberchargevalue": {
  15543. "description": "建仓会员手续费设置值",
  15544. "type": "number"
  15545. },
  15546. "openqty": {
  15547. "description": "开仓数量(先建后平操作,需要记录)",
  15548. "type": "integer"
  15549. },
  15550. "opentradeqty": {
  15551. "description": "开仓成交数量(先建后平操作,需要记录)",
  15552. "type": "integer"
  15553. },
  15554. "openunfreezecharge": {
  15555. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15556. "type": "number"
  15557. },
  15558. "operatetype": {
  15559. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15560. "type": "integer"
  15561. },
  15562. "operatorid": {
  15563. "description": "登录账号(LoginID)",
  15564. "type": "integer"
  15565. },
  15566. "optiontype": {
  15567. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15568. "type": "integer"
  15569. },
  15570. "orderid": {
  15571. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15572. "type": "string"
  15573. },
  15574. "orderprice": {
  15575. "description": "委托价格",
  15576. "type": "number"
  15577. },
  15578. "orderqty": {
  15579. "description": "委托数量",
  15580. "type": "integer"
  15581. },
  15582. "ordersrc": {
  15583. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15584. "type": "integer"
  15585. },
  15586. "orderstatus": {
  15587. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15588. "type": "integer"
  15589. },
  15590. "ordertime": {
  15591. "description": "委托时间",
  15592. "type": "string"
  15593. },
  15594. "preexerciseprice": {
  15595. "description": "预申报价格",
  15596. "type": "number"
  15597. },
  15598. "premium": {
  15599. "description": "权利金",
  15600. "type": "number"
  15601. },
  15602. "preorderid": {
  15603. "description": "关联预埋单号(止盈止损单时填写)",
  15604. "type": "string"
  15605. },
  15606. "pricemode": {
  15607. "description": "取价方式 - 1:市价 2: 限价",
  15608. "type": "integer"
  15609. },
  15610. "quoteid": {
  15611. "description": "报价单ID",
  15612. "type": "integer"
  15613. },
  15614. "relatedid": {
  15615. "description": "关联单号(交割单)",
  15616. "type": "string"
  15617. },
  15618. "retcode": {
  15619. "description": "错误代码",
  15620. "type": "integer"
  15621. },
  15622. "sessionid": {
  15623. "description": "会话ID",
  15624. "type": "integer"
  15625. },
  15626. "tradedate": {
  15627. "description": "交易日(yyyyMMdd)",
  15628. "type": "string"
  15629. },
  15630. "trademode": {
  15631. "description": "交易模式",
  15632. "type": "integer"
  15633. },
  15634. "tradeproperty": {
  15635. "description": "交易属性",
  15636. "type": "integer"
  15637. },
  15638. "tradeqty": {
  15639. "description": "成交数量",
  15640. "type": "integer"
  15641. },
  15642. "unfreezecharge": {
  15643. "description": "解冻手续费",
  15644. "type": "number"
  15645. },
  15646. "unfreezemargin": {
  15647. "description": "解冻保证金",
  15648. "type": "number"
  15649. },
  15650. "updatetime": {
  15651. "description": "更新时间",
  15652. "type": "string"
  15653. },
  15654. "uuid": {
  15655. "description": "发起端唯一id",
  15656. "type": "string"
  15657. },
  15658. "validtime": {
  15659. "description": "有效期限",
  15660. "type": "string"
  15661. },
  15662. "validtype": {
  15663. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15664. "type": "integer"
  15665. },
  15666. "volumetype": {
  15667. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15668. "type": "integer"
  15669. }
  15670. }
  15671. },
  15672. "order.QueryTradeDetailRsp": {
  15673. "type": "object",
  15674. "required": [
  15675. "accountid",
  15676. "buyorsell",
  15677. "goodsid",
  15678. "marketid",
  15679. "memberuserid",
  15680. "orderid",
  15681. "tradeamount",
  15682. "tradedate",
  15683. "tradeid",
  15684. "tradeprice",
  15685. "tradeqty",
  15686. "tradetime"
  15687. ],
  15688. "properties": {
  15689. "accountid": {
  15690. "description": "账户ID[报价币种]",
  15691. "type": "integer"
  15692. },
  15693. "buildtype": {
  15694. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15695. "type": "integer"
  15696. },
  15697. "buyorsell": {
  15698. "description": "方向 - 0:买 1:卖",
  15699. "type": "integer"
  15700. },
  15701. "charge": {
  15702. "description": "手续费",
  15703. "type": "number"
  15704. },
  15705. "closecharge": {
  15706. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15707. "type": "number"
  15708. },
  15709. "closeexchagechargevalue": {
  15710. "description": "平仓交易所手续费设置值",
  15711. "type": "number"
  15712. },
  15713. "closefeealgorithm": {
  15714. "description": "平仓手续费收取方式 1:比率 2:固定",
  15715. "type": "integer"
  15716. },
  15717. "closememberchargevalue": {
  15718. "description": "平仓会员手续费设置值",
  15719. "type": "number"
  15720. },
  15721. "closepl": {
  15722. "description": "平仓盈亏",
  15723. "type": "number"
  15724. },
  15725. "closepl2": {
  15726. "description": "平仓盈亏[逐笔]",
  15727. "type": "number"
  15728. },
  15729. "closeqty": {
  15730. "description": "平仓数量(先建后平操作 需要记录)",
  15731. "type": "integer"
  15732. },
  15733. "creditamount": {
  15734. "description": "授信金额",
  15735. "type": "number"
  15736. },
  15737. "gcaccountid": {
  15738. "description": "账户ID[合约币种]",
  15739. "type": "integer"
  15740. },
  15741. "goodscode": {
  15742. "description": "商品代码",
  15743. "type": "string"
  15744. },
  15745. "goodsid": {
  15746. "description": "商品ID",
  15747. "type": "integer"
  15748. },
  15749. "goodsname": {
  15750. "description": "商品名称",
  15751. "type": "string"
  15752. },
  15753. "intclosepl": {
  15754. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15755. "type": "integer"
  15756. },
  15757. "isconfirmexercise": {
  15758. "description": "是否确认行权- 0:否 1:是",
  15759. "type": "integer"
  15760. },
  15761. "ismain": {
  15762. "description": "是否主单 - 0:不是 1:是",
  15763. "type": "integer"
  15764. },
  15765. "ispreexercise": {
  15766. "description": "是否预申报- 0:否 1:是",
  15767. "type": "integer"
  15768. },
  15769. "isreckoned": {
  15770. "description": "是否结算 - 0:未结算 1:已结算",
  15771. "type": "integer"
  15772. },
  15773. "listingselecttype": {
  15774. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15775. "type": "integer"
  15776. },
  15777. "marketid": {
  15778. "description": "市场ID",
  15779. "type": "integer"
  15780. },
  15781. "marketname": {
  15782. "description": "市场名称",
  15783. "type": "string"
  15784. },
  15785. "matchaccountid": {
  15786. "description": "对手账号id",
  15787. "type": "integer"
  15788. },
  15789. "memberuserid": {
  15790. "description": "会员id 个人投资者 需要填写",
  15791. "type": "integer"
  15792. },
  15793. "opencharge": {
  15794. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15795. "type": "number"
  15796. },
  15797. "openexchagechargevalue": {
  15798. "description": "建仓交易所手续费设置值",
  15799. "type": "number"
  15800. },
  15801. "openfeealgorithm": {
  15802. "description": "建仓手续费收取方式 1:比率 2:固定",
  15803. "type": "integer"
  15804. },
  15805. "openmemberchargevalue": {
  15806. "description": "建仓会员手续费设置值",
  15807. "type": "number"
  15808. },
  15809. "openqty": {
  15810. "description": "开仓数量(先建后平操作 需要记录)",
  15811. "type": "integer"
  15812. },
  15813. "optiontype": {
  15814. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15815. "type": "integer"
  15816. },
  15817. "orderid": {
  15818. "description": "委托单号",
  15819. "type": "string"
  15820. },
  15821. "performanceplanid": {
  15822. "description": "履约计划ID[期权]",
  15823. "type": "integer"
  15824. },
  15825. "performancestatus": {
  15826. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15827. "type": "integer"
  15828. },
  15829. "preexerciseprice": {
  15830. "description": "预申报价格",
  15831. "type": "number"
  15832. },
  15833. "premium": {
  15834. "description": "权利金 - [持仓单的权利金]",
  15835. "type": "number"
  15836. },
  15837. "relatedouttradeid": {
  15838. "description": "关联外部成交单ID",
  15839. "type": "integer"
  15840. },
  15841. "status": {
  15842. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15843. "type": "integer"
  15844. },
  15845. "tradeamount": {
  15846. "description": "成交金额[账户币种,用于所有权]",
  15847. "type": "number"
  15848. },
  15849. "tradedate": {
  15850. "description": "交易日(yyyyMMdd)",
  15851. "type": "string"
  15852. },
  15853. "tradeid": {
  15854. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15855. "type": "string"
  15856. },
  15857. "trademode": {
  15858. "description": "交易模式",
  15859. "type": "integer"
  15860. },
  15861. "tradeprice": {
  15862. "description": "成交价格",
  15863. "type": "number"
  15864. },
  15865. "tradeproperty": {
  15866. "description": "交易属性",
  15867. "type": "integer"
  15868. },
  15869. "tradeqty": {
  15870. "description": "成交数量",
  15871. "type": "integer"
  15872. },
  15873. "tradetime": {
  15874. "description": "成交时间",
  15875. "type": "string"
  15876. },
  15877. "tradetype": {
  15878. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15879. "type": "integer"
  15880. }
  15881. }
  15882. },
  15883. "order.QueryTradeOrderDetailRsp": {
  15884. "type": "object",
  15885. "required": [
  15886. "accountid",
  15887. "buildtype",
  15888. "buyorsell",
  15889. "goodsid",
  15890. "marketid",
  15891. "operatetype",
  15892. "orderqty",
  15893. "ordertime",
  15894. "pricemode",
  15895. "tradedate",
  15896. "validtype"
  15897. ],
  15898. "properties": {
  15899. "accountid": {
  15900. "description": "账户ID[报价币种]",
  15901. "type": "integer"
  15902. },
  15903. "buildtype": {
  15904. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15905. "type": "integer"
  15906. },
  15907. "buyorsell": {
  15908. "description": "买卖 - 0:买 1:卖",
  15909. "type": "integer"
  15910. },
  15911. "cancelorderid": {
  15912. "description": "撤单单号(撤单时填写)",
  15913. "type": "string"
  15914. },
  15915. "cancelqty": {
  15916. "description": "撤单数量",
  15917. "type": "integer"
  15918. },
  15919. "clienttype": {
  15920. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15921. "type": "integer"
  15922. },
  15923. "closefreezecharge": {
  15924. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15925. "type": "number"
  15926. },
  15927. "closeqty": {
  15928. "description": "平仓数量(先建后平操作 需要记录)",
  15929. "type": "integer"
  15930. },
  15931. "closetradeqty": {
  15932. "description": "平仓成交数量(先建后平操作,需要记录)",
  15933. "type": "integer"
  15934. },
  15935. "closeunfreezecharge": {
  15936. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15937. "type": "number"
  15938. },
  15939. "delistingtype": {
  15940. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15941. "type": "integer"
  15942. },
  15943. "enableqty": {
  15944. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  15945. "type": "integer"
  15946. },
  15947. "freezecharge": {
  15948. "description": "冻结手续费",
  15949. "type": "number"
  15950. },
  15951. "freezemargin": {
  15952. "description": "冻结保证金(冻结交易金额)",
  15953. "type": "number"
  15954. },
  15955. "goodscode": {
  15956. "description": "商品代码",
  15957. "type": "string"
  15958. },
  15959. "goodsid": {
  15960. "description": "商品ID",
  15961. "type": "integer"
  15962. },
  15963. "goodsname": {
  15964. "description": "商品名称",
  15965. "type": "string"
  15966. },
  15967. "listingselecttype": {
  15968. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15969. "type": "integer"
  15970. },
  15971. "marketid": {
  15972. "description": "市场ID",
  15973. "type": "integer"
  15974. },
  15975. "marketname": {
  15976. "description": "市场名称",
  15977. "type": "string"
  15978. },
  15979. "openfreezecharge": {
  15980. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15981. "type": "number"
  15982. },
  15983. "openqty": {
  15984. "description": "开仓数量(先建后平操作,需要记录)",
  15985. "type": "integer"
  15986. },
  15987. "opentradeqty": {
  15988. "description": "开仓成交数量(先建后平操作,需要记录)",
  15989. "type": "integer"
  15990. },
  15991. "openunfreezecharge": {
  15992. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15993. "type": "number"
  15994. },
  15995. "operatetype": {
  15996. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15997. "type": "integer"
  15998. },
  15999. "operatorid": {
  16000. "description": "登录账号(LoginID)",
  16001. "type": "integer"
  16002. },
  16003. "orderid": {
  16004. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16005. "type": "string"
  16006. },
  16007. "orderprice": {
  16008. "description": "委托价格",
  16009. "type": "number"
  16010. },
  16011. "orderqty": {
  16012. "description": "委托数量",
  16013. "type": "integer"
  16014. },
  16015. "ordersrc": {
  16016. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16017. "type": "integer"
  16018. },
  16019. "orderstatus": {
  16020. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16021. "type": "integer"
  16022. },
  16023. "ordertime": {
  16024. "description": "委托时间",
  16025. "type": "string"
  16026. },
  16027. "preorderid": {
  16028. "description": "关联预埋单号(止盈止损单时填写)",
  16029. "type": "string"
  16030. },
  16031. "pricemode": {
  16032. "description": "取价方式 - 1:市价 2: 限价",
  16033. "type": "integer"
  16034. },
  16035. "relatedid": {
  16036. "description": "关联单号(交割单)",
  16037. "type": "string"
  16038. },
  16039. "tradedate": {
  16040. "description": "交易日(yyyyMMdd)",
  16041. "type": "string"
  16042. },
  16043. "trademode": {
  16044. "description": "交易模式",
  16045. "type": "integer"
  16046. },
  16047. "tradeqty": {
  16048. "description": "成交数量",
  16049. "type": "integer"
  16050. },
  16051. "unfreezecharge": {
  16052. "description": "解冻手续费",
  16053. "type": "number"
  16054. },
  16055. "unfreezemargin": {
  16056. "description": "解冻保证金",
  16057. "type": "number"
  16058. },
  16059. "validtime": {
  16060. "description": "有效期限",
  16061. "type": "string"
  16062. },
  16063. "validtype": {
  16064. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16065. "type": "integer"
  16066. },
  16067. "volumetype": {
  16068. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16069. "type": "integer"
  16070. }
  16071. }
  16072. },
  16073. "order.QueryTradePositionRsp": {
  16074. "type": "object",
  16075. "required": [
  16076. "goodsid"
  16077. ],
  16078. "properties": {
  16079. "accountid": {
  16080. "description": "资金账户",
  16081. "type": "integer"
  16082. },
  16083. "agreeunit": {
  16084. "description": "合约单位",
  16085. "type": "number"
  16086. },
  16087. "averageprice": {
  16088. "description": "持仓均价",
  16089. "type": "number"
  16090. },
  16091. "buyorsell": {
  16092. "description": "方向 - 0:买 1:卖",
  16093. "type": "integer"
  16094. },
  16095. "closetotalqty": {
  16096. "description": "平仓总数量",
  16097. "type": "integer"
  16098. },
  16099. "curholderamount": {
  16100. "description": "当前持仓总金额[商品币种]",
  16101. "type": "number"
  16102. },
  16103. "curpositionqty": {
  16104. "description": "当前持仓总数量",
  16105. "type": "integer"
  16106. },
  16107. "currencyid": {
  16108. "description": "报价货币ID",
  16109. "type": "integer"
  16110. },
  16111. "curtdposition": {
  16112. "description": "期末今日头寸",
  16113. "type": "integer"
  16114. },
  16115. "decimalplace": {
  16116. "description": "报价小数位",
  16117. "type": "integer"
  16118. },
  16119. "enableqty": {
  16120. "description": "可用量",
  16121. "type": "integer"
  16122. },
  16123. "fretdposition": {
  16124. "description": "冻结今日头寸",
  16125. "type": "integer"
  16126. },
  16127. "frozenqty": {
  16128. "description": "持仓冻结数量",
  16129. "type": "integer"
  16130. },
  16131. "goodscode": {
  16132. "description": "商品代码",
  16133. "type": "string"
  16134. },
  16135. "goodsid": {
  16136. "description": "商品Id",
  16137. "type": "integer"
  16138. },
  16139. "goodsname": {
  16140. "description": "商品名称",
  16141. "type": "string"
  16142. },
  16143. "goodunit": {
  16144. "description": "报价单位",
  16145. "type": "string"
  16146. },
  16147. "goodunitid": {
  16148. "description": "报价单位ID",
  16149. "type": "integer"
  16150. },
  16151. "holderamount": {
  16152. "description": "期初持仓总金额[商品币种]",
  16153. "type": "number"
  16154. },
  16155. "marketid": {
  16156. "description": "所属市场ID",
  16157. "type": "integer"
  16158. },
  16159. "openreqqty": {
  16160. "description": "开仓申请数量(用于比较最大持仓数量)",
  16161. "type": "integer"
  16162. },
  16163. "opentotalqty": {
  16164. "description": "开仓总数量",
  16165. "type": "integer"
  16166. },
  16167. "otherfrozenqty": {
  16168. "description": "持仓其他冻结数量(交割冻结)",
  16169. "type": "integer"
  16170. },
  16171. "positionqty": {
  16172. "description": "期初持仓数量",
  16173. "type": "integer"
  16174. },
  16175. "tnqty": {
  16176. "description": "T+N冻结总量",
  16177. "type": "integer"
  16178. },
  16179. "tnusedqty": {
  16180. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16181. "type": "integer"
  16182. },
  16183. "trademode": {
  16184. "description": "交易模式",
  16185. "type": "integer"
  16186. },
  16187. "usedmargin": {
  16188. "description": "占用保证金[商品币种]",
  16189. "type": "number"
  16190. }
  16191. }
  16192. },
  16193. "quote.HistoryData": {
  16194. "type": "object",
  16195. "properties": {
  16196. "c": {
  16197. "description": "收盘价",
  16198. "type": "number"
  16199. },
  16200. "f": {
  16201. "description": "是否补充数据",
  16202. "type": "boolean"
  16203. },
  16204. "h": {
  16205. "description": "最高价",
  16206. "type": "number"
  16207. },
  16208. "hv": {
  16209. "description": "持仓量",
  16210. "type": "integer"
  16211. },
  16212. "l": {
  16213. "description": "最低价",
  16214. "type": "number"
  16215. },
  16216. "o": {
  16217. "description": "开盘价",
  16218. "type": "number"
  16219. },
  16220. "s": {
  16221. "description": "结算价,日线周期(包括)以上才有",
  16222. "type": "number"
  16223. },
  16224. "ts": {
  16225. "description": "时间",
  16226. "type": "string"
  16227. },
  16228. "tt": {
  16229. "description": "总金额",
  16230. "type": "number"
  16231. },
  16232. "tv": {
  16233. "description": "总量",
  16234. "type": "integer"
  16235. }
  16236. }
  16237. },
  16238. "quote.QueryTSDataRsp": {
  16239. "type": "object",
  16240. "properties": {
  16241. "decimalPlace": {
  16242. "description": "小数位",
  16243. "type": "integer"
  16244. },
  16245. "endTime": {
  16246. "description": "结束时间",
  16247. "type": "string"
  16248. },
  16249. "goodsCode": {
  16250. "description": "商品代码",
  16251. "type": "string"
  16252. },
  16253. "historyDatas": {
  16254. "description": "历史数据",
  16255. "type": "array",
  16256. "items": {
  16257. "$ref": "#/definitions/quote.HistoryData"
  16258. }
  16259. },
  16260. "outGoodsCode": {
  16261. "description": "外部商品代码",
  16262. "type": "string"
  16263. },
  16264. "preSettle": {
  16265. "description": "昨结",
  16266. "type": "number"
  16267. },
  16268. "startTime": {
  16269. "description": "开始时间",
  16270. "type": "string"
  16271. },
  16272. "tradeDate": {
  16273. "description": "交易日",
  16274. "type": "string"
  16275. }
  16276. }
  16277. },
  16278. "szdz.QueryConvertLogRsp": {
  16279. "type": "object",
  16280. "required": [
  16281. "logid"
  16282. ],
  16283. "properties": {
  16284. "accountid": {
  16285. "description": "资金账户ID",
  16286. "type": "integer"
  16287. },
  16288. "clientticket": {
  16289. "description": "客户端流水号",
  16290. "type": "string"
  16291. },
  16292. "converttype": {
  16293. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  16294. "type": "integer"
  16295. },
  16296. "createtime": {
  16297. "description": "记账时间",
  16298. "type": "string"
  16299. },
  16300. "daymaxvalue": {
  16301. "description": "配置当日最大转入限制",
  16302. "type": "number"
  16303. },
  16304. "daymaxvalue2": {
  16305. "description": "配置当日最大转入限制(转入)",
  16306. "type": "number"
  16307. },
  16308. "goodscode": {
  16309. "description": "商品代码",
  16310. "type": "string"
  16311. },
  16312. "goodsname": {
  16313. "description": "商品名称",
  16314. "type": "string"
  16315. },
  16316. "handlestatus": {
  16317. "description": "处理状态",
  16318. "type": "integer"
  16319. },
  16320. "innergoodsid": {
  16321. "description": "内部商品ID",
  16322. "type": "integer"
  16323. },
  16324. "inratio": {
  16325. "description": "配置转入比值",
  16326. "type": "integer"
  16327. },
  16328. "invalue": {
  16329. "description": "目标值",
  16330. "type": "number"
  16331. },
  16332. "logid": {
  16333. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16334. "type": "integer"
  16335. },
  16336. "mobile": {
  16337. "description": "手机号码(加密存储)",
  16338. "type": "string"
  16339. },
  16340. "outergoodscode": {
  16341. "description": "外部商品代码[JD\\PD]",
  16342. "type": "string"
  16343. },
  16344. "outratio": {
  16345. "description": "配置转出比值",
  16346. "type": "integer"
  16347. },
  16348. "outvalue": {
  16349. "description": "源值",
  16350. "type": "number"
  16351. },
  16352. "pddecimalplace": {
  16353. "description": "PD小数位",
  16354. "type": "integer"
  16355. },
  16356. "qty": {
  16357. "description": "数量",
  16358. "type": "string"
  16359. },
  16360. "remark": {
  16361. "description": "备注",
  16362. "type": "string"
  16363. },
  16364. "sessionid": {
  16365. "description": "会话ID",
  16366. "type": "integer"
  16367. },
  16368. "timemaxvalue": {
  16369. "description": "配置单次最大转入限制",
  16370. "type": "number"
  16371. },
  16372. "timemaxvalue2": {
  16373. "description": "配置单次最大转入限制(转入)",
  16374. "type": "number"
  16375. },
  16376. "timeminvalue": {
  16377. "description": "配置单次最小数量限制",
  16378. "type": "number"
  16379. },
  16380. "timeminvalue2": {
  16381. "description": "配置单次最小数量限制(转入)",
  16382. "type": "number"
  16383. },
  16384. "tradedate": {
  16385. "description": "交易日(yyyyMMdd)",
  16386. "type": "string"
  16387. },
  16388. "userid": {
  16389. "description": "用户ID",
  16390. "type": "integer"
  16391. }
  16392. }
  16393. },
  16394. "szdz.QueryGoodsPickupRsp": {
  16395. "type": "object",
  16396. "required": [
  16397. "takeorderid"
  16398. ],
  16399. "properties": {
  16400. "accountid": {
  16401. "description": "账户ID",
  16402. "type": "integer"
  16403. },
  16404. "address": {
  16405. "description": "提货人详细地址",
  16406. "type": "string"
  16407. },
  16408. "auditer": {
  16409. "description": "审核人",
  16410. "type": "integer"
  16411. },
  16412. "audittime": {
  16413. "description": "审核时间",
  16414. "type": "string"
  16415. },
  16416. "cardnum": {
  16417. "description": "提货人证件号码",
  16418. "type": "string"
  16419. },
  16420. "cardtypeid": {
  16421. "description": "提货人证件类型",
  16422. "type": "integer"
  16423. },
  16424. "checkremark": {
  16425. "description": "审核备注",
  16426. "type": "string"
  16427. },
  16428. "goodscode": {
  16429. "description": "商品代码",
  16430. "type": "string"
  16431. },
  16432. "goodsid": {
  16433. "description": "商品ID",
  16434. "type": "integer"
  16435. },
  16436. "goodsname": {
  16437. "description": "商品名称",
  16438. "type": "string"
  16439. },
  16440. "handlestatus": {
  16441. "description": "处理状态",
  16442. "type": "integer"
  16443. },
  16444. "marketid": {
  16445. "description": "市场ID",
  16446. "type": "integer"
  16447. },
  16448. "phonenum": {
  16449. "description": "提货人联系方式",
  16450. "type": "string"
  16451. },
  16452. "qty": {
  16453. "description": "提货数量",
  16454. "type": "number"
  16455. },
  16456. "recivername": {
  16457. "description": "提货人姓名",
  16458. "type": "string"
  16459. },
  16460. "reqtime": {
  16461. "description": "更新时间",
  16462. "type": "string"
  16463. },
  16464. "takemode": {
  16465. "description": "提货方式 - 2:自提 3:配送",
  16466. "type": "integer"
  16467. },
  16468. "takeorderid": {
  16469. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16470. "type": "string"
  16471. },
  16472. "takeorderstatus": {
  16473. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16474. "type": "integer"
  16475. },
  16476. "takeremark": {
  16477. "description": "提货备注",
  16478. "type": "string"
  16479. },
  16480. "tradedate": {
  16481. "description": "交易日(yyyyMMdd)",
  16482. "type": "string"
  16483. },
  16484. "userid": {
  16485. "description": "用户ID",
  16486. "type": "integer"
  16487. }
  16488. }
  16489. },
  16490. "szdz.QueryRecieptOrderRsp": {
  16491. "type": "object",
  16492. "required": [
  16493. "ordertime"
  16494. ],
  16495. "properties": {
  16496. "accountName": {
  16497. "description": "所属账号名称(已脱敏)",
  16498. "type": "string"
  16499. },
  16500. "accountid": {
  16501. "description": "资金账号",
  16502. "type": "integer"
  16503. },
  16504. "buyorsell": {
  16505. "description": "方向 - 0:买 1:卖",
  16506. "type": "integer"
  16507. },
  16508. "enableqty": {
  16509. "description": "可摘数量",
  16510. "type": "integer"
  16511. },
  16512. "goodscode": {
  16513. "description": "商品代码",
  16514. "type": "string"
  16515. },
  16516. "goodsid": {
  16517. "description": "商品ID",
  16518. "type": "integer"
  16519. },
  16520. "goodsname": {
  16521. "description": "商品名称",
  16522. "type": "string"
  16523. },
  16524. "orderid": {
  16525. "description": "委托单号",
  16526. "type": "string"
  16527. },
  16528. "orderprice": {
  16529. "description": "委托价格",
  16530. "type": "number"
  16531. },
  16532. "ordertime": {
  16533. "description": "委托时间",
  16534. "type": "string"
  16535. },
  16536. "tradedate": {
  16537. "description": "交易日(yyyyMMdd)",
  16538. "type": "string"
  16539. }
  16540. }
  16541. },
  16542. "szdz.QuerySZDZTradePositionRsp": {
  16543. "type": "object",
  16544. "properties": {
  16545. "accountid": {
  16546. "description": "账号Id",
  16547. "type": "integer"
  16548. },
  16549. "agreeunit": {
  16550. "description": "合约单位",
  16551. "type": "number"
  16552. },
  16553. "averageprice": {
  16554. "description": "持仓均价",
  16555. "type": "number"
  16556. },
  16557. "buyorsell": {
  16558. "description": "方向 - 0:买 1:卖",
  16559. "type": "integer"
  16560. },
  16561. "closetotalqty": {
  16562. "description": "平仓总数量",
  16563. "type": "integer"
  16564. },
  16565. "curholderamount": {
  16566. "description": "当前持仓总金额",
  16567. "type": "number"
  16568. },
  16569. "curpositionqty": {
  16570. "description": "当前持仓总数量",
  16571. "type": "integer"
  16572. },
  16573. "currencyid": {
  16574. "description": "报价货币ID",
  16575. "type": "integer"
  16576. },
  16577. "curtdposition": {
  16578. "description": "期末今日头寸",
  16579. "type": "integer"
  16580. },
  16581. "decimalplace": {
  16582. "description": "报价小数位",
  16583. "type": "integer"
  16584. },
  16585. "enableqty": {
  16586. "description": "可用量",
  16587. "type": "integer"
  16588. },
  16589. "fretdposition": {
  16590. "description": "冻结今日头寸",
  16591. "type": "integer"
  16592. },
  16593. "frozenqty": {
  16594. "description": "持仓冻结数量",
  16595. "type": "integer"
  16596. },
  16597. "goodscode": {
  16598. "description": "商品代码(内部)",
  16599. "type": "string"
  16600. },
  16601. "goodsid": {
  16602. "description": "商品Id",
  16603. "type": "integer"
  16604. },
  16605. "goodsname": {
  16606. "description": "商品名称",
  16607. "type": "string"
  16608. },
  16609. "goodunit": {
  16610. "description": "报价单位",
  16611. "type": "string"
  16612. },
  16613. "goodunitid": {
  16614. "description": "报价单位ID",
  16615. "type": "integer"
  16616. },
  16617. "holderamount": {
  16618. "description": "期初持仓总金额",
  16619. "type": "number"
  16620. },
  16621. "marketid": {
  16622. "description": "市场ID",
  16623. "type": "integer"
  16624. },
  16625. "openreqqty": {
  16626. "description": "开仓申请数量",
  16627. "type": "integer"
  16628. },
  16629. "opentotalqty": {
  16630. "description": "开仓总数量",
  16631. "type": "integer"
  16632. },
  16633. "otherfrozenqty": {
  16634. "description": "持仓其他冻结数量(交割冻结)",
  16635. "type": "integer"
  16636. },
  16637. "positionqty": {
  16638. "description": "期初持仓数量",
  16639. "type": "integer"
  16640. },
  16641. "szdz3freezqty": {
  16642. "description": "尚志大宗转换冻结总数量",
  16643. "type": "integer"
  16644. },
  16645. "tnqty": {
  16646. "description": "T+N冻结总量",
  16647. "type": "integer"
  16648. },
  16649. "tnusedqty": {
  16650. "description": "T+N使用量",
  16651. "type": "integer"
  16652. },
  16653. "trademode": {
  16654. "description": "交易模式",
  16655. "type": "integer"
  16656. },
  16657. "usedmargin": {
  16658. "description": "占用保证金",
  16659. "type": "number"
  16660. }
  16661. }
  16662. },
  16663. "taaccount.QueryAmountLogRsp": {
  16664. "type": "object",
  16665. "required": [
  16666. "accountid",
  16667. "amount",
  16668. "amountadjusttype",
  16669. "autoid",
  16670. "balance",
  16671. "createtime",
  16672. "currentbalance",
  16673. "operatetype"
  16674. ],
  16675. "properties": {
  16676. "OPERATETYPENAME": {
  16677. "description": "资金操作类型名称",
  16678. "type": "string"
  16679. },
  16680. "accountid": {
  16681. "description": "资金账户ID",
  16682. "type": "integer"
  16683. },
  16684. "agoodscode": {
  16685. "description": "竞拍商品代码",
  16686. "type": "string"
  16687. },
  16688. "agoodsname": {
  16689. "description": "竞拍商品名称",
  16690. "type": "string"
  16691. },
  16692. "amount": {
  16693. "description": "资金金额",
  16694. "type": "number"
  16695. },
  16696. "amountadjusttype": {
  16697. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16698. "type": "integer"
  16699. },
  16700. "autoid": {
  16701. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16702. "type": "integer"
  16703. },
  16704. "balance": {
  16705. "description": "期初余额",
  16706. "type": "number"
  16707. },
  16708. "businesscode": {
  16709. "description": "业务编号",
  16710. "type": "integer"
  16711. },
  16712. "createtime": {
  16713. "description": "发生时间",
  16714. "type": "string"
  16715. },
  16716. "currencyid": {
  16717. "description": "币种ID",
  16718. "type": "integer"
  16719. },
  16720. "currentbalance": {
  16721. "description": "期末余额(变动后金额)",
  16722. "type": "number"
  16723. },
  16724. "dgoodscode": {
  16725. "description": "交割商品代码",
  16726. "type": "string"
  16727. },
  16728. "dgoodsname": {
  16729. "description": "交割商品名称",
  16730. "type": "string"
  16731. },
  16732. "goodscode": {
  16733. "description": "商品代码",
  16734. "type": "string"
  16735. },
  16736. "goodsid": {
  16737. "description": "商品ID",
  16738. "type": "integer"
  16739. },
  16740. "goodsname": {
  16741. "description": "商品名称",
  16742. "type": "string"
  16743. },
  16744. "marketid": {
  16745. "description": "市场ID",
  16746. "type": "integer"
  16747. },
  16748. "marketname": {
  16749. "description": "市场名称",
  16750. "type": "string"
  16751. },
  16752. "moneyticket": {
  16753. "description": "资金流水号:银行端流水号",
  16754. "type": "integer"
  16755. },
  16756. "operatetype": {
  16757. "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:营销收款",
  16758. "type": "integer"
  16759. },
  16760. "relationorderid": {
  16761. "description": "关联单号",
  16762. "type": "string"
  16763. },
  16764. "remark": {
  16765. "description": "备注",
  16766. "type": "string"
  16767. },
  16768. "trademode": {
  16769. "description": "交易模式",
  16770. "type": "integer"
  16771. }
  16772. }
  16773. },
  16774. "taaccount.QueryHisAmountLogRsp": {
  16775. "type": "object",
  16776. "required": [
  16777. "accountid",
  16778. "amount",
  16779. "amountadjusttype",
  16780. "autoid",
  16781. "balance",
  16782. "createtime",
  16783. "currentbalance",
  16784. "histradedate",
  16785. "operatetype"
  16786. ],
  16787. "properties": {
  16788. "OPERATETYPENAME": {
  16789. "description": "资金操作类型名称",
  16790. "type": "string"
  16791. },
  16792. "accountid": {
  16793. "description": "资金账户ID",
  16794. "type": "integer"
  16795. },
  16796. "agoodscode": {
  16797. "description": "竞拍商品代码",
  16798. "type": "string"
  16799. },
  16800. "agoodsname": {
  16801. "description": "竞拍商品名称",
  16802. "type": "string"
  16803. },
  16804. "amount": {
  16805. "description": "资金金额",
  16806. "type": "number"
  16807. },
  16808. "amountadjusttype": {
  16809. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16810. "type": "integer"
  16811. },
  16812. "autoid": {
  16813. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16814. "type": "integer"
  16815. },
  16816. "balance": {
  16817. "description": "期初余额",
  16818. "type": "number"
  16819. },
  16820. "businesscode": {
  16821. "description": "业务编号",
  16822. "type": "integer"
  16823. },
  16824. "createtime": {
  16825. "description": "发生时间",
  16826. "type": "string"
  16827. },
  16828. "currencyid": {
  16829. "description": "币种ID",
  16830. "type": "integer"
  16831. },
  16832. "currentbalance": {
  16833. "description": "期末余额(变动后金额)",
  16834. "type": "number"
  16835. },
  16836. "dgoodscode": {
  16837. "description": "交割商品代码",
  16838. "type": "string"
  16839. },
  16840. "dgoodsname": {
  16841. "description": "交割商品名称",
  16842. "type": "string"
  16843. },
  16844. "goodscode": {
  16845. "description": "商品代码",
  16846. "type": "string"
  16847. },
  16848. "goodsid": {
  16849. "description": "商品ID",
  16850. "type": "integer"
  16851. },
  16852. "goodsname": {
  16853. "description": "商品名称",
  16854. "type": "string"
  16855. },
  16856. "histradedate": {
  16857. "description": "历史交易日",
  16858. "type": "string"
  16859. },
  16860. "isvaliddata": {
  16861. "description": "是否有效 - 0:无效 1:有效",
  16862. "type": "integer"
  16863. },
  16864. "marketid": {
  16865. "description": "市场ID",
  16866. "type": "integer"
  16867. },
  16868. "marketname": {
  16869. "description": "市场名称",
  16870. "type": "string"
  16871. },
  16872. "moneyticket": {
  16873. "description": "资金流水号:银行端流水号",
  16874. "type": "integer"
  16875. },
  16876. "operatetype": {
  16877. "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:营销收款",
  16878. "type": "integer"
  16879. },
  16880. "relationorderid": {
  16881. "description": "关联单号",
  16882. "type": "string"
  16883. },
  16884. "remark": {
  16885. "description": "备注",
  16886. "type": "string"
  16887. },
  16888. "trademode": {
  16889. "description": "交易模式",
  16890. "type": "integer"
  16891. }
  16892. }
  16893. },
  16894. "trade.QueryRecieptOrderRsp": {
  16895. "type": "object",
  16896. "required": [
  16897. "ordertime"
  16898. ],
  16899. "properties": {
  16900. "accountName": {
  16901. "description": "所属账号名称(已脱敏)",
  16902. "type": "string"
  16903. },
  16904. "accountid": {
  16905. "description": "资金账号",
  16906. "type": "integer"
  16907. },
  16908. "buyorsell": {
  16909. "description": "方向 - 0:买 1:卖",
  16910. "type": "integer"
  16911. },
  16912. "enableqty": {
  16913. "description": "可摘数量",
  16914. "type": "integer"
  16915. },
  16916. "goodscode": {
  16917. "description": "商品代码",
  16918. "type": "string"
  16919. },
  16920. "goodsid": {
  16921. "description": "商品ID",
  16922. "type": "integer"
  16923. },
  16924. "goodsname": {
  16925. "description": "商品名称",
  16926. "type": "string"
  16927. },
  16928. "orderid": {
  16929. "description": "委托单号",
  16930. "type": "string"
  16931. },
  16932. "orderprice": {
  16933. "description": "委托价格",
  16934. "type": "number"
  16935. },
  16936. "ordertime": {
  16937. "description": "委托时间",
  16938. "type": "string"
  16939. },
  16940. "tradedate": {
  16941. "description": "交易日(yyyyMMdd)",
  16942. "type": "string"
  16943. }
  16944. }
  16945. }
  16946. },
  16947. "securityDefinitions": {
  16948. "ApiKeyAuth": {
  16949. "type": "apiKey",
  16950. "name": "Authorization",
  16951. "in": "header"
  16952. }
  16953. }
  16954. }