swagger.json 616 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076
  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/QueryErmcpTradePosition": {
  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": "accountID",
  1663. "in": "query",
  1664. "required": true
  1665. },
  1666. {
  1667. "type": "integer",
  1668. "description": "所属市场ID",
  1669. "name": "marketID",
  1670. "in": "query"
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  1678. }
  1679. },
  1680. "500": {
  1681. "description": "Internal Server Error",
  1682. "schema": {
  1683. "$ref": "#/definitions/app.Response"
  1684. }
  1685. }
  1686. }
  1687. }
  1688. },
  1689. "/Ermcp/QueryExposureDetail": {
  1690. "get": {
  1691. "security": [
  1692. {
  1693. "ApiKeyAuth": []
  1694. }
  1695. ],
  1696. "produces": [
  1697. "application/json"
  1698. ],
  1699. "tags": [
  1700. "企业风险管理(app)"
  1701. ],
  1702. "summary": "查询敞口现货明细",
  1703. "parameters": [
  1704. {
  1705. "type": "integer",
  1706. "description": "所属机构ID",
  1707. "name": "areaUserId",
  1708. "in": "query",
  1709. "required": true
  1710. },
  1711. {
  1712. "type": "integer",
  1713. "description": "套保商品",
  1714. "name": "middleGoodsId",
  1715. "in": "query",
  1716. "required": true
  1717. }
  1718. ],
  1719. "responses": {
  1720. "200": {
  1721. "description": "OK",
  1722. "schema": {
  1723. "type": "array",
  1724. "items": {
  1725. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  1726. }
  1727. }
  1728. },
  1729. "500": {
  1730. "description": "Internal Server Error",
  1731. "schema": {
  1732. "$ref": "#/definitions/app.Response"
  1733. }
  1734. }
  1735. }
  1736. }
  1737. },
  1738. "/Ermcp/QueryExposureHedgePosition": {
  1739. "get": {
  1740. "security": [
  1741. {
  1742. "ApiKeyAuth": []
  1743. }
  1744. ],
  1745. "produces": [
  1746. "application/json"
  1747. ],
  1748. "tags": [
  1749. "企业风险管理(app)"
  1750. ],
  1751. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  1752. "parameters": [
  1753. {
  1754. "type": "integer",
  1755. "description": "所属机构ID",
  1756. "name": "areaUserId",
  1757. "in": "query",
  1758. "required": true
  1759. }
  1760. ],
  1761. "responses": {
  1762. "200": {
  1763. "description": "OK",
  1764. "schema": {
  1765. "type": "array",
  1766. "items": {
  1767. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  1768. }
  1769. }
  1770. },
  1771. "500": {
  1772. "description": "Internal Server Error",
  1773. "schema": {
  1774. "$ref": "#/definitions/app.Response"
  1775. }
  1776. }
  1777. }
  1778. }
  1779. },
  1780. "/Ermcp/QueryExposureHedgePositionDetail": {
  1781. "get": {
  1782. "security": [
  1783. {
  1784. "ApiKeyAuth": []
  1785. }
  1786. ],
  1787. "produces": [
  1788. "application/json"
  1789. ],
  1790. "tags": [
  1791. "企业风险管理(app)"
  1792. ],
  1793. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  1794. "parameters": [
  1795. {
  1796. "type": "integer",
  1797. "description": "所属机构ID",
  1798. "name": "areaUserId",
  1799. "in": "query",
  1800. "required": true
  1801. },
  1802. {
  1803. "type": "integer",
  1804. "description": "商品id",
  1805. "name": "goodsId",
  1806. "in": "query",
  1807. "required": true
  1808. }
  1809. ],
  1810. "responses": {
  1811. "200": {
  1812. "description": "OK",
  1813. "schema": {
  1814. "type": "array",
  1815. "items": {
  1816. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  1817. }
  1818. }
  1819. },
  1820. "500": {
  1821. "description": "Internal Server Error",
  1822. "schema": {
  1823. "$ref": "#/definitions/app.Response"
  1824. }
  1825. }
  1826. }
  1827. }
  1828. },
  1829. "/Ermcp/QueryExposureSpot": {
  1830. "get": {
  1831. "security": [
  1832. {
  1833. "ApiKeyAuth": []
  1834. }
  1835. ],
  1836. "produces": [
  1837. "application/json"
  1838. ],
  1839. "tags": [
  1840. "企业风险管理(app)"
  1841. ],
  1842. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  1843. "parameters": [
  1844. {
  1845. "type": "integer",
  1846. "description": "所属机构ID",
  1847. "name": "areaUserId",
  1848. "in": "query",
  1849. "required": true
  1850. }
  1851. ],
  1852. "responses": {
  1853. "200": {
  1854. "description": "OK",
  1855. "schema": {
  1856. "type": "array",
  1857. "items": {
  1858. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  1859. }
  1860. }
  1861. },
  1862. "500": {
  1863. "description": "Internal Server Error",
  1864. "schema": {
  1865. "$ref": "#/definitions/app.Response"
  1866. }
  1867. }
  1868. }
  1869. }
  1870. },
  1871. "/Ermcp/QueryExposureSpotDetail": {
  1872. "get": {
  1873. "security": [
  1874. {
  1875. "ApiKeyAuth": []
  1876. }
  1877. ],
  1878. "produces": [
  1879. "application/json"
  1880. ],
  1881. "tags": [
  1882. "企业风险管理(app)"
  1883. ],
  1884. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  1885. "parameters": [
  1886. {
  1887. "type": "integer",
  1888. "description": "所属机构ID",
  1889. "name": "areaUserId",
  1890. "in": "query",
  1891. "required": true
  1892. },
  1893. {
  1894. "type": "integer",
  1895. "description": "现货品种ID",
  1896. "name": "wrstandardId",
  1897. "in": "query",
  1898. "required": true
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryGGConvertConfig": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "品种id(不填则查所有)",
  1938. "name": "goodsgroupid",
  1939. "in": "query"
  1940. }
  1941. ],
  1942. "responses": {
  1943. "200": {
  1944. "description": "OK",
  1945. "schema": {
  1946. "type": "array",
  1947. "items": {
  1948. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  1949. }
  1950. }
  1951. },
  1952. "500": {
  1953. "description": "Internal Server Error",
  1954. "schema": {
  1955. "$ref": "#/definitions/app.Response"
  1956. }
  1957. }
  1958. }
  1959. }
  1960. },
  1961. "/Ermcp/QueryHedgePlan": {
  1962. "get": {
  1963. "security": [
  1964. {
  1965. "ApiKeyAuth": []
  1966. }
  1967. ],
  1968. "produces": [
  1969. "application/json"
  1970. ],
  1971. "tags": [
  1972. "企业风险管理(app)"
  1973. ],
  1974. "summary": "查询套保计划",
  1975. "parameters": [
  1976. {
  1977. "type": "integer",
  1978. "description": "用户ID",
  1979. "name": "userId",
  1980. "in": "query",
  1981. "required": true
  1982. },
  1983. {
  1984. "type": "string",
  1985. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  1986. "name": "HedgePlanStatus",
  1987. "in": "query",
  1988. "required": true
  1989. }
  1990. ],
  1991. "responses": {
  1992. "200": {
  1993. "description": "OK",
  1994. "schema": {
  1995. "type": "array",
  1996. "items": {
  1997. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  1998. }
  1999. }
  2000. },
  2001. "500": {
  2002. "description": "Internal Server Error",
  2003. "schema": {
  2004. "$ref": "#/definitions/app.Response"
  2005. }
  2006. }
  2007. }
  2008. }
  2009. },
  2010. "/Ermcp/QueryHisExposure": {
  2011. "get": {
  2012. "security": [
  2013. {
  2014. "ApiKeyAuth": []
  2015. }
  2016. ],
  2017. "produces": [
  2018. "application/json"
  2019. ],
  2020. "tags": [
  2021. "企业风险管理(app)"
  2022. ],
  2023. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2024. "parameters": [
  2025. {
  2026. "type": "integer",
  2027. "description": "所属机构ID",
  2028. "name": "areaUserId",
  2029. "in": "query",
  2030. "required": true
  2031. },
  2032. {
  2033. "type": "integer",
  2034. "description": "每个品种记录数",
  2035. "name": "lastNum",
  2036. "in": "query",
  2037. "required": true
  2038. }
  2039. ],
  2040. "responses": {
  2041. "200": {
  2042. "description": "OK",
  2043. "schema": {
  2044. "type": "array",
  2045. "items": {
  2046. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2047. }
  2048. }
  2049. },
  2050. "500": {
  2051. "description": "Internal Server Error",
  2052. "schema": {
  2053. "$ref": "#/definitions/app.Response"
  2054. }
  2055. }
  2056. }
  2057. }
  2058. },
  2059. "/Ermcp/QueryMiddleGoods": {
  2060. "get": {
  2061. "security": [
  2062. {
  2063. "ApiKeyAuth": []
  2064. }
  2065. ],
  2066. "produces": [
  2067. "application/json"
  2068. ],
  2069. "tags": [
  2070. "企业风险管理(app)"
  2071. ],
  2072. "summary": "查询套保品种(菜单:套保品种)",
  2073. "parameters": [
  2074. {
  2075. "type": "integer",
  2076. "description": "所属机构ID",
  2077. "name": "userid",
  2078. "in": "query",
  2079. "required": true
  2080. },
  2081. {
  2082. "type": "integer",
  2083. "description": "状态 0-停用 1-正常",
  2084. "name": "status",
  2085. "in": "query",
  2086. "required": true
  2087. }
  2088. ],
  2089. "responses": {
  2090. "200": {
  2091. "description": "OK",
  2092. "schema": {
  2093. "type": "array",
  2094. "items": {
  2095. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2096. }
  2097. }
  2098. },
  2099. "500": {
  2100. "description": "Internal Server Error",
  2101. "schema": {
  2102. "$ref": "#/definitions/app.Response"
  2103. }
  2104. }
  2105. }
  2106. }
  2107. },
  2108. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2109. "get": {
  2110. "security": [
  2111. {
  2112. "ApiKeyAuth": []
  2113. }
  2114. ],
  2115. "produces": [
  2116. "application/json"
  2117. ],
  2118. "tags": [
  2119. "企业风险管理(app)"
  2120. ],
  2121. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2122. "parameters": [
  2123. {
  2124. "type": "integer",
  2125. "description": "所属机构ID",
  2126. "name": "userid",
  2127. "in": "query",
  2128. "required": true
  2129. },
  2130. {
  2131. "type": "integer",
  2132. "description": "套保品种id",
  2133. "name": "middlegoodsid",
  2134. "in": "query",
  2135. "required": true
  2136. }
  2137. ],
  2138. "responses": {
  2139. "200": {
  2140. "description": "OK",
  2141. "schema": {
  2142. "type": "array",
  2143. "items": {
  2144. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2145. }
  2146. }
  2147. },
  2148. "500": {
  2149. "description": "Internal Server Error",
  2150. "schema": {
  2151. "$ref": "#/definitions/app.Response"
  2152. }
  2153. }
  2154. }
  2155. }
  2156. },
  2157. "/Ermcp/QueryMiddleGoodsDetail": {
  2158. "get": {
  2159. "security": [
  2160. {
  2161. "ApiKeyAuth": []
  2162. }
  2163. ],
  2164. "produces": [
  2165. "application/json"
  2166. ],
  2167. "tags": [
  2168. "企业风险管理(app)"
  2169. ],
  2170. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2171. "parameters": [
  2172. {
  2173. "type": "integer",
  2174. "description": "所属机构ID",
  2175. "name": "userid",
  2176. "in": "query",
  2177. "required": true
  2178. },
  2179. {
  2180. "type": "integer",
  2181. "description": "套保品种id",
  2182. "name": "middlegoodsid",
  2183. "in": "query",
  2184. "required": true
  2185. }
  2186. ],
  2187. "responses": {
  2188. "200": {
  2189. "description": "OK",
  2190. "schema": {
  2191. "type": "array",
  2192. "items": {
  2193. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  2194. }
  2195. }
  2196. },
  2197. "500": {
  2198. "description": "Internal Server Error",
  2199. "schema": {
  2200. "$ref": "#/definitions/app.Response"
  2201. }
  2202. }
  2203. }
  2204. }
  2205. },
  2206. "/Ermcp/QueryRealtimeExposure": {
  2207. "get": {
  2208. "security": [
  2209. {
  2210. "ApiKeyAuth": []
  2211. }
  2212. ],
  2213. "produces": [
  2214. "application/json"
  2215. ],
  2216. "tags": [
  2217. "企业风险管理(app)"
  2218. ],
  2219. "summary": "查询实时敞口",
  2220. "parameters": [
  2221. {
  2222. "type": "integer",
  2223. "description": "所属机构ID",
  2224. "name": "AreaUserID",
  2225. "in": "query",
  2226. "required": true
  2227. }
  2228. ],
  2229. "responses": {
  2230. "200": {
  2231. "description": "OK",
  2232. "schema": {
  2233. "type": "array",
  2234. "items": {
  2235. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  2236. }
  2237. }
  2238. },
  2239. "500": {
  2240. "description": "Internal Server Error",
  2241. "schema": {
  2242. "$ref": "#/definitions/app.Response"
  2243. }
  2244. }
  2245. }
  2246. }
  2247. },
  2248. "/Ermcp/QueryRealtimeExposurePosition": {
  2249. "get": {
  2250. "security": [
  2251. {
  2252. "ApiKeyAuth": []
  2253. }
  2254. ],
  2255. "produces": [
  2256. "application/json"
  2257. ],
  2258. "tags": [
  2259. "企业风险管理(app)"
  2260. ],
  2261. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  2262. "parameters": [
  2263. {
  2264. "type": "integer",
  2265. "description": "所属机构ID",
  2266. "name": "areaUserId",
  2267. "in": "query",
  2268. "required": true
  2269. },
  2270. {
  2271. "type": "integer",
  2272. "description": "套保商品ID",
  2273. "name": "middleGoodsId",
  2274. "in": "query",
  2275. "required": true
  2276. }
  2277. ],
  2278. "responses": {
  2279. "200": {
  2280. "description": "OK",
  2281. "schema": {
  2282. "type": "array",
  2283. "items": {
  2284. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  2285. }
  2286. }
  2287. },
  2288. "500": {
  2289. "description": "Internal Server Error",
  2290. "schema": {
  2291. "$ref": "#/definitions/app.Response"
  2292. }
  2293. }
  2294. }
  2295. }
  2296. },
  2297. "/Ermcp/QuerySpotContract": {
  2298. "get": {
  2299. "security": [
  2300. {
  2301. "ApiKeyAuth": []
  2302. }
  2303. ],
  2304. "produces": [
  2305. "application/json"
  2306. ],
  2307. "tags": [
  2308. "企业风险管理(app)"
  2309. ],
  2310. "summary": "查询现货合同(对应现货合同菜单)",
  2311. "parameters": [
  2312. {
  2313. "type": "integer",
  2314. "description": "用户ID",
  2315. "name": "userId",
  2316. "in": "query",
  2317. "required": true
  2318. },
  2319. {
  2320. "type": "integer",
  2321. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  2322. "name": "QueryType",
  2323. "in": "query",
  2324. "required": true
  2325. }
  2326. ],
  2327. "responses": {
  2328. "200": {
  2329. "description": "OK",
  2330. "schema": {
  2331. "type": "array",
  2332. "items": {
  2333. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  2334. }
  2335. }
  2336. },
  2337. "500": {
  2338. "description": "Internal Server Error",
  2339. "schema": {
  2340. "$ref": "#/definitions/app.Response"
  2341. }
  2342. }
  2343. }
  2344. }
  2345. },
  2346. "/Ermcp/QueryUserInfo": {
  2347. "get": {
  2348. "security": [
  2349. {
  2350. "ApiKeyAuth": []
  2351. }
  2352. ],
  2353. "produces": [
  2354. "application/json"
  2355. ],
  2356. "tags": [
  2357. "企业风险管理(app)"
  2358. ],
  2359. "summary": "查询客户资料",
  2360. "parameters": [
  2361. {
  2362. "type": "integer",
  2363. "description": "所属机构用户ID",
  2364. "name": "MemberUserID",
  2365. "in": "query",
  2366. "required": true
  2367. },
  2368. {
  2369. "type": "integer",
  2370. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  2371. "name": "queryType",
  2372. "in": "query",
  2373. "required": true
  2374. }
  2375. ],
  2376. "responses": {
  2377. "200": {
  2378. "description": "OK",
  2379. "schema": {
  2380. "type": "array",
  2381. "items": {
  2382. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  2383. }
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryWrStandard": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询现货商品",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "userid",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "状态 0-停用 1-正常",
  2420. "name": "status",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.QryWrStandardRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryWrStandardDetail": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询现货商品详情(菜单:现货品种/现货品种详情)",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "所属机构ID",
  2462. "name": "userid",
  2463. "in": "query",
  2464. "required": true
  2465. },
  2466. {
  2467. "type": "integer",
  2468. "description": "现货商品ID",
  2469. "name": "wrstandardid",
  2470. "in": "query",
  2471. "required": true
  2472. }
  2473. ],
  2474. "responses": {
  2475. "200": {
  2476. "description": "OK",
  2477. "schema": {
  2478. "type": "array",
  2479. "items": {
  2480. "$ref": "#/definitions/ermcp.QryWrStandardDetailRsp"
  2481. }
  2482. }
  2483. },
  2484. "500": {
  2485. "description": "Internal Server Error",
  2486. "schema": {
  2487. "$ref": "#/definitions/app.Response"
  2488. }
  2489. }
  2490. }
  2491. }
  2492. },
  2493. "/Erms2/QueryArbitrageStrategy": {
  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": "账户ID",
  2511. "name": "userid",
  2512. "in": "query",
  2513. "required": true
  2514. },
  2515. {
  2516. "type": "string",
  2517. "description": "商品组ID(品种ID)",
  2518. "name": "goodsgroupid",
  2519. "in": "query"
  2520. }
  2521. ],
  2522. "responses": {
  2523. "200": {
  2524. "description": "OK",
  2525. "schema": {
  2526. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  2527. }
  2528. },
  2529. "500": {
  2530. "description": "Internal Server Error",
  2531. "schema": {
  2532. "$ref": "#/definitions/app.Response"
  2533. }
  2534. }
  2535. }
  2536. }
  2537. },
  2538. "/Erms2/QueryInnerTradeDetail": {
  2539. "get": {
  2540. "security": [
  2541. {
  2542. "ApiKeyAuth": []
  2543. }
  2544. ],
  2545. "produces": [
  2546. "application/json"
  2547. ],
  2548. "tags": [
  2549. "风险管理"
  2550. ],
  2551. "summary": "查询内部成交单信息",
  2552. "parameters": [
  2553. {
  2554. "type": "integer",
  2555. "description": "资金账户",
  2556. "name": "accountid",
  2557. "in": "query",
  2558. "required": true
  2559. }
  2560. ],
  2561. "responses": {
  2562. "200": {
  2563. "description": "OK",
  2564. "schema": {
  2565. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Erms2/QuerySpotContract": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "风险管理"
  2589. ],
  2590. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "策略申请ID",
  2595. "name": "asapplyid",
  2596. "in": "query",
  2597. "required": true
  2598. },
  2599. {
  2600. "type": "integer",
  2601. "description": "现货合同ID",
  2602. "name": "spotcontractid",
  2603. "in": "query"
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  2611. }
  2612. },
  2613. "500": {
  2614. "description": "Internal Server Error",
  2615. "schema": {
  2616. "$ref": "#/definitions/app.Response"
  2617. }
  2618. }
  2619. }
  2620. }
  2621. },
  2622. "/Erms3/AddErms2ASApply": {
  2623. "post": {
  2624. "security": [
  2625. {
  2626. "ApiKeyAuth": []
  2627. }
  2628. ],
  2629. "produces": [
  2630. "application/json"
  2631. ],
  2632. "tags": [
  2633. "风险管理v3"
  2634. ],
  2635. "summary": "新增期现套利业务申请",
  2636. "parameters": [
  2637. {
  2638. "description": "申请参数",
  2639. "name": "jsonBody",
  2640. "in": "body",
  2641. "required": true,
  2642. "schema": {
  2643. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  2644. }
  2645. }
  2646. ],
  2647. "responses": {
  2648. "200": {
  2649. "description": "OK",
  2650. "schema": {
  2651. "$ref": "#/definitions/app.Response"
  2652. }
  2653. },
  2654. "500": {
  2655. "description": "Internal Server Error",
  2656. "schema": {
  2657. "$ref": "#/definitions/app.Response"
  2658. }
  2659. }
  2660. }
  2661. }
  2662. },
  2663. "/Erms3/AddErms2SpotTradeApply": {
  2664. "post": {
  2665. "security": [
  2666. {
  2667. "ApiKeyAuth": []
  2668. }
  2669. ],
  2670. "produces": [
  2671. "application/json"
  2672. ],
  2673. "tags": [
  2674. "风险管理v3"
  2675. ],
  2676. "summary": "新增现货贸易业务申请",
  2677. "parameters": [
  2678. {
  2679. "description": "申请参数",
  2680. "name": "jsonBody",
  2681. "in": "body",
  2682. "required": true,
  2683. "schema": {
  2684. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  2685. }
  2686. }
  2687. ],
  2688. "responses": {
  2689. "200": {
  2690. "description": "OK",
  2691. "schema": {
  2692. "$ref": "#/definitions/app.Response"
  2693. }
  2694. },
  2695. "500": {
  2696. "description": "Internal Server Error",
  2697. "schema": {
  2698. "$ref": "#/definitions/app.Response"
  2699. }
  2700. }
  2701. }
  2702. }
  2703. },
  2704. "/Erms3/AddSpotContractApply": {
  2705. "post": {
  2706. "security": [
  2707. {
  2708. "ApiKeyAuth": []
  2709. }
  2710. ],
  2711. "produces": [
  2712. "application/json"
  2713. ],
  2714. "tags": [
  2715. "风险管理v3"
  2716. ],
  2717. "summary": "新增现货合同申请",
  2718. "parameters": [
  2719. {
  2720. "description": "申请参数",
  2721. "name": "jsonBody",
  2722. "in": "body",
  2723. "required": true,
  2724. "schema": {
  2725. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  2726. }
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  2734. }
  2735. },
  2736. "500": {
  2737. "description": "Internal Server Error",
  2738. "schema": {
  2739. "$ref": "#/definitions/app.Response"
  2740. }
  2741. }
  2742. }
  2743. }
  2744. },
  2745. "/Erms3/AddUserInfoApply": {
  2746. "post": {
  2747. "security": [
  2748. {
  2749. "ApiKeyAuth": []
  2750. }
  2751. ],
  2752. "produces": [
  2753. "application/json"
  2754. ],
  2755. "tags": [
  2756. "风险管理v3"
  2757. ],
  2758. "summary": "新增客户申请",
  2759. "parameters": [
  2760. {
  2761. "description": "用户信息",
  2762. "name": "jsonBody",
  2763. "in": "body",
  2764. "required": true,
  2765. "schema": {
  2766. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  2767. }
  2768. }
  2769. ],
  2770. "responses": {
  2771. "200": {
  2772. "description": "OK",
  2773. "schema": {
  2774. "$ref": "#/definitions/app.Response"
  2775. }
  2776. },
  2777. "500": {
  2778. "description": "Internal Server Error",
  2779. "schema": {
  2780. "$ref": "#/definitions/app.Response"
  2781. }
  2782. }
  2783. }
  2784. }
  2785. },
  2786. "/Erms3/ModifyUserInfoApply": {
  2787. "post": {
  2788. "security": [
  2789. {
  2790. "ApiKeyAuth": []
  2791. }
  2792. ],
  2793. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  2794. "produces": [
  2795. "application/json"
  2796. ],
  2797. "tags": [
  2798. "风险管理v3"
  2799. ],
  2800. "summary": "修改客户申请",
  2801. "parameters": [
  2802. {
  2803. "description": "用户信息",
  2804. "name": "jsonBody",
  2805. "in": "body",
  2806. "required": true,
  2807. "schema": {
  2808. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  2809. }
  2810. }
  2811. ],
  2812. "responses": {
  2813. "200": {
  2814. "description": "OK",
  2815. "schema": {
  2816. "$ref": "#/definitions/app.Response"
  2817. }
  2818. },
  2819. "500": {
  2820. "description": "Internal Server Error",
  2821. "schema": {
  2822. "$ref": "#/definitions/app.Response"
  2823. }
  2824. }
  2825. }
  2826. }
  2827. },
  2828. "/Erms3/QueryBusinessInfo": {
  2829. "get": {
  2830. "security": [
  2831. {
  2832. "ApiKeyAuth": []
  2833. }
  2834. ],
  2835. "produces": [
  2836. "application/json"
  2837. ],
  2838. "tags": [
  2839. "风险管理v3"
  2840. ],
  2841. "summary": "查询业务表单数据",
  2842. "parameters": [
  2843. {
  2844. "type": "string",
  2845. "description": "资金账号ID列表,用逗号分隔",
  2846. "name": "accountids",
  2847. "in": "query",
  2848. "required": true
  2849. },
  2850. {
  2851. "type": "integer",
  2852. "description": "状态,0为未结束 1为已结束",
  2853. "name": "status",
  2854. "in": "query",
  2855. "required": true
  2856. }
  2857. ],
  2858. "responses": {
  2859. "200": {
  2860. "description": "OK",
  2861. "schema": {
  2862. "type": "array",
  2863. "items": {
  2864. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  2865. }
  2866. }
  2867. },
  2868. "500": {
  2869. "description": "Internal Server Error",
  2870. "schema": {
  2871. "$ref": "#/definitions/app.Response"
  2872. }
  2873. }
  2874. }
  2875. }
  2876. },
  2877. "/Erms3/QueryPendingAuditContract": {
  2878. "get": {
  2879. "security": [
  2880. {
  2881. "ApiKeyAuth": []
  2882. }
  2883. ],
  2884. "produces": [
  2885. "application/json"
  2886. ],
  2887. "tags": [
  2888. "风险管理v3"
  2889. ],
  2890. "summary": "查询待审核合同",
  2891. "parameters": [
  2892. {
  2893. "type": "string",
  2894. "description": "资金账号ID列表,逗号隔开",
  2895. "name": "accountids",
  2896. "in": "query",
  2897. "required": true
  2898. },
  2899. {
  2900. "type": "integer",
  2901. "description": "合同类型 1-采购 -1-销售",
  2902. "name": "contracttype",
  2903. "in": "query",
  2904. "required": true
  2905. },
  2906. {
  2907. "type": "integer",
  2908. "description": "合同模式 1-普通 2-回购",
  2909. "name": "contractmode",
  2910. "in": "query",
  2911. "required": true
  2912. }
  2913. ],
  2914. "responses": {
  2915. "200": {
  2916. "description": "OK",
  2917. "schema": {
  2918. "type": "array",
  2919. "items": {
  2920. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  2921. }
  2922. }
  2923. },
  2924. "500": {
  2925. "description": "Internal Server Error",
  2926. "schema": {
  2927. "$ref": "#/definitions/app.Response"
  2928. }
  2929. }
  2930. }
  2931. }
  2932. },
  2933. "/Erms3/QueryPendingBusiness": {
  2934. "get": {
  2935. "security": [
  2936. {
  2937. "ApiKeyAuth": []
  2938. }
  2939. ],
  2940. "produces": [
  2941. "application/json"
  2942. ],
  2943. "tags": [
  2944. "风险管理v3"
  2945. ],
  2946. "summary": "查询待审核基差贸易业务",
  2947. "parameters": [
  2948. {
  2949. "type": "string",
  2950. "description": "资金账号ID列表,逗号隔开",
  2951. "name": "accountids",
  2952. "in": "query",
  2953. "required": true
  2954. }
  2955. ],
  2956. "responses": {
  2957. "200": {
  2958. "description": "OK",
  2959. "schema": {
  2960. "type": "array",
  2961. "items": {
  2962. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  2963. }
  2964. }
  2965. },
  2966. "500": {
  2967. "description": "Internal Server Error",
  2968. "schema": {
  2969. "$ref": "#/definitions/app.Response"
  2970. }
  2971. }
  2972. }
  2973. }
  2974. },
  2975. "/Erms3/QuerySpotContractAppleForm": {
  2976. "get": {
  2977. "security": [
  2978. {
  2979. "ApiKeyAuth": []
  2980. }
  2981. ],
  2982. "produces": [
  2983. "application/json"
  2984. ],
  2985. "tags": [
  2986. "风险管理v3"
  2987. ],
  2988. "summary": "查询合同申请表单数据",
  2989. "parameters": [
  2990. {
  2991. "type": "integer",
  2992. "description": "登录账号",
  2993. "name": "loginID",
  2994. "in": "query",
  2995. "required": true
  2996. }
  2997. ],
  2998. "responses": {
  2999. "200": {
  3000. "description": "OK",
  3001. "schema": {
  3002. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  3003. }
  3004. },
  3005. "500": {
  3006. "description": "Internal Server Error",
  3007. "schema": {
  3008. "$ref": "#/definitions/app.Response"
  3009. }
  3010. }
  3011. }
  3012. }
  3013. },
  3014. "/Erms3/QuerySpotContractDetail": {
  3015. "get": {
  3016. "security": [
  3017. {
  3018. "ApiKeyAuth": []
  3019. }
  3020. ],
  3021. "produces": [
  3022. "application/json"
  3023. ],
  3024. "tags": [
  3025. "风险管理v3"
  3026. ],
  3027. "summary": "查询合同详细信息",
  3028. "parameters": [
  3029. {
  3030. "type": "string",
  3031. "description": "资金账号ID列表,用逗号分隔",
  3032. "name": "accountids",
  3033. "in": "query",
  3034. "required": true
  3035. },
  3036. {
  3037. "type": "integer",
  3038. "description": "合同类型,1为采购合同 -1为销售合同",
  3039. "name": "contracttype",
  3040. "in": "query",
  3041. "required": true
  3042. },
  3043. {
  3044. "type": "integer",
  3045. "description": "合同模式,1为普通合同 2为回购销售合同",
  3046. "name": "contractmode",
  3047. "in": "query",
  3048. "required": true
  3049. },
  3050. {
  3051. "type": "integer",
  3052. "description": "状态,0为履约中 1为已完成",
  3053. "name": "status",
  3054. "in": "query",
  3055. "required": true
  3056. }
  3057. ],
  3058. "responses": {
  3059. "200": {
  3060. "description": "OK",
  3061. "schema": {
  3062. "type": "array",
  3063. "items": {
  3064. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  3065. }
  3066. }
  3067. },
  3068. "500": {
  3069. "description": "Internal Server Error",
  3070. "schema": {
  3071. "$ref": "#/definitions/app.Response"
  3072. }
  3073. }
  3074. }
  3075. }
  3076. },
  3077. "/Erms3/QueryUserInfoApplies": {
  3078. "get": {
  3079. "security": [
  3080. {
  3081. "ApiKeyAuth": []
  3082. }
  3083. ],
  3084. "produces": [
  3085. "application/json"
  3086. ],
  3087. "tags": [
  3088. "风险管理v3"
  3089. ],
  3090. "summary": "客户申请信息查询",
  3091. "parameters": [
  3092. {
  3093. "type": "integer",
  3094. "description": "页码",
  3095. "name": "page",
  3096. "in": "query"
  3097. },
  3098. {
  3099. "type": "integer",
  3100. "description": "每页条数",
  3101. "name": "pagesize",
  3102. "in": "query"
  3103. },
  3104. {
  3105. "type": "string",
  3106. "description": "客户名称,支持模糊查询",
  3107. "name": "userName",
  3108. "in": "query"
  3109. }
  3110. ],
  3111. "responses": {
  3112. "200": {
  3113. "description": "OK",
  3114. "schema": {
  3115. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  3116. }
  3117. },
  3118. "500": {
  3119. "description": "Internal Server Error",
  3120. "schema": {
  3121. "$ref": "#/definitions/app.Response"
  3122. }
  3123. }
  3124. }
  3125. }
  3126. },
  3127. "/Erms3/QueryUserInfos": {
  3128. "get": {
  3129. "security": [
  3130. {
  3131. "ApiKeyAuth": []
  3132. }
  3133. ],
  3134. "produces": [
  3135. "application/json"
  3136. ],
  3137. "tags": [
  3138. "风险管理v3"
  3139. ],
  3140. "summary": "客户信息查询",
  3141. "parameters": [
  3142. {
  3143. "type": "integer",
  3144. "description": "页码",
  3145. "name": "page",
  3146. "in": "query"
  3147. },
  3148. {
  3149. "type": "integer",
  3150. "description": "每页条数",
  3151. "name": "pagesize",
  3152. "in": "query"
  3153. },
  3154. {
  3155. "type": "string",
  3156. "description": "客户名称,支持模糊查询",
  3157. "name": "userName",
  3158. "in": "query"
  3159. }
  3160. ],
  3161. "responses": {
  3162. "200": {
  3163. "description": "OK",
  3164. "schema": {
  3165. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  3166. }
  3167. },
  3168. "500": {
  3169. "description": "Internal Server Error",
  3170. "schema": {
  3171. "$ref": "#/definitions/app.Response"
  3172. }
  3173. }
  3174. }
  3175. }
  3176. },
  3177. "/HSBY/GetHsbyMyCount": {
  3178. "get": {
  3179. "security": [
  3180. {
  3181. "ApiKeyAuth": []
  3182. }
  3183. ],
  3184. "description": "说明: 不包括已完成的数量。",
  3185. "produces": [
  3186. "application/json"
  3187. ],
  3188. "tags": [
  3189. "定制【海商报业】"
  3190. ],
  3191. "summary": "获取我的订单与包裹数量",
  3192. "parameters": [
  3193. {
  3194. "type": "string",
  3195. "description": "资金账户列表,格式:1,2,3",
  3196. "name": "accountIDs",
  3197. "in": "query",
  3198. "required": true
  3199. }
  3200. ],
  3201. "responses": {
  3202. "200": {
  3203. "description": "OK",
  3204. "schema": {
  3205. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  3206. }
  3207. },
  3208. "500": {
  3209. "description": "Internal Server Error",
  3210. "schema": {
  3211. "$ref": "#/definitions/app.Response"
  3212. }
  3213. }
  3214. }
  3215. }
  3216. },
  3217. "/HSBY/QueryClientFixedADConfigs": {
  3218. "get": {
  3219. "security": [
  3220. {
  3221. "ApiKeyAuth": []
  3222. }
  3223. ],
  3224. "produces": [
  3225. "application/json"
  3226. ],
  3227. "tags": [
  3228. "定制【海商报业】"
  3229. ],
  3230. "summary": "获取终端固定广告配置",
  3231. "responses": {
  3232. "200": {
  3233. "description": "OK",
  3234. "schema": {
  3235. "$ref": "#/definitions/models.Clientfixedadconfig"
  3236. }
  3237. },
  3238. "500": {
  3239. "description": "Internal Server Error",
  3240. "schema": {
  3241. "$ref": "#/definitions/app.Response"
  3242. }
  3243. }
  3244. }
  3245. }
  3246. },
  3247. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  3248. "get": {
  3249. "security": [
  3250. {
  3251. "ApiKeyAuth": []
  3252. }
  3253. ],
  3254. "produces": [
  3255. "application/json"
  3256. ],
  3257. "tags": [
  3258. "定制【海商报业】"
  3259. ],
  3260. "summary": "查询\"我的订单 - 已完成\"单据信息",
  3261. "parameters": [
  3262. {
  3263. "type": "integer",
  3264. "description": "页码",
  3265. "name": "page",
  3266. "in": "query"
  3267. },
  3268. {
  3269. "type": "integer",
  3270. "description": "每页条数",
  3271. "name": "pagesize",
  3272. "in": "query"
  3273. },
  3274. {
  3275. "type": "string",
  3276. "description": "资金账户列表,格式:1,2,3",
  3277. "name": "accountIDs",
  3278. "in": "query",
  3279. "required": true
  3280. }
  3281. ],
  3282. "responses": {
  3283. "200": {
  3284. "description": "OK",
  3285. "schema": {
  3286. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/HSBY/QueryHsbyGoodsOrderDetails": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "description": "说明:查询结果已按委托价格和委托时间排序",
  3306. "produces": [
  3307. "application/json"
  3308. ],
  3309. "tags": [
  3310. "定制【海商报业】"
  3311. ],
  3312. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  3313. "parameters": [
  3314. {
  3315. "type": "integer",
  3316. "description": "商品ID",
  3317. "name": "goodsID",
  3318. "in": "query",
  3319. "required": true
  3320. },
  3321. {
  3322. "type": "string",
  3323. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  3324. "name": "accountIDs",
  3325. "in": "query"
  3326. },
  3327. {
  3328. "type": "integer",
  3329. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  3330. "name": "buyOrSell",
  3331. "in": "query"
  3332. },
  3333. {
  3334. "type": "number",
  3335. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  3336. "name": "price",
  3337. "in": "query"
  3338. },
  3339. {
  3340. "type": "integer",
  3341. "description": "档位,不传则默认为3档",
  3342. "name": "speed",
  3343. "in": "query"
  3344. }
  3345. ],
  3346. "responses": {
  3347. "200": {
  3348. "description": "OK",
  3349. "schema": {
  3350. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  3351. }
  3352. },
  3353. "500": {
  3354. "description": "Internal Server Error",
  3355. "schema": {
  3356. "$ref": "#/definitions/app.Response"
  3357. }
  3358. }
  3359. }
  3360. }
  3361. },
  3362. "/HSBY/QueryHsbyListingGoodsDetail": {
  3363. "get": {
  3364. "security": [
  3365. {
  3366. "ApiKeyAuth": []
  3367. }
  3368. ],
  3369. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  3370. "produces": [
  3371. "application/json"
  3372. ],
  3373. "tags": [
  3374. "定制【海商报业】"
  3375. ],
  3376. "summary": "查询二级市场(挂牌点选)商品信息详情",
  3377. "parameters": [
  3378. {
  3379. "type": "integer",
  3380. "description": "商品ID",
  3381. "name": "goodsID",
  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.HsbyListingGoodsDetail"
  3397. }
  3398. },
  3399. "500": {
  3400. "description": "Internal Server Error",
  3401. "schema": {
  3402. "$ref": "#/definitions/app.Response"
  3403. }
  3404. }
  3405. }
  3406. }
  3407. },
  3408. "/HSBY/QueryHsbyMarketGoodsDetail": {
  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": "orderID",
  3427. "in": "query",
  3428. "required": true
  3429. },
  3430. {
  3431. "type": "integer",
  3432. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  3433. "name": "accountID",
  3434. "in": "query"
  3435. }
  3436. ],
  3437. "responses": {
  3438. "200": {
  3439. "description": "OK",
  3440. "schema": {
  3441. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3442. }
  3443. },
  3444. "500": {
  3445. "description": "Internal Server Error",
  3446. "schema": {
  3447. "$ref": "#/definitions/app.Response"
  3448. }
  3449. }
  3450. }
  3451. }
  3452. },
  3453. "/HSBY/QueryHsbyMarketGoodses": {
  3454. "get": {
  3455. "security": [
  3456. {
  3457. "ApiKeyAuth": []
  3458. }
  3459. ],
  3460. "produces": [
  3461. "application/json"
  3462. ],
  3463. "tags": [
  3464. "定制【海商报业】"
  3465. ],
  3466. "summary": "查询特卖商品列表(三级商城)",
  3467. "parameters": [
  3468. {
  3469. "type": "integer",
  3470. "description": "页码",
  3471. "name": "page",
  3472. "in": "query"
  3473. },
  3474. {
  3475. "type": "integer",
  3476. "description": "每页条数",
  3477. "name": "pagesize",
  3478. "in": "query"
  3479. },
  3480. {
  3481. "type": "string",
  3482. "description": "市场ID列表,格式:1,2,3",
  3483. "name": "marketIDs",
  3484. "in": "query",
  3485. "required": true
  3486. },
  3487. {
  3488. "type": "integer",
  3489. "description": "资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。",
  3490. "name": "accountID",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "类别ID",
  3497. "name": "categoryID",
  3498. "in": "query"
  3499. },
  3500. {
  3501. "type": "string",
  3502. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3503. "name": "goodsIDs",
  3504. "in": "query"
  3505. },
  3506. {
  3507. "type": "integer",
  3508. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  3509. "name": "couponTypeID",
  3510. "in": "query"
  3511. }
  3512. ],
  3513. "responses": {
  3514. "200": {
  3515. "description": "OK",
  3516. "schema": {
  3517. "$ref": "#/definitions/models.HsbyMarketGoods"
  3518. }
  3519. },
  3520. "500": {
  3521. "description": "Internal Server Error",
  3522. "schema": {
  3523. "$ref": "#/definitions/app.Response"
  3524. }
  3525. }
  3526. }
  3527. }
  3528. },
  3529. "/HSBY/QueryHsbyMarkets": {
  3530. "get": {
  3531. "security": [
  3532. {
  3533. "ApiKeyAuth": []
  3534. }
  3535. ],
  3536. "produces": [
  3537. "application/json"
  3538. ],
  3539. "tags": [
  3540. "定制【海商报业】"
  3541. ],
  3542. "summary": "查询海商报业相关市场信息",
  3543. "responses": {
  3544. "200": {
  3545. "description": "OK",
  3546. "schema": {
  3547. "$ref": "#/definitions/models.HsbyMarketInfo"
  3548. }
  3549. },
  3550. "500": {
  3551. "description": "Internal Server Error",
  3552. "schema": {
  3553. "$ref": "#/definitions/app.Response"
  3554. }
  3555. }
  3556. }
  3557. }
  3558. },
  3559. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  3560. "get": {
  3561. "security": [
  3562. {
  3563. "ApiKeyAuth": []
  3564. }
  3565. ],
  3566. "description": "说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败",
  3567. "produces": [
  3568. "application/json"
  3569. ],
  3570. "tags": [
  3571. "定制【海商报业】"
  3572. ],
  3573. "summary": "查询“我的订单”信息",
  3574. "parameters": [
  3575. {
  3576. "type": "string",
  3577. "description": "资金账户列表,格式:1,2,3",
  3578. "name": "accountIDs",
  3579. "in": "query",
  3580. "required": true
  3581. }
  3582. ],
  3583. "responses": {
  3584. "200": {
  3585. "description": "OK",
  3586. "schema": {
  3587. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  3588. }
  3589. },
  3590. "500": {
  3591. "description": "Internal Server Error",
  3592. "schema": {
  3593. "$ref": "#/definitions/app.Response"
  3594. }
  3595. }
  3596. }
  3597. }
  3598. },
  3599. "/HSBY/QueryHsbyMyGoods": {
  3600. "get": {
  3601. "security": [
  3602. {
  3603. "ApiKeyAuth": []
  3604. }
  3605. ],
  3606. "description": "说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice",
  3607. "produces": [
  3608. "application/json"
  3609. ],
  3610. "tags": [
  3611. "定制【海商报业】"
  3612. ],
  3613. "summary": "查询“我的商品”信息",
  3614. "parameters": [
  3615. {
  3616. "type": "string",
  3617. "description": "资金账户列表,格式:1,2,3",
  3618. "name": "accountIDs",
  3619. "in": "query",
  3620. "required": true
  3621. }
  3622. ],
  3623. "responses": {
  3624. "200": {
  3625. "description": "OK",
  3626. "schema": {
  3627. "$ref": "#/definitions/models.HsbyMyGoods"
  3628. }
  3629. },
  3630. "500": {
  3631. "description": "Internal Server Error",
  3632. "schema": {
  3633. "$ref": "#/definitions/app.Response"
  3634. }
  3635. }
  3636. }
  3637. }
  3638. },
  3639. "/HSBY/QueryHsbyMyPackages": {
  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": "string",
  3656. "description": "资金账户列表,格式:1,2,3",
  3657. "name": "accountIDs",
  3658. "in": "query",
  3659. "required": true
  3660. },
  3661. {
  3662. "type": "integer",
  3663. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3664. "name": "takeOrderStatus",
  3665. "in": "query"
  3666. }
  3667. ],
  3668. "responses": {
  3669. "200": {
  3670. "description": "OK",
  3671. "schema": {
  3672. "$ref": "#/definitions/models.HsbyMyPackage"
  3673. }
  3674. },
  3675. "500": {
  3676. "description": "Internal Server Error",
  3677. "schema": {
  3678. "$ref": "#/definitions/app.Response"
  3679. }
  3680. }
  3681. }
  3682. }
  3683. },
  3684. "/HSBY/QueryHsbyPreGoodsDetail": {
  3685. "get": {
  3686. "security": [
  3687. {
  3688. "ApiKeyAuth": []
  3689. }
  3690. ],
  3691. "produces": [
  3692. "application/json"
  3693. ],
  3694. "tags": [
  3695. "定制【海商报业】"
  3696. ],
  3697. "summary": "查询一级市场(预售)商品信息详情",
  3698. "parameters": [
  3699. {
  3700. "type": "integer",
  3701. "description": "商品ID",
  3702. "name": "goodsID",
  3703. "in": "query",
  3704. "required": true
  3705. },
  3706. {
  3707. "type": "integer",
  3708. "description": "资金账户,主要用于获取预售商品购买上限",
  3709. "name": "accountID",
  3710. "in": "query"
  3711. }
  3712. ],
  3713. "responses": {
  3714. "200": {
  3715. "description": "OK",
  3716. "schema": {
  3717. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  3718. }
  3719. },
  3720. "500": {
  3721. "description": "Internal Server Error",
  3722. "schema": {
  3723. "$ref": "#/definitions/app.Response"
  3724. }
  3725. }
  3726. }
  3727. }
  3728. },
  3729. "/HSBY/QueryHsbyPreGoodses": {
  3730. "get": {
  3731. "security": [
  3732. {
  3733. "ApiKeyAuth": []
  3734. }
  3735. ],
  3736. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  3737. "produces": [
  3738. "application/json"
  3739. ],
  3740. "tags": [
  3741. "定制【海商报业】"
  3742. ],
  3743. "summary": "查询新品上市商品列表(一级市场预售)",
  3744. "parameters": [
  3745. {
  3746. "type": "integer",
  3747. "description": "页码",
  3748. "name": "page",
  3749. "in": "query"
  3750. },
  3751. {
  3752. "type": "integer",
  3753. "description": "每页条数",
  3754. "name": "pagesize",
  3755. "in": "query"
  3756. },
  3757. {
  3758. "type": "string",
  3759. "description": "市场ID列表,格式:1,2,3",
  3760. "name": "marketIDs",
  3761. "in": "query",
  3762. "required": true
  3763. },
  3764. {
  3765. "type": "integer",
  3766. "description": "目的地(省)ID",
  3767. "name": "descProvinceID",
  3768. "in": "query"
  3769. },
  3770. {
  3771. "type": "integer",
  3772. "description": "目的地(市)ID",
  3773. "name": "descCityID",
  3774. "in": "query"
  3775. }
  3776. ],
  3777. "responses": {
  3778. "200": {
  3779. "description": "OK",
  3780. "schema": {
  3781. "$ref": "#/definitions/models.HsbyPreGoods"
  3782. }
  3783. },
  3784. "500": {
  3785. "description": "Internal Server Error",
  3786. "schema": {
  3787. "$ref": "#/definitions/app.Response"
  3788. }
  3789. }
  3790. }
  3791. }
  3792. },
  3793. "/HSBY/QueryHsbySellMyDetails": {
  3794. "get": {
  3795. "security": [
  3796. {
  3797. "ApiKeyAuth": []
  3798. }
  3799. ],
  3800. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  3801. "produces": [
  3802. "application/json"
  3803. ],
  3804. "tags": [
  3805. "定制【海商报业】"
  3806. ],
  3807. "summary": "查询\"我的闲置\"单据信息",
  3808. "parameters": [
  3809. {
  3810. "type": "integer",
  3811. "description": "页码",
  3812. "name": "page",
  3813. "in": "query"
  3814. },
  3815. {
  3816. "type": "integer",
  3817. "description": "每页条数",
  3818. "name": "pagesize",
  3819. "in": "query"
  3820. },
  3821. {
  3822. "type": "string",
  3823. "description": "资金账户列表,格式:1,2,3",
  3824. "name": "accountIDs",
  3825. "in": "query",
  3826. "required": true
  3827. },
  3828. {
  3829. "type": "integer",
  3830. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  3831. "name": "orderType",
  3832. "in": "query"
  3833. }
  3834. ],
  3835. "responses": {
  3836. "200": {
  3837. "description": "OK",
  3838. "schema": {
  3839. "$ref": "#/definitions/models.HsbySellMyDetail"
  3840. }
  3841. },
  3842. "500": {
  3843. "description": "Internal Server Error",
  3844. "schema": {
  3845. "$ref": "#/definitions/app.Response"
  3846. }
  3847. }
  3848. }
  3849. }
  3850. },
  3851. "/HSBY/QueryHsbyTopGoodses": {
  3852. "get": {
  3853. "security": [
  3854. {
  3855. "ApiKeyAuth": []
  3856. }
  3857. ],
  3858. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  3859. "produces": [
  3860. "application/json"
  3861. ],
  3862. "tags": [
  3863. "定制【海商报业】"
  3864. ],
  3865. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  3866. "parameters": [
  3867. {
  3868. "type": "integer",
  3869. "description": "页码",
  3870. "name": "page",
  3871. "in": "query"
  3872. },
  3873. {
  3874. "type": "integer",
  3875. "description": "每页条数",
  3876. "name": "pagesize",
  3877. "in": "query"
  3878. },
  3879. {
  3880. "type": "string",
  3881. "description": "市场ID列表,格式:1,2,3",
  3882. "name": "marketIDs",
  3883. "in": "query",
  3884. "required": true
  3885. },
  3886. {
  3887. "type": "integer",
  3888. "description": "目的地(省)ID",
  3889. "name": "descProvinceID",
  3890. "in": "query"
  3891. },
  3892. {
  3893. "type": "integer",
  3894. "description": "目的地(市)ID",
  3895. "name": "descCityID",
  3896. "in": "query"
  3897. }
  3898. ],
  3899. "responses": {
  3900. "200": {
  3901. "description": "OK",
  3902. "schema": {
  3903. "$ref": "#/definitions/models.HsbyTopGoods"
  3904. }
  3905. },
  3906. "500": {
  3907. "description": "Internal Server Error",
  3908. "schema": {
  3909. "$ref": "#/definitions/app.Response"
  3910. }
  3911. }
  3912. }
  3913. }
  3914. },
  3915. "/HSBY/QueryHsbyVisitorMarketGoodsDetail": {
  3916. "get": {
  3917. "security": [
  3918. {
  3919. "ApiKeyAuth": []
  3920. }
  3921. ],
  3922. "description": "说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。",
  3923. "produces": [
  3924. "application/json"
  3925. ],
  3926. "tags": [
  3927. "定制【海商报业】"
  3928. ],
  3929. "summary": "查询游客三级市场(商城)商品信息详情",
  3930. "parameters": [
  3931. {
  3932. "type": "integer",
  3933. "description": "商品ID",
  3934. "name": "goodsID",
  3935. "in": "query",
  3936. "required": true
  3937. }
  3938. ],
  3939. "responses": {
  3940. "200": {
  3941. "description": "OK",
  3942. "schema": {
  3943. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  3944. }
  3945. },
  3946. "500": {
  3947. "description": "Internal Server Error",
  3948. "schema": {
  3949. "$ref": "#/definitions/app.Response"
  3950. }
  3951. }
  3952. }
  3953. }
  3954. },
  3955. "/HSBY/QueryHsbyVisitorMarketGoodses": {
  3956. "get": {
  3957. "security": [
  3958. {
  3959. "ApiKeyAuth": []
  3960. }
  3961. ],
  3962. "description": "说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。",
  3963. "produces": [
  3964. "application/json"
  3965. ],
  3966. "tags": [
  3967. "定制【海商报业】"
  3968. ],
  3969. "summary": "查询游客特卖商品列表(三级商城)",
  3970. "parameters": [
  3971. {
  3972. "type": "integer",
  3973. "description": "页码",
  3974. "name": "page",
  3975. "in": "query"
  3976. },
  3977. {
  3978. "type": "integer",
  3979. "description": "每页条数",
  3980. "name": "pagesize",
  3981. "in": "query"
  3982. },
  3983. {
  3984. "type": "string",
  3985. "description": "市场ID列表,格式:1,2,3",
  3986. "name": "marketIDs",
  3987. "in": "query",
  3988. "required": true
  3989. },
  3990. {
  3991. "type": "integer",
  3992. "description": "类别ID",
  3993. "name": "categoryID",
  3994. "in": "query"
  3995. },
  3996. {
  3997. "type": "string",
  3998. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  3999. "name": "goodsIDs",
  4000. "in": "query"
  4001. }
  4002. ],
  4003. "responses": {
  4004. "200": {
  4005. "description": "OK",
  4006. "schema": {
  4007. "$ref": "#/definitions/models.HsbyMarketGoods"
  4008. }
  4009. },
  4010. "500": {
  4011. "description": "Internal Server Error",
  4012. "schema": {
  4013. "$ref": "#/definitions/app.Response"
  4014. }
  4015. }
  4016. }
  4017. }
  4018. },
  4019. "/HSBY/QueryMyCollectionOrders": {
  4020. "get": {
  4021. "security": [
  4022. {
  4023. "ApiKeyAuth": []
  4024. }
  4025. ],
  4026. "produces": [
  4027. "application/json"
  4028. ],
  4029. "tags": [
  4030. "定制【海商报业】"
  4031. ],
  4032. "summary": "我的闲置中收款信息查询",
  4033. "parameters": [
  4034. {
  4035. "type": "integer",
  4036. "description": "页码",
  4037. "name": "page",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "每页条数",
  4043. "name": "pagesize",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "资金账户,格式:1,2,3",
  4049. "name": "accountIDs",
  4050. "in": "query",
  4051. "required": true
  4052. }
  4053. ],
  4054. "responses": {
  4055. "200": {
  4056. "description": "OK",
  4057. "schema": {
  4058. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  4059. }
  4060. },
  4061. "500": {
  4062. "description": "Internal Server Error",
  4063. "schema": {
  4064. "$ref": "#/definitions/app.Response"
  4065. }
  4066. }
  4067. }
  4068. }
  4069. },
  4070. "/HSBY/QueryMyCouponHolds": {
  4071. "get": {
  4072. "security": [
  4073. {
  4074. "ApiKeyAuth": []
  4075. }
  4076. ],
  4077. "description": "说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。",
  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": "string",
  4095. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  4096. "name": "holdStatus",
  4097. "in": "query"
  4098. }
  4099. ],
  4100. "responses": {
  4101. "200": {
  4102. "description": "OK",
  4103. "schema": {
  4104. "$ref": "#/definitions/models.MyCouponHold"
  4105. }
  4106. },
  4107. "500": {
  4108. "description": "Internal Server Error",
  4109. "schema": {
  4110. "$ref": "#/definitions/app.Response"
  4111. }
  4112. }
  4113. }
  4114. }
  4115. },
  4116. "/HSBY/QueryMyCoupons": {
  4117. "get": {
  4118. "security": [
  4119. {
  4120. "ApiKeyAuth": []
  4121. }
  4122. ],
  4123. "produces": [
  4124. "application/json"
  4125. ],
  4126. "tags": [
  4127. "定制【海商报业】"
  4128. ],
  4129. "summary": "我的优惠卷查询",
  4130. "parameters": [
  4131. {
  4132. "type": "string",
  4133. "description": "资金账户列表,格式:1,2,3",
  4134. "name": "accountIDs",
  4135. "in": "query",
  4136. "required": true
  4137. },
  4138. {
  4139. "type": "integer",
  4140. "description": "商品ID, 一般与sellUserID配套传入",
  4141. "name": "goodsID",
  4142. "in": "query"
  4143. },
  4144. {
  4145. "type": "integer",
  4146. "description": "卖方UserID",
  4147. "name": "sellUserID",
  4148. "in": "query"
  4149. }
  4150. ],
  4151. "responses": {
  4152. "200": {
  4153. "description": "OK",
  4154. "schema": {
  4155. "$ref": "#/definitions/models.MyCoupon"
  4156. }
  4157. },
  4158. "500": {
  4159. "description": "Internal Server Error",
  4160. "schema": {
  4161. "$ref": "#/definitions/app.Response"
  4162. }
  4163. }
  4164. }
  4165. }
  4166. },
  4167. "/HSBY/QueryMyPayOrders": {
  4168. "get": {
  4169. "security": [
  4170. {
  4171. "ApiKeyAuth": []
  4172. }
  4173. ],
  4174. "produces": [
  4175. "application/json"
  4176. ],
  4177. "tags": [
  4178. "定制【海商报业】"
  4179. ],
  4180. "summary": "获取我的订单中待付款信息",
  4181. "parameters": [
  4182. {
  4183. "type": "integer",
  4184. "description": "页码",
  4185. "name": "page",
  4186. "in": "query"
  4187. },
  4188. {
  4189. "type": "integer",
  4190. "description": "每页条数",
  4191. "name": "pagesize",
  4192. "in": "query"
  4193. },
  4194. {
  4195. "type": "string",
  4196. "description": "资金账户列表,格式:1,2,3",
  4197. "name": "accountIDs",
  4198. "in": "query",
  4199. "required": true
  4200. },
  4201. {
  4202. "type": "integer",
  4203. "description": "买方委托单号",
  4204. "name": "buyOrderID",
  4205. "in": "query"
  4206. },
  4207. {
  4208. "type": "integer",
  4209. "description": "卖方委托单号",
  4210. "name": "sellOrderID",
  4211. "in": "query"
  4212. }
  4213. ],
  4214. "responses": {
  4215. "200": {
  4216. "description": "OK",
  4217. "schema": {
  4218. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  4219. }
  4220. },
  4221. "500": {
  4222. "description": "Internal Server Error",
  4223. "schema": {
  4224. "$ref": "#/definitions/app.Response"
  4225. }
  4226. }
  4227. }
  4228. }
  4229. },
  4230. "/HSBY/QueryMyUsedCoupon": {
  4231. "get": {
  4232. "security": [
  4233. {
  4234. "ApiKeyAuth": []
  4235. }
  4236. ],
  4237. "produces": [
  4238. "application/json"
  4239. ],
  4240. "tags": [
  4241. "定制【海商报业】"
  4242. ],
  4243. "summary": "已使用优惠卷查询",
  4244. "parameters": [
  4245. {
  4246. "type": "string",
  4247. "description": "资金账户列表,格式:1,2,3",
  4248. "name": "accountIDs",
  4249. "in": "query",
  4250. "required": true
  4251. }
  4252. ],
  4253. "responses": {
  4254. "200": {
  4255. "description": "OK",
  4256. "schema": {
  4257. "$ref": "#/definitions/models.MyUsedCoupon"
  4258. }
  4259. },
  4260. "500": {
  4261. "description": "Internal Server Error",
  4262. "schema": {
  4263. "$ref": "#/definitions/app.Response"
  4264. }
  4265. }
  4266. }
  4267. }
  4268. },
  4269. "/HSBY/QueryProvincesAndCities": {
  4270. "get": {
  4271. "security": [
  4272. {
  4273. "ApiKeyAuth": []
  4274. }
  4275. ],
  4276. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  4277. "produces": [
  4278. "application/json"
  4279. ],
  4280. "tags": [
  4281. "定制【海商报业】"
  4282. ],
  4283. "summary": "查询省市信息(不包括区)",
  4284. "parameters": [
  4285. {
  4286. "type": "integer",
  4287. "description": "省ID",
  4288. "name": "provinceID",
  4289. "in": "query"
  4290. }
  4291. ],
  4292. "responses": {
  4293. "200": {
  4294. "description": "OK",
  4295. "schema": {
  4296. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  4297. }
  4298. },
  4299. "500": {
  4300. "description": "Internal Server Error",
  4301. "schema": {
  4302. "$ref": "#/definitions/app.Response"
  4303. }
  4304. }
  4305. }
  4306. }
  4307. },
  4308. "/HSBY/SetHsbyMyPackagesStatus": {
  4309. "post": {
  4310. "security": [
  4311. {
  4312. "ApiKeyAuth": []
  4313. }
  4314. ],
  4315. "produces": [
  4316. "application/json"
  4317. ],
  4318. "tags": [
  4319. "定制【海商报业】"
  4320. ],
  4321. "summary": "设置我的包裹已收货状态",
  4322. "parameters": [
  4323. {
  4324. "type": "string",
  4325. "description": "提货单号",
  4326. "name": "takeOrderID",
  4327. "in": "query",
  4328. "required": true
  4329. },
  4330. {
  4331. "type": "integer",
  4332. "description": "资金账号",
  4333. "name": "accountID",
  4334. "in": "query",
  4335. "required": true
  4336. }
  4337. ],
  4338. "responses": {
  4339. "200": {
  4340. "description": "OK",
  4341. "schema": {
  4342. "$ref": "#/definitions/app.Response"
  4343. }
  4344. },
  4345. "500": {
  4346. "description": "Internal Server Error",
  4347. "schema": {
  4348. "$ref": "#/definitions/app.Response"
  4349. }
  4350. }
  4351. }
  4352. }
  4353. },
  4354. "/Market/QueryGoodsesByLoginID": {
  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": "登录账号",
  4372. "name": "loginID",
  4373. "in": "query",
  4374. "required": true
  4375. },
  4376. {
  4377. "type": "string",
  4378. "description": "市场ID列表,格式:1,2,3",
  4379. "name": "marketIDs",
  4380. "in": "query"
  4381. }
  4382. ],
  4383. "responses": {
  4384. "200": {
  4385. "description": "OK",
  4386. "schema": {
  4387. "$ref": "#/definitions/models.Goods"
  4388. }
  4389. },
  4390. "500": {
  4391. "description": "Internal Server Error",
  4392. "schema": {
  4393. "$ref": "#/definitions/app.Response"
  4394. }
  4395. }
  4396. }
  4397. }
  4398. },
  4399. "/Market/QueryMarketRun": {
  4400. "get": {
  4401. "security": [
  4402. {
  4403. "ApiKeyAuth": []
  4404. }
  4405. ],
  4406. "produces": [
  4407. "application/json"
  4408. ],
  4409. "tags": [
  4410. "通用市场"
  4411. ],
  4412. "summary": "查询市场运行信息",
  4413. "parameters": [
  4414. {
  4415. "type": "integer",
  4416. "description": "市场ID,不传返回所有",
  4417. "name": "marketID",
  4418. "in": "query"
  4419. }
  4420. ],
  4421. "responses": {
  4422. "200": {
  4423. "description": "OK",
  4424. "schema": {
  4425. "$ref": "#/definitions/models.Marketrun"
  4426. }
  4427. },
  4428. "500": {
  4429. "description": "Internal Server Error",
  4430. "schema": {
  4431. "$ref": "#/definitions/app.Response"
  4432. }
  4433. }
  4434. }
  4435. }
  4436. },
  4437. "/Market/QueryMarketsByLoginID": {
  4438. "get": {
  4439. "security": [
  4440. {
  4441. "ApiKeyAuth": []
  4442. }
  4443. ],
  4444. "produces": [
  4445. "application/json"
  4446. ],
  4447. "tags": [
  4448. "通用市场"
  4449. ],
  4450. "summary": "获取登录账号有权限的市场信息",
  4451. "parameters": [
  4452. {
  4453. "type": "integer",
  4454. "description": "登录账号",
  4455. "name": "loginID",
  4456. "in": "query",
  4457. "required": true
  4458. }
  4459. ],
  4460. "responses": {
  4461. "200": {
  4462. "description": "OK",
  4463. "schema": {
  4464. "$ref": "#/definitions/models.Market"
  4465. }
  4466. },
  4467. "500": {
  4468. "description": "Internal Server Error",
  4469. "schema": {
  4470. "$ref": "#/definitions/app.Response"
  4471. }
  4472. }
  4473. }
  4474. }
  4475. },
  4476. "/Order/QueryHisTradeDetail": {
  4477. "get": {
  4478. "security": [
  4479. {
  4480. "ApiKeyAuth": []
  4481. }
  4482. ],
  4483. "produces": [
  4484. "application/json"
  4485. ],
  4486. "tags": [
  4487. "通用单据"
  4488. ],
  4489. "summary": "历史成交单查询(合约市场)",
  4490. "parameters": [
  4491. {
  4492. "type": "string",
  4493. "description": "资金账户 - 格式:1,2,3",
  4494. "name": "accountID",
  4495. "in": "query",
  4496. "required": true
  4497. },
  4498. {
  4499. "type": "integer",
  4500. "description": "成交单号",
  4501. "name": "tradeID",
  4502. "in": "query"
  4503. },
  4504. {
  4505. "type": "integer",
  4506. "description": "委托单号",
  4507. "name": "orderID",
  4508. "in": "query"
  4509. },
  4510. {
  4511. "type": "string",
  4512. "description": "交易模式 - 格式:1,2,3",
  4513. "name": "tradeMode",
  4514. "in": "query"
  4515. },
  4516. {
  4517. "type": "integer",
  4518. "description": "委托单据类型",
  4519. "name": "buildType",
  4520. "in": "query"
  4521. },
  4522. {
  4523. "type": "string",
  4524. "description": "成交类别 - 格式:1,2,3",
  4525. "name": "tradeType",
  4526. "in": "query"
  4527. },
  4528. {
  4529. "type": "string",
  4530. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4531. "name": "startDate",
  4532. "in": "query"
  4533. },
  4534. {
  4535. "type": "string",
  4536. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4537. "name": "endDate",
  4538. "in": "query"
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  4546. }
  4547. },
  4548. "500": {
  4549. "description": "Internal Server Error",
  4550. "schema": {
  4551. "$ref": "#/definitions/app.Response"
  4552. }
  4553. }
  4554. }
  4555. }
  4556. },
  4557. "/Order/QueryHisTradeOrderDetail": {
  4558. "get": {
  4559. "security": [
  4560. {
  4561. "ApiKeyAuth": []
  4562. }
  4563. ],
  4564. "produces": [
  4565. "application/json"
  4566. ],
  4567. "tags": [
  4568. "通用单据"
  4569. ],
  4570. "summary": "历史委托单查询请求(合约市场)",
  4571. "parameters": [
  4572. {
  4573. "type": "string",
  4574. "description": "资金账户 - 格式:1,2,3",
  4575. "name": "accountID",
  4576. "in": "query",
  4577. "required": true
  4578. },
  4579. {
  4580. "type": "string",
  4581. "description": "交易模式 - 格式:1,2,3",
  4582. "name": "tradeMode",
  4583. "in": "query"
  4584. },
  4585. {
  4586. "type": "string",
  4587. "description": "委托状态 - 格式:1,2,3",
  4588. "name": "orderStatus",
  4589. "in": "query"
  4590. },
  4591. {
  4592. "type": "integer",
  4593. "description": "委托单号",
  4594. "name": "orderID",
  4595. "in": "query"
  4596. },
  4597. {
  4598. "type": "string",
  4599. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  4600. "name": "startDate",
  4601. "in": "query"
  4602. },
  4603. {
  4604. "type": "string",
  4605. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  4606. "name": "endDate",
  4607. "in": "query"
  4608. }
  4609. ],
  4610. "responses": {
  4611. "200": {
  4612. "description": "OK",
  4613. "schema": {
  4614. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  4615. }
  4616. },
  4617. "500": {
  4618. "description": "Internal Server Error",
  4619. "schema": {
  4620. "$ref": "#/definitions/app.Response"
  4621. }
  4622. }
  4623. }
  4624. }
  4625. },
  4626. "/Order/QueryTradeDetail": {
  4627. "get": {
  4628. "security": [
  4629. {
  4630. "ApiKeyAuth": []
  4631. }
  4632. ],
  4633. "produces": [
  4634. "application/json"
  4635. ],
  4636. "tags": [
  4637. "通用单据"
  4638. ],
  4639. "summary": "成交单查询(合约市场)",
  4640. "parameters": [
  4641. {
  4642. "type": "string",
  4643. "description": "资金账户 - 格式:1,2,3",
  4644. "name": "accountID",
  4645. "in": "query",
  4646. "required": true
  4647. },
  4648. {
  4649. "type": "integer",
  4650. "description": "成交单号",
  4651. "name": "tradeID",
  4652. "in": "query"
  4653. },
  4654. {
  4655. "type": "integer",
  4656. "description": "委托单号",
  4657. "name": "orderID",
  4658. "in": "query"
  4659. },
  4660. {
  4661. "type": "string",
  4662. "description": "交易模式 - 格式:1,2,3",
  4663. "name": "tradeMode",
  4664. "in": "query"
  4665. },
  4666. {
  4667. "type": "integer",
  4668. "description": "委托单据类型",
  4669. "name": "buildType",
  4670. "in": "query"
  4671. },
  4672. {
  4673. "type": "string",
  4674. "description": "成交类别 - 格式:1,2,3",
  4675. "name": "tradeType",
  4676. "in": "query"
  4677. }
  4678. ],
  4679. "responses": {
  4680. "200": {
  4681. "description": "OK",
  4682. "schema": {
  4683. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  4684. }
  4685. },
  4686. "500": {
  4687. "description": "Internal Server Error",
  4688. "schema": {
  4689. "$ref": "#/definitions/app.Response"
  4690. }
  4691. }
  4692. }
  4693. }
  4694. },
  4695. "/Order/QueryTradeOrderDetail": {
  4696. "get": {
  4697. "security": [
  4698. {
  4699. "ApiKeyAuth": []
  4700. }
  4701. ],
  4702. "produces": [
  4703. "application/json"
  4704. ],
  4705. "tags": [
  4706. "通用单据"
  4707. ],
  4708. "summary": "委托单查询请求(合约市场)",
  4709. "parameters": [
  4710. {
  4711. "type": "string",
  4712. "description": "资金账户 - 格式:1,2,3",
  4713. "name": "accountID",
  4714. "in": "query",
  4715. "required": true
  4716. },
  4717. {
  4718. "type": "string",
  4719. "description": "交易模式 - 格式:1,2,3",
  4720. "name": "tradeMode",
  4721. "in": "query"
  4722. },
  4723. {
  4724. "type": "string",
  4725. "description": "委托状态 - 格式:1,2,3",
  4726. "name": "orderStatus",
  4727. "in": "query"
  4728. },
  4729. {
  4730. "type": "integer",
  4731. "description": "委托单号",
  4732. "name": "orderID",
  4733. "in": "query"
  4734. }
  4735. ],
  4736. "responses": {
  4737. "200": {
  4738. "description": "OK",
  4739. "schema": {
  4740. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  4741. }
  4742. },
  4743. "500": {
  4744. "description": "Internal Server Error",
  4745. "schema": {
  4746. "$ref": "#/definitions/app.Response"
  4747. }
  4748. }
  4749. }
  4750. }
  4751. },
  4752. "/Order/QueryTradePosition": {
  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": "string",
  4769. "description": "资金账户 - 格式:1,2,3",
  4770. "name": "accountID",
  4771. "in": "query",
  4772. "required": true
  4773. },
  4774. {
  4775. "type": "string",
  4776. "description": "交易模式 - 格式:1,2,3",
  4777. "name": "tradeMode",
  4778. "in": "query"
  4779. }
  4780. ],
  4781. "responses": {
  4782. "200": {
  4783. "description": "OK",
  4784. "schema": {
  4785. "$ref": "#/definitions/order.QueryTradePositionRsp"
  4786. }
  4787. },
  4788. "500": {
  4789. "description": "Internal Server Error",
  4790. "schema": {
  4791. "$ref": "#/definitions/app.Response"
  4792. }
  4793. }
  4794. }
  4795. }
  4796. },
  4797. "/Quote/QueryHistoryDatas": {
  4798. "get": {
  4799. "security": [
  4800. {
  4801. "ApiKeyAuth": []
  4802. }
  4803. ],
  4804. "produces": [
  4805. "application/json"
  4806. ],
  4807. "tags": [
  4808. "行情服务"
  4809. ],
  4810. "summary": "查询行情历史数据",
  4811. "parameters": [
  4812. {
  4813. "type": "integer",
  4814. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  4815. "name": "cycleType",
  4816. "in": "query",
  4817. "required": true
  4818. },
  4819. {
  4820. "type": "string",
  4821. "description": "商品代码",
  4822. "name": "goodsCode",
  4823. "in": "query",
  4824. "required": true
  4825. },
  4826. {
  4827. "type": "string",
  4828. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  4829. "name": "startTime",
  4830. "in": "query"
  4831. },
  4832. {
  4833. "type": "string",
  4834. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  4835. "name": "endTime",
  4836. "in": "query"
  4837. },
  4838. {
  4839. "type": "integer",
  4840. "description": "条数",
  4841. "name": "count",
  4842. "in": "query"
  4843. },
  4844. {
  4845. "type": "boolean",
  4846. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  4847. "name": "isAsc",
  4848. "in": "query"
  4849. }
  4850. ],
  4851. "responses": {
  4852. "200": {
  4853. "description": "OK",
  4854. "schema": {
  4855. "$ref": "#/definitions/quote.HistoryData"
  4856. }
  4857. },
  4858. "500": {
  4859. "description": "Internal Server Error",
  4860. "schema": {
  4861. "$ref": "#/definitions/app.Response"
  4862. }
  4863. }
  4864. }
  4865. }
  4866. },
  4867. "/Quote/QueryTSData": {
  4868. "get": {
  4869. "produces": [
  4870. "application/json"
  4871. ],
  4872. "tags": [
  4873. "行情服务"
  4874. ],
  4875. "summary": "分时图数据查询",
  4876. "parameters": [
  4877. {
  4878. "type": "string",
  4879. "description": "商品代码",
  4880. "name": "goodsCode",
  4881. "in": "query",
  4882. "required": true
  4883. }
  4884. ],
  4885. "responses": {
  4886. "200": {
  4887. "description": "OK",
  4888. "schema": {
  4889. "$ref": "#/definitions/quote.QueryTSDataRsp"
  4890. }
  4891. },
  4892. "500": {
  4893. "description": "Internal Server Error",
  4894. "schema": {
  4895. "$ref": "#/definitions/app.Response"
  4896. }
  4897. }
  4898. }
  4899. }
  4900. },
  4901. "/SZDZ/QueryConvertConfig": {
  4902. "get": {
  4903. "security": [
  4904. {
  4905. "ApiKeyAuth": []
  4906. }
  4907. ],
  4908. "produces": [
  4909. "application/json"
  4910. ],
  4911. "tags": [
  4912. "定制【尚志大宗】"
  4913. ],
  4914. "summary": "查询交易系统转换设置",
  4915. "parameters": [
  4916. {
  4917. "type": "integer",
  4918. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  4919. "name": "convertType",
  4920. "in": "query"
  4921. },
  4922. {
  4923. "type": "string",
  4924. "description": "外部商品代码[JD\\PD]",
  4925. "name": "outerGoodsCode",
  4926. "in": "query"
  4927. },
  4928. {
  4929. "type": "string",
  4930. "description": "内部商品ID列表[交易],格式:1,2,3",
  4931. "name": "innerGoodsIDs",
  4932. "in": "query"
  4933. }
  4934. ],
  4935. "responses": {
  4936. "200": {
  4937. "description": "OK",
  4938. "schema": {
  4939. "$ref": "#/definitions/models.Szdz3convertconfig"
  4940. }
  4941. },
  4942. "500": {
  4943. "description": "Internal Server Error",
  4944. "schema": {
  4945. "$ref": "#/definitions/app.Response"
  4946. }
  4947. }
  4948. }
  4949. }
  4950. },
  4951. "/SZDZ/QueryConvertLog": {
  4952. "get": {
  4953. "security": [
  4954. {
  4955. "ApiKeyAuth": []
  4956. }
  4957. ],
  4958. "produces": [
  4959. "application/json"
  4960. ],
  4961. "tags": [
  4962. "定制【尚志大宗】"
  4963. ],
  4964. "summary": "交易系统转换流水查询",
  4965. "parameters": [
  4966. {
  4967. "type": "string",
  4968. "description": "资金账户 - 格式:1,2,3",
  4969. "name": "accountID",
  4970. "in": "query",
  4971. "required": true
  4972. },
  4973. {
  4974. "type": "string",
  4975. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4976. "name": "startDate",
  4977. "in": "query"
  4978. },
  4979. {
  4980. "type": "string",
  4981. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  4982. "name": "endDate",
  4983. "in": "query"
  4984. }
  4985. ],
  4986. "responses": {
  4987. "200": {
  4988. "description": "OK",
  4989. "schema": {
  4990. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  4991. }
  4992. },
  4993. "500": {
  4994. "description": "Internal Server Error",
  4995. "schema": {
  4996. "$ref": "#/definitions/app.Response"
  4997. }
  4998. }
  4999. }
  5000. }
  5001. },
  5002. "/SZDZ/QueryGoodsPickup": {
  5003. "get": {
  5004. "security": [
  5005. {
  5006. "ApiKeyAuth": []
  5007. }
  5008. ],
  5009. "produces": [
  5010. "application/json"
  5011. ],
  5012. "tags": [
  5013. "定制【尚志大宗】"
  5014. ],
  5015. "summary": "商品提货单查询",
  5016. "parameters": [
  5017. {
  5018. "type": "string",
  5019. "description": "资金账户 - 格式:1,2,3",
  5020. "name": "accountID",
  5021. "in": "query",
  5022. "required": true
  5023. },
  5024. {
  5025. "type": "integer",
  5026. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  5027. "name": "takeOrderStatus",
  5028. "in": "query"
  5029. }
  5030. ],
  5031. "responses": {
  5032. "200": {
  5033. "description": "OK",
  5034. "schema": {
  5035. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  5036. }
  5037. },
  5038. "500": {
  5039. "description": "Internal Server Error",
  5040. "schema": {
  5041. "$ref": "#/definitions/app.Response"
  5042. }
  5043. }
  5044. }
  5045. }
  5046. },
  5047. "/SZDZ/QueryRecieptOrder": {
  5048. "get": {
  5049. "security": [
  5050. {
  5051. "ApiKeyAuth": []
  5052. }
  5053. ],
  5054. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5055. "produces": [
  5056. "application/json"
  5057. ],
  5058. "tags": [
  5059. "定制【尚志大宗】"
  5060. ],
  5061. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  5062. "parameters": [
  5063. {
  5064. "type": "integer",
  5065. "description": "页码",
  5066. "name": "page",
  5067. "in": "query"
  5068. },
  5069. {
  5070. "type": "integer",
  5071. "description": "每页条数",
  5072. "name": "pagesize",
  5073. "in": "query"
  5074. },
  5075. {
  5076. "type": "integer",
  5077. "description": "商品ID",
  5078. "name": "goodsID",
  5079. "in": "query",
  5080. "required": true
  5081. },
  5082. {
  5083. "type": "string",
  5084. "description": "所属账户名称",
  5085. "name": "accountName",
  5086. "in": "query"
  5087. },
  5088. {
  5089. "type": "integer",
  5090. "description": "市场ID",
  5091. "name": "marketID",
  5092. "in": "query"
  5093. },
  5094. {
  5095. "type": "integer",
  5096. "description": "方向 - 0:买 1:卖",
  5097. "name": "buyorsell",
  5098. "in": "query",
  5099. "required": true
  5100. }
  5101. ],
  5102. "responses": {
  5103. "200": {
  5104. "description": "OK",
  5105. "schema": {
  5106. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  5107. }
  5108. },
  5109. "500": {
  5110. "description": "Internal Server Error",
  5111. "schema": {
  5112. "$ref": "#/definitions/app.Response"
  5113. }
  5114. }
  5115. }
  5116. }
  5117. },
  5118. "/SZDZ/QuerySZDZTradePosition": {
  5119. "get": {
  5120. "security": [
  5121. {
  5122. "ApiKeyAuth": []
  5123. }
  5124. ],
  5125. "produces": [
  5126. "application/json"
  5127. ],
  5128. "tags": [
  5129. "定制【尚志大宗】"
  5130. ],
  5131. "summary": "持仓汇总查询(尚志大宗)",
  5132. "parameters": [
  5133. {
  5134. "type": "integer",
  5135. "description": "资金账户",
  5136. "name": "accountID",
  5137. "in": "query",
  5138. "required": true
  5139. }
  5140. ],
  5141. "responses": {
  5142. "200": {
  5143. "description": "OK",
  5144. "schema": {
  5145. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  5146. }
  5147. },
  5148. "500": {
  5149. "description": "Internal Server Error",
  5150. "schema": {
  5151. "$ref": "#/definitions/app.Response"
  5152. }
  5153. }
  5154. }
  5155. }
  5156. },
  5157. "/SZDZ/SearchWhite": {
  5158. "get": {
  5159. "security": [
  5160. {
  5161. "ApiKeyAuth": []
  5162. }
  5163. ],
  5164. "produces": [
  5165. "application/json"
  5166. ],
  5167. "tags": [
  5168. "定制【尚志大宗】"
  5169. ],
  5170. "summary": "搜索白名单",
  5171. "parameters": [
  5172. {
  5173. "type": "integer",
  5174. "description": "用户ID",
  5175. "name": "userID",
  5176. "in": "query",
  5177. "required": true
  5178. }
  5179. ],
  5180. "responses": {
  5181. "200": {
  5182. "description": "OK",
  5183. "schema": {
  5184. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  5185. }
  5186. },
  5187. "500": {
  5188. "description": "Internal Server Error",
  5189. "schema": {
  5190. "$ref": "#/definitions/app.Response"
  5191. }
  5192. }
  5193. }
  5194. }
  5195. },
  5196. "/Search/SearchGoodses": {
  5197. "get": {
  5198. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  5199. "produces": [
  5200. "application/json"
  5201. ],
  5202. "tags": [
  5203. "检索服务"
  5204. ],
  5205. "summary": "检索商品信息",
  5206. "parameters": [
  5207. {
  5208. "type": "string",
  5209. "description": "检索内容",
  5210. "name": "content",
  5211. "in": "query",
  5212. "required": true
  5213. },
  5214. {
  5215. "type": "string",
  5216. "description": "交易模式,格式:1,2,3",
  5217. "name": "tradeModes",
  5218. "in": "query"
  5219. }
  5220. ],
  5221. "responses": {
  5222. "200": {
  5223. "description": "OK",
  5224. "schema": {
  5225. "$ref": "#/definitions/models.SearchGoods"
  5226. }
  5227. },
  5228. "500": {
  5229. "description": "Internal Server Error",
  5230. "schema": {
  5231. "$ref": "#/definitions/app.Response"
  5232. }
  5233. }
  5234. }
  5235. }
  5236. },
  5237. "/TaAccount/GetTaAccounts": {
  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": "loginID",
  5256. "in": "query",
  5257. "required": true
  5258. },
  5259. {
  5260. "type": "integer",
  5261. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  5262. "name": "taAccountType",
  5263. "in": "query"
  5264. }
  5265. ],
  5266. "responses": {
  5267. "200": {
  5268. "description": "OK",
  5269. "schema": {
  5270. "$ref": "#/definitions/models.Taaccount"
  5271. }
  5272. },
  5273. "500": {
  5274. "description": "Internal Server Error",
  5275. "schema": {
  5276. "$ref": "#/definitions/app.Response"
  5277. }
  5278. }
  5279. }
  5280. }
  5281. },
  5282. "/TaAccount/QueryAmountLog": {
  5283. "get": {
  5284. "security": [
  5285. {
  5286. "ApiKeyAuth": []
  5287. }
  5288. ],
  5289. "produces": [
  5290. "application/json"
  5291. ],
  5292. "tags": [
  5293. "资金账户"
  5294. ],
  5295. "summary": "资金流水查询(当前)",
  5296. "parameters": [
  5297. {
  5298. "type": "integer",
  5299. "description": "页码",
  5300. "name": "page",
  5301. "in": "query"
  5302. },
  5303. {
  5304. "type": "integer",
  5305. "description": "每页条数",
  5306. "name": "pagesize",
  5307. "in": "query"
  5308. },
  5309. {
  5310. "type": "string",
  5311. "description": "资金账户 - 格式:1,2,3",
  5312. "name": "accountID",
  5313. "in": "query",
  5314. "required": true
  5315. },
  5316. {
  5317. "type": "string",
  5318. "description": "资金操作类型 - 格式:1,2,3",
  5319. "name": "OperateType",
  5320. "in": "query"
  5321. }
  5322. ],
  5323. "responses": {
  5324. "200": {
  5325. "description": "OK",
  5326. "schema": {
  5327. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  5328. }
  5329. },
  5330. "500": {
  5331. "description": "Internal Server Error",
  5332. "schema": {
  5333. "$ref": "#/definitions/app.Response"
  5334. }
  5335. }
  5336. }
  5337. }
  5338. },
  5339. "/TaAccount/QueryHisAmountLog": {
  5340. "get": {
  5341. "security": [
  5342. {
  5343. "ApiKeyAuth": []
  5344. }
  5345. ],
  5346. "produces": [
  5347. "application/json"
  5348. ],
  5349. "tags": [
  5350. "资金账户"
  5351. ],
  5352. "summary": "资金流水查询(历史)",
  5353. "parameters": [
  5354. {
  5355. "type": "integer",
  5356. "description": "页码",
  5357. "name": "page",
  5358. "in": "query"
  5359. },
  5360. {
  5361. "type": "integer",
  5362. "description": "每页条数",
  5363. "name": "pagesize",
  5364. "in": "query"
  5365. },
  5366. {
  5367. "type": "string",
  5368. "description": "资金账户 - 格式:1,2,3",
  5369. "name": "accountID",
  5370. "in": "query",
  5371. "required": true
  5372. },
  5373. {
  5374. "type": "string",
  5375. "description": "资金操作类型 - 格式:1,2,3",
  5376. "name": "OperateType",
  5377. "in": "query"
  5378. },
  5379. {
  5380. "type": "string",
  5381. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  5382. "name": "startDate",
  5383. "in": "query"
  5384. },
  5385. {
  5386. "type": "string",
  5387. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  5388. "name": "endDate",
  5389. "in": "query"
  5390. }
  5391. ],
  5392. "responses": {
  5393. "200": {
  5394. "description": "OK",
  5395. "schema": {
  5396. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  5397. }
  5398. },
  5399. "500": {
  5400. "description": "Internal Server Error",
  5401. "schema": {
  5402. "$ref": "#/definitions/app.Response"
  5403. }
  5404. }
  5405. }
  5406. }
  5407. },
  5408. "/Trade/QueryRecieptOrder": {
  5409. "get": {
  5410. "security": [
  5411. {
  5412. "ApiKeyAuth": []
  5413. }
  5414. ],
  5415. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  5416. "produces": [
  5417. "application/json"
  5418. ],
  5419. "tags": [
  5420. "通用交易"
  5421. ],
  5422. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  5423. "parameters": [
  5424. {
  5425. "type": "integer",
  5426. "description": "页码",
  5427. "name": "page",
  5428. "in": "query"
  5429. },
  5430. {
  5431. "type": "integer",
  5432. "description": "每页条数",
  5433. "name": "pagesize",
  5434. "in": "query"
  5435. },
  5436. {
  5437. "type": "integer",
  5438. "description": "商品ID",
  5439. "name": "goodsID",
  5440. "in": "query",
  5441. "required": true
  5442. },
  5443. {
  5444. "type": "string",
  5445. "description": "所属账户名称",
  5446. "name": "accountName",
  5447. "in": "query"
  5448. },
  5449. {
  5450. "type": "integer",
  5451. "description": "市场ID",
  5452. "name": "marketID",
  5453. "in": "query"
  5454. },
  5455. {
  5456. "type": "integer",
  5457. "description": "方向 - 0:买 1:卖",
  5458. "name": "buyorsell",
  5459. "in": "query",
  5460. "required": true
  5461. }
  5462. ],
  5463. "responses": {
  5464. "200": {
  5465. "description": "OK",
  5466. "schema": {
  5467. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  5468. }
  5469. },
  5470. "500": {
  5471. "description": "Internal Server Error",
  5472. "schema": {
  5473. "$ref": "#/definitions/app.Response"
  5474. }
  5475. }
  5476. }
  5477. }
  5478. },
  5479. "/User/AddMessageBoard": {
  5480. "post": {
  5481. "security": [
  5482. {
  5483. "ApiKeyAuth": []
  5484. }
  5485. ],
  5486. "produces": [
  5487. "application/json"
  5488. ],
  5489. "tags": [
  5490. "用户信息"
  5491. ],
  5492. "summary": "添加用户留言板信息",
  5493. "parameters": [
  5494. {
  5495. "type": "integer",
  5496. "description": "用户ID",
  5497. "name": "userID",
  5498. "in": "query",
  5499. "required": true
  5500. },
  5501. {
  5502. "type": "string",
  5503. "description": "留言信息",
  5504. "name": "message",
  5505. "in": "query",
  5506. "required": true
  5507. }
  5508. ],
  5509. "responses": {
  5510. "200": {
  5511. "description": "OK",
  5512. "schema": {
  5513. "$ref": "#/definitions/app.Response"
  5514. }
  5515. },
  5516. "500": {
  5517. "description": "Internal Server Error",
  5518. "schema": {
  5519. "$ref": "#/definitions/app.Response"
  5520. }
  5521. }
  5522. }
  5523. }
  5524. },
  5525. "/User/AddUserFavoriteGoods": {
  5526. "post": {
  5527. "security": [
  5528. {
  5529. "ApiKeyAuth": []
  5530. }
  5531. ],
  5532. "produces": [
  5533. "application/json"
  5534. ],
  5535. "tags": [
  5536. "用户信息"
  5537. ],
  5538. "summary": "添加用户商品收藏信息",
  5539. "parameters": [
  5540. {
  5541. "type": "integer",
  5542. "description": "用户ID",
  5543. "name": "userID",
  5544. "in": "query",
  5545. "required": true
  5546. },
  5547. {
  5548. "type": "integer",
  5549. "description": "商品ID",
  5550. "name": "goodsID",
  5551. "in": "query",
  5552. "required": true
  5553. }
  5554. ],
  5555. "responses": {
  5556. "200": {
  5557. "description": "OK",
  5558. "schema": {
  5559. "$ref": "#/definitions/app.Response"
  5560. }
  5561. },
  5562. "500": {
  5563. "description": "Internal Server Error",
  5564. "schema": {
  5565. "$ref": "#/definitions/app.Response"
  5566. }
  5567. }
  5568. }
  5569. }
  5570. },
  5571. "/User/GetLoginID": {
  5572. "get": {
  5573. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  5574. "produces": [
  5575. "application/json"
  5576. ],
  5577. "tags": [
  5578. "用户信息"
  5579. ],
  5580. "summary": "获取登录ID",
  5581. "parameters": [
  5582. {
  5583. "type": "string",
  5584. "description": "登录代码",
  5585. "name": "username",
  5586. "in": "query",
  5587. "required": true
  5588. }
  5589. ],
  5590. "responses": {
  5591. "200": {
  5592. "description": "OK",
  5593. "schema": {
  5594. "$ref": "#/definitions/app.Response"
  5595. }
  5596. },
  5597. "500": {
  5598. "description": "Internal Server Error",
  5599. "schema": {
  5600. "$ref": "#/definitions/app.Response"
  5601. }
  5602. }
  5603. }
  5604. }
  5605. },
  5606. "/User/GetUserAccount": {
  5607. "get": {
  5608. "security": [
  5609. {
  5610. "ApiKeyAuth": []
  5611. }
  5612. ],
  5613. "produces": [
  5614. "application/json"
  5615. ],
  5616. "tags": [
  5617. "用户信息"
  5618. ],
  5619. "summary": "获取用户账号信息",
  5620. "parameters": [
  5621. {
  5622. "type": "integer",
  5623. "description": "用户ID",
  5624. "name": "userID",
  5625. "in": "query",
  5626. "required": true
  5627. }
  5628. ],
  5629. "responses": {
  5630. "200": {
  5631. "description": "OK",
  5632. "schema": {
  5633. "$ref": "#/definitions/models.Useraccount"
  5634. }
  5635. },
  5636. "500": {
  5637. "description": "Internal Server Error",
  5638. "schema": {
  5639. "$ref": "#/definitions/app.Response"
  5640. }
  5641. }
  5642. }
  5643. }
  5644. },
  5645. "/User/GetUserAuthStatus": {
  5646. "get": {
  5647. "security": [
  5648. {
  5649. "ApiKeyAuth": []
  5650. }
  5651. ],
  5652. "produces": [
  5653. "application/json"
  5654. ],
  5655. "tags": [
  5656. "用户信息"
  5657. ],
  5658. "summary": "获取用户实名认证状态",
  5659. "parameters": [
  5660. {
  5661. "type": "integer",
  5662. "description": "用户ID",
  5663. "name": "userID",
  5664. "in": "query",
  5665. "required": true
  5666. }
  5667. ],
  5668. "responses": {
  5669. "200": {
  5670. "description": "OK",
  5671. "schema": {
  5672. "$ref": "#/definitions/app.Response"
  5673. }
  5674. },
  5675. "500": {
  5676. "description": "Internal Server Error",
  5677. "schema": {
  5678. "$ref": "#/definitions/app.Response"
  5679. }
  5680. }
  5681. }
  5682. }
  5683. },
  5684. "/User/QueryMessageBoard": {
  5685. "get": {
  5686. "security": [
  5687. {
  5688. "ApiKeyAuth": []
  5689. }
  5690. ],
  5691. "produces": [
  5692. "application/json"
  5693. ],
  5694. "tags": [
  5695. "用户信息"
  5696. ],
  5697. "summary": "获取用户留言板信息",
  5698. "parameters": [
  5699. {
  5700. "type": "integer",
  5701. "description": "用户ID",
  5702. "name": "userID",
  5703. "in": "query",
  5704. "required": true
  5705. }
  5706. ],
  5707. "responses": {
  5708. "200": {
  5709. "description": "OK",
  5710. "schema": {
  5711. "$ref": "#/definitions/models.Messageboard"
  5712. }
  5713. },
  5714. "500": {
  5715. "description": "Internal Server Error",
  5716. "schema": {
  5717. "$ref": "#/definitions/app.Response"
  5718. }
  5719. }
  5720. }
  5721. }
  5722. },
  5723. "/User/QueryUserFavoriteGoodses": {
  5724. "get": {
  5725. "security": [
  5726. {
  5727. "ApiKeyAuth": []
  5728. }
  5729. ],
  5730. "produces": [
  5731. "application/json"
  5732. ],
  5733. "tags": [
  5734. "用户信息"
  5735. ],
  5736. "summary": "获取用户商品收藏信息",
  5737. "parameters": [
  5738. {
  5739. "type": "integer",
  5740. "description": "用户ID",
  5741. "name": "userID",
  5742. "in": "query",
  5743. "required": true
  5744. }
  5745. ],
  5746. "responses": {
  5747. "200": {
  5748. "description": "OK",
  5749. "schema": {
  5750. "$ref": "#/definitions/models.Userfavoritegoods"
  5751. }
  5752. },
  5753. "500": {
  5754. "description": "Internal Server Error",
  5755. "schema": {
  5756. "$ref": "#/definitions/app.Response"
  5757. }
  5758. }
  5759. }
  5760. }
  5761. },
  5762. "/User/QueryUserInfo": {
  5763. "get": {
  5764. "security": [
  5765. {
  5766. "ApiKeyAuth": []
  5767. }
  5768. ],
  5769. "produces": [
  5770. "application/json"
  5771. ],
  5772. "tags": [
  5773. "用户信息"
  5774. ],
  5775. "summary": "获取用户信息",
  5776. "parameters": [
  5777. {
  5778. "type": "integer",
  5779. "description": "用户ID",
  5780. "name": "userID",
  5781. "in": "query",
  5782. "required": true
  5783. }
  5784. ],
  5785. "responses": {
  5786. "200": {
  5787. "description": "OK",
  5788. "schema": {
  5789. "$ref": "#/definitions/models.Userinfo"
  5790. }
  5791. },
  5792. "500": {
  5793. "description": "Internal Server Error",
  5794. "schema": {
  5795. "$ref": "#/definitions/app.Response"
  5796. }
  5797. }
  5798. }
  5799. }
  5800. },
  5801. "/User/QueryUserReferNum": {
  5802. "get": {
  5803. "produces": [
  5804. "application/json"
  5805. ],
  5806. "tags": [
  5807. "用户信息"
  5808. ],
  5809. "summary": "获取用户邀请码",
  5810. "parameters": [
  5811. {
  5812. "type": "integer",
  5813. "description": "用户ID",
  5814. "name": "userID",
  5815. "in": "query",
  5816. "required": true
  5817. }
  5818. ],
  5819. "responses": {
  5820. "200": {
  5821. "description": "OK",
  5822. "schema": {
  5823. "$ref": "#/definitions/app.Response"
  5824. }
  5825. },
  5826. "500": {
  5827. "description": "Internal Server Error",
  5828. "schema": {
  5829. "$ref": "#/definitions/app.Response"
  5830. }
  5831. }
  5832. }
  5833. }
  5834. },
  5835. "/User/RemoveUserFavoriteGoods": {
  5836. "post": {
  5837. "security": [
  5838. {
  5839. "ApiKeyAuth": []
  5840. }
  5841. ],
  5842. "produces": [
  5843. "application/json"
  5844. ],
  5845. "tags": [
  5846. "用户信息"
  5847. ],
  5848. "summary": "移除用户商品收藏信息",
  5849. "parameters": [
  5850. {
  5851. "type": "integer",
  5852. "description": "用户ID",
  5853. "name": "userID",
  5854. "in": "query",
  5855. "required": true
  5856. },
  5857. {
  5858. "type": "integer",
  5859. "description": "商品ID",
  5860. "name": "goodsID",
  5861. "in": "query",
  5862. "required": true
  5863. }
  5864. ],
  5865. "responses": {
  5866. "200": {
  5867. "description": "OK",
  5868. "schema": {
  5869. "$ref": "#/definitions/app.Response"
  5870. }
  5871. },
  5872. "500": {
  5873. "description": "Internal Server Error",
  5874. "schema": {
  5875. "$ref": "#/definitions/app.Response"
  5876. }
  5877. }
  5878. }
  5879. }
  5880. },
  5881. "/User/UpdateUserAccountStatus": {
  5882. "post": {
  5883. "security": [
  5884. {
  5885. "ApiKeyAuth": []
  5886. }
  5887. ],
  5888. "produces": [
  5889. "application/json"
  5890. ],
  5891. "tags": [
  5892. "用户信息"
  5893. ],
  5894. "summary": "更新用户状态",
  5895. "parameters": [
  5896. {
  5897. "type": "integer",
  5898. "description": "用户ID",
  5899. "name": "userID",
  5900. "in": "query",
  5901. "required": true
  5902. },
  5903. {
  5904. "type": "integer",
  5905. "description": "账户状态 - 4:正常 6:注销(停用)",
  5906. "name": "accountStatus",
  5907. "in": "query",
  5908. "required": true
  5909. }
  5910. ],
  5911. "responses": {
  5912. "200": {
  5913. "description": "OK",
  5914. "schema": {
  5915. "$ref": "#/definitions/app.Response"
  5916. }
  5917. },
  5918. "500": {
  5919. "description": "Internal Server Error",
  5920. "schema": {
  5921. "$ref": "#/definitions/app.Response"
  5922. }
  5923. }
  5924. }
  5925. }
  5926. },
  5927. "/WR/GetWRCategoryInfo": {
  5928. "get": {
  5929. "produces": [
  5930. "application/json"
  5931. ],
  5932. "tags": [
  5933. "仓单服务"
  5934. ],
  5935. "summary": "获取现货分类信息",
  5936. "responses": {
  5937. "200": {
  5938. "description": "OK",
  5939. "schema": {
  5940. "$ref": "#/definitions/models.WRCategoryTree"
  5941. }
  5942. },
  5943. "500": {
  5944. "description": "Internal Server Error",
  5945. "schema": {
  5946. "$ref": "#/definitions/app.Response"
  5947. }
  5948. }
  5949. }
  5950. }
  5951. },
  5952. "/WRTrade/GetAllDeliveryGoods": {
  5953. "get": {
  5954. "security": [
  5955. {
  5956. "ApiKeyAuth": []
  5957. },
  5958. {
  5959. "ApiKeyAuth": []
  5960. }
  5961. ],
  5962. "produces": [
  5963. "application/json",
  5964. "application/json"
  5965. ],
  5966. "tags": [
  5967. "仓单贸易",
  5968. "仓单贸易"
  5969. ],
  5970. "summary": "获取带仓单分类的种类信息",
  5971. "responses": {
  5972. "200": {
  5973. "description": "OK",
  5974. "schema": {
  5975. "$ref": "#/definitions/app.Response"
  5976. }
  5977. },
  5978. "500": {
  5979. "description": "Internal Server Error",
  5980. "schema": {
  5981. "$ref": "#/definitions/app.Response"
  5982. }
  5983. }
  5984. }
  5985. }
  5986. }
  5987. },
  5988. "definitions": {
  5989. "app.Response": {
  5990. "type": "object",
  5991. "properties": {
  5992. "code": {
  5993. "type": "integer"
  5994. },
  5995. "data": {
  5996. "type": "object"
  5997. },
  5998. "msg": {
  5999. "type": "string"
  6000. },
  6001. "page": {
  6002. "description": "页码",
  6003. "type": "integer"
  6004. },
  6005. "pagesize": {
  6006. "description": "每页条数",
  6007. "type": "integer"
  6008. },
  6009. "total": {
  6010. "description": "总条数",
  6011. "type": "integer"
  6012. }
  6013. }
  6014. },
  6015. "common.QueryNoticeRsp": {
  6016. "type": "object",
  6017. "required": [
  6018. "autoid"
  6019. ],
  6020. "properties": {
  6021. "auditoruserid": {
  6022. "description": "审核人",
  6023. "type": "integer"
  6024. },
  6025. "auditremark": {
  6026. "description": "审核备注",
  6027. "type": "string"
  6028. },
  6029. "audittime": {
  6030. "description": "审核日期",
  6031. "type": "string"
  6032. },
  6033. "autoid": {
  6034. "description": "自增ID",
  6035. "type": "integer"
  6036. },
  6037. "content": {
  6038. "description": "内容",
  6039. "type": "string"
  6040. },
  6041. "createtime": {
  6042. "description": "创建时间",
  6043. "type": "string"
  6044. },
  6045. "creatorid": {
  6046. "description": "建仓人",
  6047. "type": "integer"
  6048. },
  6049. "endtime": {
  6050. "description": "结束时间",
  6051. "type": "string"
  6052. },
  6053. "istop": {
  6054. "description": "是否置顶 - 0:不置顶 1:置顶",
  6055. "type": "integer"
  6056. },
  6057. "msgiconurl": {
  6058. "description": "消息图标Url",
  6059. "type": "string"
  6060. },
  6061. "msgtype": {
  6062. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  6063. "type": "integer"
  6064. },
  6065. "publisher": {
  6066. "description": "消息发布者",
  6067. "type": "string"
  6068. },
  6069. "readed": {
  6070. "description": "是否已读",
  6071. "type": "boolean"
  6072. },
  6073. "scheduletime": {
  6074. "description": "计划发送时间",
  6075. "type": "string"
  6076. },
  6077. "sendtype": {
  6078. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  6079. "type": "integer"
  6080. },
  6081. "sentstatus": {
  6082. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  6083. "type": "integer"
  6084. },
  6085. "title": {
  6086. "description": "标题",
  6087. "type": "string"
  6088. },
  6089. "userid": {
  6090. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  6091. "type": "integer"
  6092. }
  6093. }
  6094. },
  6095. "common.QueryProvincesAndCitiesRsp": {
  6096. "type": "object",
  6097. "properties": {
  6098. "cities": {
  6099. "description": "市",
  6100. "type": "array",
  6101. "items": {
  6102. "$ref": "#/definitions/models.Division"
  6103. }
  6104. },
  6105. "province": {
  6106. "description": "省",
  6107. "$ref": "#/definitions/models.Division"
  6108. }
  6109. }
  6110. },
  6111. "common.QueryTableDefineRsp": {
  6112. "type": "object",
  6113. "required": [
  6114. "tablekey"
  6115. ],
  6116. "properties": {
  6117. "columns": {
  6118. "description": "列头信息数组",
  6119. "type": "array",
  6120. "items": {
  6121. "$ref": "#/definitions/models.Tablecolumnconfig"
  6122. }
  6123. },
  6124. "remark": {
  6125. "description": "Remark",
  6126. "type": "string"
  6127. },
  6128. "tabelmenu": {
  6129. "description": "列表菜单",
  6130. "type": "string"
  6131. },
  6132. "tablekey": {
  6133. "description": "列表Key",
  6134. "type": "string"
  6135. },
  6136. "tablename": {
  6137. "description": "列表名称",
  6138. "type": "string"
  6139. },
  6140. "tabletype": {
  6141. "description": "列表类型 - 1:管理端 2:终端",
  6142. "type": "integer"
  6143. }
  6144. }
  6145. },
  6146. "common.QueryTraderMenuRsp": {
  6147. "type": "object",
  6148. "properties": {
  6149. "OperationMenu": {
  6150. "description": "功能菜单",
  6151. "type": "array",
  6152. "items": {
  6153. "$ref": "#/definitions/models.OperationPrimaryMenu"
  6154. }
  6155. },
  6156. "QuoteMenu": {
  6157. "description": "报价牌分类菜单",
  6158. "type": "array",
  6159. "items": {
  6160. "$ref": "#/definitions/models.QuotePrimaryMenu"
  6161. }
  6162. }
  6163. }
  6164. },
  6165. "cptrade.Cptradepositioncancel": {
  6166. "type": "object",
  6167. "required": [
  6168. "cancelid"
  6169. ],
  6170. "properties": {
  6171. "accountid": {
  6172. "description": "申请人账户ID",
  6173. "type": "integer"
  6174. },
  6175. "applystatus": {
  6176. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6177. "type": "integer"
  6178. },
  6179. "applytime": {
  6180. "description": "申请时间",
  6181. "type": "string"
  6182. },
  6183. "cancelid": {
  6184. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  6185. "type": "integer"
  6186. },
  6187. "cancelqty": {
  6188. "description": "注销数量",
  6189. "type": "integer"
  6190. },
  6191. "createtime": {
  6192. "description": "创建时间",
  6193. "type": "string"
  6194. },
  6195. "creatorid": {
  6196. "description": "创建人ID",
  6197. "type": "integer"
  6198. },
  6199. "creatorname": {
  6200. "description": "创建人",
  6201. "type": "string"
  6202. },
  6203. "goodscode": {
  6204. "description": "订单商品代码",
  6205. "type": "string"
  6206. },
  6207. "goodsid": {
  6208. "description": "商品ID",
  6209. "type": "integer"
  6210. },
  6211. "goodsname": {
  6212. "description": "订单商品名称",
  6213. "type": "string"
  6214. },
  6215. "goodunit": {
  6216. "description": "报价单位",
  6217. "type": "string"
  6218. },
  6219. "handlestatus": {
  6220. "description": "处理状态",
  6221. "type": "integer"
  6222. },
  6223. "marketid": {
  6224. "description": "市场ID",
  6225. "type": "integer"
  6226. },
  6227. "marketname": {
  6228. "description": "市场名称",
  6229. "type": "string"
  6230. },
  6231. "tradedate": {
  6232. "description": "交易日(yyyyMMdd)",
  6233. "type": "string"
  6234. },
  6235. "userid": {
  6236. "description": "申请人ID",
  6237. "type": "integer"
  6238. }
  6239. }
  6240. },
  6241. "cptrade.Cptradepresaleapply": {
  6242. "type": "object",
  6243. "required": [
  6244. "applyid"
  6245. ],
  6246. "properties": {
  6247. "accountid": {
  6248. "description": "申请人账户ID",
  6249. "type": "integer"
  6250. },
  6251. "applyid": {
  6252. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  6253. "type": "integer"
  6254. },
  6255. "applyremark": {
  6256. "description": "申请备注",
  6257. "type": "string"
  6258. },
  6259. "applystatus": {
  6260. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  6261. "type": "integer"
  6262. },
  6263. "applytime": {
  6264. "description": "申请时间",
  6265. "type": "string"
  6266. },
  6267. "attachmenturl": {
  6268. "description": "附件地址",
  6269. "type": "string"
  6270. },
  6271. "endtime": {
  6272. "description": "预售结束时间",
  6273. "type": "string"
  6274. },
  6275. "goodscode": {
  6276. "description": "商品代码",
  6277. "type": "string"
  6278. },
  6279. "goodsid": {
  6280. "description": "商品ID",
  6281. "type": "integer"
  6282. },
  6283. "goodsname": {
  6284. "description": "商品名称",
  6285. "type": "string"
  6286. },
  6287. "goodunit": {
  6288. "description": "报价单位",
  6289. "type": "string"
  6290. },
  6291. "handlestatus": {
  6292. "description": "处理状态",
  6293. "type": "integer"
  6294. },
  6295. "marketid": {
  6296. "description": "预售市场ID",
  6297. "type": "integer"
  6298. },
  6299. "marketname": {
  6300. "description": "预售市场名称",
  6301. "type": "string"
  6302. },
  6303. "presaleqty": {
  6304. "description": "预售数量",
  6305. "type": "integer"
  6306. },
  6307. "relatedgoodscode": {
  6308. "description": "关联交易合约代码",
  6309. "type": "string"
  6310. },
  6311. "relatedgoodsid": {
  6312. "description": "关联交易合约ID",
  6313. "type": "integer"
  6314. },
  6315. "relatedgoodsname": {
  6316. "description": "关联交易合约名称",
  6317. "type": "string"
  6318. },
  6319. "starttime": {
  6320. "description": "预售开始时间",
  6321. "type": "string"
  6322. },
  6323. "tradedate": {
  6324. "description": "交易日(yyyyMMdd)",
  6325. "type": "string"
  6326. },
  6327. "trademode": {
  6328. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  6329. "type": "integer"
  6330. },
  6331. "userid": {
  6332. "description": "申请人ID",
  6333. "type": "integer"
  6334. }
  6335. }
  6336. },
  6337. "cptrade.Cptradeusergoodsdata": {
  6338. "type": "object",
  6339. "required": [
  6340. "accountid",
  6341. "goodsid"
  6342. ],
  6343. "properties": {
  6344. "EnabledQty": {
  6345. "description": "可用量",
  6346. "type": "integer"
  6347. },
  6348. "GoodsCode": {
  6349. "description": "订单商品代码",
  6350. "type": "string"
  6351. },
  6352. "GoodsName": {
  6353. "description": "订单商品名称",
  6354. "type": "string"
  6355. },
  6356. "WRStandardCode": {
  6357. "description": "仓单标准代码",
  6358. "type": "string"
  6359. },
  6360. "WRStandardName": {
  6361. "description": "仓单标准名称",
  6362. "type": "string"
  6363. },
  6364. "accountid": {
  6365. "description": "账户ID",
  6366. "type": "integer"
  6367. },
  6368. "cancelqty": {
  6369. "description": "注销量",
  6370. "type": "integer"
  6371. },
  6372. "curpresaleqty": {
  6373. "description": "当前预售量",
  6374. "type": "integer"
  6375. },
  6376. "deliveryqty": {
  6377. "description": "交割量",
  6378. "type": "integer"
  6379. },
  6380. "freezeamount": {
  6381. "description": "冻结金额",
  6382. "type": "number"
  6383. },
  6384. "goodsid": {
  6385. "description": "商品ID",
  6386. "type": "integer"
  6387. },
  6388. "goodunit": {
  6389. "description": "报价单位",
  6390. "type": "string"
  6391. },
  6392. "hasspotfreeze": {
  6393. "description": "是否有现货冻结 - 0:否 1:有",
  6394. "type": "integer"
  6395. },
  6396. "inqty": {
  6397. "description": "转入量(总数量)",
  6398. "type": "integer"
  6399. },
  6400. "marketid": {
  6401. "description": "市场ID",
  6402. "type": "integer"
  6403. },
  6404. "presaledamount": {
  6405. "description": "已预售总金额",
  6406. "type": "integer"
  6407. },
  6408. "presaledqty": {
  6409. "description": "已预售量",
  6410. "type": "integer"
  6411. },
  6412. "userid": {
  6413. "description": "用户ID",
  6414. "type": "integer"
  6415. },
  6416. "wrstandardid": {
  6417. "description": "仓单标准ID",
  6418. "type": "integer"
  6419. }
  6420. }
  6421. },
  6422. "cptrade.QueryCPTradeMyBidRsp": {
  6423. "type": "object",
  6424. "required": [
  6425. "accountid",
  6426. "goodsid",
  6427. "marketid",
  6428. "orderid",
  6429. "orderqty",
  6430. "ordertime",
  6431. "tradeprice",
  6432. "tradeqty"
  6433. ],
  6434. "properties": {
  6435. "accountid": {
  6436. "description": "账户ID[报价币种]",
  6437. "type": "integer"
  6438. },
  6439. "goodsid": {
  6440. "description": "商品ID",
  6441. "type": "integer"
  6442. },
  6443. "goodunit": {
  6444. "description": "报价单位",
  6445. "type": "string"
  6446. },
  6447. "marketid": {
  6448. "description": "市场ID",
  6449. "type": "integer"
  6450. },
  6451. "orderid": {
  6452. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6453. "type": "integer"
  6454. },
  6455. "orderprice": {
  6456. "description": "委托价格",
  6457. "type": "number"
  6458. },
  6459. "orderqty": {
  6460. "description": "委托数量",
  6461. "type": "integer"
  6462. },
  6463. "ordertime": {
  6464. "description": "委托时间",
  6465. "type": "string"
  6466. },
  6467. "ordertotalprice": {
  6468. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  6469. "type": "number"
  6470. },
  6471. "ordertotalweight": {
  6472. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  6473. "type": "integer"
  6474. },
  6475. "totaltotalprice": {
  6476. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  6477. "type": "number"
  6478. },
  6479. "tradeprice": {
  6480. "description": "成交价格",
  6481. "type": "number"
  6482. },
  6483. "tradeqty": {
  6484. "description": "成交数量",
  6485. "type": "integer"
  6486. }
  6487. }
  6488. },
  6489. "cptrade.QueryCPTradeOrderDetailRsq": {
  6490. "type": "object",
  6491. "required": [
  6492. "accountid",
  6493. "buildtype",
  6494. "buyorsell",
  6495. "goodsid",
  6496. "marketid",
  6497. "memberuserid",
  6498. "operatetype",
  6499. "orderqty",
  6500. "ordertime",
  6501. "pricemode",
  6502. "strorderid",
  6503. "tradedate",
  6504. "validtype"
  6505. ],
  6506. "properties": {
  6507. "accountid": {
  6508. "description": "账户ID[报价币种]",
  6509. "type": "integer"
  6510. },
  6511. "buildtype": {
  6512. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  6513. "type": "integer"
  6514. },
  6515. "buyorsell": {
  6516. "description": "买卖 - 0:买 1:卖",
  6517. "type": "integer"
  6518. },
  6519. "cancelorderid": {
  6520. "description": "撤单单号(撤单时填写)",
  6521. "type": "integer"
  6522. },
  6523. "cancelqty": {
  6524. "description": "撤单数量",
  6525. "type": "integer"
  6526. },
  6527. "clientordertime": {
  6528. "description": "客户端委托时间",
  6529. "type": "string"
  6530. },
  6531. "clientticket": {
  6532. "description": "客户端流水号",
  6533. "type": "string"
  6534. },
  6535. "clienttype": {
  6536. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  6537. "type": "integer"
  6538. },
  6539. "closeexchagechargevalue": {
  6540. "description": "平仓交易所手续费设置值",
  6541. "type": "number"
  6542. },
  6543. "closefeealgorithm": {
  6544. "description": "平仓手续费收取方式 1:比率 2:固定",
  6545. "type": "integer"
  6546. },
  6547. "closefreezecharge": {
  6548. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  6549. "type": "number"
  6550. },
  6551. "closememberchargevalue": {
  6552. "description": "平仓会员手续费设置值",
  6553. "type": "number"
  6554. },
  6555. "closeqty": {
  6556. "description": "平仓数量(先建后平操作 需要记录)",
  6557. "type": "integer"
  6558. },
  6559. "closetradeqty": {
  6560. "description": "平仓成交数量(先建后平操作,需要记录)",
  6561. "type": "integer"
  6562. },
  6563. "closeunfreezecharge": {
  6564. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  6565. "type": "number"
  6566. },
  6567. "delistingtype": {
  6568. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  6569. "type": "integer"
  6570. },
  6571. "freezecharge": {
  6572. "description": "冻结手续费",
  6573. "type": "number"
  6574. },
  6575. "freezemargin": {
  6576. "description": "冻结保证金(冻结交易金额)",
  6577. "type": "number"
  6578. },
  6579. "gcaccountid": {
  6580. "description": "账户ID[合约币种]",
  6581. "type": "integer"
  6582. },
  6583. "goodsid": {
  6584. "description": "商品ID",
  6585. "type": "integer"
  6586. },
  6587. "isconfirmexercise": {
  6588. "description": "是否确认行权- 0:否 1:是",
  6589. "type": "integer"
  6590. },
  6591. "ispreexercise": {
  6592. "description": "是否预申报- 0:否 1:是",
  6593. "type": "integer"
  6594. },
  6595. "listingselecttype": {
  6596. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  6597. "type": "integer"
  6598. },
  6599. "marginalgorithm": {
  6600. "description": "保证金收取方式 1:比率 2:固定",
  6601. "type": "integer"
  6602. },
  6603. "marginvalue": {
  6604. "description": "即市保证金设置值",
  6605. "type": "number"
  6606. },
  6607. "marketid": {
  6608. "description": "市场ID",
  6609. "type": "integer"
  6610. },
  6611. "marketmaxsub": {
  6612. "description": "市价最大偏移范围",
  6613. "type": "number"
  6614. },
  6615. "memberuserid": {
  6616. "description": "所属会员UserID",
  6617. "type": "integer"
  6618. },
  6619. "openexchagechargevalue": {
  6620. "description": "建仓交易所手续费设置值",
  6621. "type": "number"
  6622. },
  6623. "openfeealgorithm": {
  6624. "description": "建仓手续费收取方式 1:比率 2:固定",
  6625. "type": "integer"
  6626. },
  6627. "openfreezecharge": {
  6628. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  6629. "type": "number"
  6630. },
  6631. "openmemberchargevalue": {
  6632. "description": "建仓会员手续费设置值",
  6633. "type": "number"
  6634. },
  6635. "openqty": {
  6636. "description": "开仓数量(先建后平操作,需要记录)",
  6637. "type": "integer"
  6638. },
  6639. "opentradeqty": {
  6640. "description": "开仓成交数量(先建后平操作,需要记录)",
  6641. "type": "integer"
  6642. },
  6643. "openunfreezecharge": {
  6644. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  6645. "type": "number"
  6646. },
  6647. "operatetype": {
  6648. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  6649. "type": "integer"
  6650. },
  6651. "operatorid": {
  6652. "description": "登录账号(LoginID)",
  6653. "type": "integer"
  6654. },
  6655. "optiontype": {
  6656. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  6657. "type": "integer"
  6658. },
  6659. "orderprice": {
  6660. "description": "委托价格",
  6661. "type": "number"
  6662. },
  6663. "orderqty": {
  6664. "description": "委托数量",
  6665. "type": "integer"
  6666. },
  6667. "ordersrc": {
  6668. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  6669. "type": "integer"
  6670. },
  6671. "orderstatus": {
  6672. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  6673. "type": "integer"
  6674. },
  6675. "ordertime": {
  6676. "description": "委托时间",
  6677. "type": "string"
  6678. },
  6679. "preexerciseprice": {
  6680. "description": "预申报价格",
  6681. "type": "number"
  6682. },
  6683. "premium": {
  6684. "description": "权利金",
  6685. "type": "number"
  6686. },
  6687. "preorderid": {
  6688. "description": "关联预埋单号(止盈止损单时填写)",
  6689. "type": "integer"
  6690. },
  6691. "pricemode": {
  6692. "description": "取价方式 - 1:市价 2: 限价",
  6693. "type": "integer"
  6694. },
  6695. "quoteid": {
  6696. "description": "报价单ID",
  6697. "type": "integer"
  6698. },
  6699. "relatedid": {
  6700. "description": "关联单号(交割单)",
  6701. "type": "integer"
  6702. },
  6703. "retcode": {
  6704. "description": "错误代码",
  6705. "type": "integer"
  6706. },
  6707. "sessionid": {
  6708. "description": "会话ID",
  6709. "type": "integer"
  6710. },
  6711. "strorderid": {
  6712. "description": "委托单号",
  6713. "type": "string"
  6714. },
  6715. "tradedate": {
  6716. "description": "交易日(yyyyMMdd)",
  6717. "type": "string"
  6718. },
  6719. "tradeproperty": {
  6720. "description": "交易属性",
  6721. "type": "integer"
  6722. },
  6723. "tradeqty": {
  6724. "description": "成交数量",
  6725. "type": "integer"
  6726. },
  6727. "unfreezecharge": {
  6728. "description": "解冻手续费",
  6729. "type": "number"
  6730. },
  6731. "unfreezemargin": {
  6732. "description": "解冻保证金",
  6733. "type": "number"
  6734. },
  6735. "updatetime": {
  6736. "description": "更新时间",
  6737. "type": "string"
  6738. },
  6739. "uuid": {
  6740. "description": "发起端唯一id",
  6741. "type": "string"
  6742. },
  6743. "validtime": {
  6744. "description": "有效期限",
  6745. "type": "string"
  6746. },
  6747. "validtype": {
  6748. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  6749. "type": "integer"
  6750. },
  6751. "volumetype": {
  6752. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  6753. "type": "integer"
  6754. }
  6755. }
  6756. },
  6757. "cptrade.QueryMyCPTradeGoodsRsp": {
  6758. "type": "object",
  6759. "required": [
  6760. "goodscode",
  6761. "goodsid",
  6762. "goodsname",
  6763. "marketid",
  6764. "relatedgoodscode",
  6765. "relatedgoodsname"
  6766. ],
  6767. "properties": {
  6768. "accountid": {
  6769. "description": "卖方账户ID",
  6770. "type": "integer"
  6771. },
  6772. "agreeunit": {
  6773. "description": "合约单位",
  6774. "type": "number"
  6775. },
  6776. "applyid": {
  6777. "description": "关联申请ID",
  6778. "type": "integer"
  6779. },
  6780. "attachmenturl": {
  6781. "description": "附件地址",
  6782. "type": "string"
  6783. },
  6784. "createtime": {
  6785. "description": "创建时间",
  6786. "type": "string"
  6787. },
  6788. "currencyid": {
  6789. "description": "报价货币ID",
  6790. "type": "integer"
  6791. },
  6792. "decimalplace": {
  6793. "description": "报价小数位",
  6794. "type": "integer"
  6795. },
  6796. "endtime": {
  6797. "description": "预售结束时间",
  6798. "type": "string"
  6799. },
  6800. "floorprice": {
  6801. "description": "底价[大宗式竞拍]",
  6802. "type": "number"
  6803. },
  6804. "goodscode": {
  6805. "description": "商品代码(预售)",
  6806. "type": "string"
  6807. },
  6808. "goodsdetail": {
  6809. "description": "详情[大宗]",
  6810. "type": "string"
  6811. },
  6812. "goodsid": {
  6813. "description": "商品ID(自增ID SEQ_GOODS)",
  6814. "type": "integer"
  6815. },
  6816. "goodsname": {
  6817. "description": "商品名称(预售)",
  6818. "type": "string"
  6819. },
  6820. "goodunit": {
  6821. "description": "报价单位",
  6822. "type": "string"
  6823. },
  6824. "goodunitid": {
  6825. "description": "报价单位ID",
  6826. "type": "integer"
  6827. },
  6828. "marketid": {
  6829. "description": "所属市场ID",
  6830. "type": "integer"
  6831. },
  6832. "marketname": {
  6833. "description": "预售市场名称",
  6834. "type": "string"
  6835. },
  6836. "presaledamount": {
  6837. "description": "已预售总金额(预售结束时更新)",
  6838. "type": "number"
  6839. },
  6840. "presaledqty": {
  6841. "description": "已预售量(预售结束时更新)",
  6842. "type": "integer"
  6843. },
  6844. "presalemode": {
  6845. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6846. "type": "integer"
  6847. },
  6848. "presaleqty": {
  6849. "description": "预售数量",
  6850. "type": "integer"
  6851. },
  6852. "refprice": {
  6853. "description": "参考价格[一口价]",
  6854. "type": "number"
  6855. },
  6856. "relatedgoodscode": {
  6857. "description": "商品代码(订单)",
  6858. "type": "string"
  6859. },
  6860. "relatedgoodsid": {
  6861. "description": "关联交易合约ID",
  6862. "type": "integer"
  6863. },
  6864. "relatedgoodsname": {
  6865. "description": "商品名称(订单)",
  6866. "type": "string"
  6867. },
  6868. "relatedmarketid": {
  6869. "description": "关联交易合约市场ID",
  6870. "type": "integer"
  6871. },
  6872. "sellstatus": {
  6873. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6874. "type": "integer"
  6875. },
  6876. "startprice": {
  6877. "description": "起拍价[大宗式竞拍]",
  6878. "type": "number"
  6879. },
  6880. "starttime": {
  6881. "description": "预售开始时间",
  6882. "type": "string"
  6883. },
  6884. "tradedate": {
  6885. "description": "交易日(yyyyMMdd)",
  6886. "type": "string"
  6887. },
  6888. "tradeprice": {
  6889. "description": "成交价[大宗]",
  6890. "type": "number"
  6891. },
  6892. "userid": {
  6893. "description": "卖方用户ID",
  6894. "type": "integer"
  6895. }
  6896. }
  6897. },
  6898. "cptrade.QueryPresaleGoodsExRsp": {
  6899. "type": "object",
  6900. "required": [
  6901. "goodsid"
  6902. ],
  6903. "properties": {
  6904. "attachmenturl": {
  6905. "description": "附件地址",
  6906. "type": "string"
  6907. },
  6908. "createtime": {
  6909. "description": "创建时间",
  6910. "type": "string"
  6911. },
  6912. "endtime": {
  6913. "description": "预售结束时间",
  6914. "type": "string"
  6915. },
  6916. "floorprice": {
  6917. "description": "底价[大宗式竞拍]",
  6918. "type": "number"
  6919. },
  6920. "goodsdetail": {
  6921. "description": "详情[大宗]",
  6922. "type": "string"
  6923. },
  6924. "goodsid": {
  6925. "description": "商品ID(预售)",
  6926. "type": "integer"
  6927. },
  6928. "goodunit": {
  6929. "description": "报价单位",
  6930. "type": "string"
  6931. },
  6932. "marketid": {
  6933. "description": "预售市场ID - 根据预售模式选择市场",
  6934. "type": "integer"
  6935. },
  6936. "presaledamount": {
  6937. "description": "已预售总金额(预售结束时更新)",
  6938. "type": "number"
  6939. },
  6940. "presaledqty": {
  6941. "description": "已预售量(预售结束时更新)",
  6942. "type": "integer"
  6943. },
  6944. "presalemode": {
  6945. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  6946. "type": "integer"
  6947. },
  6948. "presaleqty": {
  6949. "description": "预售数量",
  6950. "type": "integer"
  6951. },
  6952. "refprice": {
  6953. "description": "参考价格[一口价]",
  6954. "type": "number"
  6955. },
  6956. "relatedgoodsid": {
  6957. "description": "关联交易合约ID",
  6958. "type": "integer"
  6959. },
  6960. "relatedmarketid": {
  6961. "description": "关联交易合约市场ID",
  6962. "type": "integer"
  6963. },
  6964. "sellstatus": {
  6965. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  6966. "type": "integer"
  6967. },
  6968. "startprice": {
  6969. "description": "起拍价[大宗式竞拍]",
  6970. "type": "number"
  6971. },
  6972. "starttime": {
  6973. "description": "预售开始时间",
  6974. "type": "string"
  6975. },
  6976. "tradedate": {
  6977. "description": "交易日(yyyyMMdd)",
  6978. "type": "string"
  6979. },
  6980. "tradeprice": {
  6981. "description": "成交价[大宗]",
  6982. "type": "number"
  6983. }
  6984. }
  6985. },
  6986. "delivery.QueryDeliveryRelationRsp": {
  6987. "type": "object",
  6988. "required": [
  6989. "begindate",
  6990. "enddate",
  6991. "goodsid",
  6992. "mindeliveryqty",
  6993. "xdeliveryratio"
  6994. ],
  6995. "properties": {
  6996. "begindate": {
  6997. "description": "起始日期(yyyyMMdd)",
  6998. "type": "string"
  6999. },
  7000. "buytemplateid": {
  7001. "description": "买履约计划模板ID",
  7002. "type": "integer"
  7003. },
  7004. "deliverygoodscode": {
  7005. "description": "品种代码",
  7006. "type": "string"
  7007. },
  7008. "deliverygoodsid": {
  7009. "description": "交割商品",
  7010. "type": "integer"
  7011. },
  7012. "deliverygoodsname": {
  7013. "description": "品种名称",
  7014. "type": "string"
  7015. },
  7016. "deliverymode": {
  7017. "description": "交割方式 - 1:点选式 2:申报式",
  7018. "type": "integer"
  7019. },
  7020. "deliverypricerule": {
  7021. "description": "交割价规则- 1:行情价 2:建仓价",
  7022. "type": "integer"
  7023. },
  7024. "deliverytype": {
  7025. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  7026. "type": "integer"
  7027. },
  7028. "enddate": {
  7029. "description": "结束日期(yyyyMMdd)",
  7030. "type": "string"
  7031. },
  7032. "goodscode": {
  7033. "description": "商品代码",
  7034. "type": "string"
  7035. },
  7036. "goodsid": {
  7037. "description": "交易合约ID",
  7038. "type": "integer"
  7039. },
  7040. "goodsname": {
  7041. "description": "商品名称",
  7042. "type": "string"
  7043. },
  7044. "marketid": {
  7045. "description": "市场ID",
  7046. "type": "integer"
  7047. },
  7048. "mindeliveryqty": {
  7049. "description": "最小交割系数(K)",
  7050. "type": "integer"
  7051. },
  7052. "p2deliveryprice": {
  7053. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  7054. "type": "number"
  7055. },
  7056. "p2deliveryratio": {
  7057. "description": "P2合约系数(p)",
  7058. "type": "integer"
  7059. },
  7060. "p2goodsid": {
  7061. "description": "P2合约ID",
  7062. "type": "integer"
  7063. },
  7064. "p2pricemode": {
  7065. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  7066. "type": "integer"
  7067. },
  7068. "pdeliveryprice": {
  7069. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  7070. "type": "number"
  7071. },
  7072. "pdeliveryratio": {
  7073. "description": "P合约系数(n)",
  7074. "type": "integer"
  7075. },
  7076. "pgoodsid": {
  7077. "description": "P合约ID",
  7078. "type": "integer"
  7079. },
  7080. "ppricemode": {
  7081. "description": "P合约价格方式 - 1:商品价 2:固定值",
  7082. "type": "integer"
  7083. },
  7084. "rratio": {
  7085. "description": "兑换系数(R)",
  7086. "type": "integer"
  7087. },
  7088. "rratio1": {
  7089. "description": "兑换系数(交易合约)(R1)",
  7090. "type": "integer"
  7091. },
  7092. "rratio2": {
  7093. "description": "兑换系数(仓单标准)(R2)",
  7094. "type": "integer"
  7095. },
  7096. "selltemplateid": {
  7097. "description": "卖履约计划模板ID",
  7098. "type": "integer"
  7099. },
  7100. "wrstandardid": {
  7101. "description": "仓单标准ID",
  7102. "type": "integer"
  7103. },
  7104. "xdeliveryratio": {
  7105. "description": "交易合约系数(m)",
  7106. "type": "integer"
  7107. }
  7108. }
  7109. },
  7110. "ermcp.ExposureDetailRsp": {
  7111. "type": "object",
  7112. "properties": {
  7113. "areauserid": {
  7114. "description": "机构ID",
  7115. "type": "integer"
  7116. },
  7117. "changeQty": {
  7118. "description": "套保变动量",
  7119. "type": "number"
  7120. },
  7121. "contracttype": {
  7122. "description": "现货合同类型 - 1:采购 -1:销售",
  7123. "type": "integer"
  7124. },
  7125. "convertfactor": {
  7126. "description": "标仓系数",
  7127. "type": "number"
  7128. },
  7129. "convertratio": {
  7130. "description": "套保系数",
  7131. "type": "number"
  7132. },
  7133. "createtime": {
  7134. "description": "时间",
  7135. "type": "string"
  7136. },
  7137. "enumdicname": {
  7138. "description": "现货商品单位名称",
  7139. "type": "string"
  7140. },
  7141. "logtype": {
  7142. "description": "类型 - 1:套保计划 2:现货合同",
  7143. "type": "integer"
  7144. },
  7145. "middlegoodsId": {
  7146. "description": "套保商品id",
  7147. "type": "integer"
  7148. },
  7149. "middlegoodscode": {
  7150. "description": "套保商品代码",
  7151. "type": "string"
  7152. },
  7153. "middlegoodsname": {
  7154. "description": "套保商品名称",
  7155. "type": "string"
  7156. },
  7157. "qty": {
  7158. "description": "数量",
  7159. "type": "number"
  7160. },
  7161. "relateNo": {
  7162. "description": "现货合同/套保计划编号",
  7163. "type": "string"
  7164. },
  7165. "wrstandardcode": {
  7166. "description": "现货商品代码",
  7167. "type": "string"
  7168. },
  7169. "wrstandardid": {
  7170. "description": "现货商品ID",
  7171. "type": "integer"
  7172. },
  7173. "wrstandardname": {
  7174. "description": "现货商品名称",
  7175. "type": "string"
  7176. }
  7177. }
  7178. },
  7179. "ermcp.ExposureHedgePosDetailRsp": {
  7180. "type": "object",
  7181. "properties": {
  7182. "buyorsell": {
  7183. "description": "买卖方向 0-买 1-卖",
  7184. "type": "integer"
  7185. },
  7186. "channelbuildtype": {
  7187. "description": "开平方向 1-建仓 2-平仓",
  7188. "type": "integer"
  7189. },
  7190. "goodscode": {
  7191. "description": "商品代码",
  7192. "type": "string"
  7193. },
  7194. "goodsname": {
  7195. "description": "商品名称",
  7196. "type": "string"
  7197. },
  7198. "hedgegoodsid": {
  7199. "description": "商品id",
  7200. "type": "integer"
  7201. },
  7202. "tradeqty": {
  7203. "description": "数量(成交数量)",
  7204. "type": "integer"
  7205. },
  7206. "tradetime": {
  7207. "description": "时间(成交时间)",
  7208. "type": "string"
  7209. }
  7210. }
  7211. },
  7212. "ermcp.ExposureHedgePositionRsp": {
  7213. "type": "object",
  7214. "properties": {
  7215. "accountid": {
  7216. "description": "资金账号[外部母账户]",
  7217. "type": "integer"
  7218. },
  7219. "curbuyposition": {
  7220. "description": "期末买头寸",
  7221. "type": "integer"
  7222. },
  7223. "cursellposition": {
  7224. "description": "期末卖头寸",
  7225. "type": "integer"
  7226. },
  7227. "curtdbuyposition": {
  7228. "description": "期末今日买头寸",
  7229. "type": "integer"
  7230. },
  7231. "curtdsellposition": {
  7232. "description": "期末今日卖头寸",
  7233. "type": "integer"
  7234. },
  7235. "curydbuyposition": {
  7236. "description": "期末上日买头寸",
  7237. "type": "integer"
  7238. },
  7239. "curydsellposition": {
  7240. "description": "期末上日卖头寸",
  7241. "type": "integer"
  7242. },
  7243. "decreaseqty": {
  7244. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  7245. "type": "integer"
  7246. },
  7247. "fretdbuyposition": {
  7248. "description": "冻结今日买头寸",
  7249. "type": "integer"
  7250. },
  7251. "fretdsellposition": {
  7252. "description": "冻结今日卖头寸",
  7253. "type": "integer"
  7254. },
  7255. "freydbuyposition": {
  7256. "description": "冻结上日买头寸",
  7257. "type": "integer"
  7258. },
  7259. "freydsellposition": {
  7260. "description": "冻结上日卖头寸",
  7261. "type": "integer"
  7262. },
  7263. "goodscode": {
  7264. "description": "商品代码",
  7265. "type": "string"
  7266. },
  7267. "goodsid": {
  7268. "description": "商品id",
  7269. "type": "integer"
  7270. },
  7271. "goodsname": {
  7272. "description": "商品名称",
  7273. "type": "string"
  7274. },
  7275. "hedgeaccountcode": {
  7276. "description": "对冲账号",
  7277. "type": "string"
  7278. },
  7279. "hedgegoodsid": {
  7280. "description": "对冲合约ID",
  7281. "type": "integer"
  7282. },
  7283. "increaseqty": {
  7284. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  7285. "type": "integer"
  7286. },
  7287. "marketid": {
  7288. "description": "市场ID",
  7289. "type": "integer"
  7290. },
  7291. "relateduserid": {
  7292. "description": "关联用户id",
  7293. "type": "integer"
  7294. },
  7295. "totalcurqty": {
  7296. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  7297. "type": "integer"
  7298. },
  7299. "totalydqty": {
  7300. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  7301. "type": "integer"
  7302. },
  7303. "tradedate": {
  7304. "description": "交易日(yyyyMMdd)",
  7305. "type": "string"
  7306. },
  7307. "ydbuyposition": {
  7308. "description": "期初买头寸",
  7309. "type": "integer"
  7310. },
  7311. "ydsellposition": {
  7312. "description": "期初卖头寸",
  7313. "type": "integer"
  7314. }
  7315. }
  7316. },
  7317. "ermcp.ExposureSpotDetailRsp": {
  7318. "type": "object",
  7319. "properties": {
  7320. "contracttype": {
  7321. "description": "合同类型 1-采购 -1-销售",
  7322. "type": "integer"
  7323. },
  7324. "createtime": {
  7325. "description": "创建时间",
  7326. "type": "string"
  7327. },
  7328. "enumdicname": {
  7329. "description": "现货商品单位名称",
  7330. "type": "string"
  7331. },
  7332. "logtype": {
  7333. "description": "记录类型 1-套保 2-现货合同",
  7334. "type": "integer"
  7335. },
  7336. "qty": {
  7337. "description": "数量",
  7338. "type": "number"
  7339. },
  7340. "recordname": {
  7341. "description": "类型名称",
  7342. "type": "string"
  7343. },
  7344. "relatedid": {
  7345. "description": "套保计划ID/现货合同ID",
  7346. "type": "string"
  7347. },
  7348. "relatedno": {
  7349. "description": "编号",
  7350. "type": "string"
  7351. },
  7352. "strtime": {
  7353. "description": "时间",
  7354. "type": "string"
  7355. },
  7356. "wrstandardcode": {
  7357. "description": "现货商品代码",
  7358. "type": "string"
  7359. },
  7360. "wrstandardname": {
  7361. "description": "现货商品名称",
  7362. "type": "string"
  7363. }
  7364. }
  7365. },
  7366. "ermcp.ExposureSpotRsp": {
  7367. "type": "object",
  7368. "properties": {
  7369. "areauserid": {
  7370. "description": "所属机构",
  7371. "type": "integer"
  7372. },
  7373. "decreaseqty": {
  7374. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  7375. "type": "number"
  7376. },
  7377. "increaseqty": {
  7378. "description": "增加数量=销售计划数量+采购已定价数量",
  7379. "type": "number"
  7380. },
  7381. "oritoalspotqty": {
  7382. "description": "昨日数量",
  7383. "type": "number"
  7384. },
  7385. "totalspotqty": {
  7386. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  7387. "type": "number"
  7388. },
  7389. "updatetime": {
  7390. "description": "更新时间",
  7391. "type": "string"
  7392. },
  7393. "wrstandardcode": {
  7394. "description": "现货品种代码",
  7395. "type": "string"
  7396. },
  7397. "wrstandardid": {
  7398. "description": "现货商品ID",
  7399. "type": "integer"
  7400. },
  7401. "wrstandardname": {
  7402. "description": "现货品种",
  7403. "type": "string"
  7404. }
  7405. }
  7406. },
  7407. "ermcp.HisExposureRsp": {
  7408. "type": "object",
  7409. "properties": {
  7410. "data": {
  7411. "description": "历史敞口",
  7412. "type": "array",
  7413. "items": {
  7414. "$ref": "#/definitions/models.ErmcpHisExposure"
  7415. }
  7416. },
  7417. "enumdicname": {
  7418. "description": "单位名称",
  7419. "type": "string"
  7420. },
  7421. "middlegoodscode": {
  7422. "description": "套保品种代码",
  7423. "type": "string"
  7424. },
  7425. "middlegoodsid": {
  7426. "description": "套保品种ID",
  7427. "type": "integer"
  7428. },
  7429. "middlegoodsname": {
  7430. "description": "套保品种名称",
  7431. "type": "string"
  7432. }
  7433. }
  7434. },
  7435. "ermcp.QryAvalidGPRsp": {
  7436. "type": "object",
  7437. "properties": {
  7438. "goodsgroupid": {
  7439. "description": "期货品种id",
  7440. "type": "integer"
  7441. },
  7442. "goodsgroupname": {
  7443. "description": "期货品种名称",
  7444. "type": "string"
  7445. },
  7446. "goodunitid": {
  7447. "description": "品种单位id",
  7448. "type": "integer"
  7449. },
  7450. "goodunitname": {
  7451. "description": "品种单位名称",
  7452. "type": "string"
  7453. },
  7454. "outergroupcode": {
  7455. "description": "期货品种代码",
  7456. "type": "string"
  7457. }
  7458. }
  7459. },
  7460. "ermcp.QryBusinessDjRsp": {
  7461. "type": "object",
  7462. "properties": {
  7463. "amount": {
  7464. "description": "点价金额=(点价价格+升贴水)*点价数量",
  7465. "type": "number"
  7466. },
  7467. "applyid": {
  7468. "description": "申请人",
  7469. "type": "string"
  7470. },
  7471. "applyname": {
  7472. "description": "申请人名称",
  7473. "type": "string"
  7474. },
  7475. "applystatus": {
  7476. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7477. "type": "integer"
  7478. },
  7479. "applytime": {
  7480. "description": "申请时间",
  7481. "type": "string"
  7482. },
  7483. "attachurl": {
  7484. "description": "附件",
  7485. "type": "string"
  7486. },
  7487. "auditname": {
  7488. "description": "审核人名称",
  7489. "type": "string"
  7490. },
  7491. "audittime": {
  7492. "description": "审核时间",
  7493. "type": "string"
  7494. },
  7495. "buyusername": {
  7496. "description": "采购方名称",
  7497. "type": "string"
  7498. },
  7499. "contractno": {
  7500. "description": "合同编号",
  7501. "type": "string"
  7502. },
  7503. "contractstatus": {
  7504. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7505. "type": "integer"
  7506. },
  7507. "contracttype": {
  7508. "description": "现货合同类型 - 1:采购 -1:销售",
  7509. "type": "integer"
  7510. },
  7511. "enumdicname": {
  7512. "description": "单位名称",
  7513. "type": "string"
  7514. },
  7515. "goodscode": {
  7516. "description": "点价合约",
  7517. "type": "string"
  7518. },
  7519. "goodsname": {
  7520. "description": "商品名称",
  7521. "type": "string"
  7522. },
  7523. "operateapplyid": {
  7524. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7525. "type": "string"
  7526. },
  7527. "operateapplytype": {
  7528. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7529. "type": "integer"
  7530. },
  7531. "pricedPrice": {
  7532. "description": "点价价格(非必填)",
  7533. "type": "number"
  7534. },
  7535. "pricedQty": {
  7536. "description": "点价数量(非必填)",
  7537. "type": "number"
  7538. },
  7539. "pricemove": {
  7540. "description": "升贴水",
  7541. "type": "number"
  7542. },
  7543. "pricetype": {
  7544. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7545. "type": "integer"
  7546. },
  7547. "relatedid": {
  7548. "description": "现货合同ID",
  7549. "type": "string"
  7550. },
  7551. "sellusername": {
  7552. "description": "销售方名字",
  7553. "type": "string"
  7554. },
  7555. "userid": {
  7556. "description": "用户ID",
  7557. "type": "integer"
  7558. }
  7559. }
  7560. },
  7561. "ermcp.QryBussinessFpRsp": {
  7562. "type": "object",
  7563. "properties": {
  7564. "applyid": {
  7565. "description": "申请人",
  7566. "type": "string"
  7567. },
  7568. "applyname": {
  7569. "description": "申请人名称",
  7570. "type": "string"
  7571. },
  7572. "applystatus": {
  7573. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7574. "type": "integer"
  7575. },
  7576. "applytime": {
  7577. "description": "申请时间",
  7578. "type": "string"
  7579. },
  7580. "attachurl": {
  7581. "description": "附件",
  7582. "type": "string"
  7583. },
  7584. "auditname": {
  7585. "description": "审核人名称",
  7586. "type": "string"
  7587. },
  7588. "audittime": {
  7589. "description": "审核时间",
  7590. "type": "string"
  7591. },
  7592. "buyusername": {
  7593. "description": "采购方名称",
  7594. "type": "string"
  7595. },
  7596. "contractno": {
  7597. "description": "合同编号",
  7598. "type": "string"
  7599. },
  7600. "contractstatus": {
  7601. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7602. "type": "integer"
  7603. },
  7604. "contracttype": {
  7605. "description": "现货合同类型 - 1:采购 -1:销售",
  7606. "type": "integer"
  7607. },
  7608. "enumdicname": {
  7609. "description": "单位名称",
  7610. "type": "string"
  7611. },
  7612. "goodscode": {
  7613. "description": "点价合约",
  7614. "type": "string"
  7615. },
  7616. "goodsname": {
  7617. "description": "商品名称",
  7618. "type": "string"
  7619. },
  7620. "invoiceAmount": {
  7621. "description": "已开收票金额(销售为开票,采购为收票)",
  7622. "type": "number"
  7623. },
  7624. "operateapplyid": {
  7625. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7626. "type": "string"
  7627. },
  7628. "operateapplytype": {
  7629. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7630. "type": "integer"
  7631. },
  7632. "pricemove": {
  7633. "description": "升贴水",
  7634. "type": "number"
  7635. },
  7636. "pricetype": {
  7637. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7638. "type": "integer"
  7639. },
  7640. "relatedid": {
  7641. "description": "现货合同ID",
  7642. "type": "string"
  7643. },
  7644. "sellusername": {
  7645. "description": "销售方名字",
  7646. "type": "string"
  7647. },
  7648. "userid": {
  7649. "description": "用户ID",
  7650. "type": "integer"
  7651. }
  7652. }
  7653. },
  7654. "ermcp.QryBussinessJsExRsp": {
  7655. "type": "object",
  7656. "properties": {
  7657. "applyid": {
  7658. "description": "申请人",
  7659. "type": "string"
  7660. },
  7661. "applyname": {
  7662. "description": "申请人名称",
  7663. "type": "string"
  7664. },
  7665. "applystatus": {
  7666. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7667. "type": "integer"
  7668. },
  7669. "applytime": {
  7670. "description": "申请时间",
  7671. "type": "string"
  7672. },
  7673. "attachurl": {
  7674. "description": "附件",
  7675. "type": "string"
  7676. },
  7677. "auditname": {
  7678. "description": "审核人名称",
  7679. "type": "string"
  7680. },
  7681. "audittime": {
  7682. "description": "审核时间",
  7683. "type": "string"
  7684. },
  7685. "buyusername": {
  7686. "description": "采购方名称",
  7687. "type": "string"
  7688. },
  7689. "contractno": {
  7690. "description": "合同编号",
  7691. "type": "string"
  7692. },
  7693. "contractstatus": {
  7694. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7695. "type": "integer"
  7696. },
  7697. "contracttype": {
  7698. "description": "现货合同类型 - 1:采购 -1:销售",
  7699. "type": "integer"
  7700. },
  7701. "enumdicname": {
  7702. "description": "单位名称",
  7703. "type": "string"
  7704. },
  7705. "goodscode": {
  7706. "description": "点价合约",
  7707. "type": "string"
  7708. },
  7709. "goodsname": {
  7710. "description": "商品名称",
  7711. "type": "string"
  7712. },
  7713. "operateapplyid": {
  7714. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7715. "type": "string"
  7716. },
  7717. "operateapplytype": {
  7718. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7719. "type": "integer"
  7720. },
  7721. "pricemove": {
  7722. "description": "升贴水",
  7723. "type": "number"
  7724. },
  7725. "pricetype": {
  7726. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7727. "type": "integer"
  7728. },
  7729. "reckontype": {
  7730. "description": "结算类型",
  7731. "type": "string"
  7732. },
  7733. "reckonvalue": {
  7734. "description": "值",
  7735. "type": "number"
  7736. },
  7737. "relatedid": {
  7738. "description": "现货合同ID",
  7739. "type": "string"
  7740. },
  7741. "sellusername": {
  7742. "description": "销售方名字",
  7743. "type": "string"
  7744. },
  7745. "userid": {
  7746. "description": "用户ID",
  7747. "type": "integer"
  7748. }
  7749. }
  7750. },
  7751. "ermcp.QryBussinessJsRsp": {
  7752. "type": "object",
  7753. "properties": {
  7754. "addmargin": {
  7755. "description": "追加保证金(非必填)",
  7756. "type": "number"
  7757. },
  7758. "applyid": {
  7759. "description": "申请人",
  7760. "type": "string"
  7761. },
  7762. "applyname": {
  7763. "description": "申请人名称",
  7764. "type": "string"
  7765. },
  7766. "applystatus": {
  7767. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7768. "type": "integer"
  7769. },
  7770. "applytime": {
  7771. "description": "申请时间",
  7772. "type": "string"
  7773. },
  7774. "attachurl": {
  7775. "description": "附件",
  7776. "type": "string"
  7777. },
  7778. "auditname": {
  7779. "description": "审核人名称",
  7780. "type": "string"
  7781. },
  7782. "audittime": {
  7783. "description": "审核时间",
  7784. "type": "string"
  7785. },
  7786. "buyusername": {
  7787. "description": "采购方名称",
  7788. "type": "string"
  7789. },
  7790. "contractno": {
  7791. "description": "合同编号",
  7792. "type": "string"
  7793. },
  7794. "contractstatus": {
  7795. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7796. "type": "integer"
  7797. },
  7798. "contracttype": {
  7799. "description": "现货合同类型 - 1:采购 -1:销售",
  7800. "type": "integer"
  7801. },
  7802. "decmargin": {
  7803. "description": "减少保证金(非必填)",
  7804. "type": "number"
  7805. },
  7806. "enumdicname": {
  7807. "description": "单位名称",
  7808. "type": "string"
  7809. },
  7810. "goodscode": {
  7811. "description": "点价合约",
  7812. "type": "string"
  7813. },
  7814. "goodsname": {
  7815. "description": "商品名称",
  7816. "type": "string"
  7817. },
  7818. "operateapplyid": {
  7819. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7820. "type": "string"
  7821. },
  7822. "operateapplytype": {
  7823. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7824. "type": "integer"
  7825. },
  7826. "pricemove": {
  7827. "description": "升贴水",
  7828. "type": "number"
  7829. },
  7830. "pricetype": {
  7831. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7832. "type": "integer"
  7833. },
  7834. "reckonadjustamount": {
  7835. "description": "结算调整金额(非必填)",
  7836. "type": "number"
  7837. },
  7838. "reckonosamount": {
  7839. "description": "结算溢短金额(非必填)",
  7840. "type": "number"
  7841. },
  7842. "reckonotheramount": {
  7843. "description": "结算其他费用(非必填)",
  7844. "type": "number"
  7845. },
  7846. "reckonrealqty": {
  7847. "description": "结算实际数量(非必填)",
  7848. "type": "number"
  7849. },
  7850. "relatedid": {
  7851. "description": "现货合同ID",
  7852. "type": "string"
  7853. },
  7854. "sellusername": {
  7855. "description": "销售方名字",
  7856. "type": "string"
  7857. },
  7858. "userid": {
  7859. "description": "用户ID",
  7860. "type": "integer"
  7861. }
  7862. }
  7863. },
  7864. "ermcp.QryBussinessKxRsp": {
  7865. "type": "object",
  7866. "properties": {
  7867. "applyid": {
  7868. "description": "申请人",
  7869. "type": "string"
  7870. },
  7871. "applyname": {
  7872. "description": "申请人名称",
  7873. "type": "string"
  7874. },
  7875. "applystatus": {
  7876. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  7877. "type": "integer"
  7878. },
  7879. "applytime": {
  7880. "description": "申请时间",
  7881. "type": "string"
  7882. },
  7883. "attachurl": {
  7884. "description": "附件",
  7885. "type": "string"
  7886. },
  7887. "auditname": {
  7888. "description": "审核人名称",
  7889. "type": "string"
  7890. },
  7891. "audittime": {
  7892. "description": "审核时间",
  7893. "type": "string"
  7894. },
  7895. "buyusername": {
  7896. "description": "采购方名称",
  7897. "type": "string"
  7898. },
  7899. "contractno": {
  7900. "description": "合同编号",
  7901. "type": "string"
  7902. },
  7903. "contractstatus": {
  7904. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7905. "type": "integer"
  7906. },
  7907. "contracttype": {
  7908. "description": "现货合同类型 - 1:采购 -1:销售",
  7909. "type": "integer"
  7910. },
  7911. "deductamount": {
  7912. "description": "退款(非必填)",
  7913. "type": "number"
  7914. },
  7915. "enumdicname": {
  7916. "description": "单位名称",
  7917. "type": "string"
  7918. },
  7919. "goodscode": {
  7920. "description": "点价合约",
  7921. "type": "string"
  7922. },
  7923. "goodsname": {
  7924. "description": "商品名称",
  7925. "type": "string"
  7926. },
  7927. "kxtype": {
  7928. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  7929. "type": "integer"
  7930. },
  7931. "operateapplyid": {
  7932. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  7933. "type": "string"
  7934. },
  7935. "operateapplytype": {
  7936. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  7937. "type": "integer"
  7938. },
  7939. "payamount": {
  7940. "description": "收付款(非必填)",
  7941. "type": "number"
  7942. },
  7943. "pricemove": {
  7944. "description": "升贴水",
  7945. "type": "number"
  7946. },
  7947. "pricetype": {
  7948. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  7949. "type": "integer"
  7950. },
  7951. "relatedid": {
  7952. "description": "现货合同ID",
  7953. "type": "string"
  7954. },
  7955. "sellusername": {
  7956. "description": "销售方名字",
  7957. "type": "string"
  7958. },
  7959. "userid": {
  7960. "description": "用户ID",
  7961. "type": "integer"
  7962. }
  7963. }
  7964. },
  7965. "ermcp.QryErmcpRsp": {
  7966. "type": "object",
  7967. "properties": {
  7968. "accountname": {
  7969. "description": "账户名称",
  7970. "type": "string"
  7971. },
  7972. "attachment": {
  7973. "description": "附件",
  7974. "type": "string"
  7975. },
  7976. "audittime": {
  7977. "description": "审核时间",
  7978. "type": "string"
  7979. },
  7980. "contracctstatus": {
  7981. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  7982. "type": "integer"
  7983. },
  7984. "contractmargin": {
  7985. "description": "合同保证金",
  7986. "type": "number"
  7987. },
  7988. "contractno": {
  7989. "description": "合同编号",
  7990. "type": "string"
  7991. },
  7992. "contracttype": {
  7993. "description": "合同类型 1-采购, -1-销售",
  7994. "type": "integer"
  7995. },
  7996. "convertfactor": {
  7997. "description": "标仓系数",
  7998. "type": "number"
  7999. },
  8000. "createtime": {
  8001. "description": "创建时间",
  8002. "type": "string"
  8003. },
  8004. "daikaiamount": {
  8005. "description": "待开票额",
  8006. "type": "number"
  8007. },
  8008. "deliveryenddate": {
  8009. "description": "交割结束日",
  8010. "type": "string"
  8011. },
  8012. "deliverygoodscode": {
  8013. "description": "现货商品代码",
  8014. "type": "string"
  8015. },
  8016. "deliverygoodsid": {
  8017. "description": "现货商品ID",
  8018. "type": "integer"
  8019. },
  8020. "deliverygoodsname": {
  8021. "description": "现货商品名称",
  8022. "type": "string"
  8023. },
  8024. "deliverystartdate": {
  8025. "description": "交割开始日",
  8026. "type": "string"
  8027. },
  8028. "enddate": {
  8029. "description": "点价结束日",
  8030. "type": "string"
  8031. },
  8032. "enumdicname": {
  8033. "description": "单位名称",
  8034. "type": "string"
  8035. },
  8036. "goodscode": {
  8037. "description": "点价商品代码",
  8038. "type": "string"
  8039. },
  8040. "goodsid": {
  8041. "description": "点价商品ID",
  8042. "type": "integer"
  8043. },
  8044. "goodsname": {
  8045. "description": "点价商品名称",
  8046. "type": "string"
  8047. },
  8048. "invoiceamount": {
  8049. "description": "已开票额",
  8050. "type": "number"
  8051. },
  8052. "loanamount": {
  8053. "description": "贷款总额=已定价额+调整金额",
  8054. "type": "number"
  8055. },
  8056. "margin": {
  8057. "description": "保证金",
  8058. "type": "number"
  8059. },
  8060. "payamount": {
  8061. "description": "已收付额(收款或付款)",
  8062. "type": "number"
  8063. },
  8064. "price": {
  8065. "description": "价格",
  8066. "type": "number"
  8067. },
  8068. "pricedamount": {
  8069. "description": "已定价额",
  8070. "type": "number"
  8071. },
  8072. "pricedavg": {
  8073. "description": "已点均价",
  8074. "type": "number"
  8075. },
  8076. "pricedqty": {
  8077. "description": "已定价量",
  8078. "type": "number"
  8079. },
  8080. "pricemove": {
  8081. "description": "升贴水",
  8082. "type": "number"
  8083. },
  8084. "pricetype": {
  8085. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  8086. "type": "integer"
  8087. },
  8088. "producttype": {
  8089. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8090. "type": "integer"
  8091. },
  8092. "qty": {
  8093. "description": "合同量",
  8094. "type": "number"
  8095. },
  8096. "reckonadjustamount": {
  8097. "description": "调整金额",
  8098. "type": "number"
  8099. },
  8100. "reckonedamount": {
  8101. "description": "已收付额(已确定额)",
  8102. "type": "number"
  8103. },
  8104. "reckonotheramount": {
  8105. "description": "其它费用",
  8106. "type": "number"
  8107. },
  8108. "reckonrealqty": {
  8109. "description": "已确定量",
  8110. "type": "number"
  8111. },
  8112. "remark": {
  8113. "description": "备注",
  8114. "type": "string"
  8115. },
  8116. "spotcontractid": {
  8117. "description": "合同ID",
  8118. "type": "string"
  8119. },
  8120. "spotgoodsdesc": {
  8121. "description": "商品型号(商品规格)",
  8122. "type": "string"
  8123. },
  8124. "startdate": {
  8125. "description": "点价开始日",
  8126. "type": "string"
  8127. },
  8128. "totalamount": {
  8129. "description": "合计总额",
  8130. "type": "number"
  8131. },
  8132. "unpayamount": {
  8133. "description": "待支收额(支付或收款)",
  8134. "type": "number"
  8135. },
  8136. "unpricedqty": {
  8137. "description": "未定价量",
  8138. "type": "number"
  8139. },
  8140. "unsureqty": {
  8141. "description": "未确定量",
  8142. "type": "number"
  8143. },
  8144. "userid": {
  8145. "description": "用户ID",
  8146. "type": "integer"
  8147. }
  8148. }
  8149. },
  8150. "ermcp.QryGGCovertCfgRsp": {
  8151. "type": "object",
  8152. "properties": {
  8153. "convertratio": {
  8154. "description": "折算系数",
  8155. "type": "number"
  8156. },
  8157. "destgoodsgroupid": {
  8158. "description": "目标品种ID",
  8159. "type": "integer"
  8160. },
  8161. "dstcode": {
  8162. "description": "目录品种代码",
  8163. "type": "string"
  8164. },
  8165. "dstname": {
  8166. "description": "目标品种名称",
  8167. "type": "string"
  8168. },
  8169. "dstunitid": {
  8170. "description": "目标品种单位ID",
  8171. "type": "integer"
  8172. },
  8173. "dstunitidname": {
  8174. "description": "目标品种单位名称",
  8175. "type": "string"
  8176. },
  8177. "srccode": {
  8178. "description": "源品种代码",
  8179. "type": "string"
  8180. },
  8181. "srcgoodsgroupid": {
  8182. "description": "源品种ID",
  8183. "type": "integer"
  8184. },
  8185. "srcname": {
  8186. "description": "源品种名称",
  8187. "type": "string"
  8188. },
  8189. "srcunitid": {
  8190. "description": "源品种单位ID",
  8191. "type": "integer"
  8192. },
  8193. "srcunitidname": {
  8194. "description": "源品种单位名称",
  8195. "type": "string"
  8196. }
  8197. }
  8198. },
  8199. "ermcp.QryHedgePlanRsp": {
  8200. "type": "object",
  8201. "properties": {
  8202. "areauserid": {
  8203. "description": "用户ID",
  8204. "type": "integer"
  8205. },
  8206. "contracttype": {
  8207. "description": "计划类型 - 1:采购 -1:销售",
  8208. "type": "integer"
  8209. },
  8210. "convertfactor": {
  8211. "description": "标仓系数",
  8212. "type": "number"
  8213. },
  8214. "createtime": {
  8215. "description": "创建时间",
  8216. "type": "string"
  8217. },
  8218. "deliverygoodsid": {
  8219. "description": "现货品种ID",
  8220. "type": "integer"
  8221. },
  8222. "deliverygoodsname": {
  8223. "description": "现货品种名称",
  8224. "type": "string"
  8225. },
  8226. "hedgeplanid": {
  8227. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  8228. "type": "string"
  8229. },
  8230. "hedgeplanno": {
  8231. "description": "套保计划编号(名称)",
  8232. "type": "string"
  8233. },
  8234. "hedgeplanstatus": {
  8235. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  8236. "type": "integer"
  8237. },
  8238. "planqty": {
  8239. "description": "计划数量",
  8240. "type": "number"
  8241. },
  8242. "plantime": {
  8243. "description": "计划时间",
  8244. "type": "string"
  8245. },
  8246. "producttype": {
  8247. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  8248. "type": "integer"
  8249. },
  8250. "remark": {
  8251. "description": "备注",
  8252. "type": "string"
  8253. },
  8254. "spotgoodsdesc": {
  8255. "description": "商品型号",
  8256. "type": "string"
  8257. },
  8258. "wrstandardid": {
  8259. "description": "现货商品ID",
  8260. "type": "integer"
  8261. },
  8262. "wrstandardname": {
  8263. "description": "现货商品名称",
  8264. "type": "string"
  8265. }
  8266. }
  8267. },
  8268. "ermcp.QryMGChangeLogRsp": {
  8269. "type": "object",
  8270. "properties": {
  8271. "aftervalue": {
  8272. "description": "变更后",
  8273. "type": "number"
  8274. },
  8275. "applyid": {
  8276. "description": "操作人",
  8277. "type": "integer"
  8278. },
  8279. "applyname": {
  8280. "description": "操作人名称",
  8281. "type": "string"
  8282. },
  8283. "applysrc": {
  8284. "description": "操作来源 - 1:管理端 2:终端",
  8285. "type": "integer"
  8286. },
  8287. "beforevalue": {
  8288. "description": "变更前",
  8289. "type": "number"
  8290. },
  8291. "changelogtype": {
  8292. "description": "变更流水类型 - 1:套保比率变更",
  8293. "type": "integer"
  8294. },
  8295. "handlestatus": {
  8296. "description": "处理状态",
  8297. "type": "integer"
  8298. },
  8299. "logdatetime": {
  8300. "description": "流水日期",
  8301. "type": "string"
  8302. },
  8303. "logid": {
  8304. "description": "流水ID",
  8305. "type": "integer"
  8306. },
  8307. "logremark": {
  8308. "description": "流水备注",
  8309. "type": "string"
  8310. },
  8311. "middlegoodsid": {
  8312. "description": "套保品种ID",
  8313. "type": "integer"
  8314. },
  8315. "tradedate": {
  8316. "description": "交易日(yyyyMMdd)",
  8317. "type": "string"
  8318. },
  8319. "updatetime": {
  8320. "description": "更新时间",
  8321. "type": "string"
  8322. }
  8323. }
  8324. },
  8325. "ermcp.QryMiddleGoodsDetailRsp": {
  8326. "type": "object",
  8327. "properties": {
  8328. "cvList": {
  8329. "description": "期货品种折算列表",
  8330. "type": "array",
  8331. "items": {
  8332. "$ref": "#/definitions/models.GoodsGroupConvert"
  8333. }
  8334. },
  8335. "mg": {
  8336. "description": "套保品种基本信息",
  8337. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  8338. }
  8339. }
  8340. },
  8341. "ermcp.QryMiddleGoodsRsp": {
  8342. "type": "object",
  8343. "properties": {
  8344. "areauserid": {
  8345. "description": "机构用户ID",
  8346. "type": "integer"
  8347. },
  8348. "enumdicname": {
  8349. "description": "单位名称",
  8350. "type": "string"
  8351. },
  8352. "evaluateratio": {
  8353. "description": "估价系数",
  8354. "type": "number"
  8355. },
  8356. "goodsgroupid": {
  8357. "description": "关联期货品种ID",
  8358. "type": "integer"
  8359. },
  8360. "isvalid": {
  8361. "description": "状态 0-无效(停用) 1-有效(正常)",
  8362. "type": "integer"
  8363. },
  8364. "middlegoodscode": {
  8365. "description": "套保品种代码",
  8366. "type": "string"
  8367. },
  8368. "middlegoodsid": {
  8369. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  8370. "type": "integer"
  8371. },
  8372. "middlegoodsname": {
  8373. "description": "套保品种名称",
  8374. "type": "string"
  8375. },
  8376. "modifytime": {
  8377. "description": "修改时间",
  8378. "type": "string"
  8379. },
  8380. "needhedgeratio": {
  8381. "description": "套保比率",
  8382. "type": "number"
  8383. },
  8384. "qtydecimalplace": {
  8385. "description": "数量小数位",
  8386. "type": "integer"
  8387. },
  8388. "relatedgoodsid": {
  8389. "description": "关联交易商品ID",
  8390. "type": "integer"
  8391. },
  8392. "relatedgoodstype": {
  8393. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  8394. "type": "integer"
  8395. }
  8396. }
  8397. },
  8398. "ermcp.QryOPLogRsp": {
  8399. "type": "object",
  8400. "properties": {
  8401. "aftervalue": {
  8402. "description": "变更后",
  8403. "type": "number"
  8404. },
  8405. "applyid": {
  8406. "description": "操作人ID",
  8407. "type": "string"
  8408. },
  8409. "applyname": {
  8410. "description": "操作人名称",
  8411. "type": "string"
  8412. },
  8413. "beforevalue": {
  8414. "description": "变更前",
  8415. "type": "number"
  8416. },
  8417. "biztype": {
  8418. "description": "业务类型 - 1:套保计划 2:现货合同",
  8419. "type": "integer"
  8420. },
  8421. "contracttype": {
  8422. "description": "现货合同类型 - 1:采购 -1:销售",
  8423. "type": "integer"
  8424. },
  8425. "logvalue": {
  8426. "description": "数值",
  8427. "type": "number"
  8428. },
  8429. "operatelogtype": {
  8430. "description": "操作流水类型",
  8431. "type": "integer"
  8432. },
  8433. "operatelogtypedesc": {
  8434. "description": "操作流水类型名称",
  8435. "type": "string"
  8436. },
  8437. "relatedid": {
  8438. "description": "现货合同ID\\套保计划",
  8439. "type": "string"
  8440. },
  8441. "updatetime": {
  8442. "description": "更新时间",
  8443. "type": "string"
  8444. }
  8445. }
  8446. },
  8447. "ermcp.QryReportDaySpotDetailRsp": {
  8448. "type": "object",
  8449. "properties": {
  8450. "applyid": {
  8451. "description": "操作人",
  8452. "type": "integer"
  8453. },
  8454. "applyname": {
  8455. "description": "操作人名称",
  8456. "type": "string"
  8457. },
  8458. "biztype": {
  8459. "description": "业务类型 - 1:套保计划 2:现货合同",
  8460. "type": "integer"
  8461. },
  8462. "contracttype": {
  8463. "description": "现货合同类型 - 1:采购 -1:销售",
  8464. "type": "integer"
  8465. },
  8466. "enumdicName": {
  8467. "description": "单位名称",
  8468. "type": "string"
  8469. },
  8470. "logdatetime": {
  8471. "description": "流水日期(时间)",
  8472. "type": "string"
  8473. },
  8474. "logid": {
  8475. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8476. "type": "string"
  8477. },
  8478. "logtypename": {
  8479. "description": "合同类型(名称)",
  8480. "type": "string"
  8481. },
  8482. "logvalue": {
  8483. "description": "数值",
  8484. "type": "string"
  8485. },
  8486. "operatelogtype": {
  8487. "description": "操作流水类型 -",
  8488. "type": "integer"
  8489. },
  8490. "optypename": {
  8491. "description": "流水类型名称",
  8492. "type": "string"
  8493. },
  8494. "relatedid": {
  8495. "description": "现货合同ID\\套保计划",
  8496. "type": "string"
  8497. },
  8498. "relatedno": {
  8499. "description": "合同编号",
  8500. "type": "string"
  8501. },
  8502. "tradedate": {
  8503. "description": "交易日(yyyyMMdd)",
  8504. "type": "string"
  8505. },
  8506. "userid": {
  8507. "description": "机构ID",
  8508. "type": "integer"
  8509. },
  8510. "wrstandardcode": {
  8511. "description": "现货商品代码",
  8512. "type": "string"
  8513. },
  8514. "wrstandardid": {
  8515. "description": "现货商品ID",
  8516. "type": "integer"
  8517. },
  8518. "wrstandardname": {
  8519. "description": "现货商品名称",
  8520. "type": "string"
  8521. }
  8522. }
  8523. },
  8524. "ermcp.QryReportExposureDayRsp": {
  8525. "type": "object",
  8526. "properties": {
  8527. "areauserid": {
  8528. "description": "所属机构",
  8529. "type": "integer"
  8530. },
  8531. "buyfutureqty": {
  8532. "description": "买入期货数量",
  8533. "type": "number"
  8534. },
  8535. "buyplanqty": {
  8536. "description": "采购计划数量",
  8537. "type": "number"
  8538. },
  8539. "buypricedqty": {
  8540. "description": "采购合同已定价数量",
  8541. "type": "number"
  8542. },
  8543. "diffFutuQty": {
  8544. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  8545. "type": "number"
  8546. },
  8547. "diffSpotQty": {
  8548. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  8549. "type": "number"
  8550. },
  8551. "enumdicname": {
  8552. "description": "单位名称",
  8553. "type": "string"
  8554. },
  8555. "middlegoodscode": {
  8556. "description": "套保品种代码",
  8557. "type": "string"
  8558. },
  8559. "middlegoodshedgeratio": {
  8560. "description": "应套保比例",
  8561. "type": "number"
  8562. },
  8563. "middlegoodsid": {
  8564. "description": "套保品种ID",
  8565. "type": "integer"
  8566. },
  8567. "middlegoodsname": {
  8568. "description": "套保品种名称",
  8569. "type": "string"
  8570. },
  8571. "needhedgeexposoure": {
  8572. "description": "应套保敞口",
  8573. "type": "number"
  8574. },
  8575. "needhedgeratio": {
  8576. "description": "应套保敞口比例",
  8577. "type": "number"
  8578. },
  8579. "oriTotalFutuQty": {
  8580. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  8581. "type": "number"
  8582. },
  8583. "oriTotalSpotQty": {
  8584. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  8585. "type": "number"
  8586. },
  8587. "oribuyfutureqty": {
  8588. "description": "期初买入期货数量",
  8589. "type": "number"
  8590. },
  8591. "oribuyplanqty": {
  8592. "description": "期初采购计划数量",
  8593. "type": "number"
  8594. },
  8595. "oribuypricedqty": {
  8596. "description": "期初采购合同已定价数量",
  8597. "type": "number"
  8598. },
  8599. "orisellfutureqty": {
  8600. "description": "期初卖出期货数量",
  8601. "type": "number"
  8602. },
  8603. "orisellplanqty": {
  8604. "description": "期初销售计划数量",
  8605. "type": "number"
  8606. },
  8607. "orisellpricedqty": {
  8608. "description": "期初销售合同已定价数量",
  8609. "type": "number"
  8610. },
  8611. "reckondate": {
  8612. "description": "日照时期(yyyyMMdd)",
  8613. "type": "string"
  8614. },
  8615. "sellfutureqty": {
  8616. "description": "卖出期货数量",
  8617. "type": "number"
  8618. },
  8619. "sellplanqty": {
  8620. "description": "销售计划数量",
  8621. "type": "number"
  8622. },
  8623. "sellpricedqty": {
  8624. "description": "销售合同已定价数量",
  8625. "type": "number"
  8626. },
  8627. "totalexposure": {
  8628. "description": "总敞口",
  8629. "type": "number"
  8630. },
  8631. "totalfutureqty": {
  8632. "description": "期货数量",
  8633. "type": "number"
  8634. },
  8635. "totalhedgeratio": {
  8636. "description": "敞口比例",
  8637. "type": "number"
  8638. },
  8639. "totalneedhedgeqty": {
  8640. "description": "期货应套保量",
  8641. "type": "number"
  8642. },
  8643. "totalspotqty": {
  8644. "description": "现货数量",
  8645. "type": "number"
  8646. }
  8647. }
  8648. },
  8649. "ermcp.QryReportFinanceDayRsp": {
  8650. "type": "object",
  8651. "properties": {
  8652. "areauserid": {
  8653. "description": "所属机构",
  8654. "type": "integer"
  8655. },
  8656. "collectinvoiceamount": {
  8657. "description": "今日开票金额",
  8658. "type": "number"
  8659. },
  8660. "collectinvoicecount": {
  8661. "description": "今日开票笔数",
  8662. "type": "integer"
  8663. },
  8664. "collectmoneyamount": {
  8665. "description": "今日收款金额",
  8666. "type": "number"
  8667. },
  8668. "collectmoneycount": {
  8669. "description": "今日收款笔数",
  8670. "type": "integer"
  8671. },
  8672. "payinvoiceamount": {
  8673. "description": "今日收票金额",
  8674. "type": "number"
  8675. },
  8676. "payinvoicecount": {
  8677. "description": "今日收票笔数",
  8678. "type": "integer"
  8679. },
  8680. "paymoneyamount": {
  8681. "description": "今日付款金额",
  8682. "type": "number"
  8683. },
  8684. "paymoneycount": {
  8685. "description": "今日付款笔数",
  8686. "type": "integer"
  8687. },
  8688. "reckondate": {
  8689. "description": "日照时期(yyyyMMdd)",
  8690. "type": "string"
  8691. },
  8692. "updatetime": {
  8693. "description": "更新时间",
  8694. "type": "string"
  8695. }
  8696. }
  8697. },
  8698. "ermcp.QryReportFinanceKxRsp": {
  8699. "type": "object",
  8700. "properties": {
  8701. "applyid": {
  8702. "description": "操作人",
  8703. "type": "integer"
  8704. },
  8705. "applyname": {
  8706. "description": "操作人名称",
  8707. "type": "string"
  8708. },
  8709. "biztype": {
  8710. "description": "业务类型 - 1:套保计划 2:现货合同",
  8711. "type": "integer"
  8712. },
  8713. "contracttype": {
  8714. "description": "现货合同类型 - 1:采购 -1:销售",
  8715. "type": "integer"
  8716. },
  8717. "enumdicName": {
  8718. "description": "单位名称",
  8719. "type": "string"
  8720. },
  8721. "logdatetime": {
  8722. "description": "流水日期(时间)",
  8723. "type": "string"
  8724. },
  8725. "logid": {
  8726. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  8727. "type": "string"
  8728. },
  8729. "logtypename": {
  8730. "description": "合同类型(名称)",
  8731. "type": "string"
  8732. },
  8733. "logvalue": {
  8734. "description": "数值",
  8735. "type": "string"
  8736. },
  8737. "operatelogtype": {
  8738. "description": "操作流水类型 -",
  8739. "type": "integer"
  8740. },
  8741. "optypename": {
  8742. "description": "流水类型名称",
  8743. "type": "string"
  8744. },
  8745. "relatedid": {
  8746. "description": "现货合同ID\\套保计划",
  8747. "type": "string"
  8748. },
  8749. "relatedno": {
  8750. "description": "合同编号",
  8751. "type": "string"
  8752. },
  8753. "tradedate": {
  8754. "description": "交易日(yyyyMMdd)",
  8755. "type": "string"
  8756. },
  8757. "userid": {
  8758. "description": "机构ID",
  8759. "type": "integer"
  8760. },
  8761. "wrstandardcode": {
  8762. "description": "现货商品代码",
  8763. "type": "string"
  8764. },
  8765. "wrstandardid": {
  8766. "description": "现货商品ID",
  8767. "type": "integer"
  8768. },
  8769. "wrstandardname": {
  8770. "description": "现货商品名称",
  8771. "type": "string"
  8772. }
  8773. }
  8774. },
  8775. "ermcp.QryReportFinanceMonRsp": {
  8776. "type": "object",
  8777. "properties": {
  8778. "areauserid": {
  8779. "description": "所属机构【原值】",
  8780. "type": "integer"
  8781. },
  8782. "collectinvoiceamount": {
  8783. "description": "今日开票金额【汇总】",
  8784. "type": "number"
  8785. },
  8786. "collectinvoicecount": {
  8787. "description": "今日开票笔数【汇总】",
  8788. "type": "integer"
  8789. },
  8790. "collectmoneyamount": {
  8791. "description": "今日收款金额【汇总】",
  8792. "type": "number"
  8793. },
  8794. "collectmoneycount": {
  8795. "description": "今日收款笔数 【汇总】",
  8796. "type": "integer"
  8797. },
  8798. "cycletime": {
  8799. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8800. "type": "string"
  8801. },
  8802. "cycletype": {
  8803. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8804. "type": "integer"
  8805. },
  8806. "dayFr": {
  8807. "description": "日报表明细",
  8808. "type": "array",
  8809. "items": {
  8810. "$ref": "#/definitions/models.ErmcpReportDayFR"
  8811. }
  8812. },
  8813. "payinvoiceamount": {
  8814. "description": "今日收票金额【汇总】",
  8815. "type": "number"
  8816. },
  8817. "payinvoicecount": {
  8818. "description": "今日收票笔数【汇总】",
  8819. "type": "integer"
  8820. },
  8821. "paymoneyamount": {
  8822. "description": "今日付款金额【汇总】",
  8823. "type": "number"
  8824. },
  8825. "paymoneycount": {
  8826. "description": "今日付款笔数【汇总】",
  8827. "type": "integer"
  8828. },
  8829. "updatetime": {
  8830. "description": "更新时间",
  8831. "type": "string"
  8832. }
  8833. }
  8834. },
  8835. "ermcp.QryReportSpotDayRsp": {
  8836. "type": "object",
  8837. "properties": {
  8838. "areauserid": {
  8839. "description": "所属机构T",
  8840. "type": "integer"
  8841. },
  8842. "enumdicname": {
  8843. "description": "现货商品单位名称",
  8844. "type": "string"
  8845. },
  8846. "reckondate": {
  8847. "description": "日照时期(yyyyMMdd)",
  8848. "type": "string"
  8849. },
  8850. "todaybuyreckonqty": {
  8851. "description": "采购确定量",
  8852. "type": "number"
  8853. },
  8854. "todaysellreckonqty": {
  8855. "description": "销售确定量",
  8856. "type": "number"
  8857. },
  8858. "totalbuypricedqty": {
  8859. "description": "采购定价量 = 期末 - 期初",
  8860. "type": "number"
  8861. },
  8862. "totalsellpricedqty": {
  8863. "description": "销售定价量 = 期末 - 期初",
  8864. "type": "number"
  8865. },
  8866. "wrstandardcode": {
  8867. "description": "现货商品代码",
  8868. "type": "string"
  8869. },
  8870. "wrstandardid": {
  8871. "description": "现货商品ID",
  8872. "type": "integer"
  8873. },
  8874. "wrstandardname": {
  8875. "description": "现货商品名称",
  8876. "type": "string"
  8877. }
  8878. }
  8879. },
  8880. "ermcp.QryReportSpotMonRsp": {
  8881. "type": "object",
  8882. "properties": {
  8883. "areauserid": {
  8884. "description": "所属机构T",
  8885. "type": "integer"
  8886. },
  8887. "cycletime": {
  8888. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  8889. "type": "string"
  8890. },
  8891. "cycletype": {
  8892. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  8893. "type": "integer"
  8894. },
  8895. "enumdicname": {
  8896. "description": "现货商品单位名称",
  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.QryReportSpotMonthDetailRsp": {
  8930. "type": "object",
  8931. "properties": {
  8932. "areauserid": {
  8933. "description": "所属机构T",
  8934. "type": "integer"
  8935. },
  8936. "enumdicname": {
  8937. "description": "现货商品单位名称",
  8938. "type": "string"
  8939. },
  8940. "reckondate": {
  8941. "description": "日照时期(yyyyMMdd)",
  8942. "type": "string"
  8943. },
  8944. "todaybuyreckonqty": {
  8945. "description": "采购确定量",
  8946. "type": "number"
  8947. },
  8948. "todaysellreckonqty": {
  8949. "description": "销售确定量",
  8950. "type": "number"
  8951. },
  8952. "totalbuypricedqty": {
  8953. "description": "采购定价量 = 期末 - 期初",
  8954. "type": "number"
  8955. },
  8956. "totalsellpricedqty": {
  8957. "description": "销售定价量 = 期末 - 期初",
  8958. "type": "number"
  8959. },
  8960. "wrstandardcode": {
  8961. "description": "现货商品代码",
  8962. "type": "string"
  8963. },
  8964. "wrstandardid": {
  8965. "description": "现货商品ID",
  8966. "type": "integer"
  8967. },
  8968. "wrstandardname": {
  8969. "description": "现货商品名称",
  8970. "type": "string"
  8971. }
  8972. }
  8973. },
  8974. "ermcp.QrySpotContractRsp": {
  8975. "type": "object",
  8976. "properties": {
  8977. "amount": {
  8978. "description": "金额 [1:一口价、3:暂定价]",
  8979. "type": "number"
  8980. },
  8981. "attachment": {
  8982. "description": "附件",
  8983. "type": "string"
  8984. },
  8985. "auditremark": {
  8986. "description": "审核意见",
  8987. "type": "string"
  8988. },
  8989. "audittime": {
  8990. "description": "审核时间",
  8991. "type": "string"
  8992. },
  8993. "brandname": {
  8994. "description": "品牌名称",
  8995. "type": "string"
  8996. },
  8997. "buyuserid": {
  8998. "description": "采购方ID",
  8999. "type": "integer"
  9000. },
  9001. "buyusername": {
  9002. "description": "采购方名称",
  9003. "type": "string"
  9004. },
  9005. "contracctstatus": {
  9006. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  9007. "type": "integer"
  9008. },
  9009. "contractmargin": {
  9010. "description": "合同保证金",
  9011. "type": "number"
  9012. },
  9013. "contractno": {
  9014. "description": "现货合同编号",
  9015. "type": "string"
  9016. },
  9017. "contracttype": {
  9018. "description": "现货合同类型 - 1:采购 -1:销售",
  9019. "type": "integer"
  9020. },
  9021. "convertfactor": {
  9022. "description": "标仓系数",
  9023. "type": "number"
  9024. },
  9025. "createtime": {
  9026. "description": "创建时间",
  9027. "type": "string"
  9028. },
  9029. "deliveryenddate": {
  9030. "description": "交收期(结束)",
  9031. "type": "string"
  9032. },
  9033. "deliverygoodscode": {
  9034. "description": "现货品种代码",
  9035. "type": "string"
  9036. },
  9037. "deliverygoodsid": {
  9038. "description": "现货品种ID",
  9039. "type": "integer"
  9040. },
  9041. "deliverygoodsname": {
  9042. "description": "现货品种名称",
  9043. "type": "string"
  9044. },
  9045. "deliverystartdate": {
  9046. "description": "交收期(开始)",
  9047. "type": "string"
  9048. },
  9049. "enddate": {
  9050. "description": "点价结束日期 [2:点价 3:暂定价]",
  9051. "type": "string"
  9052. },
  9053. "enumdicname": {
  9054. "description": "单位名称",
  9055. "type": "string"
  9056. },
  9057. "goodscode": {
  9058. "description": "点价合约代码",
  9059. "type": "string"
  9060. },
  9061. "goodsid": {
  9062. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  9063. "type": "integer"
  9064. },
  9065. "goodsname": {
  9066. "description": "点价商品名称",
  9067. "type": "string"
  9068. },
  9069. "margin": {
  9070. "description": "当前保证金",
  9071. "type": "number"
  9072. },
  9073. "modelname": {
  9074. "description": "型号名称",
  9075. "type": "string"
  9076. },
  9077. "price": {
  9078. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  9079. "type": "number"
  9080. },
  9081. "pricemove": {
  9082. "description": "升贴水 [2:点价 3:暂定价]",
  9083. "type": "number"
  9084. },
  9085. "pricetype": {
  9086. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  9087. "type": "integer"
  9088. },
  9089. "producttype": {
  9090. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9091. "type": "integer"
  9092. },
  9093. "qty": {
  9094. "description": "数量",
  9095. "type": "number"
  9096. },
  9097. "remark": {
  9098. "description": "备注",
  9099. "type": "string"
  9100. },
  9101. "selluserid": {
  9102. "description": "销售方ID",
  9103. "type": "integer"
  9104. },
  9105. "sellusername": {
  9106. "description": "销售方名称",
  9107. "type": "string"
  9108. },
  9109. "spotcontractid": {
  9110. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  9111. "type": "string"
  9112. },
  9113. "spotgoodsbrandid": {
  9114. "description": "现货品牌ID",
  9115. "type": "integer"
  9116. },
  9117. "spotgoodsdesc": {
  9118. "description": "商品型号",
  9119. "type": "string"
  9120. },
  9121. "spotgoodsmodelid": {
  9122. "description": "现货型号ID",
  9123. "type": "integer"
  9124. },
  9125. "startdate": {
  9126. "description": "点价开始日期 [2:点价 3:暂定价]",
  9127. "type": "string"
  9128. },
  9129. "userid": {
  9130. "description": "机构ID",
  9131. "type": "integer"
  9132. },
  9133. "wrstandardid": {
  9134. "description": "现货商品ID",
  9135. "type": "integer"
  9136. }
  9137. }
  9138. },
  9139. "ermcp.QryUserInfoRsp": {
  9140. "type": "object",
  9141. "properties": {
  9142. "address": {
  9143. "description": "通讯地址",
  9144. "type": "string"
  9145. },
  9146. "attachment1": {
  9147. "description": "附件1",
  9148. "type": "string"
  9149. },
  9150. "cardfrontphotourl": {
  9151. "description": "证件正面图片地址",
  9152. "type": "string"
  9153. },
  9154. "cardnum": {
  9155. "description": "证件号码",
  9156. "type": "string"
  9157. },
  9158. "cardtype": {
  9159. "description": "证件类型",
  9160. "type": "integer"
  9161. },
  9162. "cardtypename": {
  9163. "description": "证件类型名称",
  9164. "type": "string"
  9165. },
  9166. "cityid": {
  9167. "description": "市",
  9168. "type": "integer"
  9169. },
  9170. "countryid": {
  9171. "description": "国家",
  9172. "type": "integer"
  9173. },
  9174. "createtime": {
  9175. "description": "创建时间",
  9176. "type": "string"
  9177. },
  9178. "customername": {
  9179. "description": "企业名称",
  9180. "type": "string"
  9181. },
  9182. "memberuserid": {
  9183. "description": "所属机构ID",
  9184. "type": "integer"
  9185. },
  9186. "mobile": {
  9187. "description": "手机号码",
  9188. "type": "string"
  9189. },
  9190. "provinceid": {
  9191. "description": "省",
  9192. "type": "integer"
  9193. },
  9194. "remark": {
  9195. "description": "备注",
  9196. "type": "string"
  9197. },
  9198. "status": {
  9199. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9200. "type": "integer"
  9201. },
  9202. "statusdesc": {
  9203. "description": "账户状态中文描述",
  9204. "type": "string"
  9205. },
  9206. "telphone": {
  9207. "description": "联系电话",
  9208. "type": "string"
  9209. },
  9210. "userid": {
  9211. "description": "用户ID",
  9212. "type": "integer"
  9213. },
  9214. "userinfotype": {
  9215. "description": "客户类型",
  9216. "type": "string"
  9217. }
  9218. }
  9219. },
  9220. "ermcp.QryWrStandardDetailRsp": {
  9221. "type": "object",
  9222. "properties": {
  9223. "gbList": {
  9224. "description": "品牌列表",
  9225. "type": "array",
  9226. "items": {
  9227. "$ref": "#/definitions/models.GoodsBrand"
  9228. }
  9229. },
  9230. "gtList": {
  9231. "description": "型号列表",
  9232. "type": "array",
  9233. "items": {
  9234. "$ref": "#/definitions/models.GoodsTypeModel"
  9235. }
  9236. },
  9237. "wrd": {
  9238. "description": "基本信息",
  9239. "$ref": "#/definitions/models.ErmcpWrstandard"
  9240. },
  9241. "wrsList": {
  9242. "description": "套保信息列表",
  9243. "type": "array",
  9244. "items": {
  9245. "$ref": "#/definitions/models.WRSConverTDetail"
  9246. }
  9247. }
  9248. }
  9249. },
  9250. "ermcp.QryWrStandardRsp": {
  9251. "type": "object",
  9252. "properties": {
  9253. "areauserid": {
  9254. "description": "所属机构",
  9255. "type": "integer"
  9256. },
  9257. "createtime": {
  9258. "description": "创建时间",
  9259. "type": "string"
  9260. },
  9261. "creatorid": {
  9262. "description": "创建人",
  9263. "type": "integer"
  9264. },
  9265. "deliverygoodsid": {
  9266. "description": "品种ID",
  9267. "type": "integer"
  9268. },
  9269. "enumdicname": {
  9270. "description": "单位名称",
  9271. "type": "string"
  9272. },
  9273. "isvalid": {
  9274. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  9275. "type": "integer"
  9276. },
  9277. "minivalue": {
  9278. "description": "最小变动值",
  9279. "type": "integer"
  9280. },
  9281. "minivaluedp": {
  9282. "description": "最小变动值小数位",
  9283. "type": "integer"
  9284. },
  9285. "realminivalue": {
  9286. "description": "实际最小变动值",
  9287. "type": "integer"
  9288. },
  9289. "realminivaluedp": {
  9290. "description": "实际最小变动值小数位",
  9291. "type": "integer"
  9292. },
  9293. "remark": {
  9294. "description": "备注",
  9295. "type": "string"
  9296. },
  9297. "unitid": {
  9298. "description": "单位ID",
  9299. "type": "integer"
  9300. },
  9301. "updatetime": {
  9302. "description": "更新时间",
  9303. "type": "string"
  9304. },
  9305. "wrstandardcode": {
  9306. "description": "现货商品代码",
  9307. "type": "string"
  9308. },
  9309. "wrstandardid": {
  9310. "description": "现货商品ID(SEQ_WRSTANDARD)",
  9311. "type": "integer"
  9312. },
  9313. "wrstandardname": {
  9314. "description": "现货商品名称",
  9315. "type": "string"
  9316. }
  9317. }
  9318. },
  9319. "ermcp.QueryErmcpTradePositionRsp": {
  9320. "type": "object",
  9321. "properties": {
  9322. "agreeunit": {
  9323. "description": "合约单位",
  9324. "type": "number"
  9325. },
  9326. "averageprice": {
  9327. "description": "持仓均价",
  9328. "type": "number"
  9329. },
  9330. "buyorsell": {
  9331. "description": "方向 - 0:买 1:卖",
  9332. "type": "integer"
  9333. },
  9334. "curholderamount": {
  9335. "description": "当前持仓总金额[商品币种](成本???)",
  9336. "type": "number"
  9337. },
  9338. "curpositionqty": {
  9339. "description": "当前持仓总数量(总仓数量)",
  9340. "type": "integer"
  9341. },
  9342. "curtdposition": {
  9343. "description": "期末今日头寸(今仓数量)",
  9344. "type": "integer"
  9345. },
  9346. "curtdpositionenabled": {
  9347. "description": "今仓可用",
  9348. "type": "integer"
  9349. },
  9350. "decimalplace": {
  9351. "description": "报价小数位",
  9352. "type": "integer"
  9353. },
  9354. "enableqty": {
  9355. "description": "可用量(总仓可用)",
  9356. "type": "integer"
  9357. },
  9358. "exexchangename": {
  9359. "description": "外部交易所名称(简称)",
  9360. "type": "string"
  9361. },
  9362. "goodscode": {
  9363. "description": "商品代码(内部)",
  9364. "type": "string"
  9365. },
  9366. "goodsid": {
  9367. "description": "商品ID(自增ID SEQ_GOODS)",
  9368. "type": "integer"
  9369. },
  9370. "goodsname": {
  9371. "description": "商品名称",
  9372. "type": "string"
  9373. },
  9374. "last": {
  9375. "description": "现价",
  9376. "type": "number"
  9377. },
  9378. "outgoodscode": {
  9379. "description": "商品代码(外部)",
  9380. "type": "string"
  9381. },
  9382. "positionpl": {
  9383. "description": "持仓盈亏",
  9384. "type": "number"
  9385. },
  9386. "positionplrate": {
  9387. "description": "持仓盈亏率",
  9388. "type": "number"
  9389. },
  9390. "usedmargin": {
  9391. "description": "占用保证金[商品币种]",
  9392. "type": "number"
  9393. }
  9394. }
  9395. },
  9396. "ermcp.RealtimeExposurePositionRsp": {
  9397. "type": "object",
  9398. "properties": {
  9399. "agreeunit": {
  9400. "description": "合约单位",
  9401. "type": "string"
  9402. },
  9403. "areauserid": {
  9404. "description": "所属机构id",
  9405. "type": "integer"
  9406. },
  9407. "convertratio": {
  9408. "description": "期货品种系数(折算系数)",
  9409. "type": "number"
  9410. },
  9411. "curqty": {
  9412. "description": "当前持仓",
  9413. "type": "integer"
  9414. },
  9415. "diffhedgeqty": {
  9416. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  9417. "type": "number"
  9418. },
  9419. "diffqty": {
  9420. "description": "持仓变动量=当前持仓-昨日持仓",
  9421. "type": "integer"
  9422. },
  9423. "goodscode": {
  9424. "description": "商品代码",
  9425. "type": "string"
  9426. },
  9427. "goodsid": {
  9428. "description": "商品id",
  9429. "type": "integer"
  9430. },
  9431. "goodsname": {
  9432. "description": "商品名称",
  9433. "type": "string"
  9434. },
  9435. "middlegoodsid": {
  9436. "description": "套保商品id",
  9437. "type": "integer"
  9438. },
  9439. "ydqty": {
  9440. "description": "昨日持仓",
  9441. "type": "integer"
  9442. }
  9443. }
  9444. },
  9445. "ermcp.RealtimeExposureRsp": {
  9446. "type": "object",
  9447. "properties": {
  9448. "areaUserID": {
  9449. "description": "所属机构",
  9450. "type": "integer"
  9451. },
  9452. "buyFutureQty": {
  9453. "description": "买入期货数量",
  9454. "type": "number"
  9455. },
  9456. "buyPlanQty": {
  9457. "description": "采购计划数量",
  9458. "type": "number"
  9459. },
  9460. "buyPricedQty": {
  9461. "description": "采购合同已定价数量",
  9462. "type": "number"
  9463. },
  9464. "diffFutuQty": {
  9465. "description": "今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)",
  9466. "type": "number"
  9467. },
  9468. "diffSpotQty": {
  9469. "description": "今日变动量(现货) = 现货数量 - 期初现货数量",
  9470. "type": "number"
  9471. },
  9472. "enumdicname": {
  9473. "description": "单位名称",
  9474. "type": "string"
  9475. },
  9476. "middleGoodsCode": {
  9477. "description": "套保品种代码",
  9478. "type": "string"
  9479. },
  9480. "middleGoodsHedgeRatio": {
  9481. "description": "应套保比例",
  9482. "type": "number"
  9483. },
  9484. "middleGoodsID": {
  9485. "description": "套保品种",
  9486. "type": "integer"
  9487. },
  9488. "middleGoodsName": {
  9489. "description": "套保品种名称",
  9490. "type": "string"
  9491. },
  9492. "needHedgeExposoure": {
  9493. "description": "应套保敞口",
  9494. "type": "number"
  9495. },
  9496. "needHedgeRatio": {
  9497. "description": "应套保敞口比例",
  9498. "type": "number"
  9499. },
  9500. "oriBuyFutureQty": {
  9501. "description": "期初买入期货数量",
  9502. "type": "number"
  9503. },
  9504. "oriBuyPlanQty": {
  9505. "description": "期初采购计划数量",
  9506. "type": "number"
  9507. },
  9508. "oriBuyPricedQty": {
  9509. "description": "期初采购合同已定价数量",
  9510. "type": "number"
  9511. },
  9512. "oriSellFutureQty": {
  9513. "description": "期初卖出期货数量",
  9514. "type": "number"
  9515. },
  9516. "oriSellPlanQty": {
  9517. "description": "期初销售计划数量",
  9518. "type": "number"
  9519. },
  9520. "oriSellPricedQty": {
  9521. "description": "期初销售合同已定价数量",
  9522. "type": "number"
  9523. },
  9524. "oriTotalFutuQty": {
  9525. "description": "期初期货数量=期初买入期货数量-期初卖出期货数量",
  9526. "type": "number"
  9527. },
  9528. "oriTotalSpotQty": {
  9529. "description": "期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)",
  9530. "type": "number"
  9531. },
  9532. "sellFutureQty": {
  9533. "description": "卖出期货数量",
  9534. "type": "number"
  9535. },
  9536. "sellPlanQty": {
  9537. "description": "销售计划数量",
  9538. "type": "number"
  9539. },
  9540. "sellPricedQty": {
  9541. "description": "销售合同已定价数量",
  9542. "type": "number"
  9543. },
  9544. "totalExposure": {
  9545. "description": "总敞口",
  9546. "type": "number"
  9547. },
  9548. "totalFutureQty": {
  9549. "description": "期货数量",
  9550. "type": "number"
  9551. },
  9552. "totalHedgeRatio": {
  9553. "description": "敞口比例",
  9554. "type": "number"
  9555. },
  9556. "totalNeedHedgeQty": {
  9557. "description": "期货应套保量",
  9558. "type": "number"
  9559. },
  9560. "totalSpotQty": {
  9561. "description": "现货数量",
  9562. "type": "number"
  9563. }
  9564. }
  9565. },
  9566. "erms2.QueryArbitrageStrategyRsp": {
  9567. "type": "object",
  9568. "required": [
  9569. "asapplyid"
  9570. ],
  9571. "properties": {
  9572. "applybasis": {
  9573. "description": "申请基差",
  9574. "type": "number"
  9575. },
  9576. "asapplyid": {
  9577. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  9578. "type": "string"
  9579. },
  9580. "asname": {
  9581. "description": "策略名称",
  9582. "type": "string"
  9583. },
  9584. "asno": {
  9585. "description": "策略编号",
  9586. "type": "string"
  9587. },
  9588. "basischangepl": {
  9589. "description": "基差变动损益[结算更新]",
  9590. "type": "number"
  9591. },
  9592. "biztype": {
  9593. "description": "业务类型 - 1:正向套利 -1:反向套利",
  9594. "type": "integer"
  9595. },
  9596. "closetradedate": {
  9597. "description": "完结交易日(yyyyMMdd)",
  9598. "type": "string"
  9599. },
  9600. "curbasis": {
  9601. "description": "当前基差[结算更新]",
  9602. "type": "number"
  9603. },
  9604. "deliverygoodsid": {
  9605. "description": "现货品种ID",
  9606. "type": "integer"
  9607. },
  9608. "futureavgprice": {
  9609. "description": "期货建仓均价",
  9610. "type": "number"
  9611. },
  9612. "futurecloseamount": {
  9613. "description": "期货平仓金额",
  9614. "type": "number"
  9615. },
  9616. "futurecloseqty": {
  9617. "description": "期货平仓数量",
  9618. "type": "number"
  9619. },
  9620. "futureopenamount": {
  9621. "description": "期货开仓金额",
  9622. "type": "number"
  9623. },
  9624. "futureopenqty": {
  9625. "description": "期货开仓数量",
  9626. "type": "number"
  9627. },
  9628. "futurepl": {
  9629. "description": "期货总盈亏[结算更新]",
  9630. "type": "number"
  9631. },
  9632. "futureqty": {
  9633. "description": "期货持仓数量",
  9634. "type": "number"
  9635. },
  9636. "futurequote": {
  9637. "description": "期货额度",
  9638. "type": "number"
  9639. },
  9640. "goodsgroupid": {
  9641. "description": "期货品种ID",
  9642. "type": "integer"
  9643. },
  9644. "marketid": {
  9645. "description": "市场ID",
  9646. "type": "integer"
  9647. },
  9648. "netexposure": {
  9649. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  9650. "type": "number"
  9651. },
  9652. "netexposurepl": {
  9653. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  9654. "type": "number"
  9655. },
  9656. "netexposurerate": {
  9657. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  9658. "type": "number"
  9659. },
  9660. "openbasis": {
  9661. "description": "建仓基差",
  9662. "type": "number"
  9663. },
  9664. "pricedspotqty": {
  9665. "description": "已定价现货数量",
  9666. "type": "number"
  9667. },
  9668. "pricedspotqtynotax": {
  9669. "description": "已定价现货不含税数量",
  9670. "type": "number"
  9671. },
  9672. "remark": {
  9673. "description": "备注",
  9674. "type": "string"
  9675. },
  9676. "spotavgprice": {
  9677. "description": "现货均价",
  9678. "type": "number"
  9679. },
  9680. "spotbuyamount": {
  9681. "description": "现货采购金额",
  9682. "type": "number"
  9683. },
  9684. "spotbuyqty": {
  9685. "description": "现货采购数量",
  9686. "type": "number"
  9687. },
  9688. "spotpl": {
  9689. "description": "现货总盈亏[结算更新]",
  9690. "type": "number"
  9691. },
  9692. "spotquota": {
  9693. "description": "现货额度",
  9694. "type": "number"
  9695. },
  9696. "spotsellamount": {
  9697. "description": "现货销售金额",
  9698. "type": "number"
  9699. },
  9700. "spotsellqty": {
  9701. "description": "现货销售数量",
  9702. "type": "number"
  9703. },
  9704. "spotusedquota": {
  9705. "description": "现货占用资金",
  9706. "type": "number"
  9707. },
  9708. "strategystatus": {
  9709. "description": "策略状态 - 0:未结束 1:已结束",
  9710. "type": "integer"
  9711. },
  9712. "totalpl": {
  9713. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  9714. "type": "number"
  9715. },
  9716. "tradedate": {
  9717. "description": "交易日(yyyyMMdd)",
  9718. "type": "string"
  9719. },
  9720. "updatetime": {
  9721. "description": "更新时间",
  9722. "type": "string"
  9723. },
  9724. "usedquota": {
  9725. "description": "已占用资金",
  9726. "type": "number"
  9727. },
  9728. "userid": {
  9729. "description": "所属机构",
  9730. "type": "integer"
  9731. }
  9732. }
  9733. },
  9734. "erms2.QueryInnerTradeDetailRsp": {
  9735. "type": "object",
  9736. "required": [
  9737. "asapplyid",
  9738. "buyorsell",
  9739. "goodscode",
  9740. "goodsgroupid",
  9741. "goodsgroupname",
  9742. "goodsname",
  9743. "tradeid"
  9744. ],
  9745. "properties": {
  9746. "accountid": {
  9747. "description": "账号ID",
  9748. "type": "integer"
  9749. },
  9750. "agreeunit": {
  9751. "description": "合约单位",
  9752. "type": "number"
  9753. },
  9754. "asapplyid": {
  9755. "description": "策略申请ID",
  9756. "type": "integer"
  9757. },
  9758. "asname": {
  9759. "description": "策略名称",
  9760. "type": "string"
  9761. },
  9762. "asno": {
  9763. "description": "策略编号",
  9764. "type": "string"
  9765. },
  9766. "buyorsell": {
  9767. "description": "方向 - 0:买 1:卖",
  9768. "type": "integer"
  9769. },
  9770. "channelbuildtype": {
  9771. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  9772. "type": "integer"
  9773. },
  9774. "closetype": {
  9775. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  9776. "type": "integer"
  9777. },
  9778. "decimalplace": {
  9779. "description": "报价小数位",
  9780. "type": "integer"
  9781. },
  9782. "detailtype": {
  9783. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  9784. "type": "integer"
  9785. },
  9786. "exexchangecode": {
  9787. "description": "外部交易所代码",
  9788. "type": "string"
  9789. },
  9790. "exexchangename": {
  9791. "description": "外部交易所名称",
  9792. "type": "string"
  9793. },
  9794. "goodscode": {
  9795. "description": "商品代码(合约)",
  9796. "type": "string"
  9797. },
  9798. "goodsgroupid": {
  9799. "description": "商品组ID(品种ID)",
  9800. "type": "integer"
  9801. },
  9802. "goodsgroupname": {
  9803. "description": "商品组名称(品种)",
  9804. "type": "string"
  9805. },
  9806. "goodsid": {
  9807. "description": "商品ID",
  9808. "type": "integer"
  9809. },
  9810. "goodsname": {
  9811. "description": "商品名称(合约)",
  9812. "type": "string"
  9813. },
  9814. "goodunit": {
  9815. "description": "报价单位",
  9816. "type": "string"
  9817. },
  9818. "marketid": {
  9819. "description": "市场ID",
  9820. "type": "integer"
  9821. },
  9822. "orderid": {
  9823. "description": "委托单号",
  9824. "type": "string"
  9825. },
  9826. "outgoodscode": {
  9827. "description": "商品代码(外部)",
  9828. "type": "string"
  9829. },
  9830. "relatedouttradeid": {
  9831. "description": "关联外部成交单ID",
  9832. "type": "string"
  9833. },
  9834. "remark": {
  9835. "description": "备注",
  9836. "type": "string"
  9837. },
  9838. "spotcontractid": {
  9839. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  9840. "type": "integer"
  9841. },
  9842. "spotcontractno": {
  9843. "description": "现货合同编号",
  9844. "type": "string"
  9845. },
  9846. "tradeid": {
  9847. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9848. "type": "string"
  9849. },
  9850. "tradeprice": {
  9851. "description": "成交价格",
  9852. "type": "number"
  9853. },
  9854. "tradeqty": {
  9855. "description": "成交数量",
  9856. "type": "integer"
  9857. },
  9858. "tradetime": {
  9859. "description": "成交时间",
  9860. "type": "string"
  9861. },
  9862. "updatetime": {
  9863. "description": "更新时间",
  9864. "type": "string"
  9865. }
  9866. }
  9867. },
  9868. "erms2.QuerySpotContractRsp": {
  9869. "type": "object",
  9870. "required": [
  9871. "spotcontractid"
  9872. ],
  9873. "properties": {
  9874. "accountid": {
  9875. "description": "资金账户ID",
  9876. "type": "integer"
  9877. },
  9878. "areauserid": {
  9879. "description": "所属机构",
  9880. "type": "integer"
  9881. },
  9882. "closedate": {
  9883. "description": "终止日期",
  9884. "type": "string"
  9885. },
  9886. "closeremark": {
  9887. "description": "结束备注",
  9888. "type": "string"
  9889. },
  9890. "closetradedate": {
  9891. "description": "完结交易日(yyyyMMdd)",
  9892. "type": "string"
  9893. },
  9894. "closetype": {
  9895. "description": "终止类型 - 1:违约 2:提前终止",
  9896. "type": "integer"
  9897. },
  9898. "contractamount": {
  9899. "description": "合同金额",
  9900. "type": "number"
  9901. },
  9902. "contractattachment": {
  9903. "description": "合同附件",
  9904. "type": "string"
  9905. },
  9906. "contractno": {
  9907. "description": "现货合同编号",
  9908. "type": "string"
  9909. },
  9910. "contractqty": {
  9911. "description": "合同数量(数值) (用于计算)",
  9912. "type": "number"
  9913. },
  9914. "contractqtychar": {
  9915. "description": "合同数量\\已订价数量 (用于显示)",
  9916. "type": "string"
  9917. },
  9918. "contractstatus": {
  9919. "description": "合同状态 - 0:未结束 1:已结束",
  9920. "type": "integer"
  9921. },
  9922. "contracttype": {
  9923. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  9924. "type": "integer"
  9925. },
  9926. "customeraccountid": {
  9927. "description": "客户资金账户ID",
  9928. "type": "integer"
  9929. },
  9930. "customeruserid": {
  9931. "description": "客户ID",
  9932. "type": "integer"
  9933. },
  9934. "deliverygoodsdesc": {
  9935. "description": "品种说明",
  9936. "type": "string"
  9937. },
  9938. "deliverygoodsid": {
  9939. "description": "现货品种ID",
  9940. "type": "integer"
  9941. },
  9942. "handlestatus": {
  9943. "description": "处理状态",
  9944. "type": "integer"
  9945. },
  9946. "invoiceatt": {
  9947. "description": "发票附件",
  9948. "type": "string"
  9949. },
  9950. "invoicedatetime": {
  9951. "description": "开收票更新时间",
  9952. "type": "string"
  9953. },
  9954. "invoiceopentime": {
  9955. "description": "开票时间",
  9956. "type": "string"
  9957. },
  9958. "invoiceremark": {
  9959. "description": "发票备注",
  9960. "type": "string"
  9961. },
  9962. "invoicestatus": {
  9963. "description": "开收票状态 - 0:未开票 1:已开票",
  9964. "type": "integer"
  9965. },
  9966. "lastdate": {
  9967. "description": "交货时间",
  9968. "type": "string"
  9969. },
  9970. "marketid": {
  9971. "description": "市场ID",
  9972. "type": "integer"
  9973. },
  9974. "paydatetime": {
  9975. "description": "收付款更新时间",
  9976. "type": "string"
  9977. },
  9978. "payremark": {
  9979. "description": "收付款备注",
  9980. "type": "string"
  9981. },
  9982. "paystatus": {
  9983. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  9984. "type": "integer"
  9985. },
  9986. "positionqty": {
  9987. "description": "头寸数量 - 合同数量去小数部分",
  9988. "type": "integer"
  9989. },
  9990. "producttype": {
  9991. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  9992. "type": "integer"
  9993. },
  9994. "relatedqty": {
  9995. "description": "已关联数量",
  9996. "type": "number"
  9997. },
  9998. "relatedstatus": {
  9999. "description": "关联完结状态 - 0:未结束 1:已结束",
  10000. "type": "integer"
  10001. },
  10002. "remark": {
  10003. "description": "备注",
  10004. "type": "string"
  10005. },
  10006. "signdate": {
  10007. "description": "签订日期",
  10008. "type": "string"
  10009. },
  10010. "spotcontractid": {
  10011. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  10012. "type": "string"
  10013. },
  10014. "spotdatetime": {
  10015. "description": "收发货更新时间",
  10016. "type": "string"
  10017. },
  10018. "spotprice": {
  10019. "description": "价格",
  10020. "type": "number"
  10021. },
  10022. "spotremark": {
  10023. "description": "收发货备注",
  10024. "type": "string"
  10025. },
  10026. "spotstatus": {
  10027. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  10028. "type": "integer"
  10029. },
  10030. "tradedate": {
  10031. "description": "交易日(yyyyMMdd)",
  10032. "type": "string"
  10033. },
  10034. "userid": {
  10035. "description": "业务员用户ID",
  10036. "type": "integer"
  10037. },
  10038. "warehouseid": {
  10039. "description": "仓库ID",
  10040. "type": "integer"
  10041. },
  10042. "wrfactortypeid": {
  10043. "description": "仓单要素类型ID",
  10044. "type": "integer"
  10045. },
  10046. "wrstandardid": {
  10047. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10048. "type": "integer"
  10049. }
  10050. }
  10051. },
  10052. "erms3.AddErms2ASApplyReq": {
  10053. "type": "object",
  10054. "required": [
  10055. "asapplyid"
  10056. ],
  10057. "properties": {
  10058. "applybasis": {
  10059. "description": "申请基差",
  10060. "type": "number"
  10061. },
  10062. "applystatus": {
  10063. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10064. "type": "integer"
  10065. },
  10066. "asapplyid": {
  10067. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  10068. "type": "integer"
  10069. },
  10070. "asname": {
  10071. "description": "策略名称",
  10072. "type": "string"
  10073. },
  10074. "asno": {
  10075. "description": "策略编号",
  10076. "type": "string"
  10077. },
  10078. "auditid": {
  10079. "description": "审核人",
  10080. "type": "integer"
  10081. },
  10082. "auditremark": {
  10083. "description": "审核备注",
  10084. "type": "string"
  10085. },
  10086. "audittime": {
  10087. "description": "审核时间",
  10088. "type": "string"
  10089. },
  10090. "biztype": {
  10091. "description": "业务类型 - 1:正向套利 2:反向套利",
  10092. "type": "integer"
  10093. },
  10094. "createtime": {
  10095. "description": "创建时间",
  10096. "type": "string"
  10097. },
  10098. "creatorid": {
  10099. "description": "创建人",
  10100. "type": "integer"
  10101. },
  10102. "deliverygoodsid": {
  10103. "description": "现货品种ID",
  10104. "type": "integer"
  10105. },
  10106. "futurequote": {
  10107. "description": "期货额度",
  10108. "type": "number"
  10109. },
  10110. "goodsgroupid": {
  10111. "description": "期货品种ID",
  10112. "type": "integer"
  10113. },
  10114. "marketid": {
  10115. "description": "市场ID",
  10116. "type": "integer"
  10117. },
  10118. "remark": {
  10119. "description": "备注",
  10120. "type": "string"
  10121. },
  10122. "spotquota": {
  10123. "description": "现货额度",
  10124. "type": "number"
  10125. },
  10126. "tradedate": {
  10127. "description": "交易日(yyyyMMdd)",
  10128. "type": "string"
  10129. },
  10130. "userid": {
  10131. "description": "所属机构",
  10132. "type": "integer"
  10133. }
  10134. }
  10135. },
  10136. "erms3.AddErms2SpotTradeApplyReq": {
  10137. "type": "object",
  10138. "required": [
  10139. "spottradeid"
  10140. ],
  10141. "properties": {
  10142. "applyjsondetail": {
  10143. "description": "申请明细(JSON)",
  10144. "type": "string"
  10145. },
  10146. "applystatus": {
  10147. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10148. "type": "integer"
  10149. },
  10150. "areauserid": {
  10151. "description": "所属机构",
  10152. "type": "integer"
  10153. },
  10154. "auditid": {
  10155. "description": "审核人",
  10156. "type": "integer"
  10157. },
  10158. "auditremark": {
  10159. "description": "审核备注",
  10160. "type": "string"
  10161. },
  10162. "audittime": {
  10163. "description": "审核时间",
  10164. "type": "string"
  10165. },
  10166. "createtime": {
  10167. "description": "创建时间",
  10168. "type": "string"
  10169. },
  10170. "creatorid": {
  10171. "description": "创建人",
  10172. "type": "integer"
  10173. },
  10174. "deliverygoodsid": {
  10175. "description": "现货品种ID",
  10176. "type": "integer"
  10177. },
  10178. "futureaccountid": {
  10179. "description": "期货资金账户",
  10180. "type": "integer"
  10181. },
  10182. "goodsgroupid": {
  10183. "description": "期货品种",
  10184. "type": "integer"
  10185. },
  10186. "marketid": {
  10187. "description": "市场ID",
  10188. "type": "integer"
  10189. },
  10190. "remark": {
  10191. "description": "备注",
  10192. "type": "string"
  10193. },
  10194. "spotaccountid": {
  10195. "description": "现货资金账户",
  10196. "type": "integer"
  10197. },
  10198. "spottradeid": {
  10199. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  10200. "type": "integer"
  10201. },
  10202. "spottradename": {
  10203. "description": "业务名称",
  10204. "type": "string"
  10205. },
  10206. "spottradeno": {
  10207. "description": "业务编号",
  10208. "type": "string"
  10209. },
  10210. "tradedate": {
  10211. "description": "交易日(yyyyMMdd)",
  10212. "type": "string"
  10213. },
  10214. "wrstandardid": {
  10215. "description": "仓单标准ID",
  10216. "type": "integer"
  10217. }
  10218. }
  10219. },
  10220. "erms3.AddSpotContractApplyReq": {
  10221. "type": "object",
  10222. "required": [
  10223. "accountid",
  10224. "areauserid",
  10225. "contractno",
  10226. "contracttype",
  10227. "customeraccountid",
  10228. "customeruserid",
  10229. "details",
  10230. "orimargin",
  10231. "signdate"
  10232. ],
  10233. "properties": {
  10234. "accountid": {
  10235. "description": "资金账户ID",
  10236. "type": "integer"
  10237. },
  10238. "areauserid": {
  10239. "description": "所属机构",
  10240. "type": "integer"
  10241. },
  10242. "contractattachment": {
  10243. "description": "合同附件",
  10244. "type": "string"
  10245. },
  10246. "contractno": {
  10247. "description": "现货合同编号",
  10248. "type": "string"
  10249. },
  10250. "contracttype": {
  10251. "description": "现货合同类型 - 1:采购 -1:销售",
  10252. "type": "integer"
  10253. },
  10254. "creatorid": {
  10255. "description": "申请人",
  10256. "type": "integer"
  10257. },
  10258. "customeraccountid": {
  10259. "description": "客户资金账户ID",
  10260. "type": "integer"
  10261. },
  10262. "customeruserid": {
  10263. "description": "客户ID",
  10264. "type": "integer"
  10265. },
  10266. "details": {
  10267. "description": "明细",
  10268. "type": "array",
  10269. "items": {
  10270. "$ref": "#/definitions/erms3.SoptContractDetail"
  10271. }
  10272. },
  10273. "orimargin": {
  10274. "description": "初始保证金",
  10275. "type": "number"
  10276. },
  10277. "remark": {
  10278. "description": "备注",
  10279. "type": "string"
  10280. },
  10281. "signdate": {
  10282. "description": "签订日期",
  10283. "type": "string"
  10284. }
  10285. }
  10286. },
  10287. "erms3.AddSpotContractApplyRsp": {
  10288. "type": "object",
  10289. "required": [
  10290. "contractno"
  10291. ],
  10292. "properties": {
  10293. "contractno": {
  10294. "description": "现货合同编号",
  10295. "type": "string"
  10296. },
  10297. "spotcontractid": {
  10298. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  10299. "type": "integer"
  10300. }
  10301. }
  10302. },
  10303. "erms3.AddUserInfoApplyReq": {
  10304. "type": "object",
  10305. "required": [
  10306. "userid"
  10307. ],
  10308. "properties": {
  10309. "accountid": {
  10310. "description": "交易系统帐号Id (加密存储)",
  10311. "type": "integer"
  10312. },
  10313. "areacode": {
  10314. "description": "机构代码",
  10315. "type": "string"
  10316. },
  10317. "areaid": {
  10318. "description": "机构Id",
  10319. "type": "integer"
  10320. },
  10321. "attachment1": {
  10322. "description": "附件1",
  10323. "type": "string"
  10324. },
  10325. "attachment2": {
  10326. "description": "附件2",
  10327. "type": "string"
  10328. },
  10329. "attachment3": {
  10330. "description": "附件3",
  10331. "type": "string"
  10332. },
  10333. "attachment4": {
  10334. "description": "附件4",
  10335. "type": "string"
  10336. },
  10337. "attachment5": {
  10338. "description": "附件5",
  10339. "type": "string"
  10340. },
  10341. "auditedby": {
  10342. "description": "审核人",
  10343. "type": "string"
  10344. },
  10345. "auditime": {
  10346. "description": "审核时间",
  10347. "type": "string"
  10348. },
  10349. "bankaccount": {
  10350. "description": "银行帐号 (加密存储)",
  10351. "type": "string"
  10352. },
  10353. "bankaccountname": {
  10354. "description": "收款人名称",
  10355. "type": "string"
  10356. },
  10357. "bankcardbackphotourl": {
  10358. "description": "银行卡背面照地址",
  10359. "type": "string"
  10360. },
  10361. "bankcardfrontphotourl": {
  10362. "description": "银行卡正面照地址",
  10363. "type": "string"
  10364. },
  10365. "bankid": {
  10366. "description": "银行编码",
  10367. "type": "string"
  10368. },
  10369. "bankname": {
  10370. "description": "银行名称",
  10371. "type": "string"
  10372. },
  10373. "bankpictureurl": {
  10374. "description": "银行卡正面地址",
  10375. "type": "string"
  10376. },
  10377. "biznature": {
  10378. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10379. "type": "integer"
  10380. },
  10381. "bizscope": {
  10382. "description": "企业经营范围(企业)",
  10383. "type": "string"
  10384. },
  10385. "biztype": {
  10386. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10387. "type": "integer"
  10388. },
  10389. "brokerid": {
  10390. "description": "经纪人ID(加密存储)",
  10391. "type": "string"
  10392. },
  10393. "cardaddress": {
  10394. "description": "证件地址 (加密存储)",
  10395. "type": "string"
  10396. },
  10397. "cardbackphotourl": {
  10398. "description": "背面证件照地址",
  10399. "type": "string"
  10400. },
  10401. "cardfrontphotourl": {
  10402. "description": "正面证件照地址",
  10403. "type": "string"
  10404. },
  10405. "cardnum": {
  10406. "description": "证件号码 (加密存储)",
  10407. "type": "string"
  10408. },
  10409. "cardtype": {
  10410. "description": "证件类型",
  10411. "type": "integer"
  10412. },
  10413. "cityid": {
  10414. "description": "市",
  10415. "type": "integer"
  10416. },
  10417. "company": {
  10418. "description": "公司(个人)",
  10419. "type": "string"
  10420. },
  10421. "contactcardbackphotourl": {
  10422. "description": "联系人证件背面图片地址",
  10423. "type": "string"
  10424. },
  10425. "contactcardfrontphotourl": {
  10426. "description": "联系人证件正面图片地址",
  10427. "type": "string"
  10428. },
  10429. "contactname": {
  10430. "description": "联系人",
  10431. "type": "string"
  10432. },
  10433. "countryid": {
  10434. "description": "国家",
  10435. "type": "integer"
  10436. },
  10437. "createtime": {
  10438. "description": "开户申请时间",
  10439. "type": "string"
  10440. },
  10441. "cusbankid": {
  10442. "description": "签约类型",
  10443. "type": "string"
  10444. },
  10445. "cusbankname": {
  10446. "description": "签约类型名称",
  10447. "type": "string"
  10448. },
  10449. "customername": {
  10450. "description": "客户名称(企业名称)",
  10451. "type": "string"
  10452. },
  10453. "districtid": {
  10454. "description": "地区",
  10455. "type": "integer"
  10456. },
  10457. "email": {
  10458. "description": "Email地址(加密存储)",
  10459. "type": "string"
  10460. },
  10461. "halfbodyphotourl": {
  10462. "description": "半身照地址",
  10463. "type": "string"
  10464. },
  10465. "headurl": {
  10466. "description": "头像地址",
  10467. "type": "string"
  10468. },
  10469. "ipaddress": {
  10470. "description": "IP地址",
  10471. "type": "string"
  10472. },
  10473. "isvalidate": {
  10474. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10475. "type": "string"
  10476. },
  10477. "legalcardbackphotourl": {
  10478. "description": "法人身份证背面照地址",
  10479. "type": "string"
  10480. },
  10481. "legalcardfrontphotourl": {
  10482. "description": "法人身份证正面照地址",
  10483. "type": "string"
  10484. },
  10485. "legalpersonname": {
  10486. "description": "法人姓名(企业)",
  10487. "type": "string"
  10488. },
  10489. "logincode": {
  10490. "description": "登录帐号 (加密存储)",
  10491. "type": "string"
  10492. },
  10493. "memberareaid": {
  10494. "description": "所属会员ID",
  10495. "type": "integer"
  10496. },
  10497. "mobile2": {
  10498. "description": "手机号码[明文-尚志]",
  10499. "type": "string"
  10500. },
  10501. "mobilephone": {
  10502. "description": "手机号码 (加密存储)",
  10503. "type": "string"
  10504. },
  10505. "modifiedby": {
  10506. "description": "修改人帐号",
  10507. "type": "integer"
  10508. },
  10509. "modifiedtime": {
  10510. "description": "修改时间",
  10511. "type": "string"
  10512. },
  10513. "nickname": {
  10514. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10515. "type": "string"
  10516. },
  10517. "openmode": {
  10518. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10519. "type": "integer"
  10520. },
  10521. "otherurl": {
  10522. "description": "其它图片地址[使用分号分隔]",
  10523. "type": "string"
  10524. },
  10525. "postalcode": {
  10526. "description": "邮政编码",
  10527. "type": "string"
  10528. },
  10529. "provinceid": {
  10530. "description": "省",
  10531. "type": "integer"
  10532. },
  10533. "proxystatementurl": {
  10534. "description": "授权委托书",
  10535. "type": "string"
  10536. },
  10537. "qq": {
  10538. "description": "QQ(加密存储",
  10539. "type": "string"
  10540. },
  10541. "referral": {
  10542. "description": "推荐人编码",
  10543. "type": "string"
  10544. },
  10545. "remark": {
  10546. "description": "备注",
  10547. "type": "string"
  10548. },
  10549. "removebeforestatus": {
  10550. "description": "REMOVEBEFORESTATUS",
  10551. "type": "integer"
  10552. },
  10553. "sex": {
  10554. "description": "性别 - 0:女 1:男",
  10555. "type": "integer"
  10556. },
  10557. "signedstatus": {
  10558. "description": "账户一号签签约状态",
  10559. "type": "integer"
  10560. },
  10561. "signpdfurl": {
  10562. "description": "签约pdf文件",
  10563. "type": "string"
  10564. },
  10565. "subbranch": {
  10566. "description": "开户支行",
  10567. "type": "string"
  10568. },
  10569. "telphone": {
  10570. "description": "联系电话(加密存储)",
  10571. "type": "string"
  10572. },
  10573. "userid": {
  10574. "description": "用户ID(自增ID)",
  10575. "type": "integer"
  10576. },
  10577. "userinfotype": {
  10578. "description": "用户信息类型 - 1:个人 2:企业",
  10579. "type": "integer"
  10580. },
  10581. "username": {
  10582. "description": "用户姓名",
  10583. "type": "string"
  10584. },
  10585. "userstate": {
  10586. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10587. "type": "integer"
  10588. },
  10589. "usertype": {
  10590. "description": "用户类型 - 1:投资者 2:机构",
  10591. "type": "integer"
  10592. },
  10593. "videourl": {
  10594. "description": "视频地址",
  10595. "type": "string"
  10596. },
  10597. "wechat": {
  10598. "description": "微信号 (加密存储)",
  10599. "type": "string"
  10600. }
  10601. }
  10602. },
  10603. "erms3.CustomerInfo": {
  10604. "type": "object",
  10605. "required": [
  10606. "userid"
  10607. ],
  10608. "properties": {
  10609. "accountids": {
  10610. "description": "资金账户ID列表",
  10611. "type": "array",
  10612. "items": {
  10613. "type": "integer"
  10614. }
  10615. },
  10616. "customername": {
  10617. "description": "名称(企业名称)",
  10618. "type": "string"
  10619. },
  10620. "mobile": {
  10621. "description": "手机号码",
  10622. "type": "string"
  10623. },
  10624. "userid": {
  10625. "description": "用户ID",
  10626. "type": "integer"
  10627. }
  10628. }
  10629. },
  10630. "erms3.ModifyUserInfoApplyReq": {
  10631. "type": "object",
  10632. "required": [
  10633. "userid"
  10634. ],
  10635. "properties": {
  10636. "accountid": {
  10637. "description": "交易系统帐号Id (加密存储)",
  10638. "type": "integer"
  10639. },
  10640. "areacode": {
  10641. "description": "机构代码",
  10642. "type": "string"
  10643. },
  10644. "areaid": {
  10645. "description": "机构Id",
  10646. "type": "integer"
  10647. },
  10648. "attachment1": {
  10649. "description": "附件1",
  10650. "type": "string"
  10651. },
  10652. "attachment2": {
  10653. "description": "附件2",
  10654. "type": "string"
  10655. },
  10656. "attachment3": {
  10657. "description": "附件3",
  10658. "type": "string"
  10659. },
  10660. "attachment4": {
  10661. "description": "附件4",
  10662. "type": "string"
  10663. },
  10664. "attachment5": {
  10665. "description": "附件5",
  10666. "type": "string"
  10667. },
  10668. "auditedby": {
  10669. "description": "审核人",
  10670. "type": "string"
  10671. },
  10672. "auditime": {
  10673. "description": "审核时间",
  10674. "type": "string"
  10675. },
  10676. "bankaccount": {
  10677. "description": "银行帐号 (加密存储)",
  10678. "type": "string"
  10679. },
  10680. "bankaccountname": {
  10681. "description": "收款人名称",
  10682. "type": "string"
  10683. },
  10684. "bankcardbackphotourl": {
  10685. "description": "银行卡背面照地址",
  10686. "type": "string"
  10687. },
  10688. "bankcardfrontphotourl": {
  10689. "description": "银行卡正面照地址",
  10690. "type": "string"
  10691. },
  10692. "bankid": {
  10693. "description": "银行编码",
  10694. "type": "string"
  10695. },
  10696. "bankname": {
  10697. "description": "银行名称",
  10698. "type": "string"
  10699. },
  10700. "bankpictureurl": {
  10701. "description": "银行卡正面地址",
  10702. "type": "string"
  10703. },
  10704. "biznature": {
  10705. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  10706. "type": "integer"
  10707. },
  10708. "bizscope": {
  10709. "description": "企业经营范围(企业)",
  10710. "type": "string"
  10711. },
  10712. "biztype": {
  10713. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  10714. "type": "integer"
  10715. },
  10716. "brokerid": {
  10717. "description": "经纪人ID(加密存储)",
  10718. "type": "string"
  10719. },
  10720. "cardaddress": {
  10721. "description": "证件地址 (加密存储)",
  10722. "type": "string"
  10723. },
  10724. "cardbackphotourl": {
  10725. "description": "背面证件照地址",
  10726. "type": "string"
  10727. },
  10728. "cardfrontphotourl": {
  10729. "description": "正面证件照地址",
  10730. "type": "string"
  10731. },
  10732. "cardnum": {
  10733. "description": "证件号码 (加密存储)",
  10734. "type": "string"
  10735. },
  10736. "cardtype": {
  10737. "description": "证件类型",
  10738. "type": "integer"
  10739. },
  10740. "cityid": {
  10741. "description": "市",
  10742. "type": "integer"
  10743. },
  10744. "company": {
  10745. "description": "公司(个人)",
  10746. "type": "string"
  10747. },
  10748. "contactcardbackphotourl": {
  10749. "description": "联系人证件背面图片地址",
  10750. "type": "string"
  10751. },
  10752. "contactcardfrontphotourl": {
  10753. "description": "联系人证件正面图片地址",
  10754. "type": "string"
  10755. },
  10756. "contactname": {
  10757. "description": "联系人",
  10758. "type": "string"
  10759. },
  10760. "countryid": {
  10761. "description": "国家",
  10762. "type": "integer"
  10763. },
  10764. "createtime": {
  10765. "description": "开户申请时间",
  10766. "type": "string"
  10767. },
  10768. "cusbankid": {
  10769. "description": "签约类型",
  10770. "type": "string"
  10771. },
  10772. "cusbankname": {
  10773. "description": "签约类型名称",
  10774. "type": "string"
  10775. },
  10776. "customername": {
  10777. "description": "客户名称(企业名称)",
  10778. "type": "string"
  10779. },
  10780. "districtid": {
  10781. "description": "地区",
  10782. "type": "integer"
  10783. },
  10784. "email": {
  10785. "description": "Email地址(加密存储)",
  10786. "type": "string"
  10787. },
  10788. "halfbodyphotourl": {
  10789. "description": "半身照地址",
  10790. "type": "string"
  10791. },
  10792. "headurl": {
  10793. "description": "头像地址",
  10794. "type": "string"
  10795. },
  10796. "ipaddress": {
  10797. "description": "IP地址",
  10798. "type": "string"
  10799. },
  10800. "isvalidate": {
  10801. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  10802. "type": "string"
  10803. },
  10804. "legalcardbackphotourl": {
  10805. "description": "法人身份证背面照地址",
  10806. "type": "string"
  10807. },
  10808. "legalcardfrontphotourl": {
  10809. "description": "法人身份证正面照地址",
  10810. "type": "string"
  10811. },
  10812. "legalpersonname": {
  10813. "description": "法人姓名(企业)",
  10814. "type": "string"
  10815. },
  10816. "logincode": {
  10817. "description": "登录帐号 (加密存储)",
  10818. "type": "string"
  10819. },
  10820. "memberareaid": {
  10821. "description": "所属会员ID",
  10822. "type": "integer"
  10823. },
  10824. "mobile2": {
  10825. "description": "手机号码[明文-尚志]",
  10826. "type": "string"
  10827. },
  10828. "mobilephone": {
  10829. "description": "手机号码 (加密存储)",
  10830. "type": "string"
  10831. },
  10832. "modifiedby": {
  10833. "description": "修改人帐号",
  10834. "type": "integer"
  10835. },
  10836. "modifiedtime": {
  10837. "description": "修改时间",
  10838. "type": "string"
  10839. },
  10840. "nickname": {
  10841. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  10842. "type": "string"
  10843. },
  10844. "openmode": {
  10845. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  10846. "type": "integer"
  10847. },
  10848. "otherurl": {
  10849. "description": "其它图片地址[使用分号分隔]",
  10850. "type": "string"
  10851. },
  10852. "postalcode": {
  10853. "description": "邮政编码",
  10854. "type": "string"
  10855. },
  10856. "provinceid": {
  10857. "description": "省",
  10858. "type": "integer"
  10859. },
  10860. "proxystatementurl": {
  10861. "description": "授权委托书",
  10862. "type": "string"
  10863. },
  10864. "qq": {
  10865. "description": "QQ(加密存储",
  10866. "type": "string"
  10867. },
  10868. "referral": {
  10869. "description": "推荐人编码",
  10870. "type": "string"
  10871. },
  10872. "remark": {
  10873. "description": "备注",
  10874. "type": "string"
  10875. },
  10876. "removebeforestatus": {
  10877. "description": "REMOVEBEFORESTATUS",
  10878. "type": "integer"
  10879. },
  10880. "sex": {
  10881. "description": "性别 - 0:女 1:男",
  10882. "type": "integer"
  10883. },
  10884. "signedstatus": {
  10885. "description": "账户一号签签约状态",
  10886. "type": "integer"
  10887. },
  10888. "signpdfurl": {
  10889. "description": "签约pdf文件",
  10890. "type": "string"
  10891. },
  10892. "subbranch": {
  10893. "description": "开户支行",
  10894. "type": "string"
  10895. },
  10896. "telphone": {
  10897. "description": "联系电话(加密存储)",
  10898. "type": "string"
  10899. },
  10900. "userid": {
  10901. "description": "用户ID(自增ID)",
  10902. "type": "integer"
  10903. },
  10904. "userinfotype": {
  10905. "description": "用户信息类型 - 1:个人 2:企业",
  10906. "type": "integer"
  10907. },
  10908. "username": {
  10909. "description": "用户姓名",
  10910. "type": "string"
  10911. },
  10912. "userstate": {
  10913. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  10914. "type": "integer"
  10915. },
  10916. "usertype": {
  10917. "description": "用户类型 - 1:投资者 2:机构",
  10918. "type": "integer"
  10919. },
  10920. "videourl": {
  10921. "description": "视频地址",
  10922. "type": "string"
  10923. },
  10924. "wechat": {
  10925. "description": "微信号 (加密存储)",
  10926. "type": "string"
  10927. }
  10928. }
  10929. },
  10930. "erms3.QryAuditContractRsp": {
  10931. "type": "object",
  10932. "required": [
  10933. "matchcustomername",
  10934. "spotcontractid"
  10935. ],
  10936. "properties": {
  10937. "accountid": {
  10938. "description": "交易员ID",
  10939. "type": "string"
  10940. },
  10941. "applystatus": {
  10942. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  10943. "type": "integer"
  10944. },
  10945. "curdeliveryqty": {
  10946. "description": "未交收量",
  10947. "type": "integer"
  10948. },
  10949. "customername": {
  10950. "description": "采购方ID",
  10951. "type": "string"
  10952. },
  10953. "deliverygoodsid": {
  10954. "description": "品种ID",
  10955. "type": "string"
  10956. },
  10957. "deliveryqty": {
  10958. "description": "交收量",
  10959. "type": "integer"
  10960. },
  10961. "enumdicname": {
  10962. "description": "单位名称",
  10963. "type": "string"
  10964. },
  10965. "matchaccountid": {
  10966. "description": "业务员ID",
  10967. "type": "string"
  10968. },
  10969. "matchcustomername": {
  10970. "description": "销售方ID",
  10971. "type": "string"
  10972. },
  10973. "pricedqty": {
  10974. "description": "定价量",
  10975. "type": "number"
  10976. },
  10977. "signdate": {
  10978. "description": "签订日期",
  10979. "type": "string"
  10980. },
  10981. "spotcontractid": {
  10982. "description": "合同ID",
  10983. "type": "string"
  10984. },
  10985. "totaldqty": {
  10986. "description": "合同量",
  10987. "type": "number"
  10988. },
  10989. "unpricedqty": {
  10990. "description": "未定价量",
  10991. "type": "number"
  10992. },
  10993. "wrstandardname": {
  10994. "description": "商品名称",
  10995. "type": "string"
  10996. }
  10997. }
  10998. },
  10999. "erms3.QryPendingBizRsp": {
  11000. "type": "object",
  11001. "properties": {
  11002. "accountid": {
  11003. "description": "现货账户",
  11004. "type": "string"
  11005. },
  11006. "areaname": {
  11007. "description": "所属部门",
  11008. "type": "string"
  11009. },
  11010. "bizid": {
  11011. "description": "业务ID",
  11012. "type": "string"
  11013. },
  11014. "bizname": {
  11015. "description": "业务名称",
  11016. "type": "string"
  11017. },
  11018. "status": {
  11019. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  11020. "type": "integer"
  11021. },
  11022. "type": {
  11023. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  11024. "type": "integer"
  11025. }
  11026. }
  11027. },
  11028. "erms3.QueryBusinessInfoRsp": {
  11029. "type": "object",
  11030. "properties": {
  11031. "businessid": {
  11032. "description": "业务ID.",
  11033. "type": "integer"
  11034. },
  11035. "buyamount": {
  11036. "description": "采购额.",
  11037. "type": "number"
  11038. },
  11039. "buyqty": {
  11040. "description": "采购量.",
  11041. "type": "string"
  11042. },
  11043. "futurepl": {
  11044. "description": "期货盈亏.",
  11045. "type": "number"
  11046. },
  11047. "futureqty": {
  11048. "description": "期货敞口.",
  11049. "type": "string"
  11050. },
  11051. "goodsid": {
  11052. "description": "商品名称/商品代码.",
  11053. "type": "string"
  11054. },
  11055. "hedgingqty": {
  11056. "description": "套保量.",
  11057. "type": "string"
  11058. },
  11059. "sellamount": {
  11060. "description": "销售额.",
  11061. "type": "number"
  11062. },
  11063. "sellqty": {
  11064. "description": "销售量.",
  11065. "type": "string"
  11066. },
  11067. "spotmarketvalue": {
  11068. "description": "现货市值.",
  11069. "type": "number"
  11070. },
  11071. "spotpl": {
  11072. "description": "浮动权益.",
  11073. "type": "number"
  11074. },
  11075. "spotqty": {
  11076. "description": "现货量.",
  11077. "type": "string"
  11078. },
  11079. "statu": {
  11080. "description": "状态,0-未结束 1-已结束.",
  11081. "type": "integer"
  11082. },
  11083. "totalpl": {
  11084. "description": "总盈亏.",
  11085. "type": "number"
  11086. },
  11087. "totalqty": {
  11088. "description": "总敞口.",
  11089. "type": "string"
  11090. },
  11091. "type": {
  11092. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  11093. "type": "integer"
  11094. }
  11095. }
  11096. },
  11097. "erms3.QuerySpotContractAppleFormRsp": {
  11098. "type": "object",
  11099. "properties": {
  11100. "goodses": {
  11101. "description": "合约列表",
  11102. "type": "array",
  11103. "items": {
  11104. "$ref": "#/definitions/models.GoodsIDAndName"
  11105. }
  11106. },
  11107. "oppositeusers": {
  11108. "description": "对方账号列表",
  11109. "type": "array",
  11110. "items": {
  11111. "$ref": "#/definitions/erms3.CustomerInfo"
  11112. }
  11113. },
  11114. "ouruser": {
  11115. "description": "我方账号",
  11116. "$ref": "#/definitions/erms3.CustomerInfo"
  11117. },
  11118. "warehouseinfos": {
  11119. "description": "仓库信息列表",
  11120. "type": "array",
  11121. "items": {
  11122. "$ref": "#/definitions/models.Warehouseinfo"
  11123. }
  11124. },
  11125. "wrstandards": {
  11126. "description": "仓单标准列表",
  11127. "type": "array",
  11128. "items": {
  11129. "$ref": "#/definitions/models.WRStandardInfo"
  11130. }
  11131. }
  11132. }
  11133. },
  11134. "erms3.QuerySpotContractInfoRsp": {
  11135. "type": "object",
  11136. "properties": {
  11137. "accountid": {
  11138. "description": "表示交易员ID.",
  11139. "type": "integer"
  11140. },
  11141. "curdeliveryqty": {
  11142. "description": "表示未交收量.",
  11143. "type": "number"
  11144. },
  11145. "customername": {
  11146. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  11147. "type": "string"
  11148. },
  11149. "deliverygoodsid": {
  11150. "description": "表示品种ID.",
  11151. "type": "string"
  11152. },
  11153. "deliveryqty": {
  11154. "description": "表示交收量.",
  11155. "type": "number"
  11156. },
  11157. "matchaccountid": {
  11158. "description": "表示业务员ID.",
  11159. "type": "integer"
  11160. },
  11161. "matchcustomername": {
  11162. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  11163. "type": "string"
  11164. },
  11165. "priceqty": {
  11166. "description": "表示定价量.",
  11167. "type": "number"
  11168. },
  11169. "relatedbizid": {
  11170. "description": "表示业务ID.",
  11171. "type": "string"
  11172. },
  11173. "signdate": {
  11174. "description": "表示签订日期.",
  11175. "type": "string"
  11176. },
  11177. "spotcontractid": {
  11178. "description": "合同ID",
  11179. "type": "string"
  11180. },
  11181. "status": {
  11182. "description": "表示状态,0-履约中 1-已完成.",
  11183. "type": "integer"
  11184. },
  11185. "totalqty": {
  11186. "description": "表示合同量.",
  11187. "type": "number"
  11188. },
  11189. "unpricedqty": {
  11190. "description": "表示未定价量.",
  11191. "type": "number"
  11192. },
  11193. "wrstandardname": {
  11194. "description": "表示商品ID.",
  11195. "type": "string"
  11196. }
  11197. }
  11198. },
  11199. "erms3.QueryUserInfoAppliesRsp": {
  11200. "type": "object",
  11201. "required": [
  11202. "userid"
  11203. ],
  11204. "properties": {
  11205. "biznature": {
  11206. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11207. "type": "integer"
  11208. },
  11209. "contactname": {
  11210. "description": "联系人",
  11211. "type": "string"
  11212. },
  11213. "createtime": {
  11214. "description": "开户申请时间",
  11215. "type": "string"
  11216. },
  11217. "userid": {
  11218. "description": "用户ID(自增ID)",
  11219. "type": "integer"
  11220. },
  11221. "userinfotype": {
  11222. "description": "用户信息类型 - 1:个人 2:企业",
  11223. "type": "integer"
  11224. },
  11225. "username": {
  11226. "description": "用户姓名",
  11227. "type": "string"
  11228. },
  11229. "userstate": {
  11230. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  11231. "type": "integer"
  11232. }
  11233. }
  11234. },
  11235. "erms3.QueryUserInfosRsp": {
  11236. "type": "object",
  11237. "required": [
  11238. "userid"
  11239. ],
  11240. "properties": {
  11241. "biznature": {
  11242. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  11243. "type": "integer"
  11244. },
  11245. "contactname": {
  11246. "description": "联系人",
  11247. "type": "string"
  11248. },
  11249. "customername": {
  11250. "description": "客户名称(企业名称)",
  11251. "type": "string"
  11252. },
  11253. "userid": {
  11254. "description": "用户ID",
  11255. "type": "integer"
  11256. },
  11257. "userinfotype": {
  11258. "description": "用户信息类型 - 1:个人 2:企业",
  11259. "type": "integer"
  11260. },
  11261. "userstatus": {
  11262. "description": "用户状态 - 1:正常 2:注销",
  11263. "type": "integer"
  11264. }
  11265. }
  11266. },
  11267. "erms3.SoptContractDetail": {
  11268. "type": "object",
  11269. "required": [
  11270. "deliverygoodsid",
  11271. "producttype",
  11272. "unitname",
  11273. "warehouseid",
  11274. "wrstandardid",
  11275. "wrstandardname"
  11276. ],
  11277. "properties": {
  11278. "deliverygoodsdesc": {
  11279. "description": "现货品种说明",
  11280. "type": "string"
  11281. },
  11282. "deliverygoodsid": {
  11283. "description": "现货品种ID",
  11284. "type": "integer"
  11285. },
  11286. "deliverygoodsname": {
  11287. "description": "现货品种名称",
  11288. "type": "string"
  11289. },
  11290. "pointdesc": {
  11291. "description": "点价描述",
  11292. "type": "string"
  11293. },
  11294. "producttype": {
  11295. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  11296. "type": "integer"
  11297. },
  11298. "producttypename": {
  11299. "description": "产品类型名称",
  11300. "type": "string"
  11301. },
  11302. "spotPointOrderVoList": {
  11303. "description": "点价列表",
  11304. "type": "array",
  11305. "items": {
  11306. "$ref": "#/definitions/erms3.SpotPointOrder"
  11307. }
  11308. },
  11309. "spotPriceOrderList": {
  11310. "description": "定价列表",
  11311. "type": "array",
  11312. "items": {
  11313. "$ref": "#/definitions/erms3.SpotPriceOrder"
  11314. }
  11315. },
  11316. "unitname": {
  11317. "description": "单位名称",
  11318. "type": "string"
  11319. },
  11320. "warehouseid": {
  11321. "description": "仓库ID",
  11322. "type": "integer"
  11323. },
  11324. "warehousename": {
  11325. "description": "仓库名称",
  11326. "type": "string"
  11327. },
  11328. "wrstandardid": {
  11329. "description": "交易标的ID",
  11330. "type": "integer"
  11331. },
  11332. "wrstandardname": {
  11333. "description": "交易标的名称",
  11334. "type": "string"
  11335. }
  11336. }
  11337. },
  11338. "erms3.SpotPointOrder": {
  11339. "type": "object",
  11340. "required": [
  11341. "basic",
  11342. "goodsid",
  11343. "qty"
  11344. ],
  11345. "properties": {
  11346. "basic": {
  11347. "description": "基差",
  11348. "type": "number"
  11349. },
  11350. "deliveryenddate": {
  11351. "description": "交收结束日期",
  11352. "type": "string"
  11353. },
  11354. "deliverystartdate": {
  11355. "description": "交收开始日期",
  11356. "type": "string"
  11357. },
  11358. "enddate": {
  11359. "description": "点价结束日期",
  11360. "type": "string"
  11361. },
  11362. "goodsid": {
  11363. "description": "商品ID",
  11364. "type": "integer"
  11365. },
  11366. "goodsname": {
  11367. "description": "商品名称",
  11368. "type": "string"
  11369. },
  11370. "qty": {
  11371. "description": "数量",
  11372. "type": "number"
  11373. },
  11374. "startdate": {
  11375. "description": "点价开始日期",
  11376. "type": "string"
  11377. }
  11378. }
  11379. },
  11380. "erms3.SpotPriceOrder": {
  11381. "type": "object",
  11382. "required": [
  11383. "amount",
  11384. "price",
  11385. "qty"
  11386. ],
  11387. "properties": {
  11388. "amount": {
  11389. "description": "金额",
  11390. "type": "number"
  11391. },
  11392. "deliveryenddate": {
  11393. "description": "交收结束日期",
  11394. "type": "string"
  11395. },
  11396. "deliverystartdate": {
  11397. "description": "交收开始日期",
  11398. "type": "string"
  11399. },
  11400. "price": {
  11401. "description": "价格",
  11402. "type": "number"
  11403. },
  11404. "qty": {
  11405. "description": "数量",
  11406. "type": "number"
  11407. }
  11408. }
  11409. },
  11410. "hsby.GetHsbyMyCountRsp": {
  11411. "type": "object",
  11412. "properties": {
  11413. "myCouponCount": {
  11414. "description": "我的优惠卷数量",
  11415. "type": "integer"
  11416. },
  11417. "myOrderDetailListingCount": {
  11418. "description": "我的订单求购中数量",
  11419. "type": "integer"
  11420. },
  11421. "myOrderDetailPreCount": {
  11422. "description": "我的订单抢购中数量",
  11423. "type": "integer"
  11424. },
  11425. "myPackageUnReceiveCount": {
  11426. "description": "我的包裹待收货数量",
  11427. "type": "integer"
  11428. },
  11429. "myPackageUnSendCount": {
  11430. "description": "我的包裹待发货数量",
  11431. "type": "integer"
  11432. },
  11433. "myPayOrderCount": {
  11434. "description": "我的订单待付款数量",
  11435. "type": "integer"
  11436. }
  11437. }
  11438. },
  11439. "hsby.QueryProvincesAndCitiesRsp": {
  11440. "type": "object",
  11441. "properties": {
  11442. "cities": {
  11443. "description": "市",
  11444. "type": "array",
  11445. "items": {
  11446. "$ref": "#/definitions/models.Division"
  11447. }
  11448. },
  11449. "province": {
  11450. "description": "省",
  11451. "$ref": "#/definitions/models.Division"
  11452. }
  11453. }
  11454. },
  11455. "models.Clientfixedadconfig": {
  11456. "type": "object",
  11457. "required": [
  11458. "adsort",
  11459. "adtype"
  11460. ],
  11461. "properties": {
  11462. "adsort": {
  11463. "description": "排序",
  11464. "type": "integer"
  11465. },
  11466. "adtype": {
  11467. "description": "广告位类型 - 1:新品抢购(HSBY)",
  11468. "type": "integer"
  11469. },
  11470. "areauserid": {
  11471. "description": "所属机构ID",
  11472. "type": "integer"
  11473. },
  11474. "createdate": {
  11475. "description": "创建时间",
  11476. "type": "string"
  11477. },
  11478. "creatorid": {
  11479. "description": "创建人",
  11480. "type": "integer"
  11481. },
  11482. "imagepath": {
  11483. "description": "图片",
  11484. "type": "string"
  11485. },
  11486. "isshow": {
  11487. "description": "是否展示 - 0:不展示 1:展示",
  11488. "type": "integer"
  11489. },
  11490. "modifierid": {
  11491. "description": "操作人",
  11492. "type": "integer"
  11493. },
  11494. "recsize": {
  11495. "description": "推荐尺寸",
  11496. "type": "string"
  11497. },
  11498. "title": {
  11499. "description": "标题",
  11500. "type": "string"
  11501. },
  11502. "updatedate": {
  11503. "description": "更新时间",
  11504. "type": "string"
  11505. },
  11506. "urlcontent": {
  11507. "description": "链接(地址或商品ID)",
  11508. "type": "string"
  11509. },
  11510. "urltype": {
  11511. "description": "链接类型 - 1:直接地址 2:商品ID",
  11512. "type": "integer"
  11513. }
  11514. }
  11515. },
  11516. "models.Division": {
  11517. "type": "object",
  11518. "required": [
  11519. "autoid",
  11520. "divisioncode"
  11521. ],
  11522. "properties": {
  11523. "autoid": {
  11524. "description": "自增ID",
  11525. "type": "integer"
  11526. },
  11527. "divisioncode": {
  11528. "description": "行政代码",
  11529. "type": "string"
  11530. },
  11531. "divisionlevel": {
  11532. "description": "行政级别",
  11533. "type": "string"
  11534. },
  11535. "divisionname": {
  11536. "description": "行政名称",
  11537. "type": "string"
  11538. },
  11539. "modifierid": {
  11540. "description": "修改人",
  11541. "type": "integer"
  11542. },
  11543. "modifytime": {
  11544. "description": "修改时间",
  11545. "type": "string"
  11546. },
  11547. "parentcode": {
  11548. "description": "上级行政代码",
  11549. "type": "string"
  11550. },
  11551. "pathname": {
  11552. "description": "路径名称",
  11553. "type": "string"
  11554. },
  11555. "postcode": {
  11556. "description": "邮政编码",
  11557. "type": "string"
  11558. },
  11559. "separablename": {
  11560. "description": "可拆分的全称",
  11561. "type": "string"
  11562. },
  11563. "shortcode": {
  11564. "description": "地区简码",
  11565. "type": "string"
  11566. }
  11567. }
  11568. },
  11569. "models.Enumdicitem": {
  11570. "type": "object",
  11571. "required": [
  11572. "autoid",
  11573. "enumdiccode",
  11574. "enumdicid",
  11575. "enumitemname"
  11576. ],
  11577. "properties": {
  11578. "autoid": {
  11579. "description": "自增ID",
  11580. "type": "integer"
  11581. },
  11582. "bankmappedvalue": {
  11583. "description": "银行服务对应值",
  11584. "type": "string"
  11585. },
  11586. "enumdiccode": {
  11587. "description": "所属枚举代码",
  11588. "type": "string"
  11589. },
  11590. "enumdicid": {
  11591. "description": "所属枚举ID",
  11592. "type": "integer"
  11593. },
  11594. "enumdicname": {
  11595. "description": "枚举项名称",
  11596. "type": "string"
  11597. },
  11598. "enumitemname": {
  11599. "description": "枚举项值",
  11600. "type": "integer"
  11601. },
  11602. "enumitemstatus": {
  11603. "description": "枚举项状态 - 1.启用 2.不启用",
  11604. "type": "integer"
  11605. },
  11606. "enumitemvalue": {
  11607. "description": "通用值 - [币种通用简写]",
  11608. "type": "string"
  11609. },
  11610. "param1": {
  11611. "description": "参数1[币种:币种小数位]",
  11612. "type": "string"
  11613. },
  11614. "param2": {
  11615. "description": "参数1[币种:币种显示单位]",
  11616. "type": "string"
  11617. },
  11618. "remark": {
  11619. "description": "备注",
  11620. "type": "string"
  11621. }
  11622. }
  11623. },
  11624. "models.ErmcpHisExposure": {
  11625. "type": "object",
  11626. "properties": {
  11627. "needhedgeexposoure": {
  11628. "description": "应套保敞口",
  11629. "type": "number"
  11630. },
  11631. "reckondate": {
  11632. "description": "日照时期(yyyyMMdd)",
  11633. "type": "string"
  11634. },
  11635. "totalexposure": {
  11636. "description": "总敞口",
  11637. "type": "number"
  11638. }
  11639. }
  11640. },
  11641. "models.ErmcpMiddleGoodsModel": {
  11642. "type": "object",
  11643. "properties": {
  11644. "areauserid": {
  11645. "description": "机构用户ID",
  11646. "type": "integer"
  11647. },
  11648. "enumdicname": {
  11649. "description": "单位名称",
  11650. "type": "string"
  11651. },
  11652. "evaluateratio": {
  11653. "description": "估价系数",
  11654. "type": "number"
  11655. },
  11656. "goodsgroupid": {
  11657. "description": "关联期货品种ID",
  11658. "type": "integer"
  11659. },
  11660. "isvalid": {
  11661. "description": "状态 0-无效(停用) 1-有效(正常)",
  11662. "type": "integer"
  11663. },
  11664. "middlegoodscode": {
  11665. "description": "套保品种代码",
  11666. "type": "string"
  11667. },
  11668. "middlegoodsid": {
  11669. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  11670. "type": "integer"
  11671. },
  11672. "middlegoodsname": {
  11673. "description": "套保品种名称",
  11674. "type": "string"
  11675. },
  11676. "modifytime": {
  11677. "description": "修改时间",
  11678. "type": "string"
  11679. },
  11680. "needhedgeratio": {
  11681. "description": "套保比率",
  11682. "type": "number"
  11683. },
  11684. "qtydecimalplace": {
  11685. "description": "数量小数位",
  11686. "type": "integer"
  11687. },
  11688. "relatedgoodsid": {
  11689. "description": "关联交易商品ID",
  11690. "type": "integer"
  11691. },
  11692. "relatedgoodstype": {
  11693. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  11694. "type": "integer"
  11695. }
  11696. }
  11697. },
  11698. "models.ErmcpReportDayFR": {
  11699. "type": "object",
  11700. "properties": {
  11701. "areauserid": {
  11702. "description": "所属机构",
  11703. "type": "integer"
  11704. },
  11705. "collectinvoiceamount": {
  11706. "description": "今日开票金额",
  11707. "type": "number"
  11708. },
  11709. "collectinvoicecount": {
  11710. "description": "今日开票笔数",
  11711. "type": "integer"
  11712. },
  11713. "collectmoneyamount": {
  11714. "description": "今日收款金额",
  11715. "type": "number"
  11716. },
  11717. "collectmoneycount": {
  11718. "description": "今日收款笔数",
  11719. "type": "integer"
  11720. },
  11721. "payinvoiceamount": {
  11722. "description": "今日收票金额",
  11723. "type": "number"
  11724. },
  11725. "payinvoicecount": {
  11726. "description": "今日收票笔数",
  11727. "type": "integer"
  11728. },
  11729. "paymoneyamount": {
  11730. "description": "今日付款金额",
  11731. "type": "number"
  11732. },
  11733. "paymoneycount": {
  11734. "description": "今日付款笔数",
  11735. "type": "integer"
  11736. },
  11737. "reckondate": {
  11738. "description": "日照时期(yyyyMMdd)",
  11739. "type": "string"
  11740. },
  11741. "updatetime": {
  11742. "description": "更新时间",
  11743. "type": "string"
  11744. }
  11745. }
  11746. },
  11747. "models.ErmcpWrstandard": {
  11748. "type": "object",
  11749. "properties": {
  11750. "areauserid": {
  11751. "description": "所属机构",
  11752. "type": "integer"
  11753. },
  11754. "createtime": {
  11755. "description": "创建时间",
  11756. "type": "string"
  11757. },
  11758. "creatorid": {
  11759. "description": "创建人",
  11760. "type": "integer"
  11761. },
  11762. "deliverygoodsid": {
  11763. "description": "品种ID",
  11764. "type": "integer"
  11765. },
  11766. "enumdicname": {
  11767. "description": "单位名称",
  11768. "type": "string"
  11769. },
  11770. "isvalid": {
  11771. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  11772. "type": "integer"
  11773. },
  11774. "minivalue": {
  11775. "description": "最小变动值",
  11776. "type": "integer"
  11777. },
  11778. "minivaluedp": {
  11779. "description": "最小变动值小数位",
  11780. "type": "integer"
  11781. },
  11782. "realminivalue": {
  11783. "description": "实际最小变动值",
  11784. "type": "integer"
  11785. },
  11786. "realminivaluedp": {
  11787. "description": "实际最小变动值小数位",
  11788. "type": "integer"
  11789. },
  11790. "remark": {
  11791. "description": "备注",
  11792. "type": "string"
  11793. },
  11794. "unitid": {
  11795. "description": "单位ID",
  11796. "type": "integer"
  11797. },
  11798. "updatetime": {
  11799. "description": "更新时间",
  11800. "type": "string"
  11801. },
  11802. "wrstandardcode": {
  11803. "description": "现货商品代码",
  11804. "type": "string"
  11805. },
  11806. "wrstandardid": {
  11807. "description": "现货商品ID(SEQ_WRSTANDARD)",
  11808. "type": "integer"
  11809. },
  11810. "wrstandardname": {
  11811. "description": "现货商品名称",
  11812. "type": "string"
  11813. }
  11814. }
  11815. },
  11816. "models.Goods": {
  11817. "type": "object",
  11818. "required": [
  11819. "goodscode",
  11820. "goodsid",
  11821. "goodsname",
  11822. "marketid"
  11823. ],
  11824. "properties": {
  11825. "agreeunit": {
  11826. "description": "合约单位",
  11827. "type": "number"
  11828. },
  11829. "auditaccountid": {
  11830. "description": "审核操作员账号",
  11831. "type": "integer"
  11832. },
  11833. "audittime": {
  11834. "description": "审核时间",
  11835. "type": "string"
  11836. },
  11837. "cancelaccountid": {
  11838. "description": "注销操作员账号",
  11839. "type": "integer"
  11840. },
  11841. "canceltime": {
  11842. "description": "注销时间",
  11843. "type": "string"
  11844. },
  11845. "closepricemode": {
  11846. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  11847. "type": "integer"
  11848. },
  11849. "closepriceparam": {
  11850. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  11851. "type": "number"
  11852. },
  11853. "createtime": {
  11854. "description": "创建时间",
  11855. "type": "string"
  11856. },
  11857. "creatorid": {
  11858. "description": "创建人",
  11859. "type": "integer"
  11860. },
  11861. "currencyid": {
  11862. "description": "报价货币ID",
  11863. "type": "integer"
  11864. },
  11865. "cutmode": {
  11866. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  11867. "type": "integer"
  11868. },
  11869. "decimalplace": {
  11870. "description": "报价小数位",
  11871. "type": "integer"
  11872. },
  11873. "delistingdate": {
  11874. "description": "商品退市时间(状态:退市) -- 已作废",
  11875. "type": "string"
  11876. },
  11877. "delistingmode": {
  11878. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  11879. "type": "integer"
  11880. },
  11881. "deliveryflag": {
  11882. "description": "交割标志 - 0:不可交割 1:可交割",
  11883. "type": "integer"
  11884. },
  11885. "forceclosemode": {
  11886. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  11887. "type": "integer"
  11888. },
  11889. "forceclosevalue": {
  11890. "description": "定期强平参数 [收益权]",
  11891. "type": "integer"
  11892. },
  11893. "goodscode": {
  11894. "description": "商品代码(内部)",
  11895. "type": "string"
  11896. },
  11897. "goodscurrencyid": {
  11898. "description": "合约货币ID",
  11899. "type": "integer"
  11900. },
  11901. "goodsgroupid": {
  11902. "description": "所属商品组ID",
  11903. "type": "integer"
  11904. },
  11905. "goodsid": {
  11906. "description": "商品ID(自增ID SEQ_GOODS)",
  11907. "type": "integer"
  11908. },
  11909. "goodsname": {
  11910. "description": "商品名称",
  11911. "type": "string"
  11912. },
  11913. "goodsquotetype": {
  11914. "description": "合约报价类型: 1-直接报价 2-间接报价",
  11915. "type": "integer"
  11916. },
  11917. "goodsstatus": {
  11918. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  11919. "type": "integer"
  11920. },
  11921. "goodstradetype": {
  11922. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  11923. "type": "integer"
  11924. },
  11925. "goodunitid": {
  11926. "description": "报价单位ID",
  11927. "type": "integer"
  11928. },
  11929. "hasquoter": {
  11930. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  11931. "type": "integer"
  11932. },
  11933. "hqprotecttime": {
  11934. "description": "行情保护时间(秒)",
  11935. "type": "integer"
  11936. },
  11937. "innerdealmode": {
  11938. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  11939. "type": "integer"
  11940. },
  11941. "isbuylimited": {
  11942. "description": "是否限制建仓量 - 0:不限制 1:限制",
  11943. "type": "integer"
  11944. },
  11945. "lasttradedate": {
  11946. "description": "最后交易日期(状态:待退市)",
  11947. "type": "string"
  11948. },
  11949. "listingdate": {
  11950. "description": "交易开始日期",
  11951. "type": "string"
  11952. },
  11953. "marketid": {
  11954. "description": "所属市场ID",
  11955. "type": "integer"
  11956. },
  11957. "modifierid": {
  11958. "description": "修改人",
  11959. "type": "integer"
  11960. },
  11961. "modifystatus": {
  11962. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  11963. "type": "integer"
  11964. },
  11965. "modifytime": {
  11966. "description": "修改时间",
  11967. "type": "string"
  11968. },
  11969. "outerdealmode": {
  11970. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  11971. "type": "integer"
  11972. },
  11973. "outgoodscode": {
  11974. "description": "商品代码(外部)",
  11975. "type": "string"
  11976. },
  11977. "qtydecimalplace": {
  11978. "description": "成交量小数位",
  11979. "type": "integer"
  11980. },
  11981. "quotegear": {
  11982. "description": "行情档位(1-10)",
  11983. "type": "integer"
  11984. },
  11985. "quoteminunit": {
  11986. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  11987. "type": "integer"
  11988. },
  11989. "quoteshowtype": {
  11990. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  11991. "type": "integer"
  11992. },
  11993. "quoteshowtypeinterval": {
  11994. "description": "行情报价间隔时间(秒)(成交价时为0)",
  11995. "type": "integer"
  11996. },
  11997. "remark": {
  11998. "description": "备注",
  11999. "type": "string"
  12000. }
  12001. }
  12002. },
  12003. "models.GoodsBrand": {
  12004. "type": "object",
  12005. "properties": {
  12006. "brandid": {
  12007. "description": "品牌ID",
  12008. "type": "integer"
  12009. },
  12010. "brandname": {
  12011. "description": "品牌名称",
  12012. "type": "string"
  12013. },
  12014. "isvalid": {
  12015. "description": "是否有效 - 0:无效 1:有效",
  12016. "type": "integer"
  12017. }
  12018. }
  12019. },
  12020. "models.GoodsGroupConvert": {
  12021. "type": "object",
  12022. "properties": {
  12023. "convertratio": {
  12024. "description": "折算系数",
  12025. "type": "number"
  12026. },
  12027. "dstgoodsgroupid": {
  12028. "description": "目标期货品种ID",
  12029. "type": "integer"
  12030. },
  12031. "goodsgroupname": {
  12032. "description": "期货品种名称",
  12033. "type": "string"
  12034. },
  12035. "outergroupcode": {
  12036. "description": "期货品种代码",
  12037. "type": "string"
  12038. },
  12039. "srcgoodsgroupid": {
  12040. "description": "源期货品种ID",
  12041. "type": "integer"
  12042. }
  12043. }
  12044. },
  12045. "models.GoodsIDAndName": {
  12046. "type": "object",
  12047. "required": [
  12048. "goodscode",
  12049. "goodsid",
  12050. "goodsname",
  12051. "marketid"
  12052. ],
  12053. "properties": {
  12054. "goodscode": {
  12055. "description": "商品代码(内部)",
  12056. "type": "string"
  12057. },
  12058. "goodsid": {
  12059. "description": "商品ID(自增ID SEQ_GOODS)",
  12060. "type": "integer"
  12061. },
  12062. "goodsname": {
  12063. "description": "商品名称",
  12064. "type": "string"
  12065. },
  12066. "marketid": {
  12067. "description": "所属市场ID",
  12068. "type": "integer"
  12069. }
  12070. }
  12071. },
  12072. "models.GoodsTypeModel": {
  12073. "type": "object",
  12074. "properties": {
  12075. "modelid": {
  12076. "description": "型号ID",
  12077. "type": "integer"
  12078. },
  12079. "modelname": {
  12080. "description": "型号名称",
  12081. "type": "string"
  12082. },
  12083. "updatetime": {
  12084. "description": "更新时间",
  12085. "type": "string"
  12086. }
  12087. }
  12088. },
  12089. "models.HsbyBuyMyPayOrder": {
  12090. "type": "object",
  12091. "required": [
  12092. "goodscode",
  12093. "goodsname",
  12094. "tradeid",
  12095. "trademode"
  12096. ],
  12097. "properties": {
  12098. "agreeunit": {
  12099. "description": "合约单位",
  12100. "type": "number"
  12101. },
  12102. "buyaccountid": {
  12103. "description": "买方账号ID[报价币种]",
  12104. "type": "integer"
  12105. },
  12106. "buyorderid": {
  12107. "description": "买方委托单号",
  12108. "type": "string"
  12109. },
  12110. "createtime": {
  12111. "description": "创建时间",
  12112. "type": "string"
  12113. },
  12114. "currencysign": {
  12115. "description": "货币符号",
  12116. "type": "string"
  12117. },
  12118. "decimalplace": {
  12119. "description": "报价小数位",
  12120. "type": "integer"
  12121. },
  12122. "goodscode": {
  12123. "description": "商品代码(内部)",
  12124. "type": "string"
  12125. },
  12126. "goodsid": {
  12127. "description": "商品ID",
  12128. "type": "integer"
  12129. },
  12130. "goodsname": {
  12131. "description": "商品名称",
  12132. "type": "string"
  12133. },
  12134. "marketid": {
  12135. "description": "市场ID",
  12136. "type": "integer"
  12137. },
  12138. "offamount": {
  12139. "description": "优惠金额",
  12140. "type": "number"
  12141. },
  12142. "payamount": {
  12143. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  12144. "type": "number"
  12145. },
  12146. "payflag": {
  12147. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12148. "type": "integer"
  12149. },
  12150. "paylimitedtime": {
  12151. "description": "支付期限",
  12152. "type": "string"
  12153. },
  12154. "paytime": {
  12155. "description": "付款时间",
  12156. "type": "string"
  12157. },
  12158. "picurls1": {
  12159. "description": "预售商品介绍图片[多张用逗号分隔]",
  12160. "type": "string"
  12161. },
  12162. "picurls2": {
  12163. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12164. "type": "string"
  12165. },
  12166. "sellaccountid": {
  12167. "description": "卖方账号ID[报价币种]",
  12168. "type": "integer"
  12169. },
  12170. "sellorderid": {
  12171. "description": "卖方委托单号",
  12172. "type": "string"
  12173. },
  12174. "tradeamount": {
  12175. "description": "成交金额",
  12176. "type": "number"
  12177. },
  12178. "tradecharge": {
  12179. "description": "成交手续费(买方)",
  12180. "type": "number"
  12181. },
  12182. "tradedate": {
  12183. "description": "交易日(yyyyMMdd)",
  12184. "type": "string"
  12185. },
  12186. "tradeid": {
  12187. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12188. "type": "string"
  12189. },
  12190. "trademode": {
  12191. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12192. "type": "integer"
  12193. },
  12194. "tradeprice": {
  12195. "description": "成交价格",
  12196. "type": "number"
  12197. },
  12198. "tradeqty": {
  12199. "description": "成交数量",
  12200. "type": "integer"
  12201. },
  12202. "vendorname1": {
  12203. "description": "预售商品供应商名称",
  12204. "type": "string"
  12205. },
  12206. "vendorname2": {
  12207. "description": "挂牌商品供应商名称",
  12208. "type": "string"
  12209. }
  12210. }
  12211. },
  12212. "models.HsbyBuyMyTradeDetail": {
  12213. "type": "object",
  12214. "required": [
  12215. "accountid",
  12216. "buyorsell",
  12217. "goodscode",
  12218. "goodsid",
  12219. "goodsname",
  12220. "marketid",
  12221. "orderid",
  12222. "qty",
  12223. "time",
  12224. "trademode"
  12225. ],
  12226. "properties": {
  12227. "accountid": {
  12228. "description": "账户ID[报价币种]",
  12229. "type": "integer"
  12230. },
  12231. "agreeunit": {
  12232. "description": "合约单位",
  12233. "type": "number"
  12234. },
  12235. "amount": {
  12236. "description": "金额 = 价格 * 数量 * 合约单位",
  12237. "type": "number"
  12238. },
  12239. "buyorsell": {
  12240. "description": "买卖 - 0:买 1:卖",
  12241. "type": "integer"
  12242. },
  12243. "currencysign": {
  12244. "description": "货币符号",
  12245. "type": "string"
  12246. },
  12247. "decimalplace": {
  12248. "description": "报价小数位",
  12249. "type": "integer"
  12250. },
  12251. "goodscode": {
  12252. "description": "商品代码(内部)",
  12253. "type": "string"
  12254. },
  12255. "goodsid": {
  12256. "description": "商品ID",
  12257. "type": "integer"
  12258. },
  12259. "goodsname": {
  12260. "description": "商品名称",
  12261. "type": "string"
  12262. },
  12263. "marketid": {
  12264. "description": "市场ID",
  12265. "type": "integer"
  12266. },
  12267. "orderid": {
  12268. "description": "单号(成交单号)",
  12269. "type": "string"
  12270. },
  12271. "picurls1": {
  12272. "description": "预售商品介绍图片[多张用逗号分隔]",
  12273. "type": "string"
  12274. },
  12275. "picurls2": {
  12276. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  12277. "type": "string"
  12278. },
  12279. "price": {
  12280. "description": "价格",
  12281. "type": "number"
  12282. },
  12283. "qty": {
  12284. "description": "数量",
  12285. "type": "integer"
  12286. },
  12287. "time": {
  12288. "description": "时间",
  12289. "type": "string"
  12290. },
  12291. "trademode": {
  12292. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12293. "type": "integer"
  12294. },
  12295. "vendorname1": {
  12296. "description": "预售商品供应商名称",
  12297. "type": "string"
  12298. },
  12299. "vendorname2": {
  12300. "description": "挂牌商品供应商名称",
  12301. "type": "string"
  12302. }
  12303. }
  12304. },
  12305. "models.HsbyGoodsOrderDetail": {
  12306. "type": "object",
  12307. "required": [
  12308. "buyorsell",
  12309. "orderid",
  12310. "ordertime"
  12311. ],
  12312. "properties": {
  12313. "buyorsell": {
  12314. "description": "买卖 - 0:买 1:卖",
  12315. "type": "integer"
  12316. },
  12317. "currencysign": {
  12318. "description": "货币符号",
  12319. "type": "string"
  12320. },
  12321. "customername": {
  12322. "description": "客户名称(企业名称),已脱敏",
  12323. "type": "string"
  12324. },
  12325. "enableqty": {
  12326. "description": "可用数量",
  12327. "type": "integer"
  12328. },
  12329. "goodunit": {
  12330. "description": "报价单位",
  12331. "type": "string"
  12332. },
  12333. "orderid": {
  12334. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12335. "type": "string"
  12336. },
  12337. "orderprice": {
  12338. "description": "委托价格",
  12339. "type": "number"
  12340. },
  12341. "ordertime": {
  12342. "description": "委托时间",
  12343. "type": "string"
  12344. }
  12345. }
  12346. },
  12347. "models.HsbyListingGoodsDetail": {
  12348. "type": "object",
  12349. "required": [
  12350. "goodscode",
  12351. "goodsid",
  12352. "goodsname",
  12353. "marketid",
  12354. "trademode"
  12355. ],
  12356. "properties": {
  12357. "agreeunit": {
  12358. "description": "合约单位",
  12359. "type": "number"
  12360. },
  12361. "buymaxqty": {
  12362. "description": "购买上限 [71] - 0为不限",
  12363. "type": "integer"
  12364. },
  12365. "currency": {
  12366. "description": "货币",
  12367. "type": "string"
  12368. },
  12369. "currencysign": {
  12370. "description": "货币符号",
  12371. "type": "string"
  12372. },
  12373. "decimalplace": {
  12374. "description": "报价小数位",
  12375. "type": "integer"
  12376. },
  12377. "desccityid": {
  12378. "description": "目的地(市)ID",
  12379. "type": "integer"
  12380. },
  12381. "descprovinceid": {
  12382. "description": "目的地(省)ID",
  12383. "type": "integer"
  12384. },
  12385. "goodscode": {
  12386. "description": "商品代码(内部)",
  12387. "type": "string"
  12388. },
  12389. "goodsdesc": {
  12390. "description": "商品详情",
  12391. "type": "string"
  12392. },
  12393. "goodsid": {
  12394. "description": "商品ID(自增ID SEQ_GOODS)",
  12395. "type": "integer"
  12396. },
  12397. "goodsname": {
  12398. "description": "商品名称",
  12399. "type": "string"
  12400. },
  12401. "goodsprice": {
  12402. "description": "商品价格",
  12403. "type": "number"
  12404. },
  12405. "hotindex": {
  12406. "description": "景点热度",
  12407. "type": "integer"
  12408. },
  12409. "last": {
  12410. "description": "现价",
  12411. "type": "number"
  12412. },
  12413. "limitdown": {
  12414. "description": "跌停价",
  12415. "type": "number"
  12416. },
  12417. "limitup": {
  12418. "description": "涨停价",
  12419. "type": "number"
  12420. },
  12421. "lotsize": {
  12422. "description": "手数最小变动单位",
  12423. "type": "integer"
  12424. },
  12425. "marketid": {
  12426. "description": "所属市场ID",
  12427. "type": "integer"
  12428. },
  12429. "picurls": {
  12430. "description": "介绍图片[多张用逗号分隔]",
  12431. "type": "string"
  12432. },
  12433. "quoteminunit": {
  12434. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12435. "type": "integer"
  12436. },
  12437. "stepvalue": {
  12438. "description": "价格最小变动单位",
  12439. "type": "number"
  12440. },
  12441. "trademode": {
  12442. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12443. "type": "integer"
  12444. },
  12445. "vendorattr": {
  12446. "description": "供应商附件(多张,逗号分隔)",
  12447. "type": "string"
  12448. },
  12449. "vendorname": {
  12450. "description": "供应商名称",
  12451. "type": "string"
  12452. },
  12453. "vendorphone": {
  12454. "description": "供应商客服电话",
  12455. "type": "string"
  12456. },
  12457. "videourls": {
  12458. "description": "介绍视频[多张用逗号分隔]",
  12459. "type": "string"
  12460. }
  12461. }
  12462. },
  12463. "models.HsbyMarketGoods": {
  12464. "type": "object",
  12465. "required": [
  12466. "accountid",
  12467. "buyorsell",
  12468. "goodscode",
  12469. "goodsid",
  12470. "goodsname",
  12471. "marketid",
  12472. "orderid",
  12473. "trademode"
  12474. ],
  12475. "properties": {
  12476. "accountid": {
  12477. "description": "账户ID[报价币种]",
  12478. "type": "integer"
  12479. },
  12480. "agreeunit": {
  12481. "description": "合约单位",
  12482. "type": "number"
  12483. },
  12484. "buyorsell": {
  12485. "description": "买卖 - 0:买 1:卖",
  12486. "type": "integer"
  12487. },
  12488. "categoryid": {
  12489. "description": "类别ID(WRCATEGORY)",
  12490. "type": "integer"
  12491. },
  12492. "currency": {
  12493. "description": "货币",
  12494. "type": "string"
  12495. },
  12496. "currencysign": {
  12497. "description": "货币符号",
  12498. "type": "string"
  12499. },
  12500. "customername": {
  12501. "description": "卖家名称",
  12502. "type": "string"
  12503. },
  12504. "decimalplace": {
  12505. "description": "报价小数位",
  12506. "type": "integer"
  12507. },
  12508. "goodscode": {
  12509. "description": "商品代码(内部)",
  12510. "type": "string"
  12511. },
  12512. "goodsid": {
  12513. "description": "商品ID",
  12514. "type": "integer"
  12515. },
  12516. "goodsname": {
  12517. "description": "商品名称",
  12518. "type": "string"
  12519. },
  12520. "goodsprice": {
  12521. "description": "商品价格",
  12522. "type": "number"
  12523. },
  12524. "hascoupon": {
  12525. "description": "是否可用优惠卷",
  12526. "type": "boolean"
  12527. },
  12528. "hotindex": {
  12529. "description": "景点热度",
  12530. "type": "integer"
  12531. },
  12532. "marketid": {
  12533. "description": "市场ID",
  12534. "type": "integer"
  12535. },
  12536. "orderid": {
  12537. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12538. "type": "string"
  12539. },
  12540. "orderprice": {
  12541. "description": "委托价格",
  12542. "type": "number"
  12543. },
  12544. "orderstatus": {
  12545. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12546. "type": "integer"
  12547. },
  12548. "picurls": {
  12549. "description": "介绍图片[多张用逗号分隔]",
  12550. "type": "string"
  12551. },
  12552. "quoteminunit": {
  12553. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12554. "type": "integer"
  12555. },
  12556. "sellUserID": {
  12557. "description": "卖方UserID",
  12558. "type": "integer"
  12559. },
  12560. "trademode": {
  12561. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12562. "type": "integer"
  12563. },
  12564. "videourls": {
  12565. "description": "介绍视频[多张用逗号分隔]",
  12566. "type": "string"
  12567. }
  12568. }
  12569. },
  12570. "models.HsbyMarketGoodsDetail": {
  12571. "type": "object",
  12572. "required": [
  12573. "accountid",
  12574. "buyorsell",
  12575. "goodscode",
  12576. "goodsid",
  12577. "goodsname",
  12578. "marketid",
  12579. "orderid",
  12580. "orderqty",
  12581. "trademode"
  12582. ],
  12583. "properties": {
  12584. "accountid": {
  12585. "description": "账户ID[报价币种]",
  12586. "type": "integer"
  12587. },
  12588. "agreeunit": {
  12589. "description": "合约单位",
  12590. "type": "number"
  12591. },
  12592. "buymaxqty": {
  12593. "description": "购买上限 [71] - 0为不限",
  12594. "type": "integer"
  12595. },
  12596. "buyorsell": {
  12597. "description": "买卖 - 0:买 1:卖",
  12598. "type": "integer"
  12599. },
  12600. "cancelqty": {
  12601. "description": "撤单数量",
  12602. "type": "integer"
  12603. },
  12604. "categoryid": {
  12605. "description": "类别ID(WRCATEGORY)",
  12606. "type": "integer"
  12607. },
  12608. "currency": {
  12609. "description": "货币",
  12610. "type": "string"
  12611. },
  12612. "currencysign": {
  12613. "description": "货币符号",
  12614. "type": "string"
  12615. },
  12616. "customername": {
  12617. "description": "卖家名称",
  12618. "type": "string"
  12619. },
  12620. "decimalplace": {
  12621. "description": "报价小数位",
  12622. "type": "integer"
  12623. },
  12624. "goodscode": {
  12625. "description": "商品代码(内部)",
  12626. "type": "string"
  12627. },
  12628. "goodsdesc": {
  12629. "description": "商品详情",
  12630. "type": "string"
  12631. },
  12632. "goodsid": {
  12633. "description": "商品ID",
  12634. "type": "integer"
  12635. },
  12636. "goodsname": {
  12637. "description": "商品名称",
  12638. "type": "string"
  12639. },
  12640. "goodsprice": {
  12641. "description": "商品价格",
  12642. "type": "number"
  12643. },
  12644. "hotindex": {
  12645. "description": "景点热度",
  12646. "type": "integer"
  12647. },
  12648. "lotsize": {
  12649. "description": "手数最小变动单位",
  12650. "type": "integer"
  12651. },
  12652. "marketid": {
  12653. "description": "市场ID",
  12654. "type": "integer"
  12655. },
  12656. "orderid": {
  12657. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  12658. "type": "string"
  12659. },
  12660. "orderprice": {
  12661. "description": "委托价格",
  12662. "type": "number"
  12663. },
  12664. "orderqty": {
  12665. "description": "委托数量",
  12666. "type": "integer"
  12667. },
  12668. "orderstatus": {
  12669. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  12670. "type": "integer"
  12671. },
  12672. "picurls": {
  12673. "description": "介绍图片[多张用逗号分隔]",
  12674. "type": "string"
  12675. },
  12676. "quoteminunit": {
  12677. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12678. "type": "integer"
  12679. },
  12680. "sellUserID": {
  12681. "description": "卖方UserID",
  12682. "type": "integer"
  12683. },
  12684. "trademode": {
  12685. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12686. "type": "integer"
  12687. },
  12688. "tradeqty": {
  12689. "description": "成交数量",
  12690. "type": "integer"
  12691. },
  12692. "vendorattr": {
  12693. "description": "供应商附件(多张,逗号分隔)",
  12694. "type": "string"
  12695. },
  12696. "vendorname": {
  12697. "description": "供应商名称",
  12698. "type": "string"
  12699. },
  12700. "vendorphone": {
  12701. "description": "供应商客服电话",
  12702. "type": "string"
  12703. },
  12704. "videourls": {
  12705. "description": "介绍视频[多张用逗号分隔]",
  12706. "type": "string"
  12707. }
  12708. }
  12709. },
  12710. "models.HsbyMarketInfo": {
  12711. "type": "object",
  12712. "required": [
  12713. "marketid",
  12714. "marketstatus",
  12715. "trademode"
  12716. ],
  12717. "properties": {
  12718. "marketid": {
  12719. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  12720. "type": "integer"
  12721. },
  12722. "marketname": {
  12723. "description": "市场名称",
  12724. "type": "string"
  12725. },
  12726. "marketstatus": {
  12727. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  12728. "type": "integer"
  12729. },
  12730. "trademode": {
  12731. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12732. "type": "integer"
  12733. }
  12734. }
  12735. },
  12736. "models.HsbyMyGoods": {
  12737. "type": "object",
  12738. "required": [
  12739. "accountid",
  12740. "goodscode",
  12741. "goodsid",
  12742. "goodsname",
  12743. "marketid",
  12744. "trademode"
  12745. ],
  12746. "properties": {
  12747. "accountid": {
  12748. "description": "账号Id",
  12749. "type": "integer"
  12750. },
  12751. "agreeunit": {
  12752. "description": "合约单位",
  12753. "type": "number"
  12754. },
  12755. "buyaverageprice": {
  12756. "description": "持仓均价",
  12757. "type": "number"
  12758. },
  12759. "buycurholderamount": {
  12760. "description": "买当前持仓总金额[商品币种]",
  12761. "type": "number"
  12762. },
  12763. "buycurpositionqty": {
  12764. "description": "买当前持仓总数量",
  12765. "type": "integer"
  12766. },
  12767. "buymaxqty": {
  12768. "description": "购买上限 [71] - 0为不限",
  12769. "type": "integer"
  12770. },
  12771. "currencysign": {
  12772. "description": "货币符号",
  12773. "type": "string"
  12774. },
  12775. "decimalplace": {
  12776. "description": "报价小数位",
  12777. "type": "integer"
  12778. },
  12779. "enableqty": {
  12780. "description": "可用数量",
  12781. "type": "integer"
  12782. },
  12783. "goodscode": {
  12784. "description": "商品代码(内部)",
  12785. "type": "string"
  12786. },
  12787. "goodsid": {
  12788. "description": "商品Id",
  12789. "type": "integer"
  12790. },
  12791. "goodsname": {
  12792. "description": "商品名称",
  12793. "type": "string"
  12794. },
  12795. "goodsprice": {
  12796. "description": "商品价格",
  12797. "type": "number"
  12798. },
  12799. "goodsstatus": {
  12800. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  12801. "type": "integer"
  12802. },
  12803. "last": {
  12804. "description": "现价(仅使用于挂牌点选)",
  12805. "type": "number"
  12806. },
  12807. "limitdown": {
  12808. "description": "跌停价(仅使用于挂牌点选)",
  12809. "type": "number"
  12810. },
  12811. "limitup": {
  12812. "description": "涨停价(仅使用于挂牌点选)",
  12813. "type": "number"
  12814. },
  12815. "lotsize": {
  12816. "description": "手数最小变动单位",
  12817. "type": "integer"
  12818. },
  12819. "marketid": {
  12820. "description": "所属市场ID",
  12821. "type": "integer"
  12822. },
  12823. "picurls": {
  12824. "description": "介绍图片[多张用逗号分隔]",
  12825. "type": "string"
  12826. },
  12827. "quoteminunit": {
  12828. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  12829. "type": "integer"
  12830. },
  12831. "stepvalue": {
  12832. "description": "价格最小变动单位",
  12833. "type": "number"
  12834. },
  12835. "trademode": {
  12836. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12837. "type": "integer"
  12838. }
  12839. }
  12840. },
  12841. "models.HsbyMyPackage": {
  12842. "type": "object",
  12843. "required": [
  12844. "goodscode",
  12845. "goodsname",
  12846. "takeorderid",
  12847. "trademode"
  12848. ],
  12849. "properties": {
  12850. "accountid": {
  12851. "description": "账户ID",
  12852. "type": "integer"
  12853. },
  12854. "address": {
  12855. "description": "提货人详细地址",
  12856. "type": "string"
  12857. },
  12858. "agreeunit": {
  12859. "description": "合约单位",
  12860. "type": "number"
  12861. },
  12862. "amount": {
  12863. "description": "提货金额",
  12864. "type": "number"
  12865. },
  12866. "auditer": {
  12867. "description": "审核人",
  12868. "type": "integer"
  12869. },
  12870. "audittime": {
  12871. "description": "审核时间",
  12872. "type": "string"
  12873. },
  12874. "averageprice": {
  12875. "description": "均价",
  12876. "type": "number"
  12877. },
  12878. "cardnum": {
  12879. "description": "提货人证件号码",
  12880. "type": "string"
  12881. },
  12882. "cardtypeid": {
  12883. "description": "提货人证件类型",
  12884. "type": "integer"
  12885. },
  12886. "checkremark": {
  12887. "description": "审核备注",
  12888. "type": "string"
  12889. },
  12890. "currencysign": {
  12891. "description": "货币符号",
  12892. "type": "string"
  12893. },
  12894. "decimalplace": {
  12895. "description": "报价小数位",
  12896. "type": "integer"
  12897. },
  12898. "goodscode": {
  12899. "description": "商品代码(内部)",
  12900. "type": "string"
  12901. },
  12902. "goodsid": {
  12903. "description": "商品ID",
  12904. "type": "integer"
  12905. },
  12906. "goodsname": {
  12907. "description": "商品名称",
  12908. "type": "string"
  12909. },
  12910. "handlestatus": {
  12911. "description": "处理状态",
  12912. "type": "integer"
  12913. },
  12914. "marketid": {
  12915. "description": "市场ID",
  12916. "type": "integer"
  12917. },
  12918. "phonenum": {
  12919. "description": "提货人联系方式",
  12920. "type": "string"
  12921. },
  12922. "picurls": {
  12923. "description": "介绍图片[多张用逗号分隔]",
  12924. "type": "string"
  12925. },
  12926. "qty": {
  12927. "description": "提货数量",
  12928. "type": "number"
  12929. },
  12930. "recivername": {
  12931. "description": "提货人姓名",
  12932. "type": "string"
  12933. },
  12934. "reqtime": {
  12935. "description": "更新时间",
  12936. "type": "string"
  12937. },
  12938. "takemode": {
  12939. "description": "提货方式 - 2:自提 3:配送",
  12940. "type": "integer"
  12941. },
  12942. "takeorderid": {
  12943. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  12944. "type": "string"
  12945. },
  12946. "takeorderstatus": {
  12947. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12948. "type": "integer"
  12949. },
  12950. "takeremark": {
  12951. "description": "提货备注",
  12952. "type": "string"
  12953. },
  12954. "tradedate": {
  12955. "description": "交易日(yyyyMMdd)",
  12956. "type": "string"
  12957. },
  12958. "trademode": {
  12959. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  12960. "type": "integer"
  12961. },
  12962. "userid": {
  12963. "description": "用户ID",
  12964. "type": "integer"
  12965. },
  12966. "vendorname": {
  12967. "description": "供应商名称",
  12968. "type": "string"
  12969. }
  12970. }
  12971. },
  12972. "models.HsbyPreGoods": {
  12973. "type": "object",
  12974. "required": [
  12975. "goodscode",
  12976. "goodsid",
  12977. "goodsname",
  12978. "marketid",
  12979. "trademode"
  12980. ],
  12981. "properties": {
  12982. "agreeunit": {
  12983. "description": "合约单位",
  12984. "type": "number"
  12985. },
  12986. "currency": {
  12987. "description": "货币",
  12988. "type": "string"
  12989. },
  12990. "currencysign": {
  12991. "description": "货币符号",
  12992. "type": "string"
  12993. },
  12994. "decimalplace": {
  12995. "description": "报价小数位",
  12996. "type": "integer"
  12997. },
  12998. "desccityid": {
  12999. "description": "目的地(市)",
  13000. "type": "integer"
  13001. },
  13002. "descprovinceid": {
  13003. "description": "目的地(省)",
  13004. "type": "integer"
  13005. },
  13006. "enableqty": {
  13007. "description": "剩余数量",
  13008. "type": "integer"
  13009. },
  13010. "goodscode": {
  13011. "description": "商品代码(内部)",
  13012. "type": "string"
  13013. },
  13014. "goodsid": {
  13015. "description": "商品ID(自增ID SEQ_GOODS)",
  13016. "type": "integer"
  13017. },
  13018. "goodsname": {
  13019. "description": "商品名称",
  13020. "type": "string"
  13021. },
  13022. "goodsstatus": {
  13023. "description": "商品状态- 2:未上市 3:上市",
  13024. "type": "integer"
  13025. },
  13026. "lasttradedate": {
  13027. "description": "最后交易日期(状态:待退市)",
  13028. "type": "string"
  13029. },
  13030. "listingdate": {
  13031. "description": "交易开始日期",
  13032. "type": "string"
  13033. },
  13034. "marketid": {
  13035. "description": "所属市场ID",
  13036. "type": "integer"
  13037. },
  13038. "picurls": {
  13039. "description": "介绍图片[多张用逗号分隔]",
  13040. "type": "string"
  13041. },
  13042. "presaledqty": {
  13043. "description": "已预售量(预售结束时更新)",
  13044. "type": "integer"
  13045. },
  13046. "presaleqty": {
  13047. "description": "预售数量",
  13048. "type": "integer"
  13049. },
  13050. "quoteminunit": {
  13051. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13052. "type": "integer"
  13053. },
  13054. "refprice": {
  13055. "description": "参考价格[一口价]",
  13056. "type": "number"
  13057. },
  13058. "relatedgoodsid": {
  13059. "description": "关联交易合约ID",
  13060. "type": "integer"
  13061. },
  13062. "trademode": {
  13063. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13064. "type": "integer"
  13065. },
  13066. "videourls": {
  13067. "description": "介绍视频[多张用逗号分隔]",
  13068. "type": "string"
  13069. }
  13070. }
  13071. },
  13072. "models.HsbyPreGoodsDetail": {
  13073. "type": "object",
  13074. "required": [
  13075. "goodscode",
  13076. "goodsid",
  13077. "goodsname",
  13078. "marketid",
  13079. "trademode"
  13080. ],
  13081. "properties": {
  13082. "agreeunit": {
  13083. "description": "合约单位",
  13084. "type": "number"
  13085. },
  13086. "buymaxqty": {
  13087. "description": "购买上限 [71] - 0为不限",
  13088. "type": "integer"
  13089. },
  13090. "currency": {
  13091. "description": "货币",
  13092. "type": "string"
  13093. },
  13094. "currencysign": {
  13095. "description": "货币符号",
  13096. "type": "string"
  13097. },
  13098. "customername": {
  13099. "description": "发行单位",
  13100. "type": "string"
  13101. },
  13102. "decimalplace": {
  13103. "description": "报价小数位",
  13104. "type": "integer"
  13105. },
  13106. "desccityid": {
  13107. "description": "目的地(市)ID",
  13108. "type": "integer"
  13109. },
  13110. "descprovinceid": {
  13111. "description": "目的地(省)ID",
  13112. "type": "integer"
  13113. },
  13114. "enableqty": {
  13115. "description": "剩余数量",
  13116. "type": "integer"
  13117. },
  13118. "goodscode": {
  13119. "description": "商品代码(内部)",
  13120. "type": "string"
  13121. },
  13122. "goodsdesc": {
  13123. "description": "商品详情",
  13124. "type": "string"
  13125. },
  13126. "goodsid": {
  13127. "description": "商品ID(自增ID SEQ_GOODS)",
  13128. "type": "integer"
  13129. },
  13130. "goodsname": {
  13131. "description": "商品名称",
  13132. "type": "string"
  13133. },
  13134. "goodsstatus": {
  13135. "description": "商品状态- 2:未上市 3:上市",
  13136. "type": "integer"
  13137. },
  13138. "goodunit": {
  13139. "description": "报价单位",
  13140. "type": "string"
  13141. },
  13142. "lasttradedate": {
  13143. "description": "最后交易日期(状态:待退市)",
  13144. "type": "string"
  13145. },
  13146. "listingdate": {
  13147. "description": "交易开始日期",
  13148. "type": "string"
  13149. },
  13150. "lotsize": {
  13151. "description": "手数最小变动单位",
  13152. "type": "integer"
  13153. },
  13154. "marketid": {
  13155. "description": "所属市场ID",
  13156. "type": "integer"
  13157. },
  13158. "picurls": {
  13159. "description": "介绍图片[多张用逗号分隔]",
  13160. "type": "string"
  13161. },
  13162. "presaledqty": {
  13163. "description": "已预售量(预售结束时更新)",
  13164. "type": "integer"
  13165. },
  13166. "presaleqty": {
  13167. "description": "预售数量",
  13168. "type": "integer"
  13169. },
  13170. "quoteminunit": {
  13171. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13172. "type": "integer"
  13173. },
  13174. "refprice": {
  13175. "description": "参考价格[一口价]",
  13176. "type": "number"
  13177. },
  13178. "relatedgoodsid": {
  13179. "description": "关联交易合约ID",
  13180. "type": "integer"
  13181. },
  13182. "stepvalue": {
  13183. "description": "价格最小变动单位",
  13184. "type": "number"
  13185. },
  13186. "trademode": {
  13187. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13188. "type": "integer"
  13189. },
  13190. "vendorattr": {
  13191. "description": "供应商附件(多张,逗号分隔)",
  13192. "type": "string"
  13193. },
  13194. "vendorname": {
  13195. "description": "供应商名称",
  13196. "type": "string"
  13197. },
  13198. "vendorphone": {
  13199. "description": "供应商客服电话",
  13200. "type": "string"
  13201. },
  13202. "videourls": {
  13203. "description": "介绍视频[多张用逗号分隔]",
  13204. "type": "string"
  13205. }
  13206. }
  13207. },
  13208. "models.HsbySellCollectionOrder": {
  13209. "type": "object",
  13210. "required": [
  13211. "goodscode",
  13212. "goodsname",
  13213. "tradeid",
  13214. "trademode"
  13215. ],
  13216. "properties": {
  13217. "agreeunit": {
  13218. "description": "合约单位",
  13219. "type": "number"
  13220. },
  13221. "buyaccountid": {
  13222. "description": "买方账号ID[报价币种]",
  13223. "type": "integer"
  13224. },
  13225. "buyorderid": {
  13226. "description": "买方委托单号",
  13227. "type": "string"
  13228. },
  13229. "createtime": {
  13230. "description": "创建时间",
  13231. "type": "string"
  13232. },
  13233. "currencysign": {
  13234. "description": "货币符号",
  13235. "type": "string"
  13236. },
  13237. "decimalplace": {
  13238. "description": "报价小数位",
  13239. "type": "integer"
  13240. },
  13241. "goodscode": {
  13242. "description": "商品代码(内部)",
  13243. "type": "string"
  13244. },
  13245. "goodsid": {
  13246. "description": "商品ID",
  13247. "type": "integer"
  13248. },
  13249. "goodsname": {
  13250. "description": "商品名称",
  13251. "type": "string"
  13252. },
  13253. "marketid": {
  13254. "description": "市场ID",
  13255. "type": "integer"
  13256. },
  13257. "offamount": {
  13258. "description": "优惠金额",
  13259. "type": "number"
  13260. },
  13261. "payamount": {
  13262. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  13263. "type": "number"
  13264. },
  13265. "payflag": {
  13266. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  13267. "type": "integer"
  13268. },
  13269. "paylimitedtime": {
  13270. "description": "支付期限",
  13271. "type": "string"
  13272. },
  13273. "paytime": {
  13274. "description": "付款时间",
  13275. "type": "string"
  13276. },
  13277. "picurls": {
  13278. "description": "商品介绍图片[多张用逗号分隔]",
  13279. "type": "string"
  13280. },
  13281. "sellaccountid": {
  13282. "description": "卖方账号ID[报价币种]",
  13283. "type": "integer"
  13284. },
  13285. "sellorderid": {
  13286. "description": "卖方委托单号",
  13287. "type": "string"
  13288. },
  13289. "tradeamount": {
  13290. "description": "成交金额",
  13291. "type": "number"
  13292. },
  13293. "tradecharge": {
  13294. "description": "成交手续费(买方)",
  13295. "type": "number"
  13296. },
  13297. "tradedate": {
  13298. "description": "交易日(yyyyMMdd)",
  13299. "type": "string"
  13300. },
  13301. "tradeid": {
  13302. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13303. "type": "string"
  13304. },
  13305. "trademode": {
  13306. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13307. "type": "integer"
  13308. },
  13309. "tradeprice": {
  13310. "description": "成交价格",
  13311. "type": "number"
  13312. },
  13313. "tradeqty": {
  13314. "description": "成交数量",
  13315. "type": "integer"
  13316. }
  13317. }
  13318. },
  13319. "models.HsbySellMyDetail": {
  13320. "type": "object",
  13321. "required": [
  13322. "accountid",
  13323. "buyorsell",
  13324. "goodscode",
  13325. "goodsid",
  13326. "goodsname",
  13327. "marketid",
  13328. "orderid",
  13329. "time",
  13330. "trademode"
  13331. ],
  13332. "properties": {
  13333. "accountid": {
  13334. "description": "账户ID[报价币种]",
  13335. "type": "integer"
  13336. },
  13337. "agreeunit": {
  13338. "description": "合约单位",
  13339. "type": "number"
  13340. },
  13341. "buyorsell": {
  13342. "description": "买卖 - 0:买 1:卖",
  13343. "type": "integer"
  13344. },
  13345. "currencysign": {
  13346. "description": "货币符号",
  13347. "type": "string"
  13348. },
  13349. "decimalplace": {
  13350. "description": "报价小数位",
  13351. "type": "integer"
  13352. },
  13353. "goodscode": {
  13354. "description": "商品代码(内部)",
  13355. "type": "string"
  13356. },
  13357. "goodsid": {
  13358. "description": "商品ID",
  13359. "type": "integer"
  13360. },
  13361. "goodsname": {
  13362. "description": "商品名称",
  13363. "type": "string"
  13364. },
  13365. "marketid": {
  13366. "description": "市场ID",
  13367. "type": "integer"
  13368. },
  13369. "orderid": {
  13370. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  13371. "type": "string"
  13372. },
  13373. "ordertype": {
  13374. "description": "单据类型:0 - 发布中, 1 - 已完成",
  13375. "type": "integer"
  13376. },
  13377. "picurls": {
  13378. "description": "介绍图片[多张用逗号分隔]",
  13379. "type": "string"
  13380. },
  13381. "price": {
  13382. "description": "价格",
  13383. "type": "number"
  13384. },
  13385. "qty": {
  13386. "description": "数量",
  13387. "type": "integer"
  13388. },
  13389. "time": {
  13390. "description": "时间",
  13391. "type": "string"
  13392. },
  13393. "trademode": {
  13394. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13395. "type": "integer"
  13396. },
  13397. "vendorname": {
  13398. "description": "供应商名称",
  13399. "type": "string"
  13400. }
  13401. }
  13402. },
  13403. "models.HsbyTopGoods": {
  13404. "type": "object",
  13405. "required": [
  13406. "goodscode",
  13407. "goodsid",
  13408. "goodsname",
  13409. "marketid",
  13410. "trademode"
  13411. ],
  13412. "properties": {
  13413. "agreeunit": {
  13414. "description": "合约单位",
  13415. "type": "number"
  13416. },
  13417. "currency": {
  13418. "description": "货币",
  13419. "type": "string"
  13420. },
  13421. "currencysign": {
  13422. "description": "货币符号",
  13423. "type": "string"
  13424. },
  13425. "decimalplace": {
  13426. "description": "报价小数位",
  13427. "type": "integer"
  13428. },
  13429. "desccityid": {
  13430. "description": "目的地(市)",
  13431. "type": "integer"
  13432. },
  13433. "descprovinceid": {
  13434. "description": "目的地(省)",
  13435. "type": "integer"
  13436. },
  13437. "goodscode": {
  13438. "description": "商品代码(内部)",
  13439. "type": "string"
  13440. },
  13441. "goodsid": {
  13442. "description": "商品ID(自增ID SEQ_GOODS)",
  13443. "type": "integer"
  13444. },
  13445. "goodsname": {
  13446. "description": "商品名称",
  13447. "type": "string"
  13448. },
  13449. "hotindex": {
  13450. "description": "景点热度",
  13451. "type": "integer"
  13452. },
  13453. "last": {
  13454. "description": "现价",
  13455. "type": "number"
  13456. },
  13457. "marketid": {
  13458. "description": "所属市场ID",
  13459. "type": "integer"
  13460. },
  13461. "picurls": {
  13462. "description": "介绍图片[多张用逗号分隔]",
  13463. "type": "string"
  13464. },
  13465. "quoteminunit": {
  13466. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  13467. "type": "integer"
  13468. },
  13469. "trademode": {
  13470. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13471. "type": "integer"
  13472. },
  13473. "videourls": {
  13474. "description": "介绍视频[多张用逗号分隔]",
  13475. "type": "string"
  13476. }
  13477. }
  13478. },
  13479. "models.HybsMyBuyOrderDetail": {
  13480. "type": "object",
  13481. "required": [
  13482. "accountid",
  13483. "buyorsell",
  13484. "goodscode",
  13485. "goodsid",
  13486. "goodsname",
  13487. "marketid",
  13488. "orderid",
  13489. "orderqty",
  13490. "ordertime",
  13491. "trademode"
  13492. ],
  13493. "properties": {
  13494. "accountid": {
  13495. "description": "账户ID[报价币种]",
  13496. "type": "integer"
  13497. },
  13498. "agreeunit": {
  13499. "description": "合约单位",
  13500. "type": "number"
  13501. },
  13502. "buyorsell": {
  13503. "description": "买卖 - 0:买 1:卖",
  13504. "type": "integer"
  13505. },
  13506. "cancelqty": {
  13507. "description": "撤单数量",
  13508. "type": "integer"
  13509. },
  13510. "currencysign": {
  13511. "description": "货币符号",
  13512. "type": "string"
  13513. },
  13514. "decimalplace": {
  13515. "description": "报价小数位",
  13516. "type": "integer"
  13517. },
  13518. "goodscode": {
  13519. "description": "商品代码(内部)",
  13520. "type": "string"
  13521. },
  13522. "goodsid": {
  13523. "description": "商品ID",
  13524. "type": "integer"
  13525. },
  13526. "goodsname": {
  13527. "description": "商品名称",
  13528. "type": "string"
  13529. },
  13530. "listingselecttype": {
  13531. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  13532. "type": "integer"
  13533. },
  13534. "marketid": {
  13535. "description": "市场ID",
  13536. "type": "integer"
  13537. },
  13538. "mybuystatus": {
  13539. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  13540. "type": "integer"
  13541. },
  13542. "orderamount": {
  13543. "description": "委托金额",
  13544. "type": "number"
  13545. },
  13546. "orderid": {
  13547. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  13548. "type": "string"
  13549. },
  13550. "orderprice": {
  13551. "description": "委托价格",
  13552. "type": "number"
  13553. },
  13554. "orderqty": {
  13555. "description": "委托数量",
  13556. "type": "integer"
  13557. },
  13558. "orderstatus": {
  13559. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  13560. "type": "integer"
  13561. },
  13562. "ordertime": {
  13563. "description": "委托时间",
  13564. "type": "string"
  13565. },
  13566. "picurls1": {
  13567. "description": "预售商品介绍图片[多张用逗号分隔]",
  13568. "type": "string"
  13569. },
  13570. "picurls2": {
  13571. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  13572. "type": "string"
  13573. },
  13574. "trademode": {
  13575. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13576. "type": "integer"
  13577. },
  13578. "tradeqty": {
  13579. "description": "成交数量",
  13580. "type": "integer"
  13581. },
  13582. "vendorname1": {
  13583. "description": "预售商品供应商名称",
  13584. "type": "string"
  13585. },
  13586. "vendorname2": {
  13587. "description": "挂牌商品供应商名称",
  13588. "type": "string"
  13589. }
  13590. }
  13591. },
  13592. "models.Market": {
  13593. "type": "object",
  13594. "required": [
  13595. "marketid",
  13596. "marketstatus",
  13597. "openmethod",
  13598. "reckonpricealgorithm",
  13599. "trademode",
  13600. "tradeproperty"
  13601. ],
  13602. "properties": {
  13603. "auctionwrtype": {
  13604. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  13605. "type": "integer"
  13606. },
  13607. "canacceptquote": {
  13608. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  13609. "type": "integer"
  13610. },
  13611. "cangoodsexercise": {
  13612. "description": "[期权]是否可现货行权- 0:否 1:是",
  13613. "type": "integer"
  13614. },
  13615. "cangoodsexercisetype": {
  13616. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  13617. "type": "integer"
  13618. },
  13619. "canmanualquotestrike": {
  13620. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  13621. "type": "integer"
  13622. },
  13623. "canmutistage": {
  13624. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  13625. "type": "integer"
  13626. },
  13627. "canpreexercise": {
  13628. "description": "[期权]是否可预申报- 0:否 1:是",
  13629. "type": "integer"
  13630. },
  13631. "clearinterval": {
  13632. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  13633. "type": "integer"
  13634. },
  13635. "contracttmp": {
  13636. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  13637. "type": "string"
  13638. },
  13639. "exchareaid": {
  13640. "description": "所属交易所,可以没有",
  13641. "type": "integer"
  13642. },
  13643. "goodstype": {
  13644. "description": "商品类型 - 1:交易商品 2:仓单商品",
  13645. "type": "integer"
  13646. },
  13647. "hasrebate": {
  13648. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  13649. "type": "integer"
  13650. },
  13651. "hastradecredit": {
  13652. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  13653. "type": "integer"
  13654. },
  13655. "haswr": {
  13656. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  13657. "type": "integer"
  13658. },
  13659. "isdeductmargin": {
  13660. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  13661. "type": "integer"
  13662. },
  13663. "isrecordsource": {
  13664. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  13665. "type": "integer"
  13666. },
  13667. "isreleasemargin": {
  13668. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  13669. "type": "integer"
  13670. },
  13671. "marginformula": {
  13672. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13673. "type": "integer"
  13674. },
  13675. "marginformula2": {
  13676. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  13677. "type": "integer"
  13678. },
  13679. "marketid": {
  13680. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  13681. "type": "integer"
  13682. },
  13683. "marketname": {
  13684. "description": "市场名称",
  13685. "type": "string"
  13686. },
  13687. "marketserviceid": {
  13688. "description": "市场服务ID",
  13689. "type": "integer"
  13690. },
  13691. "marketstatus": {
  13692. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  13693. "type": "integer"
  13694. },
  13695. "markettype": {
  13696. "description": "市场类型- 1:非交易服务 2:交易服务",
  13697. "type": "integer"
  13698. },
  13699. "matchermode": {
  13700. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  13701. "type": "integer"
  13702. },
  13703. "openmethod": {
  13704. "description": "开盘模式 - 0 自动 1手动",
  13705. "type": "integer"
  13706. },
  13707. "otcuserid": {
  13708. "description": "场外期权做市商[场外期权]",
  13709. "type": "integer"
  13710. },
  13711. "outersynctime": {
  13712. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  13713. "type": "string"
  13714. },
  13715. "pendingflag": {
  13716. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  13717. "type": "integer"
  13718. },
  13719. "pendingtime": {
  13720. "description": "待开市时间[通道交易-对冲](HH:mm)",
  13721. "type": "string"
  13722. },
  13723. "performancetempid": {
  13724. "description": "履约计划模板ID - 作废",
  13725. "type": "integer"
  13726. },
  13727. "premiumquotemode": {
  13728. "description": "权利金报价方式 - 1:自动 2:手动",
  13729. "type": "integer"
  13730. },
  13731. "rebateratio": {
  13732. "description": "返利比率[竞价式]",
  13733. "type": "number"
  13734. },
  13735. "reckonorder": {
  13736. "description": "结算顺序",
  13737. "type": "integer"
  13738. },
  13739. "reckonpricealgorithm": {
  13740. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  13741. "type": "integer"
  13742. },
  13743. "reckonpriceparam": {
  13744. "description": "结算价参数",
  13745. "type": "integer"
  13746. },
  13747. "reckontime": {
  13748. "description": "结算时间[通道交易-对冲](HH:mm)",
  13749. "type": "string"
  13750. },
  13751. "roleprioritytype": {
  13752. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  13753. "type": "integer"
  13754. },
  13755. "selllistingauditflag": {
  13756. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  13757. "type": "integer"
  13758. },
  13759. "trademarkettype": {
  13760. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  13761. "type": "integer"
  13762. },
  13763. "trademode": {
  13764. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  13765. "type": "integer"
  13766. },
  13767. "tradeproperty": {
  13768. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  13769. "type": "integer"
  13770. },
  13771. "tradetype": {
  13772. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  13773. "type": "integer"
  13774. }
  13775. }
  13776. },
  13777. "models.Marketrun": {
  13778. "type": "object",
  13779. "required": [
  13780. "marketid",
  13781. "nexttradedate",
  13782. "reckonflag",
  13783. "runstatus",
  13784. "tradedate",
  13785. "tradedate2"
  13786. ],
  13787. "properties": {
  13788. "afternexttradedate": {
  13789. "description": "下下交易日",
  13790. "type": "string"
  13791. },
  13792. "clearquoteflag": {
  13793. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  13794. "type": "integer"
  13795. },
  13796. "lastreckondate": {
  13797. "description": "最新交易日(结算成功)",
  13798. "type": "string"
  13799. },
  13800. "machinedate": {
  13801. "description": "机器时间",
  13802. "type": "string"
  13803. },
  13804. "manualflag": {
  13805. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  13806. "type": "integer"
  13807. },
  13808. "marketid": {
  13809. "description": "市场ID",
  13810. "type": "integer"
  13811. },
  13812. "nexttradedate": {
  13813. "description": "下一交易日",
  13814. "type": "string"
  13815. },
  13816. "pretradedate": {
  13817. "description": "上一交易日",
  13818. "type": "string"
  13819. },
  13820. "reckonflag": {
  13821. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  13822. "type": "integer"
  13823. },
  13824. "runstatus": {
  13825. "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.今日免清算",
  13826. "type": "integer"
  13827. },
  13828. "sectionid": {
  13829. "description": "时间段号[多时段时用]",
  13830. "type": "integer"
  13831. },
  13832. "tradedate": {
  13833. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  13834. "type": "string"
  13835. },
  13836. "tradedate2": {
  13837. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  13838. "type": "string"
  13839. },
  13840. "updatetime": {
  13841. "description": "更新时间",
  13842. "type": "string"
  13843. }
  13844. }
  13845. },
  13846. "models.Messageboard": {
  13847. "type": "object",
  13848. "required": [
  13849. "messageboardid"
  13850. ],
  13851. "properties": {
  13852. "createtime": {
  13853. "description": "创建时间",
  13854. "type": "string"
  13855. },
  13856. "message": {
  13857. "description": "留言信息",
  13858. "type": "string"
  13859. },
  13860. "messageboardid": {
  13861. "description": "留言簿ID(SEQ_MessageBoard)",
  13862. "type": "integer"
  13863. },
  13864. "userid": {
  13865. "description": "用户ID",
  13866. "type": "integer"
  13867. }
  13868. }
  13869. },
  13870. "models.MyCoupon": {
  13871. "type": "object",
  13872. "required": [
  13873. "accountid",
  13874. "coupontypeid"
  13875. ],
  13876. "properties": {
  13877. "accountid": {
  13878. "description": "资金账户ID",
  13879. "type": "integer"
  13880. },
  13881. "areauserid": {
  13882. "description": "所属机构",
  13883. "type": "integer"
  13884. },
  13885. "conditionvalue": {
  13886. "description": "条件阈值(可为0)",
  13887. "type": "number"
  13888. },
  13889. "couponcategroy": {
  13890. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  13891. "type": "integer"
  13892. },
  13893. "couponname": {
  13894. "description": "优惠券名称",
  13895. "type": "string"
  13896. },
  13897. "coupontypeid": {
  13898. "description": "优惠券类型ID",
  13899. "type": "string"
  13900. },
  13901. "couponvalue": {
  13902. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13903. "type": "number"
  13904. },
  13905. "curfreezeqty": {
  13906. "description": "期末冻结数量",
  13907. "type": "integer"
  13908. },
  13909. "curqty": {
  13910. "description": "期末数量",
  13911. "type": "integer"
  13912. },
  13913. "isgeneral": {
  13914. "description": "是否通用券 - 0:否 1:是",
  13915. "type": "integer"
  13916. },
  13917. "isunusable": {
  13918. "description": "是否不可用",
  13919. "type": "boolean"
  13920. },
  13921. "limitedflag": {
  13922. "description": "是否指定商品 - 0:不限 1:限制",
  13923. "type": "integer"
  13924. },
  13925. "limitedgoodsids": {
  13926. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  13927. "type": "string"
  13928. },
  13929. "orifreezeqty": {
  13930. "description": "期初冻结数量",
  13931. "type": "integer"
  13932. },
  13933. "oriqty": {
  13934. "description": "期初数量",
  13935. "type": "integer"
  13936. },
  13937. "reasontype": {
  13938. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  13939. "type": "integer"
  13940. },
  13941. "todaydecrease": {
  13942. "description": "今日减少",
  13943. "type": "integer"
  13944. },
  13945. "todayincrease": {
  13946. "description": "今日增加",
  13947. "type": "integer"
  13948. },
  13949. "userid": {
  13950. "description": "用户ID",
  13951. "type": "integer"
  13952. },
  13953. "userscope": {
  13954. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  13955. "type": "string"
  13956. }
  13957. }
  13958. },
  13959. "models.MyCouponHold": {
  13960. "type": "object",
  13961. "required": [
  13962. "couponholdid"
  13963. ],
  13964. "properties": {
  13965. "accountid": {
  13966. "description": "资金账户ID",
  13967. "type": "integer"
  13968. },
  13969. "conditionvalue": {
  13970. "description": "条件阈值(可为0)",
  13971. "type": "number"
  13972. },
  13973. "couponcategroy": {
  13974. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  13975. "type": "integer"
  13976. },
  13977. "couponholdid": {
  13978. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  13979. "type": "string"
  13980. },
  13981. "couponname": {
  13982. "description": "优惠券名称",
  13983. "type": "string"
  13984. },
  13985. "coupontypeid": {
  13986. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  13987. "type": "string"
  13988. },
  13989. "couponvalue": {
  13990. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  13991. "type": "number"
  13992. },
  13993. "createtime": {
  13994. "description": "创建时间",
  13995. "type": "string"
  13996. },
  13997. "enddate": {
  13998. "description": "结束日期",
  13999. "type": "string"
  14000. },
  14001. "giveapplyid": {
  14002. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  14003. "type": "integer"
  14004. },
  14005. "holdstatus": {
  14006. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  14007. "type": "integer"
  14008. },
  14009. "isgeneral": {
  14010. "description": "是否通用券 - 0:否 1:是",
  14011. "type": "integer"
  14012. },
  14013. "limitedflag": {
  14014. "description": "是否指定商品 - 0:不限 1:限制",
  14015. "type": "integer"
  14016. },
  14017. "limitedgoodsids": {
  14018. "description": "指定商品IDs[逗号分隔]",
  14019. "type": "string"
  14020. },
  14021. "qty": {
  14022. "description": "数量(按1平铺)",
  14023. "type": "integer"
  14024. },
  14025. "startdate": {
  14026. "description": "开始日期",
  14027. "type": "string"
  14028. },
  14029. "userid": {
  14030. "description": "用户ID",
  14031. "type": "integer"
  14032. },
  14033. "userscope": {
  14034. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  14035. "type": "string"
  14036. }
  14037. }
  14038. },
  14039. "models.MyUsedCoupon": {
  14040. "type": "object",
  14041. "required": [
  14042. "coupontypeid",
  14043. "orderid"
  14044. ],
  14045. "properties": {
  14046. "accountid": {
  14047. "description": "资金账户ID(买方)",
  14048. "type": "integer"
  14049. },
  14050. "conditionvalue": {
  14051. "description": "条件阈值(可为0)",
  14052. "type": "number"
  14053. },
  14054. "couponcategroy": {
  14055. "description": "种类 - 1:现金券 2:折扣券",
  14056. "type": "integer"
  14057. },
  14058. "couponname": {
  14059. "description": "优惠券名称",
  14060. "type": "string"
  14061. },
  14062. "coupontypeid": {
  14063. "description": "优惠券类型ID(买方)",
  14064. "type": "string"
  14065. },
  14066. "couponvalue": {
  14067. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  14068. "type": "number"
  14069. },
  14070. "createtime": {
  14071. "description": "创建时间",
  14072. "type": "string"
  14073. },
  14074. "goodsid": {
  14075. "description": "商品ID",
  14076. "type": "integer"
  14077. },
  14078. "handlestatus": {
  14079. "description": "处理状态",
  14080. "type": "integer"
  14081. },
  14082. "marketid": {
  14083. "description": "市场ID",
  14084. "type": "integer"
  14085. },
  14086. "offamount": {
  14087. "description": "优惠金额",
  14088. "type": "number"
  14089. },
  14090. "orderid": {
  14091. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14092. "type": "string"
  14093. },
  14094. "sellaccountid": {
  14095. "description": "资金账户ID(卖方)",
  14096. "type": "integer"
  14097. },
  14098. "tradeamount": {
  14099. "description": "成交金额",
  14100. "type": "number"
  14101. },
  14102. "tradeid": {
  14103. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  14104. "type": "string"
  14105. },
  14106. "usedqty": {
  14107. "description": "使用数量",
  14108. "type": "integer"
  14109. }
  14110. }
  14111. },
  14112. "models.OperationPrimaryMenu": {
  14113. "type": "object",
  14114. "properties": {
  14115. "Children": {
  14116. "description": "二级功能菜单",
  14117. "type": "array",
  14118. "items": {
  14119. "$ref": "#/definitions/models.OperationSecondaryMenu"
  14120. }
  14121. },
  14122. "Key": {
  14123. "description": "菜单KEY",
  14124. "type": "string"
  14125. },
  14126. "Label": {
  14127. "description": "菜单标题",
  14128. "type": "string"
  14129. }
  14130. }
  14131. },
  14132. "models.OperationSecondaryMenu": {
  14133. "type": "object",
  14134. "properties": {
  14135. "Key": {
  14136. "description": "菜单KEY",
  14137. "type": "string"
  14138. },
  14139. "Label": {
  14140. "description": "菜单标题",
  14141. "type": "string"
  14142. },
  14143. "TabList": {
  14144. "description": "三级功能菜单",
  14145. "type": "array",
  14146. "items": {
  14147. "$ref": "#/definitions/models.OperationTabMenu"
  14148. }
  14149. }
  14150. }
  14151. },
  14152. "models.OperationTabMenu": {
  14153. "type": "object",
  14154. "properties": {
  14155. "Key": {
  14156. "description": "菜单KEY",
  14157. "type": "string"
  14158. },
  14159. "Label": {
  14160. "description": "菜单标题",
  14161. "type": "string"
  14162. }
  14163. }
  14164. },
  14165. "models.QueryErrorInfosRsp": {
  14166. "type": "object",
  14167. "required": [
  14168. "errorid"
  14169. ],
  14170. "properties": {
  14171. "description": {
  14172. "description": "异常描述",
  14173. "type": "string"
  14174. },
  14175. "errorcode": {
  14176. "description": "异常代码",
  14177. "type": "string"
  14178. },
  14179. "errorid": {
  14180. "description": "异常ID",
  14181. "type": "integer"
  14182. },
  14183. "modulecode": {
  14184. "description": "所属模块",
  14185. "type": "string"
  14186. },
  14187. "operatecode": {
  14188. "description": "所属操作",
  14189. "type": "string"
  14190. },
  14191. "rownumber": {
  14192. "description": "行号",
  14193. "type": "string"
  14194. }
  14195. }
  14196. },
  14197. "models.QuotePrimaryMenu": {
  14198. "type": "object",
  14199. "properties": {
  14200. "Index": {
  14201. "description": "序号",
  14202. "type": "integer"
  14203. },
  14204. "Key": {
  14205. "description": "键名",
  14206. "type": "string"
  14207. },
  14208. "Name": {
  14209. "description": "菜单名称",
  14210. "type": "string"
  14211. },
  14212. "SubMenus": {
  14213. "description": "子菜单",
  14214. "type": "array",
  14215. "items": {
  14216. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  14217. }
  14218. },
  14219. "SubTitleType": {
  14220. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  14221. "type": "integer"
  14222. },
  14223. "TradeModes": {
  14224. "description": "包含市场交易类型",
  14225. "type": "string"
  14226. }
  14227. }
  14228. },
  14229. "models.QuoteSecondaryMenu": {
  14230. "type": "object",
  14231. "properties": {
  14232. "ExExchangeCode": {
  14233. "description": "外部交易所代码",
  14234. "type": "string"
  14235. },
  14236. "ExExchangeID": {
  14237. "description": "外部交易所ID",
  14238. "type": "integer"
  14239. },
  14240. "GoodsGroupIDs": {
  14241. "description": "商品组ID列表",
  14242. "type": "array",
  14243. "items": {
  14244. "type": "integer"
  14245. }
  14246. },
  14247. "Index": {
  14248. "description": "序号",
  14249. "type": "integer"
  14250. },
  14251. "MarketID": {
  14252. "description": "市场ID",
  14253. "type": "integer"
  14254. },
  14255. "MenuTitle": {
  14256. "description": "菜单标题(市场名称或外部交易所名称)",
  14257. "type": "string"
  14258. },
  14259. "TradeMode": {
  14260. "description": "交易模式",
  14261. "type": "integer"
  14262. }
  14263. }
  14264. },
  14265. "models.SearchGoods": {
  14266. "type": "object",
  14267. "required": [
  14268. "goodscode",
  14269. "goodsid",
  14270. "goodsname",
  14271. "marketid",
  14272. "trademode"
  14273. ],
  14274. "properties": {
  14275. "goodscode": {
  14276. "description": "商品代码(内部)",
  14277. "type": "string"
  14278. },
  14279. "goodsid": {
  14280. "description": "商品ID(自增ID SEQ_GOODS)",
  14281. "type": "integer"
  14282. },
  14283. "goodsname": {
  14284. "description": "商品名称",
  14285. "type": "string"
  14286. },
  14287. "marketid": {
  14288. "description": "所属市场ID",
  14289. "type": "integer"
  14290. },
  14291. "marketname": {
  14292. "description": "市场名称",
  14293. "type": "string"
  14294. },
  14295. "trademode": {
  14296. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  14297. "type": "integer"
  14298. }
  14299. }
  14300. },
  14301. "models.Szdz2imageconfig": {
  14302. "type": "object",
  14303. "required": [
  14304. "configid"
  14305. ],
  14306. "properties": {
  14307. "configid": {
  14308. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  14309. "type": "integer"
  14310. },
  14311. "imagepath": {
  14312. "description": "图片",
  14313. "type": "string"
  14314. },
  14315. "imagetype": {
  14316. "description": "类型 - 1:App首页轮播 2:我的",
  14317. "type": "integer"
  14318. },
  14319. "sort": {
  14320. "description": "排序",
  14321. "type": "integer"
  14322. },
  14323. "title": {
  14324. "description": "标题",
  14325. "type": "string"
  14326. },
  14327. "url": {
  14328. "description": "链接",
  14329. "type": "string"
  14330. }
  14331. }
  14332. },
  14333. "models.Szdz3convertconfig": {
  14334. "type": "object",
  14335. "required": [
  14336. "converttype",
  14337. "innergoodsid",
  14338. "outergoodscode"
  14339. ],
  14340. "properties": {
  14341. "canin": {
  14342. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  14343. "type": "integer"
  14344. },
  14345. "canout": {
  14346. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  14347. "type": "integer"
  14348. },
  14349. "converttype": {
  14350. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  14351. "type": "integer"
  14352. },
  14353. "createtime": {
  14354. "description": "创建时间",
  14355. "type": "string"
  14356. },
  14357. "creatorid": {
  14358. "description": "创建人",
  14359. "type": "integer"
  14360. },
  14361. "daymaxvalue": {
  14362. "description": "当日最大转入限制",
  14363. "type": "number"
  14364. },
  14365. "freezedays": {
  14366. "description": "冻结天数 [5:花生米转交易]",
  14367. "type": "integer"
  14368. },
  14369. "innergoodsid": {
  14370. "description": "内部商品ID[交易]",
  14371. "type": "integer"
  14372. },
  14373. "inratio": {
  14374. "description": "目标值",
  14375. "type": "integer"
  14376. },
  14377. "modifierid": {
  14378. "description": "修改人",
  14379. "type": "integer"
  14380. },
  14381. "modifytime": {
  14382. "description": "修改时间",
  14383. "type": "string"
  14384. },
  14385. "outergoodscode": {
  14386. "description": "外部商品代码[JD\\PD]",
  14387. "type": "string"
  14388. },
  14389. "outratio": {
  14390. "description": "源值",
  14391. "type": "integer"
  14392. },
  14393. "pddecimalplace": {
  14394. "description": "PD小数位",
  14395. "type": "integer"
  14396. },
  14397. "timemaxvalue": {
  14398. "description": "单次最大转入限制",
  14399. "type": "number"
  14400. },
  14401. "timeminvalue": {
  14402. "description": "单次最小转入限制",
  14403. "type": "number"
  14404. }
  14405. }
  14406. },
  14407. "models.Szdz3searchwhitelist": {
  14408. "type": "object",
  14409. "required": [
  14410. "userid"
  14411. ],
  14412. "properties": {
  14413. "createtime": {
  14414. "description": "创建时间",
  14415. "type": "string"
  14416. },
  14417. "creatorid": {
  14418. "description": "创建人",
  14419. "type": "integer"
  14420. },
  14421. "modifierid": {
  14422. "description": "修改人",
  14423. "type": "integer"
  14424. },
  14425. "modifytime": {
  14426. "description": "修改时间",
  14427. "type": "string"
  14428. },
  14429. "userid": {
  14430. "description": "用户ID",
  14431. "type": "integer"
  14432. }
  14433. }
  14434. },
  14435. "models.Taaccount": {
  14436. "type": "object",
  14437. "required": [
  14438. "accountid",
  14439. "userid"
  14440. ],
  14441. "properties": {
  14442. "accountflag": {
  14443. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  14444. "type": "integer"
  14445. },
  14446. "accountid": {
  14447. "description": "资金账户ID",
  14448. "type": "integer"
  14449. },
  14450. "accountname": {
  14451. "description": "账户名称",
  14452. "type": "string"
  14453. },
  14454. "balance": {
  14455. "description": "期初余额",
  14456. "type": "number"
  14457. },
  14458. "capitalbalance": {
  14459. "description": "本金余额[外部子账户实际出入金余额]",
  14460. "type": "number"
  14461. },
  14462. "changeflag": {
  14463. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  14464. "type": "integer"
  14465. },
  14466. "changetime": {
  14467. "description": "账户状态变更时间",
  14468. "type": "string"
  14469. },
  14470. "closepl": {
  14471. "description": "今日平仓盈亏",
  14472. "type": "number"
  14473. },
  14474. "creditdecrease": {
  14475. "description": "今日授信减少",
  14476. "type": "number"
  14477. },
  14478. "creditincrease": {
  14479. "description": "今日授信增加",
  14480. "type": "number"
  14481. },
  14482. "currencyid": {
  14483. "description": "货币ID",
  14484. "type": "integer"
  14485. },
  14486. "currentbalance": {
  14487. "description": "期末余额",
  14488. "type": "number"
  14489. },
  14490. "freezecharge": {
  14491. "description": "手续费冻结",
  14492. "type": "number"
  14493. },
  14494. "freezemargin": {
  14495. "description": "冻结保证金",
  14496. "type": "number"
  14497. },
  14498. "fromaccountid": {
  14499. "description": "所属上级账户",
  14500. "type": "integer"
  14501. },
  14502. "inamount": {
  14503. "description": "今日入金金额(包括三方入金)",
  14504. "type": "number"
  14505. },
  14506. "ismain": {
  14507. "description": "是否母账号 0:不是母账户 1:是母账户",
  14508. "type": "integer"
  14509. },
  14510. "ismarketaccount": {
  14511. "description": "是否机构接单账号 0:不是 1:是",
  14512. "type": "integer"
  14513. },
  14514. "isreckonaccount": {
  14515. "description": "是否机构分润账号 0:不是 1:是",
  14516. "type": "integer"
  14517. },
  14518. "mortgagecredit": {
  14519. "description": "授信金额",
  14520. "type": "number"
  14521. },
  14522. "orifreezecharge": {
  14523. "description": "期初手续费冻结",
  14524. "type": "number"
  14525. },
  14526. "orifreezemargin": {
  14527. "description": "期初冻结保证金",
  14528. "type": "number"
  14529. },
  14530. "orimortgagecredit": {
  14531. "description": "期初授信金额",
  14532. "type": "number"
  14533. },
  14534. "oriothercredit": {
  14535. "description": "期初其它授信金额",
  14536. "type": "number"
  14537. },
  14538. "oriotherfreezemargin": {
  14539. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  14540. "type": "number"
  14541. },
  14542. "orioutamountfreeze": {
  14543. "description": "期初出金冻结",
  14544. "type": "number"
  14545. },
  14546. "oriusedmargin": {
  14547. "description": "期初占用保证金",
  14548. "type": "number"
  14549. },
  14550. "othercredit": {
  14551. "description": "其它授信金额",
  14552. "type": "number"
  14553. },
  14554. "othercreditdecrease": {
  14555. "description": "今日其它授信减少",
  14556. "type": "number"
  14557. },
  14558. "othercreditincrease": {
  14559. "description": "今日其它授信增加",
  14560. "type": "number"
  14561. },
  14562. "otherfreezemargin": {
  14563. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  14564. "type": "number"
  14565. },
  14566. "otherincome": {
  14567. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  14568. "type": "number"
  14569. },
  14570. "otherpay": {
  14571. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  14572. "type": "number"
  14573. },
  14574. "outamount": {
  14575. "description": "今日出金金额(包括三方出金)",
  14576. "type": "number"
  14577. },
  14578. "outamountfreeze": {
  14579. "description": "出金冻结",
  14580. "type": "number"
  14581. },
  14582. "outthreshold": {
  14583. "description": "出金阈值",
  14584. "type": "number"
  14585. },
  14586. "parentaccountid": {
  14587. "description": "所属根账号",
  14588. "type": "integer"
  14589. },
  14590. "paycharge": {
  14591. "description": "今日手续费支出",
  14592. "type": "number"
  14593. },
  14594. "relatedaccountstatus": {
  14595. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  14596. "type": "integer"
  14597. },
  14598. "relateduserid": {
  14599. "description": "关联用户",
  14600. "type": "integer"
  14601. },
  14602. "serivcegroup": {
  14603. "description": "服务分组",
  14604. "type": "integer"
  14605. },
  14606. "signstatus": {
  14607. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  14608. "type": "integer"
  14609. },
  14610. "sublevelpath": {
  14611. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  14612. "type": "string"
  14613. },
  14614. "taaccounttype": {
  14615. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  14616. "type": "integer"
  14617. },
  14618. "thirdinamount": {
  14619. "description": "今日三方入金",
  14620. "type": "number"
  14621. },
  14622. "thirdoutamount": {
  14623. "description": "今日三方出金",
  14624. "type": "number"
  14625. },
  14626. "tradestatus": {
  14627. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  14628. "type": "integer"
  14629. },
  14630. "tradestatuschangetime": {
  14631. "description": "激活时间",
  14632. "type": "string"
  14633. },
  14634. "transferamount": {
  14635. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  14636. "type": "number"
  14637. },
  14638. "usedmargin": {
  14639. "description": "占用保证金",
  14640. "type": "number"
  14641. },
  14642. "userid": {
  14643. "description": "用户ID",
  14644. "type": "integer"
  14645. }
  14646. }
  14647. },
  14648. "models.Tablecolumnconfig": {
  14649. "type": "object",
  14650. "required": [
  14651. "autoid"
  14652. ],
  14653. "properties": {
  14654. "aligntype": {
  14655. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  14656. "type": "integer"
  14657. },
  14658. "autoid": {
  14659. "description": "AutoID",
  14660. "type": "integer"
  14661. },
  14662. "columnfield": {
  14663. "description": "列字段",
  14664. "type": "string"
  14665. },
  14666. "columntitle": {
  14667. "description": "列Title",
  14668. "type": "string"
  14669. },
  14670. "columnwidth": {
  14671. "description": "列宽",
  14672. "type": "string"
  14673. },
  14674. "formatterstring": {
  14675. "description": "格式化字符",
  14676. "type": "string"
  14677. },
  14678. "formattertype": {
  14679. "description": "格式化类型",
  14680. "type": "string"
  14681. },
  14682. "groupname": {
  14683. "description": "表头分组名称",
  14684. "type": "string"
  14685. },
  14686. "isshow": {
  14687. "description": "是否显示 - 0:不显示 1:显示",
  14688. "type": "integer"
  14689. },
  14690. "needsummary": {
  14691. "description": "是否需要汇总 - 0:不需要 1:需要",
  14692. "type": "integer"
  14693. },
  14694. "orderindex": {
  14695. "description": "顺序",
  14696. "type": "integer"
  14697. },
  14698. "remark": {
  14699. "description": "备注",
  14700. "type": "string"
  14701. },
  14702. "summarytype": {
  14703. "description": "汇总类型 - 1:加总 2:最后一个",
  14704. "type": "integer"
  14705. },
  14706. "tablekey": {
  14707. "description": "列表Key",
  14708. "type": "string"
  14709. }
  14710. }
  14711. },
  14712. "models.Useraccount": {
  14713. "type": "object",
  14714. "required": [
  14715. "userid"
  14716. ],
  14717. "properties": {
  14718. "accountname": {
  14719. "description": "账户名称(机构名称)",
  14720. "type": "string"
  14721. },
  14722. "accountstatus": {
  14723. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  14724. "type": "integer"
  14725. },
  14726. "auditremark": {
  14727. "description": "审核备注",
  14728. "type": "string"
  14729. },
  14730. "audittime": {
  14731. "description": "审核时间",
  14732. "type": "string"
  14733. },
  14734. "audituserid": {
  14735. "description": "审核人",
  14736. "type": "integer"
  14737. },
  14738. "broker": {
  14739. "description": "所属经纪人ID",
  14740. "type": "integer"
  14741. },
  14742. "canceltime": {
  14743. "description": "销户时间",
  14744. "type": "string"
  14745. },
  14746. "canceluserid": {
  14747. "description": "销户人",
  14748. "type": "integer"
  14749. },
  14750. "createtime": {
  14751. "description": "创建时间",
  14752. "type": "string"
  14753. },
  14754. "creatorid": {
  14755. "description": "创建人",
  14756. "type": "integer"
  14757. },
  14758. "hasauth": {
  14759. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  14760. "type": "integer"
  14761. },
  14762. "isanonymous": {
  14763. "description": "是否匿名下单 - 0:否 1:是",
  14764. "type": "integer"
  14765. },
  14766. "maxinvestornum": {
  14767. "description": "最大用户数(经纪会员下投资者个数)",
  14768. "type": "integer"
  14769. },
  14770. "memberuserid": {
  14771. "description": "所属会员ID",
  14772. "type": "integer"
  14773. },
  14774. "modifierid": {
  14775. "description": "修改人",
  14776. "type": "integer"
  14777. },
  14778. "modifyremark": {
  14779. "description": "变更备注",
  14780. "type": "string"
  14781. },
  14782. "modifystatus": {
  14783. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  14784. "type": "integer"
  14785. },
  14786. "modifytime": {
  14787. "description": "修改时间",
  14788. "type": "string"
  14789. },
  14790. "parentuserid": {
  14791. "description": "所属机构ID",
  14792. "type": "integer"
  14793. },
  14794. "reckonaccountid": {
  14795. "description": "默认结算资金账号ID(机构分润使用) 作废",
  14796. "type": "integer"
  14797. },
  14798. "refercount": {
  14799. "description": "推荐总人数",
  14800. "type": "integer"
  14801. },
  14802. "refereeuserid": {
  14803. "description": "推荐人ID",
  14804. "type": "integer"
  14805. },
  14806. "refernum": {
  14807. "description": "推荐码",
  14808. "type": "string"
  14809. },
  14810. "subarealevelpath": {
  14811. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  14812. "type": "string"
  14813. },
  14814. "userid": {
  14815. "description": "用户ID",
  14816. "type": "integer"
  14817. },
  14818. "usertype": {
  14819. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  14820. "type": "integer"
  14821. }
  14822. }
  14823. },
  14824. "models.Userfavoritegoods": {
  14825. "type": "object",
  14826. "required": [
  14827. "goodsid"
  14828. ],
  14829. "properties": {
  14830. "goodsid": {
  14831. "description": "商品ID",
  14832. "type": "integer"
  14833. }
  14834. }
  14835. },
  14836. "models.Userinfo": {
  14837. "type": "object",
  14838. "required": [
  14839. "userid"
  14840. ],
  14841. "properties": {
  14842. "address": {
  14843. "description": "地址",
  14844. "type": "string"
  14845. },
  14846. "attachment1": {
  14847. "description": "附件1",
  14848. "type": "string"
  14849. },
  14850. "attachment2": {
  14851. "description": "附件2",
  14852. "type": "string"
  14853. },
  14854. "bankaccount": {
  14855. "description": "银行帐号 (加密存储)",
  14856. "type": "string"
  14857. },
  14858. "bankaccountname": {
  14859. "description": "收款人名称",
  14860. "type": "string"
  14861. },
  14862. "bankcardfrontphotourl": {
  14863. "description": "银行卡正面照地址",
  14864. "type": "string"
  14865. },
  14866. "bankid": {
  14867. "description": "银行编码",
  14868. "type": "string"
  14869. },
  14870. "bankname": {
  14871. "description": "银行名称",
  14872. "type": "string"
  14873. },
  14874. "biznature": {
  14875. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  14876. "type": "integer"
  14877. },
  14878. "bizscope": {
  14879. "description": "企业经营范围(企业)",
  14880. "type": "string"
  14881. },
  14882. "cardbackphotourl": {
  14883. "description": "证件背面图片地址",
  14884. "type": "string"
  14885. },
  14886. "cardfrontphotourl": {
  14887. "description": "证件正面图片地址",
  14888. "type": "string"
  14889. },
  14890. "cardnum": {
  14891. "description": "证件号码(加密存储)",
  14892. "type": "string"
  14893. },
  14894. "cardtypeid": {
  14895. "description": "证件类型ID",
  14896. "type": "integer"
  14897. },
  14898. "cityid": {
  14899. "description": "市",
  14900. "type": "integer"
  14901. },
  14902. "company": {
  14903. "description": "公司(个人)",
  14904. "type": "string"
  14905. },
  14906. "contactname": {
  14907. "description": "联系人",
  14908. "type": "string"
  14909. },
  14910. "countryid": {
  14911. "description": "国家",
  14912. "type": "integer"
  14913. },
  14914. "createtime": {
  14915. "description": "创建时间",
  14916. "type": "string"
  14917. },
  14918. "creatorid": {
  14919. "description": "创建人",
  14920. "type": "integer"
  14921. },
  14922. "customername": {
  14923. "description": "客户名称(企业名称)",
  14924. "type": "string"
  14925. },
  14926. "districtid": {
  14927. "description": "地区",
  14928. "type": "integer"
  14929. },
  14930. "email": {
  14931. "description": "邮件(加密存储)",
  14932. "type": "string"
  14933. },
  14934. "fax": {
  14935. "description": "传真(加密存储)",
  14936. "type": "string"
  14937. },
  14938. "halfbodyphotourl": {
  14939. "description": "半身照地址",
  14940. "type": "string"
  14941. },
  14942. "hasencrypt": {
  14943. "description": "数据是否已加密 - 0:未加密 1:已加密",
  14944. "type": "integer"
  14945. },
  14946. "headurl": {
  14947. "description": "头像地址",
  14948. "type": "string"
  14949. },
  14950. "legalcardbackphotourl": {
  14951. "description": "法人身份证背面照地址",
  14952. "type": "string"
  14953. },
  14954. "legalcardfrontphotourl": {
  14955. "description": "法人身份证正面照地址",
  14956. "type": "string"
  14957. },
  14958. "legalpersonname": {
  14959. "description": "法人姓名(企业)",
  14960. "type": "string"
  14961. },
  14962. "mobile": {
  14963. "description": "手机号码(加密存储)",
  14964. "type": "string"
  14965. },
  14966. "mobile2": {
  14967. "description": "手机号码[明文-尚志]",
  14968. "type": "string"
  14969. },
  14970. "modifierid": {
  14971. "description": "修改人",
  14972. "type": "integer"
  14973. },
  14974. "modifiertime": {
  14975. "description": "修改时间",
  14976. "type": "string"
  14977. },
  14978. "needinvoice": {
  14979. "description": "是否需要发票 - 0:不需要 1:需要",
  14980. "type": "integer"
  14981. },
  14982. "nickname": {
  14983. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  14984. "type": "string"
  14985. },
  14986. "openmode": {
  14987. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  14988. "type": "integer"
  14989. },
  14990. "otherurl": {
  14991. "description": "其它图片地址[使用分号分隔]",
  14992. "type": "string"
  14993. },
  14994. "postalcode": {
  14995. "description": "邮政编码",
  14996. "type": "string"
  14997. },
  14998. "provinceid": {
  14999. "description": "省",
  15000. "type": "integer"
  15001. },
  15002. "qq": {
  15003. "description": "QQ(加密存储",
  15004. "type": "string"
  15005. },
  15006. "remark": {
  15007. "description": "备注",
  15008. "type": "string"
  15009. },
  15010. "sex": {
  15011. "description": "用户性别 0: 女 1: 男",
  15012. "type": "integer"
  15013. },
  15014. "signpdfurl": {
  15015. "description": "签约pdf文件",
  15016. "type": "string"
  15017. },
  15018. "telphone": {
  15019. "description": "联系电话(加密存储)",
  15020. "type": "string"
  15021. },
  15022. "userid": {
  15023. "description": "用户ID",
  15024. "type": "integer"
  15025. },
  15026. "userinfotype": {
  15027. "description": "用户信息类型 - 1:个人 2:企业",
  15028. "type": "integer"
  15029. },
  15030. "userstatus": {
  15031. "description": "用户状态 - 1:正常 2:注销",
  15032. "type": "integer"
  15033. },
  15034. "usertype": {
  15035. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  15036. "type": "integer"
  15037. },
  15038. "wechat": {
  15039. "description": "微信(加密存储)",
  15040. "type": "string"
  15041. },
  15042. "wskhinfo": {
  15043. "description": "开户申请信息(JSON)",
  15044. "type": "string"
  15045. }
  15046. }
  15047. },
  15048. "models.WRCategoryTree": {
  15049. "type": "object",
  15050. "required": [
  15051. "categoryid"
  15052. ],
  15053. "properties": {
  15054. "areauserid": {
  15055. "description": "所属机构",
  15056. "type": "integer"
  15057. },
  15058. "categorydesc": {
  15059. "description": "类别描述",
  15060. "type": "string"
  15061. },
  15062. "categoryid": {
  15063. "description": "类别ID(SEQ_WRCATEGORY)",
  15064. "type": "integer"
  15065. },
  15066. "categoryname": {
  15067. "description": "类别名称",
  15068. "type": "string"
  15069. },
  15070. "iconurl": {
  15071. "description": "图标地址",
  15072. "type": "string"
  15073. },
  15074. "orderindex": {
  15075. "description": "顺序",
  15076. "type": "integer"
  15077. },
  15078. "parentcategoryid": {
  15079. "description": "父类别ID",
  15080. "type": "integer"
  15081. },
  15082. "subcategory": {
  15083. "description": "子分类",
  15084. "type": "array",
  15085. "items": {
  15086. "$ref": "#/definitions/models.WRCategoryTree"
  15087. }
  15088. }
  15089. }
  15090. },
  15091. "models.WRSConverTDetail": {
  15092. "type": "object",
  15093. "properties": {
  15094. "convertratio": {
  15095. "description": "套保系数",
  15096. "type": "number"
  15097. },
  15098. "deliverygoodsid": {
  15099. "description": "现货品种ID",
  15100. "type": "integer"
  15101. },
  15102. "middlegoodscode": {
  15103. "description": "套保品种代码",
  15104. "type": "string"
  15105. },
  15106. "middlegoodsid": {
  15107. "description": "套保品种ID",
  15108. "type": "integer"
  15109. },
  15110. "middlegoodsname": {
  15111. "description": "套保品种名称",
  15112. "type": "string"
  15113. },
  15114. "modifytime": {
  15115. "description": "修改时间",
  15116. "type": "string"
  15117. },
  15118. "wrstandardid": {
  15119. "description": "现货商品ID",
  15120. "type": "integer"
  15121. }
  15122. }
  15123. },
  15124. "models.WRStandardInfo": {
  15125. "type": "object",
  15126. "required": [
  15127. "wrstandardid"
  15128. ],
  15129. "properties": {
  15130. "createtime": {
  15131. "description": "创建时间",
  15132. "type": "string"
  15133. },
  15134. "creatorid": {
  15135. "description": "创建人",
  15136. "type": "integer"
  15137. },
  15138. "deliverygoodsid": {
  15139. "description": "品种ID",
  15140. "type": "integer"
  15141. },
  15142. "deliverygoodsname": {
  15143. "description": "交割商品名称",
  15144. "type": "string"
  15145. },
  15146. "factoryitemjson": {
  15147. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  15148. "type": "string"
  15149. },
  15150. "isvalid": {
  15151. "description": "是否有效 - 0:无效 1:有效",
  15152. "type": "integer"
  15153. },
  15154. "minivalue": {
  15155. "description": "最小变动值",
  15156. "type": "integer"
  15157. },
  15158. "minivaluedp": {
  15159. "description": "最小变动值小数位",
  15160. "type": "integer"
  15161. },
  15162. "realminivalue": {
  15163. "description": "实际最小变动值",
  15164. "type": "integer"
  15165. },
  15166. "realminivaluedp": {
  15167. "description": "实际最小变动值小数位",
  15168. "type": "integer"
  15169. },
  15170. "unitid": {
  15171. "description": "单位ID",
  15172. "type": "integer"
  15173. },
  15174. "unitname": {
  15175. "description": "单位",
  15176. "type": "string"
  15177. },
  15178. "updatetime": {
  15179. "description": "更新时间",
  15180. "type": "string"
  15181. },
  15182. "updatorid": {
  15183. "description": "更新人",
  15184. "type": "integer"
  15185. },
  15186. "wrsstatus": {
  15187. "description": "状态 - 作废 - 0:未激活 1:正常",
  15188. "type": "integer"
  15189. },
  15190. "wrstandardcode": {
  15191. "description": "仓单标准代码",
  15192. "type": "string"
  15193. },
  15194. "wrstandardid": {
  15195. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  15196. "type": "integer"
  15197. },
  15198. "wrstandardname": {
  15199. "description": "仓单标准名称",
  15200. "type": "string"
  15201. }
  15202. }
  15203. },
  15204. "models.Warehouseinfo": {
  15205. "type": "object",
  15206. "required": [
  15207. "autoid",
  15208. "warehousecode"
  15209. ],
  15210. "properties": {
  15211. "address": {
  15212. "description": "详细地址",
  15213. "type": "string"
  15214. },
  15215. "areauserid": {
  15216. "description": "所属机构",
  15217. "type": "integer"
  15218. },
  15219. "autoid": {
  15220. "description": "自增ID",
  15221. "type": "integer"
  15222. },
  15223. "cityid": {
  15224. "description": "市",
  15225. "type": "integer"
  15226. },
  15227. "contactname": {
  15228. "description": "联系人",
  15229. "type": "string"
  15230. },
  15231. "contactnum": {
  15232. "description": "联系电话",
  15233. "type": "string"
  15234. },
  15235. "countryid": {
  15236. "description": "国家",
  15237. "type": "integer"
  15238. },
  15239. "createtime": {
  15240. "description": "创建时间",
  15241. "type": "string"
  15242. },
  15243. "districtid": {
  15244. "description": "区",
  15245. "type": "integer"
  15246. },
  15247. "hasvideo": {
  15248. "description": "是否有视频 - 0:无 1:有",
  15249. "type": "integer"
  15250. },
  15251. "provinceid": {
  15252. "description": "省",
  15253. "type": "integer"
  15254. },
  15255. "remark": {
  15256. "description": "审核备注",
  15257. "type": "string"
  15258. },
  15259. "videourl": {
  15260. "description": "视频地址",
  15261. "type": "string"
  15262. },
  15263. "warehousecode": {
  15264. "description": "仓库代码",
  15265. "type": "string"
  15266. },
  15267. "warehousename": {
  15268. "description": "仓库名称",
  15269. "type": "string"
  15270. },
  15271. "warehousestatus": {
  15272. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  15273. "type": "integer"
  15274. },
  15275. "warehousetype": {
  15276. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  15277. "type": "integer"
  15278. }
  15279. }
  15280. },
  15281. "order.QueryHisTradeDetailRsp": {
  15282. "type": "object",
  15283. "required": [
  15284. "accountid",
  15285. "buyorsell",
  15286. "goodsid",
  15287. "histradedate",
  15288. "marketid",
  15289. "memberuserid",
  15290. "orderid",
  15291. "tradeamount",
  15292. "tradedate",
  15293. "tradeid",
  15294. "tradeprice",
  15295. "tradeqty",
  15296. "tradetime"
  15297. ],
  15298. "properties": {
  15299. "accountid": {
  15300. "description": "账户ID[报价币种]",
  15301. "type": "integer"
  15302. },
  15303. "buildtype": {
  15304. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15305. "type": "integer"
  15306. },
  15307. "buyorsell": {
  15308. "description": "方向 - 0:买 1:卖",
  15309. "type": "integer"
  15310. },
  15311. "charge": {
  15312. "description": "手续费",
  15313. "type": "number"
  15314. },
  15315. "closecharge": {
  15316. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15317. "type": "number"
  15318. },
  15319. "closeexchagechargevalue": {
  15320. "description": "平仓交易所手续费设置值",
  15321. "type": "number"
  15322. },
  15323. "closefeealgorithm": {
  15324. "description": "平仓手续费收取方式 1:比率 2:固定",
  15325. "type": "integer"
  15326. },
  15327. "closememberchargevalue": {
  15328. "description": "平仓会员手续费设置值",
  15329. "type": "number"
  15330. },
  15331. "closepl": {
  15332. "description": "平仓盈亏",
  15333. "type": "number"
  15334. },
  15335. "closepl2": {
  15336. "description": "平仓盈亏[逐笔]",
  15337. "type": "number"
  15338. },
  15339. "closeqty": {
  15340. "description": "平仓数量(先建后平操作 需要记录)",
  15341. "type": "integer"
  15342. },
  15343. "creditamount": {
  15344. "description": "授信金额",
  15345. "type": "number"
  15346. },
  15347. "gcaccountid": {
  15348. "description": "账户ID[合约币种]",
  15349. "type": "integer"
  15350. },
  15351. "goodscode": {
  15352. "description": "商品代码",
  15353. "type": "string"
  15354. },
  15355. "goodsid": {
  15356. "description": "商品ID",
  15357. "type": "integer"
  15358. },
  15359. "goodsname": {
  15360. "description": "商品名称",
  15361. "type": "string"
  15362. },
  15363. "histradedate": {
  15364. "description": "历史交易日",
  15365. "type": "string"
  15366. },
  15367. "intclosepl": {
  15368. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15369. "type": "integer"
  15370. },
  15371. "isconfirmexercise": {
  15372. "description": "是否确认行权- 0:否 1:是",
  15373. "type": "integer"
  15374. },
  15375. "ismain": {
  15376. "description": "是否主单 - 0:不是 1:是",
  15377. "type": "integer"
  15378. },
  15379. "ispreexercise": {
  15380. "description": "是否预申报- 0:否 1:是",
  15381. "type": "integer"
  15382. },
  15383. "isreckoned": {
  15384. "description": "是否结算 - 0:未结算 1:已结算",
  15385. "type": "integer"
  15386. },
  15387. "isvaliddata": {
  15388. "description": "是否有效 - 0:无效 1:有效",
  15389. "type": "integer"
  15390. },
  15391. "listingselecttype": {
  15392. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15393. "type": "integer"
  15394. },
  15395. "marketid": {
  15396. "description": "市场ID",
  15397. "type": "integer"
  15398. },
  15399. "marketname": {
  15400. "description": "市场名称",
  15401. "type": "string"
  15402. },
  15403. "matchaccountid": {
  15404. "description": "对手账号id",
  15405. "type": "integer"
  15406. },
  15407. "memberuserid": {
  15408. "description": "会员id 个人投资者 需要填写",
  15409. "type": "integer"
  15410. },
  15411. "opencharge": {
  15412. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15413. "type": "number"
  15414. },
  15415. "openexchagechargevalue": {
  15416. "description": "建仓交易所手续费设置值",
  15417. "type": "number"
  15418. },
  15419. "openfeealgorithm": {
  15420. "description": "建仓手续费收取方式 1:比率 2:固定",
  15421. "type": "integer"
  15422. },
  15423. "openmemberchargevalue": {
  15424. "description": "建仓会员手续费设置值",
  15425. "type": "number"
  15426. },
  15427. "openqty": {
  15428. "description": "开仓数量(先建后平操作 需要记录)",
  15429. "type": "integer"
  15430. },
  15431. "optiontype": {
  15432. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15433. "type": "integer"
  15434. },
  15435. "orderid": {
  15436. "description": "委托单号",
  15437. "type": "string"
  15438. },
  15439. "performanceplanid": {
  15440. "description": "履约计划ID[期权]",
  15441. "type": "integer"
  15442. },
  15443. "performancestatus": {
  15444. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15445. "type": "integer"
  15446. },
  15447. "preexerciseprice": {
  15448. "description": "预申报价格",
  15449. "type": "number"
  15450. },
  15451. "premium": {
  15452. "description": "权利金 - [持仓单的权利金]",
  15453. "type": "number"
  15454. },
  15455. "relatedouttradeid": {
  15456. "description": "关联外部成交单ID",
  15457. "type": "integer"
  15458. },
  15459. "status": {
  15460. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15461. "type": "integer"
  15462. },
  15463. "tradeamount": {
  15464. "description": "成交金额[账户币种,用于所有权]",
  15465. "type": "number"
  15466. },
  15467. "tradedate": {
  15468. "description": "交易日(yyyyMMdd)",
  15469. "type": "string"
  15470. },
  15471. "tradeid": {
  15472. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15473. "type": "string"
  15474. },
  15475. "trademode": {
  15476. "description": "交易模式",
  15477. "type": "integer"
  15478. },
  15479. "tradeprice": {
  15480. "description": "成交价格",
  15481. "type": "number"
  15482. },
  15483. "tradeproperty": {
  15484. "description": "交易属性",
  15485. "type": "integer"
  15486. },
  15487. "tradeqty": {
  15488. "description": "成交数量",
  15489. "type": "integer"
  15490. },
  15491. "tradetime": {
  15492. "description": "成交时间",
  15493. "type": "string"
  15494. },
  15495. "tradetype": {
  15496. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  15497. "type": "integer"
  15498. }
  15499. }
  15500. },
  15501. "order.QueryHisTradeOrderDetailRsp": {
  15502. "type": "object",
  15503. "required": [
  15504. "accountid",
  15505. "buildtype",
  15506. "buyorsell",
  15507. "goodsid",
  15508. "histradedate",
  15509. "marketid",
  15510. "memberuserid",
  15511. "operatetype",
  15512. "orderid",
  15513. "orderqty",
  15514. "ordertime",
  15515. "pricemode",
  15516. "tradedate",
  15517. "validtype"
  15518. ],
  15519. "properties": {
  15520. "accountid": {
  15521. "description": "账户ID[报价币种]",
  15522. "type": "integer"
  15523. },
  15524. "buildtype": {
  15525. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  15526. "type": "integer"
  15527. },
  15528. "buyorsell": {
  15529. "description": "买卖 - 0:买 1:卖",
  15530. "type": "integer"
  15531. },
  15532. "cancelorderid": {
  15533. "description": "撤单单号(撤单时填写)",
  15534. "type": "string"
  15535. },
  15536. "cancelqty": {
  15537. "description": "撤单数量",
  15538. "type": "integer"
  15539. },
  15540. "clientordertime": {
  15541. "description": "客户端委托时间",
  15542. "type": "string"
  15543. },
  15544. "clientticket": {
  15545. "description": "客户端流水号",
  15546. "type": "string"
  15547. },
  15548. "clienttype": {
  15549. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  15550. "type": "integer"
  15551. },
  15552. "closeexchagechargevalue": {
  15553. "description": "平仓交易所手续费设置值",
  15554. "type": "number"
  15555. },
  15556. "closefeealgorithm": {
  15557. "description": "平仓手续费收取方式 1:比率 2:固定",
  15558. "type": "integer"
  15559. },
  15560. "closefreezecharge": {
  15561. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  15562. "type": "number"
  15563. },
  15564. "closememberchargevalue": {
  15565. "description": "平仓会员手续费设置值",
  15566. "type": "number"
  15567. },
  15568. "closeqty": {
  15569. "description": "平仓数量(先建后平操作 需要记录)",
  15570. "type": "integer"
  15571. },
  15572. "closetradeqty": {
  15573. "description": "平仓成交数量(先建后平操作,需要记录)",
  15574. "type": "integer"
  15575. },
  15576. "closeunfreezecharge": {
  15577. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  15578. "type": "number"
  15579. },
  15580. "delistingtype": {
  15581. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  15582. "type": "integer"
  15583. },
  15584. "freezecharge": {
  15585. "description": "冻结手续费",
  15586. "type": "number"
  15587. },
  15588. "freezemargin": {
  15589. "description": "冻结保证金(冻结交易金额)",
  15590. "type": "number"
  15591. },
  15592. "gcaccountid": {
  15593. "description": "账户ID[合约币种]",
  15594. "type": "integer"
  15595. },
  15596. "goodscode": {
  15597. "description": "商品代码",
  15598. "type": "string"
  15599. },
  15600. "goodsid": {
  15601. "description": "商品ID",
  15602. "type": "integer"
  15603. },
  15604. "goodsname": {
  15605. "description": "商品名称",
  15606. "type": "string"
  15607. },
  15608. "histradedate": {
  15609. "description": "历史交易日",
  15610. "type": "string"
  15611. },
  15612. "isconfirmexercise": {
  15613. "description": "是否确认行权- 0:否 1:是",
  15614. "type": "integer"
  15615. },
  15616. "ispreexercise": {
  15617. "description": "是否预申报- 0:否 1:是",
  15618. "type": "integer"
  15619. },
  15620. "isvaliddata": {
  15621. "description": "是否有效 - 0:无效 1:有效",
  15622. "type": "integer"
  15623. },
  15624. "listingselecttype": {
  15625. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15626. "type": "integer"
  15627. },
  15628. "marginalgorithm": {
  15629. "description": "保证金收取方式 1:比率 2:固定",
  15630. "type": "integer"
  15631. },
  15632. "marginvalue": {
  15633. "description": "即市保证金设置值",
  15634. "type": "number"
  15635. },
  15636. "marketid": {
  15637. "description": "市场ID",
  15638. "type": "integer"
  15639. },
  15640. "marketmaxsub": {
  15641. "description": "市价最大偏移范围",
  15642. "type": "number"
  15643. },
  15644. "marketname": {
  15645. "description": "市场名称",
  15646. "type": "string"
  15647. },
  15648. "memberuserid": {
  15649. "description": "所属会员UserID",
  15650. "type": "integer"
  15651. },
  15652. "openexchagechargevalue": {
  15653. "description": "建仓交易所手续费设置值",
  15654. "type": "number"
  15655. },
  15656. "openfeealgorithm": {
  15657. "description": "建仓手续费收取方式 1:比率 2:固定",
  15658. "type": "integer"
  15659. },
  15660. "openfreezecharge": {
  15661. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  15662. "type": "number"
  15663. },
  15664. "openmemberchargevalue": {
  15665. "description": "建仓会员手续费设置值",
  15666. "type": "number"
  15667. },
  15668. "openqty": {
  15669. "description": "开仓数量(先建后平操作,需要记录)",
  15670. "type": "integer"
  15671. },
  15672. "opentradeqty": {
  15673. "description": "开仓成交数量(先建后平操作,需要记录)",
  15674. "type": "integer"
  15675. },
  15676. "openunfreezecharge": {
  15677. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  15678. "type": "number"
  15679. },
  15680. "operatetype": {
  15681. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  15682. "type": "integer"
  15683. },
  15684. "operatorid": {
  15685. "description": "登录账号(LoginID)",
  15686. "type": "integer"
  15687. },
  15688. "optiontype": {
  15689. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15690. "type": "integer"
  15691. },
  15692. "orderid": {
  15693. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15694. "type": "string"
  15695. },
  15696. "orderprice": {
  15697. "description": "委托价格",
  15698. "type": "number"
  15699. },
  15700. "orderqty": {
  15701. "description": "委托数量",
  15702. "type": "integer"
  15703. },
  15704. "ordersrc": {
  15705. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  15706. "type": "integer"
  15707. },
  15708. "orderstatus": {
  15709. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  15710. "type": "integer"
  15711. },
  15712. "ordertime": {
  15713. "description": "委托时间",
  15714. "type": "string"
  15715. },
  15716. "preexerciseprice": {
  15717. "description": "预申报价格",
  15718. "type": "number"
  15719. },
  15720. "premium": {
  15721. "description": "权利金",
  15722. "type": "number"
  15723. },
  15724. "preorderid": {
  15725. "description": "关联预埋单号(止盈止损单时填写)",
  15726. "type": "string"
  15727. },
  15728. "pricemode": {
  15729. "description": "取价方式 - 1:市价 2: 限价",
  15730. "type": "integer"
  15731. },
  15732. "quoteid": {
  15733. "description": "报价单ID",
  15734. "type": "integer"
  15735. },
  15736. "relatedid": {
  15737. "description": "关联单号(交割单)",
  15738. "type": "string"
  15739. },
  15740. "retcode": {
  15741. "description": "错误代码",
  15742. "type": "integer"
  15743. },
  15744. "sessionid": {
  15745. "description": "会话ID",
  15746. "type": "integer"
  15747. },
  15748. "tradedate": {
  15749. "description": "交易日(yyyyMMdd)",
  15750. "type": "string"
  15751. },
  15752. "trademode": {
  15753. "description": "交易模式",
  15754. "type": "integer"
  15755. },
  15756. "tradeproperty": {
  15757. "description": "交易属性",
  15758. "type": "integer"
  15759. },
  15760. "tradeqty": {
  15761. "description": "成交数量",
  15762. "type": "integer"
  15763. },
  15764. "unfreezecharge": {
  15765. "description": "解冻手续费",
  15766. "type": "number"
  15767. },
  15768. "unfreezemargin": {
  15769. "description": "解冻保证金",
  15770. "type": "number"
  15771. },
  15772. "updatetime": {
  15773. "description": "更新时间",
  15774. "type": "string"
  15775. },
  15776. "uuid": {
  15777. "description": "发起端唯一id",
  15778. "type": "string"
  15779. },
  15780. "validtime": {
  15781. "description": "有效期限",
  15782. "type": "string"
  15783. },
  15784. "validtype": {
  15785. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  15786. "type": "integer"
  15787. },
  15788. "volumetype": {
  15789. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  15790. "type": "integer"
  15791. }
  15792. }
  15793. },
  15794. "order.QueryTradeDetailRsp": {
  15795. "type": "object",
  15796. "required": [
  15797. "accountid",
  15798. "buyorsell",
  15799. "goodsid",
  15800. "marketid",
  15801. "memberuserid",
  15802. "orderid",
  15803. "tradeamount",
  15804. "tradedate",
  15805. "tradeid",
  15806. "tradeprice",
  15807. "tradeqty",
  15808. "tradetime"
  15809. ],
  15810. "properties": {
  15811. "accountid": {
  15812. "description": "账户ID[报价币种]",
  15813. "type": "integer"
  15814. },
  15815. "buildtype": {
  15816. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  15817. "type": "integer"
  15818. },
  15819. "buyorsell": {
  15820. "description": "方向 - 0:买 1:卖",
  15821. "type": "integer"
  15822. },
  15823. "charge": {
  15824. "description": "手续费",
  15825. "type": "number"
  15826. },
  15827. "closecharge": {
  15828. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15829. "type": "number"
  15830. },
  15831. "closeexchagechargevalue": {
  15832. "description": "平仓交易所手续费设置值",
  15833. "type": "number"
  15834. },
  15835. "closefeealgorithm": {
  15836. "description": "平仓手续费收取方式 1:比率 2:固定",
  15837. "type": "integer"
  15838. },
  15839. "closememberchargevalue": {
  15840. "description": "平仓会员手续费设置值",
  15841. "type": "number"
  15842. },
  15843. "closepl": {
  15844. "description": "平仓盈亏",
  15845. "type": "number"
  15846. },
  15847. "closepl2": {
  15848. "description": "平仓盈亏[逐笔]",
  15849. "type": "number"
  15850. },
  15851. "closeqty": {
  15852. "description": "平仓数量(先建后平操作 需要记录)",
  15853. "type": "integer"
  15854. },
  15855. "creditamount": {
  15856. "description": "授信金额",
  15857. "type": "number"
  15858. },
  15859. "gcaccountid": {
  15860. "description": "账户ID[合约币种]",
  15861. "type": "integer"
  15862. },
  15863. "goodscode": {
  15864. "description": "商品代码",
  15865. "type": "string"
  15866. },
  15867. "goodsid": {
  15868. "description": "商品ID",
  15869. "type": "integer"
  15870. },
  15871. "goodsname": {
  15872. "description": "商品名称",
  15873. "type": "string"
  15874. },
  15875. "intclosepl": {
  15876. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  15877. "type": "integer"
  15878. },
  15879. "isconfirmexercise": {
  15880. "description": "是否确认行权- 0:否 1:是",
  15881. "type": "integer"
  15882. },
  15883. "ismain": {
  15884. "description": "是否主单 - 0:不是 1:是",
  15885. "type": "integer"
  15886. },
  15887. "ispreexercise": {
  15888. "description": "是否预申报- 0:否 1:是",
  15889. "type": "integer"
  15890. },
  15891. "isreckoned": {
  15892. "description": "是否结算 - 0:未结算 1:已结算",
  15893. "type": "integer"
  15894. },
  15895. "listingselecttype": {
  15896. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  15897. "type": "integer"
  15898. },
  15899. "marketid": {
  15900. "description": "市场ID",
  15901. "type": "integer"
  15902. },
  15903. "marketname": {
  15904. "description": "市场名称",
  15905. "type": "string"
  15906. },
  15907. "matchaccountid": {
  15908. "description": "对手账号id",
  15909. "type": "integer"
  15910. },
  15911. "memberuserid": {
  15912. "description": "会员id 个人投资者 需要填写",
  15913. "type": "integer"
  15914. },
  15915. "opencharge": {
  15916. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  15917. "type": "number"
  15918. },
  15919. "openexchagechargevalue": {
  15920. "description": "建仓交易所手续费设置值",
  15921. "type": "number"
  15922. },
  15923. "openfeealgorithm": {
  15924. "description": "建仓手续费收取方式 1:比率 2:固定",
  15925. "type": "integer"
  15926. },
  15927. "openmemberchargevalue": {
  15928. "description": "建仓会员手续费设置值",
  15929. "type": "number"
  15930. },
  15931. "openqty": {
  15932. "description": "开仓数量(先建后平操作 需要记录)",
  15933. "type": "integer"
  15934. },
  15935. "optiontype": {
  15936. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  15937. "type": "integer"
  15938. },
  15939. "orderid": {
  15940. "description": "委托单号",
  15941. "type": "string"
  15942. },
  15943. "performanceplanid": {
  15944. "description": "履约计划ID[期权]",
  15945. "type": "integer"
  15946. },
  15947. "performancestatus": {
  15948. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  15949. "type": "integer"
  15950. },
  15951. "preexerciseprice": {
  15952. "description": "预申报价格",
  15953. "type": "number"
  15954. },
  15955. "premium": {
  15956. "description": "权利金 - [持仓单的权利金]",
  15957. "type": "number"
  15958. },
  15959. "relatedouttradeid": {
  15960. "description": "关联外部成交单ID",
  15961. "type": "integer"
  15962. },
  15963. "status": {
  15964. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  15965. "type": "integer"
  15966. },
  15967. "tradeamount": {
  15968. "description": "成交金额[账户币种,用于所有权]",
  15969. "type": "number"
  15970. },
  15971. "tradedate": {
  15972. "description": "交易日(yyyyMMdd)",
  15973. "type": "string"
  15974. },
  15975. "tradeid": {
  15976. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  15977. "type": "string"
  15978. },
  15979. "trademode": {
  15980. "description": "交易模式",
  15981. "type": "integer"
  15982. },
  15983. "tradeprice": {
  15984. "description": "成交价格",
  15985. "type": "number"
  15986. },
  15987. "tradeproperty": {
  15988. "description": "交易属性",
  15989. "type": "integer"
  15990. },
  15991. "tradeqty": {
  15992. "description": "成交数量",
  15993. "type": "integer"
  15994. },
  15995. "tradetime": {
  15996. "description": "成交时间",
  15997. "type": "string"
  15998. },
  15999. "tradetype": {
  16000. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  16001. "type": "integer"
  16002. }
  16003. }
  16004. },
  16005. "order.QueryTradeOrderDetailRsp": {
  16006. "type": "object",
  16007. "required": [
  16008. "accountid",
  16009. "buildtype",
  16010. "buyorsell",
  16011. "goodsid",
  16012. "marketid",
  16013. "operatetype",
  16014. "orderqty",
  16015. "ordertime",
  16016. "pricemode",
  16017. "tradedate",
  16018. "validtype"
  16019. ],
  16020. "properties": {
  16021. "accountid": {
  16022. "description": "账户ID[报价币种]",
  16023. "type": "integer"
  16024. },
  16025. "buildtype": {
  16026. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16027. "type": "integer"
  16028. },
  16029. "buyorsell": {
  16030. "description": "买卖 - 0:买 1:卖",
  16031. "type": "integer"
  16032. },
  16033. "cancelorderid": {
  16034. "description": "撤单单号(撤单时填写)",
  16035. "type": "string"
  16036. },
  16037. "cancelqty": {
  16038. "description": "撤单数量",
  16039. "type": "integer"
  16040. },
  16041. "clienttype": {
  16042. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16043. "type": "integer"
  16044. },
  16045. "closefreezecharge": {
  16046. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16047. "type": "number"
  16048. },
  16049. "closeqty": {
  16050. "description": "平仓数量(先建后平操作 需要记录)",
  16051. "type": "integer"
  16052. },
  16053. "closetradeqty": {
  16054. "description": "平仓成交数量(先建后平操作,需要记录)",
  16055. "type": "integer"
  16056. },
  16057. "closeunfreezecharge": {
  16058. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16059. "type": "number"
  16060. },
  16061. "delistingtype": {
  16062. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16063. "type": "integer"
  16064. },
  16065. "enableqty": {
  16066. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  16067. "type": "integer"
  16068. },
  16069. "freezecharge": {
  16070. "description": "冻结手续费",
  16071. "type": "number"
  16072. },
  16073. "freezemargin": {
  16074. "description": "冻结保证金(冻结交易金额)",
  16075. "type": "number"
  16076. },
  16077. "goodscode": {
  16078. "description": "商品代码",
  16079. "type": "string"
  16080. },
  16081. "goodsid": {
  16082. "description": "商品ID",
  16083. "type": "integer"
  16084. },
  16085. "goodsname": {
  16086. "description": "商品名称",
  16087. "type": "string"
  16088. },
  16089. "listingselecttype": {
  16090. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16091. "type": "integer"
  16092. },
  16093. "marketid": {
  16094. "description": "市场ID",
  16095. "type": "integer"
  16096. },
  16097. "marketname": {
  16098. "description": "市场名称",
  16099. "type": "string"
  16100. },
  16101. "openfreezecharge": {
  16102. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16103. "type": "number"
  16104. },
  16105. "openqty": {
  16106. "description": "开仓数量(先建后平操作,需要记录)",
  16107. "type": "integer"
  16108. },
  16109. "opentradeqty": {
  16110. "description": "开仓成交数量(先建后平操作,需要记录)",
  16111. "type": "integer"
  16112. },
  16113. "openunfreezecharge": {
  16114. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16115. "type": "number"
  16116. },
  16117. "operatetype": {
  16118. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16119. "type": "integer"
  16120. },
  16121. "operatorid": {
  16122. "description": "登录账号(LoginID)",
  16123. "type": "integer"
  16124. },
  16125. "orderid": {
  16126. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16127. "type": "string"
  16128. },
  16129. "orderprice": {
  16130. "description": "委托价格",
  16131. "type": "number"
  16132. },
  16133. "orderqty": {
  16134. "description": "委托数量",
  16135. "type": "integer"
  16136. },
  16137. "ordersrc": {
  16138. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16139. "type": "integer"
  16140. },
  16141. "orderstatus": {
  16142. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16143. "type": "integer"
  16144. },
  16145. "ordertime": {
  16146. "description": "委托时间",
  16147. "type": "string"
  16148. },
  16149. "preorderid": {
  16150. "description": "关联预埋单号(止盈止损单时填写)",
  16151. "type": "string"
  16152. },
  16153. "pricemode": {
  16154. "description": "取价方式 - 1:市价 2: 限价",
  16155. "type": "integer"
  16156. },
  16157. "relatedid": {
  16158. "description": "关联单号(交割单)",
  16159. "type": "string"
  16160. },
  16161. "tradedate": {
  16162. "description": "交易日(yyyyMMdd)",
  16163. "type": "string"
  16164. },
  16165. "trademode": {
  16166. "description": "交易模式",
  16167. "type": "integer"
  16168. },
  16169. "tradeqty": {
  16170. "description": "成交数量",
  16171. "type": "integer"
  16172. },
  16173. "unfreezecharge": {
  16174. "description": "解冻手续费",
  16175. "type": "number"
  16176. },
  16177. "unfreezemargin": {
  16178. "description": "解冻保证金",
  16179. "type": "number"
  16180. },
  16181. "validtime": {
  16182. "description": "有效期限",
  16183. "type": "string"
  16184. },
  16185. "validtype": {
  16186. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16187. "type": "integer"
  16188. },
  16189. "volumetype": {
  16190. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16191. "type": "integer"
  16192. }
  16193. }
  16194. },
  16195. "order.QueryTradePositionRsp": {
  16196. "type": "object",
  16197. "required": [
  16198. "goodsid"
  16199. ],
  16200. "properties": {
  16201. "accountid": {
  16202. "description": "资金账户",
  16203. "type": "integer"
  16204. },
  16205. "agreeunit": {
  16206. "description": "合约单位",
  16207. "type": "number"
  16208. },
  16209. "averageprice": {
  16210. "description": "持仓均价",
  16211. "type": "number"
  16212. },
  16213. "buyorsell": {
  16214. "description": "方向 - 0:买 1:卖",
  16215. "type": "integer"
  16216. },
  16217. "closetotalqty": {
  16218. "description": "平仓总数量",
  16219. "type": "integer"
  16220. },
  16221. "curholderamount": {
  16222. "description": "当前持仓总金额[商品币种]",
  16223. "type": "number"
  16224. },
  16225. "curpositionqty": {
  16226. "description": "当前持仓总数量",
  16227. "type": "integer"
  16228. },
  16229. "currencyid": {
  16230. "description": "报价货币ID",
  16231. "type": "integer"
  16232. },
  16233. "curtdposition": {
  16234. "description": "期末今日头寸",
  16235. "type": "integer"
  16236. },
  16237. "decimalplace": {
  16238. "description": "报价小数位",
  16239. "type": "integer"
  16240. },
  16241. "enableqty": {
  16242. "description": "可用量",
  16243. "type": "integer"
  16244. },
  16245. "fretdposition": {
  16246. "description": "冻结今日头寸",
  16247. "type": "integer"
  16248. },
  16249. "frozenqty": {
  16250. "description": "持仓冻结数量",
  16251. "type": "integer"
  16252. },
  16253. "goodscode": {
  16254. "description": "商品代码",
  16255. "type": "string"
  16256. },
  16257. "goodsid": {
  16258. "description": "商品Id",
  16259. "type": "integer"
  16260. },
  16261. "goodsname": {
  16262. "description": "商品名称",
  16263. "type": "string"
  16264. },
  16265. "goodunit": {
  16266. "description": "报价单位",
  16267. "type": "string"
  16268. },
  16269. "goodunitid": {
  16270. "description": "报价单位ID",
  16271. "type": "integer"
  16272. },
  16273. "holderamount": {
  16274. "description": "期初持仓总金额[商品币种]",
  16275. "type": "number"
  16276. },
  16277. "marketid": {
  16278. "description": "所属市场ID",
  16279. "type": "integer"
  16280. },
  16281. "openreqqty": {
  16282. "description": "开仓申请数量(用于比较最大持仓数量)",
  16283. "type": "integer"
  16284. },
  16285. "opentotalqty": {
  16286. "description": "开仓总数量",
  16287. "type": "integer"
  16288. },
  16289. "otherfrozenqty": {
  16290. "description": "持仓其他冻结数量(交割冻结)",
  16291. "type": "integer"
  16292. },
  16293. "positionqty": {
  16294. "description": "期初持仓数量",
  16295. "type": "integer"
  16296. },
  16297. "tnqty": {
  16298. "description": "T+N冻结总量",
  16299. "type": "integer"
  16300. },
  16301. "tnusedqty": {
  16302. "description": "T+N使用量(可以使用T+N的冻结数量)",
  16303. "type": "integer"
  16304. },
  16305. "trademode": {
  16306. "description": "交易模式",
  16307. "type": "integer"
  16308. },
  16309. "usedmargin": {
  16310. "description": "占用保证金[商品币种]",
  16311. "type": "number"
  16312. }
  16313. }
  16314. },
  16315. "quote.HistoryData": {
  16316. "type": "object",
  16317. "properties": {
  16318. "c": {
  16319. "description": "收盘价",
  16320. "type": "number"
  16321. },
  16322. "f": {
  16323. "description": "是否补充数据",
  16324. "type": "boolean"
  16325. },
  16326. "h": {
  16327. "description": "最高价",
  16328. "type": "number"
  16329. },
  16330. "hv": {
  16331. "description": "持仓量",
  16332. "type": "integer"
  16333. },
  16334. "l": {
  16335. "description": "最低价",
  16336. "type": "number"
  16337. },
  16338. "o": {
  16339. "description": "开盘价",
  16340. "type": "number"
  16341. },
  16342. "s": {
  16343. "description": "结算价,日线周期(包括)以上才有",
  16344. "type": "number"
  16345. },
  16346. "ts": {
  16347. "description": "时间",
  16348. "type": "string"
  16349. },
  16350. "tt": {
  16351. "description": "总金额",
  16352. "type": "number"
  16353. },
  16354. "tv": {
  16355. "description": "总量",
  16356. "type": "integer"
  16357. }
  16358. }
  16359. },
  16360. "quote.QueryTSDataRsp": {
  16361. "type": "object",
  16362. "properties": {
  16363. "decimalPlace": {
  16364. "description": "小数位",
  16365. "type": "integer"
  16366. },
  16367. "endTime": {
  16368. "description": "结束时间",
  16369. "type": "string"
  16370. },
  16371. "goodsCode": {
  16372. "description": "商品代码",
  16373. "type": "string"
  16374. },
  16375. "historyDatas": {
  16376. "description": "历史数据",
  16377. "type": "array",
  16378. "items": {
  16379. "$ref": "#/definitions/quote.HistoryData"
  16380. }
  16381. },
  16382. "outGoodsCode": {
  16383. "description": "外部商品代码",
  16384. "type": "string"
  16385. },
  16386. "preSettle": {
  16387. "description": "昨结",
  16388. "type": "number"
  16389. },
  16390. "startTime": {
  16391. "description": "开始时间",
  16392. "type": "string"
  16393. },
  16394. "tradeDate": {
  16395. "description": "交易日",
  16396. "type": "string"
  16397. }
  16398. }
  16399. },
  16400. "szdz.QueryConvertLogRsp": {
  16401. "type": "object",
  16402. "required": [
  16403. "logid"
  16404. ],
  16405. "properties": {
  16406. "accountid": {
  16407. "description": "资金账户ID",
  16408. "type": "integer"
  16409. },
  16410. "clientticket": {
  16411. "description": "客户端流水号",
  16412. "type": "string"
  16413. },
  16414. "converttype": {
  16415. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  16416. "type": "integer"
  16417. },
  16418. "createtime": {
  16419. "description": "记账时间",
  16420. "type": "string"
  16421. },
  16422. "daymaxvalue": {
  16423. "description": "配置当日最大转入限制",
  16424. "type": "number"
  16425. },
  16426. "daymaxvalue2": {
  16427. "description": "配置当日最大转入限制(转入)",
  16428. "type": "number"
  16429. },
  16430. "goodscode": {
  16431. "description": "商品代码",
  16432. "type": "string"
  16433. },
  16434. "goodsname": {
  16435. "description": "商品名称",
  16436. "type": "string"
  16437. },
  16438. "handlestatus": {
  16439. "description": "处理状态",
  16440. "type": "integer"
  16441. },
  16442. "innergoodsid": {
  16443. "description": "内部商品ID",
  16444. "type": "integer"
  16445. },
  16446. "inratio": {
  16447. "description": "配置转入比值",
  16448. "type": "integer"
  16449. },
  16450. "invalue": {
  16451. "description": "目标值",
  16452. "type": "number"
  16453. },
  16454. "logid": {
  16455. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16456. "type": "integer"
  16457. },
  16458. "mobile": {
  16459. "description": "手机号码(加密存储)",
  16460. "type": "string"
  16461. },
  16462. "outergoodscode": {
  16463. "description": "外部商品代码[JD\\PD]",
  16464. "type": "string"
  16465. },
  16466. "outratio": {
  16467. "description": "配置转出比值",
  16468. "type": "integer"
  16469. },
  16470. "outvalue": {
  16471. "description": "源值",
  16472. "type": "number"
  16473. },
  16474. "pddecimalplace": {
  16475. "description": "PD小数位",
  16476. "type": "integer"
  16477. },
  16478. "qty": {
  16479. "description": "数量",
  16480. "type": "string"
  16481. },
  16482. "remark": {
  16483. "description": "备注",
  16484. "type": "string"
  16485. },
  16486. "sessionid": {
  16487. "description": "会话ID",
  16488. "type": "integer"
  16489. },
  16490. "timemaxvalue": {
  16491. "description": "配置单次最大转入限制",
  16492. "type": "number"
  16493. },
  16494. "timemaxvalue2": {
  16495. "description": "配置单次最大转入限制(转入)",
  16496. "type": "number"
  16497. },
  16498. "timeminvalue": {
  16499. "description": "配置单次最小数量限制",
  16500. "type": "number"
  16501. },
  16502. "timeminvalue2": {
  16503. "description": "配置单次最小数量限制(转入)",
  16504. "type": "number"
  16505. },
  16506. "tradedate": {
  16507. "description": "交易日(yyyyMMdd)",
  16508. "type": "string"
  16509. },
  16510. "userid": {
  16511. "description": "用户ID",
  16512. "type": "integer"
  16513. }
  16514. }
  16515. },
  16516. "szdz.QueryGoodsPickupRsp": {
  16517. "type": "object",
  16518. "required": [
  16519. "takeorderid"
  16520. ],
  16521. "properties": {
  16522. "accountid": {
  16523. "description": "账户ID",
  16524. "type": "integer"
  16525. },
  16526. "address": {
  16527. "description": "提货人详细地址",
  16528. "type": "string"
  16529. },
  16530. "auditer": {
  16531. "description": "审核人",
  16532. "type": "integer"
  16533. },
  16534. "audittime": {
  16535. "description": "审核时间",
  16536. "type": "string"
  16537. },
  16538. "cardnum": {
  16539. "description": "提货人证件号码",
  16540. "type": "string"
  16541. },
  16542. "cardtypeid": {
  16543. "description": "提货人证件类型",
  16544. "type": "integer"
  16545. },
  16546. "checkremark": {
  16547. "description": "审核备注",
  16548. "type": "string"
  16549. },
  16550. "goodscode": {
  16551. "description": "商品代码",
  16552. "type": "string"
  16553. },
  16554. "goodsid": {
  16555. "description": "商品ID",
  16556. "type": "integer"
  16557. },
  16558. "goodsname": {
  16559. "description": "商品名称",
  16560. "type": "string"
  16561. },
  16562. "handlestatus": {
  16563. "description": "处理状态",
  16564. "type": "integer"
  16565. },
  16566. "marketid": {
  16567. "description": "市场ID",
  16568. "type": "integer"
  16569. },
  16570. "phonenum": {
  16571. "description": "提货人联系方式",
  16572. "type": "string"
  16573. },
  16574. "qty": {
  16575. "description": "提货数量",
  16576. "type": "number"
  16577. },
  16578. "recivername": {
  16579. "description": "提货人姓名",
  16580. "type": "string"
  16581. },
  16582. "reqtime": {
  16583. "description": "更新时间",
  16584. "type": "string"
  16585. },
  16586. "takemode": {
  16587. "description": "提货方式 - 2:自提 3:配送",
  16588. "type": "integer"
  16589. },
  16590. "takeorderid": {
  16591. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  16592. "type": "string"
  16593. },
  16594. "takeorderstatus": {
  16595. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  16596. "type": "integer"
  16597. },
  16598. "takeremark": {
  16599. "description": "提货备注",
  16600. "type": "string"
  16601. },
  16602. "tradedate": {
  16603. "description": "交易日(yyyyMMdd)",
  16604. "type": "string"
  16605. },
  16606. "userid": {
  16607. "description": "用户ID",
  16608. "type": "integer"
  16609. }
  16610. }
  16611. },
  16612. "szdz.QueryRecieptOrderRsp": {
  16613. "type": "object",
  16614. "required": [
  16615. "ordertime"
  16616. ],
  16617. "properties": {
  16618. "accountName": {
  16619. "description": "所属账号名称(已脱敏)",
  16620. "type": "string"
  16621. },
  16622. "accountid": {
  16623. "description": "资金账号",
  16624. "type": "integer"
  16625. },
  16626. "buyorsell": {
  16627. "description": "方向 - 0:买 1:卖",
  16628. "type": "integer"
  16629. },
  16630. "enableqty": {
  16631. "description": "可摘数量",
  16632. "type": "integer"
  16633. },
  16634. "goodscode": {
  16635. "description": "商品代码",
  16636. "type": "string"
  16637. },
  16638. "goodsid": {
  16639. "description": "商品ID",
  16640. "type": "integer"
  16641. },
  16642. "goodsname": {
  16643. "description": "商品名称",
  16644. "type": "string"
  16645. },
  16646. "orderid": {
  16647. "description": "委托单号",
  16648. "type": "string"
  16649. },
  16650. "orderprice": {
  16651. "description": "委托价格",
  16652. "type": "number"
  16653. },
  16654. "ordertime": {
  16655. "description": "委托时间",
  16656. "type": "string"
  16657. },
  16658. "tradedate": {
  16659. "description": "交易日(yyyyMMdd)",
  16660. "type": "string"
  16661. }
  16662. }
  16663. },
  16664. "szdz.QuerySZDZTradePositionRsp": {
  16665. "type": "object",
  16666. "properties": {
  16667. "accountid": {
  16668. "description": "账号Id",
  16669. "type": "integer"
  16670. },
  16671. "agreeunit": {
  16672. "description": "合约单位",
  16673. "type": "number"
  16674. },
  16675. "averageprice": {
  16676. "description": "持仓均价",
  16677. "type": "number"
  16678. },
  16679. "buyorsell": {
  16680. "description": "方向 - 0:买 1:卖",
  16681. "type": "integer"
  16682. },
  16683. "closetotalqty": {
  16684. "description": "平仓总数量",
  16685. "type": "integer"
  16686. },
  16687. "curholderamount": {
  16688. "description": "当前持仓总金额",
  16689. "type": "number"
  16690. },
  16691. "curpositionqty": {
  16692. "description": "当前持仓总数量",
  16693. "type": "integer"
  16694. },
  16695. "currencyid": {
  16696. "description": "报价货币ID",
  16697. "type": "integer"
  16698. },
  16699. "curtdposition": {
  16700. "description": "期末今日头寸",
  16701. "type": "integer"
  16702. },
  16703. "decimalplace": {
  16704. "description": "报价小数位",
  16705. "type": "integer"
  16706. },
  16707. "enableqty": {
  16708. "description": "可用量",
  16709. "type": "integer"
  16710. },
  16711. "fretdposition": {
  16712. "description": "冻结今日头寸",
  16713. "type": "integer"
  16714. },
  16715. "frozenqty": {
  16716. "description": "持仓冻结数量",
  16717. "type": "integer"
  16718. },
  16719. "goodscode": {
  16720. "description": "商品代码(内部)",
  16721. "type": "string"
  16722. },
  16723. "goodsid": {
  16724. "description": "商品Id",
  16725. "type": "integer"
  16726. },
  16727. "goodsname": {
  16728. "description": "商品名称",
  16729. "type": "string"
  16730. },
  16731. "goodunit": {
  16732. "description": "报价单位",
  16733. "type": "string"
  16734. },
  16735. "goodunitid": {
  16736. "description": "报价单位ID",
  16737. "type": "integer"
  16738. },
  16739. "holderamount": {
  16740. "description": "期初持仓总金额",
  16741. "type": "number"
  16742. },
  16743. "marketid": {
  16744. "description": "市场ID",
  16745. "type": "integer"
  16746. },
  16747. "openreqqty": {
  16748. "description": "开仓申请数量",
  16749. "type": "integer"
  16750. },
  16751. "opentotalqty": {
  16752. "description": "开仓总数量",
  16753. "type": "integer"
  16754. },
  16755. "otherfrozenqty": {
  16756. "description": "持仓其他冻结数量(交割冻结)",
  16757. "type": "integer"
  16758. },
  16759. "positionqty": {
  16760. "description": "期初持仓数量",
  16761. "type": "integer"
  16762. },
  16763. "szdz3freezqty": {
  16764. "description": "尚志大宗转换冻结总数量",
  16765. "type": "integer"
  16766. },
  16767. "tnqty": {
  16768. "description": "T+N冻结总量",
  16769. "type": "integer"
  16770. },
  16771. "tnusedqty": {
  16772. "description": "T+N使用量",
  16773. "type": "integer"
  16774. },
  16775. "trademode": {
  16776. "description": "交易模式",
  16777. "type": "integer"
  16778. },
  16779. "usedmargin": {
  16780. "description": "占用保证金",
  16781. "type": "number"
  16782. }
  16783. }
  16784. },
  16785. "taaccount.QueryAmountLogRsp": {
  16786. "type": "object",
  16787. "required": [
  16788. "accountid",
  16789. "amount",
  16790. "amountadjusttype",
  16791. "autoid",
  16792. "balance",
  16793. "createtime",
  16794. "currentbalance",
  16795. "operatetype"
  16796. ],
  16797. "properties": {
  16798. "OPERATETYPENAME": {
  16799. "description": "资金操作类型名称",
  16800. "type": "string"
  16801. },
  16802. "accountid": {
  16803. "description": "资金账户ID",
  16804. "type": "integer"
  16805. },
  16806. "agoodscode": {
  16807. "description": "竞拍商品代码",
  16808. "type": "string"
  16809. },
  16810. "agoodsname": {
  16811. "description": "竞拍商品名称",
  16812. "type": "string"
  16813. },
  16814. "amount": {
  16815. "description": "资金金额",
  16816. "type": "number"
  16817. },
  16818. "amountadjusttype": {
  16819. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16820. "type": "integer"
  16821. },
  16822. "autoid": {
  16823. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16824. "type": "integer"
  16825. },
  16826. "balance": {
  16827. "description": "期初余额",
  16828. "type": "number"
  16829. },
  16830. "businesscode": {
  16831. "description": "业务编号",
  16832. "type": "integer"
  16833. },
  16834. "createtime": {
  16835. "description": "发生时间",
  16836. "type": "string"
  16837. },
  16838. "currencyid": {
  16839. "description": "币种ID",
  16840. "type": "integer"
  16841. },
  16842. "currentbalance": {
  16843. "description": "期末余额(变动后金额)",
  16844. "type": "number"
  16845. },
  16846. "dgoodscode": {
  16847. "description": "交割商品代码",
  16848. "type": "string"
  16849. },
  16850. "dgoodsname": {
  16851. "description": "交割商品名称",
  16852. "type": "string"
  16853. },
  16854. "goodscode": {
  16855. "description": "商品代码",
  16856. "type": "string"
  16857. },
  16858. "goodsid": {
  16859. "description": "商品ID",
  16860. "type": "integer"
  16861. },
  16862. "goodsname": {
  16863. "description": "商品名称",
  16864. "type": "string"
  16865. },
  16866. "marketid": {
  16867. "description": "市场ID",
  16868. "type": "integer"
  16869. },
  16870. "marketname": {
  16871. "description": "市场名称",
  16872. "type": "string"
  16873. },
  16874. "moneyticket": {
  16875. "description": "资金流水号:银行端流水号",
  16876. "type": "integer"
  16877. },
  16878. "operatetype": {
  16879. "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:营销收款",
  16880. "type": "integer"
  16881. },
  16882. "relationorderid": {
  16883. "description": "关联单号",
  16884. "type": "string"
  16885. },
  16886. "remark": {
  16887. "description": "备注",
  16888. "type": "string"
  16889. },
  16890. "trademode": {
  16891. "description": "交易模式",
  16892. "type": "integer"
  16893. }
  16894. }
  16895. },
  16896. "taaccount.QueryHisAmountLogRsp": {
  16897. "type": "object",
  16898. "required": [
  16899. "accountid",
  16900. "amount",
  16901. "amountadjusttype",
  16902. "autoid",
  16903. "balance",
  16904. "createtime",
  16905. "currentbalance",
  16906. "histradedate",
  16907. "operatetype"
  16908. ],
  16909. "properties": {
  16910. "OPERATETYPENAME": {
  16911. "description": "资金操作类型名称",
  16912. "type": "string"
  16913. },
  16914. "accountid": {
  16915. "description": "资金账户ID",
  16916. "type": "integer"
  16917. },
  16918. "agoodscode": {
  16919. "description": "竞拍商品代码",
  16920. "type": "string"
  16921. },
  16922. "agoodsname": {
  16923. "description": "竞拍商品名称",
  16924. "type": "string"
  16925. },
  16926. "amount": {
  16927. "description": "资金金额",
  16928. "type": "number"
  16929. },
  16930. "amountadjusttype": {
  16931. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  16932. "type": "integer"
  16933. },
  16934. "autoid": {
  16935. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  16936. "type": "integer"
  16937. },
  16938. "balance": {
  16939. "description": "期初余额",
  16940. "type": "number"
  16941. },
  16942. "businesscode": {
  16943. "description": "业务编号",
  16944. "type": "integer"
  16945. },
  16946. "createtime": {
  16947. "description": "发生时间",
  16948. "type": "string"
  16949. },
  16950. "currencyid": {
  16951. "description": "币种ID",
  16952. "type": "integer"
  16953. },
  16954. "currentbalance": {
  16955. "description": "期末余额(变动后金额)",
  16956. "type": "number"
  16957. },
  16958. "dgoodscode": {
  16959. "description": "交割商品代码",
  16960. "type": "string"
  16961. },
  16962. "dgoodsname": {
  16963. "description": "交割商品名称",
  16964. "type": "string"
  16965. },
  16966. "goodscode": {
  16967. "description": "商品代码",
  16968. "type": "string"
  16969. },
  16970. "goodsid": {
  16971. "description": "商品ID",
  16972. "type": "integer"
  16973. },
  16974. "goodsname": {
  16975. "description": "商品名称",
  16976. "type": "string"
  16977. },
  16978. "histradedate": {
  16979. "description": "历史交易日",
  16980. "type": "string"
  16981. },
  16982. "isvaliddata": {
  16983. "description": "是否有效 - 0:无效 1:有效",
  16984. "type": "integer"
  16985. },
  16986. "marketid": {
  16987. "description": "市场ID",
  16988. "type": "integer"
  16989. },
  16990. "marketname": {
  16991. "description": "市场名称",
  16992. "type": "string"
  16993. },
  16994. "moneyticket": {
  16995. "description": "资金流水号:银行端流水号",
  16996. "type": "integer"
  16997. },
  16998. "operatetype": {
  16999. "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:营销收款",
  17000. "type": "integer"
  17001. },
  17002. "relationorderid": {
  17003. "description": "关联单号",
  17004. "type": "string"
  17005. },
  17006. "remark": {
  17007. "description": "备注",
  17008. "type": "string"
  17009. },
  17010. "trademode": {
  17011. "description": "交易模式",
  17012. "type": "integer"
  17013. }
  17014. }
  17015. },
  17016. "trade.QueryRecieptOrderRsp": {
  17017. "type": "object",
  17018. "required": [
  17019. "ordertime"
  17020. ],
  17021. "properties": {
  17022. "accountName": {
  17023. "description": "所属账号名称(已脱敏)",
  17024. "type": "string"
  17025. },
  17026. "accountid": {
  17027. "description": "资金账号",
  17028. "type": "integer"
  17029. },
  17030. "buyorsell": {
  17031. "description": "方向 - 0:买 1:卖",
  17032. "type": "integer"
  17033. },
  17034. "enableqty": {
  17035. "description": "可摘数量",
  17036. "type": "integer"
  17037. },
  17038. "goodscode": {
  17039. "description": "商品代码",
  17040. "type": "string"
  17041. },
  17042. "goodsid": {
  17043. "description": "商品ID",
  17044. "type": "integer"
  17045. },
  17046. "goodsname": {
  17047. "description": "商品名称",
  17048. "type": "string"
  17049. },
  17050. "orderid": {
  17051. "description": "委托单号",
  17052. "type": "string"
  17053. },
  17054. "orderprice": {
  17055. "description": "委托价格",
  17056. "type": "number"
  17057. },
  17058. "ordertime": {
  17059. "description": "委托时间",
  17060. "type": "string"
  17061. },
  17062. "tradedate": {
  17063. "description": "交易日(yyyyMMdd)",
  17064. "type": "string"
  17065. }
  17066. }
  17067. }
  17068. },
  17069. "securityDefinitions": {
  17070. "ApiKeyAuth": {
  17071. "type": "apiKey",
  17072. "name": "Authorization",
  17073. "in": "header"
  17074. }
  17075. }
  17076. }